/* ==========================================================================
   BDO Helper — marketing site + account cabinet
   Palette and geometry are taken from the desktop app (frontend/style.css), so
   the site and the product read as one thing. No external fonts, no CDN.
   ========================================================================== */

:root {
    /* surfaces */
    --bg:        #0e0e10;
    --panel:     #15151a;
    --panel-2:   #1a1a20;
    --ctl:       #1f1f26;

    /* lines */
    --line:      #25252c;
    --line-2:    #363641;

    /* text */
    --tx:        #e7e2d8;
    --tx-2:      #a49e93;
    --tx-3:      #6e6a62;

    /* accent */
    --gold:      #c9a96e;
    --gold-hi:   #e2c08a;
    --gold-dim:  rgba(201, 169, 110, .14);

    /* status */
    --ok:        #5fa86b;
    --warn:      #c9a35e;
    --dan:       #c4534d;

    --r:         6px;
    --r2:        10px;
    --r3:        14px;

    --max:       1180px;
    --nav-h:     68px;

    --font: "Segoe UI", system-ui, -apple-system, "Inter", Roboto, Arial, sans-serif;
    --mono: ui-monospace, "Cascadia Mono", "Consolas", "SFMono-Regular", monospace;
}

/* --------------------------------------------------------------- reset --- */

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

html {
    color-scheme: dark;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--nav-h) + 24px);
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--tx);
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -2;
    background:
        radial-gradient(900px 520px at 78% -8%, rgba(201, 169, 110, .12), transparent 62%),
        radial-gradient(700px 480px at 4% 12%, rgba(201, 169, 110, .05), transparent 60%);
    pointer-events: none;
}

body::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    background-image:
        linear-gradient(rgba(255, 255, 255, .022) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .022) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 30%, transparent 78%);
    -webkit-mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 30%, transparent 78%);
    pointer-events: none;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: rgba(201, 169, 110, .3); color: #fff; }

:where(a, button, input, select, summary, [tabindex]):focus-visible {
    outline: 1px solid var(--gold);
    outline-offset: 2px;
    border-radius: 3px;
}

.skip-link {
    position: absolute;
    left: 16px;
    top: -60px;
    z-index: 100;
    padding: 10px 14px;
    background: var(--gold);
    color: #14100a;
    border-radius: var(--r);
    font-size: 13px;
    font-weight: 600;
    transition: top .2s;
}
.skip-link:focus { top: 16px; }

/* ------------------------------------------------------------ helpers --- */

.container { width: min(var(--max), calc(100% - 48px)); margin-inline: auto; }

.section { padding: 104px 0; position: relative; }
.section--tight { padding: 72px 0; }
.section + .section { border-top: 1px solid rgba(255, 255, 255, .04); }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--gold);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .2em;
    text-transform: uppercase;
}
.eyebrow::before {
    content: "";
    width: 22px;
    height: 1px;
    background: var(--gold);
    opacity: .7;
}

.h2 {
    margin-top: 14px;
    font-size: clamp(30px, 3.4vw, 44px);
    line-height: 1.12;
    letter-spacing: -.02em;
    font-weight: 600;
    text-wrap: balance;
}
.h3 {
    font-size: 19px;
    line-height: 1.35;
    font-weight: 600;
    letter-spacing: -.01em;
}
.lead {
    margin-top: 16px;
    color: var(--tx-2);
    font-size: 17px;
    max-width: 60ch;
    text-wrap: pretty;
}
.muted { color: var(--tx-2); }
.hint { font-size: 12px; color: var(--tx-3); line-height: 1.5; }
.small { font-size: 13px; }
.tiny { font-size: 11px; }
.gold { color: var(--gold); }
.mono { font-family: var(--mono); }

.section-head { max-width: 720px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow::before { display: none; }

/* -------------------------------------------------------------- buttons --- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    height: 44px;
    padding: 0 20px;
    border: 1px solid transparent;
    border-radius: var(--r);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .01em;
    white-space: nowrap;
    transition: background .18s, border-color .18s, color .18s, transform .18s;
}
.btn:active { transform: translateY(1px); }

.btn--gold {
    background: linear-gradient(180deg, var(--gold-hi), var(--gold));
    color: #17110a;
    box-shadow: 0 8px 22px -10px rgba(201, 169, 110, .65);
}
.btn--gold:hover { background: linear-gradient(180deg, #f0d2a0, var(--gold-hi)); }

.btn--ghost {
    border-color: var(--line-2);
    color: var(--tx);
    background: rgba(255, 255, 255, .015);
}
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-hi); background: var(--gold-dim); }

.btn--quiet { color: var(--tx-2); padding: 0 12px; height: 36px; font-weight: 500; }
.btn--quiet:hover { color: var(--gold); }

.btn--sm { height: 36px; padding: 0 14px; font-size: 13px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }

/* ----------------------------------------------------------------- nav --- */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    height: var(--nav-h);
    transition: background .25s, border-color .25s, backdrop-filter .25s;
    border-bottom: 1px solid transparent;
}
.nav.scrolled {
    background: rgba(14, 14, 16, .82);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom-color: rgba(255, 255, 255, .06);
}
.nav-inner {
    height: 100%;
    display: flex;
    align-items: center;
    gap: 28px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    letter-spacing: .02em;
    color: var(--tx);
    flex-shrink: 0;
}
.brand-mark { width: 28px; height: 28px; color: var(--gold); }
.brand b { font-weight: 600; color: var(--gold); }
.brand-small { letter-spacing: .14em; text-transform: uppercase; font-size: 11px; color: var(--tx-3); }

