:root {
  --navy: #071827;
  --navy-2: #0d2739;
  --kinetic: #ff8a1f;
  --coral: #ffb199;
  --ember: #f24428;
  --cream: #faf7f4;
  --paper: #ffffff;
  --ink: #101820;
  --muted: #65717c;
  --line: rgba(7, 24, 39, .12);
  --radius: 28px;
  --shadow: 0 24px 70px rgba(7, 24, 39, .14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: var(--ink); background: var(--cream); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.skip-link { position: fixed; z-index: 1000; top: 8px; left: 8px; padding: 10px 14px; background: var(--kinetic); color: var(--navy); transform: translateY(-150%); border-radius: 8px; }
.skip-link:focus { transform: none; }

.site-header { position: fixed; inset: 0 0 auto; z-index: 50; padding: 18px 0; transition: background .25s, padding .25s, box-shadow .25s; color: #fff; }
.site-header.scrolled { padding: 10px 0; background: rgba(7,24,39,.9); backdrop-filter: blur(18px); box-shadow: 0 8px 30px rgba(0,0,0,.16); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 950; letter-spacing: 1.8px; }
.brand img { border-radius: 12px; }
.main-nav { display: flex; align-items: center; gap: 30px; font-size: 14px; font-weight: 750; }
.main-nav > a:not(.nav-cta) { color: rgba(255,255,255,.78); transition: color .2s; }
.main-nav > a:hover { color: var(--kinetic); }
.nav-cta { padding: 11px 18px; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; }
.menu-button { display: none; border: 0; background: transparent; padding: 8px; }
.menu-button > span:not(.sr-only) { display: block; width: 25px; height: 2px; background: #fff; margin: 5px 0; }

.hero { position: relative; overflow: hidden; min-height: 780px; padding: 150px 0 90px; color: #fff; background: var(--navy); }
.hero::before { content: ""; position: absolute; inset: 0; opacity: .08; background-image: linear-gradient(rgba(255,255,255,.16) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.16) 1px, transparent 1px); background-size: 64px 64px; mask-image: linear-gradient(to bottom, black, transparent 85%); }
.hero-glow { position: absolute; border-radius: 50%; filter: blur(2px); opacity: .25; }
.hero-glow-one { width: 520px; height: 520px; background: var(--ember); right: -160px; top: -120px; }
.hero-glow-two { width: 360px; height: 360px; background: var(--coral); left: -220px; bottom: -180px; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: 70px; }
.eyebrow { margin: 0 0 20px; display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 900; letter-spacing: 2px; color: rgba(255,255,255,.68); }
.eyebrow span { width: 24px; height: 3px; border-radius: 3px; background: var(--kinetic); }
.eyebrow.dark { color: var(--muted); }
.eyebrow.light { color: rgba(255,255,255,.7); }
.hero h1, .section-heading h2, .download h2 { margin: 0; font-size: clamp(52px, 7vw, 88px); line-height: .95; letter-spacing: -4px; font-weight: 950; }
h1 em, h2 em { color: var(--kinetic); font-style: normal; }
.hero-lead { max-width: 590px; margin: 28px 0 34px; font-size: 19px; line-height: 1.65; color: rgba(255,255,255,.72); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 12px; min-height: 54px; padding: 0 24px; border-radius: 999px; font-weight: 850; transition: transform .2s, box-shadow .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--kinetic); color: var(--navy); box-shadow: 0 14px 36px rgba(255,138,31,.22); }
.button-primary:hover { box-shadow: 0 18px 46px rgba(255,138,31,.32); }
.button-ghost { border: 1px solid rgba(255,255,255,.25); color: #fff; }
.button-ghost:hover { background: rgba(255,255,255,.07); }
.trust-row { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 25px; font-size: 13px; color: rgba(255,255,255,.62); }
.hero-visual { position: relative; }
.motion-card { position: relative; overflow: hidden; border-radius: 40px; box-shadow: 0 40px 90px rgba(0,0,0,.4); transform: rotate(1.5deg); }
.motion-card::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); border-radius: inherit; pointer-events: none; }
.motion-card img { aspect-ratio: 1; object-fit: cover; }
.motion-badge { position: absolute; left: 22px; right: 22px; bottom: 22px; display: flex; align-items: center; gap: 15px; padding: 16px 18px; border-radius: 18px; background: rgba(7,24,39,.85); backdrop-filter: blur(14px); }
.motion-badge strong { color: var(--kinetic); font-size: 18px; white-space: nowrap; }
.motion-badge span { font-size: 13px; color: rgba(255,255,255,.73); }
.floating-chip { position: absolute; padding: 12px 17px; border-radius: 999px; background: #fff; color: var(--navy); box-shadow: var(--shadow); font-size: 13px; font-weight: 850; }
.chip-top { top: 12%; left: -38px; }
.chip-bottom { right: -28px; bottom: 22%; color: var(--navy); background: var(--kinetic); }
.pulse { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 7px; background: var(--coral); box-shadow: 0 0 0 6px rgba(255,177,153,.2); }

.metrics { position: relative; z-index: 2; background: var(--kinetic); color: var(--navy); }
.metrics-grid { display: grid; grid-template-columns: repeat(4,1fr); }
.metrics-grid > div { padding: 34px 28px; border-right: 1px solid rgba(7,24,39,.17); }
.metrics-grid > div:first-child { border-left: 1px solid rgba(7,24,39,.17); }
.metrics strong { font-size: 42px; line-height: 1; letter-spacing: -2px; }
.metrics strong span { color: var(--ember); }
.metrics p { margin: 7px 0 0; font-size: 13px; font-weight: 720; opacity: .68; }

.section { padding: 120px 0; }
.section-heading { max-width: 760px; margin-bottom: 50px; }
.section-heading h2, .download h2 { font-size: clamp(43px, 5.5vw, 70px); color: var(--navy); }
.section-heading h2 em { color: var(--ember); }
.section-heading > p:last-child { margin: 24px 0 0; max-width: 650px; font-size: 18px; line-height: 1.65; color: var(--muted); }
.technique { background: var(--cream); }
.technique-grid { display: grid; grid-template-columns: 1.15fr .85fr .85fr; gap: 20px; }
.tech-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); box-shadow: 0 12px 38px rgba(7,24,39,.07); transition: transform .25s, box-shadow .25s; }
.tech-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.tech-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.tech-card > div { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: center; padding: 24px; }
.tech-card span { grid-row: 1/3; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--navy); color: var(--kinetic); font-weight: 900; }
.tech-card h3 { margin: 0; font-size: 22px; }
.tech-card p { margin: 4px 0 0; color: var(--muted); font-size: 14px; }

