/* Racoon — hardware-spec minimal (matches GateScreen aesthetic) */
:root {
  --bg: #f4f2ec;
  --bg-elevated: #f4f2ec;
  --bg-muted: #ebe8e0;
  --ink: #141413;
  --ink-soft: #6b6862;
  --line: rgba(20, 20, 19, 0.12);
  --accent: #c15b3c;
  --radius: 10px;
  --font: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --max: 70rem;
  --narrow: 42rem;
  --header-h: 4.25rem;
  color-scheme: light;
}

html[data-theme="dark"] {
  --bg: #0f1012;
  --bg-elevated: #0f1012;
  --bg-muted: #15171b;
  --ink: #f4f2ec;
  --ink-soft: #9a9890;
  --line: rgba(244, 242, 236, 0.12);
  --accent: #d47355;
  color-scheme: dark;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body > .site-header,
body > .site-footer {
  flex-shrink: 0;
}

body > main {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
}

img, svg { max-width: 100%; height: auto; display: block; }

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover { color: var(--accent); }

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.6rem 1rem;
  background: var(--ink);
  color: var(--bg);
  border-radius: 8px;
}

.skip-link:focus { top: 1rem; }

.page-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: var(--bg);
}

.wrap {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.wrap--narrow {
  width: min(100% - 2.5rem, var(--narrow));
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  border-bottom: 1px solid rgba(20, 20, 19, 0.08);
}

html[data-theme="dark"] .site-header {
  border-bottom-color: rgba(244, 242, 236, 0.08);
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
}

.site-header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.brand:hover { color: inherit; }

.brand__mark {
  height: 32px;
  width: auto;
  flex-shrink: 0;
  object-fit: contain;
}

.brand__mark--dark { display: none; }
html[data-theme="dark"] .brand__mark--light { display: none; }
html[data-theme="dark"] .brand__mark--dark { display: block; }

.brand__word {
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--accent);
}

html[data-theme="dark"] .brand__word {
  color: #f4f2ec;
}

.brand__logo {
  height: 1.7rem;
  width: auto;
}

.brand__logo--dark { display: none; }
html[data-theme="dark"] .brand__logo--light { display: none; }
html[data-theme="dark"] .brand__logo--dark { display: block; }

.nav {
  display: flex;
  align-items: center;
  gap: 0.65rem 1rem;
}

.nav a {
  text-decoration: none;
  font-size: 0.9rem;
  color: var(--ink-soft);
  font-weight: 500;
}

.nav a:hover,
.nav a[aria-current="page"] { color: var(--ink); }

.nav__links {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.theme-toggle {
  width: 2.4rem;
  height: 2.4rem;
  display: grid;
  place-items: center;
  border-radius: 8px;
  border: 1px solid var(--line);
}

.theme-toggle:hover { background: var(--bg-muted); }
.theme-toggle svg { width: 1.05rem; height: 1.05rem; }
.theme-toggle .icon-moon { display: none; }
html[data-theme="dark"] .theme-toggle .icon-sun { display: none; }
html[data-theme="dark"] .theme-toggle .icon-moon { display: block; }

.menu-btn {
  display: none;
  width: 2.4rem;
  height: 2.4rem;
  place-items: center;
  border-radius: 8px;
  border: 1px solid var(--line);
}

.menu-btn span {
  display: block;
  width: 1rem;
  height: 1.5px;
  background: var(--ink);
  position: relative;
}

.menu-btn span::before,
.menu-btn span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 100%;
  background: inherit;
}

.menu-btn span::before { top: -5px; }
.menu-btn span::after { top: 5px; }