.nav-links { display: flex; align-items: center; gap: 26px; margin-left: 12px; }
.nav-links a {
    color: var(--tx-2);
    font-size: 13.5px;
    transition: color .15s;
}
.nav-links a:hover { color: var(--tx); }

.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }

.nav-burger {
    display: none;
    width: 40px;
    height: 40px;
    border: 1px solid var(--line-2);
    border-radius: var(--r);
    background: transparent;
    color: var(--tx);
    place-items: center;
}
.nav-burger span {
    display: block;
    width: 16px;
    height: 1.5px;
    background: currentColor;
    box-shadow: 0 5px 0 currentColor, 0 -5px 0 currentColor;
}

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

.hero { padding: calc(var(--nav-h) + 84px) 0 96px; position: relative; }
.hero-grid {
    display: grid;
    grid-template-columns: 1.04fr .96fr;
    gap: 64px;
    align-items: center;
}

.hero h1 {
    margin: 20px 0 0;
    font-size: clamp(42px, 5.4vw, 72px);
    line-height: 1.02;
    letter-spacing: -.035em;
    font-weight: 600;
    text-wrap: balance;
}
.hero h1 em {
    font-style: normal;
    color: var(--gold);
    background: linear-gradient(100deg, var(--gold-hi), var(--gold) 60%, #9d7f4c);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero .lead { font-size: 18px; max-width: 54ch; margin-top: 20px; }

.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.hero-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 22px;
    margin-top: 34px;
    color: var(--tx-3);
    font-size: 12.5px;
}
.hero-facts li { display: inline-flex; align-items: center; gap: 8px; }
.hero-facts li::before {
    content: "";
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--gold);
    opacity: .8;
}

.hero-visual { position: relative; }

/* the app window mock ------------------------------------------------ */

.appwin {
    position: relative;
    width: 100%;
    border: 1px solid #2b2b35;
    border-radius: var(--r3);
    background: linear-gradient(180deg, #17171c 0%, #111114 100%);
    box-shadow:
        0 50px 90px -30px rgba(0, 0, 0, .9),
        0 0 0 1px rgba(255, 255, 255, .025) inset;
}
.appwin::before {
    content: "";
    position: absolute;
    inset: -14% -12% -18%;
    z-index: -1;
    background: radial-gradient(closest-side, rgba(201, 169, 110, .18), transparent 72%);
    filter: blur(10px);
    pointer-events: none;
}

.appwin-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 46px;
    padding: 0 14px;
    border-bottom: 1px solid #24242c;
}
.appwin-title { font-size: 12px; font-weight: 600; letter-spacing: .02em; }
.appwin-sub { font-size: 10px; color: var(--tx-3); }

.chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 22px;
    padding: 0 8px;
    border: 1px solid var(--line-2);
    border-radius: 20px;
    font-size: 10px;
    color: var(--tx-2);
    letter-spacing: .03em;
    white-space: nowrap;
}
.chip--gold { border-color: rgba(201, 169, 110, .45); color: var(--gold-hi); background: var(--gold-dim); }
.chip i {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--ok);
    box-shadow: 0 0 6px var(--ok);
}
.chip--gold i { background: var(--gold); box-shadow: 0 0 6px var(--gold); }
.appwin-bar .chip:first-of-type { margin-left: auto; }

.appwin-body { display: grid; grid-template-columns: 112px 1fr; min-height: 300px; }
.appwin-rail {
    border-right: 1px solid #24242c;
    padding: 12px 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.rail-item {
    padding: 7px 9px;
    border-radius: 5px;
    font-size: 10.5px;
    color: var(--tx-3);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.rail-item.active {
    background: var(--gold-dim);
    color: var(--gold-hi);
    box-shadow: inset 0 0 0 1px rgba(201, 169, 110, .32);
}
.rail-item.add { color: var(--gold); opacity: .75; }

.appwin-main { padding: 14px; min-width: 0; }
.mini-rows { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.mini-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    height: 20px;
    padding: 0 7px;
    border: 1px solid #2d2d37;
    border-radius: 4px;
    background: #1a1a20;
    font-family: var(--mono);
    font-size: 9.5px;
    color: var(--tx-2);
}
.mini-chip b { color: var(--gold); font-weight: 600; }

.tiles { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.tile {
    position: relative;
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    border: 1px solid #2c2c36;
    border-radius: 7px;
    background: linear-gradient(150deg, #262631, #191920);
    overflow: hidden;
}
.tile img { width: 54%; opacity: .92; }
.tile--letter {
    font-family: var(--mono);
    font-size: 15px;
    color: var(--tx-3);
    letter-spacing: .06em;
}
.tile--ready {
    border-color: rgba(201, 169, 110, .55);
    box-shadow: 0 0 0 1px rgba(201, 169, 110, .12), 0 0 20px -6px rgba(201, 169, 110, .5);
    animation: tilePulse 4.5s ease-in-out infinite;
}
.tile--ready::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 120%, rgba(201, 169, 110, .16), transparent 70%);
}
.tile--cd::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(8, 8, 10, .62);
    backdrop-filter: blur(.5px);
    z-index: 1;
}
.tile--cd .cd {
    position: relative;
    z-index: 2;
    font-family: var(--mono);
    font-size: 12px;
    color: #d8d2c6;
}

.appwin-foot {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 34px;
    padding: 0 14px;
    border-top: 1px solid #24242c;
    color: var(--tx-3);
    font-size: 10px;
    font-family: var(--mono);
}
.ok-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--ok);
    box-shadow: 0 0 6px rgba(95, 168, 107, .8);
}

