/* Flitskaart landing. Tokens follow design/colors_and_type.css (Arcade, dark theme). */
:root {
  --bg: #0B0B10;
  --bg-2: #101018;
  --card: #12121A;
  --card-2: #171722;
  --border: #262633;
  --ink: #FFFFFF;
  --ink-2: #C5C7D3;
  --ink-3: #8B8BA3;
  --lime: #C6FF3D;
  --lime-soft: rgba(198, 255, 61, 0.12);
  --again: #FF4D6D;
  --hard: #FFB020;
  --easy: #3DD6FF;
  --violet: #B48CFF;
  --gold: #FFD24A;
  --font: "Space Grotesk", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --hand: "Caveat", "Bradley Hand", cursive;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1200px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -0.035em; line-height: 1.02; }
h2 { font-size: clamp(38px, 6vw, 76px); }
h2 em, h1 em { font-style: normal; color: var(--lime); }
h3 { font-size: 24px; letter-spacing: -0.02em; line-height: 1.15; }
p { margin: 0; }
.mono { font-family: var(--mono); }
.dim { color: var(--ink-3); }
.lime { color: var(--lime); }
::selection { background: var(--lime); color: var(--bg); }

.pip { display: inline-block; width: 6px; height: 14px; background: var(--lime); border-radius: 1px; margin-right: 10px; vertical-align: -2px; box-shadow: 0 0 12px var(--lime); }
.eyebrow { font-family: var(--mono); font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 22px; }

/* Buttons */
.btn {
  --h: 56px;
  display: inline-flex; align-items: center; gap: 10px;
  height: var(--h); padding: 0 24px; border-radius: 16px;
  font: 600 17px/1 var(--font); text-decoration: none; letter-spacing: -0.01em;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
  will-change: transform;
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--lime); color: var(--bg); box-shadow: 0 0 0 0 var(--lime), 0 10px 40px -10px rgba(198,255,61,.6); }
.btn-primary:hover { box-shadow: 0 0 0 4px rgba(198,255,61,.18), 0 18px 50px -10px rgba(198,255,61,.8); transform: translateY(-2px); }
.btn-ghost { color: var(--ink); border: 1px solid var(--border); background: rgba(255,255,255,.02); }
.btn-ghost:hover { border-color: var(--ink-3); transform: translateY(-2px); }
.btn-dark { background: var(--bg); color: var(--lime); }
.btn-dark:hover { transform: translateY(-2px); box-shadow: 0 20px 40px -12px rgba(0,0,0,.5); }
.btn-small { --h: 40px; padding: 0 16px; font-size: 15px; border-radius: 12px; background: var(--lime); color: var(--bg); }

/* Nav */
.nav {
  position: fixed; inset: 12px var(--gutter) auto; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  max-width: var(--max); margin: 0 auto; padding: 8px 8px 8px 14px;
  border-radius: 18px; border: 1px solid transparent;
  transition: background .3s, border-color .3s, backdrop-filter .3s;
}
.nav.is-scrolled { background: rgba(11,11,16,.72); border-color: var(--border); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 19px; letter-spacing: -0.02em; text-decoration: none; }
.brand img { border-radius: 9px; }
.nav-links { display: flex; gap: 28px; font-size: 15px; color: var(--ink-2); }
.nav-links a { text-decoration: none; transition: color .2s; }
.nav-links a:hover { color: var(--lime); }

