/* ===========================================================
   2-DAY-CEO — FUNNEL FLOW STYLES
   Shared across the native checkout flow:
     /free-book/checkout/           step 2  — details + card + audio bump
     /free-book/coaching-call/      step 3  — $197 upsell
     /free-book/coaching-call/intake/ step 3A — intake questions
     /free-book/ksp/                step 4  — KSP upsell
     /free-book/confirmation/       step 5  — order confirmation

   Tokens lifted from the 2-Day-CEO landing page so the whole
   flow reads as one continuous experience.
   =========================================================== */

:root {
    --red: #e41e24;
    --red-bright: #f23842;
    --red-dark: #b81720;
    --ink: #0c0d10;
    --ink-soft: #161a1f;
    --paper: #f6f3ee;
    --line: rgba(0, 0, 0, 0.10);
    --line-light: rgba(255, 255, 255, 0.10);
    --text: #1a1d21;
    --text-muted: rgba(26, 29, 33, 0.62);
    --green: #1f9d57;
    --green-bright: #4ade80;
    --shadow: 0 22px 50px rgba(0, 0, 0, 0.12);
    --radius: 14px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

/* The UA rule for [hidden] is display:none at the lowest specificity, so
   any class that sets display (.r-row, .totals .row, .opt-list …) silently
   beats it and the element stays on screen. Several rows in this flow are
   toggled by the hidden attribute, so make it win outright. */
[hidden] { display: none !important; }

body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    background: var(--paper);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

.container { max-width: 760px; margin: 0 auto; padding: 0 24px; }

/* -----------------------------------------------------------
   Trust bar + header
   ----------------------------------------------------------- */
.trust-bar {
    background: var(--ink);
    color: #fff;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.02em;
    padding: 10px 16px;
}
.trust-bar span { opacity: 0.85; }
.trust-bar .dot { color: var(--red-bright); margin: 0 8px; }

.checkout-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1080px;
    margin: 0 auto;
    padding: 18px 24px;
}
.checkout-header img { height: 34px; width: auto; }
/* No logo in the bar — keep the secure badge on the right where it was. */
.checkout-header-bare { justify-content: flex-end; }

.secure-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--green);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.secure-pill svg { width: 15px; height: 15px; }

/* -----------------------------------------------------------
   Demo-mode ribbon — only visible when no Stripe key is wired.
   Removed automatically once /api/config returns a key.
   ----------------------------------------------------------- */
.demo-flag {
    background: #2b2f36;
    color: #ffd479;
    text-align: center;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 7px 16px;
}
.demo-flag[hidden] { display: none; }

/* -----------------------------------------------------------
   Buttons
   ----------------------------------------------------------- */
.btn-primary {
    display: block;
    width: 100%;
    text-align: center;
    background: linear-gradient(180deg, var(--red-bright), var(--red-dark));
    color: #fff;
    border: 0;
    font-family: inherit;
    font-size: 17px;
    font-weight: 800;
    letter-spacing: 0.01em;
    padding: 17px;
    border-radius: 11px;
    cursor: pointer;
    box-shadow: 0 12px 24px rgba(228, 30, 36, 0.35);
    text-decoration: none;
    transition: transform 0.15s ease, opacity 0.15s ease;
}
.btn-primary:hover:not(:disabled) { transform: translateY(-2px); }
.btn-primary:disabled { opacity: 0.55; cursor: not-allowed; box-shadow: none; }

.btn-inline {
    display: inline-block;
    width: auto;
    padding: 19px 44px;
    font-size: 19px;
    border-radius: 12px;
    box-shadow: 0 16px 34px rgba(228, 30, 36, 0.4);
}

.btn-decline {
    display: block;
    width: 100%;
    background: none;
    border: 0;
    font-family: inherit;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text-muted);
    text-decoration: underline;
    text-underline-offset: 3px;
    padding: 16px;
    margin-top: 6px;
    cursor: pointer;
}
.btn-decline:hover { color: var(--text); }
.btn-decline.on-dark { color: rgba(255, 255, 255, 0.5); }
.btn-decline.on-dark:hover { color: #fff; }

/* Declining has to be an obvious exit to the book, not a link to hunt for.
   Still clearly secondary to the primary CTA, just no longer a whisper. */
.btn-decline.is-prominent {
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    max-width: 340px;
    margin: 14px auto 0;
    padding: 14px 20px;
    border: 1.5px solid rgba(255, 255, 255, 0.28);
    border-radius: 10px;
    transition: border-color 0.15s ease, background 0.15s ease;
}
.btn-decline.is-prominent.on-dark { color: rgba(255, 255, 255, 0.78); }
.btn-decline.is-prominent:hover {
    border-color: rgba(255, 255, 255, 0.55);
    background: rgba(255, 255, 255, 0.06);
}

/* -----------------------------------------------------------
   Form primitives
   ----------------------------------------------------------- */
.form-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 28px;
    margin-bottom: 22px;
}
.form-card h2 { font-size: 18px; font-weight: 800; margin-bottom: 4px; }

