:root {
  --ink: #f8fbff;
  --muted: #aebbd4;
  --night: #050918;
  --navy: #071127;
  --blue: #2488ff;
  --cyan: #37e6e0;
  --mint: #43e6a0;
  --green: #36dc83;
  --violet: #9b72ff;
  --pink: #ff4fa3;
  --yellow: #ffd665;
  --line: rgba(255, 255, 255, .13);
  --glass: rgba(255, 255, 255, .075);
  --content: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--night);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  line-height: 1.5;
  letter-spacing: 0;
  overflow-x: hidden;
}
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 100; padding: 10px 14px; background: white; color: #050918; border-radius: 6px; }
.skip-link:focus { top: 12px; }

.site-header {
  position: fixed;
  z-index: 50;
  top: 14px;
  left: 50%;
  width: min(calc(100% - 28px), var(--content));
  height: 62px;
  padding: 0 12px 0 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transform: translateX(-50%);
  border: 1px solid transparent;
  border-radius: 8px;
  transition: background .25s ease, border-color .25s ease, top .25s ease;
}
.site-header.scrolled { top: 8px; background: rgba(6, 12, 30, .72); border-color: var(--line); backdrop-filter: blur(24px) saturate(150%); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 19px; font-weight: 750; text-decoration: none; }
.brand img { border-radius: 8px; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a { color: rgba(255,255,255,.76); font-size: 14px; font-weight: 600; text-decoration: none; transition: color .2s ease; }
.site-nav a:hover { color: white; }
.site-nav .nav-cta { padding: 10px 15px; color: #061126; background: white; border-radius: 6px; }
.menu-button { display: none; width: 42px; height: 42px; place-items: center; border: 0; color: white; background: transparent; }

.hero {
  position: relative;
  min-height: 94vh;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  isolation: isolate;
  padding: 130px max(7vw, 24px) 11vh;
  background: #071128;
}
.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, rgba(3,6,18,.96) 0%, rgba(3,7,20,.54) 48%, rgba(3,7,20,.14) 100%), linear-gradient(0deg, rgba(5,9,24,.72), transparent 45%);
}
.hero-glow { position: absolute; z-index: -3; inset: 0; background: radial-gradient(circle at 78% 38%, rgba(35,136,255,.36), transparent 35%), radial-gradient(circle at 64% 48%, rgba(255,79,163,.2), transparent 39%), #071128; }
.hero-symbol { position: absolute; z-index: -2; inset: 80px 0 20px; width: 100%; height: calc(100% - 100px); object-fit: contain; object-position: right center; filter: saturate(1.03) contrast(1.02); }
.hero-copy { width: min(680px, 92%); }
.eyebrow { margin: 0 0 12px; color: var(--cyan); font-size: 13px; font-weight: 750; text-transform: uppercase; letter-spacing: .14em; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 10px; font-size: clamp(66px, 9vw, 126px); line-height: .9; letter-spacing: 0; }
h2 { margin-bottom: 18px; font-size: clamp(38px, 5vw, 70px); line-height: 1.02; letter-spacing: 0; }
h3 { margin-bottom: 6px; font-size: 19px; letter-spacing: 0; }
.hero-lead { max-width: 620px; margin-bottom: 30px; color: rgba(255,255,255,.78); font-size: clamp(19px, 2.2vw, 27px); line-height: 1.35; }
.hero-actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: 0 20px; border: 1px solid transparent; border-radius: 7px; font-weight: 750; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #061126; background: white; box-shadow: 0 12px 32px rgba(31,112,255,.25); }
.button-secondary { color: white; border-color: rgba(255,255,255,.42); background: rgba(255,255,255,.1); backdrop-filter: blur(14px); }
.text-link { display: inline-flex; align-items: center; gap: 7px; color: rgba(255,255,255,.84); font-weight: 650; text-decoration: none; }
.text-link svg { width: 17px; }
.scroll-cue { position: absolute; right: 5vw; bottom: 28px; width: 24px; height: 38px; border: 1px solid rgba(255,255,255,.38); border-radius: 12px; }
.scroll-cue span { position: absolute; left: 10px; top: 7px; width: 3px; height: 7px; border-radius: 2px; background: white; animation: scroll 1.8s infinite; }
@keyframes scroll { 0% { opacity: 0; transform: translateY(0); } 35% { opacity: 1; } 100% { opacity: 0; transform: translateY(15px); } }

.band { padding: 112px max(6vw, 22px); }
.intro { background: linear-gradient(180deg, #071127 0%, #091733 100%); }
.section-heading { width: min(830px, 100%); margin: 0 auto 62px; text-align: center; }
.section-heading > p:last-child { max-width: 670px; margin: 0 auto; color: var(--muted); font-size: 19px; }
.product-stage { width: min(var(--content), 100%); margin: auto; display: grid; grid-template-columns: minmax(290px, 480px) 1fr; gap: clamp(48px, 8vw, 110px); align-items: center; }
.phone { width: min(390px, 100%); margin: auto; padding: 9px; overflow: hidden; border: 1px solid rgba(255,255,255,.4); border-radius: 48px; background: linear-gradient(145deg, #cbd4e0, #35415a 18%, #050a14 35%, #71809a 78%, #141b2b); box-shadow: 0 42px 90px rgba(0,0,0,.5), 0 0 70px rgba(44,126,255,.14); }
.real-app-screen { width: 100%; height: auto; border-radius: 40px; }
.phone-screen { position: relative; min-height: 700px; overflow: hidden; padding: 18px 18px 20px; border-radius: 40px; background: radial-gradient(circle at 82% 4%, rgba(138,83,255,.36), transparent 31%), radial-gradient(circle at 13% 32%, rgba(20,171,208,.2), transparent 31%), #071028; }
.phone-status { display: flex; justify-content: space-between; padding: 0 8px 18px; font-size: 11px; font-weight: 700; }
.app-title { display: flex; align-items: center; justify-content: space-between; margin: 0 2px 15px; font-size: 28px; font-weight: 750; }
.avatar { display: grid; width: 30px; height: 30px; place-items: center; border-radius: 50%; color: #071127; background: var(--cyan); font-size: 12px; }
.status-panel, .dose-panel { border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.075); backdrop-filter: blur(18px); box-shadow: inset 0 1px rgba(255,255,255,.13); }
.status-panel { display: flex; align-items: center; gap: 15px; padding: 16px; border-radius: 14px; }
.status-orbit { display: grid; flex: 0 0 54px; height: 54px; place-items: center; color: #07192a; border-radius: 50%; background: var(--green); box-shadow: 0 0 28px rgba(54,220,131,.42); }
.status-orbit svg { width: 28px; }
.status-panel small, .dose-panel small { display: block; color: rgba(255,255,255,.53); font-size: 9px; font-weight: 800; }
.status-panel strong { display: block; margin: 2px 0; font-size: 18px; }
.status-panel span { display: block; color: rgba(255,255,255,.65); font-size: 11px; }
.dose-panel { margin-top: 12px; padding: 16px; border-radius: 14px; }
.dose-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.dose-row strong { display: block; margin-top: 2px; font-size: 17px; }
.dose-pill { padding: 5px 7px; border: 1px solid rgba(99,213,255,.28); border-radius: 5px; color: #83e7ff; font-size: 9px; }
.timeline { position: relative; height: 8px; margin: 30px 3px 8px; border-radius: 4px; background: rgba(255,255,255,.1); }
.timeline .window { position: absolute; left: 48%; width: 25%; height: 100%; border-radius: 4px; background: rgba(64,226,155,.45); }
.timeline .target { position: absolute; left: 61%; top: -7px; width: 2px; height: 22px; background: white; }
.timeline .now { position: absolute; left: 53%; top: -4px; width: 15px; height: 15px; border: 3px solid #071028; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); }
.hours { display: flex; justify-content: space-between; color: rgba(255,255,255,.46); font-size: 9px; }
.dose-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 22px; }
.dose-actions button { height: 38px; border: 1px solid rgba(255,255,255,.15); border-radius: 7px; color: white; background: rgba(255,255,255,.08); font-weight: 700; }
.dose-actions button:last-child { color: #041912; background: var(--green); }
.mini-shortcuts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.mini-shortcuts > span { display: grid; min-height: 74px; place-items: center; align-content: center; border: 1px solid rgba(255,255,255,.12); border-radius: 10px; background: rgba(255,255,255,.055); font-size: 24px; }
.mini-shortcuts small { display: block; margin-top: 4px; color: rgba(255,255,255,.72); font-size: 9px; font-weight: 650; }
.mini-shortcuts svg { width: 23px; color: var(--cyan); }
.fake-tabbar { position: absolute; left: 14px; right: 14px; bottom: 13px; display: flex; height: 55px; align-items: center; justify-content: space-around; border: 1px solid rgba(255,255,255,.15); border-radius: 17px; background: rgba(13,24,51,.74); backdrop-filter: blur(20px); }
.fake-tabbar svg { width: 19px; color: rgba(255,255,255,.5); }
.fake-tabbar svg:first-child { color: var(--cyan); }
.feature-list { display: grid; gap: 8px; }
.feature-list article { display: grid; grid-template-columns: 50px 1fr; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.feature-list article:last-child { border-bottom: 0; }
.feature-list p, .feature-copy > p { margin-bottom: 0; color: var(--muted); font-size: 16px; }
.feature-icon { display: grid; width: 46px; height: 46px; place-items: center; border-radius: 8px; }
.feature-icon svg { width: 22px; }
.feature-icon.green { color: var(--green); background: rgba(54,220,131,.1); }
.feature-icon.violet { color: var(--violet); background: rgba(155,114,255,.1); }
.feature-icon.pink { color: var(--pink); background: rgba(255,79,163,.1); }

.feature-band { min-height: 720px; padding: 120px max(7vw, 24px); display: grid; grid-template-columns: minmax(280px, 520px) minmax(320px, 600px); justify-content: space-between; align-items: center; gap: 80px; }
.reports { background: radial-gradient(circle at 88% 40%, rgba(153,73,255,.16), transparent 35%), #0b0b1c; }
.feature-copy h2 { max-width: 690px; }
.feature-copy > p { max-width: 610px; font-size: 18px; }
.check-list { display: grid; gap: 13px; margin: 28px 0 0; padding: 0; list-style: none; }
.check-list li { display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,.8); }
.check-list svg { width: 18px; color: var(--pink); }
.activity-visual { padding: clamp(24px, 4vw, 48px); border: 1px solid var(--line); border-radius: 8px; background: rgba(255,255,255,.055); box-shadow: inset 0 1px rgba(255,255,255,.12), 0 40px 80px rgba(0,0,0,.28); backdrop-filter: blur(20px); }
.month-label { margin-bottom: 20px; color: rgba(255,255,255,.64); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.activity-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; }
.activity-grid span { aspect-ratio: 1; border-radius: 6px; background: rgba(255,255,255,.055); }
.activity-grid .prep, .legend .prep { background: var(--green); }
.activity-grid .report, .legend .report { background: var(--violet); }
.activity-grid .doxy, .legend .doxy { background: var(--yellow); }
.legend { display: flex; gap: 18px; margin-top: 18px; color: var(--muted); font-size: 12px; }
.legend span { display: flex; align-items: center; gap: 6px; }
.legend b { width: 8px; height: 8px; border-radius: 2px; }
.activity-summary { display: grid; gap: 3px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.activity-summary strong { font-size: 21px; }
.activity-summary span { color: var(--muted); font-size: 14px; }

.privacy-band { position: relative; min-height: 700px; overflow: hidden; padding: 120px max(7vw, 24px); display: grid; grid-template-columns: minmax(310px, 1fr) minmax(300px, 620px); align-items: center; gap: 60px; background: linear-gradient(135deg, #071f2b, #071127 52%, #170d2a); }
.privacy-art { position: relative; min-height: 420px; display: grid; place-items: center; }
.lock-ring { display: grid; width: min(310px, 75vw); aspect-ratio: 1; place-items: center; border: 1px solid rgba(71,230,200,.42); border-radius: 50%; color: #061928; background: radial-gradient(circle, rgba(69,231,188,.9), rgba(36,136,255,.75) 48%, rgba(155,114,255,.22) 67%, transparent 68%); box-shadow: 0 0 90px rgba(55,230,224,.2); }
.lock-ring::before, .lock-ring::after { content: ""; position: absolute; width: 88%; aspect-ratio: 1; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; transform: rotateX(66deg) rotateZ(22deg); }
.lock-ring::after { transform: rotateY(66deg) rotateZ(-18deg); }
.lock-ring svg { width: 70px; height: 70px; color: white; filter: drop-shadow(0 8px 16px rgba(0,0,0,.32)); }
.privacy-dot { position: absolute; width: 7px; height: 7px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 18px 5px rgba(255,79,163,.5); }
.privacy-dot.one { left: 14%; top: 22%; }.privacy-dot.two { right: 16%; bottom: 22%; background: var(--cyan); }.privacy-dot.three { right: 26%; top: 13%; background: var(--yellow); }

.essentials { background: #090f21; }
.essential-grid { width: min(var(--content), 100%); margin: auto; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.essential-grid article { min-height: 250px; padding: 32px 26px; border-right: 1px solid var(--line); }
.essential-grid article:last-child { border-right: 0; }
.essential-grid svg { width: 30px; height: 30px; margin-bottom: 46px; color: var(--cyan); }
.essential-grid article:nth-child(2) svg { color: var(--pink); }.essential-grid article:nth-child(3) svg { color: var(--green); }.essential-grid article:nth-child(4) svg { color: var(--yellow); }
.essential-grid p { color: var(--muted); font-size: 14px; }

.faq { background: #060a16; }
.faq-list { width: min(860px, 100%); margin: auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { position: relative; padding: 25px 48px 25px 0; cursor: pointer; list-style: none; font-size: 18px; font-weight: 700; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { position: absolute; right: 4px; top: 25px; width: 20px; transition: transform .2s ease; }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq details p { max-width: 700px; padding: 0 45px 24px 0; color: var(--muted); }

.download-band { min-height: 430px; padding: 80px max(7vw, 24px); display: grid; grid-template-columns: auto 1fr auto; gap: 34px; align-items: center; background: radial-gradient(circle at 14% 50%, rgba(255,79,163,.2), transparent 30%), radial-gradient(circle at 83% 44%, rgba(36,136,255,.25), transparent 34%), #101833; }
.download-icon { border-radius: 24px; box-shadow: 0 22px 50px rgba(0,0,0,.32); }
.download-band h2 { margin-bottom: 10px; font-size: clamp(32px, 4vw, 56px); }
.download-band p { margin-bottom: 0; color: var(--muted); }

footer { display: grid; grid-template-columns: 1fr auto; gap: 22px 40px; align-items: center; padding: 48px max(7vw, 24px); border-top: 1px solid var(--line); background: #040711; color: var(--muted); }
.footer-brand { color: white; }
footer p { margin: 0; text-align: right; font-size: 14px; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a { color: var(--muted); font-size: 13px; text-decoration: none; }
footer small { text-align: right; }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

.legal-page { min-height: 100vh; background: radial-gradient(circle at 75% 0, rgba(36,136,255,.17), transparent 30%), var(--night); }
.legal-main { width: min(820px, calc(100% - 40px)); margin: auto; padding: 140px 0 90px; }
.legal-main h1 { margin-bottom: 28px; font-size: clamp(44px, 7vw, 76px); line-height: 1; }
.legal-main h2 { margin: 46px 0 12px; font-size: 26px; }
.legal-main p, .legal-main li { color: var(--muted); }
.legal-main a { color: var(--cyan); }
.legal-main .updated { padding-bottom: 24px; border-bottom: 1px solid var(--line); color: rgba(255,255,255,.6); font-size: 14px; }

@media (max-width: 900px) {
  .menu-button { display: grid; }
  .site-nav { position: absolute; top: 68px; left: 0; right: 0; display: none; padding: 16px; border: 1px solid var(--line); border-radius: 8px; background: rgba(6,12,30,.94); backdrop-filter: blur(24px); }
  .site-nav.open { display: grid; gap: 4px; }
  .site-nav a { padding: 12px; }
  .site-nav .nav-cta { margin-top: 6px; text-align: center; }
  .hero { min-height: 0; padding-top: calc(min(100vw, 560px) + 100px); padding-bottom: 50px; }
  .hero::before { background: linear-gradient(0deg, rgba(3,6,18,.98) 5%, rgba(3,7,20,.72) 48%, rgba(3,7,20,.12) 100%); }
  .hero-symbol { inset: 80px 0 auto; width: 100%; height: min(100vw, 560px); object-position: center; transform: none; }
  .hero-copy { width: 100%; }
  .product-stage, .feature-band, .privacy-band { grid-template-columns: 1fr; }
  .feature-band { gap: 70px; }
  .privacy-art { order: 2; }
  .essential-grid { grid-template-columns: repeat(2, 1fr); }
  .essential-grid article:nth-child(2) { border-right: 0; }
  .essential-grid article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .download-band { grid-template-columns: auto 1fr; }
  .download-band .button { grid-column: 1 / -1; justify-self: start; }
}

@media (max-width: 560px) {
  .site-header { top: 8px; }
  .hero { padding-left: 20px; padding-right: 20px; }
  h1 { font-size: 68px; }
  .hero-lead { font-size: 19px; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .scroll-cue { display: none; }
  .band, .feature-band, .privacy-band { padding: 86px 20px; }
  .phone-screen { min-height: 640px; }
  .status-panel { padding: 13px; }
  .activity-grid { gap: 7px; }
  .legend { gap: 11px; }
  .essential-grid { grid-template-columns: 1fr; }
  .essential-grid article { min-height: 190px; border-right: 0; border-bottom: 1px solid var(--line); }
  .essential-grid article:last-child { border-bottom: 0; }
  .essential-grid svg { margin-bottom: 28px; }
  .download-band { grid-template-columns: 1fr; padding: 70px 20px; }
  .download-icon { width: 88px; height: 88px; }
  footer { grid-template-columns: 1fr; padding: 42px 20px; }
  footer p, footer small { text-align: left; }
}

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