/* ============================================================
   SaleSwift homepage — editorial "plain ink" redesign.
   Paper + hairlines + mono labels + serif italic accents.
   Palette: SaleSwift ink/blue on paper.
   ============================================================ */

:root {
  --ink: #070D1F;
  --ink-2: #0C1531;
  --blue: #2C52B8;
  --blue-bright: #4F7BF0;
  --paper: #F5F7FC;
  --card: #FFFFFF;
  --mut: #5A6480;
  --line: rgba(7, 13, 31, 0.14);
  --line-soft: rgba(7, 13, 31, 0.08);
  --green: #14804A;
  --green-soft: rgba(20, 128, 74, 0.1);
  --amber: #B45309;
  --amber-soft: rgba(245, 158, 11, 0.14);
  --fs: "Archivo", system-ui, sans-serif;
  --fserif: "Newsreader", Georgia, serif;
  --fm: "Spline Sans Mono", ui-monospace, monospace;
  --shell: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

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

img { max-width: 100%; height: auto; }
a { color: inherit; }

.shell { max-width: var(--shell); margin: 0 auto; padding: 0 28px; }
.mono { font-family: var(--fm); }
.serif { font-family: var(--fserif); font-style: italic; font-weight: 400; text-transform: none; letter-spacing: 0; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--ink); color: #fff; padding: 10px 18px;
  font-family: var(--fm); font-size: 12px; text-transform: uppercase;
}
.skip-link:focus { left: 0; }

/* ---------------- buttons & chips ---------------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--fm); font-size: 12.5px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none;
  padding: 13px 22px; border: 1px solid var(--ink); border-radius: 4px;
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: var(--blue); border-color: var(--blue); }
.btn--line { background: transparent; color: var(--ink); }
.btn--line:hover { background: var(--ink); color: #fff; }
.btn--paper { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn--paper:hover { background: var(--blue-bright); border-color: var(--blue-bright); color: #fff; }
.btn--sm { padding: 9px 16px; font-size: 11.5px; }
.btn--lg { padding: 16px 28px; font-size: 13px; }
.btn--wide { width: 100%; justify-content: center; margin-top: 22px; }

.chip {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 10px; font-weight: 600; letter-spacing: 0.08em;
  padding: 4px 9px; border: 1px solid var(--line);
  border-radius: 3px; color: var(--mut); background: var(--card);
  white-space: nowrap;
}
.chip--green { color: var(--green); border-color: rgba(20, 128, 74, 0.35); background: var(--green-soft); }
.chip--amber { color: var(--amber); border-color: rgba(180, 83, 9, 0.35); background: var(--amber-soft); }

/* ---------------- topbar ---------------- */
.topbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(245, 247, 252, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.topbar__inner { display: flex; align-items: center; gap: 34px; height: 62px; }
.brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; }
.brand__word { font-family: var(--fm); font-weight: 700; font-size: 15px; letter-spacing: 0.06em; }
.brand__word i { font-style: normal; color: var(--blue); }
.topbar__links { display: flex; gap: 26px; margin-left: auto; }
.topbar__links a {
  font-family: var(--fm); font-size: 11.5px; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none;
  color: var(--mut); transition: color 0.15s ease;
}
.topbar__links a:hover { color: var(--ink); }

