:root {
  --ink: #0d2854;
  --ink-soft: #526582;
  --blue: #1769e0;
  --blue-dark: #123a82;
  --sky: #3bb8ff;
  --mint: #35d69f;
  --yellow: #ffc83d;
  --paper: #ffffff;
  --canvas: #f5f7fb;
  --line: #dce4ef;
  --shell: 1180px;
  --radius: 28px;
  --shadow: 0 24px 70px rgba(19, 52, 101, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  overflow-x: clip;
  color: var(--ink);
  background: var(--paper);
  font-family: "Avenir Next", "Segoe UI", Inter, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
p { line-height: 1.7; }
h1, h2, h3, p, figure, dl, dd { margin-top: 0; }
h1, h2, h3 { letter-spacing: -.045em; }
.shell { width: min(calc(100% - 48px), var(--shell)); margin-inline: auto; }
.section { padding: 128px 0; }
.hero-copy, .story-copy, .modes-copy, .progress-heading > *, .result-copy,
.gallery-heading > *, .contact-copy, .footer-column { min-width: 0; }
.skip-link { position: fixed; top: -100px; left: 18px; z-index: 200; padding: 12px 18px; color: #fff; background: var(--ink); border-radius: 8px; }
.skip-link:focus { top: 18px; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: background .2s ease, border-color .2s ease;
}
.site-header.scrolled { background: rgba(255,255,255,.94); border-color: rgba(13,40,84,.08); backdrop-filter: blur(18px); }
.header-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand img { width: 148px; height: auto; }
.site-nav { display: flex; align-items: center; gap: 30px; color: #405574; font-size: 14px; font-weight: 700; }
.site-nav a { padding: 8px 0; }
.site-nav a:hover { color: var(--blue); }
.site-nav .nav-status { padding: 11px 16px; color: #fff; background: var(--ink); border-radius: 999px; font-size: 12px; }
.site-nav .nav-status:hover { color: #fff; background: var(--blue); }
.nav-toggle { display: none; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line); background: #fff; border-radius: 50%; }
.nav-toggle span { display: block; width: 17px; height: 2px; margin: 5px auto; background: var(--ink); }

.overline { margin-bottom: 22px; color: var(--blue); font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.overline-light { color: #8bd6ff; }
.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; padding: 0 24px; border: 1px solid transparent; border-radius: 999px; font-size: 14px; font-weight: 800; transition: transform .18s ease, background .18s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #fff; background: var(--blue); }
.button-primary:hover { background: #0e56c4; }
.button-secondary { color: var(--ink); background: #fff; border-color: var(--line); }

.hero { min-height: 930px; overflow: hidden; display: flex; align-items: center; padding: 150px 0 80px; background: var(--canvas); }
.hero-grid { display: grid; grid-template-columns: .86fr 1.14fr; align-items: center; gap: 64px; }
.hero-copy { position: relative; z-index: 2; }
.hero h1 { max-width: 650px; margin-bottom: 30px; font-size: clamp(62px, 7.7vw, 108px); line-height: .92; }
.hero h1 span { color: var(--blue); }
.hero-lead { max-width: 570px; margin-bottom: 32px; color: var(--ink-soft); font-size: 19px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-facts { display: flex; gap: 38px; padding-top: 48px; margin-bottom: 0; }
.hero-facts div { display: flex; align-items: baseline; gap: 8px; }
.hero-facts dt { color: var(--blue); font-size: 28px; font-weight: 800; }
.hero-facts dd { color: var(--ink-soft); font-size: 12px; font-weight: 700; }
.hero-stage { position: relative; min-height: 720px; }
.hero-stage::before { content: ""; position: absolute; width: 610px; height: 610px; right: -120px; top: 70px; border-radius: 50%; background: #deefff; }
.device { overflow: hidden; margin: 0; border: 8px solid #fff; border-radius: 48px; background: #fff; box-shadow: var(--shadow); }
.device img { width: 100%; height: auto; }
.device-front { position: absolute; z-index: 3; width: 300px; left: 80px; top: 8px; transform: rotate(-3deg); }
.device-back { position: absolute; z-index: 2; width: 258px; right: 2px; top: 95px; transform: rotate(5deg); opacity: .96; }
.hero-mascot { position: absolute; z-index: 4; width: 180px; right: 126px; bottom: -6px; filter: drop-shadow(0 20px 20px rgba(10,41,92,.18)); }

.proof-bar { color: #fff; background: var(--ink); }
.proof-grid { min-height: 84px; display: grid; grid-template-columns: repeat(3, 1fr); align-items: center; }
.proof-grid p { margin: 0; padding: 0 34px; border-right: 1px solid rgba(255,255,255,.18); font-size: 13px; text-align: center; }
.proof-grid p:last-child { border-right: 0; }

.section-heading { margin-bottom: 64px; }
.split-heading { display: grid; grid-template-columns: .4fr 1fr; gap: 60px; }
.split-heading h2, .modes-copy h2, .progress-heading h2, .result-copy h2, .gallery-heading h2, .contact-copy h2 { margin-bottom: 18px; font-size: clamp(44px, 5vw, 70px); line-height: 1.02; }
.split-heading > div > p, .modes-copy > p:last-child, .progress-heading > p, .result-copy > p, .gallery-heading > p, .contact-copy > p { max-width: 650px; color: var(--ink-soft); font-size: 17px; }
.story-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.story-card { min-height: 760px; overflow: hidden; display: grid; grid-template-columns: 1fr .72fr; align-items: end; gap: 20px; padding: 48px 0 0 48px; border: 1px solid var(--line); border-radius: var(--radius); background: #eef6ff; }
.story-play { background: #f1faf7; }
.story-copy { align-self: start; padding-top: 12px; }
.story-index { margin-bottom: 48px; color: var(--blue); font-size: 12px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.story-card h3 { margin-bottom: 18px; font-size: 36px; line-height: 1.05; }
.story-card .story-copy > p:not(.story-index) { color: var(--ink-soft); }
.plain-list { padding: 22px 0 0; margin: 0; list-style: none; border-top: 1px solid rgba(13,40,84,.14); }
.plain-list li { padding: 8px 0; color: #425a79; font-size: 13px; }
.product-shot { overflow: hidden; align-self: end; margin: 0; border: 7px solid #fff; border-bottom: 0; border-radius: 38px 38px 0 0; box-shadow: 0 20px 45px rgba(13,40,84,.15); }
.product-shot img { width: 100%; }

.modes-section { background: #fbfaf6; }
.modes-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 110px; align-items: start; }
.modes-copy { position: sticky; top: 130px; }
.mode-list { padding: 0; margin: 0; list-style: none; border-top: 1px solid var(--line); }
.mode-list li { display: grid; grid-template-columns: 64px 1fr; gap: 24px; padding: 29px 0; border-bottom: 1px solid var(--line); }
.mode-list li > span { padding-top: 3px; color: var(--blue); font-size: 12px; font-weight: 800; }
.mode-list h3 { margin-bottom: 6px; font-size: 24px; letter-spacing: -.025em; }
.mode-list p { margin: 0; color: var(--ink-soft); font-size: 14px; }

.progress-section { overflow: hidden; padding-bottom: 0; color: #fff; background: #092657; }
.progress-heading { display: grid; grid-template-columns: 1fr .7fr; gap: 90px; align-items: end; margin-bottom: 80px; }
.progress-heading h2 { max-width: 700px; }
.progress-heading > p { color: #aac0dd; }
.progress-products { min-height: 880px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 70px; align-items: end; }
.progress-product { display: grid; grid-template-columns: 1fr 340px; gap: 24px; align-items: start; }
.progress-product-lower { transform: translateY(120px); }
.progress-label { display: grid; gap: 8px; padding-top: 100px; }
.progress-label span { color: #8bd6ff; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; }
.progress-label strong { max-width: 150px; font-size: 18px; }
.device-dark { width: 340px; border-color: #17386d; border-bottom: 0; border-radius: 48px 48px 0 0; box-shadow: 0 28px 80px rgba(0,0,0,.28); }

.result-section { background: #fff; }
.result-grid { display: grid; grid-template-columns: .7fr 1fr; gap: 130px; align-items: center; }
.result-device { overflow: hidden; width: min(100%, 410px); margin: 0 auto; border: 8px solid #edf2f9; border-radius: 58px; box-shadow: var(--shadow); }
.result-copy { max-width: 620px; }
.result-details { margin: 44px 0 0; border-top: 1px solid var(--line); }
.result-details div { display: grid; grid-template-columns: 100px 1fr; gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.result-details dt { font-weight: 800; }
.result-details dd { color: var(--ink-soft); line-height: 1.5; }

.gallery-section { overflow: hidden; background: var(--canvas); }
.gallery-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 50px; }
.gallery-heading > div { max-width: 750px; }
.gallery-heading > p { text-align: right; }
.gallery-track { width: min(calc(100% - 48px), 1540px); display: grid; grid-template-columns: repeat(6, minmax(220px, 1fr)); gap: 18px; margin-inline: auto; overflow-x: auto; padding: 0 0 26px; scroll-snap-type: x mandatory; }
.gallery-track figure { min-width: 220px; margin: 0; scroll-snap-align: start; }
.gallery-track img { width: 100%; border: 5px solid #fff; border-radius: 34px; box-shadow: 0 16px 36px rgba(13,40,84,.1); }
.gallery-track figcaption { padding: 14px 6px 0; color: var(--ink-soft); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }

.contact-section { background: #fff; }
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 110px; align-items: start; }
.contact-copy a { display: inline-block; max-width: 100%; padding-bottom: 3px; color: var(--blue); border-bottom: 1px solid currentColor; font-weight: 800; }
.contact-form { padding: 44px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--canvas); }
.form-row { display: grid; gap: 9px; margin-bottom: 19px; }
.form-row label { font-size: 12px; font-weight: 800; letter-spacing: .03em; }
.form-row input, .form-row select, .form-row textarea { width: 100%; color: var(--ink); background: #fff; border: 1px solid #cfd9e7; border-radius: 12px; outline: 0; }
.form-row input, .form-row select { height: 50px; padding: 0 15px; }
.form-row textarea { padding: 15px; resize: vertical; }
.form-row input:focus, .form-row select:focus, .form-row textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(23,105,224,.12); }
.form-error { min-height: 22px; margin-bottom: 12px; color: #be334d; font-size: 13px; }

.download-section { padding: 112px 0; color: #fff; background: #061a3e; }
.download-card { position: relative; min-height: 700px; overflow: hidden; display: grid; grid-template-columns: .88fr 1.12fr; align-items: center; gap: 70px; padding: 76px; border: 1px solid rgba(255,255,255,.13); border-radius: 42px; background: linear-gradient(135deg, #0a2b61 0%, #0c4bab 58%, #087fd1 100%); box-shadow: 0 35px 90px rgba(0,0,0,.28); }
.download-card::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 40px 40px; mask-image: linear-gradient(90deg, #000, transparent 75%); }
.download-copy { position: relative; z-index: 5; min-width: 0; }
.download-brand { display: flex; align-items: center; gap: 14px; margin-bottom: 58px; color: #fff; font-size: 14px; font-weight: 800; }
.download-brand img { width: 54px; border-radius: 13px; box-shadow: 0 12px 25px rgba(0,0,0,.22); }
.download-copy .overline { margin-bottom: 18px; }
.download-copy h2 { max-width: 520px; margin-bottom: 24px; font-size: clamp(50px, 5.7vw, 78px); line-height: .95; }
.download-lead { max-width: 520px; margin-bottom: 38px; color: #c4d9f5; font-size: 17px; }
.download-facts { display: flex; gap: 30px; margin-bottom: 42px; }
.download-facts div { display: flex; align-items: center; gap: 10px; }
.download-facts dt { color: #67d8ff; font-size: 34px; font-weight: 800; line-height: 1; }
.download-facts dd { color: #d8e7fb; font-size: 11px; font-weight: 700; line-height: 1.25; text-transform: uppercase; letter-spacing: .06em; }
.app-store-badge-link { width: fit-content; display: block; border-radius: 10px; line-height: 0; box-shadow: 0 12px 30px rgba(7,29,67,.2); }
.app-store-badge { display: block; width: 180px; height: auto; }
.app-store-badge-link:hover { transform: translateY(-2px); }
.download-visual { position: relative; min-height: 580px; }
.download-orbit { position: absolute; width: 560px; height: 560px; top: 20px; left: 40px; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; box-shadow: inset 0 0 90px rgba(70,214,255,.08); }
.download-orbit::before, .download-orbit::after { content: ""; position: absolute; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; }
.download-orbit::before { inset: 70px; }
.download-orbit::after { inset: 145px; }
.download-phone { position: absolute; overflow: hidden; margin: 0; border: 7px solid rgba(255,255,255,.95); border-radius: 38px; background: #fff; box-shadow: 0 30px 70px rgba(0,0,0,.3); }
.download-phone img { width: 100%; }
.download-phone-home { z-index: 2; width: 260px; left: 45px; top: 35px; transform: rotate(-5deg); }
.download-phone-result { z-index: 3; width: 245px; right: -25px; top: 95px; transform: rotate(5deg); }
.download-note { position: absolute; z-index: 4; display: grid; gap: 4px; min-width: 190px; padding: 15px 18px; color: var(--ink); background: rgba(255,255,255,.96); border: 1px solid rgba(255,255,255,.75); border-radius: 15px; box-shadow: 0 18px 40px rgba(0,20,60,.24); }
.download-note span { color: var(--blue); font-size: 9px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.download-note strong { font-size: 13px; }
.download-note-daily { top: 34px; right: -5px; }
.download-note-progress { left: 0; bottom: 30px; }

.site-footer { padding: 72px 0 28px; color: #a6b7d0; background: #071d43; }
.footer-grid { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 70px; padding-bottom: 60px; }
.footer-brand img { width: 150px; filter: brightness(0) invert(1); }
.footer-brand p { max-width: 290px; margin: 18px 0 0; font-size: 13px; }
.footer-column { display: grid; align-content: start; gap: 12px; font-size: 13px; }
.footer-column strong { margin-bottom: 7px; color: #fff; }
.footer-column a:hover { color: #fff; }
.footer-bottom { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: start; gap: 30px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); font-size: 12px; }
.apple-credit { max-width: 610px; justify-self: center; text-align: center; }

.priv-hero { padding: 160px 0 60px; color: #fff; background: var(--ink); }
.priv-hero-inner { width: min(calc(100% - 48px), 850px); margin-inline: auto; }
.priv-hero h1 { margin-bottom: 10px; font-size: clamp(48px, 7vw, 82px); }
.priv-hero p { color: #b7c9e2; }
.priv-badge { margin-bottom: 20px; color: #8bd6ff; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.priv-body { width: min(calc(100% - 48px), 850px); margin: 0 auto; padding: 80px 0 120px; }
.priv-updated { color: var(--ink-soft); font-size: 13px; }
.priv-sec { padding-top: 36px; }
.priv-sec h2 { font-size: 28px; }
.priv-sec p, .priv-sec li { color: var(--ink-soft); line-height: 1.75; }
.priv-link { color: var(--blue); font-weight: 700; }
.priv-contact-card { padding: 30px; background: var(--canvas); border: 1px solid var(--line); border-radius: 18px; }
.priv-contact-card h3 { margin-bottom: 8px; }
.contact-copy a, .priv-link, .priv-contact-card .button { overflow-wrap: anywhere; }

.legal-page .site-header { background: rgba(255,255,255,.96); border-color: rgba(13,40,84,.08); backdrop-filter: blur(18px); }

@media (max-width: 1100px) {
  .hero { min-height: auto; }
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .hero-stage { min-height: 650px; }
  .device-front { width: 270px; left: 20px; }
  .device-back { width: 230px; }
  .hero-mascot { width: 150px; right: 90px; }
  .story-card { grid-template-columns: 1fr; padding: 38px 38px 0; }
  .story-copy { max-width: 480px; }
  .product-shot { width: 280px; justify-self: center; }
  .progress-products { gap: 30px; }
  .progress-product { grid-template-columns: 1fr; justify-items: center; }
  .progress-label { padding-top: 0; text-align: center; }
  .progress-label strong { max-width: none; }
}

@media (max-width: 820px) {
  .shell { width: min(calc(100% - 32px), var(--shell)); }
  .section { padding: 90px 0; }
  .site-header { background: rgba(255,255,255,.95); border-color: rgba(13,40,84,.08); backdrop-filter: blur(16px); }
  .header-inner { min-height: 72px; }
  .nav-toggle { display: block; }
  .site-nav { position: absolute; top: 72px; left: 16px; right: 16px; display: none; align-items: stretch; padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); }
  .site-nav.open { display: grid; }
  .nav-status { margin-top: 8px; text-align: center; }
  .hero { padding-top: 120px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { text-align: center; }
  .hero h1, .hero-lead { margin-inline: auto; }
  .hero-actions, .hero-facts { justify-content: center; }
  .hero-stage { width: min(100%, 600px); margin: 0 auto; }
  .device-front { left: 14%; }
  .device-back { right: 9%; }
  .proof-grid { grid-template-columns: 1fr; padding: 18px 0; }
  .proof-grid p { padding: 11px; border-right: 0; }
  .split-heading, .modes-layout, .progress-heading, .result-grid, .contact-grid { grid-template-columns: 1fr; gap: 45px; }
  .story-grid { grid-template-columns: 1fr; }
  .modes-copy { position: static; }
  .progress-products { min-height: 800px; }
  .progress-heading { margin-bottom: 50px; }
  .result-grid { justify-items: center; }
  .result-copy { order: -1; }
  .gallery-heading { display: block; }
  .gallery-heading > p { text-align: left; }
  .download-card { min-height: 1120px; grid-template-columns: 1fr; gap: 40px; padding: 58px; }
  .download-copy { max-width: 590px; }
  .download-visual { width: min(100%, 620px); min-height: 560px; margin-inline: auto; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
  .priv-hero { padding: 126px 0 48px; }
  .priv-hero-inner, .priv-body { width: min(calc(100% - 32px), 850px); }
  .priv-body { padding: 64px 0 90px; }
}

@media (max-width: 680px) {
  .progress-products { min-height: auto; grid-template-columns: 1fr; gap: 48px; align-items: start; }
  .progress-product-lower { transform: none; }
  .device-dark { width: min(100%, 340px); }
}

@media (max-width: 560px) {
  .brand img { width: 126px; }
  .section { padding: 72px 0; }
  .hero { padding-bottom: 45px; }
  .hero h1 { font-size: clamp(44px, 14.5vw, 56px); }
  .hero-lead { font-size: 16px; }
  .hero-actions .button { width: 100%; }
  .hero-facts { gap: 15px; }
  .hero-facts div { display: grid; gap: 2px; }
  .hero-facts dd { font-size: 10px; }
  .hero-stage { min-height: 520px; }
  .hero-stage::before { width: 430px; height: 430px; right: -120px; }
  .device-front { width: 220px; left: 4%; }
  .device-back { width: 190px; right: 0; top: 70px; }
  .hero-mascot { width: 115px; right: 70px; bottom: -2px; }
  .split-heading h2, .modes-copy h2, .progress-heading h2, .result-copy h2, .gallery-heading h2, .contact-copy h2 { font-size: 41px; }
  .story-card { min-height: 720px; padding: 28px 24px 0; }
  .product-shot { width: min(100%, 280px); }
  .story-index { margin-bottom: 24px; }
  .story-card h3 { font-size: 31px; }
  .progress-products { min-height: auto; gap: 44px; grid-template-columns: 1fr; }
  .device-dark { width: 100%; border-width: 5px; border-radius: 30px 30px 0 0; }
  .progress-product-lower { transform: none; }
  .progress-label strong { font-size: 13px; }
  .progress-label span { font-size: 9px; }
  .result-device { width: min(100%, 300px); border-radius: 44px; }
  .contact-form { padding: 24px; }
  .priv-hero h1 { font-size: clamp(42px, 14vw, 58px); }
  .priv-body { padding: 52px 0 72px; }
  .priv-sec { padding-top: 30px; }
  .priv-sec h2 { font-size: 24px; line-height: 1.15; }
  .priv-sec ul { padding-left: 20px; }
  .priv-contact-card { padding: 22px; }
  .priv-contact-card .button { width: 100%; min-height: 48px; height: auto; padding: 12px 16px; line-height: 1.35; text-align: center; white-space: normal; }
  .download-section { padding: 72px 0; }
  .download-card { min-height: auto; gap: 54px; padding: 32px 24px 0; border-radius: 28px; }
  .download-brand { margin-bottom: 42px; }
  .download-copy h2 { font-size: clamp(46px, 14vw, 60px); }
  .download-lead { font-size: 15px; }
  .download-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 0; }
  .download-facts div { min-width: 0; display: grid; gap: 5px; }
  .download-facts dt { font-size: 30px; }
  .download-facts dd { overflow-wrap: anywhere; font-size: 9px; }
  .app-store-badge-link { margin-top: 34px; }
  .download-visual { min-height: 490px; }
  .download-orbit { width: 430px; height: 430px; left: 0; top: 25px; }
  .download-phone-home { width: 205px; left: 4px; top: 30px; }
  .download-phone-result { width: 190px; right: -12px; top: 82px; }
  .download-note { min-width: 160px; padding: 12px 14px; }
  .download-note-daily { top: 20px; right: -10px; }
  .download-note-progress { left: -8px; bottom: 28px; }
  .footer-grid { gap: 36px; }
  .footer-bottom { grid-template-columns: 1fr; gap: 10px; }
  .apple-credit { justify-self: start; text-align: left; }
}

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