:root {
  --ink: #0b0c0c;
  --ink-soft: #121414;
  --panel: #181a19;
  --paper: #eee9dc;
  --muted: #aaa79f;
  --line: rgba(238, 233, 220, 0.15);
  --ember: #ef5b35;
  --ember-bright: #ff744d;
  --steel: #8e9791;
  --acid: #d3ea48;
  --display: "Unbounded", system-ui, sans-serif;
  --sans: "Manrope", system-ui, sans-serif;
  --mono: "DM Mono", monospace;
  --shell: min(1240px, calc(100vw - 48px));
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--paper);
  background: var(--ink);
  font-family: var(--sans);
  overflow-x: hidden;
}

body::selection { color: var(--ink); background: var(--acid); }

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

.sr-only,
.skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 12px 16px;
  color: var(--ink);
  background: var(--acid);
  font-weight: 700;
}

.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  height: 82px;
  padding: 0 max(24px, calc((100vw - 1240px) / 2));
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid transparent;
  transition: background 180ms ease, border-color 180ms ease, height 180ms ease;
}

.site-header.is-scrolled {
  height: 68px;
  background: rgba(11, 12, 12, 0.88);
  border-color: var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  width: max-content;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  font-family: var(--display);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.brand-mark { width: 30px; height: 30px; }
.brand-mark path:first-child { fill: none; stroke: currentColor; stroke-width: 2; }
.brand-mark path:last-child { fill: var(--ember); }

.site-nav { display: flex; align-items: center; gap: 36px; }
.site-nav a {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.69rem;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 160ms ease;
}
.site-nav a:hover, .site-nav a:focus-visible { color: var(--paper); }
.language-switcher { display: inline-flex; align-items: center; gap: 10px; padding-left: 18px; border-left: 1px solid var(--line); }
.language-switcher a { color: var(--steel); }
.language-switcher a[aria-current="page"] { color: var(--acid); }

.header-cta {
  justify-self: end;
  padding-bottom: 5px;
  border: 0;
  border-bottom: 1px solid var(--ember);
  color: var(--paper);
  background: transparent;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.73rem;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.menu-toggle { display: none; }

.testing-callout {
  position: relative;
  padding: 138px max(24px, calc((100vw - 1240px) / 2)) 82px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 12% 28%, rgba(239, 91, 53, 0.2), transparent 31%),
    linear-gradient(145deg, #161817, #0b0c0c 66%);
}

.testing-callout::after {
  content: "";
  position: absolute;
  inset: 0 0 0 55%;
  opacity: 0.14;
  pointer-events: none;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 52px 52px;
}

.testing-shell {
  position: relative;
  z-index: 1;
  width: min(1240px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: clamp(52px, 8vw, 112px);
  align-items: center;
}

.testing-copy h2 {
  max-width: 780px;
  margin: 24px 0 26px;
  font-size: clamp(3.15rem, 6vw, 6.3rem);
  line-height: 0.94;
  letter-spacing: -0.065em;
}

.testing-copy > p:not(.kicker, .testing-status, .testing-availability) {
  max-width: 650px;
  color: #c8c4ba;
  font-size: clamp(1rem, 1.25vw, 1.14rem);
  line-height: 1.75;
}

.testing-status {
  width: max-content;
  margin-bottom: 24px;
  padding: 7px 11px;
  border: 1px solid rgba(211, 234, 72, 0.34);
  color: var(--acid);
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.testing-status span {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 7px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 16px currentColor;
}

.testing-actions {
  margin-top: 34px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.testing-availability {
  margin: 14px 0 0;
  color: var(--steel);
  font-family: var(--mono);
  font-size: 0.67rem;
  line-height: 1.5;
}

.testing-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--line);
  background: rgba(11, 12, 12, 0.72);
}

.testing-steps li {
  min-height: 126px;
  padding: 24px;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 18px;
  border-bottom: 1px solid var(--line);
}

.testing-steps li:last-child { border-bottom: 0; }
.testing-steps li > span {
  color: var(--ember);
  font-family: var(--mono);
  font-size: 0.69rem;
}
.testing-steps strong {
  display: block;
  margin-bottom: 8px;
  font-family: var(--display);
  font-size: 0.9rem;
  text-transform: uppercase;
}
.testing-steps p {
  margin: 0;
  color: var(--muted);
  font-size: 0.87rem;
  line-height: 1.55;
}

.hero {
  position: relative;
  min-height: 900px;
  height: 100svh;
  padding: 140px max(24px, calc((100vw - 1240px) / 2)) 68px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(410px, 0.95fr);
  align-items: center;
  gap: clamp(40px, 8vw, 120px);
  overflow: hidden;
  background:
    radial-gradient(circle at 74% 42%, rgba(239, 91, 53, 0.15), transparent 28%),
    radial-gradient(circle at 20% 90%, rgba(211, 234, 72, 0.055), transparent 26%),
    var(--ink);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.38;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140' viewBox='0 0 140 140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.72' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.12'/%3E%3C/svg%3E");
}

.hero-grid {
  position: absolute;
  inset: 0 0 0 50%;
  opacity: 0.22;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to left, #000, transparent);
}

.hero-copy, .hero-device-wrap { position: relative; z-index: 1; }

.kicker, .eyebrow, .section-index {
  font-family: var(--mono);
  font-size: 0.69rem;
  letter-spacing: 0.13em;
  line-height: 1.4;
  text-transform: uppercase;
}

.kicker { display: flex; align-items: center; gap: 12px; color: var(--steel); }
.kicker span {
  display: grid;
  width: max-content;
  min-width: 29px;
  height: 29px;
  padding-inline: 8px;
  place-items: center;
  white-space: nowrap;
  color: var(--ink);
  background: var(--ember);
}

h1, h2, h3, p { margin-top: 0; }

h1, h2 {
  font-family: var(--display);
  font-weight: 600;
  text-transform: uppercase;
}

h1 {
  max-width: 780px;
  margin: 28px 0 30px;
  font-size: clamp(4.2rem, 8vw, 8.6rem);
  line-height: 0.87;
  letter-spacing: -0.075em;
}

h1 em, h2 em {
  color: transparent;
  font-style: normal;
  -webkit-text-stroke: 1px var(--ember-bright);
  text-stroke: 1px var(--ember-bright);
}

.hero-intro {
  max-width: 620px;
  color: #c8c4ba;
  font-size: clamp(1rem, 1.35vw, 1.18rem);
  line-height: 1.8;
}

.hero-actions { margin-top: 36px; display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.button {
  position: relative;
  z-index: 0;
  isolation: isolate;
  padding: 17px 24px;
  border: 1px solid var(--ember);
  color: var(--paper);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-decoration: none;
  text-transform: uppercase;
  overflow: hidden;
  cursor: pointer;
  font-family: inherit;
}
.button::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--ember-bright);
  transform: translateY(102%);
  transition: transform 180ms ease;
}
.button:hover::before, .button:focus-visible::before { transform: translateY(0); }
.button:hover, .button:focus-visible { color: var(--ink); }
.button-primary { background: var(--ember); color: var(--ink); }
.button-primary::before { background: var(--paper); }
.button-secondary { background: transparent; }
.button.is-disabled,
.button[aria-disabled="true"] {
  opacity: 0.5;
  pointer-events: none;
  cursor: not-allowed;
}

.feedback-dialog {
  width: min(690px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  padding: 0;
  border: 1px solid rgba(239, 91, 53, 0.52);
  color: var(--paper);
  background: #111312;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.65);
}

.feedback-dialog::backdrop {
  background: rgba(3, 4, 4, 0.82);
  backdrop-filter: blur(7px);
}

.feedback-dialog-inner {
  position: relative;
  padding: clamp(28px, 5vw, 56px);
}

.feedback-dialog h2 {
  margin: 14px 0 18px;
  font-size: clamp(2.2rem, 6vw, 4.3rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.feedback-dialog-inner > p:not(.eyebrow) {
  max-width: 560px;
  color: var(--muted);
  line-height: 1.65;
}

.feedback-close {
  position: absolute;
  top: 20px;
  right: 20px;
  padding: 7px 0;
  border: 0;
  border-bottom: 1px solid var(--ember);
  color: var(--paper);
  background: transparent;
  cursor: pointer;
  font-family: var(--mono);
  font-size: 0.65rem;
  text-transform: uppercase;
}

.feedback-form {
  margin-top: 30px;
  display: grid;
  gap: 10px;
}

.feedback-form label {
  margin-top: 10px;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.feedback-form input,
.feedback-form textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 0;
  color: var(--paper);
  background: #090a0a;
  font: inherit;
}

.feedback-form textarea { resize: vertical; }
.feedback-form .button { width: max-content; margin-top: 8px; }
.feedback-honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
.feedback-status {
  min-height: 1.4em;
  margin: 8px 0 0;
  color: var(--acid);
  font-size: 0.85rem;
  line-height: 1.4;
}
.feedback-status[data-tone="error"] { color: #ff9b82; }

.text-link {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
}
.text-link span { color: var(--ember); transition: transform 160ms ease; }
.text-link:hover span { transform: translate(3px, 3px); }

.hero-meta {
  margin: clamp(50px, 7vh, 84px) 0 0;
  padding: 0;
  display: flex;
  gap: clamp(28px, 4vw, 58px);
  list-style: none;
}
.hero-meta li { display: flex; flex-direction: column; gap: 3px; }
.hero-meta strong { font-family: var(--display); font-size: 1rem; text-transform: uppercase; }
.hero-meta span { color: var(--steel); font-family: var(--mono); font-size: 0.61rem; letter-spacing: 0.08em; text-transform: uppercase; }

.hero-device-wrap {
  min-height: 650px;
  display: grid;
  place-items: center;
}

.hero-seal {
  position: absolute;
  top: 0;
  right: 3%;
  width: 150px;
  height: 150px;
  border: 1px solid var(--line);
  border-radius: 50%;
  animation: spin 24s linear infinite;
}
.hero-seal::after { content: "IS"; position: absolute; inset: 35px; display: grid; place-items: center; border: 1px solid var(--ember); border-radius: 50%; color: var(--ember); font-family: var(--display); font-size: 1.35rem; }
.hero-seal span { position: absolute; inset: 0; display: grid; place-items: start center; padding-top: 6px; color: var(--steel); font-family: var(--mono); font-size: 0.5rem; letter-spacing: 0.1em; }

@keyframes spin { to { transform: rotate(360deg); } }

.phone {
  position: relative;
  width: 310px;
  height: 638px;
  padding: 10px;
  border: 1px solid #515553;
  border-radius: 48px;
  background: linear-gradient(145deg, #3b3e3c, #090a0a 28%, #222524 82%, #090a0a);
  box-shadow: 0 42px 90px rgba(0, 0, 0, 0.52), inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}
.phone::before {
  content: "";
  position: absolute;
  z-index: 4;
  top: 17px;
  left: 50%;
  width: 92px;
  height: 23px;
  border-radius: 14px;
  background: #050606;
  transform: translateX(-50%);
}
.phone-hero { transform: rotate(3deg); }
.phone-rail { position: absolute; inset: 110px -4px auto; }
.phone-rail::before, .phone-rail::after, .phone-rail span { content: ""; position: absolute; width: 3px; border-radius: 3px; background: #545957; }
.phone-rail::before { left: 0; height: 70px; }
.phone-rail::after { right: 0; top: 38px; height: 92px; }
.phone-rail span { left: 0; top: 82px; height: 34px; }
.phone-screen { height: 100%; padding: 18px 18px 14px; overflow: hidden; border-radius: 39px; color: #f3eee1; background: #111312; }
.phone-screen.real-app-screen { padding: 0; background: #0d0a13; }
.app-capture { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.phone-status { height: 31px; display: flex; justify-content: space-between; padding: 0 6px; color: #c9c8c0; font-family: var(--mono); font-size: 0.55rem; }
.app-head { margin-top: 12px; display: flex; justify-content: space-between; align-items: flex-start; }
.app-head div:first-child { display: flex; flex-direction: column; gap: 4px; }
.app-head small, .quest-card small, .quest-card span, .rank-top, .rank-foot, .quest-label, .app-stats small, .app-stats span { font-family: var(--mono); }
.app-head small { color: #858b87; font-size: 0.48rem; text-transform: uppercase; }
.app-head strong { max-width: 180px; font-size: 1rem; line-height: 1.2; }
.mini-crest { display: block; width: 40px; height: 40px; object-fit: contain; filter: drop-shadow(0 0 8px rgba(52, 229, 255, 0.25)); }
.capacity-intro { margin: 12px 0 15px; color: #858b87; font-size: 0.56rem; line-height: 1.5; }
.mode-list { display: flex; flex-direction: column; gap: 7px; }
.mode-card { min-height: 61px; padding: 10px 11px; display: grid; grid-template-columns: 24px 1fr auto; align-items: center; gap: 8px; border: 1px solid #303432; color: #737a75; background: #161817; }
.mode-card > span { font-family: var(--mono); font-size: 0.48rem; }
.mode-card > div { display: flex; flex-direction: column; gap: 3px; }
.mode-card strong { color: #d9d6cf; font-size: 0.67rem; }
.mode-card small { color: #737a75; font-size: 0.44rem; line-height: 1.35; }
.mode-card i { color: #555b57; font-size: 0.62rem; font-style: normal; }
.mode-card.selected { border-color: var(--ember); background: rgba(239, 91, 53, 0.09); }
.mode-card.selected > span, .mode-card.selected i { color: var(--ember); }
.mode-baby { border-left: 2px solid #a997d4; }
.mode-squire { border-left: 2px solid #79bcb6; }
.mode-iron { border-left: 2px solid var(--ember); }
.phone-continue { width: 100%; margin-top: 10px; padding: 11px; border: 0; color: var(--ink); background: var(--ember); font-family: var(--mono); font-size: 0.5rem; font-weight: 700; text-transform: uppercase; }
.next-support { margin-top: 10px; padding: 10px 11px; display: flex; flex-direction: column; gap: 3px; border: 1px solid #292d2a; }
.next-support span, .next-support small { color: #737a75; font-family: var(--mono); font-size: 0.42rem; text-transform: uppercase; }
.next-support strong { font-size: 0.61rem; }
.rank-card { margin-top: 20px; padding: 16px; border: 1px solid rgba(239, 91, 53, 0.42); background: linear-gradient(135deg, rgba(239, 91, 53, 0.14), rgba(239, 91, 53, 0.02)); }
.rank-top, .rank-foot { display: flex; justify-content: space-between; color: #aaa9a3; font-size: 0.47rem; text-transform: uppercase; }
.rank-top b { color: var(--ember); font-size: 0.6rem; }
.rank-name { margin: 9px 0 15px; font-family: var(--display); font-size: 0.94rem; text-transform: uppercase; }
.rank-track { height: 3px; background: rgba(255, 255, 255, 0.1); }
.rank-track i { display: block; width: 74%; height: 100%; background: var(--ember); box-shadow: 0 0 10px rgba(239, 91, 53, 0.5); }
.rank-foot { margin-top: 7px; }
.quest-label { margin: 22px 0 9px; display: flex; justify-content: space-between; color: #8e938f; font-size: 0.49rem; letter-spacing: 0.08em; text-transform: uppercase; }
.quest-label b { color: #d5d2ca; font-weight: 400; }
.quest-card { padding: 13px; display: grid; grid-template-columns: 39px 1fr auto; align-items: center; gap: 11px; border: 1px solid #303432; background: #191c1a; }
.quest-icon { display: grid; width: 39px; height: 43px; place-items: center; color: var(--ink); background: var(--acid); clip-path: polygon(50% 0, 100% 16%, 91% 78%, 50% 100%, 9% 78%, 0 16%); font-family: var(--display); }
.quest-card > div:nth-child(2) { display: flex; flex-direction: column; gap: 2px; }
.quest-card small { color: #8e938f; font-size: 0.42rem; text-transform: uppercase; }
.quest-card strong { font-size: 0.74rem; }
.quest-card span { color: #8e938f; font-size: 0.43rem; }
.quest-arrow { color: var(--acid) !important; font-size: 1rem !important; }
.app-stats { margin-top: 10px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.app-stats > div { padding: 13px; display: grid; grid-template-columns: auto 1fr; align-items: baseline; border: 1px solid #292c2b; background: #151716; }
.app-stats small { grid-column: 1 / -1; margin-bottom: 5px; color: #7c817e; font-size: 0.43rem; text-transform: uppercase; }
.app-stats strong { color: var(--paper); font-family: var(--display); font-size: 1.15rem; }
.app-stats span { color: #777c79; font-size: 0.42rem; }
.phone-nav { position: absolute; inset: auto 24px 20px; height: 45px; display: flex; align-items: center; justify-content: space-around; border: 1px solid #282b2a; border-radius: 15px; color: #6c726e; background: rgba(21, 23, 22, 0.94); }
.phone-nav b { color: var(--ember); }

.device-note { position: absolute; padding: 10px 13px; border: 1px solid var(--line); color: var(--muted); background: rgba(11, 12, 12, 0.78); font-family: var(--mono); font-size: 0.59rem; letter-spacing: 0.05em; text-transform: uppercase; backdrop-filter: blur(8px); }
.device-note span { margin-right: 10px; color: var(--ember); }
.note-one { left: 0; top: 34%; }
.note-two { right: -4%; bottom: 15%; }

.scroll-cue { position: absolute; bottom: 32px; left: 50%; display: flex; gap: 12px; align-items: center; color: #6d716e; font-family: var(--mono); font-size: 0.55rem; letter-spacing: 0.12em; text-transform: uppercase; transform: translateX(-50%); }
.scroll-cue span { position: relative; width: 1px; height: 45px; overflow: hidden; background: #343735; }
.scroll-cue span::after { content: ""; position: absolute; inset: -100% 0 0; background: var(--ember); animation: scroll-line 2s ease-in-out infinite; }
@keyframes scroll-line { 0% { transform: translateY(0); } 100% { transform: translateY(200%); } }

.marquee { padding: 17px 0; overflow: hidden; color: var(--ink); background: var(--acid); }
.marquee > div { width: max-content; display: flex; align-items: center; gap: 28px; animation: marquee 28s linear infinite; }
.marquee span { font-family: var(--display); font-size: 0.78rem; letter-spacing: 0.04em; text-transform: uppercase; }
.marquee i { font-size: 0.55rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

.section-shell { width: var(--shell); margin: 0 auto; padding: clamp(100px, 12vw, 180px) 0; }
.section-index { margin-bottom: 72px; padding-bottom: 16px; color: #737873; border-bottom: 1px solid var(--line); }
.eyebrow { margin-bottom: 18px; color: var(--ember); }

.manifesto { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; }
.manifesto .section-index { grid-column: 1 / -1; }
.manifesto-heading { grid-column: 1 / 9; }
.manifesto h2, .section-title-row h2, .progress-copy h2, .final-copy h2 { margin-bottom: 0; font-size: clamp(2.6rem, 5.4vw, 5.6rem); line-height: 1.04; letter-spacing: -0.06em; }
.manifesto-copy { grid-column: 9 / -1; align-self: end; color: var(--muted); font-size: 1rem; line-height: 1.75; }
.manifesto-copy p:last-child { margin-bottom: 0; }
.principles { grid-column: 1 / -1; margin-top: 76px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.principles article { min-height: 230px; padding: 28px; border-right: 1px solid var(--line); }
.principles article:last-child { border-right: 0; }
.principles span, .feature-number { color: #646864; font-family: var(--mono); font-size: 0.62rem; }
.principles h3 { margin: 74px 0 10px; font-family: var(--display); font-size: 1rem; text-transform: uppercase; }
.principles p { margin: 0; color: var(--muted); font-size: 0.88rem; line-height: 1.6; }

.system { padding-top: 50px; }
.section-title-row { margin-bottom: 70px; display: grid; grid-template-columns: 2fr 1fr; gap: 80px; align-items: end; }
.section-title-row > p { margin: 0; color: var(--muted); line-height: 1.75; }
.feature-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 14px; }
.feature { position: relative; min-height: 420px; padding: clamp(24px, 3vw, 40px); overflow: hidden; border: 1px solid var(--line); background: var(--ink-soft); }
.feature::after { content: ""; position: absolute; pointer-events: none; inset: 0; opacity: 0; background: linear-gradient(135deg, rgba(239,91,53,0.1), transparent 50%); transition: opacity 240ms ease; }
.feature:hover::after { opacity: 1; }
.feature-number { position: absolute; top: 30px; right: 30px; }
.feature h3 { max-width: 510px; margin: 0 0 16px; font-family: var(--display); font-size: clamp(1.45rem, 2.2vw, 2.35rem); line-height: 1.18; text-transform: uppercase; }
.feature p:not(.eyebrow) { max-width: 500px; color: var(--muted); line-height: 1.7; }
.feature-quest { grid-column: span 8; min-height: 540px; display: grid; grid-template-columns: 0.85fr 1.15fr; align-items: end; gap: 30px; background: #151716; }
.feature-plan { grid-column: span 4; min-height: 540px; }
.feature-log { grid-column: span 4; }
.feature-rank { grid-column: span 8; }

.quest-demo { padding: 22px; border: 1px solid #373b38; background: #0e100f; box-shadow: 22px 22px 0 rgba(239,91,53,0.06); }
.quest-demo > div:first-child { display: flex; justify-content: space-between; align-items: center; color: #858a86; font-family: var(--mono); font-size: 0.59rem; text-transform: uppercase; }
.quest-demo > div:first-child b { color: var(--paper); font-family: var(--display); font-size: 0.78rem; }
.demo-ring { width: 128px; height: 128px; margin: 30px auto; display: grid; place-content: center; justify-items: center; border: 8px solid #292d2a; border-top-color: var(--ember); border-right-color: var(--ember); border-radius: 50%; transform: rotate(18deg); }
.demo-ring span, .demo-ring small { transform: rotate(-18deg); }
.demo-ring span { font-family: var(--display); font-size: 2rem; }
.demo-ring small { color: #777d78; font-family: var(--mono); font-size: 0.5rem; }
.quest-demo ol { margin: 0; padding: 0; list-style: none; border-top: 1px solid #252825; }
.quest-demo li { padding: 11px 0; display: flex; justify-content: space-between; border-bottom: 1px solid #252825; color: #aaaFaB; font-size: 0.67rem; }
.quest-demo li span { color: var(--acid); font-family: var(--mono); }
.medication-demo { text-align: center; }
.medication-demo > div:first-child { text-align: left; }
.medication-symbol { width: 88px; height: 88px; margin: 26px auto 18px; display: grid; place-items: center; border: 1px solid var(--ember); border-radius: 50%; color: var(--ember); font-family: var(--display); font-size: 1.25rem; box-shadow: 0 0 0 9px rgba(239,91,53,0.06); }
.medication-demo h4 { margin: 0 0 6px; font-family: var(--display); font-size: 1rem; text-transform: uppercase; }
.medication-demo > p { margin: 0 auto 22px !important; color: #888e89 !important; font-size: 0.68rem !important; }
.medication-actions { display: grid !important; grid-template-columns: 0.8fr 1.2fr; gap: 8px; }
.medication-actions span { padding: 11px 8px; border: 1px solid #3b403c; color: #9ea39f; font-family: var(--mono); font-size: 0.48rem; text-transform: uppercase; }
.medication-actions span:first-child { border-color: var(--ember); color: var(--ink); background: var(--ember); }
.medication-demo > small { display: block; margin-top: 14px; color: #626863; font-family: var(--mono); font-size: 0.43rem; line-height: 1.5; }

.plan-switcher { margin-top: 42px; display: flex; border-bottom: 1px solid #313431; }
.plan-switcher button { flex: 1; padding: 12px 3px; border: 0; border-bottom: 2px solid transparent; color: #737873; background: transparent; cursor: pointer; font-family: var(--mono); font-size: 0.62rem; text-transform: uppercase; }
.plan-switcher button[aria-selected="true"] { color: var(--ember); border-bottom-color: var(--ember); }
.plan-detail { margin-top: 32px; display: flex; flex-direction: column; gap: 7px; }
.plan-detail span, .plan-detail small { color: #777d78; font-family: var(--mono); font-size: 0.58rem; text-transform: uppercase; }
.plan-detail strong { font-family: var(--display); font-size: 1.45rem; text-transform: uppercase; }

.set-log { margin-top: 36px; font-family: var(--mono); font-size: 0.63rem; }
.set-log > div { min-height: 45px; display: grid; grid-template-columns: 42px 1fr 1fr 28px; align-items: center; border-bottom: 1px solid #2d302e; }
.set-log > div:first-child { min-height: 28px; color: #6c716d; font-size: 0.51rem; }
.set-log > div:first-child span:nth-child(2), .set-log > div:first-child span:nth-child(3) { text-align: center; }
.set-log b { color: #6b706c; font-weight: 400; }
.set-log strong { text-align: center; font-weight: 400; }
.set-log i { display: grid; width: 22px; height: 22px; place-items: center; border: 1px solid #39403b; border-radius: 50%; color: var(--acid); font-style: normal; }
.set-log .set-active { background: rgba(239,91,53,0.08); }
.set-log .set-active i { border-color: var(--ember); color: var(--ember); }
.routine-log > div { grid-template-columns: 34px 1fr 28px; }
.routine-log > div:first-child { grid-template-columns: 1fr auto; color: #888e89; }
.routine-log strong { text-align: left; font-size: 0.58rem; }
.routine-note { margin-top: 18px !important; color: #737873 !important; font-family: var(--mono); font-size: 0.54rem !important; }

.feature-rank { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 50px; align-items: end; }
.rank-path { align-self: center; display: grid; grid-template-columns: auto 1fr auto 1fr auto 1fr auto; align-items: center; }
.rank-step { position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px; color: #626762; }
.rank-step span { display: grid; width: 54px; height: 63px; place-items: center; border: 1px solid #393d39; clip-path: polygon(50% 0, 100% 15%, 90% 76%, 50% 100%, 10% 76%, 0 15%); font-family: var(--display); font-size: 0.8rem; }
.rank-step small { font-family: var(--mono); font-size: 0.48rem; text-transform: uppercase; }
.rank-step.complete span { color: var(--ink); border-color: var(--steel); background: var(--steel); }
.rank-step.complete small { color: var(--steel); }
.rank-step.current span { color: var(--ink); border-color: var(--ember); background: var(--ember); box-shadow: 0 0 28px rgba(239,91,53,0.2); }
.rank-step.current small { color: var(--ember); }
.rank-line { height: 1px; background: #343834; }
.rank-line.complete { background: var(--steel); }

.progress-story { padding-top: 80px; }
.progress-layout { min-height: 760px; display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: center; }
.progress-copy > p:not(.eyebrow) { max-width: 570px; margin-top: 32px; color: var(--muted); font-size: 1rem; line-height: 1.75; }
.progress-copy dl { margin: 58px 0 0; padding-top: 24px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.progress-copy dl div { display: flex; flex-direction: column; gap: 7px; }
.progress-copy dt { font-family: var(--display); font-size: 1.55rem; }
.progress-copy dd { margin: 0; color: #707570; font-family: var(--mono); font-size: 0.52rem; line-height: 1.5; text-transform: uppercase; }
.capacity-list { margin: 48px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.capacity-list li { min-height: 62px; display: grid; grid-template-columns: 48px 1fr; align-items: center; border-bottom: 1px solid var(--line); }
.capacity-list span { color: var(--ember); font-family: var(--mono); font-size: 0.55rem; }
.capacity-list strong { font-size: 0.8rem; font-weight: 600; }
.phone-progress { justify-self: center; transform: rotate(-2deg); }
.progress-head { margin-top: 14px; display: flex; flex-direction: column; gap: 3px; }
.progress-head small, .progress-head span { color: #818682; font-family: var(--mono); font-size: 0.48rem; text-transform: uppercase; }
.progress-head strong { font-size: 1.08rem; }
.progress-head span { margin-top: 11px; color: var(--ember); }
.chart-card { margin-top: 16px; padding: 14px; border: 1px solid #2e322f; background: #171918; }
.chart-head { display: flex; justify-content: space-between; color: #8f948f; font-family: var(--mono); font-size: 0.48rem; text-transform: uppercase; }
.chart-head b { color: var(--acid); }
.chart { position: relative; height: 145px; margin-top: 13px; display: flex; justify-content: space-between; align-items: stretch; }
.chart i { width: 1px; background: #282c29; }
.chart svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.chart path { fill: none; stroke: var(--ember); stroke-width: 3; vector-effect: non-scaling-stroke; filter: drop-shadow(0 0 5px rgba(239,91,53,0.45)); }
.chart-labels { display: flex; justify-content: space-between; color: #666b67; font-family: var(--mono); font-size: 0.42rem; }
.record-card { margin-top: 11px; padding: 13px; display: flex; flex-direction: column; gap: 4px; border-left: 2px solid var(--acid); background: rgba(211,234,72,0.06); }
.record-card span, .record-card small { color: #818681; font-family: var(--mono); font-size: 0.43rem; text-transform: uppercase; }
.record-card strong { font-size: 0.68rem; }
.week-dots { margin-top: 16px; display: grid; grid-template-columns: repeat(7, 1fr); gap: 7px; text-align: center; }
.week-dots span { color: #676c68; font-family: var(--mono); font-size: 0.42rem; }
.week-dots i { width: 21px; height: 21px; justify-self: center; border: 1px solid #343834; border-radius: 50%; }
.week-dots i:nth-of-type(-n+4) { border-color: var(--ember); background: var(--ember); box-shadow: inset 0 0 0 5px #181a19; }
.routine-progress { height: 3px; margin: 18px 0 22px; background: #2b2e2c; }
.routine-progress i { display: block; width: 40%; height: 100%; background: var(--ember); }
.routine-current { padding: 20px 15px; display: flex; flex-direction: column; align-items: center; text-align: center; border: 1px solid #303431; background: linear-gradient(145deg, rgba(239,91,53,0.08), transparent 64%); }
.routine-current > span { align-self: flex-start; color: #757b76; font-family: var(--mono); font-size: 0.43rem; text-transform: uppercase; }
.routine-current-icon { display: grid; width: 58px; height: 58px; margin: 18px 0 13px; place-items: center; border: 1px solid var(--ember); border-radius: 50%; color: var(--ember); }
.routine-current strong { font-size: 0.78rem; }
.routine-current p { margin: 6px 0 15px; color: #858a86; font-size: 0.51rem; line-height: 1.45; }
.routine-current button { width: 100%; padding: 10px; border: 0; color: var(--ink); background: var(--ember); font-family: var(--mono); font-size: 0.48rem; font-weight: 700; text-transform: uppercase; }
.routine-options { margin-top: 10px; display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.routine-options span { padding: 9px 4px; border: 1px solid #303431; color: #858a86; font-family: var(--mono); font-size: 0.41rem; text-align: center; text-transform: uppercase; }
.reassurance { margin-top: 11px; padding-left: 9px; border-left: 2px solid var(--acid); color: #737873; font-size: 0.48rem; line-height: 1.45; }

.positioning {
  position: relative;
  min-height: 690px;
  padding: 120px max(24px, calc((100vw - 1100px) / 2));
  display: grid;
  place-content: center;
  text-align: center;
  overflow: hidden;
  background: var(--paper);
  color: var(--ink);
}
.positioning .eyebrow { color: var(--ember); }
.positioning blockquote { position: relative; z-index: 1; max-width: 1000px; margin: 16px auto 32px; font-family: var(--display); font-size: clamp(2rem, 4.4vw, 4.5rem); line-height: 1.24; letter-spacing: -0.045em; text-transform: uppercase; }
.positioning-credit { font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.1em; text-transform: uppercase; }
.positioning-mark { position: absolute; inset: 50% auto auto 50%; color: transparent; font-family: var(--display); font-size: min(38vw, 520px); line-height: 1; -webkit-text-stroke: 1px rgba(11,12,12,0.08); transform: translate(-50%, -50%); }

.promise { padding-top: 140px; }
.promise-grid { display: grid; grid-template-columns: 1.2fr 0.8fr 0.8fr; gap: 14px; }
.promise-copy { padding-right: clamp(20px, 4vw, 70px); }
.promise-copy h2 { margin: 0; font-family: var(--display); font-size: clamp(2.7rem, 5vw, 5.2rem); line-height: 1.02; letter-spacing: -0.06em; text-transform: uppercase; }
.promise-copy h2 em { color: transparent; font-style: normal; -webkit-text-stroke: 1px var(--ember); }
.promise-copy > p:not(.eyebrow) { margin-top: 28px; color: var(--muted); line-height: 1.75; }
.promise-card { min-height: 410px; padding: 30px; display: flex; flex-direction: column; border: 1px solid var(--line); background: var(--ink-soft); }
.promise-card > span { color: var(--ember); font-family: var(--mono); font-size: 0.55rem; letter-spacing: 0.08em; text-transform: uppercase; }
.promise-card h3 { margin: 50px 0 28px; font-family: var(--display); font-size: 1.25rem; line-height: 1.3; text-transform: uppercase; }
.promise-card ul { margin: auto 0 0; padding: 0; list-style: none; }
.promise-card li { padding: 13px 0; border-top: 1px solid var(--line); color: #999e9a; font-size: 0.71rem; }
.promise-card-free { border-top: 2px solid var(--acid); }
.promise-card-ads { border-top: 2px solid var(--ember); }
.promise-footnote { margin: 28px 0 0 auto; max-width: 650px; color: var(--paper); font-family: var(--mono); font-size: 0.7rem; line-height: 1.6; text-align: right; text-transform: uppercase; }

.final-cta { min-height: 800px; padding: 130px max(24px, calc((100vw - 1240px) / 2)); display: grid; grid-template-columns: 1fr 0.7fr; align-items: center; gap: 80px; overflow: hidden; background: linear-gradient(135deg, #121413, #0b0c0c 56%); }
.final-copy { position: relative; z-index: 1; }
.final-copy > p:not(.kicker) { max-width: 570px; margin-top: 30px; color: var(--muted); line-height: 1.75; }
.final-crest { justify-self: end; width: min(390px, 90%); color: var(--ember); filter: drop-shadow(0 0 70px rgba(239,91,53,0.12)); transform: rotate(5deg); }
.final-crest svg { width: 100%; overflow: visible; }
.final-crest path:first-child { fill: none; stroke: currentColor; stroke-width: 2; }
.final-crest path:last-child { fill: none; stroke: rgba(238,233,220,0.35); stroke-width: 1.5; }

footer { width: var(--shell); min-height: 118px; margin: 0 auto; display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 40px; border-top: 1px solid var(--line); color: #6f746f; font-family: var(--mono); font-size: 0.56rem; text-transform: uppercase; }
.footer-brand { color: var(--paper); }
footer p { margin: 0; }

[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 700ms ease, transform 700ms cubic-bezier(.2,.8,.2,1); }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

:focus-visible { outline: 2px solid var(--acid); outline-offset: 4px; }

@media (max-width: 1040px) {
  .site-header { grid-template-columns: 1fr auto; }
  .site-nav { position: absolute; inset: 68px 24px auto; padding: 22px; display: none; flex-direction: column; align-items: flex-start; gap: 20px; border: 1px solid var(--line); background: rgba(11,12,12,0.97); }
  .site-nav.is-open { display: flex; }
  .header-cta { display: none; }
  .testing-shell { grid-template-columns: 1fr; }
  .testing-steps { display: grid; grid-template-columns: repeat(3, 1fr); }
  .testing-steps li { min-height: 190px; grid-template-columns: 1fr; border-bottom: 0; border-right: 1px solid var(--line); }
  .testing-steps li:last-child { border-right: 0; }
  .menu-toggle { justify-self: end; width: 44px; height: 44px; padding: 12px 9px; display: flex; flex-direction: column; justify-content: center; gap: 7px; border: 0; color: var(--paper); background: transparent; cursor: pointer; }
  .menu-toggle span:not(.sr-only) { width: 100%; height: 1px; background: currentColor; transition: transform 160ms ease; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }
  .hero { height: auto; min-height: 1120px; grid-template-columns: 1fr 0.8fr; gap: 20px; }
  h1 { font-size: clamp(4.3rem, 9.4vw, 7.2rem); }
  .hero-device-wrap { transform: scale(0.88); transform-origin: center; }
  .manifesto-heading { grid-column: 1 / 8; }
  .manifesto-copy { grid-column: 8 / -1; }
  .feature-quest, .feature-rank { grid-column: span 7; }
  .feature-plan, .feature-log { grid-column: span 5; }
  .feature-quest, .feature-rank { grid-template-columns: 1fr; }
  .progress-layout { gap: 40px; }
  .promise-grid { grid-template-columns: 1fr 1fr; }
  .promise-copy { grid-column: 1 / -1; margin-bottom: 42px; }
}

@media (max-width: 760px) {
  :root { --shell: min(100% - 32px, 1240px); }
  .site-header { padding-inline: 16px; }
  .site-nav { inset-inline: 16px; }
  .testing-callout { padding: 116px 16px 70px; }
  .testing-copy h2 { font-size: clamp(2.75rem, 14vw, 4.8rem); }
  .testing-actions { align-items: stretch; flex-direction: column; }
  .testing-actions .button { width: 100%; text-align: center; }
  .testing-steps { grid-template-columns: 1fr; }
  .testing-steps li { min-height: auto; grid-template-columns: 38px 1fr; border-right: 0; border-bottom: 1px solid var(--line); }
  .testing-steps li:last-child { border-bottom: 0; }
  .hero { min-height: 1400px; padding: 120px 16px 80px; grid-template-columns: 1fr; gap: 50px; }
  .hero-grid { inset-inline-start: 20%; }
  h1 { font-size: clamp(3.7rem, 17vw, 6.2rem); }
  .hero-intro { font-size: 0.96rem; }
  .hero-meta { gap: 24px; justify-content: space-between; }
  .hero-device-wrap { min-height: 680px; transform: none; }
  .phone { width: 292px; height: 602px; }
  .hero-seal { right: -38px; }
  .note-one { left: -8px; }
  .note-two { right: -5px; }
  .scroll-cue { display: none; }
  .section-shell { padding-block: 100px; }
  .section-index { margin-bottom: 50px; }
  .manifesto { display: block; }
  .manifesto-copy { margin-top: 36px; }
  .principles { margin-top: 58px; grid-template-columns: 1fr; }
  .principles article { min-height: 190px; border-right: 0; border-bottom: 1px solid var(--line); }
  .principles article:last-child { border-bottom: 0; }
  .principles h3 { margin-top: 48px; }
  .section-title-row { grid-template-columns: 1fr; gap: 32px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-quest, .feature-plan, .feature-log, .feature-rank { grid-column: 1; min-height: auto; }
  .feature-quest { grid-template-columns: 1fr; }
  .quest-demo { margin-top: 20px; }
  .feature-plan, .feature-log { min-height: 470px; }
  .feature-rank { grid-template-columns: 1fr; min-height: 510px; }
  .rank-path { margin-top: 30px; }
  .rank-step span { width: 46px; height: 54px; }
  .rank-step small { font-size: 0.42rem; }
  .progress-layout { grid-template-columns: 1fr; gap: 70px; }
  .progress-copy dl { gap: 14px; }
  .phone-progress { justify-self: center; }
  .positioning { min-height: 620px; padding-inline: 24px; }
  .promise-grid { grid-template-columns: 1fr; }
  .promise-copy { grid-column: 1; padding-right: 0; }
  .promise-card { min-height: 350px; }
  .promise-footnote { text-align: left; }
  .final-cta { min-height: 900px; padding: 100px 16px; grid-template-columns: 1fr; gap: 40px; }
  .final-crest { width: 250px; justify-self: center; grid-row: 1; opacity: 0.58; }
  footer { padding: 34px 0; grid-template-columns: 1fr; gap: 16px; }
}

@media (max-width: 400px) {
  h1 { font-size: 3.35rem; }
  .hero-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .hero-meta strong { font-size: 0.78rem; }
  .hero-meta span { font-size: 0.48rem; }
  .phone { width: 276px; height: 570px; }
  .phone-screen { padding-inline: 15px; }
  .note-one, .note-two { display: none; }
  .rank-path { grid-template-columns: repeat(4, 1fr); }
  .rank-line { display: none; }
  .rank-step small { font-size: 0.36rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

