/* Home (landing) page. Loaded only by layouts/landing.htm, so the global site CSS does not apply here. */

/* Client palette:
   #0E8F5A primary green, #0A6E45 dark green, #E3F6EA light green,
   #111827 main text, #505A67 secondary text, #F1F4F8 screen background, #FFFFFF cards and sheets.
   Everything else below is a tint of these or a functional colour (wrong answer, road, podium medals). */
:root {
  --green: #0E8F5A; --green-deep: #0A6E45; --green-slab: #0A6E45; --green-glow: #E3F6EA;
  --ink: #111827; --ink-soft: #505A67; --chip-ink: #111827; --slate: #505A67; --slate-2: #505A67;
  --white: #FFFFFF; --black: #111827; --black-2: #1F2937;
  --sky: #F1F4F8; --sky-1: #FFFFFF; --sky-2: #E9EDF3; --sky-3: #F8FAFC; --sky-4: #E6EBF1;
  --nav-bg: rgba(241, 244, 248, .86); --hairline: rgba(17, 24, 39, .06);
  --mist: #F1F4F8; --track: #E9EDF3; --line: #E1E6ED; --line-2: #D9DFE7; --avatar: #DCE2EA;
  --mint: #E3F6EA; --sage: #8FC2A7;
  --red: #E5484D; --red-soft: #FDEEEE;
  --night-line: #2B3445; --night-text: #C9CFD8;
  --road: #1C2530; --road-2: #2A3542; --road-3: #56636F; --road-4: #26313C; --amber: #F5B83D; --amber-glow: rgba(245, 184, 61, .18);
  --score-1: #0A6E45; --score-2: #0E8F5A; --score-3: #4DAE80; --score-4: #93D0AF; --score-5: #E3F6EA;
  --gold: #E2B33C; --gold-ink: #C99A1E; --silver-ink: #8A97A6; --bronze-ink: #B07A4F;
  --font-display: 'Poppins', 'Montserrat', 'Noto Sans Bengali', 'Noto Sans SC', sans-serif;
  --font-body: 'Noto Sans', 'Noto Sans Devanagari', 'Noto Sans Bengali', 'Noto Sans SC', sans-serif;
  --gutter: 24px;
  --nav-h: 84px;
  color-scheme: light;
}
/* Poppins has no Vietnamese letters; Montserrat does, so words are not stitched from two faces. */
:root:lang(vi) { --font-display: 'Montserrat', 'Noto Sans', sans-serif; }
.pill-txt:lang(vi), .tile-native:lang(vi) { font-family: 'Montserrat', 'Noto Sans', sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--font-body); -webkit-font-smoothing: antialiased; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--sky); }
a { color: var(--green); }
a:hover { color: var(--green-deep); }
:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
button { font: inherit; color: inherit; }
img { max-width: 100%; }

.wrap { max-width: 1248px; margin-inline: auto; padding-left: max(var(--gutter), env(safe-area-inset-left, 0px)); padding-right: max(var(--gutter), env(safe-area-inset-right, 0px)); }
.display { font-family: var(--font-display); }

