/* ================================================================
   Baiord marketing site — Apple-light, black ink, lime signal.
   Static, dependency-free. Design tokens up top.
   ================================================================ */

:root {
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --page: #ffffff;
  --band: #f5f5f7;
  --line: #e8e8ed;
  --lime: #aeff46;
  --profit: #1f8a3d;
  --danger: #d92c20;
  --warn: #b25e02;
  --blue: #3665f3;
  --radius: 18px;
  --nav-h: 52px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
          "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--page);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.5;
  overflow-x: hidden;
}
img, svg { display: block; }
a { color: inherit; text-decoration: none; }
em { font-style: normal; }

::selection { background: var(--lime); color: var(--ink); }

/* ---------------------------------------------------------------- Nav */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  background: rgba(255,255,255,0.72);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.nav-inner {
  max-width: 1080px; margin: 0 auto; height: var(--nav-h);
  display: flex; align-items: center; gap: 28px; padding: 0 22px;
}
.nav-brand { display: flex; align-items: center; }
.wordmark { height: 20px; width: auto; color: var(--ink); }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a { font-size: 0.8125rem; color: var(--ink); opacity: 0.85; transition: opacity .2s; }
.nav-links a:hover { opacity: 1; }

/* ---------------------------------------------------------------- Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px; font-weight: 500; cursor: pointer;
  padding: 12px 24px; font-size: 1.0625rem; transition: transform .18s ease, box-shadow .18s ease, background .18s;
}
.btn:active { transform: scale(0.97); }
.btn-sm { padding: 7px 16px; font-size: 0.8125rem; }
.btn-lg { padding: 16px 30px; font-size: 1.125rem; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; }
.btn-lime { background: var(--lime); color: var(--ink); font-weight: 600; }
.btn-lime:hover { box-shadow: 0 6px 24px rgba(140, 220, 40, 0.45); }
.btn-ghost { color: var(--ink); border: 1px solid var(--line); background: #fff; }
.btn-ghost:hover { border-color: var(--muted); }

:is(a,button,summary):focus-visible { outline: 3px solid #7db43a; outline-offset: 3px; border-radius: 6px; }

/* ---------------------------------------------------------------- Hero */
.hero {
  padding: calc(var(--nav-h) + 84px) 22px 26px;
  text-align: center;
}
.eyebrow {
  font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(2.6rem, 7.2vw, 5rem);
  line-height: 1.04; letter-spacing: -0.021em; font-weight: 700;
}
.hero h1 em { color: var(--muted); }
.hero h1 em::after {
  content: ""; display: block; width: 112px; height: 6px; border-radius: 3px;
  background: var(--lime); margin: 18px auto 0;
}
.hero-sub {
  max-width: 640px; margin: 26px auto 0; font-size: clamp(1.1rem, 2vw, 1.375rem);
  color: var(--muted); line-height: 1.45;
}
.hero-cta { display: flex; gap: 14px; justify-content: center; margin-top: 34px; flex-wrap: wrap; }
.hero-note { margin-top: 16px; font-size: 0.8125rem; color: var(--muted); }

/* ---------------------------------------------------------------- MacBook demo */
.demo { padding: 44px 18px 90px; text-align: center; overflow: hidden; }
.device-wrap { max-width: 980px; margin: 0 auto; perspective: 1800px; }
.device { position: relative; }

.lid {
  transform-origin: 50% 100%;
  transform: rotateX(-84deg);
  transition: transform 1.5s cubic-bezier(.32,.75,.25,1);
  will-change: transform;
}
.device.open .lid { transform: rotateX(0deg); }

