/* Ad Machine checkout. Same tokens as sales-page.html: Manrope, near-black paper, forest-green panels,
   coral button, one lime sale colour. Two columns on desktop, one on phones, 16px gutters, no horizontal scroll. */
:root {
  --paper: #0B100E; --paper-2: #0F1714; --panel: #19372F; --panel-2: #1F443A; --surface: #121C18;
  --ink: #F3F2EA; --ink-soft: #D8DCD3; --muted: #9AA79F; --line: #27352F;
  --accent: #F08A5D; --accent-ink: #14100D; --sale: #D7FF4F; --sale-ink: #0B100E;
  --pass: #6BD39A; --fix: #E9B64B; --kill: #F07A7A;
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
  --radius: 14px; --btn-radius: 9px; color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.6; font-weight: 500; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; }
[hidden] { display: none !important; }
a { color: var(--accent); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
p { margin: 0; }
h1, h2, h3 { font-weight: 650; letter-spacing: -0.03em; line-height: 1.08; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(30px, 4.6vw, 48px); letter-spacing: -0.04em; }
h2 { font-size: 20px; }
.wrap { max-width: 1140px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.eyebrow { font-size: 11px; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 18px; height: 2px; background: var(--accent); border-radius: 2px; flex: none; }
.lede { font-size: 18px; color: var(--ink-soft); max-width: 60ch; }
.muted { color: var(--muted); }
.fine { font-size: 13px; color: var(--muted); }
.mono { font-family: var(--mono); font-size: 0.92em; }

/* Top bar */
.topbar { padding-block: 18px; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; border-bottom: 1px solid var(--line); }
.wordmark { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; letter-spacing: -0.02em; color: var(--ink); text-decoration: none; }
.wordmark i { width: 28px; height: 28px; border-radius: 8px; background: var(--accent); display: inline-grid; place-items: center; font-style: normal; color: var(--accent-ink); font-weight: 800; font-size: 13px; }
.topbar .steps { display: flex; gap: 8px; align-items: center; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.topbar .steps b { color: var(--ink); }
.topbar .steps span::after { content: "\203A"; margin-left: 8px; color: var(--line); }
.topbar .steps span:last-child::after { content: ""; }
.topbar .lock { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; color: var(--muted); }
.topbar .lock svg { width: 14px; height: 14px; }
@media (max-width: 560px) { .topbar .steps { display: none; } }

/* Layout */
.co { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 48px; padding-block: 40px 80px; align-items: start; }
.co > * { min-width: 0; }
.left { display: grid; gap: 28px; }
.right { position: sticky; top: 16px; display: grid; gap: 14px; }
@media (max-width: 900px) {
  .co { grid-template-columns: 1fr; gap: 28px; padding-block: 20px 56px; }
  .right { position: static; order: -1; }
  .left { gap: 22px; }
}

/* Left column */
.block { display: grid; gap: 12px; }
.block h2 { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.block h2 small { font-size: 12px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 15.5px; color: var(--ink-soft); }
.checks li { padding-left: 26px; position: relative; }
.checks li::before { content: "\2713"; position: absolute; left: 0; top: 0; color: var(--pass); font-weight: 800; }
.checks li.star::before { content: "\2605"; color: var(--sale); }
.checks li.plus::before { content: "+"; color: var(--accent); }
.checks code { font-family: var(--mono); font-size: 13px; color: var(--accent); overflow-wrap: anywhere; }
.includes { font-size: 12px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }
.ships { display: grid; gap: 10px; }
.ships div { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; font-size: 14.5px; color: var(--ink-soft); }
.ships div i { font-style: normal; width: 34px; height: 34px; border-radius: 9px; background: var(--panel); color: var(--sale); display: grid; place-items: center; font-weight: 800; font-size: 12px; letter-spacing: 0.04em; }
.ships b { color: var(--ink); display: block; }
.guarantee { border: 1px solid var(--line); border-left: 3px solid var(--sale); border-radius: 12px; padding: 16px 18px; background: var(--surface); font-size: 15.5px; color: var(--ink-soft); }
.guarantee strong { color: var(--ink); }
.help { font-size: 14.5px; color: var(--ink-soft); }
.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
@media (max-width: 560px) { .trust { grid-template-columns: 1fr; } }
.trust a { display: grid; gap: 4px; text-decoration: none; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 14px; font-size: 14px; transition: border-color .15s ease; }
.trust a:hover { border-color: var(--accent); }
.trust a b { font-size: 13px; letter-spacing: -0.01em; }
.trust a span { color: var(--muted); font-size: 12.5px; }
.trust a em { font-style: normal; font-size: 10.5px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
details { border-bottom: 1px solid var(--line); padding-block: 14px; }
details:first-of-type { border-top: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 700; font-size: 16px; letter-spacing: -0.01em; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--accent); font-weight: 700; flex: none; }
details[open] summary::after { content: "\2212"; }
details p { margin-top: 8px; font-size: 15px; color: var(--ink-soft); }
.sig { font-size: 15px; color: var(--ink-soft); display: grid; gap: 4px; }
.sig b { color: var(--ink); }

/* Right column: the order box */
.order { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 22px; display: grid; gap: 16px; }
@media (max-width: 480px) { .order { padding: 16px; } }
.order .tier { font-size: 11px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); display: flex; justify-content: space-between; gap: 8px; align-items: center; }
.tag { font-size: 11px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; padding: 4px 8px; border-radius: 999px; display: inline-block; }
.tag.sale { background: var(--sale); color: var(--sale-ink); }
.price { font-weight: 800; letter-spacing: -0.05em; font-size: 52px; line-height: 1; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.price .was { font-size: 20px; font-weight: 600; color: var(--muted); letter-spacing: -0.02em; text-decoration: line-through; text-decoration-color: var(--kill); text-decoration-thickness: 2px; }
.price small { font-size: 13px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
/* Price ladder: real live-order count, shown under the price. */
.ladder { font-size: 13px; color: var(--ink-soft); background: rgba(215,255,79,.07); border: 1px solid rgba(215,255,79,.28); border-radius: 9px; padding: 8px 11px; margin: 4px 0 0; line-height: 1.45; }
.ladder b { color: var(--sale); }
.order h3 { font-size: 22px; letter-spacing: -0.025em; }

.bump { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; border: 1.5px dashed var(--accent); border-radius: 12px; padding: 14px; background: color-mix(in srgb, var(--accent) 7%, transparent); cursor: pointer; }
.bump input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--accent); cursor: pointer; }
.bump b { display: block; font-size: 15px; color: var(--ink); line-height: 1.4; }
.bump .b-desc { display: block; font-size: 13.5px; color: var(--ink-soft); margin-top: 4px; }
.bump .b-price { color: var(--accent); font-weight: 800; white-space: nowrap; }

.pay-form { display: grid; gap: 12px; }
.field { display: grid; gap: 6px; font-size: 12.5px; font-weight: 700; color: var(--muted); }
.field input, .field select { font-family: var(--font); font-size: 15px; color: var(--ink); background: var(--paper-2); border: 1px solid var(--line); border-radius: 8px; padding: 12px 12px; width: 100%; min-height: 46px; }
.field select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 18px) 20px, calc(100% - 13px) 20px; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
.field input::placeholder { color: #6E7B74; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 420px) { .two { grid-template-columns: 1fr; } }
#payment-element { min-height: 60px; }
.pe-wait { display: grid; gap: 8px; }
.pe-wait i { display: block; height: 44px; border-radius: 8px; background: linear-gradient(90deg, var(--paper-2), var(--line), var(--paper-2)); background-size: 200% 100%; animation: shimmer 1.4s linear infinite; }
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }
.total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; border-top: 1px solid var(--line); padding-top: 12px; font-size: 15px; color: var(--ink-soft); }
.total b { font-size: 22px; letter-spacing: -0.03em; color: var(--ink); }
.btn { display: inline-flex; align-items: center; gap: 10px; justify-content: center; font-family: var(--font); font-weight: 750; font-size: 16px; text-decoration: none; cursor: pointer; width: 100%;
  background: var(--accent); color: var(--accent-ink); border: 1px solid transparent; border-radius: var(--btn-radius); padding: 16px 22px; transition: transform .15s ease, opacity .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn.sale { background: var(--sale); color: var(--sale-ink); }
.btn .spin { width: 16px; height: 16px; border: 2px solid rgba(20,16,13,.3); border-top-color: var(--accent-ink); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.after { display: grid; gap: 6px; text-align: center; }
.after .inbox { font-size: 14px; color: var(--ink-soft); }
.secure { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-size: 12.5px; font-weight: 700; color: var(--muted); }
.secure svg { width: 14px; height: 14px; }
.msg { font-size: 14px; border-radius: 8px; padding: 10px 12px; border: 1px solid var(--line); background: var(--paper-2); color: var(--ink-soft); }
.msg.err { border-color: var(--kill); color: var(--kill); }
.msg.ok { border-color: var(--pass); color: var(--pass); }
.notice { font-family: var(--mono); font-size: 12.5px; border: 1px dashed var(--accent); color: var(--ink); padding: 10px 12px; border-radius: 6px; }
.success { display: grid; gap: 12px; text-align: left; }
.success .big { font-size: 26px; font-weight: 800; letter-spacing: -0.03em; }
.success ol { margin: 0; padding-left: 20px; display: grid; gap: 6px; font-size: 15px; color: var(--ink-soft); }
.legal-mini { font-size: 12px; color: var(--muted); text-align: center; }
.legal-mini a { color: var(--muted); }

/* Footer */
footer.site { border-top: 1px solid var(--line); padding-block: 28px 44px; font-size: 12.5px; color: var(--muted); display: grid; gap: 8px; }
footer.site nav { display: flex; gap: 16px; flex-wrap: wrap; }
footer.site nav a { color: var(--ink-soft); text-decoration: none; font-weight: 600; }
footer.site nav a:hover { color: var(--ink); }

/* Legal pages and simple pages */
.doc { max-width: 760px; padding-block: 40px 80px; display: grid; gap: 18px; }
.doc h1 { font-size: clamp(30px, 4vw, 42px); }
.doc h2 { font-size: 20px; margin-top: 18px; }
.doc p, .doc li { color: var(--ink-soft); font-size: 16px; max-width: 70ch; }
.doc ul, .doc ol { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.doc .meta { font-size: 13px; color: var(--muted); }
.doc table { border-collapse: collapse; width: 100%; font-size: 14.5px; }
.doc td, .doc th { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--ink-soft); }
.doc th { color: var(--muted); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; }
.doc .table-wrap { overflow-x: auto; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 24px; display: grid; gap: 14px; }
.narrow { max-width: 560px; margin: 0 auto; padding-block: 48px 80px; display: grid; gap: 18px; }

@media (prefers-reduced-motion: reduce) { .btn { transition: none; } .btn:hover { transform: none; } .pe-wait i { animation: none; } .btn .spin { animation: none; } }

/* One-click offer pages (oto-*.html) */
.oto { max-width: 680px; margin: 0 auto; padding-block: 36px 72px; display: grid; gap: 22px; }
.oto .done-bar { margin: 0; font-size: 14px; color: var(--pass); font-weight: 700; }
.oto h1 { font-size: clamp(28px, 4.2vw, 42px); }
.oto .copy { display: grid; gap: 14px; font-size: 17px; color: var(--ink-soft); }
.oto .copy p { margin: 0; }
.oto .copy b { color: var(--ink); }
.oto .offer { border: 1px solid var(--accent); border-radius: 18px; padding: 22px; background: var(--surface); display: grid; gap: 14px; }
.oto .offer .row { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.oto .offer .now { font-size: 40px; font-weight: 800; letter-spacing: -0.03em; }
.oto .offer s { color: var(--muted); font-size: 20px; }
.oto .offer .save { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; background: var(--sale); color: var(--sale-ink); padding: 3px 8px; border-radius: 6px; }
.oto .no { text-align: center; font-size: 14.5px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.oto .no:hover { color: var(--ink-soft); }

/* Stripe trust: the pill above the form and the mark in the footer line. */
.sec-pill { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 0 0 4px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper-2); font-size: 12.5px; font-weight: 700; color: var(--ink-soft); }
.sec-pill svg, .assure svg { width: 14px; height: 14px; flex: none; }
.stripe-badge { display: block; height: 24px; width: auto; flex: none; }
.sec-pill { gap: 10px; }
.stripe-mark { font-family: "Manrope", system-ui, sans-serif; font-weight: 800; font-size: 1.08em; letter-spacing: -0.035em; color: #8F88FF; text-transform: lowercase; }

/* One-tap buttons (Link, Apple Pay, Google Pay) and the divider under them. */
.express { display: grid; gap: 12px; }
.express .or { display: flex; align-items: center; gap: 12px; margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.express .or::before, .express .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* Under the pay button: guarantee seal and the card-statement name. */
.assure { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 16px; font-size: 12.5px; color: var(--muted); }
.assure span { display: inline-flex; align-items: center; gap: 6px; }
.assure span:first-child { color: var(--pass); font-weight: 700; }
.assure b { color: var(--ink-soft); letter-spacing: .04em; }

/* "See every file": a quiet, solid card, not a flashing badge. */
.files-btn { display: flex; align-items: center; gap: 14px; width: 100%; margin-top: 14px; padding: 14px 16px; text-align: left; font: inherit; color: var(--ink); background: linear-gradient(180deg, var(--surface), var(--paper-2)); border: 1px solid var(--line); border-radius: 12px; cursor: pointer; transition: border-color .15s, transform .15s; }
.files-btn:hover { border-color: var(--accent); transform: translateY(-1px); }
.files-btn .fb-ico { flex: none; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; background: rgba(240,138,93,.12); color: var(--accent); }
.files-btn .fb-ico svg { width: 20px; height: 20px; }
.files-btn .fb-txt { display: grid; gap: 2px; flex: 1; min-width: 0; }
.files-btn .fb-txt b { font-size: 14.5px; letter-spacing: -0.01em; }
.files-btn .fb-txt small { font-size: 12.5px; color: var(--muted); }
.files-btn .fb-go { color: var(--accent); font-weight: 800; }
.files-dlg { width: min(720px, calc(100vw - 32px)); max-height: min(82vh, 760px); padding: 0; color: var(--ink); background: var(--paper-2); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 30px 80px rgba(0,0,0,.55); }
.files-dlg[open] { display: flex; flex-direction: column; }
.files-dlg::backdrop { background: rgba(5,8,7,.72); backdrop-filter: blur(2px); }
.fd-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 20px 22px 12px; border-bottom: 1px solid var(--line); }
.fd-head h3 { margin: 2px 0 4px; font-size: 19px; letter-spacing: -0.02em; font-family: var(--mono); font-weight: 600; }
.fd-head .eyebrow { margin: 0; }
.fd-meta { margin: 0; font-size: 13px; color: var(--muted); }
.fd-x { flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--ink); font-size: 20px; line-height: 1; cursor: pointer; }
.fd-x:hover { border-color: var(--accent); }
.fd-search { margin: 12px 22px 6px; padding: 10px 12px; font: inherit; font-size: 14px; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 9px; }
.fd-list { overflow-y: auto; padding: 4px 22px 8px; }
.fd-group { border-bottom: 1px solid var(--line); }
.fd-group summary { display: flex; align-items: center; gap: 10px; padding: 12px 0; cursor: pointer; list-style: none; font-size: 14px; }
.fd-group summary::-webkit-details-marker { display: none; }
.fd-group summary::before { content: "›"; color: var(--muted); font-weight: 800; transition: transform .15s; }
.fd-group[open] summary::before { transform: rotate(90deg); }
.fd-group summary b { font-family: var(--mono); font-weight: 600; font-size: 13px; overflow-wrap: anywhere; }
.fd-group summary small { color: var(--muted); font-size: 12px; }
.fd-group summary em { margin-left: auto; font-style: normal; font-size: 12.5px; color: var(--ink-soft); white-space: nowrap; }
.fd-folder { width: 14px; height: 11px; flex: none; border-radius: 2px; background: var(--accent); opacity: .85; }
.fd-group ul { list-style: none; margin: 0 0 10px; padding: 0 0 0 24px; display: grid; gap: 2px; }
.fd-group li { display: flex; justify-content: space-between; gap: 12px; font-family: var(--mono); font-size: 12.5px; color: var(--ink-soft); padding: 3px 0; }
.fd-group li span { overflow-wrap: anywhere; }
.fd-group li em { font-style: normal; color: var(--muted); white-space: nowrap; }
.files-dlg > .fine { margin: 0; padding: 10px 22px 16px; border-top: 1px solid var(--line); }
@media (max-width: 560px) { .fd-head, .fd-list { padding-left: 16px; padding-right: 16px; } .fd-search { margin-left: 16px; margin-right: 16px; } .files-dlg > .fine { padding-left: 16px; padding-right: 16px; } }

/* Opt-in for the free Tuesday Teardown (unticked by default). */
.optin { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-soft); cursor: pointer; line-height: 1.45; }
.optin input { margin-top: 3px; width: 17px; height: 17px; accent-color: var(--accent); flex: none; }
.optin b { color: var(--ink); }