.features { position: relative; background: var(--navy); color: #fff; overflow: hidden; }
.features::before { content: ""; position: absolute; width: 440px; height: 440px; border-radius: 50%; right: -180px; top: 12%; background: rgba(255,177,153,.1); }
.features .section-heading h2 { color: #fff; }
.features .section-heading h2 em { color: var(--kinetic); }
.feature-grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 20px; }
.feature-card { min-height: 310px; padding: 32px; border: 1px solid rgba(255,255,255,.11); border-radius: var(--radius); background: rgba(255,255,255,.055); }
.feature-card.featured { grid-row: span 2; min-height: 640px; background: linear-gradient(160deg, rgba(242,68,40,.22), rgba(255,255,255,.05)); }
.feature-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 15px; margin-bottom: 36px; background: var(--kinetic); color: var(--navy); font-size: 26px; font-weight: 900; }
.feature-card h3 { margin: 0 0 12px; font-size: 27px; letter-spacing: -.8px; }
.feature-card p { margin: 0; color: rgba(255,255,255,.65); line-height: 1.65; }
.mini-workout { margin-top: 50px; padding: 12px; border-radius: 20px; background: rgba(7,24,39,.5); }
.mini-workout > div { display: flex; justify-content: space-between; gap: 16px; padding: 18px 16px; border-bottom: 1px solid rgba(255,255,255,.08); }
.mini-workout > div:last-child { border: 0; }
.mini-workout b { color: var(--kinetic); }
.progress-ring { display: grid; place-items: center; width: 134px; height: 134px; margin: 30px auto 0; border-radius: 50%; background: conic-gradient(var(--coral) 0 72%, rgba(255,255,255,.1) 72%); }
.progress-ring::before { content: ""; position: absolute; width: 104px; height: 104px; border-radius: 50%; background: var(--navy-2); }
.progress-ring span { position: relative; z-index: 1; font-size: 30px; font-weight: 900; }
.progress-ring small { font-size: 15px; color: var(--coral); }

.family { background: #fff; }
.family-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 80px; align-items: center; }
.family .section-heading { margin: 0; }
.app-cloud { display: flex; flex-wrap: wrap; justify-content: center; align-content: center; gap: 13px; padding: 46px; min-height: 420px; border-radius: 44px; background: var(--cream); border: 1px solid var(--line); }
.app-pill { padding: 13px 18px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 780; color: var(--navy); box-shadow: 0 6px 18px rgba(7,24,39,.05); }
.app-pill.active { background: var(--navy); color: var(--kinetic); border-color: var(--navy); transform: scale(1.12); }

