/* Steno Start — the site.
   Type and colour come from the app icon: a blue keyboard plate, cream keys
   and five colour-coded steno keys. Nunito for display, Inter for text. */

@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/Inter.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Nunito";
  src: url("/assets/fonts/Nunito.woff2") format("woff2");
  font-weight: 700 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --brand: #2f63e8;
  --brand-deep: #1e48b8;
  --sky: #65b6f2;
  --amber: #ffc132;
  --pink: #ff6b9d;
  --purple: #9b6cf3;
  --ink: #0b1b36;
  --muted: #4a5578;
  --line: #d9e3f5;
  --paper: #ffffff;
  --wash: #edf4ff;
  --wash-2: #f7faff;
  --cream: #fbf3dd;
  --cream-deep: #f5e7c2;
  --warm: #fbf3dd;
  --warm-line: #eadcb4;
  --warm-ink: #0b1b36;
  --warm-muted: #46516f;
  --warm-glow-a: rgba(255, 193, 50, .28);
  --warm-glow-b: rgba(155, 108, 243, .22);
  --navy: #071426;
  --on-brand: #ffffff;
  --ok: #167a45;
  --shadow-sm: 0 1px 2px rgba(11, 27, 54, .05), 0 8px 24px rgba(11, 27, 54, .05);
  --shadow: 0 2px 4px rgba(11, 27, 54, .04), 0 22px 54px rgba(11, 27, 54, .10);
  --radius: 22px;
  --radius-sm: 14px;
  --shell: 1100px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --brand: #6d9cff;
    --brand-deep: #4f7fe8;
    --ink: #eef0fb;
    --muted: #a8b3d1;
    --line: #243354;
    --paper: #0b0e17;
    --wash: #0f1422;
    --wash-2: #111830;
    --cream: #f8efd6;
    --cream-deep: #e9dcb9;
    --warm: #17140f;
    --warm-line: #332c1d;
    --warm-ink: #f3edea;
    --warm-muted: #c4b9a8;
    --warm-glow-a: rgba(255, 193, 50, .10);
    --warm-glow-b: rgba(155, 108, 243, .12);
    --navy: #071426;
    --on-brand: #081022;
    --ok: #4ade80;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .35), 0 10px 28px rgba(0, 0, 0, .28);
    --shadow: 0 2px 4px rgba(0, 0, 0, .4), 0 24px 60px rgba(0, 0, 0, .4);
  }
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 1.02rem;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; }

a { color: var(--brand); text-underline-offset: 3px; }

h1, h2, h3 {
  font-family: "Nunito", "Inter", system-ui, sans-serif;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.08;
  text-wrap: balance;
}

p { text-wrap: pretty; }

.shell {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 24px;
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--paper);
  color: var(--ink);
  padding: 12px 18px;
  border-radius: 0 0 10px 0;
  z-index: 20;
}

.skip-link:focus { left: 0; }

:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 3px;
  border-radius: 4px;
}

.icon {
  width: 1.35em;
  height: 1.35em;
  flex: none;
  vertical-align: -0.2em;
}

/* ---------- masthead ---------- */

.masthead {
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}

.masthead-inner {
  display: flex;
  align-items: center;
  gap: 26px;
  min-height: 70px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-family: "Nunito", sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  flex: none;
}

.wordmark strong { font-weight: 900; }

.wordmark-icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  box-shadow: 0 2px 6px rgba(11, 27, 54, .14);
}

.masthead-nav {
  display: flex;
  gap: 24px;
  margin-left: auto;
}

.masthead-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: .94rem;
  font-weight: 500;
}

.masthead-nav a:hover { color: var(--ink); }

.masthead-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--brand);
  color: var(--on-brand);
  text-decoration: none;
  font-size: .9rem;
  font-weight: 700;
  white-space: nowrap;
}

.masthead-cta:hover { background: var(--brand-deep); }

.mobile-nav { display: none; position: relative; }

.mobile-nav summary {
  list-style: none;
  cursor: pointer;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--ink);
}

.mobile-nav summary::-webkit-details-marker { display: none; }

.mobile-nav summary::after {
  content: " ▾";
  font-size: .7rem;
  color: var(--muted);
}

.mobile-nav nav {
  position: absolute;
  right: 0;
  top: calc(100% + 16px);
  display: grid;
  width: 210px;
  padding: 10px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  z-index: 20;
}

.mobile-nav nav a {
  padding: 10px 12px;
  border-radius: 9px;
  color: var(--ink);
  text-decoration: none;
  font-size: .92rem;
  font-weight: 500;
}

.mobile-nav nav a:hover { background: var(--wash); color: var(--brand); }

/* ---------- shared type and buttons ---------- */

.eyebrow {
  margin: 0 0 14px;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .76rem;
  font-weight: 700;
  color: color-mix(in srgb, var(--brand) 78%, var(--ink));
}

.eyebrow.dark { color: var(--brand); }

.accent { color: var(--brand); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-size: .98rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, border-color .15s ease;
}