.form-card .step {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px; height: 24px;
    border-radius: 50%;
    background: var(--ink);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    margin-right: 10px;
}

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { margin-top: 16px; }
.field label {
    display: block;
    font-size: 12.5px;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--text);
}
.field input,
.field select,
.field textarea {
    width: 100%;
    font-family: inherit;
    font-size: 15px;
    padding: 13px 14px;
    border: 1.5px solid var(--line);
    border-radius: 10px;
    background: #fbfaf8;
    color: var(--text);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--red);
    background: #fff;
}
.field input::placeholder,
.field textarea::placeholder { color: rgba(26, 29, 33, 0.38); }
.field input[aria-invalid="true"] { border-color: var(--red); background: #fff6f0; }
.field-note { font-size: 12px; color: var(--text-muted); margin-top: 14px; }

/* Fixed "United States" country: the book ships to US addresses only
   (Will Stratman, 2026-10-20). Read-only, so it looks settled, not editable. */
.field input[readonly] { background: #f1eee9; color: var(--text-muted); cursor: default; }
.ships-us-only { margin-top: 8px; font-weight: 600; }

/* Optional SMS consent next to the optional phone (Will Stratman, 2026-10-20) */
.sms-consent {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin: 10px 0 0;
    font-size: 12px;
    line-height: 1.5;
    color: var(--text-muted);
    cursor: pointer;
}
.sms-consent input[type="checkbox"] {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    margin-top: 1px;
    accent-color: var(--red);
    cursor: pointer;
}
.sms-consent a { color: inherit; text-decoration: underline; }
.field-error {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--red-dark);
    margin-top: 10px;
}
.field-error[hidden] { display: none; }

/* Stripe Payment Element mounts here; the mock card row stands in until it
   does. Collapse it while empty so review mode shows no dead space. */
#payment-element { margin-top: 16px; min-height: 44px; }
#payment-element:empty { margin-top: 0; min-height: 0; }

.card-mock {
    display: flex; align-items: center; gap: 10px;
    margin-top: 16px;
    border: 1.5px solid var(--line);
    border-radius: 10px;
    background: #fbfaf8;
    padding: 13px 14px;
    font-size: 15px;
    color: rgba(26, 29, 33, 0.45);
}
.card-mock[hidden] { display: none; }
.card-mock .brands { margin-left: auto; display: flex; gap: 6px; }
.card-mock .brands span {
    font-size: 10px; font-weight: 800; letter-spacing: 0.04em;
    background: #e9e5de; color: #6b6e73; padding: 3px 6px; border-radius: 4px;
}

/* -----------------------------------------------------------
   Order bump
   ----------------------------------------------------------- */
.order-bump {
    border: 2.5px dashed var(--red);
    background: #fff6f0;
    border-radius: var(--radius);
    padding: 20px 20px 20px 18px;
    margin-bottom: 22px;
    position: relative;
}
.order-bump-flag {
    position: absolute;
    top: -12px; left: 18px;
    background: var(--red);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 4px 11px;
    border-radius: 20px;
}
.order-bump-inner { display: flex; gap: 14px; align-items: flex-start; }
.order-bump input[type="checkbox"] {
    width: 22px; height: 22px;
    accent-color: var(--red);
    margin-top: 2px;
    flex-shrink: 0;
    cursor: pointer;
}
.order-bump h3 { font-size: 16px; font-weight: 800; margin-bottom: 5px; line-height: 1.3; }
.order-bump h3 .bump-price { color: var(--red); white-space: nowrap; }
.order-bump p { font-size: 13.5px; color: var(--text-muted); }

/* -----------------------------------------------------------
   Order summary rail
   ----------------------------------------------------------- */
.checkout-wrap {
    max-width: 1080px;
    margin: 0 auto;
    padding: 8px 24px 64px;
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 40px;
    align-items: start;
}
.col-heading {
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--red);
    margin-bottom: 14px;
}

