/* MovaKey landing — light glass style that follows the system theme. No external fonts or requests. */
:root {
  --bg: #f5f7fb;
  --bg2: #ffffff;
  --ink: #0d1220;
  --ink2: #4a5468;
  --ink3: #7b8496;
  --line: rgba(13, 18, 32, .08);
  --blue: #0a84ff;
  --cyan: #22c1e6;
  --yellow: #ffd60a;
  --green: #34c759;
  --orange: #ff9f0a;
  --grad: linear-gradient(120deg, #0a84ff 0%, #22c1e6 48%, #ffd60a 100%);
  --glass: rgba(255, 255, 255, .62);
  --glass-strong: rgba(255, 255, 255, .82);
  --glass-line: rgba(255, 255, 255, .9);
  --shadow: 0 1px 2px rgba(13, 18, 32, .04), 0 12px 40px -12px rgba(13, 18, 32, .16);
  --shadow-lg: 0 40px 80px -30px rgba(10, 60, 140, .35), 0 12px 30px -10px rgba(13, 18, 32, .2);
  --blob-a: rgba(10, 132, 255, .28);
  --blob-b: rgba(255, 214, 10, .32);
  --blob-c: rgba(34, 193, 230, .24);
  --r: 24px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-d: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", system-ui, Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #070b14;
    --bg2: #0e1422;
    --ink: #f2f5fa;
    --ink2: #b5bfd0;
    --ink3: #8590a3;
    --line: rgba(255, 255, 255, .09);
    --glass: rgba(26, 32, 46, .55);
    --glass-strong: rgba(30, 36, 52, .8);
    --glass-line: rgba(255, 255, 255, .1);
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 12px 40px -12px rgba(0, 0, 0, .6);
    --shadow-lg: 0 40px 80px -30px rgba(0, 0, 0, .8), 0 12px 30px -10px rgba(0, 0, 0, .5);
    --blob-a: rgba(10, 132, 255, .28);
    --blob-b: rgba(255, 214, 10, .14);
    --blob-c: rgba(34, 193, 230, .18);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 17px/1.55 var(--font); -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { font-family: var(--font-d); letter-spacing: -.02em; line-height: 1.1; margin: 0; }
p { margin: 0; }
button { font: inherit; color: inherit; }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.muted { color: var(--ink3); }
.center { text-align: center; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--bg2); padding: 8px 14px; border-radius: 10px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--blue) 60%, transparent); outline-offset: 3px; border-radius: 8px; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.glass {
  background: var(--glass); border: 1px solid var(--glass-line);
  -webkit-backdrop-filter: blur(24px) saturate(170%); backdrop-filter: blur(24px) saturate(170%);
  box-shadow: var(--shadow); border-radius: var(--r);
}

/* Drifting gradient blobs behind everything */
.bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.bg i { position: absolute; border-radius: 50%; filter: blur(80px); will-change: transform; }
.bg .b1 { width: 60vmax; height: 60vmax; left: -18vmax; top: -22vmax; background: var(--blob-a); animation: drift1 26s ease-in-out infinite alternate; }
.bg .b2 { width: 50vmax; height: 50vmax; right: -16vmax; top: 20vh; background: var(--blob-b); animation: drift2 30s ease-in-out infinite alternate; }
.bg .b3 { width: 40vmax; height: 40vmax; left: 20vw; bottom: -20vmax; background: var(--blob-c); animation: drift1 34s ease-in-out infinite alternate-reverse; }
@keyframes drift1 { to { transform: translate(8vw, 6vh) scale(1.08); } }
@keyframes drift2 { to { transform: translate(-6vw, -8vh) scale(.94); } }

/* Header */
.top { position: sticky; top: 0; z-index: 50; transition: background .3s, box-shadow .3s, border-color .3s; border-bottom: 1px solid transparent; }
.top.scrolled { background: var(--glass); -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%); border-bottom-color: var(--line); }
.top-in { display: flex; align-items: center; gap: 24px; height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 650; font-size: 18px; letter-spacing: -.01em; }
.logo:hover { text-decoration: none; }
.logo img { border-radius: 8px; box-shadow: 0 2px 8px rgba(10, 132, 255, .3); }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { color: var(--ink2); font-size: 15px; }
.nav a:hover { color: var(--ink); text-decoration: none; }
.nav-space { margin-left: auto; }
.lang { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; color: var(--ink); font-size: 14px; font-weight: 600; background: var(--glass); border: 1px solid var(--glass-line); }
.lang:hover { text-decoration: none; background: var(--glass-strong); }
.lang svg { width: 16px; height: 16px; }