.button:hover { transform: translateY(-1px); }

.button.primary {
  background: var(--brand);
  color: var(--on-brand);
  box-shadow: 0 10px 22px rgba(47, 99, 232, .22);
}

.button.primary:hover { background: var(--brand-deep); }

.button.ghost {
  background: transparent;
  border-color: color-mix(in srgb, var(--ink) 22%, transparent);
  color: var(--ink);
}

.button.ghost:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.button.light {
  background: #fff;
  color: #12306a;
  border-color: #fff;
}

.button.light:hover { background: var(--cream); border-color: var(--cream); }

.button[aria-disabled="true"],
.button.is-disabled {
  background: color-mix(in srgb, var(--paper) 70%, var(--line));
  color: var(--muted);
  border-color: var(--line);
  cursor: default;
  box-shadow: none;
}

.button[aria-disabled="true"]:hover,
.button.is-disabled:hover { transform: none; }

.text-link {
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.text-link:hover { text-decoration: underline; }

.light-link { color: #fff; }

.section { padding: 92px 0; }

.section-head {
  max-width: 760px;
  margin-bottom: 44px;
}

.section-head h2 {
  margin: 0 0 18px;
  font-size: clamp(1.9rem, 3.8vw, 2.9rem);
}

.section-intro {
  margin: 0;
  color: var(--muted);
  font-size: 1.07rem;
  max-width: 64ch;
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(90% 120% at 88% 6%, rgba(101, 182, 242, .30), transparent 56%),
    radial-gradient(80% 100% at 4% 90%, rgba(255, 193, 50, .18), transparent 52%),
    var(--wash);
  padding: 72px 0 86px;
  border-bottom: 1px solid var(--line);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(currentColor 1px, transparent 1px);
  background-size: 22px 22px;
  color: color-mix(in srgb, var(--brand) 12%, transparent);
  mask-image: linear-gradient(to bottom, black, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
  align-items: center;
  gap: 56px;
}

.hero h1 {
  margin: 0 0 22px;
  font-size: clamp(2.55rem, 5.6vw, 4.15rem);
  letter-spacing: -0.035em;
  line-height: .98;
}

.hero-intro {
  margin: 0 0 30px;
  max-width: 52ch;
  font-size: 1.1rem;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.hero-proof {
  margin: 22px 0 0;
  font-size: .86rem;
  color: var(--muted);
  letter-spacing: .01em;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.keyboard-card {
  width: min(100%, 470px);
  background: var(--paper);
  border: 1px solid color-mix(in srgb, var(--line) 80%, transparent);
  border-radius: 26px;
  padding: 18px 18px 16px;
  box-shadow: var(--shadow);
  transform: rotate(-1.2deg);
}

.keyboard-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.app-name {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: "Nunito", sans-serif;
  font-size: 1rem;
  color: var(--ink);
}

.app-name b { font-weight: 900; }

.app-dot {
  width: 9px;
  height: 9px;
  border-radius: 2px;
  background: var(--brand);
}

.keyboard-badge {
  padding: 5px 10px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--purple) 14%, transparent);
  color: color-mix(in srgb, var(--purple) 82%, var(--ink));
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .12em;
}

.keyboard-sentence {
  background: var(--wash-2);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
  margin-bottom: 12px;
}

.sentence-label {
  display: block;
  margin-bottom: 4px;
  font-size: .6rem;
  letter-spacing: .12em;
  font-weight: 700;
  color: var(--muted);
}

.keyboard-sentence p {
  margin: 0;
  font-size: 1.28rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.sentence-target {
  display: inline-block;
  padding: 0 6px;
  border-radius: 6px;
  background: color-mix(in srgb, var(--brand) 13%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--brand) 35%, transparent);
}

.keyboard {
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  gap: 6px;
  padding: 14px 10px;
  border-radius: 18px;
  background: #c6dcfb;
  box-shadow: inset 0 0 0 1px #dcebff;
}

@media (prefers-color-scheme: dark) {
  .keyboard {
    background: #10233f;
    box-shadow: inset 0 0 0 1px #2a476c;
  }
}

.kb-key {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 50px;
  border-radius: 9px;
  background: var(--cream);
  color: #0b1b36;
  font-family: "Inter", sans-serif;
  font-size: .95rem;
  font-weight: 700;
  box-shadow: 0 2px 0 rgba(11, 27, 54, .18), inset 0 2px 0 rgba(255, 255, 255, .75);
}

.kb-key::after {
  content: "";
  position: absolute;
  left: 22%;
  right: 22%;
  bottom: 6px;
  height: 3px;
  border-radius: 3px;
  background: var(--key-stripe, rgba(11, 27, 54, .16));
}

.kb-key.is-left { --key-stripe: var(--brand); }
.kb-key.is-vowel { --key-stripe: #b66b00; }
.kb-key.is-star { --key-stripe: #c92e63; }
.kb-key.is-right { --key-stripe: #7e45c9; }

.kb-key.chip-s { background: #2f6be8; color: #fff; --key-stripe: rgba(255, 255, 255, .55); }
.kb-key.chip-t { background: #65b6f2; color: #fff; --key-stripe: rgba(255, 255, 255, .6); }
.kb-key.chip-e { background: #ffc132; color: #07142c; --key-stripe: rgba(7, 20, 44, .35); }
.kb-key.chip-n { background: #ff7ea8; color: #fff; --key-stripe: rgba(255, 255, 255, .55); }
.kb-key.chip-o { background: #9b6cf3; color: #fff; --key-stripe: rgba(255, 255, 255, .55); }
.kb-key.chip-star { background: #ff7ea8; color: #fff; --key-stripe: rgba(255, 255, 255, .55); }

.kb-key.chip-s,
.kb-key.chip-t,
.kb-key.chip-e,
.kb-key.chip-n,
.kb-key.chip-o,
.kb-key.chip-star { box-shadow: 0 3px 0 rgba(11, 27, 54, .22), inset 0 2px 0 rgba(255, 255, 255, .32); }

.kb-1 { grid-column: 1; }
.kb-2 { grid-column: 2; }
.kb-3 { grid-column: 3; }
.kb-4 { grid-column: 4; }
.kb-5 { grid-column: 5; }
.kb-6 { grid-column: 6; }
.kb-7 { grid-column: 7; }
.kb-8 { grid-column: 8; }
.kb-9 { grid-column: 9; }
.kb-10 { grid-column: 10; }

.kb-row-2 { grid-row: 2; }
.kb-row-3 { grid-row: 3; }

.keyboard-caption {
  margin: 12px 2px 0;
  text-align: center;
  font-size: .72rem;
  color: var(--muted);
}

.float-chip {
  position: absolute;
  padding: 8px 12px;
  border-radius: 11px;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  font-size: .74rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: .04em;
}

.chip-one { top: 42px; right: -22px; transform: rotate(3deg); }
.chip-two { bottom: -14px; left: -2px; transform: rotate(-3deg); }

/* ---------- highlights ---------- */

.highlights {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.highlight-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}

.highlight-list li {
  padding: 34px 30px 36px;
  border-left: 1px solid var(--line);
}

.highlight-list li:first-child { border-left: 0; padding-left: 0; }
.highlight-list li:last-child { padding-right: 0; }

.highlight-list .icon {
  width: 30px;
  height: 30px;
  color: var(--brand);
  margin-bottom: 12px;
}

.highlight-list h2 {
  margin: 0 0 7px;
  font-size: 1.12rem;
  letter-spacing: -0.015em;
}

.highlight-list p {
  margin: 0;
  color: var(--muted);
  font-size: .94rem;
  line-height: 1.6;
}

/* ---------- steps ---------- */

.step-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: step;
}

.step-grid li {
  position: relative;
  padding: 28px 26px 30px;
  background: var(--wash-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.step-number {
  display: inline-block;
  margin-bottom: 16px;
  font-family: "Nunito", sans-serif;
  font-size: 2.4rem;
  font-weight: 900;
  line-height: 1;
  color: var(--brand);
  letter-spacing: -0.04em;
}

.step-grid h3 {
  margin: 0 0 8px;
  font-size: 1.28rem;
}

.step-grid p {
  margin: 0;
  color: var(--muted);
  font-size: .97rem;
}

/* ---------- screenshots ---------- */

.shots {
  background: var(--wash);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.shot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: start;
}

.shot-grid figure {
  margin: 0;
}

.shot-grid img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 26px;
  border: 1px solid color-mix(in srgb, var(--line) 80%, transparent);
  box-shadow: var(--shadow);
  background: var(--wash-2);
}

.shot-grid figcaption {
  margin-top: 14px;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.55;
  padding: 0 6px;
}

/* ---------- features ---------- */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px 26px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.feature-grid li {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper);
}

.feature-grid .icon {
  width: 26px;
  height: 26px;
  color: var(--brand);
  margin-top: 2px;
}

.feature-grid h3 {
  margin: 0 0 5px;
  font-size: 1.07rem;
  letter-spacing: -0.01em;
}

.feature-grid p {
  margin: 0;
  color: var(--muted);
  font-size: .94rem;
  line-height: 1.6;
}

/* ---------- dictionary band ---------- */

.dictionary-band {
  background:
    radial-gradient(80% 130% at 90% 0%, rgba(101, 182, 242, .25), transparent 60%),
    linear-gradient(150deg, #0b1b36 0%, #071426 100%);
  color: #fff;
  padding: 72px 0;
}

.dictionary-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.dictionary-band .eyebrow { color: #9dc0ff; }

.dictionary-band h2 {
  margin: 0 0 12px;
  font-size: clamp(1.7rem, 3.2vw, 2.5rem);
}

.dictionary-band p {
  margin: 0;
  max-width: 60ch;
  color: #c8d4ef;
}

.dictionary-band-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  flex: none;
}

/* ---------- pricing ---------- */

.plan-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  align-items: stretch;
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
}

.plan.featured {
  border-color: color-mix(in srgb, var(--brand) 55%, var(--line));
  box-shadow: 0 2px 4px rgba(47, 99, 232, .06), 0 24px 60px rgba(47, 99, 232, .14);
}

.plan-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 4px 10px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--brand) 12%, transparent);
  color: var(--brand);
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.plan h3 {
  margin: 0 0 10px;
  font-size: 1.35rem;
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 4px;
}

.plan-price strong {
  font-family: "Nunito", sans-serif;
  font-size: 2.9rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
}

.plan-price span {
  color: var(--muted);
  font-size: .82rem;
  font-weight: 600;
}

.plan-note {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: .88rem;
}

.plan-points {
  list-style: none;
  margin: 0 0 26px;
  padding: 0;
  display: grid;
  gap: 10px;
}

.plan-points li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: .95rem;
}

.plan-points .icon {
  width: 18px;
  height: 18px;
  color: var(--ok);
  margin-top: 3px;
}

.plan .button { margin-top: auto; width: 100%; }

.pricing-note {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: .84rem;
}

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

.faq { background: var(--wash-2); border-top: 1px solid var(--line); }

.faq-inner {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: 52px;
  align-items: start;
}

.faq-head { position: sticky; top: 100px; margin-bottom: 0; }

.faq-list { display: grid; gap: 0; }

.faq-list details {
  border-top: 1px solid var(--line);
  padding: 4px 0;
}

.faq-list details:last-child { border-bottom: 1px solid var(--line); }

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 2px;
  cursor: pointer;
  list-style: none;
  font-family: "Nunito", sans-serif;
  font-weight: 800;
  font-size: 1.03rem;
  letter-spacing: -0.01em;
}

.faq-list summary::-webkit-details-marker { display: none; }

.faq-list summary::after {
  content: "+";
  flex: none;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--brand) 10%, transparent);
  color: var(--brand);
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  line-height: 1;
  transition: transform .2s ease;
}

.faq-list details[open] summary::after {
  content: "−";
  transform: rotate(180deg);
}

.faq-list details p {
  margin: 0 0 20px;
  padding-right: 40px;
  color: var(--muted);
  font-size: .96rem;
}

/* ---------- get ---------- */

.get {
  padding: 76px 0;
  background:
    radial-gradient(90% 130% at 10% 10%, var(--warm-glow-a), transparent 55%),
    radial-gradient(80% 120% at 90% 90%, var(--warm-glow-b), transparent 55%),
    var(--warm);
  color: var(--warm-ink);
  border-top: 1px solid var(--warm-line);
}

.get-inner {
  display: flex;
  align-items: center;
  gap: 38px;
  max-width: 900px;
}

.get-icon {
  flex: none;
  width: 112px;
  height: 112px;
  border-radius: 26px;
  box-shadow: 0 15px 34px rgba(11, 27, 54, .18);
}

.get h2 {
  margin: 0 0 10px;
  font-size: clamp(1.8rem, 3.4vw, 2.5rem);
}

.get p { margin: 0; color: var(--warm-muted); max-width: 58ch; }

.store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 13px;
  background: #0b1b36;
  color: #fff;
  text-decoration: none;
  font-size: .9rem;
  font-weight: 600;
  line-height: 1.15;
}

.store-badge span { display: block; font-size: .66rem; font-weight: 500; opacity: .75; }

.store-badge.is-soon {
  background: rgba(11, 27, 54, .08);
  color: #3b4763;
  border: 1px dashed rgba(11, 27, 54, .25);
  cursor: default;
}

.store-badge.is-soon span { opacity: .7; }

.get-note { margin-top: 14px !important; font-size: .82rem; color: var(--warm-muted) !important; }

/* ---------- footer ---------- */

.footer {
  background: var(--navy);
  color: #c8d4ef;
  padding: 64px 0 30px;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr);
  gap: 60px;
}

.footer .wordmark { color: #fff; }

.footer-tag {
  margin: 16px 0 6px;
  font-size: .95rem;
  max-width: 32ch;
}

.footer-independent {
  margin: 0;
  font-size: .78rem;
  color: #8494b8;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.footer-nav h2 {
  margin: 0 0 12px;
  font-family: "Inter", sans-serif;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #8494b8;
}

.footer-nav a {
  display: block;
  color: #d8e1f5;
  text-decoration: none;
  font-size: .9rem;
  padding: 4px 0;
}

.footer-nav a:hover { color: #fff; text-decoration: underline; }

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid #1c3052;
  font-size: .78rem;
  color: #8494b8;
}

.footer-legal p { margin: 0; }

/* ---------- page hero (dictionary, support, 404) ---------- */

.page-hero {
  padding: 70px 0 76px;
  background: var(--wash);
  border-bottom: 1px solid var(--line);
}

.page-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: 56px;
  align-items: center;
}

.page-hero h1 {
  margin: 0 0 20px;
  font-size: clamp(2.3rem, 5vw, 3.7rem);
  letter-spacing: -0.035em;
  line-height: 1;
}

.page-intro {
  margin: 0 0 28px;
  max-width: 58ch;
  color: var(--muted);
  font-size: 1.06rem;
}

/* ---------- dictionary page ---------- */

.dictionary-hero {
  background:
    radial-gradient(80% 120% at 90% 0%, rgba(101, 182, 242, .28), transparent 58%),
    linear-gradient(150deg, #0b1b36 0%, #071426 100%);
  color: #fff;
  border-bottom: 0;
}

.dictionary-hero .eyebrow { color: #9dc0ff; }
.dictionary-hero .accent { color: var(--amber); }
.dictionary-hero .page-intro { color: #c8d4ef; }
.dictionary-hero .button.ghost {
  border-color: rgba(255, 255, 255, .32);
  color: #fff;
}
.dictionary-hero .button.ghost:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, .06); }

.dictionary-mark {
  position: relative;
  display: flex;
  justify-content: center;
  min-height: 260px;
}

.dict-card {
  position: absolute;
  top: 26px;
  left: 8%;
  width: 260px;
  padding: 24px;
  border-radius: 18px;
  background: var(--cream);
  color: #0b1b36;
  box-shadow: 0 24px 50px rgba(0, 0, 0, .35);
  transform: rotate(-6deg);
}

.dict-card .dict-word {
  display: block;
  font-family: "Nunito", sans-serif;
  font-size: 1.7rem;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.dict-card .dict-stroke {
  display: block;
  margin-top: 4px;
  font-family: "Inter", monospace;
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .08em;
  color: #2f63e8;
}

.dict-card.small {
  top: 128px;
  left: 46%;
  width: 190px;
  transform: rotate(5deg);
  background: #c6dcfb;
}

.dict-card.small .dict-word { font-size: 1.3rem; }

@media (prefers-color-scheme: dark) {
  .dict-card {
    background: #1b2138;
    color: var(--cream);
    box-shadow: 0 24px 50px rgba(0, 0, 0, .5), inset 0 0 0 1px #2a3a5e;
  }

  .dict-card .dict-stroke { color: var(--sky); }

  .dict-card.small {
    background: #22304d;
    color: var(--cream);
  }

  .store-badge.is-soon {
    background: rgba(255, 255, 255, .06);
    color: var(--warm-muted);
    border-color: rgba(255, 255, 255, .22);
  }
}

.dict-license {
  position: absolute;
  right: 2%;
  bottom: 10px;
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: var(--amber);
  color: #071426;
  font-family: "Nunito", sans-serif;
  font-weight: 900;
  font-size: .95rem;
  line-height: 1.05;
  text-align: center;
  transform: rotate(7deg);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .3);
}

.stat-strip { background: var(--warm); color: var(--warm-ink); border-bottom: 1px solid var(--warm-line); }

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.stat {
  padding: 26px 22px;
  border-left: 1px solid color-mix(in srgb, var(--warm-ink) 14%, transparent);
}

.stat:first-child { border-left: 0; padding-left: 0; }

.stat strong {
  display: block;
  font-family: "Nunito", sans-serif;
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.stat span {
  display: block;
  margin-top: 3px;
  font-size: .8rem;
  font-weight: 600;
  color: var(--warm-muted);
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.download-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper);
  text-decoration: none;
  color: var(--ink);
  transition: border-color .15s ease, transform .15s ease;
}

.download-card:hover { border-color: var(--brand); transform: translateY(-2px); }

.download-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--brand) 10%, transparent);
  color: var(--brand);
}

.download-icon .icon { width: 22px; height: 22px; }

.download-card h3 {
  margin: 0 0 4px;
  font-family: "Inter", sans-serif;
  font-size: .98rem;
  font-weight: 700;
  letter-spacing: 0;
}

.download-card p { margin: 0; color: var(--muted); font-size: .88rem; line-height: 1.5; }

.download-format {
  display: inline-block;
  margin-top: 8px;
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--brand);
}