.summary-card {
    background: var(--ink);
    color: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 26px 24px;
    position: sticky;
    top: 16px;
}
.summary-card .col-heading { color: var(--red-bright); }

.line-item {
    display: flex;
    gap: 14px;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid var(--line-light);
}
.line-item img { width: 54px; border-radius: 6px; }
.line-item .li-body { flex: 1; }
.line-item .li-name { font-size: 14px; font-weight: 700; }
.line-item .li-sub { font-size: 12px; color: rgba(255, 255, 255, 0.55); }
.line-item .li-price { font-size: 14px; font-weight: 800; white-space: nowrap; }
.li-price .strike { color: rgba(255, 255, 255, 0.4); text-decoration: line-through; font-weight: 600; margin-right: 6px; }
.li-free { color: var(--green-bright); }
.li-bump-row { opacity: 0.55; transition: opacity 0.2s ease; }
.li-bump-row.is-on { opacity: 1; }

.totals { padding-top: 14px; }
.totals .row {
    display: flex; justify-content: space-between;
    font-size: 13.5px; color: rgba(255, 255, 255, 0.72);
    padding: 5px 0;
}
.totals .row.grand {
    font-size: 20px;
    font-weight: 800;
    color: #fff;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    margin-top: 8px;
    padding-top: 14px;
}
.pay-sub {
    text-align: center;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.55);
    margin-top: 12px;
}
.pay-sub .lock { color: var(--green-bright); }
.summary-card .btn-primary { margin-top: 18px; }

/* -----------------------------------------------------------
   Proof blocks (checkout left column)
   ----------------------------------------------------------- */
.proof-block { margin-top: 4px; }
.proof-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 22px;
}
.proof-stat {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 16px 12px;
    text-align: center;
}
.proof-stat .num { font-size: 24px; font-weight: 900; color: var(--red); line-height: 1; }
.proof-stat .lbl { font-size: 11px; font-weight: 600; color: var(--text-muted); margin-top: 6px; }

.guarantee-row {
    display: flex; gap: 16px; align-items: center;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 18px;
    margin-bottom: 18px;
}
.guarantee-seal {
    flex-shrink: 0;
    width: 58px; height: 58px;
    border-radius: 50%;
    background: var(--ink);
    color: #fff;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    line-height: 1;
}
.guarantee-seal .g-num { font-size: 19px; font-weight: 900; }
.guarantee-seal .g-lbl { font-size: 7.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; margin-top: 2px; }
.guarantee-row p { font-size: 13px; color: var(--text-muted); }
.guarantee-row strong { color: var(--text); }

.press { text-align: center; padding: 6px 0 0; }
.press .press-lbl {
    font-size: 11px; font-weight: 700; letter-spacing: 0.08em;
    text-transform: uppercase; color: var(--text-muted); margin-bottom: 10px;
}
.press img { height: 26px; width: auto; margin: 0 auto; opacity: 0.8; }

/* -----------------------------------------------------------
   Dark offer band — shared by the $197 and KSP upsell pages
   ----------------------------------------------------------- */
.band-dark {
    background: var(--ink);
    color: #fff;
    padding: 46px 0 56px;
    position: relative;
}
.band-dark::before {
    content: "";
    position: absolute; top: -1px; left: 0; right: 0; height: 6px;
    background: linear-gradient(90deg, var(--red-dark), var(--red-bright), var(--red-dark));
}
.band-eyebrow {
    text-align: center;
    font-size: 12px; font-weight: 800; letter-spacing: 0.12em;
    text-transform: uppercase; color: var(--red-bright);
    margin-bottom: 14px;
}
.band-dark h1,
.band-dark h2 {
    text-align: center;
    font-size: clamp(25px, 4.8vw, 36px);
    font-weight: 900;
    line-height: 1.16;
    letter-spacing: -0.01em;
    margin-bottom: 14px;
}
.band-dark .hl {
    color: var(--red-bright);
    border-bottom: 3px solid var(--red);
    padding-bottom: 1px;
}
.band-dark .sub {
    text-align: center;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.72);
    max-width: 580px;
    margin: 0 auto 26px;
}

