/* ═══ Peanut Gallery — marketing site ═════════════════════════════
   Editorial-technical layout: cream paper, roasted brown ink,
   punchy orange accents, mono detailing. */

:root {
  --paper:    #fffaf2;
  --card:     #faf0e0;
  --card2:    #f3e3ca;
  --ink:      #2a1204;
  --ink2:     #7b573a;
  --ink3:     #99775a;
  --accent:   #ff4f01;
  --accent-dark: #d43f00;
  --accent-dim: rgba(255,79,1,0.08);
  --brown:    #612800;
  --cream:    #ffcb89;
  --roast:    #24120a;
  --line:     rgba(97,40,0,0.16);
  --line2:    rgba(97,40,0,0.32);
  --green:    #2f7d43;
  --red:      #c0392b;
  --radius:   8px;
  --radius-lg: 22px;
  --shadow:   0 1px 2px rgba(97,40,0,.05), 0 8px 24px rgba(97,40,0,.07);
  --shadow-lg: 0 20px 60px rgba(97,40,0,.14);
  --maxw:     1200px;
  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --display: 'Bricolage Grotesque', var(--font);
  --mono: 'Space Mono', ui-monospace, 'SF Mono', Menlo, monospace;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  position: relative;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 880px; }
.center { text-align: center; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: var(--brown); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ── Edge rulers & sticky arrows (desktop flourish) ─────────── */
.ruler {
  position: absolute; top: 8px; bottom: 0; width: 18px; z-index: 5;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(to bottom, var(--line2) 0 1px, transparent 1px 30px),
    repeating-linear-gradient(to bottom, var(--line2) 0 1px, transparent 1px 150px);
  background-size: 10px 100%, 18px 100%;
  background-repeat: no-repeat;
}
.ruler-l { left: 0; background-position: left top, left top; }
.ruler-r { right: 0; background-position: right top, right top; }

.edge-arrows {
  position: sticky; top: 50%; z-index: 6; height: 0;
  display: flex; justify-content: space-between;
  pointer-events: none;
}
.edge-arrows span {
  width: 0; height: 0; border: 9px solid transparent;
}
.edge-arrows span:first-child { border-left: 14px solid var(--accent); border-right: none; }
.edge-arrows span:last-child { border-right: 14px solid var(--accent); border-left: none; }

@media (max-width: 1180px) { .ruler, .edge-arrows { display: none; } }

/* ── Typography ─────────────────────────────────────────────── */
h1, h2, h3 {
  font-family: var(--display);
  line-height: 1.04; letter-spacing: -0.015em; font-weight: 600; color: var(--ink);
}
h1 { font-size: clamp(2.9rem, 7.2vw, 5.4rem); }
h2 { font-size: clamp(2rem, 4.4vw, 3.3rem); }
h3 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }

.mono, .eyebrow, .chip, .link-arrow, .nav-menu a, .btn {
  font-family: var(--mono);
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem; font-weight: 400; letter-spacing: 0.09em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.eyebrow::before { content: "[ "; color: var(--ink3); }
.eyebrow::after { content: " ]"; color: var(--ink3); }

.lede, .section-sub { font-size: clamp(1.02rem, 1.8vw, 1.22rem); color: var(--ink2); }

/* ── Buttons & links ────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-size: 0.92rem; font-weight: 700; letter-spacing: 0.01em;
  padding: 14px 24px; border-radius: var(--radius); border: 1.5px solid transparent;
  cursor: pointer; white-space: nowrap;
  transition: transform .15s ease, box-shadow .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-sm { padding: 10px 18px; font-size: 0.85rem; }
.btn-lg { padding: 16px 30px; font-size: 0.98rem; }
.btn-block { width: 100%; }

.btn-primary { background: var(--accent); color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--accent-dark); box-shadow: var(--shadow-lg); }

.btn-outline { background: transparent; color: var(--brown); border-color: var(--line2); }
.btn-outline:hover { border-color: var(--brown); background: var(--card); }

.btn-invert { background: var(--cream); color: var(--brown); }
.btn-invert:hover { background: #ffdba6; }

.link-arrow {
  display: inline-flex; align-items: baseline; gap: 7px;
  font-size: 0.88rem; color: var(--brown); letter-spacing: 0.02em;
  border-bottom: 1px solid var(--line2); padding-bottom: 3px;
  transition: color .2s, border-color .2s;
}
.link-arrow::after { content: "↗"; color: var(--accent); }
.link-arrow:hover { color: var(--accent); border-color: var(--accent); }

/* ── Header ─────────────────────────────────────────────────── */
.site-header { position: relative; z-index: 40; background: var(--paper); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }

.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark { display: inline-flex; }
.brand-mark img { width: 34px; height: 34px; }
.brand-wordmark { height: 30px; width: auto; }

.nav-menu { display: flex; align-items: center; gap: clamp(18px, 3vw, 34px); list-style: none; }
.nav-menu a:not(.btn) { font-size: 0.9rem; color: var(--ink); transition: color .15s; white-space: nowrap; }
.nav-menu a:not(.btn):hover { color: var(--accent); }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 8px;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Hero card ──────────────────────────────────────────────── */
.hero { padding: 8px 20px 20px; }
.hero-card {
  max-width: 1560px; margin: 0 auto;
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: clamp(56px, 9vw, 120px) 24px 0;
  text-align: center; overflow: hidden;
}
.hero-card h1 { max-width: 900px; margin: 0 auto; }
.hero h1 em { font-style: normal; color: var(--accent); }

/* headline line-by-line rise */
.hline { display: block; overflow: hidden; }
.hline > span { display: block; animation: rise .9s cubic-bezier(.22,.61,.36,1) both; }
.hline:nth-child(2) > span { animation-delay: .12s; }
@keyframes rise { from { transform: translateY(108%); opacity: 0; } to { transform: none; opacity: 1; } }

.hero .lede { max-width: 660px; margin: 26px auto 0; animation: fadeup .8s .35s cubic-bezier(.22,.61,.36,1) both; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin: 36px 0 16px; animation: fadeup .8s .5s cubic-bezier(.22,.61,.36,1) both; }
.hero-note { font-family: var(--mono); font-size: 0.76rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink3); animation: fadeup .8s .6s cubic-bezier(.22,.61,.36,1) both; }
@keyframes fadeup { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }

/* Product mock inside hero card */
.hero-mock { width: 100%; max-width: 980px; margin: clamp(40px, 6vw, 72px) auto 0; animation: fadeup .9s .7s cubic-bezier(.22,.61,.36,1) both; }
.mock-browser {
  background: var(--paper); border: 1px solid var(--line2);
  border-radius: 14px 14px 0 0; border-bottom: none;
  box-shadow: var(--shadow-lg); overflow: hidden; text-align: left;
}
.mock-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; background: var(--card); border-bottom: 1px solid var(--line); }
.mock-bar .dot { width: 11px; height: 11px; border-radius: 50%; background: var(--card2); }
.mock-bar .dot:nth-child(1) { background: #e26d5c; }
.mock-bar .dot:nth-child(2) { background: #e2b25c; }
.mock-bar .dot:nth-child(3) { background: #6db56d; }
.mock-url {
  margin-left: 12px; flex: 1; max-width: 420px;
  background: var(--paper); border: 1px solid var(--line); border-radius: 6px;
  font-family: var(--mono); font-size: 0.72rem; color: var(--ink3); padding: 5px 12px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.mock-canvas { position: relative; padding: 34px; min-height: 320px; background:
  linear-gradient(var(--card) 1px, transparent 1px) 0 0 / 100% 28px; }
.mock-site { display: flex; flex-direction: column; gap: 16px; }
.mock-block { background: var(--card2); border-radius: 6px; }
.mock-h { height: 34px; width: 55%; background: linear-gradient(90deg, #ead9bd, #f3e3ca); }
.mock-p { height: 13px; width: 82%; }
.mock-p.short { width: 60%; }
.mock-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 14px; }
.mock-card { height: 92px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }

.pin {
  position: absolute; width: 30px; height: 30px; border-radius: 50% 50% 50% 2px;
  background: var(--accent); color: #fff; font-family: var(--mono); font-size: 0.8rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(97,40,0,.3); transform: translate(-50%, -50%);
  animation: pop .5s 1.1s cubic-bezier(.2,1.4,.5,1) both;
}
.pin-2 { animation-delay: 1.28s; }
@keyframes pop { from { transform: translate(-50%, -50%) scale(0); opacity: 0; } to { transform: translate(-50%, -50%) scale(1); opacity: 1; } }

.comment-bubble {
  position: absolute; width: 250px; background: var(--paper);
  border: 1px solid var(--line2); border-radius: 12px; box-shadow: var(--shadow-lg);
  padding: 12px 14px; animation: pop .5s 1.45s cubic-bezier(.2,1.4,.5,1) both;
}
.cb-head { display: flex; align-items: center; gap: 8px; margin-bottom: 7px; }
.cb-avatar { width: 24px; height: 24px; border-radius: 50%; background: var(--accent); color: #fff;
  font-family: var(--mono); font-size: 0.62rem; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.cb-name { font-family: var(--mono); font-size: 0.72rem; color: var(--ink2); }
.cb-text { font-size: 0.9rem; color: var(--ink); margin-bottom: 9px; }
.cb-actions { display: flex; gap: 14px; font-family: var(--mono); font-size: 0.72rem; color: var(--ink3); }
.cb-resolve { color: var(--green); }

/* ── Marquee ────────────────────────────────────────────────── */
.marquee-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 22px 0; overflow: hidden; }
.marquee { display: flex; width: max-content; animation: marquee 36s linear infinite; }
.marquee-strip:hover .marquee { animation-play-state: paused; }
.marquee ul { display: flex; align-items: center; list-style: none; }
.marquee li {
  display: flex; align-items: center; gap: 34px; padding-right: 34px;
  font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink2); white-space: nowrap;
}
.marquee li img { width: 20px; height: 20px; opacity: .9; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── Scroll reveals ─────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity .8s ease, transform .8s cubic-bezier(.22,.61,.36,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .1s; }
.reveal.d2 { transition-delay: .2s; }
.reveal.d3 { transition-delay: .3s; }
.no-js .reveal { opacity: 1; transform: none; }

/* ── Statement ──────────────────────────────────────────────── */
.statement { padding: clamp(90px, 12vw, 160px) 0; }
.statement p {
  font-family: var(--display); font-weight: 600; line-height: 1.18; letter-spacing: -0.01em;
  font-size: clamp(1.6rem, 3.4vw, 2.7rem); color: var(--ink); max-width: 980px;
}
.statement p + p { margin-top: 28px; }
.statement .dim { color: var(--ink3); }
.statement .hot { color: var(--accent); }

/* ── Sections ───────────────────────────────────────────────── */
.section { padding: clamp(72px, 9vw, 120px) 0; }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 64px); }
.section-sub { margin-top: 18px; max-width: 640px; }

/* ── How it works ───────────────────────────────────────────── */
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.step { padding: 34px 28px 40px 0; border-top: 2px solid transparent; margin-top: -1px; position: relative; }
.step + .step { padding-left: 28px; border-left: 1px solid var(--line); }
.step-num {
  font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.1em; color: var(--accent);
  display: block; margin-bottom: 18px;
}
.step h3 { font-size: 1.3rem; margin-bottom: 10px; }
.step p { color: var(--ink2); font-size: 0.97rem; }

/* ── Feature rows ───────────────────────────────────────────── */
.frow {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 90px);
  align-items: center; padding: clamp(56px, 7vw, 96px) 0;
}
.frow + .frow { border-top: 1px solid var(--line); }
.frow.flip .frow-copy { order: 2; }
.frow.flip .frow-visual { order: 1; }
.frow-copy h3 { margin-bottom: 16px; max-width: 420px; }
.frow-copy p { color: var(--ink2); max-width: 440px; margin-bottom: 26px; }

.frow-visual { position: relative; }
.panel {
  background: var(--card); border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 48px); min-height: 320px;
  display: flex; align-items: center; justify-content: center; position: relative;
}
.chip {
  position: absolute; z-index: 2;
  background: var(--roast); color: var(--cream);
  font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 9px 14px; border-radius: 6px; box-shadow: var(--shadow-lg);
}
.chip b { color: #fff; font-weight: 700; }
.chip.tl { top: 18px; left: 18px; }
.chip.br { bottom: 18px; right: 18px; }

/* mini-mocks inside panels */
.mini { width: 100%; max-width: 360px; background: var(--paper); border: 1px solid var(--line2); border-radius: 12px; box-shadow: var(--shadow); padding: 18px; position: relative; }
.mini-rows { display: flex; flex-direction: column; gap: 12px; }
.mini-row { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; }
.mini-row .dot { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.dot-open { background: var(--accent); }
.dot-done { background: var(--green); }
.mini-row .bar { height: 9px; border-radius: 4px; background: var(--card2); flex: 1; }
.mini-row .bar.short { flex: 0 0 38%; }
.mini-row .tag { font-family: var(--mono); font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink3); }

.invite-code {
  font-family: var(--mono); font-size: 1.25rem; letter-spacing: 0.14em; color: var(--brown);
  background: var(--card); border: 1.5px dashed var(--line2); border-radius: 8px;
  padding: 16px 18px; text-align: center; margin: 12px 0 14px;
}
.mini h4 { font-family: var(--mono); font-size: 0.72rem; font-weight: 400; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink3); }
.mini .copy-btn { width: 100%; font-family: var(--mono); font-size: 0.8rem; font-weight: 700; background: var(--accent); color: #fff; border: none; border-radius: 6px; padding: 11px; }

.thread { display: flex; flex-direction: column; gap: 12px; }
.thread .msg { border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; }
.thread .msg.reply { margin-left: 26px; background: var(--card); border-color: transparent; }
.thread .byline { font-family: var(--mono); font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink3); margin-bottom: 4px; }
.thread .txt { font-size: 0.88rem; color: var(--ink); }
.resolved-badge {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--mono); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--green); border: 1px solid rgba(47,125,67,.4); background: rgba(47,125,67,.08);
  border-radius: 999px; padding: 6px 12px;
}

