/* =====================================================================
   On Top of Subs: "The Ledger"
   Warm paper / receipt aesthetic for a subscription tracker + canceller.
   ===================================================================== */

:root {
    /* Paper + ink */
    --paper:        #FBF7EC;
    --paper-2:      #F4EEDD;
    --card:         #FFFDF7;
    --ink:          #181712;
    --ink-soft:     #4A463C;
    --ink-faint:    #8A8472;
    --rule:         #E4DCC6;
    --rule-strong:  #CFC4A6;

    /* Brand accents */
    --emerald:      #3b82f6;   /* primary accent (blue), pops on light */
    --emerald-br:   #60a5fa;   /* brighter accent for use on dark surfaces */
    --emerald-tint: #E8EFFB;
    --navy:         #0a1029;   /* deep navy, dark surfaces */
    --coral:        #DA3F2E;   /* cancel / stop / unwanted */
    --coral-tint:   #FBE7E2;
    --amber:        #C9821A;   /* renewals / warnings */

    /* Type */
    --display: "Bricolage Grotesque", Georgia, serif;
    --body:    "Hanken Grotesk", system-ui, sans-serif;
    --mono:    "Space Mono", ui-monospace, monospace;

    /* Geometry */
    --maxw: 1140px;
    --radius: 18px;
    --radius-sm: 11px;
    --shadow: 0 1px 2px rgba(24,23,18,.05), 0 12px 30px -12px rgba(24,23,18,.18);
    --shadow-lg: 0 2px 4px rgba(24,23,18,.06), 0 30px 60px -24px rgba(24,23,18,.30);
}

/* ----------------------------------------------------------------- reset */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--body);
    background: var(--paper);
    color: var(--ink);
    line-height: 1.55;
    font-size: 17px;
    letter-spacing: -0.005em;
    overflow-x: hidden;
    /* faint paper grain */
    background-image:
        radial-gradient(rgba(24,23,18,.018) 1px, transparent 1px);
    background-size: 4px 4px;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

/* --------------------------------------------------------------- layout */
.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }
.section { padding-block: clamp(64px, 9vw, 120px); }
.eyebrow {
    font-family: var(--mono);
    font-size: .74rem;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--emerald);
    display: inline-flex;
    align-items: center;
    gap: 9px;
}
.eyebrow::before {
    content: "";
    width: 22px; height: 1px;
    background: currentColor;
    display: inline-block;
}

h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: 1.02; letter-spacing: -0.025em; }
h2 { font-size: clamp(2rem, 4.4vw, 3.1rem); }
h3 { font-size: 1.32rem; letter-spacing: -0.02em; }
.lede { font-size: clamp(1.05rem, 1.7vw, 1.28rem); color: var(--ink-soft); }

/* --------------------------------------------------------------- buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    padding: 14px 24px;
    border-radius: 999px;
    border: 1.5px solid transparent;
    font-weight: 600;
    font-size: .98rem;
    letter-spacing: -0.01em;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s;
    white-space: nowrap;
}
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -10px rgba(24,23,18,.5); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--rule-strong); }
.btn-ghost:hover { background: var(--card); border-color: var(--ink); transform: translateY(-2px); }
.btn-coral { background: var(--coral); color: #fff; }
.btn-coral:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -10px rgba(218,63,46,.6); }

/* store badges */
.stores { display: flex; gap: 12px; flex-wrap: wrap; }
.store {
    display: inline-flex; align-items: center; gap: 11px;
    padding: 11px 20px 11px 18px;
    background: var(--ink); color: var(--paper);
    border-radius: 13px;
    transition: transform .18s ease, box-shadow .18s ease;
}
.store:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.store svg { width: 24px; height: 24px; flex: none; }
.store .s-sm { font-size: .62rem; letter-spacing: .04em; opacity: .72; display: block; line-height: 1.2; }
.store .s-lg { font-size: 1.04rem; font-weight: 700; font-family: var(--display); line-height: 1.1; }