.screen {
  background: #0c0c0d;
  border-radius: 22px 22px 0 0;
  padding: clamp(8px, 1.6vw, 16px) clamp(8px, 1.6vw, 16px) clamp(6px, 1.2vw, 12px);
  box-shadow: 0 30px 80px rgba(0,0,0,0.22);
}
.screen-inner {
  position: relative; width: 100%; aspect-ratio: 760 / 475;
  background: #fafafa; border-radius: 10px; overflow: hidden;
}
.base {
  height: clamp(10px, 1.8vw, 17px);
  background: linear-gradient(#e8e8ea, #b9b9be);
  border-radius: 0 0 16px 16px;
  position: relative;
  box-shadow: 0 14px 34px rgba(0,0,0,0.18);
}
.base::after {
  content: ""; position: absolute; left: -3.5%; right: -3.5%; top: 0; height: 55%;
  background: linear-gradient(#f2f2f4, #cfcfd4);
  border-radius: 0 0 22px 22px;
}
.notch {
  position: absolute; left: 50%; transform: translateX(-50%); top: 0; z-index: 2;
  width: 12%; height: 55%; background: #c9c9ce; border-radius: 0 0 10px 10px;
}

/* Mini browser — everything inside scales off container width via cqw-ish % */
.browser { position: absolute; inset: 0; display: flex; flex-direction: column; font-size: clamp(7px, 1.35vw, 13px); }
.chrome {
  display: flex; align-items: center; gap: 0.5em; padding: 0.6em 0.9em;
  background: #f1f1f3; border-bottom: 1px solid #e3e3e7;
}
.dot { width: 0.75em; height: 0.75em; border-radius: 50%; }
.dot.r { background: #ff5f57; } .dot.y { background: #febc2e; } .dot.g { background: #28c840; }
.urlbar {
  flex: 0 1 46%; margin: 0 auto; background: #fff; border: 1px solid #e3e3e7;
  border-radius: 999px; padding: 0.32em 1em; font-size: 0.9em; color: #333336;
  display: flex; align-items: center; gap: 0.5em; justify-content: center;
  white-space: nowrap; overflow: hidden;
}
.urlbar .lock { font-size: 0.8em; }
.viewport { position: relative; flex: 1; overflow: hidden; }

.scene {
  position: absolute; inset: 0; display: grid; place-items: center;
  opacity: 0; pointer-events: none; transition: opacity .45s ease;
  background: #fafafa;
}
.scene.on { opacity: 1; }

.mini-card {
  width: 42%; min-width: 220px; background: #fff; border: 1px solid #ececf0;
  border-radius: 1.2em; padding: 1.6em 1.7em; box-shadow: 0 1.2em 3em rgba(0,0,0,0.07);
  text-align: left;
}
.mini-wordmark { height: 1.35em; width: auto; color: var(--ink); }
.mini-wordmark.center { margin: 0 auto; }
.mini-wordmark.side { height: 1.05em; margin: 0.3em 0 1em 0.45em; }
.mini-h { font-weight: 600; font-size: 1.15em; margin: 0.9em 0 1em; }
.mini-field { margin-bottom: 0.8em; }
.mini-label { display: block; font-size: 0.78em; color: #86868b; margin-bottom: 0.28em; }
.mini-input {
  display: flex; align-items: center; min-height: 2.1em; border: 1px solid #e3e3e7; border-radius: 0.55em;
  padding: 0 0.7em; font-size: 0.95em; background: #fdfdfd; overflow: hidden; white-space: nowrap;
}
.caret { width: 1px; height: 1.15em; background: var(--ink); margin-left: 1px; opacity: 0;
         animation: blink 1s steps(1) infinite; }
.scene.typing .caret { opacity: 1; }
@keyframes blink { 50% { opacity: 0; } }

.mini-btn {
  margin-top: 1.1em; text-align: center; border-radius: 999px; padding: 0.55em 0;
  font-weight: 600; font-size: 0.95em; transition: transform .15s ease, filter .15s;
}
.mini-btn.dark { background: var(--ink); color: #fff; }
.mini-btn.lime { background: var(--lime); color: var(--ink); }
.mini-btn.blue { background: var(--blue); color: #fff; }
.mini-btn.pressed { transform: scale(0.95); filter: brightness(0.92); }
.mini-alt { margin-top: 1em; font-size: 0.8em; color: #86868b; text-align: center; }
.mini-link { color: #0a6c2e; font-weight: 600; }
.mini-link.pressed { text-decoration: underline; }

.ebay-mark { font-weight: 800; font-size: 1.7em; letter-spacing: -0.04em; color: #333; }
.consent-list { list-style: none; margin: 1em 0 0.8em; }
.consent-list li { font-size: 0.85em; padding-left: 1.4em; position: relative; margin-bottom: 0.55em; color: #48484c; }
.consent-list li::before { content: "✓"; position: absolute; left: 0; color: var(--profit); font-weight: 700; }
.consent-note { font-size: 0.75em; color: #86868b; }

.sync-box { text-align: center; width: 46%; min-width: 230px; }
.sync-title { margin: 1em 0 1.2em; font-size: 1.05em; color: #48484c; }
.sync-bar { height: 0.5em; background: #ececf0; border-radius: 999px; overflow: hidden; }
.sync-fill { height: 100%; width: 0%; background: var(--lime); border-radius: 999px; transition: width 1.6s cubic-bezier(.3,.6,.3,1); }
.sync-note { margin-top: 0.9em; font-size: 0.85em; color: #86868b; }

/* Dashboard scene — a faithful miniature of the real first screen:
   sidebar with the eBay status foot, glass topbar, page header, and the two
   period panels ("This month" ringed in the brand lime, a chosen window with
   its selector pills) exactly as the app lays them out. */
.dash { position: absolute; inset: 0; display: flex; text-align: left; background: #f4f4f6; }
.mini-side {
  flex: 0 0 18.5%; background: #fff; border-right: 1px solid #ececf0;
  display: flex; flex-direction: column; padding: 0.7em 0.5em 0.6em; gap: 0.12em;
  overflow: hidden;
}
.side-item {
  display: flex; align-items: center; gap: 0.5em;
  font-size: 0.68em; color: #6e6e73; padding: 0.4em 0.8em; border-radius: 0.6em;
  white-space: nowrap; overflow: hidden;
}
.side-item i {
  width: 0.85em; height: 0.85em; border-radius: 0.22em; background: #d6d6db; flex: 0 0 auto;
}
.side-item.on { background: #f0f0f3; color: var(--ink); font-weight: 600; }
.side-item.on i { background: var(--ink); }
.side-foot {
  margin-top: auto; display: flex; align-items: center; gap: 0.5em;
  font-size: 0.62em; color: #6e6e73; padding: 0.5em 0.8em 0.1em;
  border-top: 1px solid #f2f2f5; white-space: nowrap; overflow: hidden;
}
.side-foot em { width: 0.6em; height: 0.6em; border-radius: 50%; background: #28c840; flex: 0 0 auto; }

.dash-main { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.dash-top {
  display: flex; align-items: center; justify-content: space-between; gap: 0.9em;
  padding: 0.5em 1.1em; background: rgba(255,255,255,0.8); border-bottom: 1px solid #ececf0;
}
.ws-switch { font-weight: 600; font-size: 0.78em; }
.ws-switch b { font-weight: 400; color: #86868b; }
.top-right { display: flex; align-items: center; gap: 0.7em; }
.cmdk {
  font-size: 0.6em; color: #86868b; border: 1px solid #e3e3e7; border-radius: 999px;
  padding: 0.25em 0.9em; background: #fff;
}
.dash-avatar {
  width: 1.55em; height: 1.55em; border-radius: 50%; background: var(--ink); color: #fff;
  font-size: 0.6em; font-weight: 700; display: grid; place-items: center; flex: 0 0 auto;
}
.dash-scroll { flex: 1; padding: 0.8em 1.1em; min-height: 0; overflow: hidden; }
.dash-h1 { font-weight: 700; font-size: 1.15em; letter-spacing: -0.02em; }
.dash-desc { font-size: 0.65em; color: #86868b; margin: 0.25em 0 0.9em; }

.panels { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8em; align-items: start; }
.panel-col { display: flex; flex-direction: column; gap: 0.45em; min-width: 0; }
.pills {
  display: flex; gap: 0.3em; justify-content: flex-end; align-self: flex-end;
  background: #ebebee; border-radius: 999px; padding: 0.22em;
}
.pills.spacer { visibility: hidden; }
.pills span {
  font-size: 0.55em; color: #6e6e73; padding: 0.35em 1em; border-radius: 999px; white-space: nowrap;
}
.pills span.on { background: #fff; color: var(--ink); font-weight: 600; box-shadow: 0 1px 4px rgba(0,0,0,0.12); }

.panel {
  background: #fff; border: 1px solid #ececf0; border-radius: 0.9em; padding: 0.9em 1em;
  min-width: 0;
}
.panel.highlight { box-shadow: 0 0 0 1.5px rgba(174, 255, 70, 0.55); }
.p-title { font-weight: 700; font-size: 0.82em; letter-spacing: -0.01em; }
.p-desc { font-size: 0.55em; color: #86868b; margin: 0.2em 0 0.9em; }
.p-big { display: grid; grid-template-columns: 1fr 1fr; gap: 0.7em; }
.p-small {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0.55em;
  border-top: 1px solid #f2f2f5; margin-top: 0.8em; padding-top: 0.8em;
}
.fig { min-width: 0; }
.f-label { display: block; font-size: 0.55em; color: #86868b; }
.f-line { display: flex; align-items: baseline; gap: 0.35em; flex-wrap: wrap; }
.f-val {
  font-size: 1.05em; font-weight: 700; letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums; white-space: nowrap;
}
.f-val.sm { font-size: 0.78em; }
.f-val.profit { color: var(--profit); }
.f-delta { font-size: 0.5em; font-weight: 600; color: var(--profit); white-space: nowrap; }
.f-note {
  display: block; font-size: 0.48em; color: #a1a1a6; margin-top: 0.2em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.f-link { display: block; font-size: 0.48em; font-weight: 600; color: #0a6c2e; margin-top: 0.25em; }

/* Cursor */
.cursor {
  position: absolute; left: 50%; top: 80%; z-index: 5; pointer-events: none;
  transition: transform 0.9s cubic-bezier(.45,.05,.2,1), opacity .3s;
  opacity: 0; will-change: transform;
}
.cursor.show { opacity: 1; }
.cursor.click svg { animation: clickpulse .35s ease; }
@keyframes clickpulse { 40% { transform: scale(0.8); } 100% { transform: scale(1); } }

.demo-caption { margin: 34px auto 0; color: var(--muted); font-size: 1.0625rem; line-height: 1.6; }

/* ---------------------------------------------------------------- Bands & sections */
section { scroll-margin-top: calc(var(--nav-h) + 10px); }
.band { background: var(--band); padding: 110px 22px; }
.measure { max-width: 760px; margin: 0 auto; }
.measure.center { text-align: center; }

.statement h2 {
  font-size: clamp(1.9rem, 4.6vw, 3.2rem); letter-spacing: -0.02em; line-height: 1.12;
  font-weight: 700; margin-bottom: 30px;
}
.statement .dim { color: var(--muted); }
.statement p { font-size: 1.1875rem; color: var(--muted); margin-bottom: 18px; line-height: 1.55; }
.statement p.strong { color: var(--ink); font-weight: 600; }

/* Features */
.features { max-width: 1080px; margin: 0 auto; padding: 40px 22px; }
.feature {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 84px);
  align-items: center; padding: 84px 0;
}
.feature.flip .feature-copy { order: 2; }
.feature.flip .feature-visual { order: 1; }
.feature-copy .eyebrow { margin-bottom: 12px; color: #7da33c; }
.feature-copy h3 {
  font-size: clamp(1.8rem, 3.8vw, 2.7rem); letter-spacing: -0.02em; line-height: 1.08;
  font-weight: 700; margin-bottom: 20px;
}
.feature-copy p { color: var(--muted); font-size: 1.0625rem; margin-bottom: 14px; line-height: 1.6; }
.feature-copy strong { color: var(--ink); font-weight: 600; }

.feature-visual > div {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 24px 60px rgba(0,0,0,0.08); padding: 26px;
}

/* order card */
.oc-head { display: flex; justify-content: space-between; font-size: 0.8125rem; color: var(--muted); margin-bottom: 14px; }
.oc-line { display: flex; justify-content: space-between; padding: 7px 0; font-size: 0.9375rem; font-variant-numeric: tabular-nums; }
.oc-line.fee span:last-child { color: var(--muted); }
.oc-profit {
  display: flex; justify-content: space-between; margin-top: 12px; padding: 12px 14px;
  background: #f2fbe8; border-radius: 12px; font-weight: 700; font-size: 1.0625rem;
  font-variant-numeric: tabular-nums;
}
.oc-profit span:last-child { color: var(--profit); }

/* cost card */
.cc-title { font-weight: 600; margin-bottom: 14px; }
.cc-suggest {
  background: var(--band); border-radius: 12px; padding: 12px 14px; font-size: 0.875rem;
  color: var(--muted); display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.cc-suggest strong { color: var(--ink); }
.cc-chip { background: var(--lime); color: var(--ink); font-weight: 600; border-radius: 999px; padding: 2px 12px; font-size: 0.8125rem; }
.cc-fields { display: grid; grid-template-columns: 1fr 1.4fr; gap: 12px; margin: 16px 0; }
.cc-field { border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; }
.cc-field span { display: block; font-size: 0.75rem; color: var(--muted); }
.cc-btn { background: var(--ink); color: #fff; text-align: center; border-radius: 999px; padding: 11px; font-weight: 600; }
.cc-note { text-align: center; font-size: 0.8125rem; color: var(--muted); margin-top: 10px; }

/* refunds card */
.rf-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 9px 0; font-size: 0.9375rem; }
.rf-row.sub { padding-top: 0; font-size: 0.8125rem; color: var(--muted); }
.rf-amt { color: var(--danger); font-weight: 600; font-variant-numeric: tabular-nums; }
.rf-divider { height: 1px; background: var(--line); margin: 10px 0; }
.rf-pill { font-size: 0.75rem; font-weight: 600; border-radius: 999px; padding: 4px 12px; white-space: nowrap; }
.rf-pill.overdue { background: #feefe6; color: var(--warn); }
.rf-pill.received { background: #f2fbe8; color: var(--profit); }

/* expenses card */
.ex-row { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid #f2f2f5; font-size: 0.9375rem; }
.ex-row:last-child { border-bottom: 0; }
.ex-auto, .ex-manual {
  font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  border-radius: 6px; padding: 3px 8px;
}
.ex-auto { background: var(--lime); color: var(--ink); }
.ex-manual { background: var(--band); color: var(--muted); }
.ex-name { flex: 1; }
.ex-amt { color: var(--muted); font-variant-numeric: tabular-nums; }

/* insights stack */
.insight-stack { display: grid; gap: 14px; background: transparent !important; border: 0 !important; box-shadow: none !important; padding: 0 !important; }
.in-card {
  background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.07);
}
.in-card b { display: block; margin-bottom: 4px; }
.in-card span { color: var(--muted); font-size: 0.9375rem; }
.in-card.warn { border-left: 4px solid var(--warn); }
.in-card.danger { border-left: 4px solid var(--danger); }
.in-card.ok { border-left: 4px solid var(--profit); }

/* more row */
.more { text-align: center; }
.more h2 { font-size: clamp(2rem, 5vw, 3.4rem); letter-spacing: -0.02em; font-weight: 700; margin-bottom: 44px; }
.more-row {
  display: flex; gap: 18px; overflow-x: auto; padding: 6px 22px 26px;
  max-width: 1140px; margin: 0 auto; scroll-snap-type: x mandatory; text-align: left;
  scrollbar-width: thin;
}
.more-card {
  flex: 0 0 300px; scroll-snap-align: start; background: #fff; border-radius: var(--radius);
  border: 1px solid var(--line); padding: 26px;
}
.more-card b { display: block; font-size: 1.125rem; letter-spacing: -0.01em; margin-bottom: 10px; }
.more-card p { color: var(--muted); font-size: 0.9375rem; line-height: 1.55; }

/* privacy */
.privacy { padding: 130px 22px; text-align: center; }
.lock-badge {
  width: 74px; height: 74px; border-radius: 50%; background: var(--lime);
  display: grid; place-items: center; margin: 0 auto 30px;
}
.privacy h2 { font-size: clamp(2rem, 5vw, 3.4rem); letter-spacing: -0.02em; font-weight: 700; margin-bottom: 22px; }
.privacy p { color: var(--muted); font-size: 1.125rem; margin-bottom: 16px; line-height: 1.6; }
.privacy strong { color: var(--ink); }

/* pricing */
.pricing { text-align: center; }
.pricing h2 { font-size: clamp(2rem, 5vw, 3.2rem); letter-spacing: -0.02em; font-weight: 700; line-height: 1.1; }
.pricing-sub { color: var(--muted); font-size: 1.125rem; margin: 20px auto 30px; max-width: 560px; }

.bill-toggle {
  display: inline-flex; gap: 4px; background: #e9e9ee; border-radius: 999px; padding: 4px;
  margin-bottom: 40px;
}
.bt-opt {
  border: 0; background: transparent; font: inherit; font-size: 0.9375rem; font-weight: 600;
  color: var(--muted); padding: 9px 20px; border-radius: 999px; cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px; transition: color .2s, background .2s, box-shadow .2s;
}
.bt-opt.on { background: #fff; color: var(--ink); box-shadow: 0 2px 10px rgba(0,0,0,0.1); }
.bt-save {
  background: var(--lime); color: var(--ink); font-size: 0.6875rem; font-weight: 700;
  border-radius: 999px; padding: 2px 9px;
}
.plans { display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; }
.plan {
  background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 38px 34px;
  width: 320px; text-align: left; position: relative;
}
.plan.featured { border: 2px solid var(--ink); box-shadow: 0 24px 60px rgba(0,0,0,0.1); }
.plan-badge {
  position: absolute; top: -13px; left: 30px; background: var(--lime); color: var(--ink);
  font-size: 0.75rem; font-weight: 700; border-radius: 999px; padding: 4px 14px;
}
.plan-name { font-weight: 600; font-size: 1.0625rem; margin-bottom: 8px; }
.plan-price { font-variant-numeric: tabular-nums; color: var(--muted); }
.plan-price .big { font-size: 2.6rem; font-weight: 700; letter-spacing: -0.03em; color: var(--ink); }
.plan-alt { font-size: 0.875rem; color: var(--muted); margin: 6px 0 22px; }
.plan ul { list-style: none; margin-bottom: 28px; }
.plan li { padding: 7px 0 7px 26px; position: relative; font-size: 0.9375rem; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--profit); font-weight: 700; }
.plan .btn { width: 100%; }
.custom-note { margin-top: 34px; color: var(--muted); font-size: 0.9375rem; }
.custom-note a { text-decoration: underline; text-underline-offset: 3px; }

/* faq */
.faq { max-width: 720px; margin: 0 auto; padding: 110px 22px; }
.faq h2 { text-align: center; font-size: clamp(2rem, 5vw, 3rem); letter-spacing: -0.02em; font-weight: 700; margin-bottom: 44px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center;
  padding: 22px 4px; font-weight: 600; font-size: 1.0625rem; gap: 20px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; font-weight: 400; color: var(--muted); transition: transform .25s; flex-shrink: 0; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 4px 22px; color: var(--muted); line-height: 1.6; }

/* final */
.final { text-align: center; }
.final h2 { font-size: clamp(2.1rem, 5.4vw, 3.6rem); letter-spacing: -0.02em; font-weight: 700; }
.final p { color: var(--muted); font-size: 1.25rem; margin-top: 10px; }
.final .hero-cta { margin-top: 30px; }

/* footer */
.footer { border-top: 1px solid var(--line); padding: 54px 22px 64px; }
.footer-inner { max-width: 1080px; margin: 0 auto; }
.wordmark.foot { height: 18px; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; margin: 22px 0; }
.footer-links a { font-size: 0.8125rem; color: var(--muted); }
.footer-links a:hover { color: var(--ink); }
.footer-legal { font-size: 0.75rem; color: #a1a1a6; line-height: 1.7; }

/* ---------------------------------------------------------------- Cookie banner */
.cookie-banner {
  position: fixed; z-index: 90; right: 20px; bottom: 20px; left: 20px;
  max-width: 440px; margin-left: auto;
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.16);
  padding: 20px 22px;
  opacity: 0; transform: translateY(14px);
  transition: opacity .5s ease, transform .5s cubic-bezier(.2,.65,.25,1);
}
.cookie-banner.show { opacity: 1; transform: none; }
.cookie-banner b { display: block; margin-bottom: 6px; font-size: 0.9375rem; }
.cookie-banner p { font-size: 0.8125rem; color: var(--muted); line-height: 1.55; margin-bottom: 14px; }
.cookie-banner p a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.cookie-actions { display: flex; gap: 10px; align-items: center; }

/* ---------------------------------------------------------------- Legal pages */
.legal { max-width: 720px; margin: 0 auto; padding: calc(var(--nav-h) + 64px) 22px 90px; }
.legal h1 { font-size: clamp(2rem, 5vw, 3rem); letter-spacing: -0.02em; font-weight: 700; margin-bottom: 10px; }
.legal .updated { color: var(--muted); font-size: 0.875rem; margin-bottom: 40px; }
.legal h2 { font-size: 1.375rem; letter-spacing: -0.015em; font-weight: 700; margin: 40px 0 12px; }
.legal h3 { font-size: 1.0625rem; font-weight: 600; margin: 24px 0 8px; }
.legal p, .legal li { color: #48484c; font-size: 1rem; line-height: 1.65; margin-bottom: 12px; }
.legal ul { padding-left: 22px; margin-bottom: 14px; }
.legal li { margin-bottom: 6px; }
.legal strong { color: var(--ink); }
.legal a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.legal .note {
  background: var(--band); border-radius: 14px; padding: 16px 18px;
  font-size: 0.9375rem; color: var(--muted); margin: 20px 0;
}

/* ---------------------------------------------------------------- Affiliate page */
.aff-stats {
  max-width: 1080px; margin: 40px auto 0; padding: 0 22px 30px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
}
.aff-stat {
  background: var(--band); border-radius: var(--radius);
  padding: 30px 22px; text-align: center;
}
.aff-stat b {
  display: block; font-size: 2.1rem; font-weight: 700;
  letter-spacing: -0.025em; margin-bottom: 6px;
}
.aff-stat span { color: var(--muted); font-size: 0.875rem; line-height: 1.45; display: block; }

.aff-h2 {
  text-align: center; font-size: clamp(2rem, 5vw, 3.2rem);
  letter-spacing: -0.02em; font-weight: 700; margin-bottom: 44px;
}

.aff-worth h2 { font-size: clamp(2rem, 5vw, 3.2rem); letter-spacing: -0.02em; font-weight: 700; }
.aff-worth-sub { color: var(--muted); font-size: 1.125rem; margin: 18px auto 30px; max-width: 560px; }
.aff-example {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 12px 26px; text-align: left; box-shadow: 0 14px 40px rgba(0,0,0,0.06);
}
.ae-row {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  padding: 16px 0; border-bottom: 1px solid #f2f2f5; font-size: 0.9375rem;
  color: var(--muted); flex-wrap: wrap;
}
.ae-row:last-child { border-bottom: 0; }
.ae-row strong { color: var(--ink); font-weight: 600; }
.ae-row b { color: var(--ink); font-weight: 700; font-variant-numeric: tabular-nums; }
.ae-row.total { border-top: 2px solid var(--ink); }
.ae-row.total b:last-child { color: var(--profit); font-size: 1.125rem; }
.aff-worth-note { color: var(--muted); font-size: 0.875rem; margin-top: 22px; }

.aff-join { max-width: 1080px; margin: 0 auto; padding: 110px 22px 90px; }
.aff-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.aff-step {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; background: #fff;
}
.aff-step .num {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--lime); color: var(--ink); font-weight: 700; font-size: 1.0625rem;
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.aff-step h3 { font-size: 1.1875rem; letter-spacing: -0.015em; font-weight: 700; margin-bottom: 10px; }
.aff-step p { color: var(--muted); font-size: 0.9375rem; line-height: 1.6; }
.aff-step strong { color: var(--ink); font-weight: 600; }
.aff-step a { color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

.aff-who .aff-who-grid {
  max-width: 1080px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
}
.aff-who .more-card { min-width: 0; text-align: left; }

.aff-terms { max-width: 720px; margin: 0 auto; padding: 110px 22px; }
.aff-terms-card {
  background: var(--band); border-radius: var(--radius); padding: 30px 34px;
}
.aff-terms-card ul { list-style: none; }
.aff-terms-card li {
  padding: 9px 0 9px 28px; position: relative;
  color: var(--muted); font-size: 0.9375rem; line-height: 1.6;
}
.aff-terms-card li::before { content: "✓"; position: absolute; left: 0; color: var(--profit); font-weight: 700; }
.aff-terms-card strong { color: var(--ink); font-weight: 600; }

/* ---------------------------------------------------------------- Reveals */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.65,.25,1); }
.reveal.d1 { transition-delay: .12s; }
.reveal.d2 { transition-delay: .24s; }
.reveal.d3 { transition-delay: .36s; }
.reveal.in { opacity: 1; transform: none; }

/* ---------------------------------------------------------------- Responsive */
@media (max-width: 860px) {
  .nav-links { display: none; }
  .feature { grid-template-columns: 1fr; padding: 56px 0; gap: 30px; }
  .feature.flip .feature-copy { order: 1; }
  .feature.flip .feature-visual { order: 2; }
  .mini-side { display: none; }
  /* One panel fits a phone-sized screen; the month is the one that matters. */
  .panels { grid-template-columns: 1fr; }
  .panel-col:last-child { display: none; }
  .mini-card { width: 62%; }
  .band { padding: 80px 22px; }
  .aff-stats { grid-template-columns: repeat(2, 1fr); }
  .aff-steps { grid-template-columns: 1fr; }
  .aff-who .aff-who-grid { grid-template-columns: 1fr 1fr; }
  .ae-row { flex-direction: column; align-items: flex-start; gap: 4px; }
}
@media (max-width: 520px) {
  .aff-stats { grid-template-columns: 1fr 1fr; gap: 10px; }
  .aff-who .aff-who-grid { grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------------- Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .lid { transition: none; transform: rotateX(0); }
  .cursor { display: none; }
  * { animation-duration: 0.001s !important; }
}
