@font-face {
  font-family: Oracle;
  src: url("/fonts/oracle/Oracle-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

@property --stage-glow {
  syntax: "<color>";
  inherits: false;
  initial-value: #f0dcca;
}

:root {
  color-scheme: light;
  --background: #f9faf8;
  --ink: #232925;
  --muted: #595f5b;
  --line: #e0e5e0;
  --accent: #a63b05;
  --accent-wash: #ff6a1310;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --mono: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-family: Oracle, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--background);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
html { scroll-behavior: smooth; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
a, button { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, .art-stage:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
h1, h2, p { margin: 0; }
img { display: block; max-width: 100%; }
section { scroll-margin-top: 18px; }
::selection { background: #ffd7bf; color: var(--ink); }
.wrap { width: min(100% - 88px, 1300px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 10px; left: 10px; padding: 12px 16px; color: white; background: var(--accent); border-radius: 4px; transform: translateY(-180%); z-index: 12; }
.skip-link:focus { transform: none; }

.site-bar {
  position: relative; min-height: 79px; display: flex; align-items: center;
  justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 9px; min-height: 48px; font-size: 25px; font-weight: 680; letter-spacing: -.06em; }
.brand img { width: 42px; height: 42px; flex: none; }
.site-bar nav { display: flex; align-items: center; gap: 21px; }
.site-bar nav a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 14px; }
.nav-explore { color: var(--muted); }
.nav-explore:hover { color: var(--ink); }
.nav-demo {
  padding: 0 15px;
  border-radius: 100px;
  color: #fff;
  background-color: #000;
  background-image: radial-gradient(115% 115% at 19% -12%, #ffffff26, transparent 68%);
  box-shadow: 0 4px 14px #0000001a;
  transition: background-color 120ms var(--ease), transform 120ms var(--ease);
}
@media (hover: hover) and (pointer: fine) {
  .nav-demo:hover { background-color: #171717; }
}
.nav-demo:active { background-color: #080808; }
@media (prefers-reduced-motion: no-preference) {
  .nav-demo:active:not(:focus-visible) { transform: scale(.97); }
}
.play-icon { width: 0; height: 0; border-top: 4px solid transparent; border-bottom: 4px solid transparent; border-left: 7px solid currentColor; flex: none; }

.intro {
  position: relative; isolation: isolate; display: grid;
  grid-template-columns: minmax(0, .97fr) minmax(0, 1.12fr); gap: clamp(22px, 4vw, 55px);
  align-items: center; padding-block: clamp(30px, 4.8vw, 64px) clamp(27px, 3.7vw, 54px);
}
.intro::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse 38% 48% at 62% 48%, #ffb67860, #ffc9a038 48%, transparent 100%);
}
.intro-copy { position: relative; z-index: 3; }
.overline {
  color: var(--accent);
  color: color-mix(in srgb, var(--accent) 85%, black);
  font-size: 14px;
  line-height: 1.4;
}
.intro h1 { margin-top: 19px; font-size: clamp(50px, 6.1vw, 90px); font-weight: 630; letter-spacing: -.073em; line-height: .99; }
.intro h1 em { display: inline-block; font: inherit; color: var(--accent); }
.intro-lead { max-width: 382px; margin-top: 20px; color: var(--muted); font-size: clamp(17px, 1.6vw, 22px); line-height: 1.49; }
.intro-actions { display: flex; align-items: center; gap: 17px; flex-wrap: wrap; margin-top: 24px; }
.demo-cta { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--accent); font-size: 14px; }
.demo-cta:hover { text-decoration: underline; text-underline-offset: 4px; }

.intro-art { position: relative; isolation: isolate; height: clamp(400px, 43vw, 613px); }
.art-orbit {
  position: absolute; inset: 18% 7% 14% 5%; border-radius: 50%; transform: rotate(-23deg); z-index: -1;
  border: 1px solid #ba5b372a; box-shadow: 0 0 54px #d9582710, inset 0 0 54px #d9582710; pointer-events: none;
}
.art-orbit::after {
  content: ""; position: absolute; inset: 10%; border: 1px solid #ba5b3723; border-radius: inherit;
}
.phone {
  position: absolute; display: grid; padding: 7px; overflow: hidden;
  background: linear-gradient(137deg, #898e89, #393e3a 23%, #1b201d 66%, #555c57);
  border-radius: clamp(22px, 3vw, 41px); border: 1px solid #303531;
  box-shadow: 0 18px 43px #29251d40, 0 0 0 1px #171a18;
}
.phone img { width: 100%; height: auto; display: block; border-radius: clamp(15px, 2.5vw, 33px); }
.phone-primary { z-index: 2; width: min(47%, 270px); top: 4%; left: 16%; transform: rotate(-7deg); }
.phone-secondary { z-index: 1; width: min(38%, 217px); right: 3%; top: 17%; transform: rotate(9deg); }
.hero-wave { position: absolute; width: min(22%, 132px); height: auto; left: 2%; bottom: 7%; z-index: 2; filter: drop-shadow(0 11px 20px #ac430b38); pointer-events: none; }
.hero-agents { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.hero-agents img {
  position: absolute; top: var(--y); left: var(--x); width: clamp(24px, 7.35%, 54px); height: auto;
  filter: drop-shadow(0 6px 11px #25342e24);
}
.hero-agents img:nth-child(1) { --x: 3%; --y: 14%; }
.hero-agents img:nth-child(2) { --x: 1%; --y: 29%; }
.hero-agents img:nth-child(3) { --x: 5%; --y: 44%; }
.hero-agents img:nth-child(4) { --x: 69%; --y: 5%; }
.hero-agents img:nth-child(5) { --x: 83%; --y: 11%; }
.hero-agents img:nth-child(6) { --x: 91%; --y: 76%; }

.app-store-button {
  display: inline-flex; align-items: center; gap: 10px; min-height: 49px; padding: 6px 12px;
  border: 1px solid #343835; border-radius: 8px; background: #101311; color: #fff;
  text-align: left; opacity: 1;
}
.app-store-button img { flex: none; display: block; }
.store-status, .store-identity { display: block; }
.store-status { font-size: 10px; line-height: 1.12; }
.store-identity { font-size: 20px; font-weight: 540; line-height: 1.05; letter-spacing: -.035em; }
.scroll-hint {
  display: inline-flex; align-items: center; gap: 9px; min-height: 44px; color: var(--muted); margin-top: 12px;
  font-size: 13px; position: relative; z-index: 1;
}
.scroll-hint:hover { color: var(--accent); }
.scroll-hint span { color: var(--accent); font-size: 17px; }

.story { scroll-margin-top: 0; }
.story-intro { text-align: center; border-top: 1px solid var(--line); padding-block: 49px 8px; }
.story-intro h2, .faq h2 { font-size: clamp(33px, 4.7vw, 59px); line-height: 1.03; letter-spacing: -.062em; font-weight: 620; }
.story-intro p { max-width: 454px; margin: 13px auto 0; color: var(--muted); font-size: 16px; line-height: 1.48; text-wrap: balance; }
.flow { --scene-height: min(720px, 100svh); --step-size: clamp(300px, 46svh, 470px); }
.flow-sticky {
  position: sticky; top: 0; height: var(--scene-height);
  display: grid; place-items: center; contain: layout; isolation: isolate;
}
.flow-visual {
  position: absolute; inset: 0; pointer-events: none; overflow: clip; z-index: -1;
  background: radial-gradient(ellipse at 33% 49%, var(--stage-glow, #f0dcca), transparent 64%);
  mask-image: linear-gradient(transparent, #000 13%, #000 85%, transparent);
  transition: --stage-glow .55s var(--ease);
}
.flow-visual:has([data-active-index="1"]) { --stage-glow: #cce9ee; }
.flow-visual:has([data-active-index="2"]) { --stage-glow: #dedaf0; }
.flow-visual:has([data-active-index="3"]) { --stage-glow: #eddae2; }
.flow-visual:has([data-active-index="4"]) { --stage-glow: #d8e3f7; }
.flow-visual:has([data-active-index="5"]) { --stage-glow: #cceff3; }
.flow-visual:has([data-active-index="6"]) { --stage-glow: #c9ede5; }
.flow-visual:has([data-active-index="7"]) { --stage-glow: #d7e1fe; }
.flow-visual:has([data-active-index="8"]) { --stage-glow: #e6defa; }
.stage-grid {
  position: absolute; inset: 11% 0; pointer-events: none;
  background: repeating-linear-gradient(90deg, #3d4c3e12 0 1px, transparent 1px 8.3333%),
              repeating-linear-gradient(0deg, #3d4c3e10 0 1px, transparent 1px 25%);
  mask-image: radial-gradient(ellipse at center, #000, transparent 77%);
}
.art-stage { position: absolute; inset: 0; }
.art-stage canvas { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.flow-caption {
  z-index: 1; position: relative; width: min(28vw, 370px); text-align: center;
  display: grid; justify-items: center; gap: 9px; padding-inline: 10px;
}
.flow-caption::before {
  content: ""; position: absolute; inset: -30px -38px; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse, #f9faf8fa 15%, #f9faf8e8 46%, transparent 77%);
}
[data-feature-title] {
  font-size: clamp(25px, 3.1vw, 45px); font-weight: 610; letter-spacing: -.065em;
  line-height: 1.06; text-wrap: balance;
}
[data-feature-description] { color: var(--muted); max-width: 263px; font-size: 15px; line-height: 1.42; text-wrap: pretty; }
[data-feature-link] { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; color: var(--accent); font-size: 14px; padding-inline: 5px; }
[data-feature-link]:hover { text-decoration: underline; text-underline-offset: 4px; }
.flow-controls {
  z-index: 2; position: absolute; inset: auto 0 8%; display: flex;
  align-items: center; justify-content: space-between; pointer-events: none;
}
.flow-controls button {
  min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 0 11px; border: 0; border-radius: 100px;
  color: var(--accent); background: transparent; font-size: 14px; cursor: pointer; pointer-events: auto;
  transition: background .18s var(--ease), transform .12s var(--ease);
}
.flow-controls button:hover:not(:disabled, [aria-disabled="true"]) { background: var(--accent-wash); }
.flow-controls button:active:not(:disabled, [aria-disabled="true"]) { transform: scale(.97); }
.flow-controls button:is(:disabled, [aria-disabled="true"]) { opacity: .34; cursor: default; }
.flow-buttons { display: flex; align-items: center; gap: 4px; }
.flow-controls > span { color: var(--muted); font: 11px/1.4 var(--mono); }
.flow-track { pointer-events: none; }
[data-flow-stop] { height: var(--step-size); }
[data-flow-stop]:last-child { height: min(var(--step-size), 42svh); }

.feature-fallback { display: grid; grid-template-columns: 1fr 1fr; gap: 0 36px; margin-block: 22px 40px; }
.feature-row {
  display: grid; grid-template-columns: 112px minmax(0, 1fr) 18px; gap: 13px; align-items: center;
  border-bottom: 1px solid var(--line); padding-block: 14px; min-width: 0;
}
.feature-row img { width: 112px; height: auto; border-radius: 4px; }
.feature-row strong, .feature-row > span span { display: block; }
.feature-row strong { font-size: 15px; line-height: 1.25; }
.feature-row > span span { margin-top: 4px; color: var(--muted); font-size: 13px; line-height: 1.36; }
.feature-row > span:last-child { color: var(--accent); }
.feature-row:hover strong { color: var(--accent); }

.faq {
  display: grid; grid-template-columns: minmax(195px, .82fr) minmax(0, 1.18fr);
  align-items: start; gap: clamp(30px, 6vw, 85px); margin-block: 55px 40px; padding-top: 42px;
  border-top: 1px solid var(--line);
}
.faq-list details { border-bottom: 1px solid var(--line); padding: 3px 0; }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  min-height: 52px; padding-block: 6px; list-style: none; cursor: pointer;
  font-size: 17px; line-height: 1.35; letter-spacing: -.02em;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; color: var(--accent); font-size: 23px; flex: none; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.faq-list p { max-width: 55ch; padding: 0 22px 14px 0; color: var(--muted); font-size: 15px; line-height: 1.52; }
.faq-list p a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

.practice-note {
  display: grid; grid-template-columns: 49px minmax(0, 1fr) auto; gap: 17px; align-items: center;
  margin-block: 42px 40px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding-block: 25px;
}
.note-icon { width: 47px; height: 47px; filter: drop-shadow(0 4px 7px #ac430b2b); }
.practice-note h2 { font-size: clamp(20px, 2.1vw, 26px); letter-spacing: -.04em; font-weight: 600; margin-bottom: 4px; }
.practice-note p { color: var(--muted); line-height: 1.4; font-size: 14px; }
.practice-note a, .site-footer a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--accent); font-size: 13px; }
.practice-note a:hover, .site-footer a:hover { text-decoration: underline; text-underline-offset: 3px; }
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-bottom: 17px; color: var(--muted); font-size: 13px; }
.site-footer nav { display: flex; flex-wrap: wrap; justify-content: flex-end; column-gap: 18px; }

.policy { max-width: 700px; padding-block: clamp(42px, 7vw, 96px); }
.policy h1 { font-size: clamp(42px, 7vw, 76px); line-height: 1.03; letter-spacing: -.065em; }
.policy h2 { font-size: clamp(22px, 3vw, 30px); line-height: 1.16; letter-spacing: -.03em; }
.policy section { border-top: 1px solid var(--line); margin-top: 32px; padding-top: 24px; }
.policy p { margin-top: 12px; color: var(--muted); font-size: 17px; line-height: 1.6; }
.policy a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 950px) {
  .wrap { width: calc(100% - 54px); }
  .intro { grid-template-columns: minmax(0, 1fr) minmax(0, .97fr); gap: 21px; }
  .intro h1 { font-size: clamp(45px, 6.4vw, 63px); }
  .intro-art { height: clamp(400px, 52vw, 520px); }
  .phone-primary { left: 12%; width: min(50%, clamp(164px, 21.3vw, 213px)); }
  .phone-secondary { right: 2%; width: 39%; }
}
@media (max-width: 680px) {
  .wrap { width: calc(100% - 30px); }
  .site-bar { min-height: 63px; }
  .brand { font-size: 23px; gap: 7px; }
  .brand img { width: 37px; height: 37px; }
  .site-bar nav { gap: 10px; }
  .site-bar nav a { font-size: 12px; }
  .nav-demo { padding-inline: 10px; }
  .nav-faq { display: none !important; }
  .intro { grid-template-columns: 1fr; gap: 8px; padding-block: 32px 18px; }
  .intro::before {
    inset: 8% -8px -12%;
    background: radial-gradient(ellipse 47% 32% at 53% 68%, #ffad6e61, #ffc9a033 47%, transparent 100%);
  }
  .intro h1 { font-size: clamp(47px, 10.5vw, 70px); margin-top: 12px; }
  .intro-lead { max-width: 322px; margin-top: 15px; font-size: 17px; }
  .intro-actions { margin-top: 16px; gap: 13px; }
  .scroll-hint { margin-top: 7px; }
  .intro-art { height: clamp(334px, 106vw, 500px); }
  .art-orbit { inset: 22% 13% 20%; }
  .phone { padding: 4px; }
  .phone-primary { width: min(44%, 192px); left: 16%; top: 9%; }
  .phone-secondary { width: min(38%, 165px); right: 4%; top: 17%; }
  .hero-wave { left: 3%; width: min(22%, 98px); bottom: 4%; }
  .story-intro { padding-top: 31px; }
  .story-intro p { font-size: 15px; }
  .faq { grid-template-columns: 1fr; gap: 21px; margin-block: 38px 32px; padding-top: 30px; }
  .flow { --scene-height: min(615px, 100svh); --step-size: clamp(290px, 60svh, 560px); }
  .flow-caption { width: min(78vw, 330px); gap: 6px; }
  [data-feature-title] { font-size: clamp(23px, 6vw, 34px); }
  [data-feature-description] { font-size: 14px; }
  .flow-controls { bottom: 3.5%; }
  .feature-fallback { grid-template-columns: 1fr; margin-block-start: 10px; }
  .feature-row { grid-template-columns: 84px minmax(0, 1fr) 15px; gap: 9px; }
  .feature-row img { width: 84px; }
  .practice-note { grid-template-columns: 39px 1fr; gap: 12px; margin-block: 29px; padding-block: 19px; }
  .note-icon { width: 38px; height: 38px; }
  .practice-note a { grid-column: 2; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0ms !important; }
  .flow-controls button:active:not(:disabled, [aria-disabled="true"]) { transform: none; }
}
