/* ==========================================================================
   Best Apple Watch Apps — front-end design system ("Wrist Dispatch", rev. 2)
   Plain CSS, no build step. Rules:
   - Dark surfaces mean "a watch screen". Nothing else is dark.
   - The accent is for the single primary action on a page.
   - Bricolage Grotesque for H1/H2 only; everything else is Inter.
   ========================================================================== */

:root {
    --ink: #0B0C0F;
    --ink-2: #3E4250;
    --muted: #5B5F6B;
    --line: #E3E4E8;
    --line-2: #D5D7DD;
    --soft: #F0F1F3;
    --paper: #F6F6F4;
    --surface: #FFFFFF;
    --case: #1C1D22;
    --accent: #FF5B1F;

    --font-display: 'Bricolage Grotesque', 'Inter', system-ui, sans-serif;
    --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

    --wrap: 1240px;
    --gutter: 32px;
    --radius-lg: 28px;
    --radius-md: 22px;
    --radius-sm: 14px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.5;
    color: var(--ink);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); }
a:hover { color: var(--muted); }
h1, h2, h3, h4, p, ul, ol, dl, figure { margin: 0; }
button, input, textarea, select { font: inherit; color: inherit; }

:where(a, button, input, textarea, select, summary):focus-visible {
    outline: 3px solid var(--ink);
    outline-offset: 3px;
    border-radius: 8px;
}

.sr-only {
    position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 12px 16px; border-radius: 10px; text-decoration: none; font-weight: 600; }
.skip-link:focus { top: 12px; color: #fff; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-block: 72px; }
.section-tight { padding-block: 40px; }
.band { background: var(--surface); border-block: 1px solid var(--line); }
.stack { display: flex; flex-direction: column; }
.gap-4 { gap: 4px; } .gap-8 { gap: 8px; } .gap-12 { gap: 12px; } .gap-16 { gap: 16px; } .gap-24 { gap: 24px; } .gap-32 { gap: 32px; }

/* ---------- Type ---------- */
.h-display {
    font-family: var(--font-display); font-weight: 800;
    font-size: clamp(40px, 5.6vw, 72px); line-height: 1.02; letter-spacing: -0.035em;
}
.h-page {
    font-family: var(--font-display); font-weight: 800;
    font-size: clamp(36px, 4.6vw, 60px); line-height: 1.04; letter-spacing: -0.035em;
}
.h-section {
    font-family: var(--font-display); font-weight: 800;
    font-size: clamp(28px, 3vw, 38px); line-height: 1.08; letter-spacing: -0.03em;
}
.h-sub { font-family: var(--font-display); font-weight: 800; font-size: 24px; line-height: 1.15; letter-spacing: -0.02em; }
.lead { font-size: 19px; line-height: 1.55; color: var(--ink-2); max-width: 640px; }
.eyebrow { font-size: 13px; font-weight: 600; color: var(--muted); }
.meta { font-size: 13px; color: var(--muted); line-height: 1.5; }
.meta-row { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; color: var(--muted); }
.meta-row a { color: var(--ink-2); font-weight: 600; }
.muted { color: var(--muted); }
.body-2 { color: var(--ink-2); }

.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; margin-bottom: 28px; }
.section-head p { color: var(--muted); margin-top: 8px; }
.link-strong { font-weight: 600; font-size: 15px; padding: 10px 0; display: inline-block; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.94); backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 20px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--font-display); font-weight: 800; font-size: 19px; letter-spacing: -0.02em; white-space: nowrap; }
.brand:hover { color: var(--ink); }
.nav { display: flex; gap: 2px; flex: 1 1 auto; }
.nav a { text-decoration: none; font-size: 15px; font-weight: 500; color: var(--muted); padding: 12px 14px; border-radius: 10px; }
.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.header-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.icon-btn { width: 44px; height: 44px; border-radius: 22px; display: inline-flex; align-items: center; justify-content: center; border: 0; background: transparent; cursor: pointer; text-decoration: none; }
.icon-btn:hover { background: var(--soft); color: var(--ink); }