/* Hero */
.hero {
  position: relative; min-height: 100svh;
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(340px, .85fr); align-items: center; gap: 40px;
  max-width: var(--max); margin: 0 auto; padding: 120px var(--gutter) 80px;
}
.hero-glow {
  position: absolute; inset: -20% -30% auto auto; width: 900px; height: 900px; pointer-events: none;
  background: radial-gradient(closest-side, rgba(198,255,61,.16), transparent 70%);
  filter: blur(20px); z-index: -1;
}
.sparkfield { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: -1; }
.hero-title { font-size: clamp(52px, 6.8vw, 104px); letter-spacing: -0.055em; line-height: .92; margin-bottom: 28px; }
.hero-title .line { display: block; white-space: nowrap; }
.rotator { display: inline-grid; color: var(--ink-2); vertical-align: bottom; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; color: var(--ink-2); }
.rotator > span { grid-area: 1 / 1; display: inline-block; }
.flash { color: var(--lime); text-shadow: 0 0 40px rgba(198,255,61,.45); display: inline-block; }
.hero-sub { font-size: clamp(18px, 1.6vw, 21px); color: var(--ink-2); max-width: 30em; margin-bottom: 36px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-ctas.center { justify-content: center; }
.hero-hint { margin-top: 28px; font-size: 13px; color: var(--ink-3); letter-spacing: .12em; }

/* Deck */
.deck-wrap { position: relative; width: min(100%, 400px); justify-self: center; }
.deck-meta { display: flex; justify-content: space-between; font-size: 12px; letter-spacing: .14em; color: var(--ink-2); margin-bottom: 14px; padding: 0 4px; }
.deck-meta #deck-count { color: var(--ink-3); letter-spacing: .04em; }
.deck { position: relative; aspect-ratio: 4 / 5; perspective: 1400px; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.card {
  position: absolute; inset: 0; cursor: grab;
  transform-style: preserve-3d; will-change: transform;
}
.card:active { cursor: grabbing; }
.card-inner { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform .6s var(--ease); }
.card.is-flipped .card-inner { transform: rotateY(180deg); }
.face {
  position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; text-align: center; padding: 32px;
  border-radius: 28px; overflow: hidden; overflow-wrap: anywhere; background: linear-gradient(180deg, #161620, #111118); border: 1px solid var(--border);
  box-shadow: 0 0 0 1px rgba(198,255,61,.06), 0 40px 80px -20px rgba(0,0,0,.8), inset 0 1px 0 rgba(255,255,255,.05);
}
.face-back { transform: rotateY(180deg); }
.face .kind { position: absolute; top: 22px; left: 24px; font: 500 11px/1 var(--mono); letter-spacing: .16em; color: var(--ink-3); text-transform: uppercase; }
.face .tapme { position: absolute; bottom: 22px; font: 400 12px/1 var(--mono); color: var(--ink-3); letter-spacing: .08em; }
.card:not(:first-child) .tapme, .card:not(:first-child) .kind { opacity: 0; }
.face .q { font-size: clamp(30px, 4vw, 40px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; }
.face-back .q { font-size: 22px; color: var(--ink-2); font-weight: 500; }
.face .rule { width: 70%; height: 1px; background: linear-gradient(90deg, transparent, var(--border), transparent); }
.face .a { font-size: clamp(34px, 4.6vw, 48px); font-weight: 700; color: var(--lime); letter-spacing: -0.03em; line-height: 1.05; text-shadow: 0 0 26px rgba(198,255,61,.5); }
.face .a.long { font-size: 24px; line-height: 1.25; }
.stamp {
  position: absolute; top: 26px; padding: 6px 12px; border-radius: 10px; font: 700 14px/1 var(--mono); letter-spacing: .12em; opacity: 0; pointer-events: none;
  border: 2px solid currentColor; transform: rotate(-10deg); backface-visibility: hidden;
}
.stamp-good { right: 22px; color: var(--lime); transform: rotate(10deg); }
.stamp-again { left: 22px; color: var(--again); }

.deck-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 64px; }
.rate {
  display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 16px 10px; border-radius: 18px;
  background: var(--card); color: var(--ink); font: 600 17px/1 var(--font); cursor: pointer; border: 1.5px solid;
  transition: transform .2s var(--ease), box-shadow .2s, background .2s;
}
.rate .mono { font-size: 13px; font-weight: 400; }
.rate-again { border-color: var(--again); box-shadow: 0 10px 30px -14px var(--again); }
.rate-again .mono { color: var(--again); }
.rate-good { border-color: var(--lime); box-shadow: 0 10px 30px -14px var(--lime); }
.rate-good .mono { color: var(--lime); }
.rate:hover { transform: translateY(-2px); }
.rate:active { transform: scale(.96); }
.rate-again:hover { background: rgba(255,77,109,.08); }
.rate-good:hover { background: var(--lime-soft); }

/* Marquee */
.marquee { padding: 40px 0 60px; overflow: hidden; transform: rotate(-3deg); margin: 0 -40px; }
.marquee-row { display: flex; gap: 14px; width: max-content; margin-bottom: 14px; will-change: transform; }
.mcard {
  display: inline-flex; align-items: center; gap: 14px; padding: 16px 22px; border-radius: 16px; white-space: nowrap;
  background: var(--card); border: 1px solid var(--border); font-size: 20px; font-weight: 600; letter-spacing: -0.01em;
}
.mcard .arrow { color: var(--ink-3); font-family: var(--mono); font-weight: 400; }
.mcard .ans { color: var(--c, var(--lime)); }
.mcard .tag { font: 500 11px/1 var(--mono); letter-spacing: .14em; color: var(--ink-3); text-transform: uppercase; padding: 5px 8px; border-radius: 6px; background: rgba(255,255,255,.04); }

/* Sections */
.section { max-width: var(--max); margin: 0 auto; padding: clamp(90px, 12vw, 160px) var(--gutter); }
.section-head { max-width: 760px; }
.section-head.center { margin: 0 auto; text-align: center; }
.section-head .lede { margin-top: 28px; font-size: clamp(18px, 1.5vw, 20px); color: var(--ink-2); max-width: 36em; }

/* Photo */
.photo-stage {
  position: relative; margin-top: 80px;
  display: grid; grid-template-columns: 1fr auto 1fr auto; align-items: center; gap: clamp(16px, 3vw, 40px);
}
.paper {
  position: relative; padding: 30px 30px 36px; border-radius: 6px; color: #23243a;
  background:
    repeating-linear-gradient(180deg, transparent 0 37px, rgba(60,110,200,.18) 37px 38px),
    linear-gradient(180deg, #FBFAF4, #F1EFE4);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.7), 0 0 0 1px rgba(0,0,0,.05);
  transform: rotate(-4deg); overflow: hidden;
}
.paper::before { content: ""; position: absolute; top: 0; bottom: 0; left: 46%; width: 1px; background: rgba(224,23,63,.35); }
.paper-head { font: 700 30px/1 var(--hand); margin-bottom: 14px; color: #1d2d6b; }
.paper-list { list-style: none; margin: 0; padding: 0; font: 500 27px/38px var(--hand); }
.paper-list li { display: grid; grid-template-columns: 46% 1fr; }
.paper-list li span:last-child { padding-left: 14px; }
.paper-list li.is-read span { background: linear-gradient(transparent 60%, rgba(198,255,61,.75) 60%); }
.scanline {
  position: absolute; left: 0; right: 0; top: 0; height: 70px; pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(198,255,61,.35) 85%, var(--lime) 100%);
  border-bottom: 2px solid var(--lime); box-shadow: 0 6px 24px var(--lime); opacity: 0; transform: translateY(-80px);
}
.corner { position: absolute; width: 26px; height: 26px; border: 3px solid var(--lime); opacity: 0; transition: opacity .4s; }
.photo-stage.is-scanning .corner { opacity: 1; }
.c1 { top: 10px; left: 10px; border-right: 0; border-bottom: 0; border-radius: 8px 0 0 0; }
.c2 { top: 10px; right: 10px; border-left: 0; border-bottom: 0; border-radius: 0 8px 0 0; }
.c3 { bottom: 10px; left: 10px; border-right: 0; border-top: 0; border-radius: 0 0 0 8px; }
.c4 { bottom: 10px; right: 10px; border-left: 0; border-top: 0; border-radius: 0 0 8px 0; }
.arrow-flow svg { width: 70px; height: 24px; fill: none; stroke: var(--lime); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 8px var(--lime)); }
.chips { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.chips-head { display: flex; justify-content: space-between; align-items: center; font-size: 12px; letter-spacing: .16em; color: var(--ink-3); margin-bottom: 4px; }
.badge-lime { background: var(--lime); color: var(--bg); padding: 6px 10px; border-radius: 8px; font-size: 12px; letter-spacing: 0; font-weight: 500; }
.chip {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 14px 18px; border-radius: 14px; background: var(--card); border: 1px solid var(--border);
}
.chip b { font-size: 18px; font-weight: 600; }
.chip span { font-size: 15px; color: var(--lime); }
.phone {
  position: relative; border-radius: 44px; padding: 9px; background: linear-gradient(145deg, #2a2a35, #0c0c12 40%, #22222c);
  box-shadow: 0 0 0 1px #34343f, 0 50px 100px -30px rgba(0,0,0,.9), 0 0 120px -40px rgba(198,255,61,.35);
}
.phone img { border-radius: 36px; width: 100%; }
.phone-photo { width: clamp(200px, 20vw, 260px); }

/* Repeat */
.repeat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.intervals { list-style: none; padding: 0; margin: 36px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.intervals li { display: flex; flex-direction: column; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--border); background: var(--card); font-size: 14px; }
.intervals li b { color: var(--lime); font-weight: 500; }
.intervals li span { font-size: 11px; color: var(--ink-3); letter-spacing: .06em; }
.intervals li:first-child b { color: var(--again); }
.curve-card { margin: 0; padding: 28px; border-radius: 28px; background: var(--card); border: 1px solid var(--border); box-shadow: 0 40px 80px -30px rgba(0,0,0,.8); }
.curve-card figcaption { display: flex; justify-content: space-between; font-size: 11px; letter-spacing: .16em; color: var(--ink-3); margin-bottom: 12px; }
.curve { width: 100%; height: auto; overflow: visible; }
.curve .grid line { stroke: var(--border); stroke-dasharray: 3 6; }
.curve .forget { fill: none; stroke: var(--ink-3); stroke-width: 2.5; stroke-dasharray: 6 8; opacity: .7; }
.curve .remember { fill: none; stroke: var(--lime); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 10px rgba(198,255,61,.7)); }
.curve .area { fill: url(#fade); }
.curve .dots circle { fill: var(--bg); stroke: var(--lime); stroke-width: 3; }
.legend { display: flex; gap: 20px; margin-top: 14px; font-size: 12px; color: var(--ink-2); }
.legend i { display: inline-block; width: 18px; height: 3px; border-radius: 2px; margin-right: 8px; vertical-align: middle; }
.l-lime { background: var(--lime); box-shadow: 0 0 8px var(--lime); }
.l-dim { background: repeating-linear-gradient(90deg, var(--ink-3) 0 5px, transparent 5px 9px); }

/* Showcase */
.showcase { position: relative; height: 320vh; }
.showcase-sticky {
  position: sticky; top: 0; height: 100svh; overflow: hidden;
  display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 40px;
  max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter);
}
.showcase-steps { position: relative; min-height: 420px; }
.step { position: absolute; inset: 0 0 auto 0; opacity: 0; transform: translateY(30px); transition: opacity .6s var(--ease), transform .6s var(--ease); pointer-events: none; }
.step.is-active { opacity: 1; transform: none; pointer-events: auto; }
.step h3 { font-size: clamp(40px, 5.4vw, 68px); letter-spacing: -0.045em; line-height: 1; margin-bottom: 24px; }
.step p:not(.eyebrow) { font-size: 19px; color: var(--ink-2); max-width: 28em; }
.step .eyebrow { color: var(--lime); }
.step-dots { position: absolute; bottom: 0; left: 0; display: flex; gap: 8px; }
.step-dots i { width: 28px; height: 4px; border-radius: 2px; background: var(--border); transition: background .4s, width .4s; }
.step-dots i.on { background: var(--lime); width: 48px; }
.showcase-phone { position: relative; justify-self: center; }
.phone-big { width: clamp(240px, 26vw, 330px); aspect-ratio: 900 / 1955; }
.phone-big .screen { position: absolute; inset: 9px; width: calc(100% - 18px); height: calc(100% - 18px); object-fit: cover; opacity: 0; transform: scale(1.04); transition: opacity .6s var(--ease), transform .8s var(--ease); }
.phone-big .screen.is-on { opacity: 1; transform: none; }
.orbit svg { position: absolute; fill: var(--lime); filter: drop-shadow(0 0 12px var(--lime)); }
.orbit svg:nth-child(1) { width: 46px; height: 46px; top: 8%; left: -60px; }
.orbit svg:nth-child(2) { width: 26px; height: 26px; top: 2%; left: -10px; }
.orbit svg:nth-child(3) { width: 34px; height: 34px; bottom: 12%; right: -56px; }

/* Progress */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 70px auto 16px; max-width: 900px; }
.stat { padding: 28px; border-radius: 24px; background: var(--card); border: 1px solid var(--border); }
.stat-num { font: 700 clamp(44px, 6vw, 72px)/1 var(--mono); letter-spacing: -0.04em; display: flex; align-items: center; gap: 10px; }
.stat-num .flame { font-size: .7em; }
.stat-label { margin-top: 14px; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3); }
.heat-card { max-width: 900px; margin: 0 auto; padding: 28px; border-radius: 24px; background: var(--card); border: 1px solid var(--border); }
.heat-head { display: flex; justify-content: space-between; align-items: baseline; font-size: 22px; font-weight: 600; margin-bottom: 22px; }
.heat-head .mono { font-size: 13px; font-weight: 400; }
.heatmap { display: grid; grid-template-columns: repeat(26, 1fr); grid-template-rows: repeat(7, 1fr); grid-auto-flow: column; gap: 5px; }
.heatmap i { aspect-ratio: 1; border-radius: 5px; background: #1E1E2A; }
.heatmap i.h1 { background: #3d5216; }
.heatmap i.h2 { background: #6E8F22; }
.heatmap i.h3 { background: var(--lime); box-shadow: 0 0 16px rgba(198,255,61,.55); }
.heat-legend { display: flex; justify-content: flex-end; align-items: center; gap: 6px; margin-top: 16px; font-size: 11px; letter-spacing: .16em; color: var(--ink-3); }
.heat-legend i { width: 14px; height: 14px; border-radius: 4px; }
.heat-legend .h0 { background: #1E1E2A; } .heat-legend .h1 { background: #3d5216; } .heat-legend .h2 { background: #6E8F22; } .heat-legend .h3 { background: var(--lime); }
.badges { display: flex; justify-content: center; flex-wrap: wrap; gap: 16px; margin-top: 40px; }
.badge { display: flex; flex-direction: column; align-items: center; gap: 12px; width: 140px; padding: 22px 10px; border-radius: 22px; background: var(--card); border: 1px solid var(--border); font-size: 15px; color: var(--ink-2); }
.badge.locked { border-style: dashed; color: var(--ink-3); }
.medal { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: #23232f; font-size: 26px; }
.medal svg { width: 28px; height: 28px; fill: none; stroke: #0B0B10; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.medal.gold { background: var(--gold); box-shadow: 0 0 30px -6px var(--gold); }
.medal.orange { background: var(--hard); box-shadow: 0 0 30px -6px var(--hard); }
.medal.lime { background: var(--lime); box-shadow: 0 0 30px -6px var(--lime); }
.badge.locked .medal svg { stroke: var(--ink-3); }

/* Bento */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; margin-top: 70px; }
.tile { position: relative; overflow: hidden; padding: 30px; border-radius: 28px; background: var(--card); border: 1px solid var(--border); display: flex; flex-direction: column; gap: 10px; }
.tile::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, -20%), rgba(198,255,61,.09), transparent 60%); opacity: 0; transition: opacity .3s; }
.tile:hover::after { opacity: 1; }
.tile p { color: var(--ink-2); font-size: 16px; }
.tile-ipad { grid-column: span 4; grid-row: span 2; flex-direction: row; align-items: center; gap: 30px; }
.tile-ipad .tile-copy { flex: 1; display: flex; flex-direction: column; gap: 10px; }
.tile-ipad h3 { font-size: 34px; }
.ipad { flex: 1.3; border-radius: 26px; padding: 8px; background: #22222c; box-shadow: 0 0 0 1px #34343f, 0 40px 80px -30px #000; transform: rotate(4deg) translateX(30px); }
.ipad img { border-radius: 19px; }
.tile-voice, .tile-exam, .tile-widget, .tile-private { grid-column: span 2; }
.tile-widget { grid-column: span 3; }
.tile-private { grid-column: span 3; }
.wave { display: flex; align-items: center; gap: 5px; height: 70px; margin-bottom: 14px; }
.wave i { width: 6px; border-radius: 3px; background: var(--lime); height: 20%; animation: wave 1.2s ease-in-out infinite; animation-play-state: paused; }
.tile-voice.is-in .wave i { animation-play-state: running; }
.wave i:nth-child(odd) { animation-duration: .9s; } .wave i:nth-child(3n) { animation-duration: 1.4s; } .wave i:nth-child(4n) { animation-delay: -.4s; } .wave i:nth-child(5n) { animation-delay: -.7s; }
@keyframes wave { 0%, 100% { height: 18%; } 50% { height: 100%; } }
.countdown { display: flex; flex-direction: column; gap: 6px; padding: 18px; border-radius: 18px; background: var(--bg); border: 1px solid var(--border); margin-bottom: 14px; font-size: 12px; letter-spacing: .1em; }
.countdown b { font: 700 40px/1 var(--mono); letter-spacing: -0.04em; color: var(--hard); }
.countdown .mono:last-child { color: var(--lime); }
.tile-widget img { border-radius: 22px; max-width: 360px; margin-bottom: 14px; box-shadow: 0 20px 50px -20px #000; transform: rotate(-2deg); }
.lock { width: 70px; height: 70px; border-radius: 22px; background: var(--lime-soft); display: grid; place-items: center; margin-bottom: 14px; }
.lock svg { width: 34px; height: 34px; fill: none; stroke: var(--lime); stroke-width: 2; stroke-linecap: round; }

/* CTA */
.cta { padding: 0 var(--gutter) clamp(60px, 8vw, 100px); }
.cta-inner {
  position: relative; overflow: hidden; max-width: var(--max); margin: 0 auto; text-align: center;
  padding: clamp(70px, 10vw, 130px) var(--gutter); border-radius: 40px; background: var(--lime); color: var(--bg);
}
.cta-inner::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px circle at 50% 0%, rgba(255,255,255,.55), transparent 60%); pointer-events: none; }
.cta h2 { font-size: clamp(48px, 8vw, 110px); letter-spacing: -0.055em; line-height: .92; margin: 34px 0 24px; position: relative; }
.cta p { font-size: 19px; max-width: 30em; margin: 0 auto 34px; position: relative; color: #1f2a08; }
.cta .cta-android { font-size: 15px; margin: 28px auto 0; }
.cta-android a { color: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.cta-icon { position: relative; display: inline-block; }
.cta-icon img { width: 128px; height: 128px; border-radius: 30px; box-shadow: 0 0 0 2px rgba(11,11,16,.9), 0 30px 60px -20px rgba(11,11,16,.6); }
.cta-spark { position: absolute; fill: var(--bg); }
.cta-spark.s1 { width: 28px; height: 28px; top: -18px; right: -30px; }
.cta-spark.s2 { width: 18px; height: 18px; top: 10px; left: -34px; }
.cta-spark.s3 { width: 22px; height: 22px; bottom: -8px; right: -40px; }

.footer { max-width: var(--max); margin: 0 auto; padding: 30px var(--gutter) 50px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 13px; }
.footer .brand { font-size: 16px; }
.footer .brand img { border-radius: 7px; }

/* Reveal: initial state only when JS runs; Motion animates it in. */
.js .reveal, .js .reveal-up { opacity: 0; transform: translateY(40px); }

/* Responsive */
@media (max-width: 960px) {
  .nav-links { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 110px; text-align: left; gap: 50px; }
  .hero-hint { display: none; }
  .photo-stage { grid-template-columns: 1fr; justify-items: center; gap: 30px; }
  .photo-stage .paper { width: min(100%, 380px); }
  .arrow-flow { transform: rotate(90deg); }
  .chips { width: min(100%, 380px); }
  .repeat-grid { grid-template-columns: 1fr; }
  .showcase { height: auto; }
  .showcase-sticky { position: relative; height: auto; grid-template-columns: 1fr; padding-top: 60px; padding-bottom: 60px; gap: 50px; overflow: visible; }
  .showcase-steps { min-height: 0; display: flex; flex-direction: column; gap: 50px; }
  .step { position: relative; opacity: 1; transform: none; }
  .step-dots, .orbit { display: none; }
  .showcase-phone { order: -1; }
  .stats { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; }
  .tile-ipad, .tile-voice, .tile-exam, .tile-widget, .tile-private { grid-column: auto; grid-row: auto; }
  .tile-ipad { flex-direction: column; align-items: stretch; }
  .ipad { transform: rotate(2deg); }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .hero-title { font-size: clamp(48px, 15vw, 72px); }
  .btn { width: 100%; justify-content: center; }
  .nav .btn { width: auto; }
  .stat { padding: 22px; }
  .heatmap { gap: 3px; }
  .heatmap i { border-radius: 3px; }
  .badge { width: calc(50% - 8px); }
  .cta-inner { border-radius: 28px; }
  .marquee { transform: rotate(-4deg); }
  .mcard { font-size: 17px; padding: 12px 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal, .js .reveal-up { opacity: 1; transform: none; }
  .wave i { animation: none; height: 60%; }
  .card-inner, .step, .phone-big .screen { transition-duration: .01s; }
}