.pinboard { position: relative; width: 100%; max-width: 360px; }
.pinboard .mini { max-width: none; }

/* ── Big stats ──────────────────────────────────────────────── */
.bigstats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.bigstats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.bigstat { padding: clamp(40px, 5vw, 64px) 28px; }
.bigstat + .bigstat { border-left: 1px solid var(--line); }
.bigstat strong {
  display: block; font-family: var(--display); font-weight: 700; line-height: 1;
  font-size: clamp(2.6rem, 5vw, 4.2rem); letter-spacing: -0.02em; color: var(--accent);
  margin-bottom: 14px;
}
.bigstat span {
  font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.09em; text-transform: uppercase;
  color: var(--ink2); display: block; max-width: 220px;
}

/* ── Who cards ──────────────────────────────────────────────── */
.who-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.who {
  background: var(--card); border-radius: var(--radius-lg); padding: 34px 30px;
  min-height: 240px; display: flex; flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
}
.who:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.who .eyebrow { margin-bottom: auto; }
.who h3 { font-size: 1.4rem; margin: 26px 0 10px; }
.who p { color: var(--ink2); font-size: 0.96rem; }

/* ── Pricing ────────────────────────────────────────────────── */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.price-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--paper); border: 1px solid var(--line2); border-radius: var(--radius-lg);
  padding: 34px 30px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.price-card.featured { border: 2px solid var(--accent); background: var(--card); }
.price-badge {
  position: absolute; top: -13px; left: 30px;
  background: var(--accent); color: #fff;
  font-family: var(--mono); font-size: 0.66rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 6px;
}
.price-name { font-family: var(--mono); font-size: 0.8rem; font-weight: 400; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin-bottom: 18px; }
.price-name::before { content: "[ "; color: var(--ink3); }
.price-name::after { content: " ]"; color: var(--ink3); }
.price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 6px; }
.price .amount { font-family: var(--display); font-size: 3.2rem; font-weight: 700; letter-spacing: -0.03em; color: var(--ink); line-height: 1; }
.price .per { font-family: var(--mono); color: var(--ink3); font-size: 0.8rem; }
.price-tag { color: var(--ink2); font-size: 0.92rem; margin-bottom: 24px; }
.price-list { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; flex: 1; }
.price-list li { position: relative; padding-left: 26px; font-size: 0.95rem; color: var(--ink2); }
.price-list li::before { content: "→"; font-family: var(--mono); position: absolute; left: 0; color: var(--accent); }
.price-list b { color: var(--ink); font-weight: 700; }
.price-foot { font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.04em; color: var(--ink3); margin-top: 32px; max-width: 640px; }

/* ── FAQ ────────────────────────────────────────────────────── */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 24px 44px 24px 0; position: relative;
  font-family: var(--display); font-weight: 600; font-size: 1.15rem; color: var(--ink);
  transition: color .2s;
}
.faq summary:hover { color: var(--accent); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; font-family: var(--mono); position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; font-weight: 400; color: var(--accent); transition: transform .25s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 0 26px; color: var(--ink2); font-size: 0.98rem; max-width: 720px; }