.overlay-pill {
    position: absolute;
    left: -20px;
    bottom: 44px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border: 1px solid rgba(201, 169, 110, .42);
    border-radius: 8px;
    background: rgba(20, 20, 25, .95);
    box-shadow: 0 18px 40px -14px rgba(0, 0, 0, .9);
    font-size: 10px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--tx-2);
}
.overlay-pill b {
    font-size: 18px;
    line-height: 1;
    color: var(--gold-hi);
    letter-spacing: 0;
}
.overlay-pill .bars { display: flex; align-items: flex-end; gap: 2px; height: 14px; }
.overlay-pill .bars span {
    width: 3px;
    border-radius: 1px;
    background: var(--gold);
    opacity: .65;
}
.overlay-pill .bars span:nth-child(1) { height: 5px; }
.overlay-pill .bars span:nth-child(2) { height: 9px; }
.overlay-pill .bars span:nth-child(3) { height: 14px; }

@keyframes tilePulse {
    0%, 100% { box-shadow: 0 0 0 1px rgba(201, 169, 110, .12), 0 0 18px -8px rgba(201, 169, 110, .38); }
    50%      { box-shadow: 0 0 0 1px rgba(201, 169, 110, .3),  0 0 24px -4px rgba(201, 169, 110, .55); }
}

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

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

.feature {
    padding: 26px 24px 24px;
    border: 1px solid var(--line);
    border-radius: var(--r2);
    background: linear-gradient(170deg, rgba(255, 255, 255, .022), transparent 40%), var(--panel);
    transition: border-color .2s, transform .2s, background .2s;
}
.feature:hover {
    border-color: rgba(201, 169, 110, .38);
    transform: translateY(-3px);
}
.feature-icon {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(201, 169, 110, .3);
    border-radius: 8px;
    background: var(--gold-dim);
    color: var(--gold);
    margin-bottom: 18px;
}
.feature-icon svg { width: 20px; height: 20px; }
.feature h3 { font-size: 16.5px; font-weight: 600; letter-spacing: -.01em; }
.feature p { margin-top: 9px; color: var(--tx-2); font-size: 14px; line-height: 1.65; }

/* --------------------------------------------------------------- split --- */

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}
.checklist { margin-top: 28px; display: grid; gap: 16px; }
.checklist li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; }
.checklist .tick {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--gold-dim);
    color: var(--gold);
}
.checklist .tick svg { width: 11px; height: 11px; }
.checklist b { display: block; font-size: 14.5px; font-weight: 600; }
.checklist span { color: var(--tx-2); font-size: 13.5px; line-height: 1.55; }

/* routine card ------------------------------------------------------- */

.codecard {
    position: relative;
    border: 1px solid var(--line-2);
    border-radius: var(--r2);
    background: #101014;
    overflow: hidden;
    box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .9);
}
.codecard-head {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 16px;
    border-bottom: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(255, 255, 255, .035), transparent);
}
.codecard-head .fn {
    width: 26px;
    height: 26px;
    display: grid;
    place-items: center;
    border-radius: 6px;
    background: var(--gold-dim);
    border: 1px solid rgba(201, 169, 110, .3);
    color: var(--gold);
    font-size: 12px;
    font-weight: 700;
    font-family: var(--mono);
}
.codecard-head h4 { font-size: 13px; font-weight: 600; }
.codecard-head .chip { margin-left: auto; }

.steps { padding: 14px 10px 16px; font-family: var(--mono); font-size: 12px; }
.steps li {
    display: flex;
    align-items: baseline;
    gap: 10px;
    padding: 7px 10px;
    border-radius: 5px;
    color: var(--tx-2);
}
.steps li:nth-child(odd) { background: rgba(255, 255, 255, .012); }
.steps li.indent { margin-left: 18px; border-left: 1px solid rgba(201, 169, 110, .25); border-radius: 0 5px 5px 0; }
.k {
    flex: 0 0 58px;
    color: var(--gold);
    letter-spacing: .06em;
    font-size: 10.5px;
}
.steps .arg { color: var(--tx); }
.steps .note { margin-left: auto; color: var(--tx-3); font-size: 10.5px; white-space: nowrap; }