.download-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 26px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.download-footer p { margin: 0; color: var(--muted); font-size: .9rem; }

.download-footer-actions { display: flex; flex-wrap: wrap; gap: 10px; flex: none; }

.copy-button { font-size: .88rem; }

.dictionary-about { background: var(--wash-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.about-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px 40px;
}

.about-grid section {
  padding-top: 20px;
  border-top: 2px solid var(--line);
}

.about-grid h2 {
  margin: 0 0 10px;
  font-size: 1.2rem;
}

.about-grid p { margin: 0; color: var(--muted); font-size: .95rem; }

.browse-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 16px;
}

.search-field {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  max-width: 440px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
}

.search-field:focus-within { border-color: var(--brand); }

.search-field .icon { color: var(--muted); width: 19px; height: 19px; }

.search-field input {
  width: 100%;
  padding: 12px 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: .95rem;
  outline: none;
}

.browse-count { margin: 0; color: var(--muted); font-size: .85rem; }

.table-wrap {
  max-height: 620px;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper);
  overscroll-behavior: contain;
}

.dictionary-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .94rem;
}

.dictionary-table thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: var(--wash-2);
  text-align: left;
  padding: 12px 20px;
  font-size: .7rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}

.dictionary-table td {
  padding: 9px 20px;
  border-bottom: 1px solid color-mix(in srgb, var(--line) 60%, transparent);
}