.offer-row { text-align: center; }
.price-tag { display: inline-flex; align-items: baseline; gap: 10px; margin-bottom: 18px; }
.price-tag .only {
    font-size: 14px; font-weight: 700; color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase; letter-spacing: 0.06em;
}
.price-tag .amt { font-size: 46px; font-weight: 900; color: #fff; line-height: 1; }
.price-tag .per { font-size: 14px; color: rgba(255, 255, 255, 0.55); }
.cta-sub { margin-top: 14px; font-size: 13px; color: rgba(255, 255, 255, 0.55); }
.cta-sub .dot { margin: 0 7px; color: var(--red-bright); }

.mini-proof {
    display: flex; justify-content: center; flex-wrap: wrap; gap: 22px;
    margin-top: 30px;
    padding-top: 26px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.mini-proof .item { text-align: center; }
.mini-proof .num { font-size: 22px; font-weight: 900; color: var(--red-bright); line-height: 1; }
.mini-proof .lbl { font-size: 11px; color: rgba(255, 255, 255, 0.55); margin-top: 5px; }

/* Card grid used on both upsell pages */
.value-grid {
    max-width: 720px;
    margin: 40px auto 0;
    padding-top: 36px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.value-grid-title {
    text-align: center;
    font-size: 13px; font-weight: 800; letter-spacing: 0.1em;
    text-transform: uppercase; color: rgba(255, 255, 255, 0.6);
    margin-bottom: 22px;
}
.value-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.value-card {
    background: #fff;
    border-radius: 10px;
    border-left: 4px solid var(--red);
    padding: 22px 22px 22px 20px;
    display: flex;
    gap: 13px;
    align-items: flex-start;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.32);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.value-card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4); }
.value-card .wa-arrow { flex-shrink: 0; font-size: 20px; font-weight: 900; color: var(--red); line-height: 1.35; }
.value-card p { font-size: 14.5px; line-height: 1.55; color: #2a2d31; margin: 0; }
.value-card strong { color: var(--ink); font-weight: 800; }

.vsl-wrap {
    max-width: 680px;
    margin: 0 auto 26px;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 26px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* -----------------------------------------------------------
   Confirmation band
   ----------------------------------------------------------- */
.confirm { text-align: center; padding: 40px 0 44px; }
.confirm .logo { height: 40px; width: auto; margin: 0 auto 28px; }
.check {
    width: 66px; height: 66px;
    border-radius: 50%;
    background: var(--green);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 12px 30px rgba(31, 157, 87, 0.35);
}
.check svg { width: 34px; height: 34px; stroke: #fff; }
.confirm .eyebrow {
    font-size: 12px; font-weight: 800; letter-spacing: 0.12em;
    text-transform: uppercase; color: var(--green); margin-bottom: 10px;
}
.confirm h1 {
    font-size: clamp(26px, 5vw, 38px);
    font-weight: 900;
    line-height: 1.12;
    letter-spacing: -0.01em;
    margin-bottom: 14px;
}
.confirm p.lede {
    font-size: 16px;
    color: rgba(26, 29, 33, 0.7);
    max-width: 540px;
    margin: 0 auto;
}
.ship-pill {
    display: inline-flex; align-items: center; gap: 9px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 40px;
    padding: 9px 18px;
    font-size: 13.5px; font-weight: 700;
    margin-top: 20px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.06);
}
.ship-pill .truck { color: var(--red); }
.ship-pill span.days { color: var(--red); }

/* Receipt table on the confirmation page */
.receipt {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 24px 26px;
    margin: 32px auto 0;
    max-width: 520px;
    text-align: left;
}
.receipt h2 {
    font-size: 12px; font-weight: 800; letter-spacing: 0.12em;
    text-transform: uppercase; color: var(--red); margin-bottom: 16px;
}
.receipt .r-row {
    display: flex; justify-content: space-between; gap: 16px;
    font-size: 14px;
    padding: 9px 0;
    border-bottom: 1px solid var(--line);
}
.receipt .r-row:last-of-type { border-bottom: 0; }
.receipt .r-row .r-name { font-weight: 600; }
.receipt .r-row .r-amt { font-weight: 800; white-space: nowrap; }
.receipt .r-total {
    display: flex; justify-content: space-between;
    font-size: 17px; font-weight: 900;
    border-top: 2px solid var(--ink);
    margin-top: 8px;
    padding-top: 14px;
}
.receipt .r-ship {
    font-size: 12.5px;
    color: var(--text-muted);
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
}
.receipt .r-ship strong { color: var(--text); display: block; margin-bottom: 3px; }

/* Booked-call callout */
.booked-callout {
    background: #eefaf2;
    border: 1px solid rgba(31, 157, 87, 0.3);
    border-left: 4px solid var(--green);
    border-radius: 12px;
    padding: 20px 22px;
    margin: 26px auto 0;
    max-width: 520px;
    text-align: left;
}
.booked-callout[hidden] { display: none; }
.booked-callout h3 { font-size: 15px; font-weight: 800; margin-bottom: 6px; }
.booked-callout p { font-size: 13.5px; color: var(--text-muted); }

/* -----------------------------------------------------------
   Intake questionnaire
   ----------------------------------------------------------- */
.intake-wrap { max-width: 640px; margin: 0 auto; padding: 12px 24px 70px; }

.progress-shell {
    height: 6px;
    background: rgba(0, 0, 0, 0.08);
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 10px;
}
.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--red-dark), var(--red-bright));
    border-radius: 20px;
    width: 0;
    transition: width 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}