/* Nav */
.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: var(--nav-bg); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--hairline); }
.nav-row { height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 56px; width: auto; display: block; }
.nav-actions { min-width: 0; display: flex; align-items: center; gap: 12px; }
.btn-how { min-width: 0; height: 44px; padding: 0 8px; display: flex; align-items: center; gap: 6px; border-radius: 10px; font-size: 15px; font-weight: 600; color: var(--ink); text-decoration: none; white-space: nowrap; transition: color .2s; }
.btn-how:hover { color: var(--green); }
.btn-how span { overflow: hidden; text-overflow: ellipsis; }
.btn-how svg { flex: none; }
.lang-menu { position: relative; flex: none; }
.lang-btn { height: 44px; padding: 0 12px 0 14px; display: flex; align-items: center; gap: 8px; background: var(--white); border: 1px solid var(--line-2); border-radius: 12px; font-size: 15px; font-weight: 500; color: var(--ink); cursor: pointer; }
.lang-btn:hover, .lang-btn[aria-expanded="true"] { border-color: var(--green); }
.lang-pop { position: absolute; right: 0; top: 52px; width: 230px; max-height: calc(100vh - var(--nav-h) - 24px); overflow-y: auto; overscroll-behavior: contain; background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 6px; box-shadow: 0 18px 50px rgba(17, 24, 39, .14); display: flex; flex-direction: column; gap: 2px; }
.lang-pop-label { padding: 10px 12px 8px; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--slate); }
.lang-opt { width: 100%; height: 40px; padding: 0 12px; display: flex; align-items: center; justify-content: space-between; background: transparent; border: 0; border-radius: 10px; font-size: 15px; font-weight: 500; color: var(--ink); cursor: pointer; }
.lang-opt:hover { background: var(--mist); }
.lang-opt svg { visibility: hidden; }
.lang-opt[aria-current="true"] svg { visibility: visible; }

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--sky); margin-top: calc(-1px - var(--nav-h)); padding-top: calc(1px + var(--nav-h)); }
.blob { position: absolute; border-radius: 50%; pointer-events: none; }
.blob-a { top: -360px; right: -280px; width: 1000px; height: 1000px; background: radial-gradient(circle at 35% 35%, var(--sky-1) 0%, var(--sky-2) 70%); }
.blob-b { bottom: -520px; left: -420px; width: 1100px; height: 1100px; background: radial-gradient(circle at 60% 40%, var(--sky-3) 0%, var(--sky-4) 75%); }
.hero-in { position: relative; padding-block: 80px 104px; text-align: center; }
.hero-eyebrow { font-family: var(--font-display); font-size: 15px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--green); }
.hero-title { margin: 22px 0 0; font-family: var(--font-display); font-weight: 800; font-size: clamp(40px, 6.4vw, 88px); line-height: 1.06; letter-spacing: -0.035em; color: var(--ink); }
.h1-line { display: block; }
.pill-row { display: flex; justify-content: center; align-items: center; margin-top: .14em; }
.pill-row + .h1-line { margin-top: .1em; }
.pill { position: relative; display: inline-flex; align-items: flex-start; justify-content: center; overflow: hidden; max-width: 100%; background: var(--green); color: var(--white); border-radius: .26em; padding: .06em .38em .16em; }
.pill-in { flex: none; white-space: nowrap; }
.pill-mark { display: inline-block; width: 0; height: 0; }
.pill-txt { display: inline-block; }
.hero-sub { max-width: 640px; margin: 30px auto 0; font-size: 19px; line-height: 1.6; color: var(--ink-soft); text-wrap: pretty; }
.hero-ctas { margin-top: 36px; display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 14px; }

.play { height: 58px; padding: 0 22px 0 18px; display: flex; align-items: center; gap: 12px; background: var(--black); border-radius: 12px; text-decoration: none; color: var(--white); }
.play:hover { background: var(--black-2); color: var(--white); }
.play-txt { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.1; }
.play-top { font-size: 11px; font-weight: 500; letter-spacing: .06em; }
.play-name { font-family: 'Poppins', sans-serif; font-size: 21px; font-weight: 500; }

.chips-block { margin-top: 72px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.caps-label { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--slate); }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; max-width: 820px; }
.chip { height: 40px; padding: 0 17px; border-radius: 20px; border: 1.5px solid var(--white); background: var(--white); color: var(--chip-ink); font-size: 15px; font-weight: 600; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.chip:hover { border-color: var(--green); }
.chip[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: var(--white); }

/* Hero demo: annotation | question card | annotation */
.demo { margin-top: 36px; display: grid; grid-template-columns: minmax(0, 1fr) min(460px, 100%) minmax(0, 1fr); align-items: start; gap: 0 32px; }
.anno { grid-row: 1; max-width: 260px; min-width: 0; display: flex; align-items: flex-start; gap: 14px; }
.anno-l { grid-column: 1; justify-self: end; margin-top: 92px; text-align: right; }
.anno-r { grid-column: 3; justify-self: start; margin-top: 150px; text-align: left; }
.anno-body { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.anno-t { font-family: var(--font-display); font-size: 17px; font-weight: 700; }
.anno-d { font-size: 15px; line-height: 1.5; color: var(--ink-soft); text-wrap: pretty; }
.mark { flex: none; margin-top: 11px; display: flex; align-items: center; }
.mark-ln { width: 44px; height: 1.5px; background: var(--green); }
.mark-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); }