.dictionary-table tr:last-child td { border-bottom: 0; }

.dictionary-table td:nth-child(2) {
  font-family: "Inter", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--brand);
}

.dictionary-table tr[hidden] { display: none; }

.no-results { margin: 0; padding: 28px 20px; color: var(--muted); }

.multistroke { margin-top: 18px; }

.multistroke summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--brand);
  padding: 8px 0;
}

.multistroke .table-wrap { margin-top: 10px; max-height: 320px; }

.noscript-note { margin-top: 14px; color: var(--muted); font-size: .9rem; }

.licence { background: var(--warm); color: var(--warm-ink); border-top: 1px solid var(--warm-line); border-bottom: 1px solid var(--warm-line); }

.licence-inner {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

.licence-badge {
  display: grid;
  gap: 6px;
  width: 148px;
  padding: 18px;
  border-radius: 18px;
  background: #0b1b36;
  color: #fff;
  text-align: center;
  font-family: "Nunito", sans-serif;
  font-weight: 900;
  font-size: 1.5rem;
  letter-spacing: .04em;
  box-shadow: 0 14px 30px rgba(11, 27, 54, .2);
}

.licence-badge span { padding: 3px 0; border-bottom: 1px solid rgba(255, 255, 255, .2); }
.licence-badge span:last-child { border-bottom: 0; }

.licence-copy h2 { margin: 0 0 14px; font-size: 2rem; }
.licence-copy p { color: var(--warm-muted); max-width: 70ch; }

.licence-copy .attribution {
  margin-top: 18px;
  padding: 16px 18px;
  border-left: 3px solid var(--brand);
  background: color-mix(in srgb, var(--paper) 55%, transparent);
  border-radius: 0 10px 10px 0;
  font-size: .9rem;
}

.licence-links { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 22px; }

.licence .button.ghost { border-color: color-mix(in srgb, var(--warm-ink) 25%, transparent); color: var(--warm-ink); }
.licence .button.ghost:hover { border-color: var(--warm-ink); }

.sources { background: var(--paper); }

.source-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.source-grid li {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.source-grid h3 { margin: 0 0 4px; font-size: 1.02rem; }
.source-grid p { margin: 0 0 10px; color: var(--muted); font-size: .88rem; }

.source-license {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--wash);
  color: var(--muted);
  font-size: .7rem;
  font-weight: 600;
}

.source-grid a { display: inline-block; margin-top: 12px; font-size: .86rem; font-weight: 600; }

.share-band {
  background: linear-gradient(150deg, #2f63e8 0%, #1e48b8 100%);
  color: #fff;
  padding: 58px 0;
}

.share-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.share-inner h2 { margin: 0 0 6px; font-size: 1.7rem; }
.share-inner p { margin: 0; color: #d9e6ff; max-width: 58ch; }
.share-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; flex: none; }

/* ---------- support ---------- */

.support-contact {
  padding: 76px 0 0;
  background: var(--wash-2);
  border-top: 1px solid var(--line);
}

.support-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr);
  gap: 48px;
  align-items: start;
}

