:root {
  --ink: #f7f7f8;
  --muted: #a1a1aa;
  --dim: #71717a;
  --paper: #0a0a0b;
  --panel: #111113;
  --panel-2: #161619;
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.17);
  --red: #e52525;
  --red-bright: #ff3838;
  --yellow: #f6c343;
  --radius: 22px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  color-scheme: dark;
  font-family: "Segoe UI Variable", "Segoe UI", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 16% -10%, rgba(229, 37, 37, 0.13), transparent 31rem),
    var(--paper);
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  content: "";
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.75'/%3E%3C/svg%3E");
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
summary {
  font: inherit;
}

button,
a,
summary {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid rgba(255, 56, 56, 0.72);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  color: #fff;
  background: var(--red);
  border-radius: 8px;
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.container,
.nav-shell {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  right: 0;
  left: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(10, 10, 11, 0.76);
  backdrop-filter: blur(18px) saturate(130%);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 1.02rem;
  font-weight: 750;
  letter-spacing: -0.025em;
}

.brand img {
  border-radius: 11px;
  box-shadow: 0 8px 22px rgba(229, 37, 37, 0.24);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 34px;
  margin-left: 72px;
  color: #b9b9c1;
  font-size: 0.9rem;
  font-weight: 600;
}

.desktop-nav a,
.text-link,
.footer-links a {
  transition: color 180ms ease;
}

.desktop-nav a:hover,
.text-link:hover,
.footer-links a:hover {
  color: #fff;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.text-link {
  color: #b9b9c1;
  font-size: 0.9rem;
  font-weight: 600;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 0.91rem;
  font-weight: 720;
  letter-spacing: -0.01em;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.button-small {
  min-height: 39px;
  padding: 0 14px;
  border-radius: 10px;
  font-size: 0.84rem;
}

.button-small svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  stroke: none;
}

.button-primary {
  color: #fff;
  background: var(--red);
  box-shadow: 0 12px 30px rgba(229, 37, 37, 0.22);
}

.button-primary:hover {
  background: var(--red-bright);
  box-shadow: 0 16px 36px rgba(229, 37, 37, 0.3);
}

.button-secondary,
.button-ghost {
  color: #ededf0;
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.035);
}

.button-secondary:hover,
.button-ghost:hover {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.07);
}

.mobile-menu {
  display: none;
  position: relative;
}

.mobile-menu summary {
  display: grid;
  width: 40px;
  height: 40px;
  cursor: pointer;
  list-style: none;
  place-content: center;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.mobile-menu summary::-webkit-details-marker {
  display: none;
}

.mobile-menu summary span {
  width: 18px;
  height: 1.5px;
  background: #fff;
}

.mobile-menu nav {
  position: absolute;
  top: 50px;
  right: 0;
  display: grid;
  width: 220px;
  padding: 10px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: #131315;
  box-shadow: var(--shadow);
}

.mobile-menu nav a {
  padding: 12px;
  border-radius: 8px;
  color: #d4d4d8;
}

.mobile-menu nav a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 168px 0 0;
  border-bottom: 1px solid var(--line);
}

.hero::before {
  position: absolute;
  z-index: -1;
  inset: 72px 0 0;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, black, transparent 90%);
}

.hero-glow {
  position: absolute;
  z-index: -1;
  top: 15%;
  right: -18rem;
  width: 48rem;
  height: 48rem;
  opacity: 0.38;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(229, 37, 37, 0.35), rgba(229, 37, 37, 0.06) 40%, transparent 68%);
  filter: blur(14px);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(560px, 1.12fr);
  align-items: center;
  gap: 70px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 22px;
  color: #c9c9cf;
  font-size: 0.75rem;
  font-weight: 760;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
}

.eyebrow span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red-bright);
  box-shadow: 0 0 0 6px rgba(255, 56, 56, 0.1);
}

.hero h1,
.section-heading h2,
.mode-card h2,
.open-source-copy h2,
.support-card h2 {
  margin: 0;
  color: #fafafa;
  font-weight: 820;
  letter-spacing: -0.062em;
  line-height: 0.97;
}