/* -------------------------------------------------------------- chores --- */

.chores {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 12px;
    margin-top: 40px;
}
.chore {
    display: grid;
    justify-items: center;
    gap: 10px;
    padding: 20px 8px 16px;
    border: 1px solid var(--line);
    border-radius: var(--r2);
    background: rgba(255, 255, 255, .012);
    text-align: center;
    transition: border-color .2s, background .2s;
}
.chore:hover { border-color: rgba(201, 169, 110, .35); background: rgba(201, 169, 110, .05); }
.chore img { width: 34px; height: 34px; opacity: .92; }
.chore span { font-size: 11px; color: var(--tx-2); line-height: 1.35; }

/* ------------------------------------------------------------- hotkeys --- */

.hotkeys { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: start; }

table.keys { width: 100%; border-collapse: collapse; }
table.keys th {
    text-align: left;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--tx-3);
    padding: 0 12px 10px;
    border-bottom: 1px solid var(--line);
}
table.keys td { padding: 12px; border-bottom: 1px solid rgba(255, 255, 255, .045); font-size: 13.5px; color: var(--tx-2); vertical-align: middle; }
table.keys td:first-child { white-space: nowrap; }
table.keys tr:last-child td { border-bottom: 0; }
table.keys td:last-child { text-align: right; }

kbd {
    display: inline-block;
    padding: 3px 8px;
    border: 1px solid var(--line-2);
    border-bottom-width: 2px;
    border-radius: 5px;
    background: #1c1c22;
    color: var(--tx);
    font-family: var(--mono);
    font-size: 11.5px;
    line-height: 1.5;
    white-space: nowrap;
}

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

.steps3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 52px; counter-reset: step; }
.step { position: relative; padding-top: 30px; border-top: 1px solid var(--line); }
.step::before {
    counter-increment: step;
    content: "0" counter(step);
    position: absolute;
    top: -13px;
    left: 0;
    padding-right: 10px;
    background: var(--bg);
    color: var(--gold);
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: .14em;
}
.step h3 { font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.step p { color: var(--tx-2); font-size: 14px; }

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

.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 48px; align-items: stretch; }

.plan {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 26px 24px;
    border: 1px solid var(--line);
    border-radius: var(--r2);
    background: var(--panel);
}
.plan--featured {
    border-color: rgba(201, 169, 110, .5);
    background:
        radial-gradient(120% 80% at 50% 0%, rgba(201, 169, 110, .12), transparent 60%),
        var(--panel);
    box-shadow: 0 30px 60px -40px rgba(201, 169, 110, .55);
}
.plan-badge {
    position: absolute;
    top: -11px;
    left: 24px;
    padding: 2px 10px;
    border-radius: 20px;
    background: var(--gold);
    color: #17110a;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}
.plan-name { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--tx-2); }
.plan-price { margin-top: 14px; display: flex; align-items: baseline; gap: 6px; }
.plan-price b { font-size: 42px; line-height: 1; font-weight: 600; letter-spacing: -.03em; }
.plan-price span { color: var(--tx-3); font-size: 13px; }
.plan-desc { margin-top: 8px; color: var(--tx-3); font-size: 12.5px; min-height: 34px; }

.plan-list { margin: 22px 0; display: grid; gap: 10px; }
.plan-list li { display: flex; gap: 9px; align-items: flex-start; font-size: 13.5px; color: var(--tx-2); }
.plan-list svg { width: 13px; height: 13px; margin-top: 4px; color: var(--gold); flex: 0 0 auto; }

.plan-assets { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; }
.asset {
    padding: 2px 7px;
    border: 1px solid var(--line-2);
    border-radius: 4px;
    font-family: var(--mono);
    font-size: 9.5px;
    color: var(--tx-3);
    letter-spacing: .04em;
}
.plan .btn { margin-top: auto; }

.pricing-note {
    margin-top: 26px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    justify-content: center;
    color: var(--tx-3);
    font-size: 12px;
}

/* ----------------------------------------------------------------- faq --- */

.faq { max-width: 860px; margin: 44px auto 0; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 4px;
    font-size: 15.5px;
    font-weight: 500;
    cursor: pointer;
    list-style: none;
    color: var(--tx);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: "+";
    flex: 0 0 auto;
    color: var(--gold);
    font-family: var(--mono);
    font-size: 18px;
    line-height: 1;
    transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details[open] summary { color: var(--gold-hi); }
.faq .answer { padding: 0 4px 22px; color: var(--tx-2); font-size: 14.5px; max-width: 72ch; }
.faq .answer p + p { margin-top: 10px; }

/* ------------------------------------------------------------ download --- */

.download {
    position: relative;
    padding: 64px 48px;
    border: 1px solid rgba(201, 169, 110, .28);
    border-radius: var(--r3);
    background:
        radial-gradient(90% 140% at 50% -30%, rgba(201, 169, 110, .16), transparent 60%),
        var(--panel);
    text-align: center;
    overflow: hidden;
}
.download h2 { font-size: clamp(28px, 3vw, 40px); letter-spacing: -.02em; line-height: 1.1; }
.download p { margin: 14px auto 0; max-width: 56ch; color: var(--tx-2); }
.download-cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 30px; }
.download-meta {
    margin-top: 22px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    justify-content: center;
    color: var(--tx-3);
    font-size: 11.5px;
    font-family: var(--mono);
}

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