.progress-label {
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 26px;
}

.q-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 34px 32px;
}
.q-card[hidden] { display: none; }
.q-card h2 {
    font-size: clamp(20px, 3.4vw, 25px);
    font-weight: 900;
    line-height: 1.24;
    letter-spacing: -0.01em;
    margin-bottom: 8px;
}
.q-card .q-help { font-size: 14px; color: var(--text-muted); margin-bottom: 22px; }

.opt-list { display: flex; flex-direction: column; gap: 10px; }
.opt {
    position: relative;
    display: flex;
    align-items: center;
    gap: 13px;
    border: 1.5px solid var(--line);
    border-radius: 11px;
    background: #fbfaf8;
    padding: 16px 18px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease, transform 0.12s ease;
}
/* The radio stays in the DOM and focusable so the group is keyboard
   navigable. It is the input's `change` event that drives selection,
   never a click on the label, which would fire twice. */
.opt input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
    margin: 0;
    pointer-events: none;
}
.opt:hover { border-color: rgba(228, 30, 36, 0.5); background: #fff; }
.opt:focus-within {
    border-color: var(--red);
    box-shadow: 0 0 0 3px rgba(228, 30, 36, 0.18);
}
.opt.is-selected {
    border-color: var(--red);
    background: #fff6f0;
    transform: translateX(2px);
}
.opt .opt-dot {
    flex-shrink: 0;
    width: 20px; height: 20px;
    border-radius: 50%;
    border: 2px solid rgba(0, 0, 0, 0.22);
    position: relative;
}
.opt.is-selected .opt-dot { border-color: var(--red); }
.opt.is-selected .opt-dot::after {
    content: "";
    position: absolute; inset: 3px;
    border-radius: 50%;
    background: var(--red);
}
.opt .opt-sub {
    display: block;
    font-size: 12.5px;
    font-weight: 500;
    color: var(--text-muted);
    margin-top: 2px;
}

.q-nav { display: flex; align-items: center; gap: 14px; margin-top: 24px; }
.q-nav .btn-primary { width: auto; flex: 1; }
.q-back {
    background: none; border: 0;
    font-family: inherit; font-size: 13.5px; font-weight: 700;
    color: var(--text-muted);
    cursor: pointer;
    padding: 10px 4px;
}
.q-back:hover { color: var(--text); }
.q-back[hidden] { display: none; }

/* -----------------------------------------------------------
   Footer
   ----------------------------------------------------------- */
footer {
    text-align: center;
    padding: 26px 24px;
    font-size: 12px;
    color: rgba(26, 29, 33, 0.5);
}

/* -----------------------------------------------------------
   Mobile
   ----------------------------------------------------------- */
@media (max-width: 880px) {
    .checkout-wrap { grid-template-columns: 1fr; gap: 26px; }
    /* The grid child is the <aside>, not .summary-card, so the reorder has
       to land on the aside or the summary drops below the whole form. */
    .checkout-wrap > aside { order: -1; }
    .summary-card { position: static; }
    .proof-stats { gap: 8px; }
    .proof-stat .num { font-size: 20px; }
    .field-row { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
    .confirm { padding: 30px 0 32px; }
    .band-dark { padding: 36px 0 44px; }
    .btn-inline { display: block; width: 100%; padding: 18px; }
    .value-cards { grid-template-columns: 1fr; }
    .q-card { padding: 26px 22px; }
}
