/* CaseWay landing. Brand tokens from apps/mobile/src/design-system/tokens/colors.ts */
:root {
  --navy: #0A1A3F;
  --navy-deep: #06112B;
  --navy-bright: #0D2C86;
  --blue: #0A66E8;
  --blue-bright: #3D8BFF;
  --red: #E0182D;
  --silver: #C5CED9;
  --white: #FFFFFF;
  --bg: #F3F6FB;
  --surface: #FFFFFF;
  --sunken: #E9EEF6;
  --border: #E1E7F0;
  --text: #0E1A33;
  --text-2: #55627A;
  --text-3: #8A96AB;
  --green: #1E9E50;
  --green-soft: #E3F6EA;
  --accent-soft: #E6F0FE;

  --radius-s: 12px;
  --radius-m: 20px;
  --radius-l: 28px;
  --gutter: 16px;
  --max: 1180px;
  --header-h: 68px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --shadow: 0 1px 2px rgba(10, 26, 63, .06), 0 12px 32px -12px rgba(10, 26, 63, .18);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.1; letter-spacing: -0.025em; }
p { margin: 0; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
@media (min-width: 720px) { :root { --gutter: 32px; } }

.skip { position: absolute; left: -999px; top: 8px; background: var(--white); padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--blue-bright); outline-offset: 3px; border-radius: 6px; }