.hero h1 {
  max-width: 700px;
  font-size: clamp(3.5rem, 6.1vw, 6.6rem);
}

.hero h1 em {
  color: var(--red-bright);
  font-style: normal;
}

.hero-lede {
  max-width: 625px;
  margin: 30px 0 0;
  color: #b1b1b9;
  font-size: clamp(1.02rem, 1.35vw, 1.22rem);
  line-height: 1.7;
}

.hero-actions,
.open-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  margin: 42px 0 0;
  padding: 0;
  color: #a7a7af;
  font-size: 0.77rem;
  font-weight: 650;
  list-style: none;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hero-proof li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-proof span {
  color: var(--red-bright);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.68rem;
}

.product-stage {
  position: relative;
  width: 830px;
  margin-right: -270px;
  padding: 54px 0 68px;
}

.app-window {
  position: relative;
  z-index: 2;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  background: #0d0d0f;
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.62), 0 0 0 8px rgba(255, 255, 255, 0.018);
  transform: perspective(1500px) rotateY(-4deg) rotateX(1deg);
  transform-origin: center left;
}

.window-bar {
  display: grid;
  grid-template-columns: 128px 1fr auto;
  align-items: center;
  gap: 16px;
  height: 52px;
  padding: 0 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  background: #151518;
}

.window-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.73rem;
  font-weight: 700;
}

.window-brand img {
  border-radius: 7px;
}

.window-address {
  display: flex;
  align-items: center;
  gap: 9px;
  overflow: hidden;
  height: 30px;
  padding: 0 12px;
  color: #9b9ba4;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: #0e0e10;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.67rem;
  white-space: nowrap;
}

.window-address span {
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #45c77a;
  box-shadow: 0 0 8px rgba(69, 199, 122, 0.55);
}

.window-status {
  color: #8d8d96;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.57rem;
  letter-spacing: 0.12em;
}

.product-shot {
  width: 100%;
  min-height: 410px;
  object-fit: cover;
  object-position: left top;
  opacity: 0.97;
}

.orbit {
  position: absolute;
  border: 1px solid rgba(229, 37, 37, 0.16);
  border-radius: 50%;
}

.orbit-one {
  top: -35px;
  left: 140px;
  width: 690px;
  height: 690px;
}

.orbit-two {
  top: 58px;
  left: 230px;
  width: 500px;
  height: 500px;
  border-color: rgba(255, 255, 255, 0.06);
}

.floating-card {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 190px;
  padding: 13px 15px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 13px;
  background: rgba(20, 20, 23, 0.92);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(14px);
}

.floating-card svg,
.cut-mark {
  width: 31px;
  height: 31px;
  padding: 7px;
  flex: 0 0 auto;
  color: #fff;
  border-radius: 9px;
  background: var(--red);
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
}

.cut-mark {
  display: grid;
  font-size: 0.9rem;
  place-items: center;
}

.floating-card strong,
.floating-card span {
  display: block;
}

.floating-card strong {
  margin-bottom: 2px;
  font-size: 0.73rem;
}

.floating-card div span {
  color: #8f8f98;
  font-size: 0.64rem;
}

.floating-search {
  right: 20px;
  bottom: 34px;
}

.floating-cut {
  top: 15px;
  left: -30px;
}

.hero-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  min-height: 86px;
  margin-top: 54px;
  border-top: 1px solid var(--line);
}

.hero-foot p {
  margin: 0;
  color: #e4e4e7;
  font-size: 0.78rem;
  font-weight: 720;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-foot div {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 26px;
  color: #777781;
  font-size: 0.73rem;
}

.section {
  padding: 132px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 58px;
}

.section-heading h2,
.open-source-copy h2 {
  font-size: clamp(2.7rem, 5vw, 5.35rem);
}

.section-heading > p:last-child,
.split-heading > p,
.open-source-copy > p:not(.section-kicker) {
  max-width: 620px;
  margin: 25px 0 0;
  color: #9d9da6;
  font-size: 1.08rem;
  line-height: 1.75;
}

.section-kicker {
  color: var(--red-bright);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.feature-card {
  position: relative;
  overflow: hidden;
  grid-column: span 2;
  min-height: 330px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012));
  transition: border-color 220ms ease, transform 220ms ease, background 220ms ease;
}