/* --------------------------------------------------------------- header */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(251,247,236,.82);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    transition: border-color .2s, box-shadow .2s;
}
.site-header.scrolled { border-bottom-color: var(--rule); box-shadow: 0 6px 20px -16px rgba(24,23,18,.5); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 70px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 800; font-size: 1.18rem; letter-spacing: -0.03em; }
.brand .mark {
    width: 30px; height: 30px; border-radius: 9px;
    flex: none; overflow: hidden;
    box-shadow: 0 1px 2px rgba(24,23,18,.18), inset 0 0 0 1px rgba(255,255,255,.08);
}
.brand .mark img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-links a { font-size: .95rem; color: var(--ink-soft); font-weight: 500; transition: color .15s; }
.nav-links a:hover { color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.menu-btn { display: none; background: none; border: none; padding: 8px; }
.menu-btn svg { width: 26px; height: 26px; }

/* --------------------------------------------------------------- hero */
.hero { position: relative; padding-top: clamp(48px, 7vw, 86px); padding-bottom: clamp(56px, 8vw, 100px); }
.hero::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background:
        radial-gradient(900px 460px at 78% -8%, var(--emerald-tint), transparent 60%),
        radial-gradient(700px 420px at 6% 20%, rgba(218,63,46,.06), transparent 55%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-grid > * { min-width: 0; }
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.5rem); }
.hero h1 .hl { color: var(--emerald); position: relative; }
.hero p.lede { margin-top: 22px; max-width: 30ch; }
.hero-actions { margin-top: 30px; display: flex; flex-direction: column; gap: 16px; }
.hero-meta { display: flex; align-items: center; gap: 18px; margin-top: 24px; flex-wrap: wrap; font-size: .9rem; color: var(--ink-faint); }
.hero-meta .rating { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-soft); font-weight: 500; }
.stars { color: var(--amber); letter-spacing: 2px; }

/* reveal-on-load stagger */
.reveal { opacity: 0; transform: translateY(16px); animation: reveal .7s cubic-bezier(.2,.7,.2,1) forwards; }
@keyframes reveal { to { opacity: 1; transform: none; } }

