:root {
  color-scheme: dark;
  --bg: #05080d;
  --bg-soft: #07111b;
  --panel: rgba(8, 18, 28, .86);
  --panel-strong: rgba(9, 22, 34, .96);
  --line: rgba(134, 218, 255, .22);
  --line-warm: rgba(255, 184, 65, .42);
  --text: #f5f8fb;
  --muted: #b6c3ce;
  --cyan: #20d9f2;
  --green: #9be04f;
  --gold: #ffc44f;
  --orange: #ff9f35;
  --violet: #a66cff;
  --shadow: 0 22px 70px rgba(0, 0, 0, .42);
  --radius: 24px;
  --radius-sm: 16px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 15% 18%, rgba(33, 217, 242, .12), transparent 28rem),
    radial-gradient(circle at 86% 12%, rgba(255, 196, 79, .12), transparent 24rem),
    linear-gradient(180deg, #03060a 0%, #07111b 48%, #04070c 100%);
  line-height: 1.55;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.02) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black, transparent 88%);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea { font: inherit; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  background: var(--gold);
  color: #121212;
  padding: 10px 14px;
  border-radius: 10px;
  z-index: 20;
}
.skip-link:focus { left: 12px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px max(22px, calc((100vw - var(--max)) / 2));
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: rgba(5, 8, 13, .78);
  backdrop-filter: blur(18px);
}

.brand { display: flex; align-items: center; gap: 12px; min-width: max-content; }
.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: var(--gold);
}
.brand strong { display: block; letter-spacing: -.02em; }
.brand small { display: block; color: var(--muted); font-size: .72rem; }

.nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 38px); color: var(--muted); font-size: .94rem; }
.nav a { transition: color .2s ease; }
.nav a:hover { color: white; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 26px;
  border: 1px solid rgba(255, 203, 89, .5);
  border-radius: 12px;
  color: #1d1605;
  font-weight: 800;
  background: linear-gradient(180deg, #ffe083 0%, #ffbd3b 70%, #d58a17 100%);
  box-shadow: 0 12px 35px rgba(255, 183, 55, .22), inset 0 1px 0 rgba(255,255,255,.65);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.button:hover { transform: translateY(-2px); box-shadow: 0 18px 42px rgba(255, 183, 55, .3), inset 0 1px 0 rgba(255,255,255,.65); }
.button--small { min-height: 42px; padding: 0 20px; font-size: .92rem; }
.button--ghost {
  background: rgba(255,255,255,.04);
  color: white;
  border-color: rgba(255, 255, 255, .24);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.09);
}
.button--ghost:hover { border-color: rgba(255, 203, 89, .7); box-shadow: 0 12px 35px rgba(0,0,0,.24), inset 0 1px 0 rgba(255,255,255,.12); }

.page-shell { width: min(var(--max), calc(100% - 44px)); margin: 0 auto; }
section { scroll-margin-top: 96px; }
.hero { padding: 72px 0 52px; }
.section-grid { display: grid; grid-template-columns: minmax(0, .88fr) minmax(420px, 1.12fr); gap: clamp(34px, 6vw, 78px); align-items: center; }

.eyebrow {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  margin: 0 0 20px;
  padding: 7px 13px;
  border: 1px solid rgba(155, 224, 79, .35);
  border-radius: 999px;
  color: var(--gold);
  background: rgba(155, 224, 79, .06);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.eyebrow.centered { margin-inline: auto; }

h1, h2, h3, p { margin-top: 0; }
h1 {
  margin-bottom: 22px;
  font-size: clamp(2.65rem, 6vw, 5.35rem);
  line-height: .98;
  letter-spacing: -.055em;
}
h1 span, h2 span { color: var(--gold); background: linear-gradient(90deg, var(--cyan), var(--green), var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }
h2 { font-size: clamp(2rem, 4vw, 3.6rem); line-height: 1.05; letter-spacing: -.045em; margin-bottom: 22px; }
h3 { font-size: 1.1rem; line-height: 1.18; margin-bottom: 8px; }
.lead { color: #d9e3eb; font-size: clamp(1.04rem, 2vw, 1.27rem); max-width: 58ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin: 32px 0 26px; }
.hero-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  margin: 36px 0 0;
  list-style: none;
}
.hero-points li {
  padding: 14px 16px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px;
  color: #e8edf2;
  background: rgba(255,255,255,.035);
  font-size: .9rem;
}
.hero-points li::before { content: "◇"; margin-right: 8px; color: var(--gold); }

.hero-visual {
  position: relative;
  min-height: 540px;
  display: grid;
  place-items: center;
}
.hero-visual::before {
  content: "";
  position: absolute;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(32,217,242,.13), transparent 64%);
  filter: blur(6px);
}
.brain-crop {
  position: absolute;
  right: 0;
  top: 10px;
  width: min(440px, 76%);
  aspect-ratio: 1;
  margin: 0;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid rgba(32,217,242,.16);
  opacity: .76;
  box-shadow: inset 0 0 60px rgba(0,0,0,.75), 0 0 80px rgba(32,217,242,.08);
  mask-image: radial-gradient(circle, black 48%, transparent 78%);
}
.brain-crop img { width: 100%; height: 100%; object-fit: cover; object-position: 34% 42%; transform: scale(1.28); }

.app-card {
  position: relative;
  z-index: 1;
  width: min(520px, 92%);
  padding: 24px;
  border: 1px solid rgba(134, 218, 255, .25);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(6,15,25,.96), rgba(10,20,30,.82));
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.08);
  margin-left: auto;
  margin-top: 140px;
}
.app-topline { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; font-size: 1.45rem; font-weight: 800; }
.status-dot { font-size: .76rem; color: var(--green); font-weight: 700; }
.status-dot::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 16px var(--green); }
.task-panel, .capture-list, .app-metrics > div {
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px;
  background: rgba(255,255,255,.035);
  padding: 14px;
}
.task-panel.active { border-color: rgba(155,224,79,.42); background: linear-gradient(135deg, rgba(155,224,79,.09), rgba(32,217,242,.04)); }
.task-panel small, .capture-list small, .app-metrics small { display: block; color: var(--muted); margin-bottom: 6px; }
.task-panel strong { display: block; margin-bottom: 2px; }
.task-panel span, .app-metrics span, .capture-list span { display: block; color: var(--muted); font-size: .86rem; }
.app-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 12px 0; }
.app-metrics strong { display: block; font-size: 2rem; letter-spacing: -.04em; }
.app-metrics button, .capture-list button {
  margin-top: 10px;
  width: 100%;
  min-height: 34px;
  border-radius: 9px;
  border: 1px solid rgba(255,196,79,.32);
  color: var(--text);
  background: rgba(255,196,79,.08);
}
.app-metrics button:disabled, .capture-list button:disabled { cursor: not-allowed; opacity: .72; }
.capture-list { border-color: rgba(255,196,79,.32); }
.capture-list span { padding: 7px 0; border-bottom: 1px solid rgba(255,255,255,.06); }

.panel, .panel-soft, .story-card, .module, .workflow-steps li, .benefit-grid article {
  border: 1px solid rgba(134, 218, 255, .16);
  background: linear-gradient(145deg, rgba(7,15,23,.92), rgba(8,18,28,.72));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}
.panel { border-radius: var(--radius); padding: clamp(20px, 3vw, 32px); box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.06); }
.panel-soft { border-radius: var(--radius); padding: clamp(22px, 3vw, 34px); }

.understanding { margin: 26px 0 54px; text-align: center; }
.story-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; text-align: left; }
.story-card { position: relative; overflow: hidden; border-radius: 18px; padding: 12px; }
.story-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; border: 1px solid rgba(255,255,255,.08); filter: saturate(1.05) contrast(1.02); }
.story-card div { padding: 16px 8px 4px; }
.story-card h3 { color: var(--cyan); }
.story-card p { color: var(--muted); margin: 0; font-size: .95rem; }
.story-index {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 1;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(5,8,13,.82);
  border: 1px solid rgba(32,217,242,.35);
  color: var(--cyan);
  font-weight: 900;
}