.footer { padding: 64px 0 40px; border-top: 1px solid var(--line); margin-top: 0; }
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 40px;
}
.footer-brand p { margin-top: 14px; color: var(--tx-3); font-size: 13px; max-width: 34ch; }
.footer h4 {
    font-size: 10.5px;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--tx-3);
    margin-bottom: 16px;
    font-weight: 600;
}
.footer ul { display: grid; gap: 10px; }
.footer a { color: var(--tx-2); font-size: 13.5px; }
.footer a:hover { color: var(--gold); }
.footer-bottom {
    margin-top: 48px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
    display: flex;
    flex-wrap: wrap;
    gap: 10px 24px;
    justify-content: space-between;
    color: var(--tx-3);
    font-size: 11.5px;
}

/* ------------------------------------------------------------- account --- */

.account-page { padding: calc(var(--nav-h) + 64px) 0 96px; }
.account-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 34px; }
.account-head h1 { font-size: clamp(32px, 3.6vw, 46px); letter-spacing: -.025em; line-height: 1.05; }
.account-head p { margin-top: 10px; color: var(--tx-2); font-size: 14.5px; max-width: 60ch; }

.card {
    border: 1px solid var(--line);
    border-radius: var(--r2);
    background: var(--panel);
    padding: 26px;
}
.card + .card { margin-top: 18px; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.card-head h2 { font-size: 18px; font-weight: 600; letter-spacing: -.01em; }
.card-head .small { color: var(--tx-3); }

.auth-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 24px; align-items: start; }

.field { display: grid; gap: 7px; margin-bottom: 16px; }
.field label { font-size: 12px; color: var(--tx-2); letter-spacing: .02em; }
.field .hint { font-size: 11.5px; color: var(--tx-3); }
.input {
    width: 100%;
    height: 44px;
    padding: 0 13px;
    border: 1px solid var(--line-2);
    border-radius: var(--r);
    background: var(--ctl);
    color: var(--tx);
    font-size: 14px;
    transition: border-color .15s, box-shadow .15s;
}
.input::placeholder { color: var(--tx-3); }
.input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-dim); }
.input--code {
    height: 56px;
    font-family: var(--mono);
    font-size: 24px;
    letter-spacing: .58em;
    text-indent: .58em;
    text-align: center;
}

.steps-row { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; color: var(--tx-3); font-size: 11.5px; }
.steps-row .n {
    width: 20px; height: 20px;
    display: grid; place-items: center;
    border-radius: 50%;
    border: 1px solid var(--line-2);
    font-family: var(--mono);
    font-size: 10px;
}
.steps-row .n.on { border-color: var(--gold); color: var(--gold); background: var(--gold-dim); }
.steps-row .sep { flex: 1; height: 1px; background: var(--line); }

