/* TypeCorrect website ------------------------------------------------------------------ */

:root {
  --bg: #fbfbfd;
  --bg-alt: #f5f5f7;
  --surface: #ffffff;
  --ink: #1d1d1f;
  --ink-2: #6e6e73;
  --ink-3: #86868b;
  --line: rgba(0, 0, 0, 0.08);
  --line-2: rgba(0, 0, 0, 0.14);
  --lime: #c3f85c;
  --lime-2: #b3ee43;
  --lime-deep: #7fb51f;
  --lime-ink: #182113;
  --lime-text: #4b7a0c;
  --red: #ff3b30;
  --selection: #b4d5fe;
  --dark: #0b0c0a;
  --dark-2: #141612;
  --dark-3: #1d201b;
  --dark-line: rgba(255, 255, 255, 0.1);
  --dark-ink: #f5f5f7;
  --dark-ink-2: #a1a1a6;

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  --container: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --nav-h: 56px;
  --radius-xl: 36px;
  --radius-lg: 28px;
  --radius: 20px;
  --radius-sm: 12px;
  --section-pad: clamp(88px, 12vw, 168px);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 12px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.5;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img, svg, canvas, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, ol, ul, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
b, strong { font-weight: 600; }
kbd { font-family: var(--font); }
::selection { background: var(--lime); color: var(--lime-ink); }
:focus-visible { outline: 3px solid #0071e3; outline-offset: 3px; border-radius: 8px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.container { width: min(100% - var(--gutter) * 2, var(--container)); margin-inline: auto; }
.mono { font-family: var(--mono); font-size: 0.94em; letter-spacing: -0.01em; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

.skip-link {
  position: fixed; left: 12px; top: -60px; z-index: 100;
  padding: 10px 16px; border-radius: 999px;
  background: var(--ink); color: #fff; font-size: 14px; font-weight: 600;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 10px; }

/* Reveal on scroll ---------------------------------------------------------------------- */

.js [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition: opacity 0.9s var(--ease), transform 1s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js.reveal-all [data-reveal] { opacity: 1; transform: none; }

/* Type ---------------------------------------------------------------------------------- */

.eyebrow {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--lime-text);
  margin-bottom: 14px;
}
.eyebrow--lime { color: var(--lime); }

.h2 {
  font-size: clamp(36px, 5.4vw, 64px);
  line-height: 1.04;
  font-weight: 700;
  letter-spacing: -0.038em;
  text-wrap: balance;
}
.h3 {
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.lead {
  font-size: clamp(18px, 1.9vw, 22px);
  line-height: 1.45;
  color: var(--ink-2);
  letter-spacing: -0.015em;
  max-width: 44ch;
  text-wrap: pretty;
}

.section { padding-block: var(--section-pad); }
.section--alt { background: var(--bg-alt); }
.section-head { max-width: 780px; margin-bottom: clamp(44px, 6vw, 80px); }
.section-head .lead { margin-top: 20px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .lead { margin-inline: auto; }

/* Buttons ------------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: transform 0.25s var(--ease), background-color 0.25s, box-shadow 0.25s, color 0.25s;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(0.97); }
.btn--lg { height: 56px; padding: 0 28px; font-size: 17px; }
.btn--sm { height: 34px; padding: 0 15px; font-size: 14px; }
.btn--block { width: 100%; }
.btn__icon { width: 18px; height: 18px; }

.btn--primary {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 10px 30px -12px rgba(0, 0, 0, 0.55);
}
.btn--primary:hover { background: #000; box-shadow: 0 14px 34px -12px rgba(0, 0, 0, 0.6); }

.btn--ghost { background: rgba(0, 0, 0, 0.05); color: var(--ink); }
.btn--ghost:hover { background: rgba(0, 0, 0, 0.085); }

.btn--lime {
  background: var(--lime);
  color: var(--lime-ink);
  box-shadow: 0 0 0 1px rgba(195, 248, 92, 0.35), 0 18px 50px -14px rgba(195, 248, 92, 0.55);
}
.btn--lime:hover { background: #d0ff6e; }


/* Nav ----------------------------------------------------------------------------------- */

.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--nav-h);
  background: rgba(251, 251, 253, 0.72);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: background-color 0.35s, border-color 0.35s, color 0.35s;
}
.nav.is-scrolled { border-bottom-color: var(--line); }
.nav.is-dark { background: rgba(11, 12, 10, 0.7); color: var(--dark-ink); border-bottom-color: var(--dark-line); }

.nav__inner { height: 100%; display: flex; align-items: center; gap: 28px; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -0.025em;
  flex: none;
}
.brand__mark { width: 30px; height: 30px; filter: drop-shadow(0 1px 1.5px rgba(0, 0, 0, 0.14)); }

.nav__links { display: flex; gap: 26px; margin-inline: auto; font-size: 14px; white-space: nowrap; }
.nav__links a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.nav__links a { color: var(--ink-2); transition: color 0.2s; }
.nav__links a:hover { color: var(--ink); }
.nav.is-dark .nav__links a { color: var(--dark-ink-2); }
.nav.is-dark .nav__links a:hover { color: #fff; }

.nav__right { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.nav__links + .nav__right { margin-left: 0; }
.nav.is-dark .btn--primary { background: #fff; color: var(--ink); }

.lang {
  display: inline-flex;
  padding: 3px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.055);
}
.lang a {
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.02em;
  color: var(--ink-2);
  transition: color 0.2s, background-color 0.2s;
}
.lang a:hover { color: var(--ink); }
.lang a[aria-current="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12); }
.nav.is-dark .lang, .lang--dark { background: rgba(255, 255, 255, 0.1); }
.nav.is-dark .lang a, .lang--dark a { color: var(--dark-ink-2); }
.nav.is-dark .lang a[aria-current="true"], .lang--dark a[aria-current="true"] { background: rgba(255, 255, 255, 0.92); color: var(--ink); }

.nav__toggle { display: none; width: 36px; height: 36px; margin-right: -8px; border-radius: 10px; position: relative; }
.nav__toggle i {
  position: absolute; left: 10px; right: 10px; height: 1.5px; border-radius: 2px;
  background: currentColor; transition: transform 0.3s var(--ease);
}
.nav__toggle i:first-of-type { top: 14px; }
.nav__toggle i:last-of-type { top: 21px; }
.nav.is-open .nav__toggle i:first-of-type { transform: translateY(3.5px) rotate(45deg); }
.nav.is-open .nav__toggle i:last-of-type { transform: translateY(-3.5px) rotate(-45deg); }

.nav__sheet {
  position: absolute; inset: var(--nav-h) 0 auto;
  background: rgba(251, 251, 253, 0.985);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line);
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  transition: clip-path 0.45s var(--ease), visibility 0s linear 0.45s;
}
.nav.is-dark .nav__sheet { background: rgba(11, 12, 10, 0.985); border-color: var(--dark-line); }
.nav.is-open .nav__sheet { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path 0.45s var(--ease); }
.nav__sheet-links { display: grid; gap: 4px; padding: 12px 0 24px; }
.nav__sheet-links a:not(.btn) { padding: 12px 0; font-size: 24px; font-weight: 600; letter-spacing: -0.025em; border-bottom: 1px solid var(--line); }
.nav.is-dark .nav__sheet-links a:not(.btn) { border-color: var(--dark-line); }
.nav__sheet-links .btn { margin-top: 18px; }

/* Keys (CSS) ---------------------------------------------------------------------------- */

.key {
  --key-h: 64px;
  display: inline-flex;
  align-items: flex-end;
  justify-content: flex-start;
  gap: 8px;
  height: var(--key-h);
  min-width: var(--key-h);
  padding: 10px 14px;
  border-radius: 13px;
  background: linear-gradient(180deg, #ffffff, #f1f1f3);
  color: #3a3a3c;
  font-size: 15px;
  font-weight: 500;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    inset 0 -2px 0 rgba(0, 0, 0, 0.05),
    0 0 0 0.5px rgba(0, 0, 0, 0.14),
    0 1px 1px rgba(0, 0, 0, 0.12),
    0 8px 18px -8px rgba(0, 0, 0, 0.28);
  transition: transform 0.12s var(--ease), box-shadow 0.12s var(--ease), background 0.3s, color 0.3s;
  user-select: none;
}
.key svg { width: 20px; height: 20px; flex: none; }
.key small { font-size: 0.85em; letter-spacing: 0; }
.key--shift { min-width: 150px; }
.key--right { justify-content: flex-end; }
.key--space { min-width: 260px; }
.key--sm { --key-h: 44px; padding: 7px 11px; border-radius: 10px; font-size: 12.5px; }
.key--sm svg { width: 15px; height: 15px; }
.key--sm.key--shift { min-width: 104px; }
.key--sm.key--space { min-width: 180px; flex: 1; }
.key.is-down {
  transform: translateY(2px);
  background: linear-gradient(180deg, #eef9d9, #e1f5b5);
  color: var(--lime-ink);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 0 0 0.5px rgba(0, 0, 0, 0.18), 0 0 0 4px rgba(195, 248, 92, 0.45), 0 2px 6px -4px rgba(0, 0, 0, 0.4);
}

.key--dark {
  background: linear-gradient(180deg, #2c2f29, #1c1e1a);
  color: #e9eae6;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.09),
    inset 0 -2px 0 rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(0, 0, 0, 0.7),
    0 14px 30px -10px rgba(0, 0, 0, 0.9);
}
.key--dark.is-lit {
  color: var(--lime);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 0 0 1px rgba(195, 248, 92, 0.65),
    0 0 44px -4px rgba(195, 248, 92, 0.55),
    0 14px 30px -10px rgba(0, 0, 0, 0.9);
}

.key--lime {
  background: linear-gradient(180deg, #d6ff7d, #bdf24f);
  color: var(--lime-ink);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.6),
    inset 0 -3px 0 rgba(24, 33, 19, 0.12),
    0 0 0 1px rgba(24, 33, 19, 0.2),
    0 18px 40px -12px rgba(195, 248, 92, 0.45);
}
.key--lime.is-tapping { animation: double-tap 0.62s var(--ease); }
@keyframes double-tap {
  0%, 44%, 100% { transform: none; }
  14%, 58% { transform: translateY(4px) scale(0.985); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 0 0 1px rgba(24, 33, 19, 0.25), 0 0 60px rgba(195, 248, 92, 0.7); }
}

kbd {
  display: inline-grid;
  place-items: center;
  min-width: 26px;
  height: 26px;
  padding: 0 6px;
  border-radius: 7px;
  background: linear-gradient(180deg, #fff, #f0f0f2);
  box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.18), 0 1px 1px rgba(0, 0, 0, 0.14), inset 0 -1.5px 0 rgba(0, 0, 0, 0.06);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  color: #3a3a3c;
  transition: transform 0.12s, background 0.2s, color 0.2s, box-shadow 0.2s;
}
kbd.is-on {
  transform: translateY(1px);
  background: var(--lime);
  color: var(--lime-ink);
  box-shadow: 0 0 0 0.5px rgba(24, 33, 19, 0.3), 0 0 0 4px rgba(195, 248, 92, 0.35);
}

/* Hero ---------------------------------------------------------------------------------- */

.hero {
  position: relative;
  padding-top: calc(var(--nav-h) + clamp(16px, 3.2vh, 44px));
  padding-bottom: clamp(72px, 11vh, 132px);
  text-align: center;
  overflow: clip;
}
.hero__glow {
  position: absolute;
  inset: -10% -10% auto;
  height: 90%;
  background:
    radial-gradient(42% 46% at 50% 38%, rgba(195, 248, 92, 0.32), transparent 70%),
    radial-gradient(30% 34% at 22% 20%, rgba(186, 230, 253, 0.35), transparent 70%),
    radial-gradient(28% 30% at 80% 26%, rgba(233, 213, 255, 0.28), transparent 70%);
  filter: blur(10px);
  pointer-events: none;
}
.hero__inner { position: relative; display: flex; flex-direction: column; align-items: center; }

.chip {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 5px 12px 5px 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 0 0 1px var(--line), 0 4px 14px -6px rgba(0, 0, 0, 0.12);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  transition: box-shadow 0.25s, transform 0.25s var(--ease);
}
.chip:hover { box-shadow: 0 0 0 1px var(--line-2), 0 6px 18px -6px rgba(0, 0, 0, 0.18); }
.chip__mark { width: 22px; height: 22px; }
.chip__arrow { width: 14px; height: 14px; color: var(--ink-3); }

.hero__stage {
  --bleed: 90px;
  position: relative;
  width: min(100%, 1040px);
  height: clamp(200px, 31vh, 340px);
  margin-top: clamp(2px, 1vh, 12px);
}
.hero__canvas {
  position: absolute;
  top: calc(var(--bleed) * -1);
  left: 0;
  width: 100%;
  height: calc(100% + var(--bleed));
  opacity: 0;
  transition: opacity 0.9s var(--ease);
  touch-action: pan-y;
}
.hero__stage.is-3d .hero__canvas { opacity: 1; }

.keys-fallback {
  position: absolute; inset: 0;
  display: grid; place-content: center; gap: clamp(6px, 1vw, 10px);
  opacity: 0; transition: opacity 0.6s;
  perspective: 900px;
}
.hero__stage.is-fallback .keys-fallback { opacity: 1; }
.kf-row { display: flex; justify-content: center; gap: clamp(6px, 1vw, 10px); }
.kf {
  position: relative;
  width: clamp(34px, 6.2vw, 68px);
  aspect-ratio: 1;
  transform-style: preserve-3d;
  transition: transform 0.7s var(--spring);
}
.kf--shift { width: clamp(90px, 15vw, 160px); aspect-ratio: auto; height: clamp(34px, 6.2vw, 68px); cursor: pointer; }
.kf__face {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  border-radius: 22%;
  background: linear-gradient(180deg, #fff, #f0f0f2);
  box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.14), 0 2px 2px rgba(0, 0, 0, 0.08), 0 10px 20px -10px rgba(0, 0, 0, 0.3), inset 0 -3px 0 rgba(0, 0, 0, 0.05);
  font-size: clamp(16px, 2.8vw, 30px);
  font-weight: 500;
  color: var(--ink-3);
  backface-visibility: hidden;
}
.kf__face--b { transform: rotateX(180deg); color: var(--ink); }
.kf.is-flipped { transform: rotateX(180deg); }
.kf--shift .kf__face { border-radius: 14px; font-size: clamp(12px, 1.6vw, 17px); background: linear-gradient(180deg, #d6ff7d, #bdf24f); color: var(--lime-ink); }
.kf--shift.is-tapped { animation: double-tap 0.62s var(--ease); }

.hero__hint {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 2px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-3);
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.8s var(--ease) 1.6s;
}
.is-ready .hero__hint { opacity: 1; }
.hint-keys { display: inline-flex; gap: 4px; }
.hint-text--touch { display: none; }
.touch .hint-text--keys { display: none; }
.touch .hint-text--touch { display: inline; }

.hero__title {
  margin-top: clamp(14px, 2.4vh, 28px);
  font-size: clamp(40px, 6.2vw, 76px);
  line-height: 1.02;
  font-weight: 700;
  letter-spacing: -0.045em;
  text-wrap: balance;
}
.hero__title span { display: block; }
.hero__title-1 { color: var(--ink-3); }
.hero__sub {
  max-width: 50ch;
  margin-top: 18px;
  font-size: clamp(18px, 1.8vw, 21px);
  line-height: 1.45;
  color: var(--ink-2);
  text-wrap: pretty;
}
.hero__sub .mono { color: var(--ink); background: rgba(0, 0, 0, 0.045); padding: 1px 6px; border-radius: 6px; }
.hero__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 26px; }
.proof {
  display: inline-flex;
  align-items: center;
  margin-top: 22px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 0 0 1px var(--line), 0 6px 18px -10px rgba(0, 0, 0, 0.2);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.proof--card { margin: 20px 0 0; box-shadow: none; background: var(--bg-alt); }
.hero__meta { margin-top: 14px; font-size: 13px; color: var(--ink-3); letter-spacing: 0; }

/* Screen / window mockups --------------------------------------------------------------- */

.screen {
  position: relative;
  padding: 0 clamp(14px, 3vw, 34px) clamp(26px, 4vw, 44px);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(60% 70% at 15% 0%, rgba(195, 248, 92, 0.55), transparent 70%),
    radial-gradient(60% 80% at 100% 30%, rgba(147, 197, 253, 0.5), transparent 70%),
    radial-gradient(70% 70% at 50% 110%, rgba(253, 224, 171, 0.55), transparent 70%),
    #e9ece4;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.menubar {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 30px;
  margin: 0 calc(clamp(14px, 3vw, 34px) * -1) clamp(18px, 3vw, 30px);
  padding: 0 16px;
  background: rgba(255, 255, 255, 0.55);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  font-size: 12.5px;
  color: #1d1d1f;
}
.menubar__app { font-weight: 700; }
.menubar__right { display: inline-flex; align-items: center; gap: 12px; margin-left: auto; font-weight: 500; }
.menubar__icon { width: 15px; height: 15px; }
.menubar__icon--wide { width: 20px; }
.menubar__tc { display: inline-grid; place-items: center; width: 20px; height: 18px; border-radius: 5px; transition: background 0.2s; }
.menubar__tc svg { width: 13px; height: 13px; }
.menubar__tc.is-flash { animation: tc-flash 0.8s var(--ease); }
@keyframes tc-flash { 0% { background: var(--lime); } 100% { background: transparent; } }

.input-pill {
  display: inline-grid;
  place-items: center;
  min-width: 30px;
  height: 18px;
  padding: 0 5px;
  border-radius: 5px;
  border: 1.2px solid currentColor;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
}
.input-pill.is-switched { animation: pill-switch 0.6s var(--spring); }
@keyframes pill-switch {
  0% { transform: scale(0.6); background: var(--lime); color: var(--lime-ink); border-color: var(--lime-deep); }
  60% { background: var(--lime); color: var(--lime-ink); border-color: var(--lime-deep); }
  100% { transform: none; }
}

.window {
  position: relative;
  background: var(--surface);
  border-radius: 14px;
  box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.2), 0 30px 60px -24px rgba(0, 0, 0, 0.35), 0 12px 24px -12px rgba(0, 0, 0, 0.15);
  overflow: hidden;
}
.window__bar {
  position: relative;
  display: flex;
  align-items: center;
  height: 38px;
  padding: 0 14px;
  background: #f6f6f6;
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}
.lights { display: inline-flex; gap: 8px; }
.lights i { width: 12px; height: 12px; border-radius: 50%; background: #ff5f57; box-shadow: inset 0 0 0 0.5px rgba(0, 0, 0, 0.15); }
.lights i:nth-child(2) { background: #febc2e; }
.lights i:nth-child(3) { background: #28c840; }
.window__title { position: absolute; left: 50%; transform: translateX(-50%); font-size: 13px; font-weight: 600; color: #4d4d4d; }
.window__pill { margin-left: auto; color: #4d4d4d; }

.caret {
  display: inline-block;
  width: 2px;
  height: 1.15em;
  margin-left: 1px;
  vertical-align: -0.2em;
  border-radius: 1px;
  background: #0a84ff;
  animation: blink 1.05s steps(1) infinite;
}
.caret--static { animation: none; opacity: 0; }
@keyframes blink { 50% { opacity: 0; } }

.timer {
  position: absolute;
  right: clamp(14px, 3vw, 34px);
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 0 0 1px var(--line), 0 6px 16px -8px rgba(0, 0, 0, 0.25);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink-2);
}
.timer strong { font-family: var(--mono); font-weight: 600; color: var(--red); min-width: 4.4ch; text-align: right; font-variant-numeric: tabular-nums; }
.timer__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red); animation: pulse 1.2s ease-in-out infinite; }
.timer.is-done .timer__dot { animation: none; }
@keyframes pulse { 50% { opacity: 0.25; } }

/* Problem ------------------------------------------------------------------------------- */

.drill {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}
.window--chat { max-width: 560px; margin-inline: auto; }
.chat { display: flex; flex-direction: column; gap: 18px; padding: 22px 18px 16px; min-height: 250px; background: #fff; }
.bubble {
  align-self: flex-start;
  max-width: 78%;
  padding: 9px 14px;
  border-radius: 19px;
  background: #e9e9eb;
  color: #1d1d1f;
  font-size: 16px;
  line-height: 1.3;
}
.composer { display: flex; align-items: center; gap: 10px; margin-top: auto; }
.composer__field {
  flex: 1;
  min-height: 38px;
  padding: 8px 14px;
  border-radius: 19px;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.14);
  font-size: 16px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.composer__text { border-radius: 3px; transition: background-color 0.2s; }
.composer__text.is-wrong {
  text-decoration: underline wavy var(--red);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 4px;
}
.composer__text.is-selected { background: var(--selection); text-decoration-color: transparent; }
.composer__send { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #0a84ff; color: #fff; transform: rotate(-90deg); }
.composer__send svg { width: 16px; height: 16px; }

.step {
  position: relative;
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 16px;
  padding: 16px 0;
  opacity: 0.38;
  transition: opacity 0.5s var(--ease);
}
.step + .step { border-top: 1px solid var(--line); }
.step.is-active, .step.is-done { opacity: 1; }
.step__num {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.06);
  font-size: 15px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  transition: background 0.4s, color 0.4s, transform 0.4s var(--spring);
}
.step.is-active .step__num { background: var(--ink); color: #fff; transform: scale(1.06); }
.step.is-done .step__num { background: rgba(0, 0, 0, 0.1); }
.step__body h3 { font-size: 19px; font-weight: 650; letter-spacing: -0.022em; line-height: 1.25; }
.step__body p { margin-top: 3px; font-size: 16px; color: var(--ink-2); }
.problem .step.is-active .step__num { background: var(--red); }

.pains {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: clamp(72px, 10vw, 128px);
}
.pain {
  display: flex;
  flex-direction: column;
  padding: 26px 24px 28px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.04), 0 16px 40px -24px rgba(0, 0, 0, 0.18);
}
.pain h3 { font-size: 20px; font-weight: 650; line-height: 1.2; letter-spacing: -0.025em; margin-top: 22px; }
.pain p { margin-top: 8px; font-size: 15.5px; line-height: 1.5; color: var(--ink-2); }
.pain__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 92px;
  border-radius: 16px;
  background: var(--bg-alt);
}
.squiggle {
  font-size: 16px;
  color: var(--ink);
  text-decoration: underline wavy var(--red);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 5px;
}
.flagcheck { display: inline-flex; align-items: center; gap: 12px; font-size: 13px; }
.flagcheck .input-pill { height: 26px; min-width: 44px; font-size: 13px; border-radius: 7px; border-width: 1.5px; }
.flagcheck__eye { width: 34px; height: 34px; fill: none; stroke: var(--ink-3); stroke-width: 1.6; }
.flagcheck__pupil { fill: var(--ink-2); stroke: none; animation: look 3.6s ease-in-out infinite; }
@keyframes look { 0%, 40%, 100% { transform: none; } 50%, 90% { transform: translateX(3.5px); } }
.mangled { display: grid; gap: 4px; justify-items: center; font-size: 15px; }
.mangled s { color: var(--red); text-decoration-thickness: 1.5px; }
.mangled span { color: var(--ink-3); }
.dualkey {
  position: relative;
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: linear-gradient(180deg, #fff, #f0f0f2);
  box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.14), 0 1px 1px rgba(0, 0, 0, 0.1), 0 6px 12px -6px rgba(0, 0, 0, 0.3);
}
.dualkey b { position: absolute; left: 8px; top: 5px; font-size: 15px; font-weight: 600; }
.dualkey i { position: absolute; right: 8px; bottom: 5px; font-size: 14px; font-style: normal; font-weight: 600; color: var(--red); }

.stat { margin-top: clamp(80px, 12vw, 150px); text-align: center; }
.stat__value {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.18em;
  font-size: clamp(88px, 16vw, 200px);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.06em;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(180deg, #1d1d1f 30%, #6e6e73);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat__unit { font-size: 0.34em; letter-spacing: -0.035em; }
.stat__text { max-width: 24ch; margin: 16px auto 0; font-size: clamp(22px, 2.8vw, 34px); font-weight: 650; letter-spacing: -0.03em; line-height: 1.2; text-wrap: balance; }
.stat__note { margin-top: 14px; font-size: 14px; color: var(--ink-3); }

/* Solution ------------------------------------------------------------------------------ */

.solution {
  position: relative;
  background: var(--dark);
  color: var(--dark-ink);
  overflow: clip;
}
.solution__pin {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 100vh;
  min-height: 100svh;
  padding-block: calc(var(--nav-h) + 40px) 64px;
}
.solution__glow {
  position: absolute;
  left: 50%;
  top: 52%;
  width: min(1100px, 140vw);
  aspect-ratio: 1.6;
  translate: -50% -50%;
  background: radial-gradient(closest-side, rgba(195, 248, 92, 0.26), rgba(195, 248, 92, 0.06) 55%, transparent);
  opacity: 0.25;
  pointer-events: none;
}
.solution__inner { position: relative; display: grid; justify-items: center; gap: clamp(48px, 8vh, 80px); text-align: center; }
.solution__line {
  max-width: 17ch;
  font-size: clamp(40px, 7vw, 92px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.045em;
  text-wrap: balance;
}
.solution__line em, .word--accent { font-style: normal; color: var(--lime); }
.solution__keys { display: flex; gap: 14px; }
.solution__keys .key { --key-h: 76px; min-width: 176px; font-size: 16px; }
.solution__keys .key svg { width: 22px; height: 22px; }
.solution__meet { display: grid; justify-items: center; }
.solution__icon { width: clamp(96px, 11vw, 132px); height: auto; margin-bottom: 28px; filter: drop-shadow(0 24px 50px rgba(195, 248, 92, 0.25)); }
.solution__meet .h2 { font-size: clamp(40px, 6.4vw, 80px); }
.solution__meet .lead { margin: 22px auto 0; color: var(--dark-ink-2); max-width: 46ch; }

.solution.is-scrub .solution__inner { grid-template-areas: "stack"; }
.solution.is-scrub .solution__inner > * { grid-area: stack; }
.solution.is-scrub .solution__line { align-self: center; margin-bottom: 130px; }
.solution.is-scrub .solution__keys { align-self: center; margin-top: 180px; }
.solution.is-scrub .solution__meet { opacity: 0; }

.compare {
  display: grid;
  gap: 14px;
  padding-bottom: var(--section-pad);
}
.compare__row {
  display: grid;
  grid-template-columns: 180px 1fr auto;
  grid-template-areas: "label steps time" "label bar time";
  align-items: center;
  gap: 12px 24px;
  padding: 22px 26px;
  border-radius: var(--radius);
  background: var(--dark-2);
  box-shadow: inset 0 0 0 1px var(--dark-line);
}
.compare__label { grid-area: label; font-size: 15px; font-weight: 600; color: var(--dark-ink-2); }
.compare__steps { grid-area: steps; display: flex; flex-wrap: wrap; gap: 8px; }
.compare__steps li { padding: 5px 11px; border-radius: 999px; background: rgba(255, 255, 255, 0.07); font-size: 14px; color: var(--dark-ink); }
.compare__steps li:has(kbd) { padding: 0; background: none; }
.compare__steps kbd { background: var(--lime); color: var(--lime-ink); box-shadow: none; }
.compare__bar { grid-area: bar; height: 6px; border-radius: 6px; background: rgba(255, 255, 255, 0.07); overflow: hidden; }
.compare__bar i { display: block; height: 100%; width: 0; border-radius: inherit; transition: width 2.4s cubic-bezier(0.45, 0, 0.55, 1) 0.3s; }
.compare__row--before .compare__bar i { background: linear-gradient(90deg, #ff6b5f, #ff3b30); }
.compare__row--after .compare__bar i { background: var(--lime); transition-duration: 0.35s; }
.compare.is-in .compare__row--before .compare__bar i, .reveal-all .compare__row--before .compare__bar i { width: 100%; }
.compare.is-in .compare__row--after .compare__bar i, .reveal-all .compare__row--after .compare__bar i { width: 7%; }
.compare__time { grid-area: time; font-family: var(--mono); font-size: clamp(22px, 2.6vw, 30px); font-weight: 600; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.compare__row--before .compare__time { color: #ff6b5f; }
.compare__row--after .compare__time { color: var(--lime); }

/* How it works -------------------------------------------------------------------------- */

.how__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}
.how .step.is-active .step__num { background: var(--lime); color: var(--lime-ink); }
.how__steps .step__body h3 { font-size: 21px; }
.screen--how {
  background:
    radial-gradient(60% 70% at 85% 0%, rgba(195, 248, 92, 0.6), transparent 70%),
    radial-gradient(60% 80% at 0% 40%, rgba(167, 243, 208, 0.55), transparent 70%),
    radial-gradient(70% 70% at 50% 110%, rgba(191, 219, 254, 0.6), transparent 70%),
    #e8ede6;
}
.window--notes { max-width: 560px; margin-inline: auto; }
.notes { min-height: 212px; padding: 22px 26px 26px; background: #fffef9; }
.notes__title { font-size: 21px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 12px; }
.notes__line { font-size: 19px; line-height: 1.55; min-height: 1.55em; }
.notes__word { border-radius: 4px; transition: background-color 0.3s; }
.notes__word.is-fixed { background: rgba(195, 248, 92, 0.55); }
.ch { display: inline-block; white-space: pre; transform-origin: 50% 55%; backface-visibility: hidden; }
.ch[hidden] { display: none; }
.kbd-strip { display: flex; gap: 8px; max-width: 560px; margin: 22px auto 0; }
.kbd-strip .key--space { min-width: 0; flex: 1; }
.how__note { max-width: 62ch; margin-top: clamp(40px, 5vw, 64px); font-size: 17px; color: var(--ink-2); }

/* Try it -------------------------------------------------------------------------------- */

.playground { max-width: 760px; margin-inline: auto; }
.window--pg { box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.2), 0 40px 80px -30px rgba(0, 0, 0, 0.35), 0 12px 24px -12px rgba(0, 0, 0, 0.12); }
.pg__input {
  display: block;
  width: 100%;
  min-height: 150px;
  padding: 22px 26px;
  border: 0;
  outline: none;
  resize: vertical;
  background: #fff;
  color: var(--ink);
  font: 400 clamp(20px, 2.4vw, 26px)/1.45 var(--font);
  letter-spacing: -0.015em;
  caret-color: #0a84ff;
}
.pg__input::placeholder { color: #b0b0b5; }
.pg__input::selection { background: var(--selection); color: inherit; }
.pg__input.is-converted { animation: converted 0.9s var(--ease); }
@keyframes converted { 0% { box-shadow: inset 0 0 0 3px rgba(195, 248, 92, 0.9); } 100% { box-shadow: inset 0 0 0 3px transparent; } }
.pg__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border-top: 1px solid var(--line);
  background: #fafafa;
}
.pg__examples { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.pg__label { margin-right: 4px; font-size: 13px; font-weight: 600; color: var(--ink-3); }
.pg__chip {
  padding: 5px 11px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 0 0 1px var(--line-2);
  font-size: 14px;
  transition: box-shadow 0.2s, background 0.2s;
}
.pg__chip:hover { box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.3); }
.pg__actions { display: flex; align-items: center; gap: 12px; }
.pg__keys { display: inline-flex; gap: 4px; }
.pg__status {
  min-height: 46px;
  padding: 12px 18px 14px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--ink-2);
}
.pg__status[data-state="done"] { color: var(--ink); }
.pg__status[data-state="empty"] { color: #c2410c; }
.pg__from { color: var(--ink-3); text-decoration: line-through; }
.pg__to { padding: 1px 6px; border-radius: 6px; background: rgba(195, 248, 92, 0.6); color: var(--lime-ink); }
.try__foot { max-width: 60ch; margin: 22px auto 0; text-align: center; font-size: 14px; color: var(--ink-3); }

/* Features ------------------------------------------------------------------------------ */

.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 10px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.045), 0 20px 50px -30px rgba(0, 0, 0, 0.22);
}
.card--wide { grid-column: span 2; }
.card__visual {
  position: relative;
  display: grid;
  place-items: center;
  height: 210px;
  border-radius: calc(var(--radius-lg) - 10px);
  background: var(--bg-alt);
  overflow: hidden;
}
.card__visual--bleed { place-items: stretch; align-content: center; gap: 10px; }
.card__copy { padding: 22px 18px 18px; }
.card__copy h3 { font-size: 21px; font-weight: 650; line-height: 1.2; letter-spacing: -0.025em; }
.card__copy p { margin-top: 8px; font-size: 16px; color: var(--ink-2); }

.sel-demo { font-size: clamp(22px, 3vw, 34px); font-weight: 600; letter-spacing: -0.03em; color: var(--ink); padding: 0 24px; }
.sel-demo__word { border-radius: 6px; padding: 0 2px; transition: background-color 0.3s; }
.sel-demo__word.is-selected { background: var(--selection); }
.sel-demo__word.is-fixed.is-selected { background: rgba(195, 248, 92, 0.75); }

.switch-demo { display: flex; align-items: center; gap: 14px; }
.switch-demo__arrow { width: 22px; height: 22px; color: var(--ink-3); }
.input-pill--lg { height: 44px; min-width: 70px; padding: 0 12px; border-radius: 11px; border-width: 2px; font-size: 17px; color: var(--ink-3); transition: all 0.45s var(--spring); }
.input-pill--lg.input-pill--on { color: var(--lime-ink); background: var(--lime); border-color: var(--lime-deep); transform: scale(1.08); box-shadow: 0 10px 24px -10px rgba(127, 181, 31, 0.8); }

.marquee { overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__track { display: flex; gap: 8px; width: max-content; animation: marquee 38s linear infinite; }
.marquee--reverse .marquee__track { animation-direction: reverse; animation-duration: 44s; }
@keyframes marquee { to { transform: translateX(-50%); } }
.tag { padding: 7px 13px; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px var(--line); font-size: 14px; font-weight: 500; white-space: nowrap; }

.app-tiles { display: flex; align-items: center; gap: 10px; }
.app-tile {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 0 0 1px var(--line), 0 8px 20px -10px rgba(0, 0, 0, 0.3);
  color: var(--ink-2);
  animation: bob 4s ease-in-out infinite;
}
.app-tile:nth-child(2) { animation-delay: -0.8s; }
.app-tile:nth-child(4) { animation-delay: -1.6s; }
.app-tile:nth-child(5) { animation-delay: -2.4s; }
.app-tile svg { width: 24px; height: 24px; }
.app-tile--center { width: 68px; height: 68px; border-radius: 18px; background: none; box-shadow: none; animation: none; }
.app-tile--center svg { width: 68px; height: 68px; filter: drop-shadow(0 10px 18px rgba(127, 181, 31, 0.45)); }
@keyframes bob { 50% { transform: translateY(-6px); } }

.clip-demo { position: relative; color: var(--ink-2); }
.clip-demo__icon { width: 84px; height: 84px; stroke-width: 1.4; }
.clip-demo__check {
  position: absolute; right: -8px; bottom: -4px;
  display: grid; place-items: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--lime); color: var(--lime-ink);
  box-shadow: 0 0 0 4px var(--bg-alt);
  transform: scale(0);
  transition: transform 0.6s var(--spring) 0.4s;
}
.clip-demo__check svg { width: 20px; height: 20px; }
.is-in .clip-demo__check, .reveal-all .clip-demo__check { transform: scale(1); }

.prefs {
  width: min(100% - 40px, 440px);
  padding: 6px 16px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 0 0 1px var(--line), 0 16px 34px -18px rgba(0, 0, 0, 0.3);
  font-size: 13.5px;
}
.prefs__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; }
.prefs__row + .prefs__row { border-top: 1px solid var(--line); }
.toggle { position: relative; width: 38px; height: 22px; border-radius: 999px; background: #e5e5ea; flex: none; }
.toggle i { position: absolute; top: 2px; left: 2px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3); transition: transform 0.3s var(--ease); }
.toggle--on { background: #34c759; }
.toggle--on i { transform: translateX(16px); }
.segmented { display: inline-flex; padding: 2px; border-radius: 8px; background: #eeeef0; font-size: 12px; font-weight: 500; }
.segmented span { padding: 3px 8px; border-radius: 6px; color: var(--ink-2); white-space: nowrap; transition: background 0.3s, color 0.3s, box-shadow 0.3s; }
.segmented .is-on { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.14); }

.mb-demo { width: min(100% - 32px, 300px); font-size: 13px; }
.mb-demo__bar {
  display: flex; align-items: center; justify-content: flex-end; gap: 12px;
  height: 28px; padding: 0 12px; border-radius: 10px 10px 0 0;
  background: rgba(255, 255, 255, 0.9); box-shadow: 0 0 0 1px var(--line); font-weight: 500;
}
.mb-demo__tc { display: grid; place-items: center; width: 24px; height: 20px; border-radius: 5px; background: rgba(0, 0, 0, 0.1); }
.mb-demo__tc svg { width: 13px; height: 13px; }
.mb-demo__icon { width: 15px; height: 15px; }
.mb-demo__menu {
  display: grid; margin: 6px 0 0 0; padding: 5px;
  border-radius: 10px; background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 0 0 1px var(--line), 0 18px 34px -16px rgba(0, 0, 0, 0.35);
  transform-origin: 50% 0; transform: scaleY(0.6); opacity: 0;
  transition: transform 0.5s var(--spring) 0.3s, opacity 0.3s 0.3s;
}
.is-in .mb-demo__menu, .reveal-all .mb-demo__menu { transform: none; opacity: 1; }
.mb-demo__menu span { display: flex; align-items: center; justify-content: space-between; padding: 4px 8px 4px 22px; border-radius: 5px; position: relative; }
.mb-demo__menu span:first-child { background: #0a84ff; color: #fff; }
.mb-demo__menu kbd { height: auto; min-width: 0; padding: 0; background: none; box-shadow: none; font-size: 12px; font-weight: 500; color: inherit; opacity: 0.6; }
.mb-demo__check { position: absolute; left: 7px; font-style: normal; font-size: 11px; }
.mb-demo__menu hr { width: calc(100% - 16px); margin: 4px 8px; border: 0; border-top: 1px solid var(--line); }

/* Privacy ------------------------------------------------------------------------------- */

.privacy {
  position: relative;
  padding-block: var(--section-pad);
  background: var(--dark);
  color: var(--dark-ink);
  overflow: clip;
}
.privacy::before {
  content: "";
  position: absolute;
  left: 50%; top: 0;
  width: min(900px, 120vw); aspect-ratio: 2;
  translate: -50% -45%;
  background: radial-gradient(closest-side, rgba(195, 248, 92, 0.18), transparent);
  pointer-events: none;
}
.privacy__inner { position: relative; }
.privacy .lead { color: var(--dark-ink-2); }
.privacy__badge {
  display: inline-grid; place-items: center;
  width: 72px; height: 72px; margin-bottom: 26px;
  border-radius: 22px;
  background: linear-gradient(180deg, #23261f, #161814);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 0 0 1px var(--dark-line), 0 20px 40px -18px rgba(195, 248, 92, 0.4);
  color: var(--lime);
}
.privacy__badge svg { width: 34px; height: 34px; }
.privacy__points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.privacy__point { padding: 28px; border-radius: var(--radius-lg); background: var(--dark-2); box-shadow: inset 0 0 0 1px var(--dark-line); }
.privacy__icon { width: 30px; height: 30px; color: var(--lime); }
.privacy__point h3 { margin-top: 20px; font-size: 20px; font-weight: 650; letter-spacing: -0.025em; }
.privacy__point p { margin-top: 8px; font-size: 16px; color: var(--dark-ink-2); }

/* Pricing ------------------------------------------------------------------------------- */

.price-card {
  position: relative;
  max-width: 460px;
  margin-inline: auto;
  padding: 32px;
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.05), 0 40px 90px -40px rgba(0, 0, 0, 0.35);
}
.price-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(160deg, var(--lime), transparent 40%, transparent 60%, rgba(147, 197, 253, 0.8));
  filter: blur(22px);
  opacity: 0.55;
}
.price-card__top { display: flex; align-items: center; gap: 16px; }
.price-card__top img { width: 64px; height: 64px; }
.price-card__top h3 { font-size: 22px; font-weight: 700; letter-spacing: -0.025em; }
.price-card__top p { font-size: 15px; color: var(--ink-3); }
.price-card__price { display: flex; align-items: baseline; gap: 10px; margin: 28px 0 22px; }
.price-card__amount { font-size: 72px; font-weight: 700; line-height: 1; letter-spacing: -0.05em; }
.price-card__once { font-size: 17px; font-weight: 600; color: var(--ink-3); }
.checklist { display: grid; gap: 12px; margin-bottom: 30px; }
.checklist li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: 16px; }
.checklist svg { width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: var(--lime); color: var(--lime-ink); }
.price-card__fine { margin-top: 18px; font-size: 14px; color: var(--ink-2); text-align: center; }
.price-card__secure { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 10px; font-size: 13px; color: var(--ink-3); }
.price-card__secure svg { width: 14px; height: 14px; }
.pricing__already { margin-top: 30px; text-align: center; font-size: 15px; color: var(--ink-2); }
.pricing__already a { color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
.pricing__already a:hover { text-decoration-color: currentColor; }

/* FAQ ----------------------------------------------------------------------------------- */

.faq__inner { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr); gap: clamp(24px, 6vw, 96px); align-items: start; }
.faq__inner .section-head { position: sticky; top: calc(var(--nav-h) + 32px); margin-bottom: 0; }
.faq__list { border-top: 1px solid var(--line-2); }
.faq__item { border-bottom: 1px solid var(--line-2); }
.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.3;
  cursor: pointer;
  list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__icon { width: 22px; height: 22px; flex: none; color: var(--ink-3); transition: transform 0.35s var(--ease); }
.faq__item[open] .faq__icon { transform: rotate(45deg); }
.faq__a { padding: 0 44px 24px 0; font-size: 17px; color: var(--ink-2); }
.faq__a a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.faq__a .mono { color: var(--ink); }
@supports (interpolate-size: allow-keywords) {
  .faq__list { interpolate-size: allow-keywords; }
  .faq__item::details-content { height: 0; overflow: clip; transition: height 0.4s var(--ease), content-visibility 0.4s allow-discrete; }
  .faq__item[open]::details-content { height: auto; }
}

/* Final CTA ----------------------------------------------------------------------------- */

.final {
  position: relative;
  padding-block: clamp(110px, 16vw, 200px) clamp(100px, 13vw, 160px);
  background: var(--dark);
  color: var(--dark-ink);
  text-align: center;
  overflow: clip;
}
.final__glow {
  position: absolute; left: 50%; top: 0;
  width: min(1000px, 140vw); aspect-ratio: 1.4;
  translate: -50% -30%;
  background: radial-gradient(closest-side, rgba(195, 248, 92, 0.22), transparent);
  pointer-events: none;
}
.final__inner { position: relative; display: grid; justify-items: center; }
.final__keys { display: flex; gap: 12px; margin-bottom: 44px; }
.final__keys .key { min-width: 140px; }
.final__title { max-width: 16ch; font-size: clamp(44px, 7.6vw, 96px); font-weight: 700; line-height: 1.02; letter-spacing: -0.048em; text-wrap: balance; }
.final .lead { margin: 22px auto 36px; color: var(--dark-ink-2); }
.final__meta { margin-top: 18px; font-size: 13px; color: var(--dark-ink-2); }

/* Footer -------------------------------------------------------------------------------- */

.footer { background: var(--dark); color: var(--dark-ink-2); font-size: 14px; }
.footer__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px 40px;
  padding-block: 48px 40px;
  border-top: 1px solid var(--dark-line);
}
.footer__brand .brand { color: var(--dark-ink); }
.footer__brand p { margin-top: 10px; max-width: 34ch; }
.footer__links { display: flex; flex-wrap: wrap; gap: 10px 26px; align-items: center; }
.footer__links a { color: var(--dark-ink); transition: color 0.2s; }
.footer__links a:hover { color: var(--lime); }
.footer__bottom { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 22px; border-top: 1px solid var(--dark-line); }

/* Guide page -------------------------------------------------------------------------- */

.guide__hero { padding: calc(var(--nav-h) + clamp(56px, 8vw, 104px)) 0 clamp(36px, 5vw, 60px); text-align: center; }
.guide__hero-inner { display: grid; justify-items: center; }
.guide__title { max-width: 16ch; font-size: clamp(44px, 7vw, 84px); font-weight: 700; line-height: 1.02; letter-spacing: -0.045em; text-wrap: balance; }
.guide__hero .lead { margin: 20px auto 0; }

.dl-banner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 6px 14px;
  width: min(100%, 660px);
  margin-top: 32px;
  padding: 12px 18px 12px 12px;
  border-radius: 18px;
  background: var(--surface);
  box-shadow: 0 0 0 1px var(--line), 0 20px 44px -22px rgba(0, 0, 0, 0.3);
  text-align: left;
  opacity: 0;
  transform: translateY(10px) scale(0.98);
  transition: opacity 0.6s var(--ease), transform 0.7s var(--spring);
}
.dl-banner.is-shown { opacity: 1; transform: none; }
.dl-banner__icon { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 12px; background: var(--lime); color: var(--lime-ink); }
.dl-banner__icon svg { width: 20px; height: 20px; animation: nudge 1.4s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateY(3px); } }
.dl-banner__text { display: grid; gap: 2px; font-size: 14.5px; line-height: 1.4; color: var(--ink-2); }
.dl-banner__text strong { font-size: 15.5px; color: var(--ink); }
.dl-banner__again { font-size: 14px; font-weight: 600; white-space: nowrap; text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
.dl-banner__again:hover { text-decoration-color: currentColor; }

.guide__steps { padding-bottom: clamp(40px, 5vw, 64px); }
.guide-step {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding-block: clamp(48px, 6vw, 88px);
  border-top: 1px solid var(--line);
  scroll-margin-top: var(--nav-h);
}
.guide-step__label { font-family: var(--mono); font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--lime-text); }
.guide-step__title { margin-top: 12px; font-size: clamp(30px, 3.6vw, 44px); line-height: 1.08; font-weight: 700; letter-spacing: -0.035em; text-wrap: balance; }
.guide-step__text { max-width: 46ch; margin-top: 16px; font-size: 18px; line-height: 1.55; color: var(--ink-2); }
.guide-step__note { max-width: 48ch; margin-top: 18px; padding: 2px 0 2px 16px; border-left: 3px solid var(--lime); font-size: 15.5px; line-height: 1.55; color: var(--ink-2); }
.guide-step__copy .btn { margin-top: 26px; }
.guide-step__shot { margin: 0; }
.guide-step__shot figcaption { margin-top: 12px; font-size: 14px; color: var(--ink-3); }
.shot {
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 18px;
  background: var(--bg-alt);
  box-shadow: 0 0 0 1px var(--line), 0 30px 60px -32px rgba(0, 0, 0, 0.35);
}
.shot img { width: 100%; max-height: 600px; object-fit: contain; transition: transform 0.6s var(--ease); }
.shot:hover img { transform: scale(1.015); }
.guide__shots-note { padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-3); text-align: center; }

.dl-illus {
  position: relative;
  padding: clamp(18px, 3vw, 30px) clamp(18px, 3vw, 30px) clamp(26px, 4vw, 44px);
  border-radius: 18px;
  background:
    radial-gradient(60% 70% at 10% 0%, rgba(195, 248, 92, 0.55), transparent 70%),
    radial-gradient(60% 80% at 100% 40%, rgba(147, 197, 253, 0.5), transparent 70%),
    #eef0ea;
  box-shadow: 0 0 0 1px var(--line), 0 30px 60px -32px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}
.dl-illus__window { border-radius: 12px; background: #fff; box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.18), 0 24px 50px -24px rgba(0, 0, 0, 0.35); overflow: hidden; }
.dl-illus__bar { display: flex; align-items: center; gap: 12px; height: 34px; padding: 0 12px; background: #f6f6f6; border-bottom: 1px solid rgba(0, 0, 0, 0.07); }
.dl-illus__bar .lights i { width: 10px; height: 10px; }
.dl-illus__url {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  height: 22px;
  margin-inline: 6%;
  border-radius: 7px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06);
  font-size: 11.5px;
  color: var(--ink-2);
}
.dl-illus__url svg { width: 10px; height: 10px; }
.dl-illus__tray { display: grid; place-items: center; width: 24px; height: 22px; border-radius: 6px; background: rgba(10, 132, 255, 0.12); color: #0a84ff; }
.dl-illus__tray svg { width: 14px; height: 14px; }
.dl-illus__page { display: grid; justify-items: center; gap: 12px; padding: 26px 20px 32px; text-align: center; }
.dl-illus__logo { width: 36px; height: 36px; }
.dl-illus__title { max-width: 20ch; font-size: clamp(16px, 2vw, 22px); font-weight: 700; line-height: 1.15; letter-spacing: -0.03em; }
.dl-illus__title span { color: var(--ink-3); }
.dl-illus__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 12.5px;
  font-weight: 600;
  box-shadow: 0 0 0 4px rgba(195, 248, 92, 0.7);
}
.dl-illus__btn svg { width: 13px; height: 13px; }
.dl-illus__popover {
  position: absolute;
  top: clamp(56px, 7vw, 70px);
  right: clamp(12px, 2vw, 22px);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px 10px 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 0 0 1px var(--line), 0 18px 40px -16px rgba(0, 0, 0, 0.35);
}
.dl-illus__file { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: linear-gradient(180deg, #f1f2f4, #dfe3e8); color: var(--ink-2); }
.dl-illus__file svg { width: 20px; height: 20px; }
.dl-illus__meta { display: grid; gap: 5px; font-size: 12.5px; }
.dl-illus__meta small { font-size: 11px; color: var(--ink-3); }
.dl-illus__progress { display: block; width: 130px; height: 4px; border-radius: 4px; background: rgba(0, 0, 0, 0.08); overflow: hidden; }
.dl-illus__progress i { display: block; width: 100%; height: 100%; border-radius: inherit; background: #0a84ff; transform-origin: left; animation: dl-progress 2.8s var(--ease) infinite; }
@keyframes dl-progress { 0% { transform: scaleX(0); } 70%, 100% { transform: scaleX(1); } }

.guide-help {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 22px;
  margin-bottom: var(--section-pad);
  padding: 26px 28px;
  border-radius: var(--radius-lg);
  background: var(--bg-alt);
}
.guide-help__icon { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 14px; background: var(--surface); box-shadow: 0 0 0 1px var(--line); }
.guide-help__icon svg { width: 24px; height: 24px; }
.guide-help__copy { flex: 1 1 280px; }
.guide-help h2 { font-size: 22px; font-weight: 700; letter-spacing: -0.025em; }
.guide-help p { margin-top: 4px; color: var(--ink-2); }

.guide-done { position: relative; padding-block: clamp(96px, 13vw, 170px); background: var(--dark); color: var(--dark-ink); text-align: center; overflow: clip; }
.guide-done__inner { position: relative; display: grid; justify-items: center; }
.guide-done__mark { width: 72px; height: 72px; margin-bottom: 28px; filter: drop-shadow(0 16px 40px rgba(195, 248, 92, 0.35)); }
.guide-done__title { max-width: 18ch; font-size: clamp(38px, 6vw, 72px); font-weight: 700; line-height: 1.04; letter-spacing: -0.045em; text-wrap: balance; }
.guide-done .lead { margin: 20px auto 34px; color: var(--dark-ink-2); }

.price-card__buy { margin-top: 10px; text-align: center; font-size: 14px; }
.price-card__buy a { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
.price-card__buy a:hover { text-decoration-color: currentColor; }
.price-card__buy svg { width: 14px; height: 14px; }

/* 404 ----------------------------------------------------------------------------------- */

.page-404 { min-height: 100svh; display: grid; place-items: center; background: var(--bg); }
.nf { display: grid; justify-items: center; gap: 14px; padding: 40px 20px; text-align: center; }
.nf__brand { margin-bottom: 36px; }
.nf__code { font-size: 15px; color: var(--ink-3); }
.nf__title { font-size: clamp(44px, 9vw, 96px); font-weight: 700; letter-spacing: -0.045em; line-height: 1; perspective: 600px; }
.nf__text { max-width: 36ch; font-size: 19px; color: var(--ink-2); }
.nf__hint { display: flex; gap: 4px; margin-top: 6px; }
.nf__links { display: grid; gap: 6px; margin-top: 28px; font-size: 15px; color: var(--ink-3); }
.nf__links a { color: var(--ink); font-weight: 600; }

/* Responsive ---------------------------------------------------------------------------- */

/* Short laptop screens: keep the buttons above the fold. */
@media (min-width: 641px) and (max-height: 800px) {
  .hero__stage { height: clamp(170px, 25vh, 220px); }
  .proof { margin-top: 14px; }
  .hero__title { font-size: clamp(38px, 5.4vw, 64px); margin-top: 10px; }
  .hero__sub { margin-top: 14px; }
  .hero__ctas { margin-top: 16px; }
  .hero__meta { margin-top: 10px; }
}

@media (max-width: 1080px) {
  .pains { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .compare__row { grid-template-columns: 1fr auto; grid-template-areas: "label time" "steps steps" "bar bar"; }
}

@media (max-width: 1040px) {
  .nav__links { display: none; }
  .nav__toggle { display: block; }
  .nav__right, .nav__links + .nav__right { margin-left: auto; }
}

@media (max-width: 900px) {
  .drill, .how__grid { grid-template-columns: minmax(0, 1fr); }
  .drill__steps { order: 2; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .f-native { grid-column: span 2; }
  .privacy__points { grid-template-columns: 1fr; }
  .faq__inner { grid-template-columns: 1fr; }
  .faq__inner .section-head { position: static; }
  .guide-step { grid-template-columns: minmax(0, 1fr); }
  .solution__keys .key { --key-h: 64px; min-width: 140px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav__inner { gap: 12px; }
  .nav__right { gap: 8px; }
  .nav__cta { height: 32px; padding: 0 12px; font-size: 13px; }
  .brand__name { font-size: 17px; }
  .hero__ctas { flex-direction: column; align-items: stretch; width: 100%; }
  .hero__ctas .btn { width: 100%; }
  .pains { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; }
  .card--wide, .f-native { grid-column: auto; }
  .card__visual { height: 180px; }
  .chat { min-height: 220px; }
  .timer { position: static; margin: 16px auto 0; width: max-content; display: flex; }
  .screen { padding-bottom: 16px; }
  .kbd-strip .key--shift { min-width: 84px; }
  .hero__stage { --bleed: 56px; height: clamp(170px, 50vw, 250px); }
  .hero__hint { margin-top: 0; }
  .solution.is-scrub .solution__line { margin-bottom: 110px; }
  .solution.is-scrub .solution__keys { margin-top: 170px; }
  .solution__keys .key { --key-h: 56px; min-width: 120px; }
  .dl-banner { grid-template-columns: auto minmax(0, 1fr); align-items: start; }
  .dl-banner__again { grid-column: 2; }
  .dl-illus__popover { top: auto; bottom: 12px; }
  .footer__inner { grid-template-columns: 1fr; }
  .price-card { padding: 24px; }
  .price-card__amount { font-size: 60px; }
  .segmented span { padding: 3px 7px; }
  .prefs { width: calc(100% - 24px); }
  .prefs__row:has(.segmented) { flex-direction: column; align-items: flex-start; gap: 8px; }
  .f-control .card__visual { height: 220px; }
}

@media (max-width: 460px) {
  .brand__name { display: none; }
  .lang a { padding: 4px 7px; }
}

@media (max-width: 340px) {
  .nav__cta { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .marquee__track { animation: none; }
  .caret { animation: none; }
}
