:root {
  --bg: #0b0c10;
  --surface: #12141a;
  --surface-2: #181a22;
  --ink: #f4f5f7;
  --muted: #a6a8b2;
  --line: rgba(255,255,255,.1);
  --orange: #ff7a3d;
  --teal: #38c3d6;
  --purple: #b66bea;
  --blue: #5b8fff;
  --pink: #f0609b;
  --max: 1200px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 82% 6%, rgba(255,122,61,.1), transparent 25rem),
    var(--bg);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
img { max-width: 100%; display: block; }
.skip-link { position: fixed; left: 1rem; top: -4rem; z-index: 100; padding: .75rem 1rem; background: #fff; color: #000; border-radius: .5rem; }
.skip-link:focus { top: 1rem; }

.site-header {
  width: min(calc(100% - 3rem), var(--max));
  height: 84px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 20;
}
.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; font-size: 1.08rem; font-weight: 800; letter-spacing: -.02em; }
.brand img { border-radius: 11px; box-shadow: 0 8px 24px rgba(255,122,61,.22); }
.site-header nav { display: flex; gap: 2rem; }
.site-header nav a, .site-footer nav a { color: var(--muted); text-decoration: none; font-size: .9rem; transition: color .2s ease; }
.site-header nav a:hover, .site-footer nav a:hover { color: var(--ink); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .9rem 1.25rem;
  border-radius: 999px;
  background: var(--orange);
  color: #180b05;
  font-weight: 800;
  font-size: .92rem;
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(255,122,61,.2);
  transition: transform .2s ease, box-shadow .2s ease;
}
.button:hover { transform: translateY(-2px); box-shadow: 0 16px 38px rgba(255,122,61,.28); }
.button-small { padding: .65rem 1rem; font-size: .82rem; }
.button-light { background: #fff; color: #151515; box-shadow: none; flex: 0 0 auto; }
.text-link { color: var(--muted); text-decoration: none; font-size: .94rem; }
.text-link:hover { color: var(--ink); }

.hero {
  width: min(calc(100% - 3rem), var(--max));
  min-height: 720px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 4rem;
  padding: 5rem 0 4rem;
}
.eyebrow { margin: 0 0 1.25rem; color: var(--orange); font-size: .75rem; font-weight: 850; letter-spacing: .16em; text-transform: uppercase; }
.hero h1 { margin: 0; font-size: clamp(3.6rem, 7vw, 6.7rem); line-height: .92; letter-spacing: -.07em; font-weight: 850; }
.hero h1 span, .section-intro h2 span { color: var(--muted); }
.hero-lede { max-width: 600px; margin: 2rem 0 0; color: #c5c7cf; font-size: clamp(1.1rem, 2vw, 1.35rem); line-height: 1.55; }
.hero-actions { display: flex; align-items: center; gap: 1.5rem; margin-top: 2.2rem; }
.signal-row { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 2.75rem; }
.signal { display: inline-flex; align-items: center; gap: .45rem; padding: .42rem .7rem; border: 1px solid var(--line); border-radius: 999px; color: #bfc1c9; font-size: .75rem; }
.signal::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.engine { color: var(--teal); }.strength { color: var(--pink); }.hybrid { color: var(--orange); }.recovery { color: var(--blue); }

.hero-visual { min-height: 610px; position: relative; display: grid; place-items: center; isolation: isolate; }
.hero-visual::before { content: ""; position: absolute; inset: 9% 5% 5%; border-radius: 50%; background: radial-gradient(circle, rgba(255,122,61,.18), transparent 63%); filter: blur(16px); z-index: -2; }
.orbit { position: absolute; border: 1px solid rgba(255,122,61,.22); border-radius: 50%; z-index: -1; }
.orbit-one { width: 440px; height: 440px; }
.orbit-two { width: 560px; height: 560px; opacity: .55; }
.phone { position: relative; overflow: hidden; background: #090a0d; border: 7px solid #202127; box-shadow: 0 35px 90px rgba(0,0,0,.55), inset 0 0 0 1px rgba(255,255,255,.15); }
.phone-main { width: 275px; height: 595px; border-radius: 46px; transform: rotate(2.5deg); }
.phone img { width: 100%; height: 100%; object-fit: cover; }
.phone-top { position: absolute; z-index: 2; top: 8px; left: 50%; transform: translateX(-50%); width: 88px; height: 25px; border-radius: 20px; background: #020203; }
.decision-card { position: absolute; left: 1%; bottom: 14%; width: 238px; padding: 1rem 1.05rem; display: flex; flex-direction: column; border: 1px solid rgba(255,255,255,.13); border-radius: 16px; background: rgba(19,20,25,.82); backdrop-filter: blur(16px); box-shadow: 0 20px 50px rgba(0,0,0,.45); }
.decision-card .decision-label { color: var(--orange); font-size: .58rem; font-weight: 850; letter-spacing: .14em; }
.decision-card strong { margin-top: .35rem; font-size: .95rem; }
.decision-card > span:last-child { color: var(--muted); font-size: .75rem; margin-top: .2rem; }
.sample-label { position: absolute; right: 4%; bottom: 5%; color: #777b87; font-size: .65rem; text-transform: uppercase; letter-spacing: .1em; }

.question-strip { border-block: 1px solid var(--line); display: flex; justify-content: center; align-items: center; gap: 1.5rem; min-height: 84px; padding: 1rem 1.5rem; overflow: hidden; }
.question-strip p { margin: 0; color: #d6d7dd; font-size: .86rem; white-space: nowrap; }
.question-strip i { width: 4px; height: 4px; flex: 0 0 auto; border-radius: 50%; background: var(--orange); }

.section { width: min(calc(100% - 3rem), var(--max)); margin: 0 auto; padding: 8rem 0; }
.section-intro { display: grid; grid-template-columns: 1.2fr .8fr; column-gap: 4rem; align-items: end; margin-bottom: 3rem; }
.section-intro .eyebrow { grid-column: 1 / -1; }
.section-intro h2, .decision-copy h2, .launch h2 { margin: 0; font-size: clamp(2.6rem, 5vw, 4.9rem); line-height: 1.01; letter-spacing: -.055em; }
.section-intro > p:last-child, .decision-copy > p { margin: 0; color: var(--muted); font-size: 1.06rem; line-height: 1.7; }

.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.story-card { min-height: 495px; padding: 2rem; border: 1px solid var(--line); border-radius: 26px; background: linear-gradient(145deg, rgba(255,255,255,.035), rgba(255,255,255,.01)); overflow: hidden; }
.story-card-wide { grid-column: 1 / -1; min-height: 465px; display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: 3rem; }
.step { color: var(--orange); font-size: .66rem; letter-spacing: .14em; font-weight: 850; text-transform: uppercase; }
.story-card h3 { margin: .85rem 0 .7rem; font-size: clamp(2rem, 3vw, 3.1rem); line-height: 1; letter-spacing: -.045em; }
.story-card p { margin: 0; max-width: 540px; color: var(--muted); line-height: 1.7; }
.dashboard-preview { align-self: end; padding: 1.5rem 1.5rem 0; border: 1px solid rgba(255,255,255,.08); border-radius: 22px 22px 0 0; background: #090a0d; box-shadow: 0 30px 65px rgba(0,0,0,.35); }
.dashboard-preview img { max-height: 360px; object-fit: contain; object-position: bottom; }
.chart-preview { width: 100%; margin: 2.2rem auto 0; border-radius: 18px; box-shadow: 0 24px 60px rgba(0,0,0,.38); }
.chart-preview.compact { width: min(100%, 460px); }
.running-card { min-height: 740px; }
.running-screen { width: min(100%, 286px); max-height: 560px; object-fit: cover; object-position: top; margin: 2rem auto 0; border: 6px solid #25272e; border-radius: 34px 34px 18px 18px; box-shadow: 0 26px 65px rgba(0,0,0,.5); }
.data-note { color: #6f727c; margin: 1rem 0 0; text-align: right; font-size: .7rem; }

.decision { display: grid; grid-template-columns: 1fr .85fr; gap: 6rem; align-items: center; }
.feature-list { list-style: none; margin: 2.8rem 0 0; padding: 0; display: grid; gap: .6rem; }
.feature-list li { display: grid; grid-template-columns: 10px 1fr; gap: 1rem; padding: 1.05rem 0; border-top: 1px solid var(--line); }
.feature-list strong, .feature-list small { display: block; }
.feature-list strong { font-size: .98rem; }
.feature-list small { color: var(--muted); font-size: .85rem; margin-top: .22rem; line-height: 1.5; }
.dot { width: 8px; height: 8px; margin-top: .45rem; border-radius: 50%; }.engine-bg { background: var(--teal); }.strength-bg { background: var(--pink); }.recovery-bg { background: var(--blue); }
.library-stage { min-height: 650px; position: relative; display: grid; place-items: center; }
.library-stage::before { content: ""; position: absolute; inset: 10%; background: linear-gradient(135deg, rgba(56,195,214,.12), rgba(240,96,155,.12), rgba(255,122,61,.13)); filter: blur(45px); border-radius: 50%; }
.phone-library { width: 285px; height: 616px; border-radius: 48px; transform: rotate(-2deg); }

.principles { border-top: 1px solid var(--line); }
.principle-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.principle { padding: 2rem; min-height: 260px; border: 1px solid var(--line); border-radius: 24px; background: var(--surface); }
.principle > span { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: rgba(255,122,61,.12); color: var(--orange); }
.principle h3 { margin: 2rem 0 .6rem; font-size: 1.55rem; letter-spacing: -.03em; }
.principle p { color: var(--muted); margin: 0; line-height: 1.65; }

.launch { padding-top: 3rem; }
.launch-panel { min-height: 360px; padding: clamp(2rem, 5vw, 4.5rem); display: flex; align-items: flex-end; justify-content: space-between; gap: 4rem; overflow: hidden; position: relative; border-radius: 32px; background: var(--orange); color: #160c08; }
.launch-panel::after { content: ""; position: absolute; width: 500px; height: 500px; border: 1px solid rgba(22,12,8,.18); border-radius: 50%; right: -120px; top: -310px; box-shadow: 0 0 0 55px rgba(22,12,8,.04), 0 0 0 110px rgba(22,12,8,.03); }
.launch-panel > * { position: relative; z-index: 1; }
.launch .eyebrow { color: #51210b; }
.launch h2 { max-width: 700px; }
.launch p:last-child { max-width: 670px; margin: 1.2rem 0 0; color: rgba(22,12,8,.72); }

.site-footer { width: min(calc(100% - 3rem), var(--max)); margin: 0 auto; padding: 3rem 0 4rem; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: start; }
.footer-brand { display: flex; align-items: center; gap: .8rem; }.footer-brand img { border-radius: 10px; }.footer-brand strong, .footer-brand span { display: block; }.footer-brand span { color: var(--muted); font-size: .75rem; margin-top: .1rem; }
.site-footer nav { display: flex; gap: 1.5rem; }
.company { grid-column: 1 / -1; color: #777a84; font-size: .72rem; margin: 1rem 0 0; line-height: 1.65; }

.legal-main { width: min(calc(100% - 3rem), 860px); margin: 0 auto; padding: 6rem 0 8rem; }
.legal-main .eyebrow { margin-bottom: 1rem; }
.legal-main h1 { margin: 0; font-size: clamp(3rem, 7vw, 5.4rem); letter-spacing: -.06em; line-height: .95; }
.legal-intro { color: var(--muted); font-size: 1.15rem; line-height: 1.7; margin: 1.5rem 0 4rem; max-width: 740px; }
.legal-section { padding: 2rem 0; border-top: 1px solid var(--line); }
.legal-section h2 { font-size: 1.45rem; margin: 0 0 .8rem; letter-spacing: -.025em; }
.legal-section h3 { font-size: 1rem; margin: 1.5rem 0 .5rem; }
.legal-section p, .legal-section li { color: #b4b6bf; line-height: 1.75; }
.legal-section ul { padding-left: 1.2rem; }
.legal-section a { color: #fff; text-decoration-color: var(--orange); text-underline-offset: 3px; }
.legal-meta { display: inline-flex; gap: .4rem; align-items: center; margin-top: 1rem; color: #858893; font-size: .78rem; }
.support-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 2.5rem 0 4rem; }
.support-card { padding: 1.6rem; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); text-decoration: none; }
.support-card span { color: var(--orange); font-size: .66rem; font-weight: 850; letter-spacing: .12em; }
.support-card h2 { margin: .65rem 0 .45rem; font-size: 1.4rem; }
.support-card p { margin: 0; color: var(--muted); font-size: .88rem; line-height: 1.6; }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .reveal { opacity: 1; transform: none; transition: none; } .button { transition: none; } }

@media (max-width: 900px) {
  .site-header nav { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 4rem; }
  .hero-copy { text-align: center; }
  .hero-lede { margin-inline: auto; }
  .hero-actions, .signal-row { justify-content: center; }
  .hero-visual { min-height: 630px; }
  .section-intro, .decision { grid-template-columns: 1fr; }
  .section-intro { gap: 1.5rem; }
  .story-card-wide { grid-template-columns: 1fr; }
  .decision { gap: 2rem; }
  .principle-grid { grid-template-columns: 1fr; }
  .launch-panel { align-items: flex-start; flex-direction: column; justify-content: center; }
}

@media (max-width: 640px) {
  .site-header, .hero, .section, .site-footer, .legal-main { width: min(calc(100% - 2rem), var(--max)); }
  .site-header { height: 70px; }.site-header .button { display: none; }
  .hero { min-height: auto; padding-top: 3.5rem; gap: 2rem; }
  .hero h1 { font-size: clamp(3rem, 15vw, 4.5rem); }
  .hero-actions { flex-direction: column; gap: 1rem; }
  .hero-visual { min-height: 540px; transform: scale(.9); margin-inline: -1rem; }
  .phone-main { width: 245px; height: 530px; }
  .orbit-one { width: 380px; height: 380px; }.orbit-two { width: 470px; height: 470px; }
  .decision-card { left: -1%; bottom: 12%; }
  .question-strip { justify-content: flex-start; overflow-x: auto; }
  .section { padding: 5.5rem 0; }
  .story-grid { grid-template-columns: 1fr; }
  .story-card-wide { grid-column: auto; }
  .story-card { padding: 1.35rem; min-height: auto; }
  .dashboard-preview { padding: .8rem .8rem 0; }
  .data-note { text-align: left; }
  .support-grid { grid-template-columns: 1fr; }
  .site-footer { grid-template-columns: 1fr; }
  .site-footer nav { flex-wrap: wrap; }.company { grid-column: auto; }
}
