/* geevin.app: one stylesheet. Brand navy and gold, Geist for headlines, Inter for text. */

:root {
  --navy: #063e73;
  --navy-deep: #002e5b;
  --gold: #eda900;
  --gold-soft: #ffc933;

  --bg: #fbfaf8;
  --bg-2: #f3f1ec;
  --surface: #ffffff;
  --ink: #0b1b2e;
  --ink-2: #33465c;
  --muted: #5e6e80;
  --line: rgba(6, 62, 115, 0.10);
  --glass: rgba(251, 250, 248, 0.72);
  --shadow-phone: 0 40px 80px -30px rgba(6, 30, 60, 0.35), 0 18px 36px -18px rgba(6, 30, 60, 0.25);
  --shadow-card: 0 1px 0 rgba(6, 62, 115, 0.04), 0 18px 40px -24px rgba(6, 30, 60, 0.22);
  --frame: #0d1626;
  --glow-a: rgba(237, 169, 0, 0.20);
  --glow-b: rgba(6, 62, 115, 0.16);
  --btn-ink-bg: var(--navy);
  --btn-ink-fg: #fff;

  --r-lg: 28px;
  --r-md: 18px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --head: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #05101d; --bg-2: #081627; --surface: #0b1b2e; --ink: #eef3f9; --ink-2: #c4d0de; --muted: #93a4b8;
    --line: rgba(255, 255, 255, 0.08); --glass: rgba(5, 16, 29, 0.66);
    --shadow-phone: 0 40px 90px -30px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.06);
    --shadow-card: 0 0 0 1px rgba(255, 255, 255, 0.06), 0 24px 50px -30px rgba(0, 0, 0, 0.7);
    --frame: #1a2638; --glow-a: rgba(237, 169, 0, 0.16); --glow-b: rgba(40, 110, 200, 0.22);
    --btn-ink-bg: #ffffff; --btn-ink-fg: #06203d;
  }
}
:root[data-theme="dark"] {
  --bg: #05101d; --bg-2: #081627; --surface: #0b1b2e; --ink: #eef3f9; --ink-2: #c4d0de; --muted: #93a4b8;
  --line: rgba(255, 255, 255, 0.08); --glass: rgba(5, 16, 29, 0.66);
  --shadow-phone: 0 40px 90px -30px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.06);
  --shadow-card: 0 0 0 1px rgba(255, 255, 255, 0.06), 0 24px 50px -30px rgba(0, 0, 0, 0.7);
  --frame: #1a2638; --glow-a: rgba(237, 169, 0, 0.16); --glow-b: rgba(40, 110, 200, 0.22);
  --btn-ink-bg: #ffffff; --btn-ink-fg: #06203d;
}

/* Light and dark versions of each image */
.only-dark { display: none !important; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .only-dark { display: block !important; }
  :root:not([data-theme="light"]) .only-light { display: none !important; }
}
:root[data-theme="dark"] .only-dark { display: block !important; }
:root[data-theme="dark"] .only-light { display: none !important; }

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 17px/1.6 var(--body); letter-spacing: -0.006em;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--head); margin: 0; letter-spacing: -0.03em; line-height: 1.05; font-weight: 700; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 10px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 12px; text-decoration: none; }
.skip:focus { top: 12px; }
.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }

/* Type */
.display { font-size: clamp(46px, 8.6vw, 112px); font-weight: 750; letter-spacing: -0.05em; line-height: 0.96; }
.display-md { font-size: clamp(44px, 7vw, 88px); }
.soft { color: var(--muted); }
.h2 { font-size: clamp(34px, 4.8vw, 60px); font-weight: 720; letter-spacing: -0.04em; line-height: 1.02; text-wrap: balance; }
.lede { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.5; color: var(--ink-2); max-width: 36em; text-wrap: pretty; }
.eyebrow, .kicker { font: 600 14px/1 var(--body); letter-spacing: 0.08em; text-transform: uppercase; color: var(--navy); }
:root[data-theme="dark"] .eyebrow, :root[data-theme="dark"] .kicker { color: var(--gold-soft); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .eyebrow, :root:not([data-theme="light"]) .kicker { color: var(--gold-soft); } }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--gold); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 0 28px;
  border-radius: 999px; font: 600 17px/1 var(--body); text-decoration: none; border: 0; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-gold { background: var(--gold); color: #0a1a2c; box-shadow: 0 10px 24px -10px rgba(237, 169, 0, .7); }
.btn-gold:hover { box-shadow: 0 14px 30px -10px rgba(237, 169, 0, .8); }
.btn-ink { background: var(--btn-ink-bg); color: var(--btn-ink-fg); }
.btn-navy { background: var(--navy); color: #fff; box-shadow: 0 10px 24px -12px rgba(6, 62, 115, .8); }
:root[data-theme="dark"] .btn-navy { background: #1d5fa3; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .btn-navy { background: #1d5fa3; } }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line), inset 0 0 0 1.5px color-mix(in srgb, var(--ink) 18%, transparent); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 15px; }
.btn-play { background: #000; color: #fff; gap: 12px; padding: 0 22px 0 18px; }
:root[data-theme="dark"] .btn-play { box-shadow: inset 0 0 0 1px rgba(255,255,255,.22); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .btn-play { box-shadow: inset 0 0 0 1px rgba(255,255,255,.22); } }
.btn-play small { display: block; font: 500 11px/1.1 var(--body); letter-spacing: .02em; opacity: .8; text-align: left; }
.btn-play b { display: block; font: 600 18px/1.1 var(--body); text-align: left; letter-spacing: -.01em; }
.play-badge { display: inline-block; line-height: 0; border-radius: 10px; }
.play-badge img { height: 58px; width: auto; }
.cta-pair .btn { min-width: 168px; min-height: 60px; font-size: 18px; }
.cta-sub { gap: 26px; margin-top: 2px; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px; }

/* Nav (glass) */
.nav { position: sticky; top: 0; z-index: 50; transition: background-color .3s, box-shadow .3s; }
.nav.scrolled { background: var(--glass); -webkit-backdrop-filter: saturate(180%) blur(18px); backdrop-filter: saturate(180%) blur(18px); box-shadow: 0 1px 0 var(--line); }
.nav-in { width: min(1180px, 100% - 32px); margin-inline: auto; height: 68px; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; margin-right: auto; }
.brand img { height: 32px; width: auto; }
.nav-links { display: flex; gap: 28px; }
.nav-links a, .nav-signin { font-size: 15px; font-weight: 500; text-decoration: none; color: var(--ink-2); transition: color .2s; }
.nav-links a:hover, .nav-signin:hover { color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 18px; }
@media (max-width: 860px) { .nav-links { display: none; } }
@media (max-width: 420px) { .nav-signin { display: none; } }

/* Hero */
.hero { position: relative; padding: clamp(40px, 8vw, 96px) 0 0; text-align: center; overflow: hidden; }
.hero-glow { position: absolute; inset: -20% -10% auto; height: 900px; pointer-events: none; z-index: -1;
  background: radial-gradient(40% 45% at 30% 30%, var(--glow-a), transparent 70%), radial-gradient(45% 50% at 72% 38%, var(--glow-b), transparent 70%);
  filter: blur(10px); animation: drift 18s ease-in-out infinite alternate; }
@keyframes drift { to { transform: translate3d(0, 40px, 0) scale(1.06); } }
.hero-copy { display: grid; justify-items: center; gap: 24px; }
.hero-copy .lede { margin-inline: auto; }
.hero-copy .cta-row { margin-top: 8px; }
.hero-note { font-size: 14px; color: var(--muted); }
.hero-stage { position: relative; width: min(980px, 100% - 24px); margin: clamp(48px, 7vw, 88px) auto 0; height: clamp(440px, 62vw, 720px); }
.hero-stage::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 34%; background: linear-gradient(to bottom, transparent, var(--bg)); z-index: 3; pointer-events: none; }
.hero-link { position: absolute; left: 18%; right: 18%; top: 4%; width: 64%; height: 22%; overflow: visible; z-index: 0; }
.hero-link path { fill: none; stroke: var(--gold); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; vector-effect: non-scaling-stroke; opacity: .9; animation: draw 2.2s .5s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* Phone frame (no device branding) */
.phone { position: relative; margin: 0; width: clamp(220px, 30vw, 330px); aspect-ratio: 390 / 844; border-radius: clamp(34px, 4.6vw, 52px);
  background: var(--frame); padding: clamp(7px, .9vw, 10px); box-shadow: var(--shadow-phone); }
.phone > img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: clamp(27px, 3.8vw, 43px); }
.hero-stage .phone { position: absolute; top: 0; z-index: 2; }
.phone-l { left: 50%; margin-left: calc(-1 * clamp(220px, 30vw, 330px) - 14px); transform: rotate(-4deg); animation: floatA 7s ease-in-out infinite; }
.phone-r { left: 50%; margin-left: 14px; top: 9% !important; transform: rotate(4deg); animation: floatB 8s ease-in-out infinite; }
@keyframes floatA { 50% { translate: 0 -10px; } }
@keyframes floatB { 50% { translate: 0 10px; } }
.chip { position: absolute; z-index: 4; display: inline-flex; align-items: center; gap: 9px; white-space: nowrap;
  padding: 11px 16px; border-radius: 999px; font: 600 14px/1 var(--body); color: var(--ink);
  background: var(--glass); -webkit-backdrop-filter: blur(16px) saturate(180%); backdrop-filter: blur(16px) saturate(180%);
  box-shadow: var(--shadow-card); opacity: 0; animation: pop .7s var(--ease) forwards; }
.chip-l { left: -14%; top: 30%; animation-delay: 1.4s; }
.chip-r { right: -16%; top: 18%; animation-delay: 2s; }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.96); } to { opacity: 1; transform: none; } }
.dot { width: 9px; height: 9px; border-radius: 50%; }
.dot-green { background: #22a565; box-shadow: 0 0 0 4px rgba(34, 165, 101, .18); }
.dot-gold { background: var(--gold); box-shadow: 0 0 0 4px rgba(237, 169, 0, .2); }
@media (max-width: 640px) {
  .hero-stage { height: 450px; }
  .hero-stage .phone { width: 184px; }
  .phone-l { margin-left: -172px; }
  .phone-r { margin-left: -12px; }
  .chip { font-size: 13px; padding: 9px 13px; }
  .chip-l { left: -4px; top: 44%; }
  .chip-r { right: 2px; top: 1%; }
}

/* See it in action */
.show { padding: clamp(72px, 10vw, 140px) 0 clamp(40px, 6vw, 80px); }
.show-head { display: grid; justify-items: center; text-align: center; gap: 18px; margin-bottom: clamp(36px, 5vw, 64px); }
.seg { display: inline-flex; gap: 4px; padding: 5px; border-radius: 999px; background: var(--bg-2); border: 1px solid var(--line); margin-top: 10px; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.seg button { border: 0; background: transparent; color: var(--ink-2); font: 600 15px/1 var(--body); padding: 13px 20px; border-radius: 999px; cursor: pointer; white-space: nowrap; transition: background-color .3s, color .3s, box-shadow .3s; }
.seg button[aria-selected="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 2px rgba(0,0,0,.08), 0 6px 16px -8px rgba(6, 30, 60, .3); }
.show-panel { display: grid; grid-template-columns: auto minmax(0, 440px); justify-content: center; gap: clamp(40px, 7vw, 110px); align-items: center; }
.show-panel[hidden] { display: none; }
.show-phone { width: clamp(250px, 26vw, 320px); }
.show-phone .show-shot { position: absolute; inset: clamp(7px, .9vw, 10px); opacity: 0; transform: scale(.985); transition: opacity .6s var(--ease), transform .8s var(--ease); }
.show-phone .show-shot.on { opacity: 1; transform: none; }
.show-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: clamp(27px, 3.8vw, 43px); }
.show-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.show-step { position: relative; width: 100%; display: grid; grid-template-columns: 34px 1fr; gap: 14px; align-items: start; text-align: left; padding: 18px 20px; border: 0; border-radius: var(--r-md); background: transparent; color: var(--ink); cursor: pointer; font: inherit; overflow: hidden; transition: background-color .3s; }
.show-step:hover { background: color-mix(in srgb, var(--bg-2) 70%, transparent); }
.show-step[aria-pressed="true"] { background: var(--surface); box-shadow: var(--shadow-card); }
.show-n { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font: 600 14px/1 var(--head); background: var(--bg-2); color: var(--muted); transition: background-color .3s, color .3s; }
.show-step[aria-pressed="true"] .show-n { background: var(--gold); color: #0a1a2c; }
.show-step b { display: block; font: 650 19px/1.25 var(--head); letter-spacing: -.02em; }
.show-step small { display: block; margin-top: 4px; font-size: 15.5px; line-height: 1.45; color: var(--muted); max-height: 0; opacity: 0; overflow: hidden; transition: max-height .5s var(--ease), opacity .4s; }
.show-step[aria-pressed="true"] small { max-height: 80px; opacity: 1; }
.show-bar { position: absolute; left: 20px; right: 20px; bottom: 0; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; opacity: 0; }
.show-step[aria-pressed="true"] .show-bar { opacity: 1; }
.show.playing .show-step[aria-pressed="true"] .show-bar { animation: fill var(--show-ms, 5s) linear forwards; }
@keyframes fill { to { transform: scaleX(1); } }
@media (max-width: 820px) {
  .show-panel { grid-template-columns: 1fr; justify-items: center; }
  .show-steps { width: 100%; max-width: 480px; }
}

/* Feature sections */
.feature { padding: clamp(96px, 14vw, 180px) 0 clamp(40px, 6vw, 80px); }
.feature-alt { background: linear-gradient(to bottom, var(--bg), var(--bg-2) 30%, var(--bg-2) 70%, var(--bg)); }
.feature-in { display: grid; grid-template-columns: 1.02fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.feature-in.reverse .feature-copy { order: 2; }
.feature-copy { display: grid; gap: 26px; align-content: start; }
.ticks { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 16px; }
.ticks li { position: relative; padding-left: 36px; color: var(--ink-2); font-size: 17px; }
.ticks li b { color: var(--ink); font-weight: 600; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%230a1a2c' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }
.link-go { font-weight: 600; color: var(--navy); text-decoration: none; justify-self: start; display: inline-flex; gap: 8px; align-items: center; }
.link-go span { transition: transform .25s var(--ease); }
.link-go:hover span { transform: translateX(4px); }
:root[data-theme="dark"] .link-go { color: var(--gold-soft); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .link-go { color: var(--gold-soft); } }
.feature-art.duo { position: relative; height: clamp(520px, 52vw, 680px); }
.duo .phone { position: absolute; width: clamp(210px, 22vw, 290px); }
.duo .phone:first-child { left: 6%; top: 0; z-index: 2; }
.duo .phone-back { right: 4%; top: 13%; z-index: 1; }
@media (max-width: 900px) {
  .feature-in, .feature-in.reverse { grid-template-columns: 1fr; }
  .feature-in.reverse .feature-copy { order: 0; }
  .feature-art.duo { height: 520px; max-width: 520px; width: 100%; margin-inline: auto; }
}
@media (max-width: 480px) { .feature-art.duo { height: 440px; } .duo .phone { width: 190px; } .duo .phone:first-child { left: 0; } .duo .phone-back { right: 0; } }

/* Agencies */
.agency { padding: clamp(96px, 14vw, 180px) 0; }
.agency-head { display: grid; gap: 22px; justify-items: center; text-align: center; max-width: 860px; margin: 0 auto clamp(40px, 6vw, 72px); }
.agency-head .lede { margin-inline: auto; }
.browser { margin: 0 auto; max-width: 1100px; border-radius: 22px; overflow: hidden; background: var(--surface); box-shadow: var(--shadow-phone); border: 1px solid var(--line); }
.browser-bar { display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px; background: var(--bg-2); border-bottom: 1px solid var(--line); }
.browser-bar i { width: 11px; height: 11px; border-radius: 50%; background: color-mix(in srgb, var(--ink) 18%, transparent); }
.browser-bar span { margin: 0 auto; transform: translateX(-24px); font-size: 13px; color: var(--muted); background: var(--surface); padding: 5px 16px; border-radius: 8px; }
.grid6 { list-style: none; padding: 0; margin: clamp(48px, 7vw, 88px) 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; border-radius: var(--r-lg); overflow: hidden; background: var(--line); border: 1px solid var(--line); }
.grid6 li { background: var(--bg); padding: clamp(24px, 3vw, 36px); display: grid; gap: 10px; align-content: start; }
.grid6 h3 { font-size: 21px; letter-spacing: -.02em; line-height: 1.2; }
.grid6 p { color: var(--muted); font-size: 16px; }
@media (max-width: 900px) { .grid6 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .grid6 { grid-template-columns: 1fr; } }
.agency-cta { text-align: center; margin-top: 40px; }

/* Invisible intelligence (always dark, a quiet stage) */
.smart { background: radial-gradient(70% 60% at 80% 0%, rgba(237, 169, 0, .12), transparent 60%), radial-gradient(60% 70% at 0% 100%, rgba(40, 110, 200, .25), transparent 60%), #03101f; color: #eef3f9; padding: clamp(96px, 14vw, 170px) 0; }
.smart .soft { color: #8fa3ba; }
.kicker-gold, :root .smart .kicker { color: var(--gold-soft); }
.smart-title { margin: 22px 0 clamp(48px, 7vw, 84px); max-width: 15em; }
.smart-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.smart-list li { padding: 26px 22px 28px; border-radius: var(--r-md); background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08); display: grid; gap: 12px; align-content: start;
  transition: background-color .3s, transform .4s var(--ease); }
.smart-list li:hover { background: rgba(255, 255, 255, .07); transform: translateY(-3px); }
.smart-list .n { font: 600 13px/1 var(--head); color: var(--gold); letter-spacing: .06em; }
.smart-list h3 { font-size: 22px; letter-spacing: -.02em; }
.smart-list p { font-size: 15.5px; color: #a9b8ca; }
.smart-foot { margin-top: 48px; font: 600 clamp(20px, 2vw, 24px)/1.3 var(--head); letter-spacing: -.02em; color: #fff; }
@media (max-width: 1060px) { .smart-list { grid-template-columns: repeat(2, 1fr); } .smart-list li:last-child { grid-column: 1 / -1; } }
@media (max-width: 560px) { .smart-list { grid-template-columns: 1fr; } }

/* Trust */
.trust { padding: clamp(96px, 13vw, 160px) 0 clamp(40px, 6vw, 80px); text-align: center; }
.trust-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 56px); margin-top: 48px; text-align: left; }
.trust-row h3 { font-size: 22px; margin-bottom: 10px; letter-spacing: -.02em; }
.trust-row h3::before { content: ""; display: block; width: 32px; height: 3px; border-radius: 3px; background: var(--gold); margin-bottom: 18px; }
.trust-row p { color: var(--muted); }
@media (max-width: 760px) { .trust-row { grid-template-columns: 1fr; } }

/* Get the app */
.get { padding: clamp(80px, 12vw, 150px) 0 clamp(96px, 13vw, 160px); }
.get-in { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 48px; align-items: center; padding: clamp(40px, 6vw, 80px); border-radius: 36px; overflow: hidden;
  background: radial-gradient(60% 80% at 100% 0%, var(--glow-a), transparent 60%), radial-gradient(60% 80% at 0% 100%, var(--glow-b), transparent 60%), var(--surface); box-shadow: var(--shadow-card); border: 1px solid var(--line); }
.get-copy { display: grid; gap: 22px; }
.get-copy .cta-row { justify-content: flex-start; margin-top: 6px; }
.get-qr, .dl-qr { display: grid; justify-items: center; gap: 14px; text-align: center; font-size: 14px; color: var(--muted); max-width: 220px; }
.get-qr img, .dl-qr img { border-radius: 18px; background: #fff; padding: 10px; box-shadow: var(--shadow-card); }
@media (max-width: 820px) { .get-in { grid-template-columns: 1fr; } }
.is-touch [data-desktop-only] { display: none; }

/* Download page */
.dl-main { position: relative; min-height: calc(100vh - 68px); overflow: hidden; }
.dl-in { display: grid; grid-template-columns: 1fr auto; gap: 56px; align-items: start; padding: clamp(40px, 8vw, 100px) 0 120px; }
.dl-copy { display: grid; gap: 22px; }
.dl-icon { width: 88px; height: 88px; border-radius: 22px; box-shadow: 0 20px 40px -20px rgba(6, 62, 115, .6); }
.dl-options { display: grid; gap: 14px; margin-top: 16px; max-width: 640px; }
.dl-opt { display: grid; gap: 10px; padding: 24px 26px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); justify-items: start; transition: box-shadow .3s; }
.dl-opt h2 { font-size: 22px; letter-spacing: -.02em; }
.dl-opt p { color: var(--muted); }
.dl-opt.mine { box-shadow: 0 0 0 2px var(--gold), var(--shadow-card); order: -1; }
.dl-opt.mine h2::after { content: "Your device"; margin-left: 10px; font: 600 12px/1 var(--body); letter-spacing: .04em; vertical-align: middle; color: #0a1a2c; background: var(--gold); padding: 4px 9px; border-radius: 999px; }
.dl-qr { position: sticky; top: 110px; max-width: 260px; padding: 28px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-card); }
@media (max-width: 860px) { .dl-in { grid-template-columns: 1fr; } }
.notfound { display: grid; gap: 22px; justify-items: center; text-align: center; padding: clamp(80px, 14vw, 180px) 0; }

/* Footer */
.foot { border-top: 1px solid var(--line); padding: 56px 0 28px; }
.foot-in { display: grid; grid-template-columns: 1fr auto auto; gap: 40px; align-items: start; }
.foot-brand { display: grid; gap: 10px; }
.foot-brand img { height: 30px; width: auto; }
.foot-brand p { color: var(--muted); font-size: 15px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 12px 28px; }
.foot-links a { text-decoration: none; color: var(--ink-2); font-size: 15px; }
.foot-links a:hover { color: var(--ink); }
.foot-base { display: flex; justify-content: space-between; align-items: center; margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.theme-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--ink-2); font: 500 14px var(--body); cursor: pointer; }
@media (max-width: 820px) { .foot-in { grid-template-columns: 1fr; } }

/* Reveal on scroll (only when scripts run and motion is welcome) */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }
[data-parallax] { will-change: translate; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .chip { opacity: 1; }
  .hero-link path { stroke-dashoffset: 0; }
}

/* Caregivers and families, side by side */
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding: clamp(56px, 8vw, 110px) 0 0; }
.pair-card { display: grid; gap: 22px; align-content: start; padding: clamp(28px, 4vw, 52px); border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-card); }
.pair-card .link-go { margin-top: 4px; }
.h3x { font-size: clamp(28px, 3vw, 40px); font-weight: 720; letter-spacing: -.035em; line-height: 1.06; text-wrap: balance; }
@media (max-width: 860px) { .pair { grid-template-columns: 1fr; } }