.menu { position: relative; display: none; }
.menu > summary { list-style: none; }
.menu > summary::-webkit-details-marker { display: none; }
.menu-panel { position: absolute; right: 0; top: 52px; width: min(320px, calc(100vw - 32px)); background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 8px; box-shadow: 0 24px 48px -16px rgba(11, 12, 15, .2); display: flex; flex-direction: column; }
.menu-panel a { text-decoration: none; padding: 12px 14px; border-radius: 12px; font-weight: 500; }
.menu-panel a:hover { background: var(--soft); color: var(--ink); }
.menu-panel a[aria-current="page"] { font-weight: 600; background: var(--soft); }

/* ---------- Buttons & chips ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 999px; font-weight: 600; font-size: 14px; text-decoration: none; border: 1px solid transparent; cursor: pointer; white-space: nowrap; transition: background .15s ease, border-color .15s ease, transform .15s ease; }
.btn-lg { min-height: 52px; padding: 0 24px; font-size: 16px; }
.btn-primary { background: var(--accent); color: var(--ink); }
.btn-primary:hover { color: var(--ink); background: #ff6d36; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { color: #fff; background: #23252b; }
.btn-outline { background: var(--surface); border-color: var(--line-2); color: var(--ink); }
.btn-outline:hover { color: var(--ink); border-color: var(--ink); }
.btn-block { width: 100%; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.chip { display: inline-flex; align-items: center; min-height: 44px; padding: 0 15px; border-radius: 999px; font-size: 14px; text-decoration: none; background: var(--surface); border: 1px solid var(--line-2); color: var(--ink); }
.chip:hover { color: var(--ink); border-color: var(--ink); }
.chip.is-soft { background: var(--soft); border-color: transparent; }
.chip[aria-current="true"], .chip.is-active { background: var(--ink); border-color: var(--ink); color: #fff; font-weight: 600; }
.tag { display: inline-flex; align-items: center; font-size: 12px; font-weight: 600; padding: 4px 9px; border-radius: 6px; background: var(--soft); color: var(--ink-2); }
.tag-dark { background: var(--ink); color: #fff; border-radius: 999px; padding: 5px 10px; }

/* ---------- Search ---------- */
.search-form { display: flex; flex-direction: column; gap: 10px; max-width: 640px; }
.search-form label { font-size: 14px; font-weight: 600; }
.search-box { display: flex; gap: 8px; background: var(--surface); border: 1px solid var(--line-2); border-radius: 18px; padding: 7px; box-shadow: 0 1px 2px rgba(11, 12, 15, .04); }
.search-box:focus-within { border-color: var(--ink); }
.search-box input { flex: 1 1 auto; min-width: 0; border: 0; outline: none; background: transparent; font-size: 17px; padding: 0 14px; }
.search-box input::placeholder { color: #6B6F7A; }
.search-box .btn { border-radius: 12px; min-height: 48px; padding: 0 22px; font-size: 16px; }

/* ---------- Watch frame (the only dark surface) ---------- */
.watch {
    --w: 132px;
    width: var(--w); aspect-ratio: 41 / 50; flex: 0 0 auto;
    background: var(--case); border-radius: calc(var(--w) * .29); padding: calc(var(--w) * .055);
}
.watch > img, .watch > .watch-blank {
    width: 100%; height: 100%; object-fit: cover; border-radius: calc(var(--w) * .235); background: #000;
}
.watch-blank { display: flex; align-items: center; justify-content: center; }
.watch-blank img { width: 44%; height: auto; border-radius: 22%; }
.watch-sm { --w: 96px; } .watch-md { --w: 132px; } .watch-lg { --w: 180px; } .watch-xl { --w: 210px; }
.device { --w: 200px; position: relative; width: var(--w); aspect-ratio: 620 / 940; flex: 0 0 auto; }
.device-screen { position: absolute; background: #000; box-shadow: 0 0 0 1px #000; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.device-screen img { width: 100%; height: 100%; object-fit: cover; }
.device-screen img.device-icon { width: 40%; height: auto; border-radius: 22%; }
.device-bezel { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; user-select: none; }
.device-sm { --w: 112px; } .device-md { --w: 152px; } .device-lg { --w: 200px; } .device-xl { --w: 240px; }
.stage { background: var(--soft); border-radius: 20px; display: flex; align-items: center; justify-content: center; padding: 24px; }
/* Cropped stage: the watch case fills the stage; only a short piece of the band
   shows above and below. Case (with lugs) is 688/940 of the image height,
   so width = stage height × 0.78 × (940/688) × (620/940) ≈ 0.703 × stage height. */
.stage-crop { --stage-h: 300px; height: var(--stage-h); padding: 0; overflow: hidden; }
.stage-crop .device { --w: calc(var(--stage-h) * 0.703); }

/* ---------- Icons ---------- */
.app-icon { width: 48px; height: 48px; border-radius: 22.5%; object-fit: cover; flex: 0 0 auto; background: var(--soft); box-shadow: 0 0 0 1px rgba(11, 12, 15, .06); }
.app-icon-lg { width: 104px; height: 104px; }
.app-icon-md { width: 64px; height: 64px; }
.app-icon-sm { width: 40px; height: 40px; }
.app-icon-fallback { display: inline-flex; align-items: center; justify-content: center; font-weight: 700; color: var(--muted); }

/* ---------- Cards ---------- */
.card { background: var(--surface); border-radius: var(--radius-lg); padding: 24px; }
.card-pad-lg { padding: 32px; }
.grid-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; }

.app-card { position: relative; display: flex; flex-direction: column; gap: 18px; background: var(--surface); border-radius: var(--radius-lg); padding: 22px; transition: box-shadow .2s ease, transform .2s ease; }
.app-card:hover { box-shadow: 0 20px 40px -24px rgba(11, 12, 15, .28); transform: translateY(-2px); }
.app-card .stage { --stage-h: 300px; }
.app-card-head { display: flex; gap: 14px; align-items: center; min-width: 0; }
.app-card-name { font-weight: 600; font-size: 18px; line-height: 1.25; }
.app-card-name a { text-decoration: none; }
.app-card-sub { font-size: 14px; color: var(--muted); }
.app-card-desc { font-size: 15px; color: var(--ink-2); line-height: 1.5; flex: 1 1 auto; }
.app-card-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 12px; font-size: 13px; color: var(--muted); border-top: 1px solid var(--soft); padding-top: 14px; }
.app-card .tag-link { position: relative; z-index: 2; }
.stretched-link::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }

/* Horizontal app row (search results, weekly) */
.app-row { position: relative; display: flex; flex-wrap: wrap; gap: 24px; align-items: center; background: var(--surface); border-radius: 24px; padding: 20px; }
.app-row-body { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.app-row-actions { position: relative; z-index: 2; display: flex; gap: 8px; flex-wrap: wrap; }

/* Hero feature (app of the week) */
.feature { position: relative; display: flex; flex-direction: column; gap: 24px; background: var(--surface); border-radius: 32px; padding: 24px; box-shadow: 0 1px 2px rgba(11, 12, 15, .05), 0 24px 48px -24px rgba(11, 12, 15, .18); text-decoration: none; }
.feature:hover { color: var(--ink); }
.feature .stage { --stage-h: 360px; }
.feature-body { padding: 0 8px 8px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.h-sub, .h-page, .app-card-name { overflow-wrap: anywhere; }

/* ---------- Lists ---------- */
.rows { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.row-link { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-size: 16px; font-weight: 500; line-height: 1.4; }
.row-link:hover { color: var(--ink); }
.row-link:hover .row-title { text-decoration: underline; text-underline-offset: 3px; }
.row-link small { display: block; font-size: 14px; font-weight: 400; color: var(--muted); margin-top: 2px; }
.row-link svg { flex: 0 0 auto; color: var(--muted); }

.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); column-gap: 32px; }
.cat-item { display: flex; flex-direction: column; gap: 4px; padding: 18px 0; border-top: 1px solid var(--line); text-decoration: none; }
.cat-item:hover .cat-name { text-decoration: underline; text-underline-offset: 3px; }
.cat-item:hover { color: var(--ink); }
.cat-name { font-weight: 600; font-size: 17px; display: flex; gap: 8px; align-items: baseline; }
.cat-name .count { font-size: 13px; font-weight: 500; color: var(--muted); }
.cat-desc { font-size: 14px; color: var(--muted); line-height: 1.45; }

.principles { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px; }
.principle { border-top: 2px solid var(--ink); padding-top: 18px; display: flex; flex-direction: column; gap: 8px; }
.principle h3 { font-size: 18px; font-weight: 600; }
.principle p { font-size: 15px; line-height: 1.6; color: var(--ink-2); }
.principle.is-quiet { border-top-color: var(--line-2); }

/* ---------- Layout helpers ---------- */
.split { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.split-main { flex: 999 1 640px; min-width: 0; display: flex; flex-direction: column; gap: 48px; }
.split-aside { flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 32px; }
.split-aside-left { flex: 1 1 220px; min-width: 0; }
.measure { max-width: 760px; }
.hero { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; padding-block: 72px 80px; }
.hero-copy { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 26px; }
.hero-side { flex: 1 1 380px; min-width: 0; }
.page-head { padding-block: 40px 32px; display: flex; flex-direction: column; gap: 16px; }

.aside-block { display: flex; flex-direction: column; gap: 2px; }
.aside-block h2 { font-size: 14px; font-weight: 600; color: var(--muted); margin-bottom: 8px; }
.aside-block a { text-decoration: none; font-size: 15px; padding: 8px 0; line-height: 1.4; }
.aside-block a.strong { font-weight: 600; }

/* ---------- Breadcrumb ---------- */
.crumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--line-2); }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--ink); }
.crumbs [aria-current="page"] { color: var(--ink); }