.support-form-panel {
  padding: 32px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.support-form-section h2 {
  margin: 0 0 8px;
  font-size: 1.55rem;
}

.support-form-intro {
  margin: 0 0 24px;
  color: var(--muted);
  max-width: 60ch;
}

.support-form { display: grid; gap: 18px; }

/* The grid display would otherwise beat the browser's [hidden] rule and
   leave the form visible after a successful submission. */
.support-form[hidden] { display: none; }

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.field-grid-single { grid-template-columns: 1fr; }

.field label {
  display: block;
  margin-bottom: 6px;
  font-size: .92rem;
  font-weight: 600;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--wash-2);
  color: var(--ink);
  font: inherit;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--brand);
  outline: 2px solid color-mix(in srgb, var(--brand) 25%, transparent);
  outline-offset: 1px;
}

.field textarea { min-height: 150px; resize: vertical; }

.field input[type="file"] { padding: 9px 12px; }

.field-hint {
  margin: 6px 0 0;
  font-size: .85rem;
  color: var(--muted);
}

.optional {
  color: var(--muted);
  font-size: .85em;
  font-weight: 400;
}

.support-extra {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.support-extra summary {
  cursor: pointer;
  font-size: .92rem;
  font-weight: 600;
}

.support-extra .field-grid { margin-top: 14px; }

/* Off-screen rather than display:none: some bots skip hidden fields. */
.support-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.support-consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--muted);
  font-size: .9rem;
}