.privacy { padding-top: 30px; background: #fff; }
.privacy-card { display: grid; grid-template-columns: auto 1fr auto; gap: 30px; align-items: center; padding: 48px; border-radius: 34px; background: var(--navy); color: #fff; }
.privacy-mark { display: grid; place-items: center; width: 76px; height: 76px; border-radius: 22px; background: var(--kinetic); color: var(--navy); font-size: 32px; }
.privacy-card .eyebrow { margin-bottom: 10px; }
.privacy-card h2 { margin: 0 0 8px; font-size: 34px; }
.privacy-card p:last-child { margin: 0; color: rgba(255,255,255,.66); }
.text-link { white-space: nowrap; font-weight: 850; color: var(--kinetic); }

.download { padding: 130px 0; text-align: center; color: #fff; background: var(--navy); }
.download-inner { display: flex; flex-direction: column; align-items: center; }
.download img { margin-bottom: 26px; border-radius: 24px; box-shadow: 0 20px 50px rgba(0,0,0,.3); }
.download .eyebrow { justify-content: center; }
.download h2 { color: #fff; }
.download h2 em { color: var(--kinetic); }
.download p:not(.eyebrow) { max-width: 650px; margin: 24px auto 30px; color: rgba(255,255,255,.67); font-size: 18px; line-height: 1.6; }

.site-footer { padding: 70px 0 28px; background: #04111c; color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3,1fr); gap: 50px; }
.footer-brand { margin-bottom: 17px; }
.footer-grid p { color: rgba(255,255,255,.5); line-height: 1.6; }
.footer-grid > div:not(:first-child) { display: flex; flex-direction: column; gap: 12px; }
.footer-grid strong { margin-bottom: 6px; color: rgba(255,255,255,.45); font-size: 12px; text-transform: uppercase; letter-spacing: 1.5px; }
.footer-grid a:not(.brand) { color: rgba(255,255,255,.72); }
.footer-grid a:hover { color: var(--kinetic); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 60px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.4); font-size: 12px; }

.legal-page { min-height: 100vh; background: var(--cream); }
.legal-header { position: static; background: var(--navy); }
.legal-main { padding: 80px 0 120px; }
.legal-content { max-width: 820px; }
.legal-content h1 { margin: 0 0 12px; font-size: clamp(42px,6vw,72px); letter-spacing: -3px; color: var(--navy); }
.legal-content .updated { color: var(--muted); margin-bottom: 44px; }
.legal-content h2 { margin: 42px 0 12px; font-size: 26px; color: var(--navy); }
.legal-content p, .legal-content li { color: #46515b; line-height: 1.75; }
.legal-content a { color: #c9361e; text-decoration: underline; }
.contact-card { padding: 34px; margin-top: 35px; border-radius: 24px; background: #fff; border: 1px solid var(--line); }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay { transition-delay: .12s; }
.reveal-delay-two { transition-delay: .22s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .button, .tech-card { transition: none; }
}

@media (max-width: 900px) {
  .main-nav { position: fixed; inset: 70px 20px auto; display: none; flex-direction: column; align-items: stretch; padding: 24px; border-radius: 22px; background: var(--navy-2); box-shadow: var(--shadow); }
  .main-nav.open { display: flex; }
  .menu-button { display: block; }
  .hero { padding-top: 125px; }
  .hero-grid, .family-grid { grid-template-columns: 1fr; }
  .hero-copy { text-align: center; }
  .hero-copy .eyebrow, .hero-actions, .trust-row { justify-content: center; }
  .hero-lead { margin-left: auto; margin-right: auto; }
  .hero-visual { max-width: 620px; margin: 20px auto 0; }
  .metrics-grid { grid-template-columns: repeat(2,1fr); }
  .technique-grid { grid-template-columns: 1fr 1fr; }
  .tech-card:first-child { grid-column: 1/-1; }
  .footer-grid { grid-template-columns: 1.4fr 1fr; }
}

@media (max-width: 620px) {
  .container { width: min(100% - 28px, 1180px); }
  .site-header { padding: 12px 0; }
  .brand span { font-size: 14px; }
  .hero { min-height: auto; padding-bottom: 60px; }
  .hero h1, .section-heading h2, .download h2 { letter-spacing: -2.4px; }
  .hero-actions .button { width: 100%; }
  .floating-chip { display: none; }
  .metrics-grid > div { padding: 26px 18px; }
  .metrics strong { font-size: 34px; }
  .section { padding: 86px 0; }
  .technique-grid, .feature-grid { grid-template-columns: 1fr; }
  .tech-card:first-child { grid-column: auto; }
  .feature-card.featured { grid-row: auto; min-height: 520px; }
  .app-cloud { padding: 28px 18px; min-height: 340px; }
  .privacy-card { grid-template-columns: 1fr; padding: 32px 26px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1/-1; }
  .footer-bottom { flex-direction: column; }
}