/* Header */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  color: var(--white);
  transition: background .4s var(--ease), box-shadow .4s var(--ease), color .4s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(243, 246, 251, .78);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  backdrop-filter: saturate(180%) blur(18px);
  box-shadow: 0 1px 0 rgba(10, 26, 63, .08);
  color: var(--text);
}
.header-row { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { border-radius: 9px; }
.wordmark { font-weight: 800; font-size: 21px; letter-spacing: -0.03em; }
.wordmark span { color: var(--blue-bright); }
.is-scrolled .wordmark span, .site-footer .wordmark span { color: var(--blue); }
.nav { display: none; gap: 28px; margin-left: 12px; }
.nav a { text-decoration: none; font-size: 15px; font-weight: 500; opacity: .82; transition: opacity .2s; }
.nav a:hover { opacity: 1; }
@media (min-width: 900px) { .nav { display: flex; } }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.lang { display: flex; padding: 3px; border-radius: 999px; background: rgba(255, 255, 255, .12); }
.is-scrolled .lang { background: var(--sunken); }
.lang button {
  font: inherit; font-size: 12px; font-weight: 700; letter-spacing: .02em; color: inherit;
  border: 0; background: none; padding: 6px 9px; border-radius: 999px; cursor: pointer; opacity: .7;
}
.lang button[aria-pressed="true"] { background: var(--white); color: var(--navy); opacity: 1; }
.is-scrolled .lang button[aria-pressed="true"] { background: var(--navy); color: var(--white); }
.btn-small { display: none; }
@media (min-width: 560px) { .btn-small { display: inline-flex; } }

.btn {
  align-items: center; justify-content: center; gap: 8px;
  padding: 10px 18px; border-radius: 999px; background: var(--blue); color: var(--white);
  font-weight: 600; font-size: 15px; text-decoration: none;
  transition: transform .25s var(--ease), background .25s;
}
.btn:hover { background: #0857C7; transform: translateY(-1px); }
.btn:active { transform: scale(.97); }

/* Hero */
.hero {
  position: relative; overflow: hidden; color: var(--white);
  background: radial-gradient(120% 90% at 85% 10%, var(--navy-bright) 0%, var(--navy) 45%, var(--navy-deep) 100%);
  padding: calc(var(--header-h) + 40px) 0 72px;
  min-height: min(100svh, 980px);
  display: flex; flex-direction: column; justify-content: center;
}
.hero-glow {
  position: absolute; width: 720px; height: 720px; right: -160px; top: 8%;
  background: radial-gradient(circle, rgba(61, 139, 255, .35), transparent 62%);
  filter: blur(10px); pointer-events: none;
}
.hero-road {
  position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: .55;
  -webkit-mask-image: linear-gradient(100deg, rgba(0, 0, 0, .18) 0%, rgba(0, 0, 0, .18) 42%, #000 72%);
  mask-image: linear-gradient(100deg, rgba(0, 0, 0, .18) 0%, rgba(0, 0, 0, .18) 42%, #000 72%);
}
.road { fill: none; stroke-linecap: round; stroke-dasharray: 2600; stroke-dashoffset: 2600; animation: draw 2.4s var(--ease) forwards; }
.road-blue { stroke: var(--blue); stroke-width: 54; animation-delay: .1s; }
.road-white { stroke: rgba(255, 255, 255, .9); stroke-width: 16; animation-delay: .25s; }
.road-red { stroke: var(--red); stroke-width: 46; animation-delay: .4s; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.hero-grid { position: relative; display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.1fr .9fr; gap: 32px; } }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14);
  font-size: 14px; font-weight: 500; color: rgba(255, 255, 255, .88);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: #3BD27A; box-shadow: 0 0 0 4px rgba(59, 210, 122, .2); }
.hero h1 { margin-top: 22px; font-size: clamp(40px, 7.2vw, 76px); font-weight: 800; letter-spacing: -0.04em; }
.hero h1 em { font-style: normal; display: block; background: linear-gradient(90deg, #6FA8FF, var(--white) 70%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(17px, 2vw, 20px); color: var(--text-2); max-width: 36em; }
.hero .lead { margin-top: 22px; color: rgba(255, 255, 255, .78); }
.hero-note { margin-top: 16px; font-size: 14px; color: rgba(255, 255, 255, .6); }

/* Store buttons */
.stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.store {
  position: relative; display: inline-flex; align-items: center; gap: 12px; min-width: 186px;
  padding: 10px 20px 10px 16px; border-radius: 14px; text-decoration: none;
  background: var(--white); color: var(--navy-deep); border: 1px solid transparent;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.store:hover { transform: translateY(-2px); box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .45); }
.store svg { width: 26px; height: 26px; flex: none; }
.store small { display: block; font-size: 11px; line-height: 1.2; opacity: .7; }
.store b { display: block; font-size: 19px; line-height: 1.15; letter-spacing: -0.02em; }
.store.is-soon { cursor: default; }
.store.is-soon:hover { transform: none; box-shadow: none; }
.store .soon {
  position: absolute; top: -9px; right: 10px; padding: 2px 8px; border-radius: 999px;
  background: var(--red); color: var(--white); font-size: 10px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
}
.store-dark { background: var(--navy-deep); color: var(--white); }

/* Phone */
.phone { position: relative; aspect-ratio: 1470 / 3000; }
.phone-screen {
  position: absolute; left: 5.102%; top: 2.2%; width: 89.796%; height: 95.6%;
  border-radius: 13% / 6%; overflow: hidden; background: var(--bg);
}
.phone-screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.phone-frame { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }

.hero-visual { position: relative; justify-self: center; width: min(78vw, 360px); perspective: 1400px; }
.hero-phone {
  transform: translateY(calc(var(--hp, 0) * -60px)) rotateX(calc(var(--hp, 0) * 10deg)) rotateY(calc(-8deg + var(--hp, 0) * 8deg));
  transform-style: preserve-3d; will-change: transform;
  filter: drop-shadow(0 40px 60px rgba(0, 0, 0, .45));
}
.float-card {
  position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px;
  background: rgba(255, 255, 255, .96); color: var(--text); border-radius: 16px; box-shadow: 0 20px 40px -12px rgba(0, 0, 0, .45);
  font-size: 14px; white-space: nowrap; animation: bob 6s ease-in-out infinite;
  transform: translateY(calc(var(--hp, 0) * var(--fy, -40px)));
}
.float-card b { display: block; font-size: 15px; letter-spacing: -0.01em; }
.fc-icon { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; color: var(--white); }
.fc-icon svg { width: 20px; height: 20px; }
.fc-purple { background: #7A4DDB; }
.fc-blue { background: var(--blue); }
.fc-green { background: #2DB563; }
.fc-1 { left: -18%; top: 22%; --fy: -90px; }
.fc-2 { right: -20%; top: 52%; animation-delay: -2s; --fy: -30px; }
.fc-3 { left: -12%; bottom: 10%; animation-delay: -4s; --fy: -120px; }
@media (max-width: 520px) {
  .fc-1 { left: -6%; } .fc-2 { right: -6%; } .fc-3 { left: -4%; }
  .float-card { font-size: 12px; padding: 8px 12px 8px 8px; } .fc-icon { width: 30px; height: 30px; }
}
@keyframes bob { 50% { translate: 0 -10px; } }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 600; }
.pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.pill-blue { background: var(--accent-soft); color: var(--blue); }
.pill-green { background: var(--green-soft); color: var(--green); }

.scroll-cue { position: absolute; left: 50%; bottom: 22px; width: 26px; height: 42px; margin-left: -13px; border: 2px solid rgba(255, 255, 255, .35); border-radius: 14px; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--white); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
@media (max-height: 760px), (max-width: 959px) { .scroll-cue { display: none; } }

/* Load-in */
.load { opacity: 0; transform: translateY(24px); animation: rise .9s var(--ease) forwards; animation-delay: calc(var(--d) * 110ms + 150ms); }
@keyframes rise { to { opacity: 1; transform: none; } }

/* Strip */
.strip { background: var(--navy-deep); color: rgba(255, 255, 255, .86); border-top: 1px solid rgba(255, 255, 255, .06); }
.marquee { overflow: hidden; padding: 18px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee-track span { display: inline-flex; align-items: center; gap: 28px; padding-right: 28px; font-weight: 600; font-size: 15px; white-space: nowrap; }
.marquee-track span::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--red); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Sections */
section { position: relative; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto; }
.kicker { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); }
.section-head h2, .duo-copy h2 { margin-top: 12px; font-size: clamp(32px, 5vw, 54px); font-weight: 800; letter-spacing: -0.035em; }
.section-head .lead { margin: 18px auto 0; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--rd, 0ms); }
.reveal.is-in { opacity: 1; transform: none; }

/* Story */
.story { padding: 112px 0 40px; }
.story-grid { display: grid; margin-top: 24px; }
.story-stage { position: sticky; top: var(--header-h); z-index: 2; height: 46svh; display: grid; place-items: center; background: var(--bg); }
.story-stage::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 40px; background: linear-gradient(var(--bg), rgba(243, 246, 251, 0)); pointer-events: none; }
.story-phone { height: calc(100% - 24px); aspect-ratio: 1470 / 3000; position: relative; }
.story-screens img { opacity: 0; transform: translateY(6%) scale(.96); transition: opacity .6s var(--ease), transform .8s var(--ease); }
.story-screens img.is-before { transform: translateY(-6%) scale(.96); }
.story-screens img.is-active { opacity: 1; transform: none; }
.story-dots { display: none; }
.story-steps { list-style: none; margin: 0; padding: 0 0 20svh; }
.step { min-height: 56svh; padding: 48px 0 28px; display: flex; flex-direction: column; justify-content: flex-start; opacity: .28; transition: opacity .5s var(--ease); }
.step.is-active { opacity: 1; }
.step-num { font-size: 13px; font-weight: 800; color: var(--blue); letter-spacing: .1em; }
.step h3 { margin-top: 10px; font-size: clamp(26px, 3.4vw, 40px); font-weight: 800; letter-spacing: -0.03em; }
.step p { margin-top: 14px; font-size: 18px; color: var(--text-2); max-width: 30em; }
@media (min-width: 900px) {
  .story-grid { grid-template-columns: 1fr 1fr; gap: 64px; margin-top: 0; }
  .story-stage { order: 2; height: calc(100svh - var(--header-h)); background: none; }
  .story-stage::after { display: none; }
  .story-phone { height: min(76svh, 720px); }
  .story-steps { padding: 18svh 0 26svh; }
  .step { min-height: 72svh; justify-content: center; }
  .story-dots { display: flex; flex-direction: column; gap: 10px; position: absolute; right: -36px; top: 50%; transform: translateY(-50%); list-style: none; margin: 0; padding: 0; }
  .story-dots li { width: 8px; height: 8px; border-radius: 50%; background: var(--silver); transition: height .4s var(--ease), background .4s; }
  .story-dots li.is-active { height: 28px; border-radius: 4px; background: var(--blue); }
}

/* iPhone Duo */
.duo { height: 520svh; background: radial-gradient(110% 70% at 70% 40%, #12306F 0%, var(--navy) 50%, var(--navy-deep) 100%); color: var(--white); }
.duo-sticky { position: sticky; top: 0; height: 100svh; overflow: hidden; display: flex; align-items: center; padding-top: var(--header-h); }
.duo-grid { display: grid; gap: 20px; align-items: center; }
@media (min-width: 1000px) { .duo-grid { grid-template-columns: 380px 1fr; gap: 48px; } }
.badge-new { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: rgba(255, 255, 255, .86); }
.badge-new span { padding: 3px 9px; border-radius: 999px; background: var(--red); color: var(--white); font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.duo-copy h2 { margin-top: 10px; font-size: clamp(30px, 4.4vw, 52px); }
.duo-copy .lead { margin-top: 14px; color: rgba(255, 255, 255, .74); }
.duo-steps { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 4px; }
.duo-steps li { padding: 12px 0 12px 18px; border-left: 2px solid rgba(255, 255, 255, .14); opacity: .42; transition: opacity .4s var(--ease), border-color .4s var(--ease); }
.duo-steps li.is-active { opacity: 1; border-color: var(--blue-bright); }
.duo-steps b { display: block; font-size: 17px; }
.duo-steps span { display: block; font-size: 15px; color: rgba(255, 255, 255, .72); }
@media (max-width: 999px) {
  .duo-sticky { align-items: flex-start; padding-top: calc(var(--header-h) + 12px); }
  .duo-copy .lead { display: none; }
  .duo-copy h2 { font-size: clamp(28px, 7vw, 40px); }
  .duo-steps { margin-top: 12px; min-height: 76px; position: relative; }
  .duo-steps li { position: absolute; inset: 0 auto auto 0; opacity: 0; transform: translateY(8px); transition: opacity .4s var(--ease), transform .4s var(--ease); }
  .duo-steps li.is-active { opacity: 1; transform: none; }
}

.duo-visual { position: relative; perspective: 2200px; display: flex; flex-direction: column; align-items: center; }
/* The open device is the bezel image's aspect: 3093 × 2247; each half is 50 %. */
.duo-device {
  --open: 0; --tilt: 1; --closed-scale: 1.1;
  position: relative; width: min(100%, 780px, calc((100svh - var(--header-h) - 120px) * 1.376));
  aspect-ratio: 3093 / 2247; transform-style: preserve-3d;
  transform: translateX(calc(-25% * (1 - var(--open)))) rotateX(calc(var(--tilt) * 10deg)) rotateY(calc(var(--tilt) * -16deg)) scale(calc(var(--closed-scale) + (1 - var(--closed-scale)) * var(--open)));
  filter: drop-shadow(0 50px 70px rgba(0, 0, 0, .5));
}
@media (max-width: 999px) {
  .duo-device { --closed-scale: 1.45; width: min(100%, calc((100svh - var(--header-h) - 300px) * 1.376)); }
  .duo-sticky > .wrap { height: 100%; }
  .duo-grid { grid-template-rows: auto 1fr; height: 100%; padding-bottom: 24px; }
  .duo-visual { justify-content: center; }
  .duo-hint { margin-top: 56px; }
}
.duo-half { position: absolute; top: 0; width: 50%; height: 100%; transform-style: preserve-3d; }
.duo-right { right: 0; }
.duo-left { left: 0; transform-origin: 100% 50%; transform: rotateY(calc((1 - var(--open)) * 180deg)); }
.duo-face { position: absolute; inset: 0; -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.duo-back { transform: rotateY(180deg) translateZ(1px); display: grid; place-items: center; }
.duo-frame { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
/* Half bezel 1546 × 2247: screen starts 120 px in from the outer edge and ends at the hinge. */
.duo-screen { position: absolute; top: 5.34%; height: 89.32%; width: 92.24%; overflow: hidden; background: var(--bg); }
.duo-screen-l { left: 7.76%; border-radius: 9% 0 0 9% / 6.5% 0 0 6.5%; }
.duo-screen-r { left: 0; border-radius: 0 9% 9% 0 / 0 6.5% 6.5% 0; }
.duo-screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .5s var(--ease); }
.duo-screen img.is-active { opacity: 1; }
.duo-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, .55)); opacity: calc(1 - var(--open)); pointer-events: none; }
/* Outer bezel 1574 × 2194, screen 88,80 at 1398 × 2034. */
.duo-outer { position: relative; height: 96%; aspect-ratio: 1574 / 2194; }
.duo-outer-screen { position: absolute; left: 5.59%; top: 3.65%; width: 88.82%; height: 92.71%; border-radius: 11% / 7.6%; overflow: hidden; background: var(--bg); }
.duo-outer-screen img { width: 100%; height: 100%; object-fit: cover; }
.duo-hint { margin-top: 22px; font-size: 14px; font-weight: 600; color: rgba(255, 255, 255, .7); display: inline-flex; align-items: center; gap: 8px; transition: opacity .4s; }
.duo-hint.is-hidden { opacity: 0; }
.chev { width: 9px; height: 9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); animation: nudge 1.6s ease-in-out infinite; }
@keyframes nudge { 50% { translate: 0 4px; } }

/* Bento */
.bento-section { padding: 120px 0 60px; }
.bento { margin-top: 48px; display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) {
  .bento { grid-template-columns: repeat(6, 1fr); grid-auto-rows: minmax(220px, auto); }
  .card-bulletin { grid-column: span 4; }
  .card-civics { grid-column: span 2; }
  .card-privacy { grid-column: span 2; grid-row: span 2; }
  .card-timeline { grid-column: span 4; }
  .card-sources { grid-column: span 2; }
  .card-langs { grid-column: span 2; }
  .card-honest { grid-column: span 6; }
}
.card {
  position: relative; overflow: hidden; padding: 28px; border-radius: var(--radius-l);
  background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), opacity .9s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: 0 2px 4px rgba(10, 26, 63, .06), 0 24px 48px -16px rgba(10, 26, 63, .24); }
.card h3 { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; }
.card > p { margin-top: 10px; color: var(--text-2); font-size: 16px; max-width: 34em; }
.card-dark { background: linear-gradient(160deg, var(--navy-bright), var(--navy-deep)); color: var(--white); border-color: transparent; }
.card-dark > p { color: rgba(255, 255, 255, .75); }
.card-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: rgba(255, 255, 255, .12); margin-bottom: 22px; }
.card-icon svg { width: 28px; height: 28px; }
.card-privacy { display: flex; flex-direction: column; justify-content: flex-end; min-height: 280px; }
.card-privacy::before { content: ""; position: absolute; width: 360px; height: 360px; right: -140px; top: -140px; border-radius: 50%; background: radial-gradient(circle, rgba(61, 139, 255, .45), transparent 65%); }
.card-privacy .card-icon { position: absolute; top: 28px; left: 28px; }

.mini { margin-top: 24px; }
.mini-bulletin { padding: 18px; border-radius: var(--radius-m); background: var(--bg); border: 1px solid var(--border); }
.mb-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.mb-head b { font-size: 20px; }
.mb-head span { font-size: 13px; color: var(--text-3); }
.mb-bar { position: relative; margin: 16px 0; height: 10px; border-radius: 999px; background: var(--sunken); }
.mb-bar i { position: absolute; inset: 0 auto 0 0; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--blue), var(--blue-bright)); transition: width 1.6s var(--ease) .3s; }
.mb-bar em { position: absolute; top: 50%; left: 72%; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%; background: var(--red); border: 3px solid var(--white); box-shadow: 0 2px 6px rgba(0, 0, 0, .2); transform: scale(0); transition: transform .5s var(--ease) 1.6s; }
.is-in .mb-bar i { width: 84%; }
.is-in .mb-bar em { transform: scale(1); }
.mb-pills { display: flex; flex-wrap: wrap; gap: 8px; }