/* Reveal on scroll */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.js [data-reveal].in { opacity: 1; transform: none; }
/* The hero animates in on load (doesn't wait for the scroll observer). */
.js .hero [data-reveal] { opacity: 1; transform: none; animation: rise 1s var(--ease) both; animation-delay: calc(var(--d, 0) * 110ms + 80ms); }
@keyframes rise { from { opacity: 0; transform: translateY(28px); } }

/* Sections */
section { padding: 110px 0; }
.kicker { font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); margin-bottom: 14px; }
h2 { font-size: clamp(32px, 4.6vw, 54px); margin-bottom: 20px; }
h2.big { font-size: clamp(30px, 4.4vw, 56px); max-width: 22ch; }
.lead { font-size: clamp(18px, 1.6vw, 21px); color: var(--ink2); max-width: 40ch; }
.lead.center { margin-inline: auto; }

/* Hero */
.hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; padding: 60px 0 90px; min-height: calc(100svh - 64px); }
.eyebrow { display: inline-block; font-size: 14px; font-weight: 600; color: var(--ink2); padding: 6px 14px; border-radius: 999px; background: var(--glass); border: 1px solid var(--glass-line); margin-bottom: 22px; }
.hero h1 { font-size: clamp(42px, 6.4vw, 82px); letter-spacing: -.035em; line-height: 1.02; margin-bottom: 24px; }
.hero .lead { margin-bottom: 34px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.btn-ghost { display: inline-flex; gap: 8px; align-items: center; padding: 14px 20px; border-radius: 14px; color: var(--ink); font-weight: 600; }
.btn-ghost:hover { text-decoration: none; background: var(--glass); }
/* Official Apple badge: used as-is (no recolouring or effects), with clear space around it. */
.store { position: relative; display: inline-block; padding: 6px; cursor: default; }
.store img { display: block; height: 54px; width: auto; }
.store .soon { position: absolute; top: -8px; right: -6px; z-index: 1; font-size: 11px; font-weight: 700; letter-spacing: .02em; padding: 3px 9px; border-radius: 999px; color: #fff; background: var(--grad); box-shadow: 0 4px 12px -4px rgba(10, 132, 255, .6); white-space: nowrap; }
.cta-box .store .soon { background: #0d1220; }

.hero-phone { position: relative; display: flex; justify-content: center; perspective: 1400px; }
.tilt { transform-style: preserve-3d; transition: transform .6s var(--ease); }
.hero-phone { flex-direction: column; align-items: center; gap: 22px; }
/* "Try it yourself" caption under the phone: a tap gesture with ripples, gone after the first tap. */
.hint { display: inline-flex; align-items: center; gap: 12px; margin: 0; padding: 8px 18px 8px 8px; border-radius: 999px; background: var(--glass-strong); border: 1px solid var(--glass-line); box-shadow: var(--shadow); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.hint.gone { opacity: 0; transform: translateY(-6px); pointer-events: none; }
.tap-ic { position: relative; flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--grad); box-shadow: 0 6px 16px -6px rgba(10, 132, 255, .7); }
.tap-ic::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: #fff; animation: tapdot 2.2s var(--ease) infinite; }
.tap-ic i { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--blue); opacity: 0; animation: ripple 2.2s var(--ease) infinite; }
.tap-ic i:nth-child(2) { animation-delay: .35s; }
@keyframes tapdot { 0%, 100% { transform: scale(1); } 18% { transform: scale(.6); } 36% { transform: scale(1); } }
@keyframes ripple { 0% { transform: scale(.9); opacity: .7; } 70%, 100% { transform: scale(1.9); opacity: 0; } }
.hint-t { display: flex; flex-direction: column; line-height: 1.25; text-align: left; }
.hint-t b { font-size: 15px; color: var(--ink); }
.hint-t small { font-size: 13px; color: var(--ink3); }
/* Answer buttons breathe softly until the visitor taps one. */
.shield.invite .sh-primary, .shield.invite .sh-secondary { animation: invite 2.2s var(--ease) infinite; }
.shield.invite .sh-secondary { animation-delay: .35s; }
@keyframes invite { 0%, 100% { box-shadow: 0 0 0 0 rgba(10, 132, 255, 0); } 30% { box-shadow: 0 0 0 1.6cqw rgba(10, 132, 255, .28); } 60% { box-shadow: 0 0 0 3cqw rgba(10, 132, 255, 0); } }
@keyframes bob { 50% { transform: translateY(-6px); } }

/* Phone frame */
.phone { --w: 300px; width: var(--w); aspect-ratio: 1206 / 2622; padding: calc(var(--w) * .036); border-radius: calc(var(--w) * .18); background: linear-gradient(145deg, #2b2f37, #0b0d11 40%, #22252c); box-shadow: var(--shadow-lg), inset 0 0 0 1.5px rgba(255, 255, 255, .12); position: relative; flex: none; }
.screen { position: relative; width: 100%; height: 100%; border-radius: calc(var(--w) * .145); overflow: hidden; background: #f2f2f7; isolation: isolate; container-type: inline-size; }
.screen img { width: 100%; height: 100%; object-fit: cover; }
.island { position: absolute; z-index: 20; left: 34.2%; width: 31.1%; top: 1.65%; height: 4.05%; border-radius: 999px; background: #000; }
.phone-hero { --w: min(330px, 78vw, max(250px, calc((100svh - 240px) * .46))); }

/* The @movakey Instagram profile behind the shield (all sizes in cqw = % of the screen width) */
.feed { position: absolute; inset: 0; background: #fff; color: #000; padding-top: 13.5cqw; font-size: 3.6cqw; line-height: 1.3; overflow: hidden; text-align: left; }
.ig-bar { display: flex; justify-content: space-between; align-items: center; padding: 0 4cqw; height: 11cqw; }
.ig-bar b { font-size: 5.6cqw; font-weight: 700; letter-spacing: -.01em; }
.ig-bar small { font-size: 4cqw; font-weight: 600; }
.ig-ic { display: flex; align-items: center; gap: 4cqw; font-size: 6cqw; font-weight: 700; line-height: 1; }
.ig-ic svg { width: 6.4cqw; height: 6.4cqw; }
.ig-head { display: flex; align-items: center; gap: 6cqw; padding: 2cqw 4cqw 0; }
.ig-ava { flex: none; width: 22cqw; height: 22cqw; border-radius: 50%; padding: .9cqw; background: conic-gradient(from 210deg, #feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5, #feda75); }
.ig-ava img { width: 100%; height: 100%; border-radius: 50%; border: .9cqw solid #fff; object-fit: cover; }
.ig-stats { flex: 1; display: flex; justify-content: space-between; text-align: center; }
.ig-stats p { display: flex; flex-direction: column; font-size: 3.4cqw; }
.ig-stats b { font-size: 4.6cqw; font-weight: 700; }
.ig-bio { display: flex; flex-direction: column; padding: 3cqw 4cqw 0; font-size: 3.5cqw; }
.ig-bio b { font-weight: 700; }
.ig-cat { color: #737373; }
.ig-link { color: #00376b; font-weight: 600; }
.ig-btns { display: flex; gap: 1.6cqw; padding: 3cqw 4cqw 0; }
.ig-btns span { flex: 1; text-align: center; font-weight: 600; font-size: 3.6cqw; padding: 2cqw 0; border-radius: 2.2cqw; background: #efefef; }
.ig-btns .ig-follow { background: #0095f6; color: #fff; }
.ig-hl { display: flex; gap: 4.5cqw; padding: 4cqw 4cqw 0; }
.ig-hl span { display: flex; flex-direction: column; align-items: center; gap: 1.2cqw; font-size: 3cqw; }
.ig-hl i { width: 15cqw; height: 15cqw; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-weight: 800; font-size: 5cqw; color: #fff; border: .6cqw solid #fff; box-shadow: 0 0 0 .3cqw #dbdbdb; }
.ig-tabs { display: flex; margin-top: 4cqw; border-top: .3cqw solid #efefef; }
.ig-tabs i { flex: 1; display: grid; place-items: center; height: 10cqw; color: #a8a8a8; }
.ig-tabs i.on { color: #000; box-shadow: inset 0 -.5cqw 0 #000; }
.ig-tabs svg { width: 6cqw; height: 6cqw; }
.ig-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5cqw; }
.ig-post { aspect-ratio: 4 / 5; padding: 2.4cqw; color: #fff; display: flex; flex-direction: column; justify-content: center; gap: .6cqw; overflow: hidden; }
.ig-post small { font-size: 2.1cqw; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; opacity: .85; }
.ig-post b { font-family: var(--font-d); font-size: 4.4cqw; font-weight: 800; line-height: 1.05; letter-spacing: -.01em; }
.ig-post span { font-size: 2.6cqw; opacity: .92; line-height: 1.2; }
.v1 { background: linear-gradient(150deg, #0a84ff, #22c1e6); }
.v2 { background: linear-gradient(150deg, #22c1e6, #ffd60a); }
.v3 { background: linear-gradient(150deg, #1c1f2a, #2b3550); }
.v4 { background: linear-gradient(150deg, #ffd60a, #ff9f0a); }
.v5 { background: linear-gradient(150deg, #0a6cff, #5e5ce6); }
.v6 { background: linear-gradient(150deg, #34c759, #22c1e6); }
.ig-hl i.v4 { background: linear-gradient(150deg, #0a6cff, #5e5ce6); }

/* Shield (Screen Time) mockup */
.shield {
  position: absolute; inset: 0; z-index: 5; display: flex; flex-direction: column; justify-content: space-between;
  padding: 34cqw 7cqw 9cqw; text-align: center; color: #121212;
  background: rgba(246, 246, 250, .55); -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%);
  transition: opacity .55s var(--ease), transform .55s var(--ease), backdrop-filter .55s;
}
.sh-tile { width: 20cqw; height: 20cqw; margin: 0 auto 6cqw; border-radius: 4.5cqw; background: #fff; display: grid; place-items: center; color: #0a84ff; box-shadow: 0 2px 10px rgba(0, 0, 0, .08); }
.sh-tile svg { width: 11cqw; height: 11cqw; }
.sh-word { font-family: var(--font-d); font-size: 9cqw; font-weight: 700; letter-spacing: -.01em; transition: opacity .3s, transform .3s; }
.sh-sub { margin-top: 2.5cqw; font-size: 4.3cqw; line-height: 1.35; color: #4a5463; display: flex; flex-direction: column; gap: .6cqw; }
.sh-was:empty { display: none; }
.sh-was { color: #4a5463; animation: pop .45s var(--ease); }
.sh-btns { display: flex; flex-direction: column; gap: 3cqw; }
.sh-primary, .sh-secondary { border: 0; cursor: pointer; font-size: 5cqw; font-weight: 600; padding: 4.2cqw; border-radius: 4cqw; transition: transform .15s, background .25s, color .25s; -webkit-tap-highlight-color: transparent; }
.sh-primary { background: #121212; color: #fff; }
.sh-secondary { background: transparent; color: #121212; }
.shield.live .sh-primary:hover, .shield.live .sh-secondary:hover { transform: scale(1.02); }
.shield.live .sh-primary:active, .shield.live .sh-secondary:active { transform: scale(.97); }
.shield .ok { background: var(--green) !important; color: #fff !important; }
.shield .bad { background: #ff3b30 !important; color: #fff !important; animation: shake .4s; }
.shield.swap .sh-word { opacity: 0; transform: translateY(-6px); }
.shield.open { opacity: 0; transform: scale(1.06); pointer-events: none; }
.phone .tap { position: absolute; z-index: 30; width: 14cqw; height: 14cqw; margin: -7cqw 0 0 -7cqw; border-radius: 50%; background: rgba(255, 255, 255, .5); border: 2px solid rgba(255, 255, 255, .9); box-shadow: 0 4px 14px rgba(0, 0, 0, .25); pointer-events: none; opacity: 0; transition: left .7s var(--ease), top .7s var(--ease), opacity .3s, transform .2s; }
.phone .tap.show { opacity: 1; }
.phone .tap.press { transform: scale(.8); }
.toast { position: absolute; z-index: 25; left: 6cqw; right: 6cqw; bottom: 8cqw; padding: 3.5cqw 4cqw; border-radius: 5cqw; font-size: 4cqw; font-weight: 600; text-align: center; color: #fff; background: rgba(36, 160, 80, .92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 8px 24px rgba(0, 0, 0, .2); opacity: 0; pointer-events: none; transform: translateY(10px) scale(.96); transition: opacity .4s var(--ease), transform .4s var(--ease); }
.toast.show { opacity: 1; transform: none; }
@keyframes pop { from { opacity: 0; transform: translateY(4px); } }
@keyframes shake { 20%, 60% { transform: translateX(-4px); } 40%, 80% { transform: translateX(4px); } }

/* Lock screen mockup */
.lock { position: absolute; inset: 0; color: #fff; text-align: center; padding-top: 19cqw;
  background: radial-gradient(120% 70% at 20% 0%, #1b8cff 0%, transparent 60%), radial-gradient(120% 80% at 100% 100%, #ffd60a 0%, transparent 55%), linear-gradient(160deg, #0a6cff, #22c1e6 55%, #c9e35a 85%, #ffd60a); }
.lock-date { font-size: 4.6cqw; font-weight: 600; opacity: .9; }
.lock-time { font-family: var(--font-d); font-size: 25cqw; font-weight: 700; line-height: 1; letter-spacing: -.02em; margin-top: 1cqw; text-shadow: 0 2px 20px rgba(0, 0, 0, .15); }
.lock-widgets { display: flex; justify-content: center; gap: 3cqw; margin-top: 4cqw; padding: 0 8cqw; }
.w-circle, .w-rect { background: rgba(255, 255, 255, .22); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.w-circle { width: 18cqw; height: 18cqw; border-radius: 50%; display: grid; place-items: center; font-size: 3.6cqw; font-weight: 700; flex: none; }
.w-rect { flex: 1; border-radius: 5cqw; padding: 2.5cqw 4cqw; text-align: left; display: flex; flex-direction: column; justify-content: center; }
.w-rect b { font-size: 5cqw; line-height: 1.15; }
.w-rect span { font-size: 3.4cqw; opacity: .85; }
.lock-bottom { position: absolute; left: 10cqw; right: 10cqw; bottom: 10cqw; display: flex; justify-content: space-between; }
.lock-bottom i { width: 13cqw; height: 13cqw; border-radius: 50%; display: grid; place-items: center; background: rgba(0, 0, 0, .22); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.lock-bottom svg { width: 6cqw; height: 6cqw; }

/* Why */
.cards3 { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 14px; margin-top: 50px; align-items: center; }
.cards3 .card { height: 100%; }
.plus { font-family: var(--font-d); font-size: 40px; font-weight: 300; color: var(--blue); text-align: center; }

/* Daily loop + words calculator */
.loop { display: grid; grid-template-columns: 1.15fr .85fr; gap: 60px; align-items: center; }
.loop h2 { max-width: 16ch; }
.cycle { list-style: none; padding: 0; margin: 34px 0 0; display: grid; gap: 12px; position: relative; }
.cycle::before { content: ""; position: absolute; left: 21px; top: 22px; bottom: 22px; width: 2px; background: var(--line); }
.cycle li { position: relative; display: flex; gap: 18px; align-items: flex-start; padding: 14px 18px 14px 0; border-radius: 18px; transition: background .5s var(--ease); }
.cyc-n { position: relative; z-index: 1; flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; background: var(--bg2); border: 2px solid var(--line); color: var(--ink2); transition: background .5s, color .5s, border-color .5s, transform .5s var(--ease); }
.cycle h3 { font-size: 19px; margin: 2px 0 4px; }
.cycle p { color: var(--ink2); font-size: 16px; }
.cycle li.act { background: var(--glass); }
.cycle li.act .cyc-n { background: var(--grad); color: #fff; border-color: transparent; transform: scale(1.08); box-shadow: 0 8px 20px -8px rgba(10, 132, 255, .7); }
.cycle li:last-child .cyc-n::after { content: "↻"; position: absolute; right: -8px; bottom: -8px; width: 20px; height: 20px; border-radius: 50%; background: var(--bg2); color: var(--blue); font-size: 13px; display: grid; place-items: center; box-shadow: var(--shadow); }
.minutes { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 24px; color: var(--ink2); font-size: 15px; }
.minutes span { margin-right: 4px; }
.minutes b { padding: 6px 12px; border-radius: 999px; background: var(--glass); border: 1px solid var(--glass-line); color: var(--ink); font-size: 14px; }
.minutes b.on { background: var(--blue); border-color: var(--blue); color: #fff; }
.calc { padding: 32px; }
.calc h3 { font-size: 24px; margin-bottom: 18px; }
.calc label { display: block; color: var(--ink2); font-size: 16px; margin-bottom: 14px; }
.calc-row { display: flex; align-items: center; gap: 16px; }
.calc-row output { font-family: var(--font-d); font-size: 34px; font-weight: 700; min-width: 2.2ch; text-align: right; }
.calc input[type=range] { flex: 1; -webkit-appearance: none; appearance: none; height: 8px; border-radius: 8px; background: linear-gradient(90deg, var(--blue) var(--p, 27%), var(--line) var(--p, 27%)); outline-offset: 6px; }
.calc input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 2px 10px rgba(0, 0, 0, .25); cursor: grab; }
.calc input[type=range]::-moz-range-thumb { width: 28px; height: 28px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 2px 10px rgba(0, 0, 0, .25); cursor: grab; }
.calc-sub { color: var(--ink3); font-size: 14px; margin-top: 6px; }
.calc-out { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 24px 0 18px; }
.calc-out div { padding: 16px 10px; border-radius: 18px; background: var(--glass-strong); border: 1px solid var(--glass-line); text-align: center; }
.calc-out b { display: block; font-family: var(--font-d); font-size: clamp(24px, 2.6vw, 34px); letter-spacing: -.02em; line-height: 1.1; }
.calc-out div:last-child b { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.calc-out span { font-size: 13px; color: var(--ink3); }
.calc .fine { margin: 0; text-align: left; }
.calc-l2 { margin-top: 22px; }
.minutes + .minutes { margin-top: 12px; }
.minutes b { min-width: 34px; text-align: center; }
.note + .note { margin-top: 10px; }
.card { padding: 30px; transition: transform .4s var(--ease), box-shadow .4s; }
.card:hover { transform: translateY(-4px); }
.card h3 { font-size: 22px; margin: 18px 0 10px; }
.card p, .feat p { color: var(--ink2); }
.card-ic { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; color: #fff; background: var(--grad); box-shadow: 0 8px 20px -8px rgba(10, 132, 255, .6); }
.card-ic svg { width: 26px; height: 26px; }

/* How: sticky phone + steps */
.how { padding-bottom: 40px; }
.scrolly { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; margin-top: 30px; }
.scrolly-phone { position: sticky; top: calc(50vh - 340px); height: 680px; display: flex; align-items: center; justify-content: center; gap: 28px; }
.phone-sticky { --w: 310px; }
.layer { position: absolute; inset: 0; opacity: 0; transform: scale(1.04); transition: opacity .7s var(--ease), transform .9s var(--ease); }
.layer.on { opacity: 1; transform: none; }
.progress { display: flex; flex-direction: column; gap: 10px; }
.progress i { width: 6px; height: 22px; border-radius: 6px; background: var(--line); transition: background .4s, height .4s; }
.progress i.on { background: var(--blue); height: 40px; }
.steps { list-style: none; margin: 0; padding: 0; }
.step { min-height: 88vh; display: flex; flex-direction: column; justify-content: center; }
.step-card { opacity: .28; transform: translateX(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.step.on .step-card { opacity: 1; transform: none; }
.step-n { font-size: 14px; font-weight: 700; color: var(--blue); margin-bottom: 10px; letter-spacing: .04em; text-transform: uppercase; }
.step h3 { font-size: clamp(26px, 3vw, 38px); margin-bottom: 16px; }
.step p { color: var(--ink2); font-size: 18px; max-width: 46ch; }
.step-media { display: none; }
.chips { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { font-size: 14px; font-weight: 600; padding: 7px 13px; border-radius: 999px; background: var(--glass-strong); border: 1px solid var(--glass-line); box-shadow: var(--shadow); color: var(--ink); display: inline-flex; align-items: center; gap: 7px; }
.chips .n { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--blue); color: #fff; font-size: 11px; }
.note { display: flex; gap: 12px; align-items: center; margin-top: 22px; padding: 14px 16px; border-radius: 16px; background: var(--glass-strong); border: 1px solid var(--glass-line); font-size: 15px !important; }
.note svg { width: 30px; height: 30px; flex: none; color: var(--green); }
.modes-title { margin-top: 26px; font-weight: 600; color: var(--ink) !important; font-size: 16px !important; }

/* Spaced-repetition timeline */
.srs { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(9, 1fr); position: relative; max-width: 520px; }
.srs::before, .srs::after { content: ""; position: absolute; top: 11px; left: 5.5%; right: 5.5%; height: 3px; border-radius: 3px; background: var(--line); }
.srs::after { background: var(--grad); transform-origin: left; transform: scaleX(0); transition: transform 2.4s var(--ease) .2s; }
.step.on .srs::after { transform: scaleX(1); }
.srs li { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.srs .dot { width: 24px; height: 24px; border-radius: 50%; background: var(--bg2); border: 3px solid var(--line); transition: background .3s, border-color .3s, transform .3s; transition-delay: calc(.2s + var(--i) * .27s); font-size: 12px; font-weight: 800; color: #fff; display: grid; place-items: center; }
.step.on .srs .dot { background: var(--blue); border-color: var(--bg2); transform: scale(1.05); }
.step.on .srs .done .dot { background: var(--green); transform: scale(1.25); }
.srs .lbl { font-size: 11.5px; color: var(--ink3); white-space: nowrap; text-align: center; }
.srs li:nth-child(even) .lbl { margin-top: 18px; }

/* Features */
.feat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 40px; }
.feat { padding: 34px; display: grid; grid-template-rows: auto 1fr; gap: 28px; overflow: hidden; }
.feat h3 { font-size: 28px; margin: 16px 0 10px; }
.feat-media { display: flex; justify-content: center; align-items: flex-end; margin-bottom: -34px; }
.phone-small { --w: 250px; border-bottom-left-radius: 0; border-bottom-right-radius: 0; aspect-ratio: 1206 / 1700; padding-bottom: 0; }
.phone-small .screen { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.phone-small .screen img { object-position: top; }
.phone-small .island { height: 5.6%; top: 2.3%; }
.ai-card { width: min(340px, 100%); margin-bottom: 34px; align-self: center; background: var(--glass-strong); border: 1px solid var(--glass-line); border-radius: 22px; padding: 22px; box-shadow: var(--shadow-lg); transform: rotate(-1.5deg); transition: transform .5s var(--ease); }
.feat:hover .ai-card { transform: rotate(0) translateY(-4px); }
.ai-label { display: flex; gap: 6px; align-items: center; font-size: 13px; font-weight: 700; color: var(--blue); }
.ai-label svg { width: 16px; height: 16px; }
.ai-word { font-family: var(--font-d); font-size: 30px; font-weight: 700; margin-top: 10px; }
.ai-ipa { font-size: 16px; font-weight: 500; color: var(--ink3); margin-left: 6px; }
.ai-pos { display: inline-block; margin-top: 6px; font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: color-mix(in srgb, var(--blue) 14%, transparent); color: var(--blue); }
.ai-tr { font-size: 18px; font-weight: 600; margin-top: 12px; }
.ai-ex { margin-top: 14px; padding: 12px 14px; border-radius: 14px; background: color-mix(in srgb, var(--ink) 5%, transparent); font-size: 15px; }
.ai-ex .muted { font-size: 14px; margin-top: 2px; }
.ai-tip { margin-top: 12px; font-size: 14px !important; color: var(--ink2); }

/* Sync + privacy */
.sync { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.devices { list-style: none; padding: 0; margin: 28px 0; display: flex; gap: 12px; }
.devices li { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 18px; border-radius: 18px; background: var(--glass); border: 1px solid var(--glass-line); font-size: 14px; font-weight: 600; min-width: 92px; }
.devices svg { width: 30px; height: 30px; color: var(--blue); }
.priv { padding: 26px; }
.priv h3 { font-size: 20px; display: flex; gap: 10px; align-items: center; margin-bottom: 12px; }
.priv h3 svg { width: 26px; height: 26px; color: var(--green); }
.priv ul { margin: 0 0 14px; padding-left: 20px; color: var(--ink2); display: grid; gap: 6px; font-size: 16px; }
.priv b { color: var(--ink); }
.sync-phone { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.compare { position: relative; }
.phone-compare { --w: 310px; }
.dark-half { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--x)); background: #000; }
.handle { position: absolute; z-index: 15; top: 0; bottom: 0; left: var(--x); width: 3px; margin-left: -1.5px; background: #fff; box-shadow: 0 0 12px rgba(0, 0, 0, .4); }
.handle::after { content: "⟷"; position: absolute; top: 50%; left: 50%; width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%; background: #fff; color: #0d1220; display: grid; place-items: center; font-size: 18px; box-shadow: 0 4px 14px rgba(0, 0, 0, .3); }
.compare input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; z-index: 25; }
.compare input:focus-visible + * , .compare:focus-within .handle::after { outline: 3px solid var(--blue); }
.compare-hint { font-size: 14px; color: var(--ink3); }

/* Pricing */
.pricing h2, .pricing .kicker, .faq h2, .faq .kicker { text-align: center; }
.toggle { position: relative; display: flex; width: max-content; margin: 34px auto 30px; padding: 5px; border-radius: 999px; background: var(--glass); border: 1px solid var(--glass-line); box-shadow: var(--shadow); }
.toggle button { position: relative; z-index: 1; border: 0; background: none; padding: 10px 22px; border-radius: 999px; font-weight: 600; cursor: pointer; color: var(--ink2); transition: color .3s; }
.toggle button.on { color: var(--ink); }
.toggle .pill { position: absolute; top: 5px; bottom: 5px; left: 5px; border-radius: 999px; background: var(--bg2); box-shadow: 0 2px 10px rgba(0, 0, 0, .1); transition: left .45s var(--ease), width .45s var(--ease); }
.save { font-size: 12px; font-weight: 700; color: var(--green); margin-left: 4px; }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 880px; margin: 0 auto; align-items: start; }
.plan { padding: 34px; position: relative; }
.plan h3 { font-size: 24px; }
.price { margin: 14px 0 22px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.price b { font-family: var(--font-d); font-size: 50px; letter-spacing: -.03em; line-height: 1; transition: opacity .2s, transform .2s; }
.price.flip b { opacity: 0; transform: translateY(8px); }
.price span { color: var(--ink3); font-size: 15px; }
.plan ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.plan li { padding-left: 30px; position: relative; color: var(--ink2); font-size: 16px; }
.plan li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 800; color: var(--blue); background: color-mix(in srgb, var(--blue) 14%, transparent); }
.plan.pro { border-radius: var(--r); color: #fff; background: radial-gradient(120% 120% at 100% 0%, rgba(255, 214, 10, .55), transparent 50%), linear-gradient(150deg, #0a6cff, #1aa6e8 70%, #4cc9c0); box-shadow: 0 30px 70px -25px rgba(10, 108, 255, .6); }
.plan.pro li, .plan.pro .price span { color: rgba(255, 255, 255, .88); }
.plan.pro li b { color: #fff; }
.plan.pro li::before { color: #0a6cff; background: #fff; }
.badge { position: absolute; top: 22px; right: 22px; font-size: 13px; font-weight: 700; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .22); border: 1px solid rgba(255, 255, 255, .45); }
.fine { font-size: 14px; color: var(--ink3); max-width: 62ch; margin: 26px auto 0; }

/* FAQ */
.faq-list { max-width: 780px; margin: 36px auto 0; display: grid; gap: 12px; }
.faq details { background: var(--glass); border: 1px solid var(--glass-line); border-radius: 18px; box-shadow: var(--shadow); overflow: hidden; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 22px; font-weight: 600; font-size: 18px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 26px; font-weight: 300; color: var(--blue); transition: transform .35s var(--ease); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details > div { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease); }
.faq details[open] > div { grid-template-rows: 1fr; }
.faq details > div > p { overflow: hidden; padding: 0 22px; color: var(--ink2); }
.faq details[open] > div > p { padding-bottom: 20px; }

/* CTA */
.cta { padding-top: 40px; }
.cta-box { text-align: center; padding: 70px 24px; border-radius: 36px; color: #fff; background: radial-gradient(80% 120% at 85% 110%, rgba(255, 214, 10, .85), transparent 60%), linear-gradient(130deg, #0a6cff, #1fa8ea 60%, #5fd0b0); box-shadow: 0 40px 90px -35px rgba(10, 108, 255, .7); position: relative; overflow: hidden; }
.cta-box h2 { max-width: 18ch; margin: 22px auto 14px; }
.cta-box p { opacity: .9; font-size: 19px; margin-bottom: 30px; }
.cta-icon { margin: 0 auto; border-radius: 22px; box-shadow: 0 20px 40px -12px rgba(0, 0, 0, .35); animation: float 5s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-10px) rotate(-3deg); } }

/* Footer */
.foot { padding: 40px 0 50px; border-top: 1px solid var(--line); margin-top: 60px; }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 30px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot nav a { color: var(--ink2); font-size: 15px; }
.foot .muted { margin-left: auto; font-size: 14px; }

/* Legal pages */
.doc main.legal { max-width: 760px; margin: 30px auto 0; padding: 40px clamp(20px, 5vw, 56px) 50px; }
.legal h1 { font-size: clamp(30px, 4vw, 42px); margin: 18px 0 6px; }
.legal h2 { font-size: 21px; margin: 32px 0 8px; }
.legal p, .legal li { color: var(--ink2); }
.legal ul { padding-left: 22px; display: grid; gap: 8px; }
.legal b { color: var(--ink); }

/* Responsive */
@media (max-width: 960px) {
  .nav { display: none; }
  .lang { margin-left: auto; }
  section { padding: 80px 0; }
  .hero { grid-template-columns: 1fr; text-align: center; padding-top: 30px; min-height: 0; gap: 50px; }
  .hero .lead, .hero h1 { margin-inline: auto; }
  .hero-cta { justify-content: center; }
  .hero-phone { gap: 18px; }
  .cards3, .feat-grid, .plans, .sync, .loop { grid-template-columns: 1fr; }
  .plus { font-size: 32px; line-height: 1; }
  .scrolly { grid-template-columns: 1fr; gap: 0; }
  .scrolly-phone { display: none; }
  .step { min-height: 0; padding: 40px 0; gap: 30px; align-items: center; text-align: left; }
  .step-card { opacity: 1; transform: none; width: 100%; }
  .step-media { display: flex; justify-content: center; }
  .phone-inline { --w: min(280px, 72vw); }
  .sync-phone { order: -1; }
  .foot .muted { margin-left: 0; width: 100%; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .srs .lbl { font-size: 10px; }
  .feat, .plan, .card { padding: 24px; }
  .feat-media { margin-bottom: -24px; }
  .devices li { min-width: 0; flex: 1; }
  .price b { font-size: 42px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* Status bar on drawn screens (profile behind the shield) */
.sbar { position: absolute; top: 0; left: 0; right: 0; height: 12cqw; display: flex; justify-content: space-between; align-items: center; padding: 1.2cqw 9cqw 0 11cqw; font-size: 4.2cqw; z-index: 2; }
.sbar b { font-weight: 600; }
.sbar span { display: flex; gap: 1.6cqw; align-items: center; }
.sig { display: flex; gap: .5cqw; align-items: flex-end; height: 2.8cqw; }
.sig i { width: .8cqw; background: #000; border-radius: .3cqw; }
.sig i:nth-child(1) { height: 35%; } .sig i:nth-child(2) { height: 55%; } .sig i:nth-child(3) { height: 78%; } .sig i:nth-child(4) { height: 100%; }
.bat { width: 6.2cqw; height: 2.9cqw; border-radius: .9cqw; border: .3cqw solid rgba(0, 0, 0, .4); background: linear-gradient(90deg, #000 85%, transparent 85%) content-box; padding: .3cqw; }