.support-consent input { margin-top: 4px; flex: none; }

.support-submit {
  justify-self: start;
  min-height: 50px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  background: var(--brand);
  color: var(--on-brand);
  font: inherit;
  font-size: .98rem;
  font-weight: 600;
  cursor: pointer;
}

.support-submit:hover { background: var(--brand-deep); }

.support-submit:disabled { opacity: .65; cursor: progress; }

.support-form-status {
  margin: 14px 0 0;
  min-height: 1.4em;
  color: var(--muted);
  font-size: .92rem;
}

.support-form-noscript {
  margin: 0;
  color: var(--muted);
  font-size: .92rem;
}

.support-form-aside { margin-top: 0; }

.support-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 16px;
  counter-reset: support-step;
}

.support-steps li {
  counter-increment: support-step;
  position: relative;
  padding-left: 34px;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.55;
}

.support-steps li::before {
  content: counter(support-step);
  position: absolute;
  left: 0;
  top: 1px;
  display: grid;
  place-items: center;
  width: 23px;
  height: 23px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--brand) 12%, transparent);
  color: var(--brand);
  font-family: "Inter", sans-serif;
  font-size: .72rem;
  font-weight: 700;
}

.support-steps strong { display: block; color: var(--ink); font-weight: 600; }

.support-details { padding: 56px 0 92px; }