/* ── Legal / prose pages ────────────────────────────────────── */
.legal-hero { padding: clamp(48px, 7vw, 88px) 0 0; }
.legal-updated { font-family: var(--mono); font-size: 0.76rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink3); margin-top: 18px; }
.prose { padding: clamp(36px, 5vw, 56px) 0 clamp(72px, 9vw, 110px); }
.prose h2 { font-size: 1.45rem; margin: 46px 0 14px; padding-top: 26px; border-top: 1px solid var(--line); }
.prose h3 { font-size: 1.05rem; margin: 26px 0 8px; }
.prose p { color: var(--ink2); margin: 12px 0; max-width: 72ch; }
.prose ul { margin: 12px 0 12px 4px; padding-left: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.prose li { position: relative; padding-left: 24px; color: var(--ink2); max-width: 70ch; }
.prose li::before { content: "→"; font-family: var(--mono); position: absolute; left: 0; color: var(--accent); }
.prose strong, .prose b { color: var(--ink); }
.prose a { color: var(--accent); border-bottom: 1px solid rgba(255,79,1,.35); }
.prose a:hover { border-color: var(--accent); }
.prose .note {
  font-size: 0.92rem; background: var(--card); border-radius: var(--radius);
  padding: 16px 20px; margin: 20px 0; color: var(--ink2); max-width: 72ch;
}

/* ── Footer (dark roast) ────────────────────────────────────── */
.site-footer { padding: 8px 20px 20px; background: var(--paper); }
.footer-card {
  max-width: 1560px; margin: 0 auto;
  background: var(--roast); color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(64px, 9vw, 120px) clamp(24px, 5vw, 72px) 36px;
  overflow: hidden;
}
.footer-cta { max-width: 820px; }
.footer-cta h2 { color: #fff; font-size: clamp(2.2rem, 5.4vw, 4rem); margin-bottom: 30px; }
.footer-cta h2 em { font-style: normal; color: var(--cream); }
.footer-cta .btn { margin-bottom: 10px; }
.cta-note { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,203,137,.7); margin-top: 16px; }

.footer-grid {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap;
  margin-top: clamp(56px, 8vw, 100px); padding-top: 34px;
  border-top: 1px solid rgba(255,203,137,.22);
}
.footer-brand .brand-wordmark { height: 40px; }
.footer-brand p { color: rgba(255,255,255,.55); font-size: 0.9rem; margin-top: 14px; }
.footer-cols { display: flex; gap: clamp(40px, 6vw, 90px); flex-wrap: wrap; }
.footer-col h4 {
  font-family: var(--mono); font-size: 0.68rem; font-weight: 400; letter-spacing: 0.12em;
  text-transform: uppercase; color: rgba(255,203,137,.65); margin-bottom: 14px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer-col a { color: rgba(255,255,255,.82); font-size: 0.92rem; transition: color .15s; }
.footer-col a:hover { color: var(--cream); }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255,203,137,.14);
}
.footer-bottom p { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.06em; color: rgba(255,255,255,.45); }

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 960px) {
  .steps { grid-template-columns: 1fr; }
  .step + .step { padding-left: 0; border-left: none; border-top: 1px solid var(--line); }
  .step { padding: 28px 0; }
  .frow { grid-template-columns: 1fr; gap: 34px; }
  .frow.flip .frow-copy { order: 1; }
  .frow.flip .frow-visual { order: 2; }
  .bigstats-grid { grid-template-columns: 1fr 1fr; }
  .bigstat:nth-child(3) { border-left: none; }
  .bigstat { border-top: 1px solid var(--line); }
  .bigstat:nth-child(-n+2) { border-top: none; }
  .who-grid, .price-grid { grid-template-columns: 1fr; }
}

@media (max-width: 840px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    position: absolute; top: 76px; left: 0; right: 0; z-index: 60;
    flex-direction: column; align-items: stretch; gap: 6px;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 16px 24px 22px; box-shadow: var(--shadow);
    display: none;
  }
  .nav-menu.open { display: flex; }
  .nav-menu li { width: 100%; }
  .nav-menu a:not(.btn) { display: block; padding: 10px 0; font-size: 1rem; }
  .nav-menu .btn { width: 100%; margin-top: 6px; }
  .hero { padding: 4px 10px 10px; }
  .hero-cta { flex-direction: column; width: 100%; }
  .hero-cta .btn { width: 100%; }
  .comment-bubble { display: none; }
  .mock-canvas { padding: 22px; min-height: 240px; }
  .bigstats-grid { grid-template-columns: 1fr; }
  .bigstat + .bigstat { border-left: none; }
  .site-footer { padding: 4px 10px 10px; }
  .chip.br { bottom: 10px; right: 10px; }
  .chip.tl { top: 10px; left: 10px; }
}

/* ── Motion / a11y ──────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .marquee { animation: none !important; }
}
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