.alert {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 11px 13px;
    border: 1px solid var(--line-2);
    border-radius: var(--r);
    background: var(--panel-2);
    font-size: 13px;
    line-height: 1.5;
    color: var(--tx-2);
    margin-bottom: 16px;
}
.alert--ok  { border-color: rgba(95, 168, 107, .45); background: rgba(95, 168, 107, .08); color: #b9d7bd; }
.alert--dan { border-color: rgba(196, 83, 77, .45);  background: rgba(196, 83, 77, .08);  color: #e3b4b1; }
.alert--warn{ border-color: rgba(201, 163, 94, .45); background: rgba(201, 163, 94, .08); color: #e0cda6; }
.alert[hidden] { display: none; }

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 22px;
    padding: 0 9px;
    border-radius: 20px;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    border: 1px solid var(--line-2);
    color: var(--tx-2);
    white-space: nowrap;
}
.badge--ok   { border-color: rgba(95, 168, 107, .5); color: #8ecb98; background: rgba(95, 168, 107, .1); }
.badge--warn { border-color: rgba(201, 163, 94, .5); color: #d8bb84; background: rgba(201, 163, 94, .1); }
.badge--dan  { border-color: rgba(196, 83, 77, .5);  color: #dd8b86; background: rgba(196, 83, 77, .1); }
.badge--gold { border-color: rgba(201, 169, 110, .5); color: var(--gold-hi); background: var(--gold-dim); }

.acct-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 20px;
}
.acct-id { display: flex; align-items: center; gap: 14px; min-width: 0; }
.avatar {
    width: 44px; height: 44px;
    flex: 0 0 auto;
    display: grid; place-items: center;
    border-radius: 10px;
    border: 1px solid rgba(201, 169, 110, .35);
    background: var(--gold-dim);
    color: var(--gold);
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
}
.acct-id .email { font-size: 15px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; }
.acct-id .sub { font-size: 11.5px; color: var(--tx-3); font-family: var(--mono); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }

.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.stat {
    padding: 15px 16px;
    border: 1px solid var(--line);
    border-radius: var(--r);
    background: var(--panel-2);
}
.stat .k { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--tx-3); }
.stat .v { margin-top: 7px; font-size: 20px; font-weight: 600; letter-spacing: -.02em; line-height: 1.25; overflow-wrap: anywhere; }
.stat .v small { font-size: 11.5px; color: var(--tx-3); font-weight: 400; letter-spacing: 0; margin-left: 3px; }

.tabs { display: flex; gap: 2px; border-bottom: 1px solid var(--line); margin: 26px 0 22px; overflow-x: auto; }
.tab {
    position: relative;
    padding: 11px 14px;
    border: 0;
    background: transparent;
    color: var(--tx-2);
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
}
.tab:hover { color: var(--tx); }
.tab[aria-selected="true"] { color: var(--gold-hi); }
.tab[aria-selected="true"]::after {
    content: "";
    position: absolute;
    left: 10px; right: 10px; bottom: -1px;
    height: 2px;
    background: var(--gold);
}
.panel[hidden] { display: none; }

.plan-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.plan-mini {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: var(--r);
    background: var(--panel-2);
    text-align: left;
    transition: border-color .15s, background .15s;
}
.plan-mini:hover { border-color: rgba(201, 169, 110, .4); }
.plan-mini[aria-pressed="true"] { border-color: var(--gold); background: var(--gold-dim); }
.plan-mini .n { font-size: 12.5px; font-weight: 600; }
.plan-mini .d { font-size: 11px; color: var(--tx-3); }
.plan-mini .p { margin-top: 6px; font-size: 18px; font-weight: 600; color: var(--gold-hi); }

.invoice {
    margin-top: 18px;
    border: 1px solid rgba(201, 169, 110, .4);
    border-radius: var(--r2);
    background:
        radial-gradient(100% 120% at 0% 0%, rgba(201, 169, 110, .1), transparent 55%),
        var(--panel-2);
    padding: 22px;
}
.invoice[hidden] { display: none; }
.invoice-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.invoice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.invoice-grid .k { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--tx-3); margin-bottom: 5px; }
.invoice-grid .v { font-size: 14px; font-weight: 600; }
.addr {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 14px;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: var(--r);
    background: #101014;
}
.addr code { flex: 1; font-family: var(--mono); font-size: 11.5px; word-break: break-all; color: var(--tx-2); }
.invoice-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.countdown { font-family: var(--mono); color: var(--gold-hi); }

table.data { width: 100%; border-collapse: collapse; font-size: 13px; }
table.data th {
    text-align: left;
    padding: 8px 10px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--tx-3);
    border-bottom: 1px solid var(--line);
    white-space: nowrap;
}
table.data td { padding: 11px 10px; border-bottom: 1px solid rgba(255, 255, 255, .04); color: var(--tx-2); }
table.data td:first-child { color: var(--tx); }
table.data tr:last-child td { border-bottom: 0; }
table.data .num { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.table-wrap { overflow-x: auto; margin: 0 -6px; padding: 0 6px; }
.empty { padding: 26px 0; text-align: center; color: var(--tx-3); font-size: 13px; }

.device { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .045); }
.device:last-child { border-bottom: 0; }
.device-ico {
    width: 34px; height: 34px; flex: 0 0 auto;
    display: grid; place-items: center;
    border: 1px solid var(--line-2);
    border-radius: 7px;
    color: var(--tx-2);
}
.device .name { font-size: 13.5px; font-weight: 500; }
.device .meta { font-size: 11px; color: var(--tx-3); font-family: var(--mono); }
.device .btn { margin-left: auto; }

.promo-row { display: flex; gap: 10px; max-width: 460px; }
.promo-row .input { flex: 1; }

/* demo banner -------------------------------------------------------- */

.demo-banner {
    position: relative;
    z-index: 5;
    margin-top: 0;
    border-bottom: 1px solid rgba(201, 163, 94, .3);
    background: rgba(201, 163, 94, .08);
    color: #d8c39a;
    font-size: 12.5px;
    padding: 9px 0;
}
/* the banner sits in normal flow, so it has to start below the fixed nav */
body.has-demo .demo-banner { margin-top: var(--nav-h); }
.demo-banner .container { display: flex; align-items: center; gap: 10px; }
.demo-banner b { color: var(--gold-hi); }
.demo-banner[hidden] { display: none; }

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

.legal { padding: calc(var(--nav-h) + 64px) 0 96px; }
.legal-body { max-width: 760px; }
.legal-body h1 { font-size: clamp(30px, 3.4vw, 40px); letter-spacing: -.02em; margin-bottom: 8px; }
.legal-body h2 { margin: 38px 0 12px; font-size: 19px; font-weight: 600; letter-spacing: -.01em; }
.legal-body p, .legal-body li { color: var(--tx-2); font-size: 14.5px; line-height: 1.7; }
.legal-body p + p { margin-top: 12px; }
.legal-body ul { margin: 12px 0 0; display: grid; gap: 8px; padding-left: 20px; list-style: disc; }
.legal-body .updated { color: var(--tx-3); font-size: 12px; font-family: var(--mono); }

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

.page-hero { padding: calc(var(--nav-h) + 72px) 0 24px; }
.page-hero h1 {
    margin-top: 16px;
    font-size: clamp(34px, 4.4vw, 54px);
    line-height: 1.05;
    letter-spacing: -.03em;
    font-weight: 600;
    text-wrap: balance;
}
.page-hero p {
    margin-top: 18px;
    max-width: 62ch;
    color: var(--tx-2);
    font-size: 17px;
}
.page-hero--center { text-align: center; }
.page-hero--center p { margin-inline: auto; }
.page-hero--center .eyebrow::before { display: none; }

/* -------------------------------------------------------------- compare --- */

.compare-wrap {
    margin-top: 48px;
    border: 1px solid var(--line);
    border-radius: var(--r2);
    background: var(--panel);
    overflow-x: auto;
}
table.compare { width: 100%; min-width: 660px; border-collapse: collapse; font-size: 14px; }
.compare th, .compare td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; }
.compare thead th {
    font-size: 11px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--tx-2);
    font-weight: 600;
    vertical-align: bottom;
}
.compare thead th.is-featured { color: var(--gold-hi); background: rgba(201, 169, 110, .05); }
.compare td { color: var(--tx-2); }
.compare td.is-featured { color: var(--tx); background: rgba(201, 169, 110, .05); }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare-label { width: 38%; color: var(--tx-3); font-weight: 500; font-size: 13px; }

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