@media (max-width: 860px) {
  .menu-btn { display: grid; }

  .nav__links {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.75rem 1.25rem 1.25rem;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
  }

  .nav.is-open .nav__links { display: flex; }

  .nav__links a {
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--line);
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 2.75rem;
  padding: 0.65rem 1.15rem;
  border-radius: 8px;
  font-weight: 650;
  font-size: 0.9375rem;
  letter-spacing: -0.01em;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.btn:hover { color: inherit; }

.btn--lg {
  min-height: 3rem;
  padding: 0.8rem 1.35rem;
}

.btn--primary {
  background: var(--ink);
  color: var(--bg);
}

.btn--primary:hover {
  color: var(--bg);
  background: color-mix(in srgb, var(--ink) 88%, var(--accent));
}

.btn--ghost {
  border-color: var(--line);
  background: transparent;
  color: var(--ink);
}

.btn--ghost:hover {
  border-color: color-mix(in srgb, var(--ink) 28%, transparent);
  background: var(--bg-muted);
  color: var(--ink);
}

.nav a.btn--nav {
  min-height: 2.35rem;
  padding: 0.45rem 0.95rem;
  background: #141413;
  color: #f4f2ec;
  opacity: 1;
  font-weight: 500;
  font-size: 0.85rem;
  white-space: nowrap;
}

@media (max-width: 860px) {
  .nav a.btn--nav { display: none; }
}

.nav a.btn--nav:hover {
  color: #f4f2ec;
  background: #2a2926;
}

html[data-theme="dark"] .nav a.btn--nav {
  background: #f4f2ec;
  color: #141413;
}

html[data-theme="dark"] .nav a.btn--nav:hover {
  color: #141413;
  background: #e7e4da;
}

.btn__apple {
  width: 15px;
  height: 18px;
  flex-shrink: 0;
  display: block;
}

.btn--nav .btn__apple {
  width: 13px;
  height: 16px;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

/* Hero */
.hero {
  position: relative;
  display: grid;
  align-items: center;
  padding: 88px 0 108px;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

.hero > * {
  position: relative;
  z-index: 1;
}

.hero__stage {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  min-width: 0;
}

.hero__content {
  max-width: 34rem;
  min-width: 0;
  animation: rise 0.7s ease both;
}

.hero__eyebrow {
  margin: 0 0 0.85rem;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.hero h1 {
  margin: 0 0 1.1rem;
  font-size: clamp(2.6rem, 5.8vw, 4.1rem);
  line-height: 1.03;
  letter-spacing: -0.045em;
  font-weight: 800;
}

.hero__accent { color: var(--accent); }

.hero__lede {
  margin: 0 0 1.6rem;
  font-size: 1.1rem;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 46ch;
}

.hero .btn--store {
  min-height: 0;
  padding: 14px 22px;
  background: #141413;
  color: #f4f2ec;
  opacity: 1;
  white-space: nowrap;
}

.hero .btn--store:hover {
  color: #f4f2ec;
  background: #2a2926;
}

html[data-theme="dark"] .hero .btn--store {
  background: #f4f2ec;
  color: #141413;
}

html[data-theme="dark"] .hero .btn--store:hover {
  color: #141413;
  background: #e7e4da;
}

.hero__trust {
  list-style: none;
  margin: 1.6rem 0 0;
  padding: 1.15rem 0 0;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
  font-feature-settings: "zero" 1;
}

.hero__trust li:not(:last-child)::after {
  content: "·";
  margin: 0 0.65rem;
  opacity: 0.5;
}

.hero__visual {
  display: grid;
  justify-items: center;
  gap: 1rem;
  animation: rise 0.8s 0.05s ease both;
}

.hero__device-stage {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
}

.hero__field {
  position: absolute;
  z-index: 0;
  width: 540px;
  height: 580px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.hero__field-wash {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(200, 90, 50, 0.06) 0%, transparent 65%);
}

.hero__field-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(20, 20, 19, 0.22) 1.25px, transparent 1.25px);
  background-size: 16px 16px;
  -webkit-mask-image: radial-gradient(ellipse 65% 65% at 50% 50%, black 30%, transparent 100%);
  mask-image: radial-gradient(ellipse 65% 65% at 50% 50%, black 30%, transparent 100%);
}

html[data-theme="dark"] .hero__field-dots {
  background-image: radial-gradient(rgba(244, 242, 236, 0.2) 1.25px, transparent 1.25px);
}

html[data-theme="dark"] .hero__field-wash {
  background: radial-gradient(circle at 50% 50%, rgba(200, 90, 50, 0.12) 0%, transparent 65%);
}

/* Upright titanium device — no tilt, no muddy shadow */
.device {
  position: relative;
  z-index: 1;
  width: min(100%, 17.25rem);
}

.device__frame {
  border-radius: 2.6rem;
  padding: 0.34rem;
  background: #2a2c30;
  border: 1px solid rgba(0, 0, 0, 0.18);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    0 1px 2px rgba(0, 0, 0, 0.08),
    0 8px 20px rgba(0, 0, 0, 0.06);
}

html[data-theme="dark"] .device__frame {
  background: #1c1e22;
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    0 1px 2px rgba(0, 0, 0, 0.35),
    0 10px 24px rgba(0, 0, 0, 0.28);
}

.device__btn {
  position: absolute;
  z-index: 2;
  background: #3a3d42;
  border-radius: 1px;
}

html[data-theme="dark"] .device__btn { background: #2a2d32; }

.device__btn--silent { left: -0.12rem; top: 6.4rem; width: 0.12rem; height: 0.95rem; }
.device__btn--vol-up { left: -0.12rem; top: 8rem; width: 0.12rem; height: 1.7rem; }
.device__btn--vol-down { left: -0.12rem; top: 10rem; width: 0.12rem; height: 1.7rem; }
.device__btn--power { right: -0.12rem; top: 8.8rem; width: 0.12rem; height: 2.5rem; }

.device__screen {
  position: relative;
  aspect-ratio: 9 / 19.5;
  border-radius: 2.25rem;
  overflow: hidden;
}

.device__island {
  position: absolute;
  top: 0.58rem;
  left: 50%;
  z-index: 3;
  width: 5rem;
  height: 1.35rem;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #000;
}

/* GateScreen mirror */
.gate {
  height: 100%;
  padding: 2.65rem 1.15rem 1.15rem;
  display: flex;
  flex-direction: column;
  font-family: var(--mono);
  font-feature-settings: "zero" 1;
}

.device__screen[data-screen-theme="ink"] {
  background: #0a0a0a;
  color: #ffffff;
}

.device__screen[data-screen-theme="ink"] .gate__period,
.device__screen[data-screen-theme="ink"] .gate__date,
.device__screen[data-screen-theme="ink"] .gate__gear,
.device__screen[data-screen-theme="ink"] .gate__prompt,
.device__screen[data-screen-theme="ink"] .gate__away,
.device__screen[data-screen-theme="ink"] .gate__footer {
  color: rgba(255, 255, 255, 0.55);
}

.device__screen[data-screen-theme="ink"] .gate__rule {
  border-color: rgba(255, 255, 255, 0.2);
}

.device__screen[data-screen-theme="light"] {
  background: #f4f2ec;
  color: #141414;
}

.device__screen[data-screen-theme="light"] .gate__period,
.device__screen[data-screen-theme="light"] .gate__date,
.device__screen[data-screen-theme="light"] .gate__gear,
.device__screen[data-screen-theme="light"] .gate__prompt,
.device__screen[data-screen-theme="light"] .gate__away,
.device__screen[data-screen-theme="light"] .gate__footer {
  color: #6b6862;
}

.device__screen[data-screen-theme="light"] .gate__rule {
  border-color: rgba(20, 20, 19, 0.2);
}

.gate__clock-row {
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
  width: 100%;
}

.gate__gear {
  margin-left: auto;
  align-self: center;
  display: flex;
  flex-shrink: 0;
  opacity: 1;
}

.gate__gear svg {
  width: 16px;
  height: 16px;
  display: block;
}

.gate__time {
  font-size: 2.35rem;
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.gate__period {
  font-size: 0.78rem;
  font-weight: 400;
}

.gate__date {
  margin-top: 0.4rem;
  font-size: 0.68rem;
  font-weight: 400;
}

.gate__rule {
  width: 100%;
  margin: 1.05rem 0 1.15rem;
  border: 0;
  border-top: 1px solid;
}

.gate__prompt {
  margin: 0 0 0.85rem;
  font-size: 0.68rem;
  font-weight: 400;
}

.gate__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
}

.gate__list li {
  padding: 0.48rem 0;
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.gate__bottom {
  margin-top: auto;
  padding-top: 0.85rem;
}

.gate__away {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 400;
}

.gate__footer {
  margin: 0.75rem 0 0;
  display: grid;
  gap: 0.35rem;
}

.gate__footer p {
  margin: 0;
  font-size: 0.62rem;
  font-weight: 400;
  line-height: 1.35;
  opacity: 0.85;
}

@media (max-width: 720px) {
  .hero__field {
    width: min(100vw, 420px);
    height: 460px;
  }
}

.screen-toggle {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.screen-toggle button {
  min-width: 4.5rem;
  padding: 0.45rem 0.75rem;
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-soft);
  background: transparent;
}

.screen-toggle button.is-active {
  background: var(--ink);
  color: var(--bg);
}

@media (max-width: 960px) {
  .hero {
    padding: 56px 0 72px;
  }

  .hero__stage {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero__content { text-align: center; max-width: none; }
  .hero h1, .hero__lede { margin-inline: auto; }
  .btn-row, .hero__trust { justify-content: center; }
  .device { width: min(100%, 15.5rem); }
}

@media (max-width: 640px) {
  .hero .btn-row {
    flex-direction: column;
    align-items: stretch;
  }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

/* Proof — architectural spec table */
.proof {
  padding: 0;
  margin-bottom: 112px;
}

.proof__table {
  display: grid;
  grid-template-columns: 1.65fr 1fr 1fr 1fr;
  align-items: stretch;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}

.proof__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px;
  border-right: 1px solid var(--line);
}

.proof__copy h2 {
  margin: 0 0 8px;
  font-size: 25px;
  letter-spacing: -0.02em;
  line-height: 1.2;
  max-width: 440px;
}

.proof__copy p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.45;
  max-width: 440px;
}

.proof__stats {
  display: contents;
}

.proof__stat {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 24px;
  border-right: 1px solid var(--line);
  background: rgba(20, 20, 19, 0.02);
}

.proof__stat:last-child { border-right: 0; }

html[data-theme="dark"] .proof__stat {
  background: rgba(244, 242, 236, 0.03);
}

.proof__index {
  margin: 0 0 4px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #c85a32;
}

.proof__value {
  margin: 0;
  font-family: var(--mono);
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--ink);
  font-feature-settings: "zero" 1;
}

.proof__caption {
  margin: 0;
  color: var(--ink-soft);
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.45;
}

@media (max-width: 860px) {
  .proof__table { grid-template-columns: 1fr; }
  .proof__copy { border-right: 0; border-bottom: 1px solid var(--line); }
  .proof__stats {
    display: grid;
    grid-template-columns: 1fr;
  }
  .proof__stat {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .proof__stat:last-child { border-bottom: 0; }
}

/* Sections */
.section { padding: 5rem 0; }
.section--tight { padding: 3.75rem 0; }
.section--muted { background: var(--bg-muted); }

.section-head {
  margin-bottom: 2.25rem;
  max-width: 38rem;
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.section-head--center .section__intro { margin-inline: auto; }

.section__eyebrow {
  margin: 0 0 0.7rem;
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.section h2,
.section-head h1,
.section-head h2 {
  margin: 0 0 0.7rem;
  font-size: clamp(1.75rem, 3.4vw, 2.45rem);
  letter-spacing: -0.035em;
  line-height: 1.12;
  font-weight: 800;
}

.section__intro {
  margin: 0;
  color: var(--ink-soft);
  max-width: 42ch;
}

/* Features — split hardware tracks */
.features-head {
  max-width: 44rem;
}

.features-head__eyebrow {
  font-size: 11px;
  letter-spacing: 0.12em;
  color: #c85a32;
}

.features-head .section__intro {
  max-width: 52ch;
}

.feature-tracks {
  display: grid;
  gap: 20px;
}

.feature-track {
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: var(--bg);
}

.feature-track__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 13px 32px;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.feature-track__label {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--ink);
}

.feature-track__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ink-soft);
  flex-shrink: 0;
}

.feature-track__meta {
  color: var(--ink-soft);
  text-align: right;
}

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

.track-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  gap: 0.55rem;
  padding: 34px 32px;
  border-right: 1px solid var(--line);
  min-width: 0;
}

.track-card:last-child { border-right: 0; }

.track-card__index {
  margin: 0;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.track-card h3 {
  margin: 0;
  font-size: 1.2rem;
  letter-spacing: -0.025em;
  line-height: 1.2;
  color: var(--ink);
}

.track-card > p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.55;
  max-width: 46ch;
}

.track-card__pills {
  list-style: none;
  margin-top: auto;
  margin-bottom: 0;
  margin-left: 0;
  margin-right: 0;
  padding: 20px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.track-card__pills li {
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--ink);
  padding: 0.3rem 0.55rem;
  border: 1px solid rgba(20, 20, 19, 0.15);
  border-radius: 4px;
  background: transparent;
}

html[data-theme="dark"] .track-card__pills li {
  border-color: rgba(244, 242, 236, 0.16);
}

/* Track 02 — dark hardware Pro surface */
.feature-track--pro {
  background: #141413;
  border-color: #141413;
  color: #f4f2ec;
}

.feature-track--pro .feature-track__bar {
  background: rgba(200, 90, 50, 0.08);
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.feature-track--pro .feature-track__label {
  color: #e06d44;
}

.feature-track--pro .feature-track__dot {
  background: #e06d44;
  box-shadow: 0 0 0 3px rgba(224, 109, 68, 0.18), 0 0 10px rgba(224, 109, 68, 0.45);
}

.feature-track--pro .feature-track__meta {
  color: #a6a39b;
}

.feature-track--pro .feature-track__grid {
  border-color: rgba(255, 255, 255, 0.1);
}

.feature-track--pro .track-card {
  border-right-color: rgba(255, 255, 255, 0.1);
}

.feature-track--pro .track-card__index {
  color: #e06d44;
}

.feature-track--pro .track-card h3 {
  color: #f4f2ec;
}

.feature-track--pro .track-card > p {
  color: #a6a39b;
}

.feature-track--pro .track-card__pills li {
  color: #f4f2ec;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.13);
}

html[data-theme="dark"] .feature-track--pro {
  background: #161614;
  border-color: rgba(217, 107, 67, 0.32);
}

@media (max-width: 800px) {
  .feature-track__bar {
    padding: 12px 18px;
    flex-wrap: wrap;
    gap: 0.35rem 1rem;
  }

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

  .track-card {
    padding: 26px 18px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .track-card:last-child { border-bottom: 0; }

  .feature-track--pro .track-card {
    border-bottom-color: rgba(255, 255, 255, 0.1);
  }
}

/* How it works — alternating vertical timeline */
.how-timeline {
  position: relative;
  max-width: 52rem;
  margin: 0 auto;
  padding: 0.5rem 0 0.25rem;
}

.how-timeline__rail {
  position: absolute;
  top: 1.1rem;
  bottom: 5.5rem;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: linear-gradient(
    180deg,
    rgba(200, 90, 50, 0.15) 0%,
    rgba(200, 90, 50, 0.75) 18%,
    rgba(200, 90, 50, 0.85) 50%,
    rgba(200, 90, 50, 0.55) 82%,
    rgba(200, 90, 50, 0.12) 100%
  );
  box-shadow: 0 0 12px rgba(200, 90, 50, 0.28);
  pointer-events: none;
}

.how-step {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1.35rem;
  align-items: center;
  margin-bottom: 2.25rem;
}

.how-step:last-of-type { margin-bottom: 1.75rem; }

.how-step__card {
  position: relative;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg-elevated);
  text-align: left;
  box-shadow: 0 4px 20px rgba(20, 20, 19, 0.03);
  animation: how-card-pulse 3s ease-in-out infinite;
  animation-delay: var(--pulse-delay, 0s);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.how-step__card:hover {
  animation: none;
  border-color: color-mix(in srgb, var(--ink) 28%, transparent);
  box-shadow: 0 6px 24px rgba(20, 20, 19, 0.06);
  transform: translateY(-2px);
}

html[data-theme="dark"] .how-step__card:hover {
  border-color: rgba(244, 242, 236, 0.28);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.28);
}

.how-step--left .how-step__card { grid-column: 1; }
.how-step--left .how-step__node { grid-column: 2; }
.how-step--left .how-step__spacer { grid-column: 3; }

.how-step--right .how-step__spacer { grid-column: 1; }
.how-step--right .how-step__node { grid-column: 2; }
.how-step--right .how-step__card { grid-column: 3; }

.how-step__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  gap: 0.75rem;
  margin-bottom: 12px;
}

.how-step__label {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #c85a32;
}

.how-step__pill {
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding: 0.28rem 0.55rem;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: transparent;
}

.how-step__card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.15rem;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.how-step__card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.55;
}

.how-step__node {
  width: 2.65rem;
  height: 2.65rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--bg);
  border: 1.5px solid #c85a32;
  color: #c85a32;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow: 0 0 0 0 rgba(200, 90, 50, 0.4);
  animation: how-pulse 3s ease-in-out infinite;
  animation-delay: var(--pulse-delay, 0s);
  font-feature-settings: "zero" 1;
}