/* ---------------- reveal (progressive) ---------------- */
.js-reveal [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
.js-reveal [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------------- hero ---------------- */
.hero { padding: 84px 0 0; border-bottom: 1px solid var(--line); }
.hero__time { font-size: 12px; letter-spacing: 0.14em; color: var(--mut); margin: 0 0 26px; }
.hero__title {
  font-size: clamp(37px, 7.2vw, 96px);
  font-weight: 800; line-height: 0.98; letter-spacing: -0.025em;
  text-transform: uppercase; margin: 0 0 46px; max-width: 1050px;
}
.hero__title .serif { font-weight: 500; font-size: 0.96em; color: var(--blue); }

.beats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  list-style: none; margin: 0 0 54px; padding: 0;
  border: 1px solid var(--line); border-radius: 6px; overflow: hidden; background: var(--card);
}
.beat { display: flex; flex-direction: column; gap: 10px; padding: 20px 22px; border-left: 1px solid var(--line); }
.beat:first-child { border-left: 0; }
.beat__no { font-size: 11px; color: var(--blue); font-weight: 600; letter-spacing: 0.12em; }
.beat__t { font-size: 14.5px; font-weight: 600; letter-spacing: -0.01em; }

.hero__problem { max-width: 780px; margin: 0 0 46px; padding-top: 34px; border-top: 1px solid var(--line); }
.hero__problem-lead { font-size: 17px; color: var(--mut); margin: 0 0 18px; max-width: 560px; }
.hero__problem-big {
  font-size: clamp(26px, 3.6vw, 44px); font-weight: 800; text-transform: uppercase;
  letter-spacing: -0.02em; line-height: 1.08; margin: 0;
}
.hero__problem-big .serif { font-weight: 500; color: var(--blue); }

.hero__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; padding-bottom: 64px; }
.hero__note { font-size: 10.5px; letter-spacing: 0.12em; color: var(--mut); }

/* ---------------- marquee ---------------- */
.marquee { overflow: hidden; border-top: 1px solid var(--line); background: var(--ink); }
.marquee__track {
  display: inline-flex; align-items: center; gap: 28px; white-space: nowrap;
  padding: 13px 0; color: rgba(255, 255, 255, 0.85);
  font-size: 11px; font-weight: 500; letter-spacing: 0.14em;
  animation: marquee 44s linear infinite; will-change: transform;
}
.marquee__track i { font-style: normal; color: var(--blue-bright); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } }

/* ---------------- demo / slip ---------------- */
.demo { padding: 96px 0; border-bottom: 1px solid var(--line); }
.demo__grid { display: grid; grid-template-columns: 420px 1fr; gap: 72px; align-items: start; }

.slip {
  margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: 8px;
  padding: 26px 26px 24px; box-shadow: 0 20px 50px -30px rgba(7, 13, 31, 0.35);
  position: sticky; top: 92px;
}
.slip__head { display: flex; justify-content: space-between; gap: 12px; font-size: 10.5px; letter-spacing: 0.1em; color: var(--mut); padding-bottom: 12px; border-bottom: 1px dashed var(--line); }
.slip__meta { display: flex; justify-content: space-between; font-size: 10.5px; letter-spacing: 0.1em; color: var(--mut); padding: 12px 0; }
.slip__items { list-style: none; margin: 0; padding: 0 0 14px; border-bottom: 1px dashed var(--line); }
.slip__items li { display: flex; justify-content: space-between; gap: 14px; font-size: 14.5px; padding: 6px 0; }
.slip__items b { font-weight: 600; font-size: 13px; }
.slip__items .serif { color: var(--mut); font-size: 0.95em; }
.slip__totals { display: grid; grid-template-columns: 1fr auto; gap: 4px 18px; padding: 14px 0; font-size: 11.5px; letter-spacing: 0.08em; color: var(--mut); border-bottom: 1px dashed var(--line); }
.slip__totals b { text-align: right; font-weight: 600; color: var(--ink); }
.slip__grand { font-size: 15px; font-weight: 700; color: var(--ink); padding-top: 4px; }
.slip__status { display: flex; gap: 8px; flex-wrap: wrap; padding-top: 16px; }

.kicker { font-size: 12px; letter-spacing: 0.14em; color: var(--amber); margin: 0 0 18px; font-weight: 600; }
.h-giant {
  font-size: clamp(30px, 4.6vw, 58px); font-weight: 800; letter-spacing: -0.025em;
  line-height: 1.02; text-transform: uppercase; margin: 0 0 22px;
}
.h-giant .serif { font-weight: 500; color: var(--blue); }
.demo__lead { font-size: 17px; color: var(--mut); max-width: 560px; margin: 0 0 36px; }