.qcard { grid-column: 2; grid-row: 1; width: 100%; background: var(--white); border-radius: 28px; padding: 26px 26px 22px; box-shadow: 0 30px 80px rgba(17, 24, 39, .12), 0 0 0 1px rgba(17, 24, 39, .04); text-align: left; }
.q-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.q-topic { font-size: 13px; font-weight: 600; color: var(--slate); }
.q-timer { flex: none; display: flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border-radius: 14px; background: var(--mist); font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; }
.q-progress { margin-top: 14px; height: 4px; border-radius: 2px; background: var(--track); overflow: hidden; }
.q-progress-fill { width: 48%; height: 100%; background: var(--green); border-radius: 2px; }
.q-en { margin-top: 22px; font-size: 19px; font-weight: 500; line-height: 1.4; text-wrap: pretty; }
.q-tr { margin-top: 8px; font-size: 15px; line-height: 1.5; color: var(--slate); text-wrap: pretty; }
/* In-card labels stand in for the side notes where those do not fit. */
.q-tag { display: none; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--green); }
.q-dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.q-dot-ring { background: transparent; box-shadow: inset 0 0 0 1.5px var(--green); }
.q-tag-lang { font-weight: 600; letter-spacing: .04em; text-transform: none; color: var(--slate); }
.answers { margin-top: 20px; display: flex; flex-direction: column; gap: 8px; }
.ans { width: 100%; display: flex; align-items: flex-start; gap: 12px; padding: 12px 14px; border-radius: 16px; border: 1.5px solid var(--line); background: var(--white); text-align: left; cursor: pointer; transition: background .2s, border-color .2s; }
.ans:hover { border-color: var(--sage); }
.ans-letter { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--track); color: var(--ink); display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; }
.ans-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; padding-top: 3px; }
.ans-en { font-size: 15px; line-height: 1.38; color: var(--ink); }
.ans-tr { font-size: 13px; line-height: 1.4; color: var(--slate-2); }
.ans.is-correct { background: var(--mint); border-color: var(--green); }
.ans.is-correct .ans-letter { background: var(--green); color: var(--white); }
.ans.is-wrong { background: var(--red-soft); border-color: var(--red); }
.ans.is-wrong .ans-letter { background: var(--red); color: var(--white); }

/* Shared section type */
.eyebrow { font-family: var(--font-display); font-size: 14px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--green); }
.h2 { margin: 0; font-family: var(--font-display); font-size: clamp(32px, 4.2vw, 54px); font-weight: 800; line-height: 1.08; letter-spacing: -0.03em; text-wrap: balance; }
.stack { display: flex; flex-direction: column; gap: 18px; }
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 32px 72px; align-items: end; }
.lede { margin: 0; font-size: 19px; line-height: 1.65; text-wrap: pretty; }

/* Why both languages */
.why { background: var(--ink); color: var(--white); scroll-margin-top: var(--nav-h); }
.why-in { padding-block: 120px; }
.why .eyebrow { color: var(--green-glow); }
.why .lede { color: var(--night-text); }
.steps { margin-top: 80px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 40px; }
.step { border-top: 1px solid var(--night-line); padding-top: 26px; display: flex; flex-direction: column; gap: 12px; }
.step-n { font-family: 'Poppins', sans-serif; font-size: 15px; font-weight: 700; color: var(--green-glow); }
.step-t { font-family: var(--font-display); font-size: 23px; font-weight: 700; }
.step-d { font-size: 16px; line-height: 1.6; color: var(--night-text); text-wrap: pretty; }

/* Features */
.features { background: var(--white); scroll-margin-top: var(--nav-h); }
.features-in { padding-block: 120px; }
.feat-head { max-width: 760px; }
.feat-grid { margin-top: 56px; display: flex; flex-wrap: wrap; gap: 20px; }
.feat { min-width: 0; background: var(--mist); border-radius: 28px; padding: 14px; display: flex; flex-direction: column; }
.feat-lg { flex: 1 1 460px; }
.feat-sm { flex: 1 1 300px; }
.feat-vis { min-height: 300px; display: flex; align-items: center; justify-content: center; padding: 0 20px; }
.feat-sm .feat-vis { min-height: 250px; padding: 0 18px; }
.feat-copy { padding: 14px 22px 22px; display: flex; flex-direction: column; gap: 8px; }
.feat-copy h3 { margin: 0; font-family: var(--font-display); font-size: 24px; font-weight: 700; line-height: 1.2; letter-spacing: -0.015em; }
.feat-copy p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--ink-soft); text-wrap: pretty; }
.feat-sm .feat-copy { padding: 10px 20px 20px; }
.feat-sm .feat-copy h3 { font-size: 21px; line-height: 1.25; letter-spacing: 0; }
.feat-sm .feat-copy p { font-size: 15.5px; }
.tile-shadow { box-shadow: 0 14px 40px rgba(17, 24, 39, .07); }