.support-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px; }
.support-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 26px 24px;
    border: 1px solid var(--line);
    border-radius: var(--r2);
    background: var(--panel);
}
.support-card--primary { border-color: rgba(201, 169, 110, .45); background: radial-gradient(120% 90% at 50% 0%, rgba(201, 169, 110, .1), transparent 60%), var(--panel); }
.support-card h3 { font-size: 17px; font-weight: 600; }
.support-card p { color: var(--tx-2); font-size: 14px; line-height: 1.6; }
.support-card .meta { font-size: 12px; color: var(--tx-3); }
.support-card .btn { margin-top: auto; }
.support-card .btn + .btn { margin-top: 8px; }

/* ------------------------------------------------------------ download --- */

.download-card {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 40px;
    align-items: center;
    padding: 36px;
    border: 1px solid rgba(201, 169, 110, .35);
    border-radius: var(--r3);
    background:
        radial-gradient(90% 120% at 10% -10%, rgba(201, 169, 110, .12), transparent 55%),
        var(--panel);
}
.download-card h2 { font-size: clamp(26px, 3vw, 36px); letter-spacing: -.02em; line-height: 1.15; }
.download-card p { margin-top: 12px; color: var(--tx-2); font-size: 14.5px; }
.download-card .btn { margin-top: 22px; }
.download-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.download-actions .btn { margin-top: 22px; }

.kv { display: grid; gap: 12px; font-size: 12px; }
.kv-row { display: grid; grid-template-columns: 110px 1fr; gap: 10px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.kv-row:last-child { border-bottom: 0; padding-bottom: 0; }
.kv-row dt { color: var(--tx-3); letter-spacing: .04em; text-transform: uppercase; font-size: 10px; padding-top: 2px; }
.kv-row dd { margin: 0; font-family: var(--mono); color: var(--tx-2); word-break: break-all; }
.kv-row dd b { color: var(--tx); font-weight: 600; }

.howto { counter-reset: howto; display: grid; gap: 18px; margin-top: 30px; }
.howto li { position: relative; padding-left: 46px; color: var(--tx-2); font-size: 14px; line-height: 1.6; }
.howto li::before {
    counter-increment: howto;
    content: counter(howto);
    position: absolute;
    left: 0;
    top: -1px;
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(201, 169, 110, .4);
    border-radius: 50%;
    background: var(--gold-dim);
    color: var(--gold);
    font-family: var(--mono);
    font-size: 12px;
}
.howto b { display: block; color: var(--tx); font-weight: 600; margin-bottom: 2px; }

/* ------------------------------------------------------------- releases --- */

.release { padding: 20px 0; border-bottom: 1px solid var(--line); }
.release:last-child { border-bottom: 0; }
.release-head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 10px; }
.release-ver { font-family: var(--mono); font-size: 14px; color: var(--gold); }
.release-date { font-size: 12px; color: var(--tx-3); }
.release ul { display: grid; gap: 6px; padding-left: 18px; list-style: disc; color: var(--tx-2); font-size: 13.5px; line-height: 1.55; }

#release-notes { display: grid; gap: 9px; }
#release-notes li { position: relative; padding-left: 16px; color: var(--tx-2); font-size: 13.5px; line-height: 1.55; }
#release-notes li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .62em;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--gold);
}

/* --------------------------------------------------------------- notice --- */