.support-hero .page-hero-inner { align-items: start; }

.support-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
}

.support-icon { width: 34px; height: 34px; color: var(--brand); margin-bottom: 12px; }

.support-card-title {
  margin: 0 0 8px;
  font-family: "Nunito", sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--ink);
}

.support-card p { color: var(--muted); font-size: .92rem; }

.support-card-note { margin-bottom: 0; padding-top: 12px; border-top: 1px solid var(--line); font-size: .8rem !important; }

.support-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr);
  gap: 64px;
  align-items: start;
}

.support-body section {
  padding: 0 0 30px;
  margin-bottom: 30px;
  border-bottom: 1px solid var(--line);
}

.support-body section:last-child { border-bottom: 0; margin-bottom: 0; }

.support-body h2 {
  margin: 0 0 10px;
  font-size: 1.4rem;
}

.support-body p { margin: 0; color: var(--muted); }

.support-aside {
  position: sticky;
  top: 98px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--wash-2);
}

.support-aside h2 { margin: 0 0 14px; font-size: 1.05rem; }

.support-aside ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }

.support-aside li { font-size: .89rem; color: var(--muted); line-height: 1.55; }

.support-aside strong { display: block; color: var(--ink); font-weight: 600; }

.aside-note { margin: 18px 0 0; padding-top: 16px; border-top: 1px solid var(--line); font-size: .8rem; color: var(--muted); }

/* ---------- legal ---------- */

.legal { padding: 48px 0 90px; }

.legal-inner { max-width: 800px; }

.breadcrumb ol {
  display: flex;
  gap: 8px;
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  font-size: .8rem;
  color: var(--muted);
}

.breadcrumb li + li::before { content: "→"; margin-right: 8px; color: var(--muted); }

.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--brand); text-decoration: underline; }

.legal-head { margin-bottom: 34px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }

.legal-head h1 { margin: 0 0 8px; font-size: clamp(2.1rem, 4.4vw, 3rem); }

.effective { margin: 0; color: var(--muted); font-size: .86rem; }

.legal-body h2 {
  margin: 38px 0 10px;
  font-size: 1.28rem;
  letter-spacing: -0.015em;
}

.legal-body p { margin: 0 0 14px; color: var(--muted); }

.legal-contact {
  margin-top: 44px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--wash-2);
}

.legal-contact h2 { margin: 0 0 6px; font-size: 1.05rem; }
.legal-contact p { margin: 0; color: var(--muted); font-size: .93rem; }

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

.not-found-hero { background: var(--warm); border-bottom: 1px solid var(--warm-line); color: var(--warm-ink); }
.not-found-hero .accent { color: var(--brand); }
.not-found-hero .page-intro { color: var(--warm-muted); }
.not-found-hero .button.ghost { border-color: color-mix(in srgb, var(--warm-ink) 25%, transparent); color: var(--warm-ink); }

.not-found-keys { display: flex; justify-content: center; gap: 10px; }

.nf-key {
  display: grid;
  place-items: center;
  width: 66px;
  height: 88px;
  border-radius: 14px;
  color: #fff;
  font-family: "Inter", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  box-shadow: 0 6px 0 rgba(11, 27, 54, .18), inset 0 2px 0 rgba(255, 255, 255, .3);
  transform: rotate(-4deg);
}

