/* ==========================================================================
   vBookmarks — landing page stylesheet (shared by index.html / index.zh.html)
   No external requests: system font stack, local images only.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
    --red: #dd5145;
    --red-deep: #c03d32;
    --red-soft: #fdeeed;
    --ink: #17181c;
    --ink-2: #202127;
    --text: #26282e;
    --muted: #666b74;
    --faint: #9aa0a8;
    --bg: #ffffff;
    --bg-soft: #f7f7f8;
    --bg-page: #fcfcfd;
    --border: #e7e7ea;
    --border-dark: #2c2d34;
    --radius: 16px;
    --radius-lg: 22px;
    --shadow-sm: 0 1px 2px rgba(23, 24, 28, .05), 0 2px 8px rgba(23, 24, 28, .05);
    --shadow-md: 0 2px 6px rgba(23, 24, 28, .05), 0 12px 32px rgba(23, 24, 28, .09);
    --shadow-lg: 0 4px 12px rgba(23, 24, 28, .07), 0 24px 64px rgba(23, 24, 28, .13);
    --wrap: 1120px;
    --pad: 24px;
    --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
        Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC",
        sans-serif;
    --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
}

/* ---------- Reset-ish ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg-page);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; }
h1, h2, h3, h4, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }

::selection { background: rgba(221, 81, 69, .22); }

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

.skip-link {
    position: absolute;
    left: 16px;
    top: -48px;
    z-index: 200;
    padding: 8px 14px;
    background: var(--ink);
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
    transition: top .15s ease;
}
.skip-link:focus { top: 12px; }

/* ---------- Layout helpers ---------- */
.wrap {
    max-width: var(--wrap);
    margin: 0 auto;
    padding: 0 var(--pad);
}
.section { padding: 88px 0; }
/* keep anchored sections clear of the sticky header when navigated to */
section[id] { scroll-margin-top: 76px; }
.section--soft { background: var(--bg); border-block: 1px solid var(--border); }

.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head--center { margin-inline: auto; text-align: center; }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 14px;
}
.eyebrow::before {
    content: "";
    width: 20px;
    height: 2px;
    background: var(--red);
    border-radius: 2px;
}
.section-head--center .eyebrow::before { display: none; }