@keyframes how-pulse {
  0%, 70%, 100% {
    box-shadow: 0 0 0 0 rgba(200, 90, 50, 0.0), 0 0 0 0 rgba(200, 90, 50, 0);
    transform: scale(1);
  }
  15% {
    box-shadow: 0 0 0 6px rgba(200, 90, 50, 0.18), 0 0 18px rgba(200, 90, 50, 0.35);
    transform: scale(1.06);
  }
  30% {
    box-shadow: 0 0 0 12px rgba(200, 90, 50, 0), 0 0 0 0 rgba(200, 90, 50, 0);
    transform: scale(1);
  }
}

@keyframes how-card-pulse {
  0%, 70%, 100% {
    border-color: var(--line);
    box-shadow: 0 4px 20px rgba(20, 20, 19, 0.03);
    transform: translateY(0);
  }
  15% {
    border-color: color-mix(in srgb, var(--ink) 28%, transparent);
    box-shadow: 0 6px 24px rgba(20, 20, 19, 0.06);
    transform: translateY(-2px);
  }
  30% {
    border-color: var(--line);
    box-shadow: 0 4px 20px rgba(20, 20, 19, 0.03);
    transform: translateY(0);
  }
}

html[data-theme="dark"] .how-step__card {
  animation-name: how-card-pulse-dark;
}