/* --------------------------------------------------------- receipt mockup */
.receipt-stage { position: relative; display: grid; place-items: center; }
.receipt {
    position: relative;
    width: min(370px, 100%);
    background: var(--card);
    border-radius: 6px;
    box-shadow: var(--shadow-lg);
    padding: 26px 26px 0;
    font-family: var(--mono);
    rotate: 1.4deg;
    transition: rotate .4s ease;
}
.receipt:hover { rotate: 0deg; }
/* torn perforated top + bottom */
.receipt::before, .receipt::after {
    content: ""; position: absolute; left: 0; right: 0; height: 12px;
    background:
        radial-gradient(circle at 6px -3px, transparent 6px, var(--card) 6.5px) repeat-x;
    background-size: 16px 12px;
}
.receipt::before { top: -11px; transform: scaleY(-1); }
.receipt::after { bottom: -11px; }
.r-head { text-align: center; padding-bottom: 16px; border-bottom: 2px dashed var(--rule-strong); }
.r-logo { font-family: var(--display); font-weight: 800; font-size: 1.2rem; letter-spacing: -0.02em; }
.r-sub { font-size: .68rem; color: var(--ink-faint); letter-spacing: .12em; margin-top: 4px; }
.r-list { padding: 6px 0; }
.r-row { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 10px; padding: 11px 0; border-bottom: 1px dotted var(--rule); font-size: .82rem; }
.r-name { color: var(--ink); }
.r-name b { font-family: var(--display); font-size: .92rem; display: block; letter-spacing: -0.01em; }
.r-name span { font-size: .66rem; color: var(--ink-faint); }
.r-price { color: var(--ink-soft); font-weight: 700; }
.tag {
    font-size: .58rem; padding: 4px 8px; border-radius: 6px; letter-spacing: .06em;
    text-transform: uppercase; font-weight: 700; white-space: nowrap;
}
.tag.unused { background: var(--coral-tint); color: var(--coral); }
.tag.hidden { background: #F2ECDB; color: var(--amber); }
.tag.cancel {
    background: var(--coral); color: #fff; border: none;
    cursor: pointer; transition: filter .15s, transform .15s;
}
.tag.cancel:hover { filter: brightness(1.08); transform: scale(1.05); }
.r-row.cancelled { opacity: .4; }
.r-row.cancelled .r-name b { text-decoration: line-through; }
.r-total { display: flex; justify-content: space-between; align-items: baseline; padding: 16px 0; border-top: 2px solid var(--ink); margin-top: 4px; }
.r-total .lbl { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.r-total .amt { font-family: var(--display); font-weight: 800; font-size: 1.7rem; color: var(--emerald); transition: color .3s; }
.r-foot { text-align: center; font-size: .62rem; color: var(--ink-faint); padding: 14px 0 24px; letter-spacing: .08em; }
.r-foot .barcode {
    height: 34px; margin: 0 auto 10px; width: 70%;
    background: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 4px, var(--ink) 4px 5px, transparent 5px 9px);
}
/* floating savings sticker */
.savings-sticker {
    position: absolute; top: -22px; right: -14px; z-index: 3;
    background: var(--emerald); color: #fff;
    font-family: var(--display); font-weight: 800;
    width: 96px; height: 96px; border-radius: 50%;
    display: grid; place-content: center; text-align: center;
    rotate: 8deg; box-shadow: var(--shadow);
    line-height: 1.05;
}
.savings-sticker .big { font-size: 1.5rem; }
.savings-sticker .sm { font-size: .56rem; font-family: var(--mono); letter-spacing: .08em; opacity: .9; margin-top: 2px; }

/* --------------------------------------------------------- logo / proof strip */
.proof { border-block: 1px solid var(--rule); background: var(--paper-2); }
.proof .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-block: 22px; }
.proof p { font-size: .82rem; color: var(--ink-faint); font-family: var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.proof .stat-row { display: flex; gap: clamp(20px, 4vw, 52px); flex-wrap: wrap; }
.proof .stat b { font-family: var(--display); font-size: 1.45rem; display: block; }
.proof .stat span { font-size: .8rem; color: var(--ink-soft); }
.proof .stat b.green { color: var(--emerald); }
.proof .stat b.coral { color: var(--coral); }

/* --------------------------------------------------------- pain section */
.pain { text-align: center; }
.pain .wrap { max-width: 760px; }
.pain h2 { font-size: clamp(2.2rem, 5.5vw, 3.8rem); }
.pain h2 em { font-style: normal; color: var(--coral); }
.pain .lede { margin: 24px auto 0; max-width: 56ch; }
.quote-marks { font-family: var(--display); font-size: 4rem; color: var(--rule-strong); line-height: .4; }

/* --------------------------------------------------------- features */
.feat-head { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: end; margin-bottom: 48px; }
.feat-head .lede { max-width: 42ch; }
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feat-card {
    background: var(--card);
    border: 1px solid var(--rule);
    border-radius: var(--radius);
    padding: 30px 28px 32px;
    position: relative;
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s;
}
.feat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--rule-strong); }
.feat-card .ic {
    width: 50px; height: 50px; border-radius: 13px;
    display: grid; place-items: center; margin-bottom: 20px;
}
.feat-card .ic svg { width: 26px; height: 26px; }
.feat-card .ic.find { background: var(--emerald-tint); color: var(--emerald); }
.feat-card .ic.track { background: #F2ECDB; color: var(--amber); }
.feat-card .ic.cancel { background: var(--coral-tint); color: var(--coral); }
.feat-card h3 { margin-bottom: 10px; }
.feat-card p { color: var(--ink-soft); font-size: .98rem; }
.feat-card .tags { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 7px; }
.feat-card .chip { font-size: .72rem; font-family: var(--mono); padding: 5px 10px; border-radius: 7px; background: var(--paper-2); color: var(--ink-soft); }
.feat-num { position: absolute; top: 18px; right: 22px; font-family: var(--mono); font-size: .76rem; color: var(--ink-faint); }

/* --------------------------------------------------------- how it works */
.how { background: var(--navy); color: var(--paper); border-radius: clamp(20px, 3vw, 36px); }
.how .wrap { max-width: 1180px; }
.how .eyebrow { color: var(--emerald-br); }
.how h2 { color: var(--paper); }
.how-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 50px; }
.how-step { padding: 30px 28px; position: relative; }
.how-step:not(:last-child)::after {
    content: ""; position: absolute; right: 0; top: 28px; bottom: 28px; width: 1px;
    background: repeating-linear-gradient(transparent 0 5px, rgba(251,247,236,.22) 5px 10px);
}
.how-step .n {
    font-family: var(--mono); font-size: .8rem; color: var(--emerald-br);
    border: 1px solid rgba(31,184,119,.4); border-radius: 999px;
    width: 38px; height: 38px; display: grid; place-items: center; margin-bottom: 22px;
}
.how-step h3 { color: var(--paper); margin-bottom: 10px; }
.how-step p { color: rgba(251,247,236,.66); font-size: .96rem; }

