/* Wordvore / Kelimecil: the game's site. The store art's look: a mint wash, ink, the game's green,
   Nunito for headings and numbers, and the guess list's hot, warm and cold. Light only, like the
   app. */
@font-face { font-family: "Nunito"; font-weight: 700; font-display: swap; src: url("fonts/nunito-700.woff2?v=6a74809f0e") format("woff2"); }
@font-face { font-family: "Nunito"; font-weight: 800; font-display: swap; src: url("fonts/nunito-800.woff2?v=ee0d47a81c") format("woff2"); }
@font-face { font-family: "Nunito"; font-weight: 900; font-display: swap; src: url("fonts/nunito-900.woff2?v=a6b644eb4f") format("woff2"); }

:root {
  --bg: #F3FAF5;
  --mint: #E3F3E8;
  --mint-2: #CFEBD9;
  --cream: #FFF8EC;
  --surface: #FFFFFF;
  --ink: #1C1C1E;
  --muted: #4B5563;
  --faint: #6B7280;
  --line: rgba(28, 28, 30, 0.08);
  --green: #16A34A;
  --green-deep: #15803D;
  --green-bright: #22C55E;
  --green-soft: rgba(34, 197, 94, 0.14);
  --hot: #EA580C;   --hot-text: #C2410C;
  --warm: #F59E0B;  --warm-text: #A16207;
  --cold: #3B82F6;  --cold-text: #1D4ED8;
  --shadow-sm: 0 1px 2px rgba(22, 52, 34, 0.06), 0 4px 14px rgba(22, 52, 34, 0.06);
  --shadow-md: 0 2px 6px rgba(22, 52, 34, 0.06), 0 16px 40px -12px rgba(22, 52, 34, 0.22);
  --shadow-lg: 0 4px 10px rgba(22, 52, 34, 0.06), 0 34px 80px -20px rgba(22, 52, 34, 0.35);
  --display: "Nunito", ui-rounded, "SF Pro Rounded", system-ui, sans-serif;
  --body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, system-ui, sans-serif;
  --radius: 26px;
  color-scheme: light;
}

/* ── Base ─────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--green-deep); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--green-bright); outline-offset: 3px; border-radius: 10px; }
button { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 900; line-height: 1.08; letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 6.2vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
h3 { font-size: 1.35rem; font-weight: 800; }
p { margin: 0 0 1rem; }
.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 max(18px, env(safe-area-inset-left)); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; z-index: 60; background: var(--surface); padding: 8px 14px; border-radius: 12px; }
.lede { font-size: clamp(1.08rem, 1.8vw, 1.25rem); color: var(--muted); max-width: 40rem; margin-top: 16px; text-wrap: pretty; }
.accent { color: var(--green); }
.section { padding: clamp(72px, 10vw, 120px) 0 0; }

/* ── Buttons ──────────────────────────────────────────────────────── */
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 26px; border: 0; border-radius: 999px;
  background: var(--ink); color: #fff;
  font-family: var(--display); font-weight: 800; font-size: 1.05rem; text-decoration: none;
  cursor: pointer; box-shadow: var(--shadow-sm);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn svg { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); text-decoration: none; }
.btn:active { transform: translateY(0); }
.btn-ghost { background: var(--surface); color: var(--ink); }
.btn-small { min-height: 42px; padding: 0 18px; font-size: 0.95rem; }

/* ── Header ───────────────────────────────────────────────────────── */
.top {
  position: sticky; top: 0; z-index: 40;
  background: rgba(243, 250, 245, 0.78);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--line);
}
.top-row { display: flex; align-items: center; gap: 14px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-family: var(--display); font-weight: 900; font-size: 1.3rem; letter-spacing: -0.01em; }
.brand img { width: 36px; height: 36px; border-radius: 10px; box-shadow: var(--shadow-sm); }
.nav { display: flex; gap: 2px; margin-left: auto; }
.nav a { padding: 8px 12px; border-radius: 999px; color: var(--muted); font-weight: 600; font-size: 0.95rem; text-decoration: none; }
.nav a:hover { color: var(--ink); background: var(--mint); }
.lang-link {
  display: grid; place-items: center; min-width: 42px; height: 42px; border-radius: 999px;
  background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm);
  font-family: var(--display); font-weight: 900; font-size: 0.85rem; text-decoration: none;
}
.lang-link:hover { background: var(--mint); }