/* ---------- Short answer ---------- */
.answer { background: var(--surface); border-radius: var(--radius-lg); padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.answer h2 { font-size: 14px; font-weight: 600; color: var(--muted); }
.answer p { font-family: var(--font-display); font-weight: 700; font-size: clamp(21px, 2.2vw, 26px); line-height: 1.32; letter-spacing: -0.01em; }

/* ---------- Facts / definition grid ---------- */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1px; background: var(--line); border-radius: var(--radius-md); overflow: hidden; }
.facts > div { background: var(--surface); padding: 18px 22px; }
.facts dt { font-size: 13px; color: var(--muted); }
.facts dd { margin: 4px 0 0; font-weight: 600; font-size: 18px; }
.kv { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.kv > div { display: flex; justify-content: space-between; gap: 12px; }
.kv dt { color: var(--muted); white-space: nowrap; }
.kv dd { margin: 0; font-weight: 600; text-align: right; }

/* ---------- Gallery ---------- */
.gallery { background: var(--surface); border-radius: 32px; padding: 36px 32px; display: flex; gap: 28px; overflow-x: auto; scroll-snap-type: x proximity; }
.gallery > * { scroll-snap-align: start; }

/* ---------- Table ---------- */
.table-wrap { overflow-x: auto; background: var(--surface); border-radius: var(--radius-md); }
.table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 15px; }
.table th, .table td { padding: 14px 20px; text-align: left; border-bottom: 1px solid var(--soft); vertical-align: middle; }
.table thead th { font-size: 13px; font-weight: 600; color: var(--muted); border-bottom-color: var(--line); white-space: nowrap; }
.table tbody tr:last-child > * { border-bottom: 0; }
.table td { color: var(--ink-2); }
.table th[scope="row"] { min-width: 240px; }
.table td { min-width: 120px; }
.table .app-cell { display: flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 600; color: var(--ink); }

/* ---------- FAQ ---------- */
.faq details { border-top: 1px solid var(--line); padding: 20px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 600; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 400; font-size: 22px; line-height: 1; color: var(--muted); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: 12px; font-size: 16px; line-height: 1.65; color: var(--ink-2); max-width: 680px; }

/* ---------- Prose (guides, about) ---------- */
.prose { font-size: 18px; line-height: 1.75; color: var(--ink-2); }
.prose > * + * { margin-top: 1.1em; }
.prose [id] { scroll-margin-top: 96px; }
.prose h2 { font-family: var(--font-display); font-weight: 800; font-size: 30px; line-height: 1.15; letter-spacing: -0.02em; color: var(--ink); margin-top: 1.8em; }
.prose h3 { font-size: 21px; font-weight: 600; color: var(--ink); margin-top: 1.6em; }
.prose a { color: var(--ink); text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .4em; }
.prose strong { color: var(--ink); }
.prose img { border-radius: 20px; margin-inline: auto; }
.prose blockquote { margin: 1.4em 0; padding: 0 0 0 20px; border-left: 3px solid var(--line-2); color: var(--ink); }
.prose table { width: 100%; border-collapse: collapse; font-size: 16px; display: block; overflow-x: auto; }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.prose code { font-size: .9em; background: var(--soft); padding: .1em .35em; border-radius: 6px; }
.featured-img { border-radius: var(--radius-lg); width: 100%; max-height: 480px; object-fit: cover; }