.rule-card { width: 100%; max-width: 440px; background: var(--white); border-radius: 20px; padding: 20px; display: flex; flex-direction: column; gap: 16px; }
.rule-top { display: flex; gap: 18px; }
.rule-no { flex: none; min-width: 1.2em; font-family: 'Poppins', sans-serif; font-size: 38px; font-weight: 700; line-height: 1; color: var(--green); }
.rule-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.rule-title { font-size: 16px; font-weight: 700; }
.rule-text { margin: 0; font-size: 14px; line-height: 1.5; color: var(--ink); text-wrap: pretty; }
.video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; max-width: 100%; border-radius: 12px; object-fit: cover; background: var(--sky); }

.feat-vis.chat { flex-direction: column; align-items: stretch; gap: 12px; width: 100%; max-width: 420px; margin-inline: auto; }
.msg { display: flex; gap: 10px; align-items: flex-end; }
.msg-reply { flex-direction: row-reverse; }
.ava { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--avatar); display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; color: var(--ink-soft); }
.ava-green { background: var(--green); color: var(--white); }
.bubble { max-width: 80%; background: var(--white); border-radius: 18px 18px 18px 6px; padding: 12px 16px; font-size: 14.5px; line-height: 1.45; box-shadow: 0 8px 24px rgba(17, 24, 39, .05); }
.bubble-reply { max-width: 84%; border: 1.5px solid var(--green); border-radius: 18px 18px 6px 18px; display: flex; flex-direction: column; gap: 6px; }
.bubble-head { display: flex; align-items: center; gap: 8px; }
.bubble-name { font-size: 13px; font-weight: 700; }
.badge { font-size: 11.5px; font-weight: 600; color: var(--green-deep); background: var(--mint); padding: 2px 8px; border-radius: 8px; }

.feat-vis.hp { flex-direction: column; align-items: stretch; gap: 14px; }
.road { position: relative; aspect-ratio: 16 / 8.5; max-width: 100%; border-radius: 16px; background: var(--road); overflow: hidden; }
.road svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hazard-ring { position: absolute; left: 58%; top: 44%; width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--amber); box-shadow: 0 0 0 6px var(--amber-glow); }
.score { display: flex; flex-direction: column; gap: 8px; }
.score-bar { position: relative; height: 10px; border-radius: 5px; background: var(--avatar); }
.score-window { position: absolute; left: 42%; width: 30%; top: 0; bottom: 0; display: flex; border-radius: 5px; overflow: hidden; }
.score-window span { flex: 1; }
.score-tick { position: absolute; left: 47%; top: -9px; width: 2px; height: 28px; background: var(--ink); }
.score-label { position: relative; height: 14px; font-size: 11px; font-weight: 600; color: var(--slate); }
.score-label span { position: absolute; left: 47%; transform: translateX(-50%); }