.feature-card::after {
  position: absolute;
  right: -90px;
  bottom: -110px;
  width: 230px;
  height: 230px;
  content: "";
  border-radius: 50%;
  background: radial-gradient(circle, rgba(229, 37, 37, 0.14), transparent 68%);
}

.feature-card:hover {
  border-color: rgba(255, 255, 255, 0.21);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.052), rgba(255, 255, 255, 0.018));
  transform: translateY(-4px);
}

.feature-wide {
  grid-column: span 3;
}

.feature-icon {
  display: grid;
  width: 46px;
  height: 46px;
  margin-bottom: 53px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.045);
  place-items: center;
}

.feature-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.feature-number {
  position: absolute;
  top: 30px;
  right: 30px;
  margin: 0;
  color: #565660;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.68rem;
}

.feature-card h3 {
  margin: 0 0 14px;
  font-size: 1.35rem;
  letter-spacing: -0.035em;
}

.feature-card > p:last-of-type {
  max-width: 490px;
  margin: 0;
  color: #92929c;
  font-size: 0.93rem;
  line-height: 1.7;
}

.search-demo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 340px;
  height: 44px;
  margin-top: 28px;
  padding: 0 12px 0 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  background: #0c0c0e;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.72rem;
}

.search-prompt {
  color: #e7e7ea;
}

.search-hit {
  padding: 5px 7px;
  color: #ff6b6b;
  border-radius: 6px;
  background: rgba(229, 37, 37, 0.12);
}

.format-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 28px;
}

.format-row span {
  padding: 6px 9px;
  color: #9d9da6;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.22);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.62rem;
}

.workflow-section {
  border-block: 1px solid var(--line);
  background: #0d0d0f;
}

.split-heading {
  display: grid;
  max-width: none;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.65fr);
  align-items: end;
  gap: 80px;
}

.split-heading > p {
  margin-bottom: 5px;
}

.workflow-list {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line-strong);
  list-style: none;
}

.workflow-list li {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  align-items: center;
  gap: 30px;
  min-height: 160px;
  border-bottom: 1px solid var(--line);
}

.step-index {
  color: var(--red-bright);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.72rem;
}

.step-copy h3 {
  margin: 0 0 9px;
  font-size: 1.45rem;
  letter-spacing: -0.035em;
}

.step-copy p {
  max-width: 660px;
  margin: 0;
  color: #8f8f98;
  line-height: 1.65;
}

.step-chip {
  padding: 8px 11px;
  color: #a3a3ab;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.modes-section {
  padding-bottom: 80px;
}

.mode-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.mode-card {
  min-height: 560px;
  padding: 48px;
  border: 1px solid var(--line-strong);
  border-radius: 28px;
  background:
    linear-gradient(to bottom right, transparent 45%, rgba(255, 255, 255, 0.025)),
    #121214;
}

.mode-card-red {
  border-color: rgba(255, 81, 81, 0.28);
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 89, 89, 0.22), transparent 35%),
    linear-gradient(145deg, #541414, #241012 60%, #151113);
}

.mode-label {
  margin: 0 0 100px;
  color: #8b8b94;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.mode-card-red .mode-label {
  color: #ff9b9b;
}

.mode-card h2 {
  font-size: clamp(2.5rem, 4.4vw, 4.8rem);
}

.mode-card > p:not(.mode-label) {
  max-width: 540px;
  margin: 24px 0 34px;
  color: #a0a0a9;
  line-height: 1.7;
}

.mode-card-red > p:not(.mode-label) {
  color: #d0b9bb;
}