.notice {
    display: flex;
    gap: 10px;
    padding: 12px 14px;
    border: 1px solid var(--line-2);
    border-radius: var(--r);
    background: var(--panel-2);
    color: var(--tx-2);
    font-size: 13px;
    line-height: 1.55;
}
.notice--gold { border-color: rgba(201, 169, 110, .35); background: var(--gold-dim); color: #d9c7a2; }
.notice strong { color: var(--tx); }

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

.legal-nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 10px; }
.legal-nav a {
    padding: 6px 12px;
    border: 1px solid var(--line);
    border-radius: 20px;
    font-size: 12px;
    color: var(--tx-2);
    transition: color .15s, border-color .15s;
}
.legal-nav a:hover { color: var(--gold); border-color: rgba(201, 169, 110, .4); }

/* ---------------------------------------------------------- manual order --- */

.manual {
    margin-top: 18px;
    padding: 20px;
    border: 1px solid rgba(201, 169, 110, .3);
    border-radius: var(--r2);
    background: var(--panel-2);
}
.manual-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.manual-head h3 { font-size: 15px; font-weight: 600; }
.manual-plan { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.manual-plan:last-of-type { border-bottom: 0; }
.manual-plan span { color: var(--tx-2); }
.manual-plan b { color: var(--tx); }
.manual .addr { margin-top: 12px; }
.manual-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.manual-actions .btn { flex: 0 1 auto; }

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

.error-page { min-height: 78vh; display: grid; place-items: center; text-align: center; padding: calc(var(--nav-h) + 48px) 0 64px; }
.error-code { font-family: var(--mono); font-size: 12px; letter-spacing: .3em; color: var(--gold); }
.error-page h1 { margin-top: 14px; font-size: clamp(38px, 7vw, 76px); line-height: 1; letter-spacing: -.04em; }
.error-page p { margin: 18px auto 0; max-width: 46ch; color: var(--tx-2); }
.error-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 30px; }

/* ----------------------------------------------------------- utilities --- */

.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .65s ease, transform .65s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* An attribute is not a display rule: author `display` beats the UA sheet, so
   every [hidden] element needs this to actually disappear. */
[hidden] { display: none !important; }

.hidden { display: none !important; }

.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-40 { margin-top: 40px; }
.mt-48 { margin-top: 48px; }
.mt-56 { margin-top: 56px; }
.sr-only {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

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

@media (max-width: 1080px) {
    .hero-grid { grid-template-columns: 1fr; gap: 56px; }
    .hero-visual { max-width: 620px; }
    .split { grid-template-columns: 1fr; gap: 44px; }
    .hotkeys { grid-template-columns: 1fr; gap: 36px; }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .pricing-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }
    .chores { grid-template-columns: repeat(4, 1fr); }
    .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
    .auth-grid { grid-template-columns: 1fr; }
    .stat-grid { grid-template-columns: repeat(2, 1fr); }
    .plan-row { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
    .section { padding: 76px 0; }
    .nav-links { display: none; }
    .nav-burger { display: grid; }
    .nav.open .nav-links {
        display: flex;
        position: absolute;
        top: var(--nav-h);
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
        padding: 14px 24px 22px;
        background: rgba(14, 14, 16, .98);
        border-bottom: 1px solid var(--line);
    }
    .nav.open .nav-links a { padding: 9px 0; font-size: 15px; width: 100%; }
    .nav-actions .btn--ghost { display: none; }
    .grid-3, .grid-2 { grid-template-columns: 1fr; }
    .pricing-grid { grid-template-columns: 1fr; }
    .steps3 { grid-template-columns: 1fr; gap: 34px; }
    .chores { grid-template-columns: repeat(3, 1fr); }
    .support-grid { grid-template-columns: 1fr; }
    .download-card { grid-template-columns: 1fr; gap: 28px; padding: 28px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .download { padding: 48px 24px; }
    .invoice-grid { grid-template-columns: 1fr; gap: 12px; }
    .account-head { margin-bottom: 26px; }
    .stat-grid { grid-template-columns: 1fr 1fr; }
    .tiles { grid-template-columns: repeat(5, 1fr); gap: 6px; }
    .appwin-body { grid-template-columns: 96px 1fr; }
}

@media (max-width: 560px) {
    .container { width: calc(100% - 32px); }
    .hero { padding-top: calc(var(--nav-h) + 52px); }
    .hero h1 { font-size: clamp(34px, 10vw, 46px); }
    .hero .lead { font-size: 16px; }
    .hero-cta .btn { flex: 1 1 100%; }
    .chores { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .stat-grid { grid-template-columns: 1fr; }
    .plan-price b { font-size: 36px; }
    .overlay-pill { left: 8px; bottom: 30px; }
    .appwin-rail { display: none; }
    .appwin-body { grid-template-columns: 1fr; }
    .card { padding: 20px; }
    .account-page { padding-top: calc(var(--nav-h) + 44px); }
    .promo-row { flex-direction: column; }
    .nav-actions .btn--quiet { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
    }
    .js .reveal { opacity: 1; transform: none; }
}