.exam { background: var(--white); border-radius: 20px; padding: 22px 24px; display: flex; align-items: center; gap: 22px; }
.ring { position: relative; width: 104px; height: 104px; flex: none; }
.ring-val { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.ring-score { font-family: 'Poppins', sans-serif; font-size: 22px; font-weight: 700; line-height: 1; }
.ring-of { font-size: 11px; color: var(--slate); }
.exam-meta { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.badge-lg { font-size: 12.5px; font-weight: 700; color: var(--green-deep); background: var(--mint); padding: 4px 10px; border-radius: 10px; }
.exam-time { display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }

.feat-vis.podium { align-items: flex-end; gap: 10px; padding-bottom: 34px; }
.pod { width: 76px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.pod .ava { width: 40px; height: 40px; font-size: 13px; }
.pod-1 { width: 84px; }
.pod-1 .ava { width: 48px; height: 48px; font-size: 14px; box-shadow: 0 0 0 4px var(--mist), 0 0 0 6px var(--gold); }
.block { width: 100%; border-radius: 14px 14px 6px 6px; background: var(--white); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; box-shadow: 0 10px 30px rgba(17, 24, 39, .06); }
.block-place { font-family: 'Poppins', sans-serif; font-weight: 700; }
.block-stars { font-size: 12px; font-weight: 600; color: var(--green); font-variant-numeric: tabular-nums; }

/* Languages */
.languages { background: var(--mist); scroll-margin-top: var(--nav-h); }
.languages-in { padding-block: 120px 112px; }
.languages .split { gap: 24px 72px; }
.languages .lede { font-size: 18px; color: var(--ink-soft); }
.tiles { margin-top: 52px; display: grid; grid-template-columns: repeat(auto-fill, minmax(176px, 1fr)); gap: 12px; }
.tile { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 22px 20px; background: var(--white); border-radius: 18px; }
.tile-native { font-family: var(--font-display); font-size: 23px; font-weight: 600; color: var(--ink); }
.tile-name { font-size: 14px; color: var(--slate); }
.lang-missing { margin-top: 28px; font-size: 16px; }
.lang-missing a { font-weight: 600; text-underline-offset: 4px; }

/* Get the app */
.get { background: var(--white); scroll-margin-top: var(--nav-h); }
.get-in { padding-block: 112px; }
.slab { background: var(--green-slab); border-radius: 36px; padding: 88px 32px; display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; }
.slab .h2 { max-width: 760px; font-size: clamp(32px, 4.6vw, 60px); line-height: 1.06; color: var(--white); }
.slab p { margin: 0; max-width: 520px; font-size: 18px; line-height: 1.6; color: var(--white); text-wrap: pretty; }
.slab .play { margin-top: 14px; }

/* Footer */
.footer { border-top: 1px solid var(--line); background: var(--white); }
.footer-row { padding-block: 36px 48px; display: grid; grid-template-columns: 1fr 2fr; align-items: start; gap: 28px 24px; }
.footer-row img { height: 56px; width: auto; display: block; }
.footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 24px; font-size: 14px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: var(--ink-soft); text-decoration: none; }
.footer-links a:hover { color: var(--green); }
.copyright { grid-column: 1 / -1; padding-top: 20px; border-top: 1px solid var(--line); text-align: center; font-size: 13px; color: var(--slate); }

/* Devanagari and Bengali letters join along a headstroke and Chinese sets on a fixed grid: tracking breaks both. */
:lang(hi), :lang(bn), :lang(zh) { letter-spacing: 0; }

@media (max-width: 999px) {
  .demo { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 24px; max-width: 560px; margin-inline: auto; }
  .qcard { grid-column: 1 / -1; }
  .anno { grid-row: 2; margin-top: 0; max-width: none; justify-self: stretch; text-align: left; }
  .anno-l { grid-column: 1; }
  .anno-r { grid-column: 2; }
  .mark { display: none; }
  .anno { display: none; }
  .q-tag { display: flex; }
  .q-tag-orig { margin-top: 20px; }
  .q-tag-orig + .q-en { margin-top: 8px; }
  .q-tag-tr { margin-top: 16px; }
  .q-tag-tr + .q-tr { margin-top: 6px; }
}
@media (max-width: 720px) {
  :root { --gutter: 20px; }
  .hero-in { padding-block: 48px 72px; }
  .hero-sub { margin-top: 24px; font-size: 17px; }
  .footer-row { grid-template-columns: 1fr; }
  .footer-row img { height: 46px; }
  .chips-block { margin-top: 56px; }
  .why-in, .features-in, .languages-in { padding-block: 80px; }
  .get-in { padding-block: 72px; }
  .lede { font-size: 17px; }
  .steps { margin-top: 56px; }
  .feat-grid, .tiles { margin-top: 40px; }
  .slab { padding: 56px 24px; border-radius: 28px; }
}
@media (max-width: 560px) {
  :root { --nav-h: 68px; }
  .nav-row { gap: 10px; }
  .nav-actions { gap: 8px; }
  .brand img { height: 40px; }
  .btn-how { padding: 0 6px; font-size: 14px; }
  .lang-btn { width: 44px; padding: 0; justify-content: center; }
  .lang-btn #siteNative, .lang-btn .chev { display: none; }
}
@media (max-width: 400px) {
  .brand img { height: 33px; }
  .nav-row { gap: 8px; }
  .nav-actions { gap: 6px; }
  .btn-how { padding: 0 4px; font-size: 13px; }
  .btn-how svg { display: none; }
}
@media (max-width: 480px) {
  .demo { grid-template-columns: minmax(0, 1fr); }
  .anno-l, .anno-r { grid-column: 1; }
  .anno-r { grid-row: 3; }
  .qcard { padding: 20px 18px 18px; border-radius: 22px; }
  .q-en { font-size: 17px; }
}
@media (max-width: 420px) {
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile { padding: 18px 16px; }
  .tile-native { font-size: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