@keyframes how-card-pulse-dark {
  0%, 70%, 100% {
    border-color: var(--line);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.18);
    transform: translateY(0);
  }
  15% {
    border-color: rgba(244, 242, 236, 0.28);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.28);
    transform: translateY(-2px);
  }
  30% {
    border-color: var(--line);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.18);
    transform: translateY(0);
  }
}

.how-complete {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 0.35rem;
}

.how-complete__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #c85a32;
  padding: 0.4rem 0.75rem;
  border: 1px solid rgba(200, 90, 50, 0.35);
  border-radius: 999px;
  background: rgba(200, 90, 50, 0.08);
}

.how-complete__quote {
  margin: 16px 0 0;
  font-size: 16px;
  font-weight: 600;
  font-style: italic;
  color: var(--ink-soft);
  letter-spacing: -0.015em;
}

@media (max-width: 800px) {
  .how-timeline {
    padding-left: 0.25rem;
  }

  .how-timeline__rail {
    left: 1.3rem;
    bottom: 6rem;
    transform: none;
  }

  .how-step {
    grid-template-columns: auto 1fr;
    gap: 0.95rem;
    margin-bottom: 1.35rem;
  }

  .how-step--left .how-step__card,
  .how-step--right .how-step__card {
    grid-column: 2;
    text-align: left;
  }

  .how-step--left .how-step__node,
  .how-step--right .how-step__node {
    grid-column: 1;
    grid-row: 1;
  }

  .how-step__spacer { display: none; }

  .how-step__card {
    padding: 1.35rem 1.2rem;
  }

  .how-complete {
    padding-left: 0;
  }
}