.events { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.events li {
  display: grid; grid-template-columns: 64px 1fr auto; gap: 18px; align-items: center;
  padding: 15px 0; border-bottom: 1px solid var(--line-soft); font-size: 14.5px;
}
.events__t { font-size: 12px; color: var(--mut); letter-spacing: 0.06em; }

/* ---------------- numbers tape ---------------- */
.tape { border-bottom: 1px solid var(--line); background: var(--card); }
.tape__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.tape__cell { padding: 40px 26px; border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.tape__cell:first-child { border-left: 0; }
.tape__num { font-size: clamp(26px, 3vw, 38px); font-weight: 700; letter-spacing: -0.02em; }
.tape__label { font-size: 10px; letter-spacing: 0.12em; color: var(--mut); }

/* ---------------- generic section ---------------- */
.sec { padding: 100px 0; }
.sec--rule { border-top: 1px solid var(--line); }
.sec__head { margin-bottom: 56px; max-width: 900px; }
.sec__no {
  display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: 0.16em;
  color: var(--blue); border: 1px solid var(--line); border-radius: 3px;
  padding: 4px 10px; margin-bottom: 20px; background: var(--card);
}
.sec__title {
  font-size: clamp(26px, 4.2vw, 52px); font-weight: 800; letter-spacing: -0.02em;
  line-height: 1.04; text-transform: uppercase; margin: 0 0 16px;
}
.sec__title .dash { color: var(--blue); }
.sec__sub { font-size: 20px; color: var(--mut); margin: 0; }

/* ---------------- grids ---------------- */
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }

/* ---------------- 01 cost cards ---------------- */
.cost { background: var(--card); border: 1px solid var(--line); border-radius: 6px; padding: 26px 24px; }
.cost__big {
  display: block; font-size: 24px; font-weight: 800; line-height: 1.05;
  letter-spacing: -0.01em; margin-bottom: 14px; padding-bottom: 14px;
  border-bottom: 1px solid var(--line-soft); color: var(--ink);
}
.cost p { font-size: 13.5px; color: var(--mut); line-height: 1.6; margin: 0; }

/* ---------------- 02 day timeline ---------------- */
.day { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.day__row {
  display: grid; grid-template-columns: 110px 1fr auto; gap: 30px; align-items: start;
  padding: 30px 0; border-bottom: 1px solid var(--line);
}
.day__time { font-size: 20px; font-weight: 700; letter-spacing: -0.01em; color: var(--ink); }
.day__body h3 { font-size: 19px; font-weight: 700; letter-spacing: -0.015em; margin: 0 0 8px; text-transform: uppercase; }
.day__body p { font-size: 14.5px; color: var(--mut); line-height: 1.65; margin: 0; max-width: 640px; }
.day__row--outage { background: linear-gradient(90deg, var(--amber-soft), transparent 70%); margin: 0 -18px; padding-left: 18px; padding-right: 18px; border-radius: 6px; }
.day__row--outage .day__time { color: var(--amber); }

/* ---------------- 03 toolkit ---------------- */
.tool { background: var(--card); border: 1px solid var(--line); border-radius: 6px; padding: 26px 24px; display: flex; flex-direction: column; }
.tool__tag { font-size: 10.5px; font-weight: 600; letter-spacing: 0.14em; color: var(--blue); margin-bottom: 16px; }
.tool h3 { font-size: 19px; font-weight: 700; letter-spacing: -0.015em; margin: 0 0 10px; }
.tool p { font-size: 13.5px; color: var(--mut); line-height: 1.62; margin: 0 0 18px; }
.tool__metric {
  margin-top: auto; font-size: 10px; letter-spacing: 0.12em; color: var(--ink);
  border-top: 1px dashed var(--line); padding-top: 12px;
}

/* ---------------- 04 products ---------------- */
.product { background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 32px 30px; }
.product__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.product__tag { font-size: 10.5px; font-weight: 600; letter-spacing: 0.14em; color: var(--blue); }
.product__name { font-size: clamp(24px, 2.6vw, 32px); font-weight: 800; letter-spacing: -0.02em; margin: 0 0 12px; }
.product__name .serif { font-weight: 400; font-size: 0.72em; color: var(--mut); }
.product > p { font-size: 15px; color: var(--mut); line-height: 1.65; margin: 0 0 20px; }
.product__ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }

.checks { list-style: none; margin: 0; padding: 0; }
.checks li {
  position: relative; padding: 9px 0 9px 30px; font-size: 14.5px;
  border-bottom: 1px solid var(--line-soft);
}
.checks li::before {
  content: "\2713"; position: absolute; left: 2px; top: 8px;
  font-family: var(--fm); font-weight: 700; font-size: 13px; color: var(--green);
}

/* ---------------- 05 flow ---------------- */
.flow {
  display: flex; align-items: center; flex-wrap: wrap; gap: 12px;
  border: 1px solid var(--line); border-radius: 6px; background: var(--card);
  padding: 26px 28px; margin-bottom: 26px;
}
.flow__node {
  font-size: 12px; font-weight: 600; letter-spacing: 0.1em;
  border: 1px solid var(--ink); border-radius: 4px; padding: 10px 16px; background: var(--paper);
}
.flow__node--q { border-style: dashed; color: var(--mut); }
.flow__node--green { background: var(--green); border-color: var(--green); color: #fff; }
.flow__arrow { color: var(--blue); font-size: 16px; }
.flow__alt { flex-basis: 100%; font-size: 10.5px; letter-spacing: 0.12em; color: var(--mut); padding-top: 6px; }

/* ---------------- 06 steps ---------------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: 6px; padding: 28px 26px; }
.step__no { display: inline-block; font-size: 10.5px; font-weight: 600; letter-spacing: 0.14em; color: var(--blue); margin-bottom: 16px; }
.step h3 { font-size: 19px; font-weight: 700; letter-spacing: -0.015em; margin: 0 0 10px; }
.step p { font-size: 13.5px; color: var(--mut); line-height: 1.62; margin: 0; }

/* ---------------- 07 stories ---------------- */
.story { background: var(--card); border: 1px solid var(--line); border-radius: 6px; padding: 28px 26px; display: flex; flex-direction: column; gap: 16px; }
.story__tag { font-size: 10px; font-weight: 600; letter-spacing: 0.12em; color: var(--mut); }
.story__quote { font-size: 19px; line-height: 1.5; color: var(--ink); margin: 0; }
.story__meta { margin-top: auto; font-size: 10px; letter-spacing: 0.12em; color: var(--blue); border-top: 1px dashed var(--line); padding-top: 14px; }

/* ---------------- 08 rates ---------------- */
.rate { background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 32px 30px; }
.rate__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 22px; }
.rate__name { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; }
.rate__price { display: flex; align-items: baseline; gap: 12px; margin: 0 0 20px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.rate__price b { font-size: clamp(38px, 4vw, 52px); font-weight: 700; letter-spacing: -0.03em; }
.rate__price span { font-size: 11px; letter-spacing: 0.12em; color: var(--mut); }
.rates__note { margin: 34px 0 0; font-size: 10.5px; letter-spacing: 0.12em; color: var(--mut); text-align: center; }

/* ---------------- 09 faq ---------------- */
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  display: grid; grid-template-columns: 70px 1fr auto; gap: 20px; align-items: center;
  list-style: none; cursor: pointer; padding: 22px 0;
  font-size: 17px; font-weight: 600; letter-spacing: -0.01em;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__no { font-size: 11px; font-weight: 600; letter-spacing: 0.14em; color: var(--blue); }
.faq__mark { position: relative; width: 16px; height: 16px; }
.faq__mark::before, .faq__mark::after {
  content: ""; position: absolute; background: var(--ink); transition: transform 0.2s ease;
}
.faq__mark::before { left: 0; top: 7px; width: 16px; height: 2px; }
.faq__mark::after { left: 7px; top: 0; width: 2px; height: 16px; }
.faq__item[open] .faq__mark::after { transform: scaleY(0); }
.faq__item p { margin: 0 0 24px; padding-left: 90px; max-width: 760px; font-size: 15px; line-height: 1.7; color: var(--mut); }
.faq__item p a { color: var(--blue); font-weight: 600; }

/* ---------------- big CTA ---------------- */
.cta { background: var(--ink); color: #fff; padding: 110px 0; text-align: center; }
.cta__kicker { font-size: 11px; letter-spacing: 0.16em; color: var(--blue-bright); margin: 0 0 26px; }
.cta__title {
  font-size: clamp(44px, 6.4vw, 84px); font-weight: 800; letter-spacing: -0.025em;
  line-height: 0.98; text-transform: uppercase; margin: 0 0 24px;
}
.cta__title .serif { font-weight: 500; color: #A9C0FF; }
.cta__lead { font-size: 17px; color: rgba(255, 255, 255, 0.72); max-width: 520px; margin: 0 auto 38px; }
.cta__actions { display: flex; justify-content: center; }
.cta__note { margin: 26px 0 0; font-size: 10.5px; letter-spacing: 0.14em; color: rgba(255, 255, 255, 0.55); }

/* ---------------- footer ---------------- */
.footer { background: var(--ink-2); color: rgba(255, 255, 255, 0.72); border-top: 1px solid rgba(255, 255, 255, 0.1); }
.footer__inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-top: 64px; padding-bottom: 48px; }
.brand--footer .brand__word { color: #fff; }
.footer__brand p { font-size: 13.5px; line-height: 1.65; max-width: 320px; margin: 16px 0 18px; }
.footer__mail { font-size: 12px; letter-spacing: 0.1em; color: var(--blue-bright); text-decoration: none; }
.footer__mail:hover { text-decoration: underline; }
.footer__col h3 { font-size: 10.5px; font-weight: 600; letter-spacing: 0.16em; color: rgba(255, 255, 255, 0.45); margin: 4px 0 16px; }
.footer__col a { display: block; font-size: 13.5px; color: rgba(255, 255, 255, 0.78); text-decoration: none; padding: 5px 0; }
.footer__col a:hover { color: #fff; }
.footer__base {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 22px; padding-bottom: 26px;
  font-size: 10px; letter-spacing: 0.14em; color: rgba(255, 255, 255, 0.45);
}

/* ============================================================
   Scrolly — pinned scroll-driven story
   Static fallback by default; html.js-scrolly enables pinning.
   Stage progression via [data-stage="0..3"] set from scroll.
   ============================================================ */
.scrolly { border-bottom: 1px solid var(--line); background: var(--paper); position: relative; }
.js-scrolly .scrolly { height: 420vh; }
.scrolly__pin { padding: 80px 0; }
.js-scrolly .scrolly__pin {
  position: sticky; top: 0; height: 100vh; padding: 0;
  display: flex; flex-direction: column; justify-content: center; overflow: hidden;
}

.scrolly__top {
  display: flex; justify-content: space-between; gap: 16px;
  font-size: 11px; letter-spacing: 0.14em; color: var(--mut);
  padding: 16px 28px; border-bottom: 1px solid var(--line);
}
.js-scrolly .scrolly__top { position: absolute; top: 62px; left: 0; right: 0; background: var(--paper); }
.scrolly__caption { color: var(--amber); font-weight: 600; }

.scrolly__stage { display: grid; grid-template-columns: 230px 1fr; gap: 48px; align-items: center; width: 100%; }

/* checklist rail */
.rail { list-style: none; margin: 0; padding: 0 0 0 22px; border-left: 2px solid var(--line); display: flex; flex-direction: column; gap: 28px; }
.rail li {
  display: flex; align-items: center; gap: 11px;
  font-size: 10.5px; letter-spacing: 0.13em; color: var(--mut);
  transition: color 0.35s ease;
}
.rail li::before {
  content: ""; flex: none; width: 10px; height: 10px;
  border: 1.5px solid currentColor; transition: background 0.35s ease, border-color 0.35s ease;
}
.rail li.is-now { color: var(--blue); }
.rail li.is-done { color: var(--ink); }
.rail li.is-done::before { background: var(--green); border-color: var(--green); }

/* layered scenes */
.scrolly__scenes { position: relative; min-height: 560px; }
.sc-layer { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 8px; }
.js-scrolly .sc-layer { position: absolute; inset: 0; }
.scrolly .sc-layer + .sc-layer { margin-top: 56px; }
.js-scrolly .scrolly .sc-layer + .sc-layer { margin-top: 0; }

.sc-headline .kicker { margin-bottom: 22px; }
.sc-headline .h-giant { margin-bottom: 18px; }
.sc-hint { font-size: 11px; letter-spacing: 0.16em; color: var(--mut); margin-top: 26px; }

/* printer + slip + side card */
.sc-cards { display: flex; align-items: flex-start; justify-content: center; gap: 30px; position: relative; z-index: 2; }
.printer { width: 340px; flex: none; }
.printer__bar {
  display: flex; justify-content: space-between; align-items: center;
  background: var(--ink); color: #fff; border-radius: 6px 6px 0 0;
  padding: 11px 16px; font-size: 10.5px; letter-spacing: 0.13em;
  position: relative; z-index: 2;
}
.printer__live { color: #7EF0B0; }
.printer__mask { overflow: hidden; }
.printer .slip { position: static; box-shadow: 0 24px 44px -28px rgba(7, 13, 31, 0.4); border-radius: 0 0 8px 8px; }

.sidecard {
  width: 270px; flex: none; background: var(--card); border: 1px solid var(--line);
  border-radius: 8px; padding: 20px; text-align: left;
  box-shadow: 0 20px 40px -28px rgba(7, 13, 31, 0.35);
}
.sidecard__head {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  font-size: 10.5px; letter-spacing: 0.12em; color: var(--mut);
  padding-bottom: 12px; margin-bottom: 6px; border-bottom: 1px dashed var(--line);
}
.sidecard__rows { list-style: none; margin: 0; padding: 0; }
.sidecard__rows li {
  display: flex; justify-content: space-between; gap: 12px; align-items: center;
  font-size: 13.5px; padding: 9px 0; border-bottom: 1px solid var(--line-soft);
}
.sidecard__rows li:last-child { border-bottom: 0; }
.sidecard__rows .mono { font-size: 12px; font-weight: 600; }
.sidecard__foot { margin-top: 8px; }

/* loyalty variant */
.sidecard--loyal .loyal__tier {
  display: inline-block; font-size: 10px; font-weight: 700; letter-spacing: 0.2em;
  background: var(--ink); color: #F5D9A8; border-radius: 3px; padding: 4px 10px;
}
.loyal__name { font-size: 15px; font-weight: 700; margin: 12px 0 2px; }
.loyal__pts { font-size: 11px; letter-spacing: 0.1em; color: var(--mut); }
.loyal__delta { color: var(--green); font-weight: 700; }

/* tilted tag + stamp + ghost wordmark */
.sc-tag {
  position: absolute; z-index: 3; left: 50%; top: 52%;
  transform: translate(-50%, 0) rotate(-4deg);
  background: var(--card); border: 1px solid var(--ink); border-radius: 3px;
  padding: 7px 12px; font-size: 10.5px; letter-spacing: 0.1em; font-weight: 600;
  box-shadow: 3px 3px 0 var(--ink);
}
.sc-stamp {
  position: absolute; z-index: 4; left: 50%; top: 46%;
  transform: translate(-50%, -50%) rotate(-7deg);
  border: 2.5px solid var(--green); color: var(--green); border-radius: 6px;
  padding: 12px 22px; font-size: 15px; font-weight: 700; letter-spacing: 0.14em;
  background: rgba(245, 247, 252, 0.88);
}
.sc-stamp--blue { border-color: var(--blue); color: var(--blue); }
.sc-word {
  position: absolute; inset: 0; z-index: 3;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px;
  pointer-events: none;
}
.sc-word b {
  font-family: var(--fs); font-size: clamp(64px, 10vw, 150px); font-weight: 900;
  letter-spacing: -0.03em; color: var(--ink); line-height: 1; text-transform: uppercase;
}
.sc-word b i { font-style: normal; color: var(--blue); }
.sc-word span { font-size: 11px; letter-spacing: 0.18em; color: var(--mut); }

/* debug harness: ?scrolly=N pins a stage with no transitions */
.scrolly-debug .scrolly,
.scrolly-debug .scrolly * { transition: none !important; }

/* ---- stage choreography (pinned mode only) ---- */
.js-scrolly .sc-headline,
.js-scrolly .sc-cards,
.js-scrolly .sidecard,
.js-scrolly .sc-tag,
.js-scrolly .sc-stamp,
.js-scrolly .sc-word { transition: opacity 0.55s ease, transform 0.55s ease; }
.js-scrolly .printer .slip { transition: transform 1.25s cubic-bezier(0.22, 1, 0.36, 1); }

.js-scrolly .scrolly:not([data-stage="0"]) .sc-headline { opacity: 0; transform: translateY(-36px); pointer-events: none; }
.js-scrolly .scrolly[data-stage="0"] .sc-cards { opacity: 0; transform: translateY(52px); pointer-events: none; }
.js-scrolly .scrolly[data-stage="0"] .printer .slip { transform: translateY(-94%); }
.js-scrolly .scrolly .sidecard { opacity: 0; transform: translateX(44px); }
.js-scrolly .scrolly[data-stage="2"] .sidecard,
.js-scrolly .scrolly[data-stage="3"] .sidecard { opacity: 1; transform: none; }
.js-scrolly .scrolly .sc-tag { opacity: 0; transform: translate(-50%, 18px) rotate(-4deg); }
.js-scrolly .scrolly[data-stage="2"] .sc-tag,
.js-scrolly .scrolly[data-stage="3"] .sc-tag { opacity: 1; transform: translate(-50%, 0) rotate(-4deg); }
.js-scrolly .scrolly .sc-stamp { opacity: 0; transform: translate(-50%, -50%) rotate(-14deg) scale(1.6); }
.js-scrolly .scrolly[data-stage="3"] .sc-stamp {
  opacity: 1; transform: translate(-50%, -50%) rotate(-7deg) scale(1);
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.js-scrolly .scrolly .sc-word { opacity: 0; transform: scale(0.96); }
.js-scrolly .scrolly[data-stage="3"] .sc-word { opacity: 1; transform: none; }
.js-scrolly .scrolly[data-stage="3"] .sc-cards { opacity: 0.13; }
.js-scrolly .scrolly[data-stage="3"] .sc-tag { opacity: 0.13; }

/* static fallback tidy-up */
html:not(.js-scrolly) .sc-word { position: static; margin-top: 30px; }
html:not(.js-scrolly) .sc-word b { font-size: clamp(40px, 6vw, 72px); }
html:not(.js-scrolly) .sc-stamp,
html:not(.js-scrolly) .sc-tag { position: static; transform: rotate(-3deg); display: inline-block; margin-top: 20px; }

/* ============================================================
   Subpage bits — page hero kicker, legal prose
   ============================================================ */
.pagehead { padding: 72px 0 64px; }
.pagehead .kicker { color: var(--blue); }
.pagehead__title {
  font-size: clamp(37px, 6.4vw, 84px);
  font-weight: 800; line-height: 0.99; letter-spacing: -0.025em;
  text-transform: uppercase; margin: 0 0 26px; max-width: 1020px;
}
.pagehead__title .serif { font-weight: 500; font-size: 0.96em; color: var(--blue); }
.pagehead__lead { font-size: 17px; color: var(--mut); max-width: 620px; margin: 0 0 34px; }
.pagehead__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; }

.rate--solo { max-width: 640px; margin: 0 auto; }
.crumbs { font-size: 10.5px; letter-spacing: 0.12em; color: var(--mut); margin-bottom: 26px; }
.crumbs a { color: var(--mut); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }

.legal { max-width: 740px; }
.legal .updated { font-family: var(--fm); font-size: 11px; letter-spacing: 0.12em; color: var(--mut); }
.legal h2 {
  font-size: 20px; font-weight: 800; letter-spacing: -0.01em; text-transform: uppercase;
  margin: 44px 0 12px; padding-top: 22px; border-top: 1px solid var(--line);
}
.legal h2:first-of-type { margin-top: 28px; }
.legal p, .legal li { font-size: 15px; line-height: 1.75; color: #333B54; }
.legal ul { padding-left: 22px; margin: 10px 0 18px; }
.legal a { color: var(--blue); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.legal a:hover { text-decoration: none; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1020px) {
  .grid4 { grid-template-columns: 1fr 1fr; }
  .tape__grid { grid-template-columns: 1fr 1fr; }
  .tape__cell:nth-child(3) { border-left: 0; }
  .tape__cell { border-top: 1px solid var(--line); }
  .tape__cell:nth-child(-n+2) { border-top: 0; }
  .demo__grid { grid-template-columns: 1fr; gap: 48px; }
  .slip { position: static; max-width: 460px; }
  .grid3 { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
}

@media (max-width: 1020px) and (min-width: 761px) {
  .scrolly__stage { grid-template-columns: 170px 1fr; gap: 28px; }
  .sidecard { width: 230px; }
}

@media (max-width: 760px) {
  .topbar__links { display: none; }
  .scrolly__stage { grid-template-columns: 1fr; gap: 30px; }
  .rail { flex-direction: row; flex-wrap: wrap; gap: 14px 20px; border-left: 0; padding: 0 0 14px; border-bottom: 1px solid var(--line); }
  .js-scrolly .rail { display: none; }
  .scrolly__scenes { min-height: 480px; }
  .sc-cards { flex-direction: column; align-items: center; gap: 20px; zoom: 0.82; }
  .printer { width: min(340px, 100%); }
  .sidecard { width: min(340px, 100%); }
  .js-scrolly .scrolly .sidecard { transform: translateY(30px); }
  .sc-word b { font-size: clamp(44px, 13vw, 84px); }
  .scrolly__top { padding: 14px 20px; font-size: 9.5px; }
  .js-scrolly .scrolly__top span:first-child { display: none; }
  .hero { padding-top: 56px; }
  .beats { grid-template-columns: 1fr 1fr; }
  .beat { border-top: 1px solid var(--line); }
  .beat:nth-child(-n+2) { border-top: 0; }
  .beat:nth-child(odd) { border-left: 0; }
  .grid2, .grid3, .grid4 { grid-template-columns: 1fr; }
  .sec { padding: 72px 0; }
  .day__row { grid-template-columns: 1fr; gap: 10px; }
  .day__row .chip { justify-self: start; }
  .events li { grid-template-columns: 52px 1fr; }
  .events li .chip { grid-column: 2; justify-self: start; }
  .faq__item summary { grid-template-columns: 1fr auto; }
  .faq__no { display: none; }
  .faq__item p { padding-left: 0; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .tape__grid { grid-template-columns: 1fr; }
  .tape__cell { border-left: 0; border-top: 1px solid var(--line); }
  .tape__cell:first-child { border-top: 0; }
}
