/* GF Sticker Club — landing page
   Design language carried over from the bakery ROI one-pager:
   Anton display, Space Grotesk body, Space Mono for anything numeric,
   warm paper stock, and the receipt as the recurring visual motif. */

:root {
  --ink: #211c16;
  --paper: #f5f0e6;
  --paper-deep: #e7e0d2;
  --card: #fbf8f1;
  --gold: #e0a62e;
  --green: #2e6b4b;
  --green-deep: #1e4a36;
  --jam: #c33b32;
  --line: #e6ddcc;
  --muted: #7a7161;
  --body: #3b352b;

  --display: 'Anton', 'Arial Narrow', sans-serif;
  --sans: 'Space Grotesk', system-ui, sans-serif;
  --mono: 'Space Mono', ui-monospace, monospace;

  --shell: 1080px;
  --radius: 16px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

.shell { width: min(100% - 40px, var(--shell)); margin-inline: auto; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px;
  font-weight: 700; font-size: 13px; transition: top .15s;
}
.skip-link:focus { top: 12px; }

/* ── Type scale ─────────────────────────────────────────────── */

.eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--jam);
}
.label {
  font-size: 10.5px; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: var(--muted);
}
h1, h2, h3 { font-family: var(--display); font-weight: 400; text-transform: uppercase; letter-spacing: .01em; line-height: .98; }
h1 { font-size: clamp(38px, 7vw, 62px); }
h2 { font-size: clamp(26px, 4vw, 36px); }
h3 { font-size: 18px; }

a { color: inherit; }

.mono { font-family: var(--mono); }

/* ── Buttons ────────────────────────────────────────────────── */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--sans); font-weight: 700; font-size: 14px; letter-spacing: .03em;
  padding: 13px 22px; border-radius: 11px; border: 2px solid var(--ink);
  background: var(--ink); color: #fff; cursor: pointer; text-decoration: none;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(33, 28, 22, .22); }
.btn:active { transform: translateY(0); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: rgba(33, 28, 22, .06); }
.btn--jam { background: var(--jam); border-color: var(--jam); }
.btn--green { background: var(--green-deep); border-color: var(--green-deep); }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; }

/* ── Header ─────────────────────────────────────────────────── */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(245, 240, 230, .93);
  backdrop-filter: blur(8px);
  border-bottom: 1.5px solid var(--line);
}
.site-header .shell {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 12px 0;
}
.brandmark { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brandmark .dot {
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--jam); color: #fff; display: grid; place-items: center;
  font-family: var(--display); font-size: 15px; flex: none;
  box-shadow: inset 0 0 0 2.5px var(--paper), 0 0 0 2px var(--jam);
}
.brandmark .wordmark { font-family: var(--display); font-size: 17px; line-height: 1; text-transform: uppercase; }
.brandmark .wordmark span { display: block; font-family: var(--sans); font-size: 9px; font-weight: 600; letter-spacing: .13em; color: var(--muted); }