/* --------------------------------------------------------- cancel spotlight */
.spotlight .wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.spotlight .eyebrow { color: var(--coral); }
.spotlight h2 em { font-style: normal; color: var(--coral); }
.spotlight ul { list-style: none; margin-top: 26px; display: grid; gap: 14px; }
.spotlight li { display: flex; gap: 13px; align-items: flex-start; font-size: 1.02rem; }
.spotlight li svg { width: 22px; height: 22px; color: var(--emerald); flex: none; margin-top: 2px; }
/* one-tap demo card */
.tap-demo {
    background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius);
    box-shadow: var(--shadow); padding: 28px; max-width: 420px; margin-inline: auto; width: 100%;
}
.tap-demo .td-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.tap-demo .td-head b { font-family: var(--display); font-size: 1.1rem; }
.tap-demo .td-head .pill { font-family: var(--mono); font-size: .68rem; background: var(--coral-tint); color: var(--coral); padding: 5px 11px; border-radius: 999px; }
.tap-item { display: flex; align-items: center; gap: 14px; padding: 15px; border: 1px solid var(--rule); border-radius: var(--radius-sm); margin-bottom: 12px; }
.tap-item .av { width: 40px; height: 40px; border-radius: 11px; flex: none; display: grid; place-items: center; font-family: var(--display); font-weight: 800; color: #fff; }
.tap-item .meta { flex: 1; min-width: 0; }
.tap-item .meta b { display: block; font-size: .98rem; }
.tap-item .meta span { font-size: .8rem; color: var(--ink-faint); font-family: var(--mono); }
.tap-cancel {
    border: 1.5px solid var(--coral); color: var(--coral); background: transparent;
    padding: 9px 16px; border-radius: 999px; font-weight: 600; font-size: .85rem;
    transition: all .18s;
}
.tap-cancel:hover { background: var(--coral); color: #fff; }
.tap-cancel.done { background: var(--emerald); border-color: var(--emerald); color: #fff; pointer-events: none; }

/* --------------------------------------------------------- pricing */
.pricing { background: var(--paper-2); }
.price-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 820px; margin: 50px auto 0; }
.price-card {
    background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius);
    padding: 34px 32px; position: relative;
}
.price-card.featured { border: 2px solid var(--ink); box-shadow: var(--shadow-lg); }
.price-card .badge {
    position: absolute; top: -13px; left: 32px;
    background: var(--emerald); color: #fff; font-family: var(--mono);
    font-size: .68rem; letter-spacing: .08em; text-transform: uppercase;
    padding: 6px 13px; border-radius: 999px;
}
.price-card .pname { font-family: var(--display); font-weight: 800; font-size: 1.3rem; }
.price-card .pdesc { color: var(--ink-soft); font-size: .92rem; margin-top: 4px; }
.price-card .amt { font-family: var(--display); font-weight: 800; font-size: 2.8rem; margin: 22px 0 4px; letter-spacing: -0.03em; }
.price-card .amt small { font-size: .9rem; font-weight: 600; color: var(--ink-faint); font-family: var(--mono); }
.price-card .once { font-family: var(--mono); font-size: .76rem; color: var(--emerald); }
.price-card ul { list-style: none; margin: 24px 0 28px; display: grid; gap: 12px; }
.price-card li { display: flex; gap: 11px; font-size: .95rem; color: var(--ink-soft); }
.price-card li svg { width: 19px; height: 19px; color: var(--emerald); flex: none; margin-top: 3px; }
.price-card li.muted { color: var(--ink-faint); }
.price-card li.muted svg { color: var(--ink-faint); }
.price-card .btn { width: 100%; }

/* --------------------------------------------------------- FAQ */
.faq .wrap { max-width: 820px; }
.faq-list { margin-top: 44px; border-top: 1px solid var(--rule); }
.faq-item { border-bottom: 1px solid var(--rule); }
.faq-q {
    width: 100%; text-align: left; background: none; border: none;
    padding: 24px 8px 24px 0; display: flex; justify-content: space-between; gap: 20px;
    align-items: center; font-family: var(--display); font-weight: 700; font-size: 1.12rem;
    color: var(--ink); letter-spacing: -0.01em;
}
.faq-q .pm { flex: none; width: 26px; height: 26px; position: relative; transition: transform .25s; }
.faq-q .pm::before, .faq-q .pm::after {
    content: ""; position: absolute; background: var(--emerald); border-radius: 2px;
    left: 50%; top: 50%; transform: translate(-50%,-50%);
}
.faq-q .pm::before { width: 15px; height: 2.5px; }
.faq-q .pm::after { width: 2.5px; height: 15px; transition: transform .25s; }
.faq-item.open .pm::after { transform: translate(-50%,-50%) scaleY(0); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a p { padding: 0 40px 24px 0; color: var(--ink-soft); }
.faq-a a { color: var(--emerald); text-decoration: underline; text-underline-offset: 2px; }

/* --------------------------------------------------------- final CTA */
.cta-band { text-align: center; }
.cta-card {
    background: var(--emerald);
    color: #fff;
    border-radius: clamp(20px, 3vw, 34px);
    padding: clamp(48px, 7vw, 84px) 28px;
    position: relative; overflow: hidden;
}
.cta-card::before {
    content: ""; position: absolute; inset: 0;
    background: radial-gradient(600px 300px at 50% -20%, rgba(255,255,255,.18), transparent 70%);
}
.cta-card h2 { color: #fff; position: relative; max-width: 16ch; margin-inline: auto; }
.cta-card p { color: rgba(255,255,255,.85); margin: 18px auto 30px; max-width: 46ch; position: relative; font-size: 1.1rem; }
.cta-card .stores { justify-content: center; position: relative; }
.cta-card .store { background: var(--ink); }

/* --------------------------------------------------------- footer */
.site-footer { background: var(--navy); color: rgba(251,247,236,.7); padding-block: 64px 40px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.site-footer .brand { color: var(--paper); margin-bottom: 14px; }
.site-footer .brand .mark { background: var(--emerald-br); }
.footer-about { font-size: .92rem; max-width: 32ch; }
.footer-col h4 { font-family: var(--mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--emerald-br); margin-bottom: 16px; }
.footer-col a { display: block; padding: 6px 0; font-size: .94rem; transition: color .15s; }
.footer-col a:hover { color: var(--paper); }
.footer-bottom {
    border-top: 1px solid rgba(251,247,236,.12); margin-top: 48px; padding-top: 24px;
    display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
    font-size: .82rem; color: rgba(251,247,236,.5);
}

/* --------------------------------------------------------- legal pages */
.legal { max-width: 760px; padding-block: clamp(48px, 6vw, 80px); }
.legal h1 { font-size: clamp(2rem, 4.5vw, 3rem); }
.legal .updated { font-family: var(--mono); font-size: .8rem; color: var(--ink-faint); margin-top: 12px; }
.legal h2 { font-size: 1.4rem; margin-top: 40px; }
.legal h3 { margin-top: 26px; }
.legal p, .legal li { color: var(--ink-soft); margin-top: 14px; }
.legal ul { margin-top: 14px; padding-left: 22px; }
.legal li { margin-top: 8px; }
.legal a { color: var(--emerald); text-decoration: underline; text-underline-offset: 2px; }

/* --------------------------------------------------------- mobile nav */
.mobile-nav {
    position: fixed; inset: 70px 0 auto 0; z-index: 49;
    background: var(--paper); border-bottom: 1px solid var(--rule);
    padding: 16px 24px 24px; display: none; flex-direction: column; gap: 4px;
    box-shadow: var(--shadow);
}
.mobile-nav.open { display: flex; }
.mobile-nav a { padding: 12px 0; font-size: 1.05rem; font-weight: 500; border-bottom: 1px solid var(--rule); }
.mobile-nav .btn { margin-top: 14px; }

/* --------------------------------------------------------- responsive */
@media (max-width: 980px) {
    .hero-grid { grid-template-columns: 1fr; gap: 48px; }
    .hero p.lede { max-width: 46ch; }
    .receipt-stage { order: 2; }
    .feat-grid { grid-template-columns: 1fr; }
    .how-steps { grid-template-columns: 1fr; gap: 0; }
    .how-step:not(:last-child)::after { display: none; }
    .how-step { border-bottom: 1px solid rgba(251,247,236,.14); }
    .spotlight .wrap { grid-template-columns: 1fr; }
    .feat-head { grid-template-columns: 1fr; gap: 14px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 720px) {
    .nav-links, .nav-cta .btn { display: none; }
    .menu-btn { display: block; }
    .price-grid { grid-template-columns: 1fr; }
    .proof .wrap { justify-content: center; text-align: center; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    body { font-size: 16px; }
}
@media (max-width: 480px) {
    .footer-grid { grid-template-columns: 1fr; }
}

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

/* =====================================================================
   Article / content pages (guides, comparisons, blog)
   ===================================================================== */
.article { max-width: 760px; padding-block: clamp(40px, 5vw, 72px); }
.crumbs { font-family: var(--mono); font-size: .76rem; color: var(--ink-faint); display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 26px; }
.crumbs a { color: var(--ink-soft); }
.crumbs a:hover { color: var(--emerald); }
.crumbs span { color: var(--rule-strong); }
.article h1 { font-size: clamp(2rem, 4.6vw, 3rem); line-height: 1.04; }
.article .updated { font-family: var(--mono); font-size: .78rem; color: var(--ink-faint); margin-top: 14px; display: flex; gap: 10px; flex-wrap: wrap; }
.article .lede { margin-top: 22px; }
.prose p { font-size: 1.06rem; color: var(--ink-soft); margin-top: 18px; }
.prose h2 { font-size: 1.6rem; margin-top: 48px; letter-spacing: -0.02em; }
.prose h3 { font-size: 1.16rem; margin-top: 28px; }
.prose a { color: var(--emerald); text-decoration: underline; text-underline-offset: 2px; }
.prose ul { margin-top: 16px; padding-left: 22px; }
.prose ul li { margin-top: 9px; color: var(--ink-soft); }
.prose b, .prose strong { color: var(--ink); }

/* numbered steps */
.steps { list-style: none; counter-reset: step; display: grid; gap: 12px; margin-top: 22px; padding-left: 0; }
.steps li { counter-increment: step; position: relative; padding: 15px 18px 15px 62px; background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius-sm); color: var(--ink-soft); }
.steps li::before { content: counter(step); position: absolute; left: 16px; top: 14px; width: 32px; height: 32px; border-radius: 9px; background: var(--emerald); color: #fff; font-family: var(--display); font-weight: 800; display: grid; place-items: center; font-size: 1rem; }
.steps li b { color: var(--ink); }

/* callouts */
.callout { margin-top: 24px; border-radius: var(--radius-sm); padding: 16px 18px; border: 1px solid var(--rule); display: flex; gap: 13px; font-size: .99rem; color: var(--ink-soft); }
.callout svg { flex: none; width: 22px; height: 22px; margin-top: 1px; }
.callout b { color: var(--ink); }
.callout.tip { background: var(--emerald-tint); border-color: #cfe1fb; }
.callout.tip svg { color: var(--emerald); }
.callout.warn { background: var(--coral-tint); border-color: #f3cfc8; }
.callout.warn svg { color: var(--coral); }

/* table of contents */
.toc { margin-top: 28px; background: var(--paper-2); border: 1px solid var(--rule); border-radius: var(--radius-sm); padding: 18px 22px; }
.toc p { font-family: var(--mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 8px; }
.toc a { display: block; padding: 5px 0; color: var(--ink-soft); font-size: .96rem; }
.toc a:hover { color: var(--emerald); }

/* inline CTA module (drops into article body) */
.cta-inline { margin-block: 40px; background: var(--navy); color: var(--paper); border-radius: var(--radius); padding: clamp(24px, 4vw, 34px); }
.cta-inline .eyebrow { color: var(--emerald-br); }
.cta-inline h3 { color: var(--paper); margin: 12px 0 8px; font-size: 1.35rem; }
.cta-inline p { color: rgba(251,247,236,.74); margin-bottom: 20px; font-size: 1rem; }
.cta-inline .stores .store { background: var(--ink); color: var(--paper); text-decoration: none; box-shadow: inset 0 0 0 1px rgba(251,247,236,.14); }

/* related links grid */
.related { margin-top: 50px; padding-top: 36px; border-top: 1px solid var(--rule); }
.related h2 { font-size: 1.3rem; }
.related-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 20px; }
.related-grid a { display: block; padding: 18px 20px; border: 1px solid var(--rule); border-radius: var(--radius-sm); background: var(--card); color: var(--ink); text-decoration: none; transition: transform .2s, border-color .2s; }
.related-grid a:hover { transform: translateY(-3px); border-color: var(--rule-strong); }
.related-grid b { font-family: var(--display); font-size: 1rem; }
.related-grid span { display: block; font-size: .88rem; color: var(--ink-faint); margin-top: 4px; }
@media (max-width: 640px) { .related-grid { grid-template-columns: 1fr; } }