.nf-key:nth-child(2n) { transform: rotate(4deg) translateY(8px); }
.nf-blue { background: #2f6be8; }
.nf-sky { background: #65b6f2; }
.nf-amber { background: #ffc132; color: #07142c; }
.nf-pink { background: #ff7ea8; }
.nf-purple { background: #9b6cf3; }

.not-found-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.not-found-links a {
  display: block;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
}

.not-found-links a:hover { border-color: var(--brand); color: var(--brand); }

/* ---------- responsive ---------- */

@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 52px; }
  .hero-copy { max-width: 700px; }
  .hero-visual { justify-content: flex-start; }
  .keyboard-card { width: min(100%, 520px); }
  .float-chip { display: none; }

  .highlight-list { grid-template-columns: 1fr; }
  .highlight-list li { border-left: 0; border-top: 1px solid var(--line); padding: 24px 0; }
  .highlight-list li:first-child { border-top: 0; padding-top: 30px; }

  .step-grid { grid-template-columns: 1fr; }

  .shot-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }

  .dictionary-band-inner { flex-direction: column; align-items: flex-start; }

  .faq-inner { grid-template-columns: 1fr; gap: 28px; }
  .faq-head { position: static; }

  .get-inner { align-items: flex-start; }

  .page-hero-inner { grid-template-columns: 1fr; gap: 40px; }

  .dictionary-mark { min-height: 240px; justify-content: flex-start; }
  .dict-card { left: 8%; }
  .dict-card.small { left: 48%; }
  .dict-license { right: 6%; }

  .support-layout { grid-template-columns: 1fr; gap: 40px; }
  .support-contact-grid { grid-template-columns: 1fr; gap: 30px; }
  .support-form-panel { padding: 26px; }
  .support-aside { position: static; }

  .footer-inner { grid-template-columns: 1fr; gap: 38px; }
}

@media (max-width: 720px) {
  body { font-size: .99rem; }

  .shell { padding: 0 18px; }

  .masthead-inner { min-height: 62px; gap: 14px; }
  .masthead-nav { display: none; }
  .masthead-cta { display: none; }
  .mobile-nav { display: block; margin-left: auto; }
  .wordmark { font-size: 1.08rem; }
  .wordmark-icon { width: 32px; height: 32px; }

  .section { padding: 64px 0; }

  .hero { padding: 52px 0 64px; }
  .hero-actions .button { width: 100%; }
  .keyboard-card { transform: none; padding: 14px 14px 12px; }
  .kb-key { min-height: 40px; font-size: .82rem; border-radius: 7px; }
  .keyboard { gap: 4px; padding: 10px 7px; }
  .keyboard-sentence p { font-size: 1.1rem; }

  .shot-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .shot-grid img { border-radius: 14px; }
  .shot-grid figcaption { font-size: .74rem; padding: 0 2px; }

  .feature-grid { grid-template-columns: 1fr; gap: 12px; }
  .feature-grid li { padding: 20px; }

  .dictionary-band { padding: 56px 0; }
  .dictionary-band-actions { width: 100%; }
  .dictionary-band-actions .button { width: 100%; }

  .plan-grid { grid-template-columns: 1fr; }
  .plan { padding: 26px; }

  .get { padding: 56px 0; }
  .get-inner { flex-direction: column; gap: 22px; }
  .get-icon { width: 84px; height: 84px; border-radius: 20px; }

  .footer-nav { grid-template-columns: repeat(2, 1fr); }
  .footer-legal { flex-direction: column; }

  .page-hero { padding: 50px 0 56px; }
  .dictionary-mark { min-height: 210px; }
  .dict-card { width: 200px; left: 0; padding: 18px; }
  .dict-card.small { width: 160px; left: 42%; top: 110px; }
  .dict-license { width: 72px; height: 72px; font-size: .78rem; right: 0; bottom: 0; }

  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .stat { padding: 18px 16px; }
  .stat:nth-child(odd) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid color-mix(in srgb, var(--warm-ink) 14%, transparent); }

  .download-grid { grid-template-columns: 1fr; }
  .download-footer { flex-direction: column; align-items: flex-start; }
  .download-footer-actions { width: 100%; }
  .download-footer-actions .button { width: 100%; }

  .about-grid { grid-template-columns: 1fr; }
  .browse-tools { flex-direction: column; align-items: flex-start; }
  .search-field { width: 100%; max-width: none; }
  .table-wrap { max-height: 480px; }
  .dictionary-table td, .dictionary-table thead th { padding-left: 14px; padding-right: 14px; }

  .licence-inner { grid-template-columns: 1fr; gap: 26px; }
  .licence-badge { width: 110px; padding: 12px; font-size: 1.1rem; }

  .source-grid { grid-template-columns: 1fr; }

  .share-inner { flex-direction: column; align-items: flex-start; gap: 24px; }

  .legal { padding: 36px 0 64px; }

  .not-found-links { grid-template-columns: 1fr; }
  .nf-key { width: 46px; height: 64px; font-size: 1.1rem; }
}

@media (max-width: 560px) {
  .field-grid { grid-template-columns: 1fr; }
  .support-form-panel { padding: 20px; }
  .support-submit { width: 100%; }
}

@media (max-width: 420px) {
  .masthead-cta { display: none; }
  .shot-grid { grid-template-columns: 1fr; gap: 22px; }
  .shot-grid figcaption { font-size: .82rem; }
  .stat strong { font-size: 1.6rem; }
}

@media print {
  .masthead, .footer, .hero-visual, .button, .share-band, .dictionary-band { display: none !important; }
  body { background: #fff; color: #000; }
  .section { padding: 20px 0; }
  a { color: #000; text-decoration: underline; }
}