h2.section-title {
    font-size: clamp(26px, 3.6vw, 40px);
    line-height: 1.15;
    letter-spacing: -.02em;
    font-weight: 800;
    color: var(--ink);
}
.section-sub {
    margin-top: 14px;
    font-size: clamp(15px, 1.6vw, 17.5px);
    color: var(--muted);
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 13px 24px;
    border-radius: 12px;
    border: 1px solid transparent;
    font-weight: 650;
    font-size: 15.5px;
    line-height: 1;
    text-decoration: none;
    transition: transform .12s ease, box-shadow .12s ease, background .12s ease, border-color .12s ease;
    white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn svg { flex: none; }

.btn--primary {
    background: var(--red);
    color: #fff;
    box-shadow: 0 8px 20px rgba(221, 81, 69, .32), inset 0 1px 0 rgba(255, 255, 255, .18);
}
.btn--primary:hover { background: var(--red-deep); }

.btn--ghost {
    background: var(--bg);
    border-color: var(--border);
    color: var(--ink);
    box-shadow: var(--shadow-sm);
}
.btn--ghost:hover { border-color: #c9c9cf; background: var(--bg-soft); }

.btn--sm { padding: 9px 16px; border-radius: 10px; font-size: 14px; }

.btn--rate svg { color: #e8a33d; }
.btn--donate svg { color: var(--red); }

/* Donation dialog */
.donate-dialog {
    border: none;
    border-radius: var(--radius-lg);
    padding: 0;
    max-width: min(92vw, 460px);
    width: 100%;
    background: var(--bg);
    color: var(--text);
    box-shadow: var(--shadow-lg);
    overscroll-behavior: contain;
}
.donate-dialog::backdrop {
    background: rgba(23, 24, 28, .55);
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
}
@media (prefers-reduced-motion: no-preference) {
    .donate-dialog[open] { animation: dialog-in .18s ease; }
    .donate-dialog[open]::backdrop { animation: fade-in .18s ease; }
    @keyframes dialog-in {
        from { opacity: 0; transform: translateY(10px) scale(.97); }
    }
    @keyframes fade-in { from { opacity: 0; } }
}
.donate-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 20px 22px 0;
}
.donate-head h3 {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -.01em;
    color: var(--ink);
}
.donate-close {
    flex: none;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border: 1px solid var(--border);
    border-radius: 50%;
    background: var(--bg);
    color: var(--muted);
    transition: background .12s ease, color .12s ease;
}
.donate-close:hover { background: var(--bg-soft); color: var(--ink); }
.donate-body { padding: 8px 22px 22px; text-align: center; }
.donate-body p { font-size: 14.5px; color: var(--muted); }
.donate-body img {
    margin-top: 14px;
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 12px;
}
.donate-alt { margin-top: 14px; font-size: 14px; color: var(--muted); }
.donate-alt a { color: var(--red); font-weight: 600; text-decoration: none; }
.donate-alt a:hover { text-decoration: underline; }

/* ---------- Header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(252, 252, 253, .82);
    -webkit-backdrop-filter: saturate(1.4) blur(12px);
    backdrop-filter: saturate(1.4) blur(12px);
    border-bottom: 1px solid transparent;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.is-scrolled {
    border-bottom-color: var(--border);
    box-shadow: 0 4px 20px rgba(23, 24, 28, .05);
}
.nav {
    display: flex;
    align-items: center;
    gap: 28px;
    height: 64px;
}
.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 18px;
    letter-spacing: -.01em;
    color: var(--ink);
    text-decoration: none;
}
.brand img { width: 28px; height: 28px; }
.nav-links {
    display: flex;
    gap: 4px;
    margin-inline: auto;
}
.nav-links a {
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 14.5px;
    font-weight: 550;
    color: var(--muted);
    text-decoration: none;
    transition: color .12s ease, background .12s ease;
}
.nav-links a:hover { color: var(--ink); background: var(--bg-soft); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-lang {
    font-size: 14px;
    font-weight: 550;
    color: var(--muted);
    text-decoration: none;
    padding: 8px 10px;
    border-radius: 8px;
}
.nav-lang:hover { color: var(--ink); background: var(--bg-soft); }
.nav-gh {
    display: inline-flex;
    padding: 9px;
    border-radius: 10px;
    color: var(--ink);
    transition: background .12s ease;
}
.nav-gh:hover { background: var(--bg-soft); }

.nav-toggle {
    display: none;
    border: 1px solid var(--border);
    background: var(--bg);
    border-radius: 10px;
    padding: 9px;
    color: var(--ink);
}
/* language switch lives in the burger menu on phones */
.nav-links .nav-lang-link { display: none; }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    padding: 84px 0 72px;
    overflow: clip;
    background:
        radial-gradient(58% 46% at 50% -6%, rgba(221, 81, 69, .09), transparent 70%),
        var(--bg-page);
}
.hero-inner {
    max-width: 780px;
    margin: 0 auto;
    padding: 0 var(--pad);
    text-align: center;
    position: relative;
    z-index: 1;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 15px;
    border: 1px solid rgba(221, 81, 69, .28);
    background: var(--red-soft);
    color: var(--red-deep);
    font-size: 13.5px;
    font-weight: 600;
    border-radius: 999px;
    margin-bottom: 26px;
}
.hero-badge svg { flex: none; }
.hero h1 {
    font-size: clamp(38px, 6.4vw, 68px);
    line-height: 1.06;
    letter-spacing: -.028em;
    font-weight: 850;
    color: var(--ink);
    text-wrap: balance;
}
.hero h1 em {
    font-style: normal;
    color: var(--red);
}
.hero-sub {
    margin: 22px auto 0;
    max-width: 620px;
    font-size: clamp(16.5px, 2vw, 19.5px);
    line-height: 1.55;
    color: var(--muted);
    text-wrap: pretty;
}
.hero-cta {
    margin-top: 34px;
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}
.hero-cta .btn--ghost { padding-inline: 19px; }
@media (min-width: 800px) {
    /* widen the CTA strip past the text column so four buttons share one row */
    .hero-cta { margin-inline: -26px; }
}
.hero-facts {
    margin-top: 26px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px 22px;
    font-size: 14px;
    color: var(--faint);
    font-weight: 550;
}
.hero-facts span { display: inline-flex; align-items: center; gap: 7px; }
.hero-facts svg { color: var(--red); }

.hero-board {
    max-width: var(--wrap);
    margin: 60px auto 0;
    padding: 0 var(--pad);
    position: relative;
}
.hero-board::before {
    content: "";
    position: absolute;
    inset: 8% 6% -6%;
    background:
        radial-gradient(46% 60% at 30% 40%, rgba(221, 81, 69, .17), transparent 70%),
        radial-gradient(42% 58% at 72% 60%, rgba(59, 108, 221, .12), transparent 70%);
    filter: blur(12px);
    z-index: 0;
}
.hero-frame {
    position: relative;
    z-index: 1;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: #fff;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}
.hero-frame img { width: 100%; }

/* ---------- Bento ---------- */
.bento {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 18px;
}
.bento-card {
    grid-column: span 2;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 26px 26px 24px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.bento-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: #d9d9df;
}
.bento-card--wide { grid-column: span 3; }
.bento-card--span4 { grid-column: span 4; }
.bento-card--full {
    grid-column: span 6;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    padding-block: 20px;
}
.bento-card--full .bento-icon { margin-bottom: 0; flex: none; }
.bento-card--full h3 { flex: none; width: 210px; }
.bento-card--full p { flex: 1; }
.bento-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    background: var(--red-soft);
    color: var(--red);
    margin-bottom: 6px;
}
.bento-card h3 {
    font-size: 17.5px;
    font-weight: 750;
    letter-spacing: -.01em;
    color: var(--ink);
}
.bento-card p { font-size: 14.8px; color: var(--muted); }
.bento-card p code {
    font-family: var(--mono);
    font-size: .88em;
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: 5px;
    padding: 1px 6px;
    color: var(--ink);
}

.feature-chips {
    margin-top: 34px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}
.feature-chips span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 999px;
    font-size: 13.8px;
    font-weight: 550;
    color: var(--muted);
}
.feature-chips svg { color: var(--red); flex: none; }