.mode-card ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  color: #c8c8ce;
  font-size: 0.88rem;
  list-style: none;
}

.mode-card li {
  position: relative;
  padding-left: 19px;
}

.mode-card li::before {
  position: absolute;
  top: 0.55em;
  left: 0;
  width: 6px;
  height: 6px;
  content: "";
  border-radius: 50%;
  background: var(--red-bright);
}

.mode-card-red li::before {
  background: #ffb0b0;
}

.open-source-section {
  padding-bottom: 118px;
}

.open-source-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(480px, 1.1fr);
  align-items: center;
  gap: 95px;
}

.license-line {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  color: #b0b0b8;
  font-size: 0.82rem;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 5px rgba(74, 222, 128, 0.08);
}

.terminal {
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background: #0b0b0d;
  box-shadow: var(--shadow);
}

.terminal-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 48px;
  padding: 0 17px;
  border-bottom: 1px solid var(--line);
  background: #151518;
}

.terminal-bar > span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4a4a51;
}

.terminal-bar > span:first-child {
  background: #e14c4c;
}

.terminal-bar > span:nth-child(2) {
  background: #d7aa3d;
}

.terminal-bar > span:nth-child(3) {
  background: #45ae69;
}

.terminal-bar p {
  margin: 0 0 0 auto;
  color: #62626b;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.59rem;
  letter-spacing: 0.12em;
}

.terminal-body {
  position: relative;
  display: grid;
  align-content: center;
  min-height: 310px;
  padding: 48px 38px;
  background-image: linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 100% 34px;
}

.terminal-body p {
  margin: 0 0 17px;
  overflow: hidden;
  color: #d3d3d8;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: clamp(0.72rem, 1.1vw, 0.88rem);
  white-space: nowrap;
}

.prompt {
  margin-right: 11px;
  color: var(--red-bright);
}

.copy-button {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 35px;
  padding: 0 10px;
  cursor: pointer;
  color: #a6a6ae;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #17171a;
  font-size: 0.7rem;
}

.copy-button:hover {
  color: #fff;
  border-color: var(--line-strong);
}

.copy-button svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.support-section {
  padding: 0 0 120px;
}

.support-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 225px;
  padding: 42px 48px;
  overflow: hidden;
  border: 1px solid rgba(246, 195, 67, 0.28);
  border-radius: 26px;
  background:
    radial-gradient(circle at 10% 50%, rgba(246, 195, 67, 0.16), transparent 27%),
    linear-gradient(135deg, #211c0f, #121212 55%);
}

.coffee-mark {
  display: grid;
  width: 74px;
  height: 74px;
  border: 1px solid rgba(246, 195, 67, 0.25);
  border-radius: 22px;
  background: rgba(246, 195, 67, 0.1);
  font-size: 2rem;
  place-items: center;
  transform: rotate(-4deg);
}

.support-card .section-kicker {
  margin-bottom: 12px;
  color: var(--yellow);
}

.support-card h2 {
  font-size: clamp(2rem, 3.8vw, 3.8rem);
}

.support-card div > p:last-child {
  margin: 12px 0 0;
  color: #aaa59a;
}

.coffee-button {
  color: #18140a;
  background: var(--yellow);
  box-shadow: 0 16px 40px rgba(246, 195, 67, 0.13);
}

.coffee-button:hover {
  background: #ffd35d;
}

.coffee-button span {
  font-size: 1.05rem;
}

.site-footer {
  padding: 54px 0;
  border-top: 1px solid var(--line);
  background: #080809;
}

.footer-grid {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 35px;
}

.footer-brand {
  padding-right: 30px;
  border-right: 1px solid var(--line);
}

.footer-grid > p {
  margin: 0;
  color: #74747d;
  font-size: 0.78rem;
}

.footer-links {
  display: flex;
  gap: 23px;
  color: #9b9ba4;
  font-size: 0.78rem;
}