/* ---------- Forms ---------- */
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 14px; font-weight: 600; }
.input, .textarea { width: 100%; background: var(--surface); border: 1px solid var(--line-2); border-radius: 14px; padding: 13px 16px; font-size: 16px; }
.input:focus, .textarea:focus { border-color: var(--ink); outline: none; box-shadow: 0 0 0 3px rgba(11, 12, 15, .12); }
.textarea { min-height: 140px; resize: vertical; }
.is-invalid { border-color: #B42318; }
.field-error { font-size: 14px; color: #B42318; }
.alert { border-radius: 14px; padding: 14px 16px; font-size: 15px; }
.alert-success { background: #ECFDF3; color: #05603A; }
.alert-error { background: #FEF3F2; color: #912018; }

.filters { display: flex; flex-direction: column; gap: 28px; }
.filters fieldset { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.filters legend { font-size: 14px; font-weight: 600; padding-bottom: 8px; }
.filters a { display: flex; align-items: center; gap: 10px; min-height: 40px; font-size: 15px; text-decoration: none; color: var(--ink-2); }
.filters a::before { content: ""; width: 18px; height: 18px; border-radius: 5px; border: 1.5px solid var(--line-2); background: var(--surface); flex: 0 0 auto; }
.filters a[aria-current="true"] { color: var(--ink); font-weight: 600; }
.filters a[aria-current="true"]::before { background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 12px no-repeat; border-color: var(--ink); }

/* ---------- Pagination ---------- */
.pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 40px; }
.pager a, .pager span { min-width: 44px; height: 44px; padding: 0 12px; border-radius: 22px; display: inline-flex; align-items: center; justify-content: center; font-size: 15px; text-decoration: none; }
.pager a { background: var(--surface); border: 1px solid var(--line-2); }
.pager a:hover { border-color: var(--ink); color: var(--ink); }
.pager [aria-current="page"] { background: var(--ink); color: #fff; font-weight: 600; }
.pager .is-disabled { color: #8A8E99; }

/* ---------- Empty state ---------- */
.empty { background: var(--surface); border-radius: var(--radius-lg); padding: 48px 32px; text-align: center; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); margin-top: 24px; }
.footer-top { display: flex; flex-wrap: wrap; gap: 40px; padding-block: 48px 32px; }
.footer-brand { flex: 2 1 280px; display: flex; flex-direction: column; gap: 10px; }
.footer-brand p { font-size: 14px; line-height: 1.6; color: var(--muted); max-width: 340px; }
.footer-col { flex: 1 1 150px; display: flex; flex-direction: column; font-size: 14px; }
.footer-col h2 { font-size: 14px; font-weight: 600; padding: 6px 0; }
.footer-col a { color: var(--muted); text-decoration: none; padding: 6px 0; }
.footer-col a:hover { color: var(--ink); }
.footer-bottom { border-top: 1px solid var(--line); padding-block: 20px 32px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: 13px; color: var(--muted); line-height: 1.6; }
.footer-bottom a { color: var(--muted); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
    .nav, .header-actions .btn { display: none; }
    .menu { display: block; }
}
@media (max-width: 640px) {
    :root { --gutter: 20px; }
    .section { padding-block: 48px; }
    .hero { padding-block: 32px 40px; gap: 32px; }
    .feature { padding: 18px; }
    .feature .stage { --stage-h: 320px; }
    .device-lg { --w: 176px; } .device-xl { --w: 200px; }
    .card-pad-lg, .answer { padding: 24px; }
    .grid-cards { grid-template-columns: 1fr; }
    .app-card .stage { --stage-h: 280px; }
    .gallery { padding: 24px 20px; gap: 20px; }
    .prose { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