/* ── Hero ─────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: clamp(40px, 7vw, 88px) 0 clamp(40px, 6vw, 72px);
  background:
    radial-gradient(700px 420px at 12% 18%, rgba(255, 255, 255, 0.9), transparent 70%),
    radial-gradient(640px 520px at 88% 40%, var(--mint-2), transparent 70%),
    linear-gradient(180deg, var(--bg), var(--mint));
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; align-items: center; gap: clamp(28px, 5vw, 64px); }
.eyebrow {
  display: inline-block; margin: 0 0 18px; padding: 7px 14px; border-radius: 999px;
  background: var(--surface); color: var(--green-deep); box-shadow: var(--shadow-sm);
  font-family: var(--display); font-weight: 800; font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase;
}
.note { margin-top: 20px; color: var(--faint); font-size: 0.92rem; }
.hero-art { position: relative; display: flex; justify-content: center; padding: 10px 0 30px; }
.hero-art .glow {
  position: absolute; inset: 8% 4% 4%; border-radius: 50%;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.28), transparent 65%);
  filter: blur(10px);
}
.phone {
  position: relative; margin: 0; width: min(330px, 78vw);
  padding: 10px; border-radius: 48px; background: #101312;
  box-shadow: var(--shadow-lg), inset 0 0 0 2px rgba(255, 255, 255, 0.08);
  transform: rotate(3deg);
}
.phone img { width: 100%; border-radius: 39px; }
.hero-mascot {
  position: absolute; width: clamp(150px, 19vw, 230px); left: max(-10px, calc(50% - 300px)); bottom: -6px;
  filter: drop-shadow(0 18px 24px rgba(22, 52, 34, 0.28));
  animation: bob 5s ease-in-out infinite;
}
.chips { list-style: none; margin: 0; padding: 0; }
.chip {
  position: absolute; display: inline-flex; align-items: baseline; gap: 6px;
  padding: 8px 15px; border-radius: 999px; background: var(--surface); box-shadow: var(--shadow-md);
  font-family: var(--display); font-weight: 800; font-size: 1rem; white-space: nowrap;
  animation: float 6s ease-in-out infinite;
}
.chip b { font-weight: 900; }
.chip.hot b { color: var(--hot-text); }
.chip.warm b { color: var(--warm-text); }
.chip.cold b { color: var(--cold-text); }
.chip:nth-child(1) { top: 12%; right: max(-6px, calc(50% - 260px)); }
.chip:nth-child(2) { top: 46%; right: max(-14px, calc(50% - 280px)); animation-delay: -2s; }
.chip:nth-child(3) { top: 20%; left: max(-6px, calc(50% - 270px)); animation-delay: -4s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-8px) rotate(2deg); } }

/* ── Demo ─────────────────────────────────────────────────────────── */
.demo-section { padding-top: clamp(64px, 8vw, 104px); }
.demo-grid {
  display: grid; grid-template-columns: 0.8fr 1.2fr; grid-template-areas: "intro card" "legend card";
  grid-template-rows: auto 1fr; column-gap: clamp(28px, 5vw, 64px); row-gap: 24px; align-items: start;
}
.demo-intro { grid-area: intro; }
.game-card { grid-area: card; }
.legend { grid-area: legend; padding: 20px 22px; border-radius: 20px; background: var(--surface); box-shadow: var(--shadow-sm); max-width: 24rem; }
.legend-title { font-family: var(--display); font-weight: 800; margin-bottom: 10px; }
.legend ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; color: var(--muted); }
.legend li { display: flex; align-items: center; gap: 10px; }
.dot { width: 12px; height: 12px; border-radius: 50%; flex: none; }
.hot .dot { background: var(--hot); }
.warm .dot { background: var(--warm); }
.cold .dot { background: var(--cold); }
.game-card {
  position: relative; overflow: hidden;
  padding: clamp(18px, 3vw, 28px); border-radius: 32px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.84)), url("img/world.webp?v=f345aa2573") center / cover;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.9);
}
.clue { padding: 16px 18px; border-radius: 20px; background: var(--cream); border: 1px solid rgba(161, 98, 7, 0.12); }
.clue-label { margin: 0 0 4px; font-family: var(--display); font-weight: 900; font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--warm-text); }
.clue-text { margin: 0; font-family: var(--display); font-weight: 800; font-size: 1.2rem; line-height: 1.35; }
.clue2 { margin: 10px 0 0; padding-top: 10px; border-top: 1px dashed rgba(161, 98, 7, 0.25); font-weight: 600; }
.clue2 span { display: block; font-family: var(--display); font-weight: 900; font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: #B7791F; }
.guess-form { display: flex; gap: 10px; margin-top: 16px; }
.guess-form input {
  flex: 1; min-width: 0; height: 58px; padding: 0 22px; border-radius: 999px;
  border: 2px solid var(--ink); background: var(--surface); color: var(--ink);
  font: 600 1.15rem var(--body);
}
.guess-form input::placeholder { color: #9CA3AF; }
.guess-form input:focus { outline: none; box-shadow: 0 0 0 4px var(--green-soft); border-color: var(--green-deep); }
.send {
  flex: none; display: grid; place-items: center; width: 58px; height: 58px; border: 0; border-radius: 50%;
  background: var(--hot); color: #fff; cursor: pointer; box-shadow: var(--shadow-sm);
}
.send svg { width: 24px; height: 24px; }
.send:hover { filter: brightness(1.06); }
.tools { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 6px 14px 6px 8px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--surface); cursor: pointer;
  font-family: var(--display); font-weight: 800; font-size: 0.95rem; box-shadow: var(--shadow-sm);
}
.pill img { width: 28px; height: 28px; }
.pill:hover:not(:disabled) { background: var(--mint); }
.pill:disabled { opacity: 0.45; cursor: default; }
.pill.quiet { padding-left: 14px; color: var(--muted); font-weight: 700; }
.count { display: grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 0.75rem; }
.status { min-height: 1.6em; margin: 12px 4px 0; color: var(--muted); font-weight: 600; }
.status.error { color: var(--hot-text); }
.guesses-head { display: flex; justify-content: space-between; gap: 12px; margin: 10px 4px 8px; color: var(--muted); font-size: 0.92rem; }
.guesses-head b { font-family: var(--display); color: var(--ink); }
.guesses { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; max-height: 420px; overflow-y: auto; overscroll-behavior: contain; }
.guesses .empty { padding: 22px; border-radius: 18px; background: rgba(255, 255, 255, 0.75); color: var(--faint); text-align: center; }
.row {
  display: grid; grid-template-columns: 64px 1fr minmax(70px, 38%); align-items: center; gap: 12px;
  padding: 11px 16px; border-radius: 16px; background: var(--surface); box-shadow: var(--shadow-sm);
  animation: pop 0.35s ease;
}
.row.latest { outline: 2px solid var(--green-soft); }
.row.found { background: linear-gradient(90deg, #DCFCE7, #FFFFFF); outline: 2px solid var(--green-bright); }
.row .rank { font-family: var(--display); font-weight: 900; font-size: 1.05rem; font-variant-numeric: tabular-nums; }
.row .word { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row .word small { margin-left: 6px; color: var(--green-deep); font-family: var(--display); font-weight: 800; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.04em; }
.bar { height: 8px; border-radius: 999px; background: rgba(28, 28, 30, 0.07); overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: inherit; }
.row.hot .rank { color: var(--hot-text); }  .row.hot .bar i { background: var(--hot); }
.row.warm .rank { color: var(--warm-text); } .row.warm .bar i { background: var(--warm); }
.row.cold .rank { color: var(--cold-text); } .row.cold .bar i { background: var(--cold); }
.row.found .rank { color: var(--green-deep); } .row.found .bar i { background: var(--green-bright); }
@keyframes pop { from { transform: scale(0.96); opacity: 0; } to { transform: none; opacity: 1; } }
.result { margin-top: 18px; padding: 22px; border-radius: 24px; background: var(--surface); box-shadow: var(--shadow-md); text-align: center; animation: pop 0.4s ease; }
.result-title { margin: 0; font-family: var(--display); font-weight: 900; font-size: 1.8rem; color: var(--green-deep); }
.result-text { margin: 4px 0 14px; color: var(--muted); font-weight: 600; }
.nearest-title { margin: 0 0 10px; font-family: var(--display); font-weight: 800; }
.nearest { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.nearest li { padding: 5px 12px; border-radius: 999px; background: var(--mint); font-weight: 700; font-size: 0.95rem; }
.nearest b { margin-right: 5px; font-family: var(--display); color: var(--hot-text); }
.app-cta { color: var(--muted); }
.result .actions { justify-content: center; margin-top: 8px; }
.confetti { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }

/* ── How to play ──────────────────────────────────────────────────── */
.steps { list-style: none; margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: step; }
.steps li { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 26px 24px; border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-sm); }
.steps li::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 12px; border-radius: 14px;
  background: var(--green); color: #fff; font-family: var(--display); font-weight: 900; font-size: 1.2rem;
  box-shadow: 0 6px 16px -6px rgba(22, 163, 74, 0.7);
}
.steps li:nth-child(3)::before { background: var(--hot); box-shadow: 0 6px 16px -6px rgba(234, 88, 12, 0.7); }
.steps strong { font-family: var(--display); font-weight: 900; font-size: 1.2rem; }
.steps span { color: var(--muted); }

/* ── Features ─────────────────────────────────────────────────────── */
.boosters { list-style: none; margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.boosters li {
  display: grid; grid-template-columns: 64px 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: center;
  padding: 16px 18px; border-radius: 22px; background: linear-gradient(135deg, #FFFFFF, var(--mint)); box-shadow: var(--shadow-sm);
}
.boosters img { grid-row: span 2; width: 64px; height: 64px; }
.boosters strong { font-family: var(--display); font-weight: 900; font-size: 1.1rem; align-self: end; }
.boosters span { color: var(--muted); font-size: 0.92rem; line-height: 1.4; align-self: start; }
.features { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.feature { display: flex; flex-direction: column; gap: 6px; padding: 24px; border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-sm); }
.feature-icon { display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 8px; border-radius: 18px; background: var(--mint); color: var(--green-deep); }
.feature-icon img { width: 52px; height: 52px; }
.feature-icon svg { width: 30px; height: 30px; }
.feature strong { font-family: var(--display); font-weight: 900; font-size: 1.12rem; line-height: 1.25; }
.feature span:last-child { color: var(--muted); font-size: 0.96rem; }

/* ── Screenshots ──────────────────────────────────────────────────── */
.shots-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.gallery-buttons { display: flex; gap: 10px; }
.round { display: grid; place-items: center; width: 50px; height: 50px; border: 0; border-radius: 50%; background: var(--surface); box-shadow: var(--shadow-sm); cursor: pointer; }
.round svg { width: 22px; height: 22px; }
.round:hover { background: var(--mint); }
.gallery {
  list-style: none; margin: 28px 0 0; padding: 10px max(18px, calc((100vw - 1160px) / 2 + 18px)) 30px;
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(220px, 26vw, 300px); gap: 18px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 max(18px, calc((100vw - 1160px) / 2 + 18px));
  scrollbar-width: none;
}
.gallery::-webkit-scrollbar { display: none; }
.gallery li { scroll-snap-align: start; }
.gallery img { width: 100%; border-radius: 26px; box-shadow: var(--shadow-md); }

/* ── FAQ ──────────────────────────────────────────────────────────── */
.faq-wrap { max-width: 860px; }
.faq { margin-top: 30px; display: grid; gap: 10px; }
details { padding: 18px 22px; border-radius: 20px; background: var(--surface); box-shadow: var(--shadow-sm); }
summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-family: var(--display); font-weight: 800; font-size: 1.1rem; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--mint); color: var(--green-deep); font-weight: 900; }
details[open] summary::after { content: "−"; }
details p { margin: 12px 0 0; color: var(--muted); }

/* ── Download ─────────────────────────────────────────────────────── */
.download { padding-bottom: clamp(72px, 9vw, 112px); }
.download-card {
  position: relative; overflow: hidden; text-align: center;
  padding: clamp(32px, 6vw, 64px) clamp(20px, 5vw, 56px);
  border-radius: 40px; box-shadow: var(--shadow-lg);
  background: linear-gradient(180deg, rgba(255, 248, 236, 0.82), rgba(243, 250, 245, 0.94)), url("img/world.webp?v=f345aa2573") center 30% / cover;
}
.download-card .lede { margin-left: auto; margin-right: auto; }
.download-mascot { width: clamp(140px, 18vw, 200px); margin: 0 auto 10px; filter: drop-shadow(0 18px 24px rgba(22, 52, 34, 0.25)); animation: bob 5s ease-in-out infinite; }
.stores { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }
.store {
  display: inline-flex; align-items: center; gap: 12px; min-width: 190px; min-height: 60px; padding: 8px 22px;
  border-radius: 16px; background: var(--ink); color: #fff; opacity: 0.88;
  font-family: var(--display); font-weight: 900; font-size: 1.2rem; line-height: 1.1; text-align: left;
}
.store svg { width: 26px; height: 26px; flex: none; }
.store small { display: block; font-family: var(--body); font-weight: 600; font-size: 0.7rem; letter-spacing: 0.06em; text-transform: uppercase; opacity: 0.75; }
.beta { max-width: 640px; margin: 36px auto 0; padding: 26px; border-radius: 26px; background: var(--surface); box-shadow: var(--shadow-md); text-align: left; }
.beta h3 { margin-bottom: 14px; }
.beta ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; counter-reset: beta; }
.beta li { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 16px; border-radius: 18px; background: var(--mint); }
.beta li div::before { counter-increment: beta; content: counter(beta) ". "; font-family: var(--display); font-weight: 900; color: var(--green-deep); }
.beta strong { font-family: var(--display); font-weight: 800; }
.beta li span { color: var(--muted); }
.beta .btn { flex: none; }
.beta-note { margin: 14px 0 0; color: var(--faint); font-size: 0.9rem; }

/* ── Footer ───────────────────────────────────────────────────────── */
.footer { border-top: 1px solid var(--line); background: var(--surface); padding-top: 48px; font-size: 0.95rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 32px; }
.footer-grid p { margin: 12px 0 0; color: var(--muted); }
.footer-title { margin: 0 !important; color: var(--ink) !important; font-family: var(--display); font-weight: 900; }
.footer ul { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 6px; }
.footer ul a { color: var(--muted); text-decoration: none; }
.footer ul a:hover { color: var(--ink); text-decoration: underline; }
.footer-bottom { margin-top: 40px; padding-top: 20px; padding-bottom: 36px; border-top: 1px solid var(--line); color: var(--faint); font-size: 0.85rem; }
.footer-bottom p { margin: 0 0 4px; }
.footer-bottom a { color: inherit; }

/* ── 404 ──────────────────────────────────────────────────────────── */
.notfound { min-height: 60vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding-top: 48px; padding-bottom: 72px; }
.notfound img { width: 200px; }
.notfound .code { margin: 12px 0 0; font-family: var(--display); font-weight: 900; color: var(--green); letter-spacing: 0.1em; }
.notfound .lede { margin: 12px auto 26px; }

/* ── Smaller screens ──────────────────────────────────────────────── */
@media (max-width: 1020px) {
  .steps, .boosters, .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .nav { display: none; }
  .lang-link { margin-left: auto; }
  .hero-grid { grid-template-columns: 1fr; }
  .demo-grid { grid-template-columns: 1fr; grid-template-areas: "intro" "card" "legend"; grid-template-rows: none; }
  .hero-text { text-align: center; }
  .hero-text .lede { margin-left: auto; margin-right: auto; }
  .hero .actions { justify-content: center; }
  .legend { max-width: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .top-row { gap: 8px; min-height: 60px; }
  .brand { font-size: 1.15rem; }
  .brand img { width: 32px; height: 32px; }
  .btn-small { padding: 0 14px; }
  .steps, .boosters, .features { grid-template-columns: 1fr; }
  .steps li { display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; padding: 18px; }
  .steps li::before { grid-row: span 2; margin: 0; }
  .feature { padding: 20px; }
  .phone { width: min(270px, 70vw); }
  .hero-mascot { width: 128px; left: -4px; }
  .chip { font-size: 0.88rem; padding: 6px 12px; }
  .chip:nth-child(1) { right: 0; }
  .chip:nth-child(2) { right: 0; }
  .chip:nth-child(3) { left: 0; }
  .row { grid-template-columns: 54px 1fr 64px; padding: 10px 12px; gap: 10px; }
  .gallery-buttons { display: none; }
  .beta li { flex-direction: column; align-items: stretch; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