.copyright {
  white-space: nowrap;
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 680ms cubic-bezier(0.22, 1, 0.36, 1), transform 680ms cubic-bezier(0.22, 1, 0.36, 1);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1100px) {
  .desktop-nav {
    margin-left: 20px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(470px, 1.1fr);
    gap: 35px;
  }

  .product-stage {
    width: 710px;
    margin-right: -255px;
  }

  .open-source-grid {
    gap: 55px;
  }
}

@media (max-width: 900px) {
  .container,
  .nav-shell {
    width: min(100% - 34px, 720px);
  }

  .desktop-nav,
  .desktop-only {
    display: none;
  }

  .mobile-menu {
    display: block;
  }

  .hero {
    padding-top: 136px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: clamp(3.5rem, 11.5vw, 6rem);
  }

  .product-stage {
    width: 115%;
    margin: 25px 0 0;
  }

  .app-window {
    transform: none;
  }

  .hero-foot,
  .split-heading {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-foot {
    align-content: center;
    padding: 22px 0;
  }

  .hero-foot div {
    justify-content: flex-start;
  }

  .split-heading {
    gap: 20px;
  }

  .feature-card,
  .feature-wide {
    grid-column: span 3;
  }

  .mode-grid,
  .open-source-grid {
    grid-template-columns: 1fr;
  }

  .mode-card {
    min-height: auto;
  }

  .open-source-grid {
    gap: 55px;
  }

  .support-card {
    grid-template-columns: auto 1fr;
  }

  .support-card .coffee-button {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .footer-grid {
    grid-template-columns: auto 1fr auto;
  }

  .copyright {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  .container,
  .nav-shell {
    width: calc(100vw - 26px);
    max-width: calc(100vw - 26px);
    margin-inline: 13px;
  }

  .nav-actions {
    gap: 9px;
  }

  .nav-actions > .button {
    display: none;
  }

  .hero {
    padding-top: 123px;
  }

  .hero-grid {
    min-width: 0;
  }

  .hero-copy {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .hero h1 {
    font-size: clamp(2.72rem, 11.7vw, 3rem);
    letter-spacing: -0.055em;
  }

  .hero-lede {
    width: 100%;
    max-width: 100%;
    font-size: 1rem;
  }

  .hero-actions {
    display: grid;
    width: 100%;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-proof {
    display: grid;
    gap: 12px;
  }

  .product-stage {
    width: 100%;
    min-width: 0;
    margin-right: 0;
    padding-bottom: 38px;
  }

  .product-stage .app-window {
    width: 100%;
    min-width: 0;
  }

  .window-bar {
    grid-template-columns: 105px 1fr;
  }

  .window-status,
  .orbit,
  .floating-card {
    display: none;
  }

  .product-shot {
    min-height: 310px;
  }

  .hero-foot div {
    display: grid;
    gap: 9px;
  }

  .section {
    padding: 94px 0;
  }

  .section-heading {
    margin-bottom: 40px;
  }

  .section-heading h2,
  .open-source-copy h2 {
    font-size: clamp(2.55rem, 13vw, 4rem);
  }

  .feature-grid {
    display: grid;
    grid-template-columns: 1fr;
  }

  .feature-card,
  .feature-wide {
    grid-column: 1;
    min-height: 300px;
    padding: 25px;
  }

  .workflow-list li {
    grid-template-columns: 50px 1fr;
    gap: 14px;
    padding: 26px 0;
  }

  .step-chip {
    display: none;
  }

  .mode-card {
    padding: 32px 26px;
  }

  .mode-label {
    margin-bottom: 70px;
  }

  .terminal-body {
    min-height: 280px;
    padding: 38px 20px;
  }

  .terminal-body p {
    font-size: 0.62rem;
  }

  .support-card {
    grid-template-columns: 1fr;
    padding: 34px 25px;
  }

  .coffee-mark {
    width: 58px;
    height: 58px;
    border-radius: 17px;
    font-size: 1.55rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .footer-brand {
    padding-right: 0;
    border-right: 0;
  }

  .copyright {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