.card-civics { display: flex; flex-direction: column; justify-content: flex-end; background: linear-gradient(160deg, #FFFFFF, #EEF4FF); }
.card .big-num { font-size: clamp(72px, 9vw, 104px); font-weight: 800; line-height: .9; letter-spacing: -0.06em; background: linear-gradient(135deg, var(--blue), var(--navy-bright)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.card-civics h3 { margin-top: 8px; }

.mini-timeline { list-style: none; padding: 0; position: relative; }
.mini-timeline::before { content: ""; position: absolute; left: 8px; top: 10px; bottom: 10px; width: 2px; background: var(--blue); transform-origin: top; transform: scaleY(0); transition: transform 1.2s var(--ease) .2s; }
.is-in .mini-timeline::before { transform: scaleY(1); }
.mini-timeline li { position: relative; padding: 0 0 16px 34px; opacity: 0; transform: translateX(-10px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.mini-timeline li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; border: 3px solid var(--blue); background: var(--white); box-sizing: border-box; }
.is-in .mini-timeline li { opacity: 1; transform: none; }
.is-in .mini-timeline li:nth-child(2) { transition-delay: .25s; }
.is-in .mini-timeline li:nth-child(3) { transition-delay: .5s; }
.mini-timeline time { display: block; font-size: 13px; color: var(--text-3); }
.mini-timeline b { font-size: 16px; }

.source-tags { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.source-tags li { padding: 6px 12px; border-radius: 999px; background: var(--sunken); font-size: 13px; font-weight: 600; color: var(--text-2); }
.lang-bubbles { margin-top: 22px; display: flex; gap: 8px; flex-wrap: wrap; }
.lang-bubbles span { padding: 8px 14px; border-radius: 18px 18px 18px 6px; font-weight: 700; font-size: 15px; background: var(--accent-soft); color: var(--blue); }
.lang-bubbles span:nth-child(2) { background: #FDE8EA; color: var(--red); }
.lang-bubbles span:nth-child(3) { background: var(--navy); color: var(--white); }
.card-honest { background: var(--navy); color: var(--white); border-color: transparent; display: grid; gap: 10px; }
@media (min-width: 1040px) { .card-honest { grid-template-columns: 1fr 1.4fr; align-items: center; gap: 40px; padding: 36px 40px; } .card-honest > p { margin: 0; } }
.card-honest h3 { font-size: clamp(24px, 2.6vw, 32px); }
.card-honest > p { color: rgba(255, 255, 255, .75); }

/* Plans */
.plans-section { padding: 100px 0; }
.plans { margin-top: 48px; display: grid; gap: 16px; }
@media (min-width: 900px) { .plans { grid-template-columns: repeat(3, 1fr); align-items: stretch; } }
.plan { position: relative; padding: 30px 28px; border-radius: var(--radius-l); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); }
.plan h3 { font-size: 26px; font-weight: 800; }
.plan-tag { margin-top: 4px; color: var(--text-2); font-size: 15px; }
.plan ul { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.plan li { position: relative; padding-left: 30px; font-size: 16px; }
.plan li::before { content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.6 2.6L14 7.6' fill='none' stroke='%230A66E8' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat; }
.plan-pro { background: linear-gradient(165deg, var(--navy-bright), var(--navy-deep)); color: var(--white); border-color: transparent; }
.plan-pro .plan-tag { color: rgba(255, 255, 255, .7); }
.plan-pro li::before { background-color: rgba(255, 255, 255, .14); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.6 2.6L14 7.6' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.plan-badge { position: absolute; top: 28px; right: 24px; padding: 4px 10px; border-radius: 999px; background: var(--red); font-size: 12px; font-weight: 700; }
.plans-note { margin: 28px auto 0; max-width: 40em; text-align: center; font-size: 14px; color: var(--text-3); }

/* FAQ */
.faq-section { padding: 60px 0 110px; }
.faq-grid { display: grid; gap: 36px; }
@media (min-width: 960px) { .faq-grid { grid-template-columns: 1fr 1.5fr; gap: 64px; align-items: start; } .faq-grid .section-head { text-align: left; position: sticky; top: calc(var(--header-h) + 32px); } }
.faq { display: grid; gap: 12px; }
.faq details { border-radius: var(--radius-m); background: var(--surface); border: 1px solid var(--border); padding: 0 22px; transition: box-shadow .3s var(--ease); }
.faq details[open] { box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 32px 20px 0; position: relative; font-weight: 600; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 4px; top: 50%; width: 10px; height: 10px; margin-top: -7px; border-right: 2px solid var(--text-3); border-bottom: 2px solid var(--text-3); transform: rotate(45deg); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { padding: 0 0 22px; color: var(--text-2); font-size: 16px; }

/* CTA */
.cta { padding: 110px 0; background: radial-gradient(90% 120% at 50% 0%, var(--navy-bright), var(--navy-deep) 70%); color: var(--white); text-align: center; overflow: hidden; }
.cta-inner { display: flex; flex-direction: column; align-items: center; }
.cta img { border-radius: 22px; box-shadow: 0 20px 50px -10px rgba(0, 0, 0, .55); }
.cta h2 { margin-top: 28px; font-size: clamp(34px, 5.4vw, 60px); font-weight: 800; letter-spacing: -0.04em; }
.cta .lead { margin-top: 14px; color: rgba(255, 255, 255, .75); }
.cta .stores { justify-content: center; }

/* Footer */
.site-footer { padding: 40px 0 48px; background: var(--navy-deep); color: rgba(255, 255, 255, .7); font-size: 14px; }
.disclaimer { max-width: 60em; padding-bottom: 28px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; padding-top: 24px; }
.site-footer .brand { color: var(--white); }
.site-footer .wordmark { font-size: 18px; }
.site-footer .wordmark span { color: var(--blue-bright); }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--white); }
.copy { margin-left: auto; }

/* Reduced motion: everything visible, no scroll choreography */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .load, .reveal { opacity: 1; transform: none; }
  .road { stroke-dashoffset: 0; }
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .duo-sticky { height: auto; padding: 120px 0; }
  .duo-steps { min-height: 0; }
  .duo-steps li { position: static; opacity: 1; transform: none; }
}

/* Consent banner */
.consent {
  position: fixed; left: var(--gutter); right: var(--gutter); bottom: 16px; z-index: 60; max-width: 560px; margin: 0 auto;
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; padding: 16px 18px;
  border-radius: var(--radius-m); background: rgba(6, 17, 43, .94); color: rgba(255, 255, 255, .88);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: 0 20px 50px -12px rgba(0, 0, 0, .5);
  font-size: 14px; animation: rise .5s var(--ease) both;
}
.consent p { flex: 1 1 260px; }
.consent a { color: var(--white); }
.consent-actions { display: flex; gap: 8px; margin-left: auto; }
.consent button { font: inherit; font-weight: 600; padding: 8px 16px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .25); background: none; color: var(--white); cursor: pointer; }
.consent button.is-primary { background: var(--blue); border-color: var(--blue); }

/* Legal and support pages */
.legal-header { background: var(--navy-deep); }
.legal-header .site-header { position: static; }
.legal { padding: 48px 0 96px; }
.legal .wrap { max-width: 780px; }
.legal h1 { font-size: clamp(32px, 5vw, 48px); font-weight: 800; letter-spacing: -0.035em; }
.legal .updated { margin-top: 10px; color: var(--text-3); font-size: 14px; }
.legal h2 { margin-top: 40px; font-size: 22px; font-weight: 700; letter-spacing: -0.02em; }
.legal h3 { margin-top: 24px; font-size: 17px; font-weight: 700; }
.legal p, .legal li { color: var(--text-2); font-size: 16px; }
.legal p { margin-top: 12px; }
.legal ul { margin: 12px 0 0; padding-left: 22px; display: grid; gap: 8px; }
.legal a { color: var(--blue); }
.legal strong { color: var(--text); }
.legal .callout { margin-top: 24px; padding: 18px 20px; border-radius: var(--radius-m); background: var(--surface); border: 1px solid var(--border); }
.legal table { width: 100%; margin-top: 16px; border-collapse: collapse; font-size: 15px; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--border); color: var(--text-2); }
.legal th { color: var(--text); font-weight: 600; }
.legal-table { overflow-x: auto; }
.legal [data-locale] { display: none; }
.legal [data-locale].is-shown { display: block; }
.support-mail { display: inline-flex; margin-top: 16px; }
.legal a.btn { color: var(--white); }
.legal .callout p { margin-top: 0; }