/* ---------- Views gallery ---------- */
.views-strip {
    position: relative;
}
.views-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 258px;
    gap: 20px;
    overflow-x: auto;
    padding: 6px var(--pad) 26px;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: #d3d3d9 transparent;
    margin-inline: calc(var(--pad) * -1);
}
.views-track::-webkit-scrollbar { height: 8px; }
.views-track::-webkit-scrollbar-thumb { background: #d3d3d9; border-radius: 8px; }
.view-card {
    scroll-snap-align: center;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform .16s ease, box-shadow .16s ease;
}
.view-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.view-card img {
    width: 100%;
    height: 330px;
    object-fit: cover;
    object-position: top;
    border-bottom: 1px solid var(--border);
}
.view-card img.is-wide {
    object-fit: contain;
    object-position: center;
    background: var(--bg-soft);
}
.view-card-body { padding: 16px 18px 18px; }
.view-card-body h3 {
    font-size: 15.5px;
    font-weight: 750;
    color: var(--ink);
    display: flex;
    align-items: center;
    gap: 8px;
}
.view-card-body h3::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--red);
    flex: none;
}
.view-card-body p { margin-top: 5px; font-size: 13.6px; line-height: 1.5; color: var(--muted); }
.views-nav {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
    margin-bottom: 14px;
}
.views-nav button {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 50%;
    color: var(--ink);
    box-shadow: var(--shadow-sm);
    transition: background .12s ease, border-color .12s ease;
}
.views-nav button:hover { background: var(--bg-soft); border-color: #cfcfd6; }

/* ---------- Keyboard (dark) ---------- */
.keyboard {
    background:
        radial-gradient(52% 42% at 50% 0%, rgba(221, 81, 69, .14), transparent 70%),
        var(--ink);
    color: #e6e7ea;
}
.keyboard .section-title { color: #fff; }
.keyboard .section-sub { color: #a3a7b0; }
.keyboard .eyebrow { color: #f0857b; }
.keyboard .eyebrow::before { background: #f0857b; }

.kbd-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}
.kbd-row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    background: var(--ink-2);
    border: 1px solid var(--border-dark);
    border-radius: var(--radius);
}
.kbd-row dd, .kbd-row dt { margin: 0; }
.kbd-row dt { flex: none; display: flex; flex-wrap: wrap; gap: 5px; min-width: 128px; }
.kbd-row dd { font-size: 14.3px; color: #b9bcc4; }
kbd {
    display: inline-block;
    padding: 5px 9px;
    min-width: 28px;
    text-align: center;
    font-family: var(--font);
    font-size: 12.8px;
    font-weight: 650;
    color: #f0f0f2;
    background: #2b2c33;
    border: 1px solid #3d3e46;
    border-bottom-width: 2.5px;
    border-radius: 7px;
}
.kbd-row dt kbd.wide { padding-inline: 12px; }

/* ---------- Themes ---------- */
.themes-frame {
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: #fff;
    box-shadow: var(--shadow-md);
    overflow: hidden;
}
.themes-pills {
    margin-top: 26px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}
.themes-pills span {
    padding: 8px 18px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: var(--bg);
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
}
.themes-pills i {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 4px;
    margin-right: 8px;
    border: 1px solid rgba(23, 24, 28, .15);
    vertical-align: -1px;
}
.sw-light { background: #ffffff; }
.sw-dark { background: #26262b; }
.sw-ink { background: #14141c; }
.sw-paper { background: #f2ecdc; }
.themes-note {
    margin-top: 18px;
    text-align: center;
    font-size: 14.5px;
    color: var(--faint);
}

/* ---------- Privacy ---------- */
.trio {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
.trio-card {
    padding: 28px 26px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}
.trio-card .bento-icon { margin-bottom: 12px; }
.trio-card h3 { font-size: 17px; font-weight: 750; color: var(--ink); }
.trio-card p { margin-top: 8px; font-size: 14.8px; color: var(--muted); }

.closing {
    margin-top: 56px;
    text-align: center;
}
.closing p {
    font-size: clamp(19px, 2.6vw, 26px);
    font-weight: 700;
    letter-spacing: -.015em;
    color: var(--ink);
    max-width: 560px;
    margin: 0 auto;
    text-wrap: balance;
}
.closing .btn { margin-top: 24px; }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin: 0 auto; }
.faq details {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    margin-bottom: 12px;
    overflow: hidden;
}
.faq summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 22px;
    cursor: pointer;
    font-weight: 650;
    font-size: 15.8px;
    color: var(--ink);
    list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: "";
    flex: none;
    width: 9px;
    height: 9px;
    border-right: 2px solid var(--faint);
    border-bottom: 2px solid var(--faint);
    transform: rotate(45deg) translateY(-3px);
    transition: transform .18s ease;
}
.faq details[open] summary::after {
    transform: rotate(-135deg) translateY(-3px);
}
.faq details p {
    padding: 0 22px 20px;
    font-size: 14.8px;
    color: var(--muted);
}
.faq details p a { color: var(--red); text-decoration: none; font-weight: 600; }
.faq details p a:hover { text-decoration: underline; }
.faq details p code {
    font-family: var(--mono);
    font-size: .88em;
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: 5px;
    padding: 1px 6px;
    color: var(--ink);
}

/* ---------- Footer ---------- */
.site-footer {
    background: var(--ink);
    color: #b9bcc4;
    padding: 56px 0 32px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 36px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border-dark);
}
.footer-brand img { width: 30px; height: 30px; margin-bottom: 14px; }
.footer-brand .brand-name { color: #fff; font-weight: 800; font-size: 17px; }
.footer-brand p { margin-top: 10px; font-size: 14px; line-height: 1.6; color: #8d919a; max-width: 300px; }
.footer-col h4 {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #7d818a;
    margin-bottom: 14px;
}
.footer-col a {
    display: block;
    padding: 5px 0;
    font-size: 14.3px;
    color: #b9bcc4;
    text-decoration: none;
}
.footer-col a:hover { color: #fff; }
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    padding-top: 26px;
    font-size: 13.3px;
    color: #7d818a;
}
.footer-bottom a { color: inherit; }
.footer-bottom a:hover { color: #fff; }

/* ---------- Reveal on scroll ---------- */
html.js .reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .6s ease, transform .6s cubic-bezier(.16, .84, .3, 1);
    transition-delay: var(--d, 0ms);
}
html.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    html.js .reveal { opacity: 1; transform: none; transition: none; }
    .btn, .bento-card, .view-card { transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
    .bento-card, .bento-card--wide, .bento-card--span4 { grid-column: span 3; }
    .bento-card--full { grid-column: span 6; }
    .kbd-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
    .section { padding: 64px 0; }
    .nav-links, .nav-lang {
        display: none;
    }
    .nav-toggle { display: inline-flex; }
    .nav { justify-content: space-between; }
    .nav.is-open .nav-links {
        display: flex;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        flex-direction: column;
        padding: 12px 16px 18px;
        background: var(--bg);
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow-md);
    }
    .nav.is-open .nav-links a { padding: 12px; font-size: 16px; }
    .nav-links .nav-lang-link { display: block; margin-top: 4px; border-top: 1px solid var(--border); padding-top: 14px; }
    .nav-gh { display: none; }
    .hero { padding-top: 56px; padding-bottom: 56px; }
    .hero-board { margin-top: 44px; }
    .bento { grid-template-columns: 1fr; }
    .bento-card, .bento-card--wide, .bento-card--span4, .bento-card--full { grid-column: auto; }
    .bento-card--full { flex-direction: column; align-items: flex-start; }
    .bento-card--full h3 { width: auto; }
    .kbd-grid { grid-template-columns: 1fr; }
    .trio { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 24px; }
    .views-track { grid-auto-columns: 236px; }
}

/* ---------- Phones ---------- */
@media (max-width: 480px) {
    :root { --pad: 18px; }
    .section { padding: 56px 0; }
    .section-head { margin-bottom: 36px; }

    /* keep brand + store CTA + burger on one line at 360px */
    .nav { gap: 12px; }
    .brand { font-size: 17px; gap: 8px; }
    .nav-actions { gap: 8px; }
    .nav .btn--sm { padding: 8px 12px; font-size: 13.5px; }

    .hero { padding-top: 44px; }
    .hero-badge { font-size: 12px; padding: 6px 12px; gap: 6px; white-space: normal; }
    .hero h1 { font-size: clamp(30px, 9.6vw, 38px); }
    .hero-sub { font-size: 16px; }
    .hero-cta { margin-top: 28px; flex-direction: column; align-items: stretch; }
    .hero-cta .btn { width: 100%; }
    .hero-facts { margin-top: 22px; gap: 8px 16px; font-size: 13px; }

    .bento-card { padding: 22px 20px; }
    .trio-card { padding: 24px 20px; }
    .views-track { grid-auto-columns: 232px; }

    /* keys above description: side-by-side runs out of width below ~430px */
    .kbd-row { flex-direction: column; align-items: flex-start; gap: 10px; padding: 16px 18px; }
    .kbd-row dt { min-width: 0; }

    .faq summary { padding: 16px 18px; }
    .faq details p { padding: 0 18px 18px; }
}