/* Pricing */
#pricing-title {
  text-wrap: balance;
}

.pricing {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  max-width: 50rem;
  margin-inline: auto;
}

.plan {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 1.5rem;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.plan--pro {
  border: 1.5px solid #141413;
  background: rgba(200, 90, 50, 0.035);
}

html[data-theme="dark"] .plan--pro {
  border: 1.5px solid rgba(244, 242, 236, 0.4);
  background: rgba(200, 90, 50, 0.06);
}

.plan__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.plan h3 {
  margin: 0;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.plan__tag {
  padding: 0.25rem 0.55rem;
  border: 1px solid rgba(200, 90, 50, 0.35);
  border-radius: 999px;
  background: rgba(200, 90, 50, 0.08);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #c85a32;
}

.plan__price {
  margin: 0;
  font-family: var(--mono);
  font-size: 2.15rem;
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
  font-feature-settings: "zero" 1;
}

.plan__price span {
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--ink-soft);
}

.plan__sub {
  margin: -0.35rem 0 0;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--ink-soft);
  letter-spacing: 0.01em;
}

.plan__includes {
  margin: 0.15rem 0 -0.35rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #c85a32;
}

.plan ul {
  list-style: none;
  margin: 0;
  padding: 0.85rem 0 0;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 0.4rem;
  flex: 1;
}