.modules, .workflow { margin: 54px 0; text-align: center; }
.module-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 12px; }
.module { min-height: 170px; border-radius: 16px; padding: 18px 14px; display: flex; flex-direction: column; justify-content: flex-start; align-items: center; }
.module .icon { width: 54px; height: 54px; display: grid; place-items: center; margin-bottom: 14px; border-radius: 16px; border: 1px solid rgba(32,217,242,.25); color: var(--cyan); font-size: 1.55rem; font-weight: 900; background: rgba(32,217,242,.045); }
.module:nth-child(2) .icon, .module:nth-child(5) .icon, .module:nth-child(6) .icon { color: var(--green); border-color: rgba(155,224,79,.3); background: rgba(155,224,79,.05); }
.module:nth-child(3) .icon, .module:nth-child(4) .icon { color: var(--gold); border-color: rgba(255,196,79,.32); background: rgba(255,196,79,.055); }
.module:nth-child(7) .icon { color: var(--violet); border-color: rgba(166,108,255,.32); background: rgba(166,108,255,.06); }
.module p { color: var(--muted); font-size: .92rem; margin-bottom: 0; }

.workflow-steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 48px; padding: 0; margin: 0; counter-reset: step; }
.workflow-steps li { position: relative; min-height: 165px; border-radius: 18px; padding: 24px; text-align: left; counter-increment: step; }
.workflow-steps li::before { content: counter(step); display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 18px; border-radius: 50%; color: #091119; background: linear-gradient(180deg, var(--gold), var(--cyan)); font-weight: 900; }
.workflow-steps li:not(:last-child)::after { content: "→"; position: absolute; right: -34px; top: 50%; transform: translateY(-50%); color: var(--gold); font-size: 2.1rem; }
.workflow-steps span { display: block; color: var(--muted); margin-top: 8px; }

.split { display: grid; grid-template-columns: .74fr 1.26fr; gap: 28px; align-items: stretch; margin: 58px 0; }
.split > div:first-child, .benefit-grid article { border-radius: var(--radius); padding: 30px; background: rgba(7,15,23,.72); border: 1px solid rgba(134, 218, 255, .16); }
.split p { color: var(--muted); }
.benefit-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.benefit-grid article h3 { color: var(--green); }
.benefit-grid article p { margin: 0; font-size: .96rem; }

.trust-device { display: grid; grid-template-columns: .9fr 1.1fr; gap: 22px; margin: 56px 0; }
.trust article { padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.trust article:last-of-type { border-bottom: 0; }
.trust h3 { color: var(--cyan); }
.trust p { color: var(--muted); margin-bottom: 0; }
.notice { margin: 22px 0 0; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.09); color: #c8d2db; font-size: .88rem; }
.device-panel { position: relative; min-height: 390px; overflow: hidden; }
.device-panel::before { content: ""; position: absolute; inset: auto 5% -35% 5%; height: 230px; border-radius: 50%; background: radial-gradient(circle, rgba(32,217,242,.2), transparent 70%); }
.laptop-mockup { position: absolute; left: 6%; bottom: 84px; width: 62%; aspect-ratio: 16/10; border: 8px solid #111a23; border-radius: 14px; background: #08111b; box-shadow: 0 18px 50px rgba(0,0,0,.5); }
.laptop-mockup::after { content: ""; position: absolute; left: -9%; right: -9%; bottom: -20px; height: 18px; border-radius: 0 0 22px 22px; background: linear-gradient(90deg, #111923, #2b3540, #111923); }
.mock-header { height: 18%; border-bottom: 1px solid rgba(255,255,255,.08); background: linear-gradient(90deg, rgba(32,217,242,.12), rgba(255,196,79,.08)); }
.mock-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 10px; padding: 14px; }
.mock-grid span { min-height: 52px; border: 1px solid rgba(134,218,255,.18); border-radius: 10px; background: rgba(255,255,255,.035); }
.phone-mockup, .watch-mockup { position: absolute; display: grid; place-items: center; border: 6px solid #161f2b; background: #08111b; box-shadow: 0 18px 40px rgba(0,0,0,.45); }
.phone-mockup { right: 19%; bottom: 80px; width: 110px; height: 210px; border-radius: 24px; color: var(--cyan); font-weight: 900; }
.watch-mockup { right: 4%; bottom: 116px; width: 96px; height: 118px; border-radius: 28px; color: var(--green); font-weight: 900; }
.platforms { position: absolute; left: 6%; right: 6%; bottom: 24px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.platforms span { padding: 12px; text-align: center; border: 1px solid rgba(134,218,255,.14); border-radius: 12px; color: var(--muted); background: rgba(255,255,255,.035); }
.platforms b,.platforms small{display:block}.platforms b{margin-bottom:5px;color:var(--gold);font-size:.68rem;letter-spacing:.08em}.platforms small{margin-top:5px;font-size:.56rem;line-height:1.2}

.final-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin: 64px 0 50px;
  padding: clamp(26px, 4vw, 42px);
  border: 1px solid rgba(255,196,79,.42);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 0% 50%, rgba(32,217,242,.16), transparent 34%),
    radial-gradient(circle at 100% 50%, rgba(255,196,79,.18), transparent 38%),
    linear-gradient(135deg, rgba(8,18,28,.94), rgba(20,14,8,.82));
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.07);
}
.final-cta h2 { margin-bottom: 10px; }
.final-cta p { color: var(--muted); margin-bottom: 0; }
.cta-actions { display: grid; justify-items: center; gap: 10px; min-width: 290px; }
.cta-actions small { color: var(--muted); }

.site-footer {
  width: min(var(--max), calc(100% - 44px));
  margin: 0 auto;
  padding: 30px 0 42px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 24px;
  align-items: center;
  color: var(--muted);
  border-top: 1px solid rgba(255,255,255,.08);
}
.site-footer strong { display: block; color: var(--text); }
.site-footer span { display: block; font-size: .88rem; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 18px; font-size: .88rem; }
.site-footer a:hover { color: white; }

.reveal { opacity: 1; transform: none; }
html.motion-ready .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
html.motion-ready .reveal.is-visible { opacity: 1; transform: none; }

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

@media (max-width: 1060px) {
  .nav { display: none; }
  .section-grid, .split, .trust-device { grid-template-columns: 1fr; }
  .hero-visual { min-height: 480px; }
  .app-card { margin: 160px auto 0; }
  .story-cards { grid-template-columns: 1fr; }
  .story-card { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: center; }
  .story-card div { padding: 8px; }
  .module-grid { grid-template-columns: repeat(4, 1fr); }
  .workflow-steps { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .workflow-steps li:not(:last-child)::after { display: none; }
}

@media (max-width: 720px) {
  .page-shell, .site-footer { width: min(100% - 28px, var(--max)); }
  .site-header { padding-inline: 14px; }
  .brand small, .site-header .button { display: none; }
  .hero { padding-top: 48px; }
  h1 { font-size: clamp(2.5rem, 12vw, 4rem); }
  .hero-points { grid-template-columns: 1fr; margin-top: 24px; }
  .hero-actions .button { width: 100%; }
  .hero-visual { min-height: auto; display: block; overflow: hidden; }
  .brain-crop { position: relative; inset: auto; width: 100%; border-radius: 22px; aspect-ratio: 16/9; mask-image: none; margin-bottom: 14px; }
  .brain-crop img { transform: scale(1.08); object-position: 34% 34%; }
  .app-card { width: 100%; margin: 0; }
  .app-metrics { grid-template-columns: 1fr; }
  .understanding { margin-top: 22px; }
  .story-card { grid-template-columns: 1fr; }
  .story-card img { aspect-ratio: 16 / 10; }
  .module-grid { grid-template-columns: repeat(2, 1fr); }
  .workflow-steps { grid-template-columns: 1fr; }
  .benefit-grid { grid-template-columns: 1fr; }
  .device-panel { min-height: 330px; }
  .laptop-mockup { width: 78%; left: 2%; }
  .phone-mockup { right: 16%; width: 86px; height: 168px; }
  .watch-mockup { right: 1%; width: 78px; height: 92px; }
  .platforms { grid-template-columns: repeat(2, 1fr); }
  .final-cta { flex-direction: column; align-items: stretch; }
  .cta-actions { min-width: 0; justify-items: stretch; }
  .site-footer { grid-template-columns: 1fr; }
}

@media (max-width: 430px) {
  .module-grid { grid-template-columns: 1fr; }
  .platforms { grid-template-columns: 1fr; }
}