.site-nav { display: flex; align-items: center; gap: 22px; }
.site-nav a {
  font-size: 13px; font-weight: 600; text-decoration: none; color: var(--body);
  letter-spacing: .02em;
}
.site-nav a:hover { color: var(--jam); }
.site-nav .btn { font-size: 13px; padding: 10px 16px; color: #fff; }
@media (max-width: 760px) {
  .site-nav .nav-link { display: none; }
}

/* ── Hero ───────────────────────────────────────────────────── */

.hero { padding: 46px 0 12px; }
.hero-grid {
  display: grid; grid-template-columns: 1.12fr .88fr; gap: 34px; align-items: start;
}
.hero h1 { margin: 10px 0 0; }
.hero h1 .hl { color: var(--jam); }
.hero .lede { font-size: 16.5px; line-height: 1.6; color: var(--body); margin-top: 16px; max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.hero-note { font-family: var(--mono); font-size: 11.5px; color: var(--muted); margin-top: 14px; }

.contrast { display: flex; gap: 12px; margin-top: 26px; }
.chip { flex: 1; border: 1.5px solid var(--line); border-radius: 13px; padding: 13px 14px; background: var(--card); }
.chip .big { font-family: var(--display); font-size: 34px; line-height: 1; margin-top: 4px; }
.chip.you .big { color: var(--green); }
.chip.them .big { color: var(--muted); }
.chip .s { font-family: var(--mono); font-size: 10.5px; color: var(--muted); margin-top: 3px; }

@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero { padding-top: 32px; }
}

/* ── Receipt ────────────────────────────────────────────────── */

.receipt {
  position: relative; background: #fffdf7; border-radius: 4px;
  box-shadow: 0 12px 32px rgba(33, 28, 22, .16);
  padding: 26px 22px 26px;
  background-image: repeating-linear-gradient(0deg, transparent, transparent 27px, rgba(0, 0, 0, .02) 28px);
}
.receipt::before,
.receipt::after {
  content: ""; position: absolute; left: 0; right: 0; height: 8px;
  background: repeating-linear-gradient(135deg, #fffdf7 0 7px, transparent 7px 14px);
}
.receipt::before { top: -1px; }
.receipt::after { bottom: -1px; transform: scaleY(-1); }

.rc-head { text-align: center; margin-bottom: 6px; }
.rc-head .n { font-family: var(--display); font-size: 21px; text-transform: uppercase; }
.rc-head .m { font-family: var(--mono); font-size: 10px; letter-spacing: .12em; color: #8a8271; }
.rrow {
  display: flex; justify-content: space-between; gap: 12px;
  font-family: var(--mono); font-size: 12.5px; padding: 3px 0; color: #2a2620;
}
.rrule { border-top: 1.5px dashed #c9bfa9; margin: 8px 0; }
.rdouble { border-top: 3px double var(--ink); margin: 12px 0; }
.rrow.keep { font-weight: 700; color: var(--green); }
.rtotal { text-align: center; }
.rtotal .lab { font-size: 10px; font-weight: 700; letter-spacing: .14em; color: #8a8271; }
.rtotal .amt { font-family: var(--display); font-size: clamp(40px, 8vw, 52px); line-height: 1; color: var(--green); margin: 3px 0 2px; }
.rtotal .none { font-family: var(--mono); font-size: 11.5px; font-weight: 700; color: var(--jam); }
.rcookies { background: #f3eee0; border-radius: 8px; padding: 10px 12px; text-align: center; }
.rcookies .c1 { font-size: 11px; color: #6f6656; line-height: 1.45; }
.rcookies .c2 { font-family: var(--display); font-size: 28px; line-height: 1.1; }
.rcookies .c3 { font-family: var(--mono); font-size: 10.5px; color: #8a8271; }
.rfoot {
  text-align: center; margin-top: 13px; font-family: var(--mono);
  font-size: 10.5px; letter-spacing: .1em; color: #a69c86; line-height: 1.7;
}

/* ── Section furniture ──────────────────────────────────────── */

section { padding: 54px 0; }
section.tight { padding: 40px 0; }
/* Keep anchor targets clear of the sticky header. */
section[id] { scroll-margin-top: 78px; }
.section-head { margin-bottom: 26px; max-width: 60ch; }
.section-head .num {
  font-family: var(--mono); font-size: 11px; font-weight: 700; color: #fff;
  background: var(--jam); border-radius: 5px; padding: 2px 7px; margin-right: 10px;
}
.section-head h2 { display: inline; vertical-align: middle; }
.section-head p { font-size: 14.5px; color: var(--body); margin-top: 12px; line-height: 1.6; }

.band { background: var(--paper-deep); }
.band-dark { background: var(--green-deep); color: #f3efe4; }
.band-dark h2 { color: #fff; }
.band-dark .section-head p { color: #cfe3d6; }

/* ── Calculator ─────────────────────────────────────────────── */

.calc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: start; }
@media (max-width: 880px) { .calc-grid { grid-template-columns: 1fr; } }

.panel { background: var(--card); border: 1.5px solid var(--line); border-radius: var(--radius); padding: 22px; }
.panel-title { font-family: var(--display); font-size: 20px; margin: 4px 0 18px; }

.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 420px) { .field-row { grid-template-columns: 1fr; } }

input[type="text"], input[type="email"], input[type="tel"], input[type="number"], textarea, select {
  font-family: var(--mono); font-size: 17px; font-weight: 700; color: var(--ink);
  background: #fff; border: 1.5px solid var(--line); border-radius: 10px;
  padding: 10px 12px; width: 100%; outline: none;
}
input[type="text"]:focus, input[type="email"]:focus, input[type="tel"]:focus,
input[type="number"]:focus, textarea:focus, select:focus { border-color: var(--gold); }
textarea { font-family: var(--sans); font-size: 14px; font-weight: 400; resize: vertical; min-height: 84px; }

input[type="range"] {
  -webkit-appearance: none; appearance: none; height: 6px; border-radius: 99px;
  outline: none; width: 100%; cursor: pointer;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; width: 26px; height: 26px; border-radius: 50%;
  background: var(--jam); border: 3px solid #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .25); cursor: pointer;
}
input[type="range"]::-moz-range-thumb {
  width: 22px; height: 22px; border-radius: 50%; background: var(--jam);
  border: 3px solid #fff; cursor: pointer;
}
.range-head { display: flex; justify-content: space-between; align-items: baseline; }
.range-head .val { font-family: var(--mono); font-weight: 700; font-size: 20px; color: var(--jam); }
.range-scale { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 11px; color: var(--muted); }

.keepstrip {
  margin-top: 18px; padding: 12px 14px; background: #fff;
  border: 1.5px dashed var(--line); border-radius: 12px;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.keepstrip .v { font-family: var(--mono); font-weight: 700; font-size: 22px; color: var(--green); }
.keepstrip .v small { font-size: 12px; color: var(--muted); font-weight: 400; }

/* ── Attach-rate table ──────────────────────────────────────── */

.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table { width: 100%; border-collapse: collapse; min-width: 460px; }
th, td { text-align: right; padding: 11px 12px; font-family: var(--mono); font-size: 13.5px; }
th:first-child, td:first-child { text-align: left; }
thead th {
  font-family: var(--sans); font-size: 10px; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: var(--muted); border-bottom: 2px solid var(--ink);
}
tbody tr { border-bottom: 1px solid var(--line); }
tbody tr.anchor { background: #f0ead8; }
tbody tr.anchor td { font-weight: 700; }
td .tag {
  font-family: var(--sans); font-size: 9px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .05em; color: var(--jam); margin-left: 6px;
}
.profit-col { color: var(--green); font-weight: 700; }

/* ── How it works ───────────────────────────────────────────── */

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .steps { grid-template-columns: 1fr; } }
.step { border: 1.5px solid var(--line); border-radius: 13px; padding: 15px 16px; background: var(--card); }
.step .h { font-family: var(--display); font-size: 15px; text-transform: uppercase; color: var(--green-deep); }
.step .d { font-size: 12.5px; line-height: 1.5; color: #4a4438; margin-top: 6px; }

/* ── Pricing ────────────────────────────────────────────────── */

.billing-switch { text-align: center; margin-bottom: 26px; }
.billing-toggle {
  display: inline-flex; gap: 4px; background: #efe8d8;
  padding: 4px; border-radius: 12px;
}
.billing-toggle button {
  cursor: pointer; border: none; border-radius: 9px; padding: 10px 18px;
  font-family: var(--sans); font-weight: 700; font-size: 13px; letter-spacing: .02em;
  background: transparent; color: var(--muted);
  display: inline-flex; align-items: center; gap: 8px;
  transition: background .12s ease, color .12s ease;
}
.billing-toggle button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.billing-toggle .save {
  font-family: var(--mono); font-size: 10px; font-weight: 700;
  background: var(--gold); color: var(--ink);
  padding: 2px 6px; border-radius: 5px; letter-spacing: .04em;
}
.billing-note { font-family: var(--mono); font-size: 11.5px; color: var(--muted); margin-top: 10px; }

.signup-summary { font-size: 12px; color: var(--green); font-weight: 700; margin-top: 6px; }

/* stretch, not start — so the Subscribe buttons line up across uneven feature lists */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
@media (max-width: 860px) { .tiers { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; } }

.tier {
  background: var(--card); border: 1.5px solid var(--line); border-radius: var(--radius);
  padding: 22px; position: relative; display: flex; flex-direction: column; height: 100%;
}
.tier.is-popular { border: 2.5px solid var(--jam); box-shadow: 0 10px 28px rgba(33, 28, 22, .12); }
.tier .flag {
  position: absolute; top: -12px; left: 22px; background: var(--jam); color: #fff;
  font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 6px;
}
.tier h3 { font-size: 21px; }
.tier .vol { font-family: var(--mono); font-size: 12px; color: var(--jam); font-weight: 700; margin-top: 4px; }
.tier .price { font-family: var(--display); font-size: 40px; line-height: 1; margin: 14px 0 2px; }
.tier .price sub { font-family: var(--mono); font-size: 12px; font-weight: 400; color: var(--muted); vertical-align: baseline; }
.tier .unit { font-family: var(--mono); font-size: 11.5px; color: var(--muted); }
.tier .blurb { font-size: 13px; color: var(--body); line-height: 1.5; margin: 12px 0 14px; }
.tier ul { list-style: none; display: flex; flex-direction: column; gap: 7px; margin-bottom: 20px; }
.tier li { font-size: 13px; color: var(--body); padding-left: 22px; position: relative; line-height: 1.45; }
.tier li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 700; }
.tier .btn { margin-top: auto; }

.tier-earnings {
  background: #fff; border: 1.5px dashed var(--line); border-radius: 10px;
  padding: 9px 11px; margin-bottom: 16px;
}
.tier-earnings .k { font-size: 9.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.tier-earnings .v { font-family: var(--mono); font-size: 17px; font-weight: 700; color: var(--green); }

/* ── Forms (checkout + pilot) ───────────────────────────────── */

.form-card {
  background: var(--card); border: 1.5px solid var(--line);
  border-radius: var(--radius); padding: 24px;
}
.band-dark .form-card {
  background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .18);
}
.band-dark .label { color: #cfe3d6; }
.band-dark .form-note { color: #cfe3d6; }

.form-note { font-family: var(--mono); font-size: 11.5px; color: var(--muted); line-height: 1.6; margin-top: 12px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-status { font-size: 13.5px; font-weight: 600; margin-top: 14px; line-height: 1.5; }
.form-status.err { color: var(--jam); }
.band-dark .form-status.err { color: #ffb3ad; }
.form-status.ok { color: var(--green); }
.band-dark .form-status.ok { color: #9fdcb8; }

/* ── Modal (tier signup details) ────────────────────────────── */

dialog.modal {
  border: none; border-radius: var(--radius); padding: 0;
  max-width: 460px; width: calc(100% - 32px); background: var(--paper);
  color: var(--ink); box-shadow: 0 24px 60px rgba(33, 28, 22, .34);
  /* The `* { margin: 0 }` reset kills the UA's `margin: auto`, which is what
     centers a modal dialog. Put it back. */
  margin: auto;
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
}
dialog.modal::backdrop { background: rgba(33, 28, 22, .55); backdrop-filter: blur(2px); }
.modal-inner { padding: 24px; }
.modal-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; margin-bottom: 16px; }
.modal-close {
  background: none; border: none; font-size: 24px; line-height: 1; cursor: pointer;
  color: var(--muted); padding: 2px 6px; border-radius: 6px;
}
.modal-close:hover { color: var(--jam); }

/* ── FAQ ────────────────────────────────────────────────────── */

.faq { display: grid; gap: 10px; max-width: 760px; }
.faq details {
  background: var(--card); border: 1.5px solid var(--line);
  border-radius: 12px; padding: 14px 18px;
}
.faq summary {
  font-weight: 700; font-size: 14.5px; cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; gap: 12px; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); color: var(--jam); font-size: 20px; flex: none; }
.faq details[open] summary::after { content: "–"; }
.faq p { font-size: 13.5px; color: var(--body); line-height: 1.6; margin-top: 10px; }

/* ── Final CTA + footer ─────────────────────────────────────── */

.final-cta {
  background: var(--green-deep); color: #f3efe4; border-radius: var(--radius);
  padding: 28px 30px; display: flex; justify-content: space-between;
  align-items: center; gap: 22px; flex-wrap: wrap;
}
.final-cta .big { font-family: var(--display); font-size: clamp(22px, 3.4vw, 30px); color: #fff; line-height: 1.05; text-transform: uppercase; }
.final-cta .sub { font-size: 13.5px; color: #cfe3d6; margin-top: 6px; max-width: 46ch; }

.site-footer { border-top: 1.5px solid var(--line); padding: 26px 0 40px; margin-top: 20px; }
.site-footer .shell { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.site-footer .fine { font-family: var(--mono); font-size: 10.5px; color: var(--muted); line-height: 1.7; max-width: 62ch; }
.site-footer nav { display: flex; gap: 18px; font-size: 12.5px; }
.site-footer nav a { text-decoration: none; color: var(--muted); }
.site-footer nav a:hover { color: var(--jam); }

/* ── Small utilities ────────────────────────────────────────── */

.stack-sm > * + * { margin-top: 10px; }
.center { text-align: center; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