.plan li {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--ink-soft);
}

.plan li::before {
  content: "— ";
  color: var(--accent);
}

.plan .btn {
  margin-top: 0.35rem;
  width: 100%;
}

@media (max-width: 700px) {
  .pricing { grid-template-columns: 1fr; }
}

/* FAQ */
.faq {
  display: grid;
  gap: 0.65rem;
}

.faq details {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg-elevated);
  padding: 0;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq details[open] {
  border-color: color-mix(in srgb, var(--ink) 22%, transparent);
  box-shadow: 0 4px 18px rgba(20, 20, 19, 0.04);
}

.faq summary {
  cursor: pointer;
  list-style: none;
  font-weight: 650;
  letter-spacing: -0.015em;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding: 1.05rem 1.15rem;
}

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

.faq summary::after {
  content: "+";
  flex-shrink: 0;
  font-family: var(--mono);
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1;
}

.faq details[open] summary::after { content: "−"; }

.faq details p {
  margin: 0;
  padding: 0 1.15rem 1.15rem;
  color: var(--ink-soft);
  max-width: 58ch;
  line-height: 1.55;
}

/* CTA */
.cta-band {
  padding: 1rem 0 4.5rem;
}

.cta-band__inner {
  padding: 64px 32px;
  border: 1px solid #2a2926;
  border-radius: 16px;
  background: #141413;
  color: #f4f2ec;
  text-align: center;
  display: grid;
  justify-items: center;
}

.cta-band h2 {
  margin: 0 0 12px;
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #f4f2ec;
  text-wrap: balance;
}

.cta-band p {
  margin: 0 auto 32px;
  max-width: 480px;
  font-size: 16px;
  line-height: 1.55;
  color: #a6a39b;
}

.cta-band__btn {
  background: #f4f2ec;
  color: #141413;
  border-color: transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.cta-band__btn:hover {
  color: #141413;
  background: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}

@media (max-width: 700px) {
  .cta-band__inner {
    padding: 48px 22px;
  }

  .cta-band h2 {
    font-size: 28px;
  }
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 2.75rem 0 2.75rem;
}

.site-footer__grid {
  display: grid;
  gap: 2.25rem;
  grid-template-columns: 1.55fr 1fr 1fr;
}

.brand--footer {
  margin-bottom: 16px;
}

.brand--footer .brand__mark {
  height: 36px;
  width: auto;
}

.site-footer__brand p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.55;
  max-width: 36ch;
}

.site-footer h2 {
  margin: 0 0 0.85rem;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 500;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.site-footer a {
  text-decoration: none;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.site-footer a:hover { color: var(--ink); }

.site-footer__bottom {
  margin-top: 2.25rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 0.72rem;
}

@media (max-width: 700px) {
  .site-footer__grid { grid-template-columns: 1fr; }
}

.reveal {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

/* Inner pages */
.page-hero {
  padding: 3rem 0 1.75rem;
  animation: rise 0.55s ease both;
}

.page-hero h1 {
  margin: 0 0 0.7rem;
  font-size: clamp(2rem, 4vw, 2.65rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
  font-weight: 800;
}

.page-hero p {
  margin: 0;
  color: var(--ink-soft);
  max-width: 42ch;
}

.meta-line {
  margin-top: 1rem;
  font-size: 0.78rem;
  color: var(--ink-soft);
  font-family: var(--mono);
}

.prose { padding-bottom: 4.25rem; }

.prose h2 {
  margin: 2.35rem 0 0.7rem;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.prose h3 {
  margin: 1.6rem 0 0.45rem;
  font-size: 1.02rem;
}

.prose p,
.prose li { color: var(--ink-soft); }

.prose ul,
.prose ol { padding-left: 1.15rem; }

.prose a {
  color: var(--ink);
  text-decoration-color: color-mix(in srgb, var(--accent) 55%, transparent);
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  margin: 1rem 0 1.4rem;
}

.prose th,
.prose td {
  text-align: left;
  padding: 0.65rem 0.55rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.prose th {
  color: var(--ink);
  font-weight: 650;
}

.contact-card {
  margin: 1.4rem 0 1.85rem;
  padding: 1.25rem 1.3rem;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.contact-card a {
  font-weight: 650;
  text-decoration: none;
  color: var(--accent);
}

.form {
  display: grid;
  gap: 1rem;
  margin-top: 1.4rem;
}

.form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.88rem;
  font-weight: 600;
}

.form input,
.form textarea,
.form select {
  font: inherit;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.7rem 0.8rem;
  width: 100%;
}

.form textarea {
  min-height: 8.5rem;
  resize: vertical;
}

.form__note {
  margin: 0;
  font-size: 0.82rem;
  color: var(--ink-soft);
}

/* 404 */
.not-found {
  flex: 1;
  display: grid;
  align-content: center;
  justify-items: center;
  padding: 5rem 0 4.5rem;
  text-align: center;
}

.not-found__inner {
  width: min(100%, 34rem);
  display: grid;
  justify-items: center;
  animation: rise 0.55s ease both;
}

.not-found__eyebrow {
  margin: 0 0 1rem;
  font-family: var(--mono);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.not-found h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.85rem, 4.6vw, 2.65rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.15;
  text-wrap: balance;
}

.not-found__lede {
  margin: 0 0 2rem;
  max-width: 42ch;
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--ink-soft);
  text-wrap: pretty;
}

.not-found .btn-row {
  justify-content: center;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__content,
  .hero__visual,
  .page-hero,
  .not-found__inner,
  .reveal,
  .how-step__node,
  .how-step__card {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
