/* ===== landing.css ===== */
/* ============================================================
   $30/Hour Delivery Secrets — Landing page
   Matches the guide: cream paper, ink, red accent, mono numerics.
============================================================ */

:root {
  --ink:        #0E0E0C;
  --ink-soft:   #1F1F1C;
  --muted:      #54534E;
  --muted-soft: #82817B;
  --line:       #D9D8D4;
  --line-soft:  #EBEAE6;
  --paper:      #FBFBFA;
  --paper-card: #EFEEEB;
  --paper-deep: #E8E7E3;

  --accent:      #FF3B30;
  --accent-deep: #E5251A;
  --accent-soft: #FFE5E2;

  --good:      #1B8A4B;
  --good-soft: #E2F2E8;

  --font-display: "Space Grotesk", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-body:    "DM Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --maxw: 1180px;
  --pad-x: clamp(20px, 4vw, 56px);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "ss01", "kern";
}
a { color: inherit; text-decoration: none; }
em { font-style: italic; color: var(--accent); }
strong { font-weight: 700; color: var(--ink); }
button { font: inherit; }

/* ============================================================
   NAV
============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(14,14,12,0.5);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 14px var(--pad-x);
  display: flex;
  align-items: center;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
}
.brand__mark { color: var(--accent); display: inline-flex; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.01em;
}
.brand__edition {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-top: 2px;
}
.nav__links {
  display: flex;
  gap: 22px;
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.nav__links a {
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: border-color 120ms ease, color 120ms ease;
}
.nav__links a:hover { color: var(--accent); border-color: var(--accent); }
.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--ink);
  color: #fff;
  padding: 9px 14px 9px 16px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: -0.01em;
  transition: transform 120ms ease, background 120ms ease;
}
.nav__cta:hover { background: var(--accent); transform: translateY(-1px); }
.nav__cta-price {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 13.5px;
  background: rgba(255,255,255,0.18);
  padding: 2px 7px;
  border-radius: 999px;
}

@media (max-width: 820px) {
  .nav__links { display: none; }
}

/* ============================================================
   HERO — FULL-BLEED CINEMATIC
============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  display: flex;
  align-items: center;
  color: #F7F6F1;
  isolation: isolate;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 45% center;
  /* nudge composition so the mounted phone sits well right of headline */
  transform: scale(1.0) translateX(0);
  transform-origin: center;
}
.hero__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg,
      rgba(8,8,7,0.70) 0%,
      rgba(8,8,7,0.65) 14%,
      rgba(8,8,7,0.50) 26%,
      rgba(8,8,7,0.25) 38%,
      rgba(8,8,7,0.07) 48%,
      rgba(8,8,7,0)    56%),
    linear-gradient(180deg, rgba(8,8,7,0.08) 0%, rgba(8,8,7,0.02) 18%, transparent 32%, transparent 70%, rgba(8,8,7,0.36) 100%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(120px, 14vw, 180px) var(--pad-x) clamp(90px, 10vw, 140px);
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(0, 0.38fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}

/* Pull the eyebrow badge up to the top of the hero composition */
.hero__inner > .hero__eyebrow {
  position: absolute;
  top: clamp(110px, 11vw, 140px);
  left: var(--pad-x);
  z-index: 3;
}

.hero__copy { position: relative; max-width: 38rem; }

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #DAD9D2;
  padding: 6px 12px 6px 10px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  background: rgba(14,14,12,0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.hero__eyebrow .dot {
  width: 7px; height: 7px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(255,59,48,0.22);
  animation: pulseDot 2.2s ease-in-out infinite;
}
@keyframes pulseDot {
  0%, 100% { box-shadow: 0 0 0 4px rgba(255,59,48,0.22); }
  50%      { box-shadow: 0 0 0 8px rgba(255,59,48,0); }
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(52px, 7.8vw, 108px);
  line-height: 0.98;
  letter-spacing: -0.04em;
  margin: 22px 0 24px;
  color: #F7F6F1;
  text-wrap: balance;
  text-shadow: 0 2px 32px rgba(0,0,0,0.45);
}
.hero__title-accent { color: var(--accent); }

.hero__sub {
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.5;
  color: #DAD9D2;
  max-width: 30em;
  margin: 0 0 28px;
  text-wrap: pretty;
  text-shadow: 0 1px 16px rgba(0,0,0,0.5);
}
.hero__sub strong { color: #fff; }

.hero__ctaRow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 22px;
  border-radius: 14px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.01em;
  transition: transform 120ms ease, box-shadow 120ms ease, background 120ms ease, color 120ms ease, border-color 120ms ease;
  cursor: pointer;
  border: none;
  color: inherit;
}
.cta--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 14px 32px -12px rgba(255,59,48,0.65), inset 0 1px 0 rgba(255,255,255,0.18);
}
.cta--primary:hover {
  background: var(--accent-deep);
  transform: translateY(-1px);
  box-shadow: 0 18px 38px -12px rgba(255,59,48,0.75), inset 0 1px 0 rgba(255,255,255,0.22);
}
.cta--ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}
.cta--ghost:hover {
  border-color: var(--ink);
  background: var(--paper-card);
  transform: translateY(-1px);
}
.cta--ghost-dark {
  color: #F7F6F1;
  border: 1px solid rgba(255,255,255,0.28);
  background: rgba(14,14,12,0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.cta--ghost-dark:hover {
  border-color: #F7F6F1;
  background: rgba(14,14,12,0.65);
}
.cta--block { width: 100%; justify-content: center; padding: 18px 24px; font-size: 18px; }
.cta__price {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 13px;
  padding: 4px 10px;
  background: rgba(0,0,0,0.28);
  border-radius: 999px;
}
.cta__arrow { display: inline-flex; align-items: center; line-height: 1; transition: transform 120ms ease; }
.cta:hover .cta__arrow { transform: translateX(2px); }

.hero__risk {
  display: inline-flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 16px;
  background: rgba(27,138,75,0.18);
  border: 1px solid rgba(27,138,75,0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 12px;
  font-size: 13.5px;
  line-height: 1.45;
  color: #E6EFE8;
  max-width: 34em;
  margin-bottom: 24px;
}
.hero__risk strong { color: #B6E5C5; }
.hero__risk-shield {
  color: #B6E5C5;
  display: inline-flex;
  margin-top: 2px;
  flex-shrink: 0;
}

.hero__bullets {
  list-style: none;
  margin: 0;
  padding: 16px 0 0;
  border-top: 1px solid rgba(255,255,255,0.15);
  display: flex;
  gap: clamp(18px, 4vw, 42px);
  flex-wrap: wrap;
}
.hero__bullets li { display: flex; flex-direction: column; line-height: 1.15; }
.hero__bullet-k {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  letter-spacing: -0.02em;
  color: #F7F6F1;
}
.hero__bullet-v {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #BDBCB5;
  margin-top: 4px;
  white-space: nowrap;
}

/* ----- Floating overlay chips anchored to the phone area on the right ----- */
.hero__floats {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 360px;
  pointer-events: none;
}
.hero__float {
  position: absolute;
  pointer-events: auto;
  animation: floatBob 6s ease-in-out infinite;
}
.hero__float--pill {
  top: -22%;
  right: 4%;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(14,14,12,0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  padding: 8px 14px 8px 12px;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 13.5px;
  letter-spacing: 0.04em;
  color: #F7F6F1;
  animation-delay: 0s;
}
.hero__float-dot {
  width: 8px; height: 8px;
  border-radius: 999px;
  background: var(--good);
  box-shadow: 0 0 0 3px rgba(27,138,75,0.45);
  animation: livePulse 1.6s ease-in-out infinite;
}
@keyframes livePulse {
  0%,100% { box-shadow: 0 0 0 3px rgba(27,138,75,0.45); }
  50%     { box-shadow: 0 0 0 7px rgba(27,138,75,0); }
}

.hero__float--cap {
  bottom: 16%;
  right: -22%;
  background: rgba(14,14,12,0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  box-shadow: 0 26px 50px -20px rgba(0,0,0,0.55);
  animation-delay: 0.6s;
}
.hero__float-k {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.14em;
  color: #BDBCB5;
  margin-bottom: 6px;
}
.hero__float-v {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 32px;
  letter-spacing: -0.02em;
  color: #F7F6F1;
}

.hero__float--rate {
  top: 46%;
  right: 38%;
  transform-origin: center;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  box-shadow: 0 22px 40px -16px rgba(0,0,0,0.55);
  animation: floatRate 6s ease-in-out infinite;
}
@keyframes floatRate {
  0%,100% { transform: rotate(-4deg) translateY(0); }
  50%     { transform: rotate(-4deg) translateY(-8px); }
}
.hero__float-trend {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--good);
}
.hero__float-label {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 2px;
  white-space: nowrap;
}

@keyframes floatBob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}

/* Scroll cue */
.hero__scroll {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.18em;
  color: #BDBCB5;
  padding: 8px 16px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 999px;
  background: rgba(14,14,12,0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: color 140ms ease, border-color 140ms ease, transform 140ms ease;
}
.hero__scroll:hover { color: #fff; border-color: rgba(255,255,255,0.4); }
.hero__scroll-arrow {
  display: inline-block;
  animation: scrollBob 1.8s ease-in-out infinite;
}
@keyframes scrollBob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(3px); }
}

/* Nav stays frosted-dark over the entire page */
.nav {
  background: rgba(14,14,12,0.5);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: background 220ms ease, border-color 220ms ease;
}
.nav .brand__name      { color: #F7F6F1; transition: color 220ms ease; }
.nav .brand__edition   { color: #BDBCB5; transition: color 220ms ease; }
.nav .brand__mark      { color: var(--accent); }
.nav .nav__links       { color: #DAD9D2; transition: color 220ms ease; }
.nav .nav__links a:hover { color: var(--accent); border-color: var(--accent); }
.nav .nav__cta         { background: #fff; color: var(--ink); transition: background 220ms ease, color 220ms ease; }
.nav .nav__cta:hover   { background: var(--accent); color: #fff; }
.nav .nav__cta-price   { background: rgba(0,0,0,0.12); color: var(--ink); }
.nav .nav__cta:hover .nav__cta-price { background: rgba(255,255,255,0.2); color: #fff; }

/* On scroll: slightly stronger tint, no light flip */
.nav--scrolled {
  background: rgba(14,14,12,0.62);
  border-bottom-color: rgba(255,255,255,0.1);
}

@media (max-width: 900px) {
  .hero__inner {
    grid-template-columns: 1fr;
    padding-top: clamp(110px, 22vw, 160px);
    padding-bottom: clamp(110px, 16vw, 160px);
  }
  .hero__img { object-position: 45% center; }
  .hero__scrim {
    background:
      linear-gradient(180deg,
        rgba(8,8,7,0.47) 0%,
        rgba(8,8,7,0.29) 35%,
        rgba(8,8,7,0.13) 60%,
        rgba(8,8,7,0.43) 100%),
      radial-gradient(circle at 50% 10%, rgba(255,59,48,0.08), transparent 50%);
  }
  .hero__floats { min-height: 240px; }
  .hero__float--rate { right: 8%; top: 8%; }
  .hero__float--cap { right: 4%; bottom: 4%; }
  .hero__float--pill { top: 4%; left: 4%; right: auto; }
}

/* ============================================================
   WORKS ON STRIP
============================================================ */
.works {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper-card);
}
.works__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 18px var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}
.works__label {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  white-space: nowrap;
}
.works__apps {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.dotsep { color: var(--muted-soft); font-weight: 400; }

/* ============================================================
   SECTION SHELL
============================================================ */
.section {
  padding: clamp(56px, 9vw, 120px) 0;
  border-bottom: 1px solid var(--line);
}
.section__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}
.section__head { margin-bottom: 42px; max-width: 36em; }
.section__head--center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
.section__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 22px;
}
.section__eyebrow::before {
  content: "";
  display: inline-block;
  width: 32px;
  height: 2px;
  background: var(--accent);
  flex-shrink: 0;
}
.section__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(34px, 4.4vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 0 0 16px;
  color: var(--ink);
  text-wrap: balance;
}
.section__title em {
  font-style: normal;
  color: var(--accent);
}
.section__lede {
  font-size: 18px;
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 38em;
  margin: 0;
  text-wrap: pretty;
}
.section__foot {
  margin-top: 20px;
  font-size: 14px;
  color: var(--muted);
}
.section__foot em { color: var(--muted); font-style: italic; }

/* ============================================================
   SECTION — TRY THE FILTER (offer simulator)
============================================================ */
.section--try { background: var(--paper-card); }
.sim {
  background: #EBECEF;
  color: var(--ink);
  border-radius: 24px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 70px -28px rgba(0,0,0,0.22), inset 0 0 0 1px rgba(0,0,0,0.05);
}

/* ---- The stage: a compact map with the card resting near the bottom ---- */
.sim__stage {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 28px 28px 30px;
  isolation: isolate;
}
.simmap {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.simmap svg,
.simmap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---------------------------------------------------
   Whiteboard math written into the negative space.
   LEFT  = long-multiplication
   RIGHT = long-division (drawing order: dividend → bracket → divisor → sub-work → quotient)
--------------------------------------------------- */
.simmath {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  font-size: 60px;       /* drives the size of every .simchar inside */
  line-height: 1;
  color: var(--accent);
  text-shadow: 0 1px 0 rgba(255,255,255,0.55);
}
.simmath--left  { left: 4%;  align-items: flex-end; }
.simmath--right { right: 4%; align-items: flex-start; }

.simmath__line {
  white-space: nowrap;
  font-size: inherit;
  display: flex;
  align-items: flex-end;
}
.simmath__l-rate,
.simmath__l-op,
.simmath__l-ans,
.simmath__divrow,
.simmath__indent {
  margin-bottom: 4px;
}

/* Individual SVG glyph: width is 0.6em (matches 30/50 viewBox), height = 1em */
.simchar {
  display: inline-block;
  width: 0.6em;
  height: 1em;
  vertical-align: baseline;
  overflow: visible;
  flex-shrink: 0;
}
.simchar--space { width: 0.32em; }
.simchar--dot   { width: 0.22em; }  /* tight period so decimals don't sprawl */
.simchar--bar {                /* not used for the divsign anymore; kept in case */
  width: 100%;
  height: 0.16em;
  display: block;
}
/* The whole long-division sign (bracket + overline) drawn as one path */
.simmath__divsign {
  position: absolute;
  top: 0;
  left: 0;
  overflow: visible;
}
.simchar path {
  stroke: var(--accent);
  stroke-width: 4;
  vector-effect: non-scaling-stroke;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: var(--dash-len, 200);
  stroke-dashoffset: var(--dash-len, 200);
  opacity: 0;
  /* `both` so the 0% keyframe (opacity:0) holds during animation-delay,
     hiding the endcap dot that would otherwise show at path start. */
  animation: simDraw 360ms cubic-bezier(0.4, 0.05, 0.45, 1) both;
  animation-delay: 0ms;
}
@keyframes simDraw {
  /* Keep the stroke fully hidden until ~8% in. By then dashoffset has
     advanced enough that the round linecap (which would otherwise render
     as a visible red dot at path position 0) is overdrawn by the stroke
     itself. Snap, don't fade — a fade would just smear the same dot. */
  0%   { stroke-dashoffset: var(--dash-len, 200); opacity: 0; }
  13.9% { opacity: 0; }
  14%   { opacity: 1; }
  100% { stroke-dashoffset: 0; opacity: 1; }
}

/* Unit labels (smaller chars, same stroke weight via non-scaling-stroke) */
.simmath__unit {
  font-size: 0.6em;
  margin-left: 0.16em;
  align-self: flex-end;
  padding-bottom: 0.08em;
  display: inline-flex;
}

/* Horizontal bars (× line, subtraction line) — drawn as scaleX divs */
.simmath__bar {
  background: var(--accent);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left center;
  animation: simBarIn 360ms cubic-bezier(0.4, 0.05, 0.4, 1) forwards;
  animation-delay: 0ms;
}
.simmath__bar--main  { width: 90px; height: 4px; margin: 8px 0; }
.simmath__bar--small { width: 56px; height: 3px; margin: 6px 0; }
@keyframes simBarIn { to { transform: scaleX(1); } }

/* Long division layout */
.simmath__qrow {
  display: flex;
  align-items: flex-end;
  margin-bottom: 2px;
  margin-left: 1em;     /* indent under the dividend (past divisor + bracket) */
}
.simmath__divrow {
  display: flex;
  align-items: flex-end;
  gap: 0;
}
.simmath__r-divisor {
  display: inline-flex;
  align-items: flex-end;
  line-height: 1;
}
.simmath__bracketed {
  position: relative;
  padding-left: 0.5em;   /* room for the bracket curve */
  padding-top: 0.3em;    /* room beneath the overline */
  display: inline-flex;
  align-items: flex-end;
}
.simmath__r-div {
  display: inline-flex;
  align-items: flex-end;
}
.simmath__indent {
  margin-left: 1em;     /* same indent as the qrow */
  display: flex;
  align-items: flex-end;
}

/* Numeric "main" portion of result (the actual computed number) */
.simmath__num {
  display: inline-flex;
  align-items: flex-end;
}

@media (max-width: 980px) {
  .simmath { display: none; }
}

/* ---- Offer card (reference-style: white modal w/ delivery pill, route, timer-fill Accept) ---- */
.simcard {
  position: relative;
  z-index: 1;
  background: #FFFFFF;
  border: 1.5px solid #1B8A4B;
  border-radius: 22px;
  padding: 22px 22px 0;
  width: 100%;
  max-width: 480px;
  color: #0B0B0B;
  box-shadow: 0 30px 60px -22px rgba(0,0,0,0.55), 0 8px 20px -8px rgba(0,0,0,0.35);
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow: hidden;
  /* Enter state: tucked below the stage */
  transform: translateY(120%);
  opacity: 0;
  transition:
    transform 520ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity   320ms ease;
}
.simcard:not(.simcard--enter):not(.simcard--judged-left):not(.simcard--judged-right) {
  transform: translateY(0);
  opacity: 1;
}

/* Swipe-out states */
.simcard.simcard--judged {
  transition: transform 540ms cubic-bezier(.55,.05,.4,1), opacity 540ms ease;
}
.simcard.simcard--judged-right { transform: translate(120%, -8%) rotate(14deg); opacity: 0; }
.simcard.simcard--judged-left  { transform: translate(-120%, -8%) rotate(-14deg); opacity: 0; }

.simcard__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.simcard__type {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #1B8A4B;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  padding: 7px 14px 7px 11px;
  border-radius: 10px;
  letter-spacing: -0.005em;
}
.simcard__type svg { display: block; }
.simcard__close {
  background: #EFEEEA;
  border: none;
  border-radius: 10px;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #0B0B0B;
  cursor: pointer;
  transition: background 140ms ease, transform 100ms ease;
}
.simcard__close:hover { background: #E4E2DD; transform: translateY(-1px); }
.simcard__close:disabled { opacity: 0.4; cursor: default; }

.simcard__rate {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 56px;
  line-height: 1;
  letter-spacing: -0.045em;
  color: #0B0B0B;
  margin-top: -2px;
}
.simcard__guarantee {
  display: inline-block;
  align-self: flex-start;
  background: #F0EFEB;
  color: #0B0B0B;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.005em;
  padding: 7px 12px;
  border-radius: 8px;
  margin-top: -4px;
}

.simcard__divider {
  height: 1px;
  background: #E5E4DF;
  margin: 0 -22px;
}

.simcard__row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 4px 0;
}
.simcard__rowIcon { color: #0B0B0B; display: inline-flex; }
.simcard__rowText {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.01em;
  color: #0B0B0B;
}
.simcard__rowText strong { font-weight: 700; }

.simcard__route {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  padding: 4px 0 8px;
}
.simcard__routePins {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  padding: 4px 0;
}
.pin {
  display: block;
  width: 10px;
  height: 10px;
  background: #0B0B0B;
  flex-shrink: 0;
}
.pin--start { border-radius: 999px; }
.pin--end   { border-radius: 1px; }
.pin--line  { width: 2px; flex: 1; min-height: 26px; background: #0B0B0B; border-radius: 1px; margin: 2px 0; }

.simcard__routeText {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-family: var(--font-display);
  font-size: 17px;
  letter-spacing: -0.01em;
}
.simcard__routeLine--pickup { color: #0B0B0B; font-weight: 700; }
.simcard__routeLine--pickup strong { font-weight: 700; }
.simcard__routeLine--drop   { color: #6B6A65; font-weight: 500; }

/* Accept button — full width, sits flush with bottom of card. Darker green fills from left as timer ticks. */
.simcard__accept {
  position: relative;
  margin: 8px -22px 0;
  border: none;
  background: #2EB565; /* lighter green = remaining */
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.005em;
  padding: 22px 16px;
  cursor: pointer;
  overflow: hidden;
  border-radius: 0;
  transition: filter 140ms ease;
  display: block;
  width: calc(100% + 44px);
}
.simcard__accept:hover { filter: brightness(1.04); }
.simcard__accept:disabled { cursor: default; }
.simcard__acceptFill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0%;
  background: #1A6E3F; /* darker green = elapsed timer */
  z-index: 0;
  transition: width 60ms linear;
}
.simcard__acceptLabel {
  position: relative;
  z-index: 1;
}

/* Verdict stamps — primary "Accepted/Rejected" + secondary reason tag.
   Angled to the right and offset toward the upper-right of the card so
   they sit cleanly above the route/Accept area, not on top of the rate. */
.simcard__stamp {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  pointer-events: none;
  opacity: 0;
  transition: opacity 180ms ease, transform 260ms cubic-bezier(0.34, 1.55, 0.5, 1);
  z-index: 5;
  white-space: nowrap;
  background: #FFFFFF;
}
.simcard__stamp.good { color: #1B8A4B; border: 4px solid #1B8A4B; }
.simcard__stamp.bad  { color: #C81F14; border: 4px solid #C81F14; }

.simcard__stamp--primary {
  top: 22%;
  right: 6%;
  transform: translate(0, 0) rotate(12deg) scale(0.7);
  transform-origin: top right;
  font-size: 34px;
  padding: 10px 26px;
  border-radius: 10px;
  box-shadow: 0 6px 14px -8px rgba(0,0,0,0.25);
}
.simcard__stamp--reason {
  top: 40%;
  right: 8%;
  transform: translate(0, 0) rotate(8deg) scale(0.7);
  transform-origin: top right;
  font-size: 13px;
  letter-spacing: 0.16em;
  padding: 7px 14px;
  border-radius: 8px;
  border-width: 3px;
  box-shadow: 0 4px 10px -6px rgba(0,0,0,0.2);
}
.simcard__stamp.is-on { opacity: 1; }
.simcard__stamp--primary.is-on { transform: translate(0, 0) rotate(12deg) scale(1); }
.simcard__stamp--reason.is-on  { transform: translate(0, 0) rotate(8deg)  scale(1); }
.simcard__stamp:empty { display: none; }

/* The rule line, now sitting under the simulator like a caption */
.sim__rule {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 4px 0;
  padding: 0;
  flex-wrap: wrap;
}
.sim__rule-tag {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.sim__rule-eqs {
  display: inline-flex;
  gap: 8px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 13.5px;
  color: var(--muted);
}
.sim__rule-eqs em { font-style: normal; color: var(--ink); font-weight: 700; }
.sim__rule-sep { color: var(--muted-soft); }

@media (max-width: 720px) {
  .sim__stage { min-height: 480px; padding: 18px; }
  .simcard { max-width: 100%; }
  .simcard__rate { font-size: 48px; }
  .simcard__stamp--primary { font-size: 26px; padding: 8px 18px; right: 4%; }
  .simcard__stamp--reason  { font-size: 13px; padding: 6px 12px; right: 6%; }
}

/* ============================================================
   SECTION — MATH (three tier cards + scenario tabs)
============================================================ */
.scenario-tabs {
  display: inline-flex;
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px;
  gap: 4px;
  margin-bottom: 26px;
}
.stab {
  background: transparent;
  border: none;
  padding: 9px 18px;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.1;
  color: var(--ink-soft);
  transition: background 140ms ease, color 140ms ease;
}
.stab strong {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: -0.01em;
  color: inherit;
  white-space: nowrap;
}
.stab span {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 2px;
  white-space: nowrap;
}
.stab:hover { background: var(--paper); }
.stab--active {
  background: var(--ink);
  color: #fff;
}
.stab--active:hover { background: #2a2a28; }
.stab--active strong { color: #fff; }
.stab--active span { color: rgba(255,255,255,0.7); }

.tiers {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 18px;
  align-items: stretch;
}
.tier {
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 28px 26px 24px;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform 200ms ease, box-shadow 200ms ease, background 200ms ease, border-color 200ms ease;
}
.tier:hover {
  transform: translateY(-3px);
  border-color: var(--ink);
  box-shadow: 0 20px 40px -20px rgba(0,0,0,0.25);
}
.tier--accent {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
  transform: translateY(-8px);
  box-shadow: 0 30px 60px -24px rgba(0,0,0,0.45);
}
.tier--accent:hover {
  transform: translateY(-12px);
  box-shadow: 0 36px 70px -22px rgba(0,0,0,0.55);
}
.tier__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.tier__tag {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 5px 10px;
  background: var(--paper);
  border-radius: 999px;
  white-space: nowrap;
  transition: background 200ms ease, color 200ms ease;
}
.tier--accent .tier__tag { background: rgba(255,255,255,0.1); color: #DAD9D2; }
.tier__tag--accent { background: var(--accent) !important; color: #fff !important; }
.tier__hrs {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.04em;
  font-weight: 500;
}
.tier--accent .tier__hrs { color: #BDBCB5; }

.tier__rate {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 18px;
  color: var(--ink);
}
.tier--accent .tier__rate { color: var(--paper); }
.tier__cur {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 28px;
  color: var(--accent);
  align-self: flex-end;
  padding-bottom: 6px;
}
.tier__big {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(54px, 6vw, 78px);
  letter-spacing: -0.04em;
  line-height: 1;
}
.tier__unit {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--muted);
  font-weight: 500;
  align-self: flex-end;
  padding-bottom: 8px;
}
.tier--accent .tier__unit { color: #BDBCB5; }

.tier__rule {
  border: none;
  border-top: 1px solid var(--line);
  margin: 0 0 14px;
}
.tier--accent .tier__rule { border-color: rgba(255,255,255,0.12); }

.tier__list {
  margin: 0 0 18px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.tier__list > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-family: var(--font-mono);
  font-size: 13px;
}
.tier__list dt {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 500;
  font-size: 13px;
  white-space: nowrap;
}
.tier--accent .tier__list dt { color: #BDBCB5; }
.tier__list dd {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
}
.tier--accent .tier__list dd { color: #F7F6F1; }

.tier__foot {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
}
.tier--accent .tier__foot { border-color: rgba(255,255,255,0.18); }
.tier__fk {
  font-family: var(--font-mono);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  font-weight: 500;
}
.tier--accent .tier__fk { color: #BDBCB5; }
.tier__fv {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 26px;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.tier--accent .tier__fv { color: #F7F6F1; }
.tier__fv--accent { color: var(--accent) !important; }

@media (max-width: 820px) {
  .tiers { grid-template-columns: 1fr; }
  .tier--accent { transform: none; }
  .tier--accent:hover { transform: translateY(-3px); }
}

/* ============================================================
   SECTION — WHAT'S INSIDE (toc with hover tease)
============================================================ */
.toc {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  counter-reset: tocidx;
}
.toc__item {
  border-bottom: 1px solid var(--line);
  position: relative;
}
.toc__row {
  display: grid;
  grid-template-columns: 70px minmax(0,1fr) auto 60px;
  align-items: baseline;
  gap: 18px;
  width: 100%;
  padding: 18px 8px;
  font-size: 19px;
  text-align: left;
  background: none;
  border: 0;
  cursor: default;
  font: inherit;
  transition: background 180ms ease;
}
.toc__item:hover .toc__row,
.toc__item:focus-within .toc__row { background: rgba(0,0,0,0.03); }
.toc__item:hover .toc__n,
.toc__item:focus-within .toc__n { color: var(--accent); }
.toc__item:hover .toc__page,
.toc__item:focus-within .toc__page { color: var(--accent); }

/* Collapsible reveal panel (grid-rows 0fr→1fr for smooth height) */
.toc__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 260ms cubic-bezier(0.4,0,0.2,1);
}
.toc__item:hover .toc__panel,
.toc__item:focus-within .toc__panel { grid-template-rows: 1fr; }
.toc__panel > .toc__sub {
  overflow: hidden;
  margin: 0;
}
.toc__sub {
  padding: 0 8px 4px 88px;
  max-width: 640px;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  letter-spacing: 0;
}
.toc__item:hover .toc__sub,
.toc__item:focus-within .toc__sub { padding-bottom: 20px; }
.toc__n {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.08em;
  transition: color 180ms ease;
}
.toc__label {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  transition: color 180ms ease;
}
.toc__dots {
  display: block;
  border-bottom: 2px dotted var(--line);
  transform: translateY(-5px);
  min-width: 40px;
  transition: border-color 180ms ease;
}
.toc__item--alt .toc__n,
.toc__item--alt .toc__label { color: var(--accent); }
.toc__page {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
  text-align: right;
  transition: color 180ms ease;
}

@media (max-width: 720px) {
  .toc__row { grid-template-columns: 48px 1fr 44px; gap: 12px; font-size: 17px; padding: 16px 8px; }
  .toc__dots { display: none; }
  .toc__sub { padding-left: 60px; }
}

/* ============================================================
   SECTION — HONEST LOOK (pros / cons + quote)
============================================================ */
.prosCons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 28px;
}
.pc {
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 26px 28px 22px;
}
.pc--cons {
  background: var(--paper);
}
.pc__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.pc__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  line-height: 1;
  color: #fff;
}
.pc__icon--plus  { background: var(--accent); }
.pc__icon--minus { background: var(--ink); }
.pc__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 26px;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--ink);
}
.pc__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.pc__list li {
  position: relative;
  padding-left: 20px;
  font-size: 15.5px;
  line-height: 1.5;
  color: var(--ink-soft);
}
.pc__list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.pc--cons .pc__list li::before { background: var(--ink); }

.quote {
  margin: 0;
  background: var(--ink);
  color: #F7F6F1;
  border-radius: 22px;
  padding: 32px 36px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  align-items: center;
}
.quote__mark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 64px;
  line-height: 0.8;
  color: var(--accent);
  align-self: flex-start;
  margin-top: -2px;
}
.quote p {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(22px, 2.6vw, 32px);
  letter-spacing: -0.015em;
  line-height: 1.18;
  margin: 0;
  text-wrap: balance;
}
.quote p em { color: var(--accent); font-style: italic; }

@media (max-width: 760px) {
  .prosCons { grid-template-columns: 1fr; }
}

/* ============================================================
   SECTION — BUY
============================================================ */
.section--buy { background: var(--paper-card); border-bottom: none; }
.buy {
  display: grid;
  grid-template-columns: 1.05fr 0.85fr;
  gap: 40px;
  align-items: center;
}
.buy__eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.buy__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1.04;
  letter-spacing: -0.025em;
  margin: 0 0 14px;
  color: var(--ink);
  text-wrap: balance;
}
.buy__lede {
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink-soft);
  margin: 0 0 24px;
  max-width: 32em;
}
.buy__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.buy__list li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 15.5px;
  color: var(--ink);
}
.buy__check {
  color: var(--good);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}

.buy__card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 28px 28px 22px;
  position: relative;
  box-shadow: 0 30px 60px -28px rgba(0,0,0,0.25);
}
.buy__ribbon {
  position: absolute;
  top: 16px;
  right: 16px;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.12em;
  background: var(--accent);
  color: #fff;
  padding: 4px 9px;
  border-radius: 999px;
}
.buy__price {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 18px;
}
.buy__price-row {
  display: flex;
  align-items: baseline;
  gap: 2px;
  color: var(--ink);
}
.buy__price-dollar {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 28px;
  color: var(--accent);
  align-self: flex-start;
  margin-top: 8px;
}
.buy__price-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 88px;
  line-height: 0.9;
  letter-spacing: -0.045em;
}
.buy__price-note {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 6px;
}

.buy__guarantee {
  margin-top: 16px;
  padding: 14px 16px;
  background: var(--good-soft);
  border: 1px solid rgba(27,138,75,0.28);
  border-radius: 12px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.45;
}
.buy__guarantee strong { color: var(--good); display: block; margin-bottom: 2px; }
.buy__guarantee-shield { color: var(--good); margin-top: 2px; }

.buy__micro {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  justify-content: center;
  flex-wrap: wrap;
}

/* Buy button states */
.js-buy { position: relative; overflow: hidden; }
.js-buy-label { display: inline-flex; align-items: center; gap: 8px; }
.js-buy[data-state="loading"] { background: var(--ink); }
.js-buy[data-state="done"]    { background: var(--good); box-shadow: 0 10px 24px -10px rgba(27,138,75,0.5); }
.js-buy .dots {
  display: inline-flex;
  gap: 4px;
  margin-left: 6px;
}
.js-buy .dots i {
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.8);
  animation: dots 1s ease-in-out infinite;
}
.js-buy .dots i:nth-child(2) { animation-delay: 0.18s; }
.js-buy .dots i:nth-child(3) { animation-delay: 0.36s; }
@keyframes dots {
  0%, 100% { opacity: 0.25; transform: translateY(0); }
  50%      { opacity: 1;    transform: translateY(-2px); }
}

@media (max-width: 820px) {
  .buy { grid-template-columns: 1fr; }
}

/* ============================================================
   FOOTER
============================================================ */
.footer { background: var(--ink); color: #BDBCB5; }
.footer__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 44px var(--pad-x) 40px;
}
.footer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px 40px;
  flex-wrap: wrap;
  padding-bottom: 26px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer__brand { display: flex; flex-direction: column; gap: 5px; }
.footer .brand__name {
  color: #F7F6F1;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.01em;
}
.footer .brand__edition {
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.footer__links {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
}
.footer__links a { color: #BDBCB5; transition: color 120ms ease; }
.footer__links a:hover { color: var(--accent); }
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px 32px;
  flex-wrap: wrap;
  padding-top: 22px;
}
.footer__legal {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.03em;
  line-height: 1.6;
  color: #82817B;
  max-width: 70ch;
}
.footer__mark {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6C6B66;
  white-space: nowrap;
}
@media (max-width: 720px) {
  .footer__top, .footer__bottom { flex-direction: column; align-items: flex-start; }
}

/* ===== shop.css ===== */
/* ============================================================
   shop.css — Cart + Checkout pages
   Built on landing.css (tokens, nav, footer, cta, brand).
   Cream paper, ink, red accent, mono numerics — same playbook.
============================================================ */

body.shop {
  background: var(--paper);
}

/* The fixed frosted-dark nav needs clearance on a light page */
.shop .nav { position: fixed; }
/* WP admin bar overlaps the fixed header on logged-in views; offset it. */
body.admin-bar .nav { top: 32px; }
@media screen and (max-width: 782px){ body.admin-bar .nav { top: 46px; } }

/* ============================================================
   PAGE HEAD — dark ink band w/ breadcrumb + step rail
============================================================ */
.pagehead {
  background: var(--ink);
  color: #F7F6F1;
  padding: clamp(104px, 13vw, 132px) 0 clamp(34px, 5vw, 48px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.pagehead__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}
.crumbs {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #BDBCB5;
  margin-bottom: 18px;
}
.crumbs a { color: #BDBCB5; transition: color 120ms ease; }
.crumbs a:hover { color: var(--accent); }
.crumbs__sep { color: #54534E; }
.crumbs__here { color: #F7F6F1; }

.pagehead__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(38px, 5vw, 60px);
  line-height: 1;
  letter-spacing: -0.035em;
  margin: 0 0 28px;
  color: #F7F6F1;
}
.pagehead__title em { font-style: normal; color: var(--accent); }

/* Step rail: Cart → Checkout → Done */
.steps {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
}
.step {
  display: inline-flex;
  align-items: center;
  gap: 11px;
}
.step__num {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 13px;
  border: 1.5px solid rgba(255,255,255,0.25);
  color: #BDBCB5;
  flex-shrink: 0;
}
.step__label {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #BDBCB5;
}
.step__bar {
  width: clamp(28px, 5vw, 64px);
  height: 2px;
  background: rgba(255,255,255,0.16);
  margin: 0 16px;
  border-radius: 2px;
}
.step--active .step__num {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.step--active .step__label { color: #F7F6F1; }
.step--done .step__num {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.3);
  color: #F7F6F1;
}
.step--done .step__bar { background: var(--accent); }

@media (max-width: 640px) {
  .step__label { display: none; }
  .step__bar { margin: 0 10px; }
}

/* ============================================================
   SHOP LAYOUT — main grid
============================================================ */
.shopwrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(40px, 6vw, 72px) var(--pad-x) clamp(60px, 9vw, 104px);
}
.shopgrid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 350px;
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}
@media (max-width: 1040px) {
  .shopgrid { grid-template-columns: 1fr; }
  .summary { position: static; max-width: 440px; margin-left: auto; width: 100%; }
}

.panel__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(24px, 2.6vw, 30px);
  letter-spacing: -0.025em;
  margin: 0 0 20px;
  color: var(--ink);
}
.panel__title--sub {
  font-size: 18px;
  margin: 32px 0 14px;
}

/* ============================================================
   CART — line items
============================================================ */
.cartlist {
  border-top: 2px solid var(--ink);
}
.cart-head {
  display: grid;
  grid-template-columns: minmax(0,1fr) 84px 126px 84px 36px;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.cart-head span:nth-child(2),
.cart-head span:nth-child(4) { text-align: right; }
.cart-head span:nth-child(3) { text-align: center; }

.cartrow {
  display: grid;
  grid-template-columns: minmax(0,1fr) 84px 126px 84px 36px;
  gap: 14px;
  align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.cartrow__product {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}

/* PDF cover thumbnail — a mini version of the guide */
.cover {
  width: 78px;
  height: 100px;
  flex-shrink: 0;
  border-radius: 8px;
  background: var(--ink);
  color: #F7F6F1;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 10px 9px;
  box-shadow: 0 14px 28px -16px rgba(0,0,0,0.55);
  border: 1px solid rgba(255,255,255,0.08);
}
.cover::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0; left: 7px;
  width: 1.5px;
  background: rgba(255,255,255,0.14);
}
.cover__mark { color: var(--accent); display: inline-flex; }
.cover__big {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  line-height: 0.92;
  letter-spacing: -0.03em;
}
.cover__big b { color: var(--accent); font-weight: 700; }
.cover__ed {
  font-family: var(--font-mono);
  font-size: 7.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #BDBCB5;
}

.cartrow__info { min-width: 0; }
.cartrow__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0 0 6px;
  line-height: 1.15;
}
.cartrow__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--muted);
}
.cartrow__meta .pill {
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px 9px;
}
.cartrow__price,
.cartrow__sub {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 16px;
  color: var(--ink);
  text-align: right;
}
.cartrow__price--was {
  display: block;
  font-weight: 500;
  font-size: 12.5px;
  color: var(--muted-soft);
  text-decoration: line-through;
  margin-bottom: 2px;
}

/* Quantity stepper */
.qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: var(--paper);
  margin: 0 auto;
}
.qty__btn {
  width: 38px;
  height: 40px;
  border: none;
  background: var(--paper-card);
  color: var(--ink);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 120ms ease, color 120ms ease;
}
.qty__btn:hover { background: var(--ink); color: #fff; }
.qty__input {
  width: 44px;
  height: 40px;
  border: none;
  text-align: center;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
  background: var(--paper);
  -moz-appearance: textfield;
}
.qty__input::-webkit-outer-spin-button,
.qty__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.cartrow__remove {
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--muted);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  transition: all 120ms ease;
}
.cartrow__remove:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
}

/* Cart footer: coupon + continue */
.cartfoot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 0 0;
  flex-wrap: wrap;
}
.coupon {
  display: flex;
  gap: 10px;
  align-items: stretch;
}
.coupon__input {
  width: 200px;
  max-width: 52vw;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
}
.coupon__input::placeholder { color: var(--muted-soft); letter-spacing: 0.06em; }
.coupon__input:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(14,14,12,0.08);
}
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: all 120ms ease;
  white-space: nowrap;
}
.btn-ghost:hover { border-color: var(--ink); background: var(--paper-card); }
.continue {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 120ms ease;
}
.continue:hover { color: var(--accent); }
.continue svg { transition: transform 120ms ease; }
.continue:hover svg { transform: translateX(-2px); }

.coupon__note {
  margin: 12px 0 0;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--good);
  display: none;
  align-items: center;
  gap: 7px;
}
.coupon__note.is-on { display: inline-flex; }

/* ============================================================
   SUMMARY CARD (cart totals / order summary)
============================================================ */
.summary {
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 26px 26px 22px;
  position: sticky;
  top: 88px;
  box-shadow: 0 30px 60px -34px rgba(0,0,0,0.28);
}
.summary__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 21px;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
  color: var(--ink);
}
.sline {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 15px;
  color: var(--ink-soft);
}
.sline__k { color: var(--muted); }
.sline__k em { font-style: normal; color: var(--ink); }
.sline__v {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
}
.sline--discount { display: none; }
.sline--discount.is-on { display: flex; }
.sline--discount .sline__v { color: var(--good); }
.sline--discount .sline__k em { color: var(--good); }

.sline--total {
  border-bottom: none;
  padding: 16px 0 4px;
  margin-top: 4px;
  border-top: 2px solid var(--ink);
  align-items: baseline;
}
.sline--total .sline__k {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.sline--total .sline__v {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 30px;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.sline--total .sline__cur { color: var(--accent); font-size: 18px; }
.summary__taxnote {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted-soft);
  margin: 6px 0 18px;
}

.summary .cta { margin-top: 2px; }

/* Guarantee + trust block (reused on both) */
.trust {
  margin-top: 16px;
  padding: 13px 15px;
  background: var(--good-soft);
  border: 1px solid rgba(27,138,75,0.28);
  border-radius: 12px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: flex-start;
  font-size: 12.5px;
  color: var(--ink-soft);
  line-height: 1.45;
}
.trust strong { color: var(--good); display: block; margin-bottom: 2px; }
.trust__shield { color: var(--good); margin-top: 2px; }

.paymarks {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-soft);
}
.paymarks .dotsep { color: var(--line); }

/* Mini order recap inside summary (checkout) */
.recap {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 0 18px;
  margin-bottom: 6px;
  border-bottom: 1px solid var(--line-soft);
}
.recap .cover { width: 56px; height: 72px; padding: 7px 6px; }
.recap .cover__big { font-size: 13px; }
.recap__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.01em;
  color: var(--ink);
  line-height: 1.2;
  margin: 0 0 4px;
}
.recap__meta {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.04em;
}

/* ============================================================
   CHECKOUT — forms
============================================================ */
.formgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 16px;
}
.field { display: flex; flex-direction: column; }
.field--full { grid-column: 1 / -1; }
.field__label {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.field__label .req { color: var(--accent); margin-left: 2px; }
.input,
.select {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--paper);
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--ink);
  transition: border-color 120ms ease, box-shadow 120ms ease;
}
.input::placeholder { color: var(--muted-soft); }
.input:focus,
.select:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(14,14,12,0.07);
}
.select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2354534E' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='5 9 12 16 19 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  padding-right: 40px;
  cursor: pointer;
}

.checkrow {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 18px;
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.45;
}
.checkrow input { margin-top: 3px; accent-color: var(--accent); width: 17px; height: 17px; flex-shrink: 0; }
.checkrow a { color: var(--accent); border-bottom: 1px solid rgba(255,59,48,0.4); }

/* Payment block */
.pay {
  margin-top: 6px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
  overflow: hidden;
}
.pay__opt {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
}
.pay__opt:last-of-type { border-bottom: none; }
.pay__radio {
  width: 18px; height: 18px;
  border-radius: 999px;
  border: 2px solid var(--line);
  flex-shrink: 0;
  position: relative;
  transition: border-color 120ms ease;
}
.pay__opt--active .pay__radio { border-color: var(--accent); }
.pay__opt--active .pay__radio::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 999px;
  background: var(--accent);
}
.pay__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15.5px;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.pay__marks {
  margin-left: auto;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--muted-soft);
}
/* Card fields, revealed under active Stripe option */
.pay__fields {
  padding: 4px 18px 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.pay__fields .field--full { grid-column: 1 / -1; }
.pay__hint {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin-top: 2px;
}
.pay__hint svg { color: var(--good); flex-shrink: 0; }

.placeorder { margin-top: 22px; }
.placeorder .cta { width: 100%; justify-content: center; padding: 18px 24px; font-size: 18px; }
.placeorder__note {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--muted-soft);
  margin: 12px 0 0;
  line-height: 1.5;
}

/* Buy button state machine (mirrors landing) */
.js-place { position: relative; overflow: hidden; }
.js-place[data-state="loading"] { background: var(--ink); }
.js-place[data-state="done"] { background: var(--good); box-shadow: 0 10px 24px -10px rgba(27,138,75,0.5); }
.js-place .dots { display: inline-flex; gap: 4px; margin-left: 6px; }
.js-place .dots i {
  display: inline-block; width: 6px; height: 6px; border-radius: 50%;
  background: rgba(255,255,255,0.85); animation: dots 1s ease-in-out infinite;
}
.js-place .dots i:nth-child(2) { animation-delay: 0.18s; }
.js-place .dots i:nth-child(3) { animation-delay: 0.36s; }

@media (max-width: 760px) {
  .formgrid { grid-template-columns: 1fr; }
  .pay__fields { grid-template-columns: 1fr; }
  .cart-head { display: none; }
  .cartrow {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "product remove"
      "qtysub  qtysub";
    gap: 14px 12px;
  }
  .cartrow__product { grid-area: product; }
  .cartrow__remove  { grid-area: remove; }
  .cartrow__price   { display: none; }
  .cartrow__qtysub {
    grid-area: qtysub;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px dashed var(--line);
    padding-top: 14px;
  }
  .qty { margin: 0; }
}

/* On wide screens the qty + subtotal live in their own grid cells */
.cartrow__qtysub { display: contents; }
@media (max-width: 760px) { .cartrow__qtysub { display: flex; } }

/* ============================================================
   THANK YOU / ORDER CONFIRMATION
============================================================ */
.ty {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(40px, 6vw, 72px) var(--pad-x) clamp(60px, 9vw, 104px);
}
.ty__badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--good);
  background: var(--good-soft);
  border: 1px solid rgba(27,138,75,0.3);
  border-radius: 999px;
  padding: 8px 16px 8px 12px;
  margin-bottom: 22px;
}
.ty__check {
  width: 22px; height: 22px;
  border-radius: 999px;
  background: var(--good);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ty__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(32px, 4.4vw, 50px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin: 0 0 14px;
  color: var(--ink);
  text-wrap: balance;
}
.ty__title em { font-style: normal; color: var(--accent); }
.ty__lede {
  font-size: 18px;
  line-height: 1.5;
  color: var(--ink-soft);
  margin: 0 0 32px;
  max-width: 40em;
  text-wrap: pretty;
}
.ty__lede strong { color: var(--ink); }

/* Download card — the hero of this page */
.dl {
  background: var(--ink);
  color: #F7F6F1;
  border-radius: 22px;
  padding: 28px 30px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 22px;
  align-items: center;
  box-shadow: 0 30px 60px -28px rgba(0,0,0,0.45);
}
.dl .cover {
  width: 84px; height: 108px;
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: 0 16px 30px -16px rgba(0,0,0,0.6);
}
.dl__info { min-width: 0; }
.dl__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.02em;
  margin: 0 0 6px;
  color: #F7F6F1;
}
.dl__meta {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: #BDBCB5;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.dl__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.01em;
  padding: 15px 22px;
  border-radius: 12px;
  white-space: nowrap;
  box-shadow: 0 14px 32px -12px rgba(255,59,48,0.6), inset 0 1px 0 rgba(255,255,255,0.18);
  transition: transform 120ms ease, background 120ms ease;
}
.dl__btn:hover { background: var(--accent-deep); transform: translateY(-1px); }
.dl__btn svg { transition: transform 120ms ease; }
.dl__btn:hover svg { transform: translateY(2px); }

@media (max-width: 600px) {
  .dl { grid-template-columns: auto 1fr; }
  .dl__btn { grid-column: 1 / -1; justify-content: center; }
}

/* Order meta strip */
.ordermeta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  margin: 24px 0;
}
.ordermeta__cell {
  background: var(--paper-card);
  padding: 16px 18px;
}
.ordermeta__k {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.ordermeta__v {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.01em;
  color: var(--ink);
  word-break: break-word;
}
.ordermeta__v--accent { color: var(--accent); }
@media (max-width: 640px) {
  .ordermeta { grid-template-columns: 1fr 1fr; }
}

/* What's next */
.next {
  margin: 32px 0 0;
}
.next__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
  color: var(--ink);
}
.next__list {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  counter-reset: nextidx;
  border-top: 1px solid var(--line);
}
.next__item {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  align-items: baseline;
  padding: 18px 4px;
  border-bottom: 1px solid var(--line);
}
.next__n {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 13px;
  color: var(--accent);
}
.next__body h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.01em;
  margin: 0 0 4px;
  color: var(--ink);
}
.next__body p {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink-soft);
}

.ty__support {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  padding: 20px 22px;
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-radius: 16px;
  font-size: 14.5px;
  color: var(--ink-soft);
}
.ty__support strong { color: var(--ink); }
.ty__support a {
  color: var(--accent);
  font-weight: 700;
  border-bottom: 1px solid rgba(255,59,48,0.4);
  white-space: nowrap;
}
.ty__support .continue { margin-left: auto; }

/* ===== woo-cart.css ===== */
/* ============================================================
   woo-cart.css — WooCommerce CART BRIDGE
   ------------------------------------------------------------
   Restyles WooCommerce's NATIVE cart markup (the output of the
   [woocommerce_cart] shortcode / Elementor Pro "Cart" widget)
   to match the "$30/Hour Delivery Secrets" design system.

   Load order on the live site (Page Settings → Custom CSS, or a
   child-theme stylesheet):
     1. landing.css   (design tokens: --ink, --accent, fonts …)
     2. shop.css      (page-head, .steps, .summary, .trust, .paymarks)
     3. woo-cart.css  (THIS FILE — the Woo bridge)

   Everything here keys off classes WooCommerce really emits, so it
   keeps working after a plugin/theme update — no template edits.
============================================================ */

/* ------------------------------------------------------------
   0. Wrapper reset
------------------------------------------------------------ */
.woocommerce,
.woocommerce-cart .woocommerce {
  color: var(--ink);
  font-family: var(--font-body);
}

/* WooCommerce utility: visually-hidden labels. Woo's own stylesheet
   defines this; redeclared here so labels stay hidden if you scope the
   site CSS tightly or strip Woo's default styles. */
.woocommerce .screen-reader-text,
.woocommerce-cart-form .screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.woocommerce a.remove,
.woocommerce a { color: inherit; }

/* Two-column cart: WooCommerce's [woocommerce_cart] block holds the
   line-item <form> and the .cart-collaterals (totals) as siblings,
   stacked by default. Make the wrapper a grid so totals sit alongside
   the items — items left, sticky totals right. Add the `shop-woo`
   class to the page/section that wraps the shortcode. */
/* Constrain the full-bleed Woo content to the design width + center it (cart + checkout). */
.shop-woo .woocommerce {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(36px, 5vw, 60px) var(--pad-x) clamp(64px, 9vw, 104px);
}
/* Cart only: line items left, sticky totals right. (Checkout has its own grid below.) */
.woocommerce-cart .woocommerce {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 350px;
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}
.woocommerce-cart .woocommerce > .woocommerce-notices-wrapper,
.woocommerce-cart .woocommerce > .woocommerce-message,
.woocommerce-cart .woocommerce > .woocommerce-info,
.woocommerce-cart .woocommerce > .cart-empty,
.woocommerce-cart .woocommerce > .return-to-shop { grid-column: 1 / -1; }
.woocommerce-cart .cart-collaterals .cart_totals { position: sticky; top: 100px; }
@media (max-width: 1040px) {
  .woocommerce-cart .woocommerce { grid-template-columns: 1fr; }
  .woocommerce-cart .cart-collaterals { max-width: 440px; margin-left: auto; width: 100%; }
  .woocommerce-cart .cart-collaterals .cart_totals { position: static; }
}

.woocommerce-cart-form { width: 100%; margin: 0; }
.woocommerce .cart-collaterals { width: 100%; float: none; }
.woocommerce .cart-collaterals .cart_totals { width: 100%; float: none; }

/* Kill Woo's default "Cart updated" / message banners' boxed look so
   they sit quietly in our palette. */
.woocommerce-message,
.woocommerce-info {
  background: var(--good-soft);
  border-top: 3px solid var(--good);
  color: var(--ink-soft);
  font-family: var(--font-body);
  border-radius: 12px;
}
.woocommerce-message::before,
.woocommerce-info::before { color: var(--good); }

/* ============================================================
   1. LINE-ITEM TABLE  →  card list
   table.shop_table.cart  (.woocommerce-cart-form__contents)
============================================================ */
.woocommerce-cart-form .shop_table {
  display: block;
  width: 100%;
  border: none;
  border-top: 2px solid var(--ink);
  border-collapse: collapse;
  margin: 0;
  border-radius: 0;
  font-size: inherit;
}
.woocommerce-cart-form .shop_table thead,
.woocommerce-cart-form .shop_table tbody { display: block; }

/* --- Header row → mono uppercase rail (mirrors .cart-head) --- */
.woocommerce-cart-form .shop_table thead tr {
  display: grid;
  grid-template-columns: 94px minmax(0,1fr) auto 36px;
  gap: 14px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.woocommerce-cart-form .shop_table thead th {
  padding: 0;
  border: none;
  background: none;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: left;
}
/* Map header cells to the SAME grid areas as the body so the labels line
   up with their columns (Woo's source order is remove, thumbnail, name,
   price, qty, subtotal — grid areas re-place them). */
.woocommerce-cart-form .shop_table thead tr { grid-template-areas: "thumb name price remove"; }
.woocommerce-cart-form .shop_table thead .product-thumbnail { grid-area: thumb; }
.woocommerce-cart-form .shop_table thead .product-name { grid-area: name; }
.woocommerce-cart-form .shop_table thead .product-price { grid-area: price; text-align: right; }
.woocommerce-cart-form .shop_table thead .product-quantity { grid-area: qty; text-align: center; }
.woocommerce-cart-form .shop_table thead .product-subtotal { grid-area: subtotal; text-align: right; }
.woocommerce-cart-form .shop_table thead .product-remove { grid-area: remove; }
/* thumbnail + remove header cells stay blank */
.woocommerce-cart-form .shop_table thead .product-thumbnail,
.woocommerce-cart-form .shop_table thead .product-remove { font-size: 0; }

/* --- A cart line item --- */
.woocommerce-cart-form .cart_item {
  display: grid;
  grid-template-columns: 94px minmax(0,1fr) auto 36px;
  gap: 14px;
  align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  grid-template-areas: "thumb name price remove";
}
.woocommerce-cart-form .cart_item td {
  padding: 0;
  border: none;
  background: none;
}

/* Re-order Woo's native cell order (remove, thumb, name, price, qty, subtotal)
   into the design's reading order via named grid areas. */
/* Single digital product = always qty 1. Hide the Quantity + Subtotal
   columns (the line Price already carries the amount; the totals card
   shows Subtotal/Total). On the live site set the product to
   "Sold individually" so qty is locked to 1, then these stay hidden. */
.cart_item .product-quantity,
.cart_item .product-subtotal,
.woocommerce-cart-form .shop_table thead .product-quantity,
.woocommerce-cart-form .shop_table thead .product-subtotal { display: none; }
/* No coupon + locked qty = nothing to do in the actions row. */
.woocommerce-cart-form .shop_table .actions { display: none; }

.cart_item .product-thumbnail { grid-area: thumb; }
.cart_item .product-name      { grid-area: name; min-width: 0; }
.cart_item .product-price     { grid-area: price; }
.cart_item .product-quantity  { grid-area: qty; }
.cart_item .product-subtotal  { grid-area: subtotal; }
.cart_item .product-remove    { grid-area: remove; }

/* Product image → framed PDF-cover-style thumbnail */
.cart_item .product-thumbnail a { display: block; }
.cart_item .product-thumbnail img {
  width: 78px;
  height: 100px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
  box-shadow: 0 14px 28px -16px rgba(0,0,0,0.45);
  display: block;
}

/* Product name + meta */
.cart_item .product-name { font-family: var(--font-display); }
.cart_item .product-name > a {
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.015em;
  color: var(--ink);
  line-height: 1.15;
  display: inline-block;
  margin-bottom: 6px;
}
.cart_item .product-name > a:hover { color: var(--accent); }
/* Woo prints variation / item-data as a <dl class="variation"> — render the
   values as pills so they read like the mockup's meta chips. */
.cart_item .product-name .variation,
.cart_item .product-name .wcx-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--muted);
}
.cart_item .product-name .variation dt { display: none; }
.cart_item .product-name .variation dd,
.cart_item .product-name .wcx-meta span {
  margin: 0;
  white-space: nowrap;
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px 9px;
}
.cart_item .product-name .variation dd p { margin: 0; }

/* Price + subtotal → mono numerics, right aligned */
.cart_item .product-price,
.cart_item .product-subtotal {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 16px;
  color: var(--ink);
  text-align: right;
}
.cart_item .product-price del,
.cart_item .product-subtotal del {
  display: block;
  font-weight: 500;
  font-size: 12.5px;
  color: var(--muted-soft);
  margin-bottom: 2px;
}
.cart_item .product-price ins,
.cart_item .product-subtotal ins { text-decoration: none; }
.woocommerce-Price-currencySymbol { font-weight: 700; }

/* Quantity stepper → matches the design .qty control.
   Core Woo renders only <input.qty>; +/- buttons (.plus/.minus) come
   from the theme (Storefront) or a small snippet — styled here either way. */
.cart_item .product-quantity .quantity {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: var(--paper);
  margin: 0 auto;
}
.cart_item .product-quantity .quantity .qty {
  width: 44px;
  height: 40px;
  border: none;
  text-align: center;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
  background: var(--paper);
  -moz-appearance: textfield;
  appearance: textfield;
}
.cart_item .product-quantity .quantity .qty::-webkit-outer-spin-button,
.cart_item .product-quantity .quantity .qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.cart_item .product-quantity .quantity .minus,
.cart_item .product-quantity .quantity .plus {
  width: 38px;
  height: 40px;
  border: none;
  background: var(--paper-card);
  color: var(--ink);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 120ms ease, color 120ms ease;
  -webkit-appearance: none;
  appearance: none;
  border-radius: 0;
}
.cart_item .product-quantity .quantity .minus:hover,
.cart_item .product-quantity .quantity .plus:hover { background: var(--ink); color: #fff; }

/* Remove (×) → round ghost button */
.cart_item .product-remove .remove {
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--muted) !important;
  font-size: 20px;
  line-height: 30px;
  text-align: center;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  transition: all 120ms ease;
}
.cart_item .product-remove .remove:hover {
  border-color: var(--accent);
  color: var(--accent) !important;
  background: var(--accent-soft);
}

/* --- Actions row (coupon + update cart) --- */
.woocommerce-cart-form .shop_table .actions {
  display: none; /* no coupon, qty locked: removes the "Update cart" row */
}
/* Coupon field hidden per spec — single-product store, one fixed price. */
.woocommerce-cart-form .shop_table .actions .coupon { display: none; }
/* "Update cart" → ghost button (only enabled after a qty change) */
.woocommerce-cart-form .shop_table .actions button[name="update_cart"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: all 120ms ease;
  text-transform: none;
}
.woocommerce-cart-form .shop_table .actions button[name="update_cart"]:hover:not(:disabled) {
  border-color: var(--ink);
  background: var(--paper-card);
}
.woocommerce-cart-form .shop_table .actions button[name="update_cart"]:disabled { opacity: 0.45; }

/* ============================================================
   2. CART TOTALS  →  .summary card
   .cart-collaterals .cart_totals
============================================================ */
.cart-collaterals .cart_totals {
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 26px 26px 22px;
  box-shadow: 0 30px 60px -34px rgba(0,0,0,0.28);
}
.cart-collaterals .cart_totals h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 21px;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
  color: var(--ink);
  text-transform: none;
}

/* Totals table → stacked .sline rows */
.cart-collaterals .cart_totals .shop_table {
  display: block;
  width: 100%;
  border: none;
  margin: 0;
  background: none;
}
.cart-collaterals .cart_totals .shop_table tbody { display: block; }
.cart-collaterals .cart_totals .shop_table tr {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line-soft);
}
.cart-collaterals .cart_totals .shop_table th,
.cart-collaterals .cart_totals .shop_table td {
  padding: 0;
  border: none;
  background: none;
}
.cart-collaterals .cart_totals .shop_table th {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 15px;
  color: var(--muted);
  text-align: left;
}
.cart-collaterals .cart_totals .shop_table td {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
  text-align: right;
}
/* Free-shipping / instant-delivery rows read green */
.cart-collaterals .cart_totals .shipping td,
.cart-collaterals .cart_totals .woocommerce-shipping-totals td { color: var(--good); }
.cart-collaterals .cart_totals .shipping .woocommerce-Price-amount { color: var(--good); }

/* Grand total → display-weight, ink, red currency mark */
.cart-collaterals .cart_totals .order-total {
  border-bottom: none;
  padding: 16px 0 4px;
  margin-top: 4px;
  border-top: 2px solid var(--ink);
}
.cart-collaterals .cart_totals .order-total th {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.cart-collaterals .cart_totals .order-total td,
.cart-collaterals .cart_totals .order-total strong {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 30px;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.cart-collaterals .cart_totals .order-total .woocommerce-Price-currencySymbol {
  color: var(--accent);
  font-size: 18px;
  font-weight: 700;
}

/* Proceed-to-checkout → primary CTA, full width */
.cart-collaterals .wc-proceed-to-checkout { padding: 18px 0 0; }
.cart-collaterals .wc-proceed-to-checkout a.checkout-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 18px 24px;
  border-radius: 14px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
  text-transform: none;
  text-shadow: none;
  border: none;
  box-shadow: 0 14px 32px -12px rgba(255,59,48,0.65), inset 0 1px 0 rgba(255,255,255,0.18);
  transition: transform 120ms ease, box-shadow 120ms ease, background 120ms ease;
}
.cart-collaterals .wc-proceed-to-checkout a.checkout-button:hover {
  background: var(--accent-deep);
  transform: translateY(-1px);
  box-shadow: 0 18px 38px -12px rgba(255,59,48,0.75), inset 0 1px 0 rgba(255,255,255,0.22);
}
.cart-collaterals .wc-proceed-to-checkout a.checkout-button::after {
  content: "";
  width: 9px; height: 9px;
  border-right: 2.6px solid currentColor;
  border-top: 2.6px solid currentColor;
  transform: rotate(45deg);
  display: inline-block;
}

/* A quiet tax / delivery note line under the button */
.cart-collaterals .cart_totals .wcx-note {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted-soft);
  text-align: center;
  margin: 14px 0 0;
}

/* ------------------------------------------------------------
   3. Custom trust add-ons inside the totals box.
   These are NOT native Woo — inject via the
   `woocommerce_after_cart_totals` hook or an HTML widget.
   They reuse shop.css's .trust / .paymarks styling.
------------------------------------------------------------ */
.cart-collaterals .cart_totals .trust { margin-top: 16px; }
.cart-collaterals .cart_totals .paymarks { margin-top: 16px; }

/* ============================================================
   4. EMPTY CART  →  styled native state
   .cart-empty.woocommerce-info + .return-to-shop
============================================================ */
.woocommerce .cart-empty,
.woocommerce-page .cart-empty {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(24px, 2.6vw, 30px);
  letter-spacing: -0.025em;
  color: var(--ink);
  background: none;
  border: none;
  padding: 48px 0 14px;
  text-align: center;
}
.woocommerce .cart-empty::before,
.woocommerce-page .cart-empty::before { display: none; }
.woocommerce .return-to-shop {
  text-align: center;
  padding-bottom: 48px;
}
.woocommerce .return-to-shop .button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 22px;
  border-radius: 14px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.01em;
  text-transform: none;
  border: none;
  box-shadow: 0 14px 32px -12px rgba(255,59,48,0.65);
}
.woocommerce .return-to-shop .button:hover { background: var(--accent-deep); }

/* ============================================================
   5. RESPONSIVE — collapse the line item on narrow screens
============================================================ */
@media (max-width: 760px) {
  .woocommerce-cart-form .shop_table thead { display: none; }
  .woocommerce-cart-form .cart_item {
    grid-template-columns: 78px minmax(0,1fr) 36px;
    grid-template-areas:
      "thumb name   remove"
      "thumb price  remove";
    gap: 4px 14px;
    align-items: start;
  }
  .cart_item .product-thumbnail { align-self: center; }
  .cart_item .product-price { text-align: left; }
}

/* ===== checkout.css ===== */
/* ============================================================
   CHECKOUT  (classic [woocommerce_checkout])
   form left, order-review card right; matches cart + tokens
============================================================ */
.woocommerce-checkout form.checkout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 400px;
  grid-template-rows: auto 1fr;
  gap: 0 clamp(28px, 4vw, 56px);
  align-items: start;
}
.woocommerce-checkout #customer_details { grid-column: 1; grid-row: 1 / 3; }
.woocommerce-checkout #order_review_heading { grid-column: 2; grid-row: 1; }
.woocommerce-checkout #order_review { grid-column: 2; grid-row: 2; position: sticky; top: 100px; }
.woocommerce-checkout form.checkout > div[class*="express-checkout"],
.woocommerce-checkout form.checkout > div[class*="payment-request"] { grid-column: 1 / -1; }

.woocommerce-checkout #customer_details.col2-set { display: block; width: auto; }
.woocommerce-checkout #customer_details .col-1,
.woocommerce-checkout #customer_details .col-2 { float: none; width: auto; max-width: none; padding: 0; }
.woocommerce-checkout #customer_details .col-2 { display: none; }

.woocommerce-checkout .woocommerce-billing-fields > h3,
.woocommerce-checkout #order_review_heading {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(20px, 2.3vw, 26px);
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 18px;
}

.woocommerce-checkout .woocommerce-billing-fields__field-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 16px;
}
.woocommerce-checkout .form-row { margin: 0; padding: 0; }
.woocommerce-checkout #billing_email_field,
.woocommerce-checkout #billing_country_field,
.woocommerce-checkout #billing_address_1_field,
.woocommerce-checkout #billing_address_2_field,
.woocommerce-checkout .form-row-wide { grid-column: 1 / -1; }

.woocommerce-checkout .woocommerce-billing-fields label,
.woocommerce-checkout .woocommerce-checkout label {
  display: block;
  margin: 0 0 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--muted);
}
.woocommerce-checkout .required { color: var(--accent); border: none; text-decoration: none; }
.woocommerce-checkout .woocommerce-input-wrapper { width: 100%; display: block; }

.woocommerce-checkout input.input-text,
.woocommerce-checkout textarea,
.woocommerce-checkout select {
  width: 100%;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 13px 14px;
  transition: border-color 120ms ease, box-shadow 120ms ease;
}
.woocommerce-checkout input.input-text:focus,
.woocommerce-checkout textarea:focus,
.woocommerce-checkout select:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(14,14,12,0.08);
}
.woocommerce-checkout .select2-container--default .select2-selection--single {
  height: 50px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  display: flex;
  align-items: center;
  padding: 0 12px;
}
.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__rendered { color: var(--ink); line-height: 1.4; padding: 0; }
.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__arrow { height: 48px; right: 8px; }

.woocommerce-checkout #order_review {
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 24px 24px 22px;
  box-shadow: 0 30px 60px -34px rgba(0,0,0,0.28);
}
.woocommerce-checkout .woocommerce-checkout-review-order-table {
  width: 100%;
  border: none;
  border-collapse: collapse;
  margin: 0;
  font-size: 15px;
}
.woocommerce-checkout .woocommerce-checkout-review-order-table th,
.woocommerce-checkout .woocommerce-checkout-review-order-table td {
  padding: 11px 0;
  border: none;
  border-bottom: 1px solid var(--line-soft);
  background: none;
  text-align: right;
}
.woocommerce-checkout .woocommerce-checkout-review-order-table thead th {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
  text-align: left;
}
.woocommerce-checkout .woocommerce-checkout-review-order-table thead th.product-total { text-align: right; }
.woocommerce-checkout .woocommerce-checkout-review-order-table .product-name {
  text-align: left;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--ink-soft);
}
.woocommerce-checkout .woocommerce-checkout-review-order-table td,
.woocommerce-checkout .woocommerce-checkout-review-order-table .amount {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--ink);
}
.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot th {
  text-align: left;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--muted);
}
.woocommerce-checkout .woocommerce-checkout-review-order-table .order-total th {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--ink);
}
.woocommerce-checkout .woocommerce-checkout-review-order-table .order-total td,
.woocommerce-checkout .woocommerce-checkout-review-order-table .order-total .amount {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 26px;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.woocommerce-checkout .woocommerce-checkout-review-order-table .order-total .woocommerce-Price-currencySymbol { color: var(--accent); font-size: 16px; }

.woocommerce-checkout #payment {
  background: none;
  border-radius: 0;
  margin-top: 18px;
  padding: 0;
}
.woocommerce-checkout #payment ul.wc_payment_methods {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
  list-style: none;
  margin: 0 0 16px;
  padding: 4px 14px;
}
.woocommerce-checkout #payment ul.wc_payment_methods li { border-bottom: 1px solid var(--line-soft); padding: 12px 2px; }
.woocommerce-checkout #payment ul.wc_payment_methods li:last-child { border-bottom: none; }
.woocommerce-checkout #payment .payment_box {
  background: var(--paper-deep);
  border-radius: 12px;
  font-size: 14px;
  color: var(--ink-soft);
}
.woocommerce-checkout #payment .payment_box::before { display: none; }
.woocommerce-checkout #payment .woocommerce-privacy-policy-text { font-size: 13px; color: var(--muted); }
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper { margin: 4px 0 16px; font-size: 14px; }

.woocommerce-checkout #payment #place_order,
.woocommerce-checkout #place_order {
  float: none;
  display: block;
  width: 100%;
  margin: 6px 0 0;
  padding: 17px 24px;
  border: none;
  border-radius: 14px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
  text-transform: none;
  text-shadow: none;
  cursor: pointer;
  box-shadow: 0 14px 32px -12px rgba(255,59,48,0.65), inset 0 1px 0 rgba(255,255,255,0.18);
  transition: transform 120ms ease, box-shadow 120ms ease, background 120ms ease;
}
.woocommerce-checkout #place_order:hover {
  background: var(--accent-deep);
  transform: translateY(-1px);
  box-shadow: 0 18px 38px -12px rgba(255,59,48,0.75), inset 0 1px 0 rgba(255,255,255,0.22);
}
.woocommerce-checkout .woocommerce-form-coupon-toggle { margin-bottom: 18px; }

@media (max-width: 980px) {
  .woocommerce-checkout form.checkout { grid-template-columns: 1fr; grid-template-rows: none; }
  .woocommerce-checkout #customer_details,
  .woocommerce-checkout #order_review_heading,
  .woocommerce-checkout #order_review { grid-column: 1; grid-row: auto; }
  .woocommerce-checkout #order_review { position: static; }
}

/* ===== site-pages.css ===== */
/* ============================================================
   site-pages.css — Shop · My Account · Legal content
   ------------------------------------------------------------
   Built on landing.css (tokens) + shop.css (pagehead, nav, footer).
   Three jobs:
     1. SHOP archive bridge   — restyle WooCommerce `ul.products`
     2. MY ACCOUNT bridge      — restyle the account dashboard
     3. LEGAL PROSE            — privacy-policy / refund-returns
   Like woo-cart.css, the WooCommerce parts key off the classes
   WooCommerce really emits, so no template edits are needed.
============================================================ */

/* ============================================================
   SHARED — a centred content shell for the non-cart pages
============================================================ */
.pagewrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(40px, 6vw, 72px) var(--pad-x) clamp(60px, 9vw, 104px);
}
.pagewrap--narrow { max-width: 820px; }

/* The shop/account pages reuse .shop-woo's wrapper + .woocommerce reset
   from woo-cart.css when both sheets are present; redeclare the basics
   here so these pages also work standalone. */
.sitepage .woocommerce { color: var(--ink); font-family: var(--font-body); }
.sitepage .woocommerce a { color: inherit; }
.sitepage .woocommerce .screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* WooCommerce notices in-palette */
.sitepage .woocommerce-message,
.sitepage .woocommerce-info,
.sitepage .woocommerce-error {
  list-style: none;
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  color: var(--ink-soft);
  border-radius: 12px;
  padding: 14px 18px;
  margin: 0 0 22px;
  font-size: 14.5px;
}
.sitepage .woocommerce-message { border-left-color: var(--good); }
.sitepage .woocommerce-message::before,
.sitepage .woocommerce-info::before,
.sitepage .woocommerce-error::before { display: none; }

/* ============================================================
   1. SHOP ARCHIVE  →  product grid
   .woocommerce ul.products  >  li.product
============================================================ */
/* result-count + ordering toolbar */
.woocommerce .woocommerce-result-count {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 20px;
}
.woocommerce .woocommerce-ordering { display: none; } /* single-product store */

.woocommerce ul.products {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: clamp(20px, 3vw, 32px);
}
/* Single-product store: keep the lone card from stretching full width */
.woocommerce ul.products.columns-1,
.shop-feature ul.products {
  grid-template-columns: minmax(0, 560px);
  justify-content: center;
}

.woocommerce ul.products li.product {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 22px;
  margin: 0;
  text-align: left;
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}
.woocommerce ul.products li.product:hover {
  transform: translateY(-3px);
  border-color: var(--ink);
  box-shadow: 0 26px 50px -26px rgba(0,0,0,0.28);
}
.woocommerce ul.products li.product a { display: block; }

/* sale flash */
.woocommerce ul.products li.product .onsale,
.woocommerce span.onsale {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  margin: 0;
  min-height: auto;
  min-width: auto;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 999px;
  line-height: 1;
  white-space: nowrap;
}

.woocommerce ul.products li.product img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid var(--line);
  margin: 0 0 18px;
  background: var(--ink);
}
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--ink);
  padding: 0;
  margin: 0 0 6px;
}
.woocommerce ul.products li.product .wcx-excerpt {
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink-soft);
  margin: 0 0 16px;
}
.woocommerce ul.products li.product .price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 0 0 18px;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 22px;
  color: var(--ink);
}
.woocommerce ul.products li.product .price del {
  font-weight: 500;
  font-size: 15px;
  color: var(--muted-soft);
  opacity: 1;
}
.woocommerce ul.products li.product .price ins { text-decoration: none; color: var(--ink); }
.woocommerce .price .woocommerce-Price-currencySymbol { color: var(--accent); }

/* The card's action buttons sit at the bottom */
.woocommerce ul.products li.product .wcx-actions {
  margin-top: auto;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* WooCommerce buttons → design CTAs */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce .button,
.woocommerce input.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 20px;
  border-radius: 12px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15.5px;
  letter-spacing: -0.01em;
  text-transform: none;
  border: none;
  cursor: pointer;
  box-shadow: 0 12px 26px -12px rgba(255,59,48,0.6), inset 0 1px 0 rgba(255,255,255,0.18);
  transition: transform 120ms ease, background 120ms ease, box-shadow 120ms ease, border-color 120ms ease, color 120ms ease;
}
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce .button:hover,
.woocommerce input.button:hover {
  background: var(--accent-deep);
  transform: translateY(-1px);
}
/* secondary / ghost variant */
.woocommerce .button.wcx-ghost,
.woocommerce a.button.wcx-ghost {
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: none;
}
.woocommerce .button.wcx-ghost:hover,
.woocommerce a.button.wcx-ghost:hover {
  border-color: var(--ink);
  background: var(--paper);
}
.woocommerce ul.products li.product .button { flex: 1; }

/* "added to cart" confirmation link */
.woocommerce a.added_to_cart {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 14px 4px;
}

/* ============================================================
   2. MY ACCOUNT  →  dashboard
   .woocommerce-account .woocommerce
============================================================ */
.woocommerce-account .woocommerce {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: clamp(24px, 4vw, 44px);
  align-items: start;
}
@media (max-width: 880px) {
  .woocommerce-account .woocommerce { grid-template-columns: 1fr; }
}

/* --- Left navigation --- */
.woocommerce-MyAccount-navigation {
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 10px;
  position: sticky;
  top: 88px;
}
@media (max-width: 880px) {
  .woocommerce-MyAccount-navigation { position: static; }
}
.woocommerce-MyAccount-navigation ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.woocommerce-MyAccount-navigation li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 11px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
  color: var(--ink-soft);
  transition: background 120ms ease, color 120ms ease;
}
.woocommerce-MyAccount-navigation li a:hover { background: var(--paper); color: var(--ink); }
.woocommerce-MyAccount-navigation li.is-active a,
.woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--dashboard.is-active a {
  background: var(--ink);
  color: #fff;
}
.woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--customer-logout a {
  color: var(--muted);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 8px;
  border-top: 1px solid var(--line);
  border-radius: 0;
  padding-top: 16px;
}
.woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--customer-logout a:hover {
  background: none; color: var(--accent);
}

/* --- Content --- */
.woocommerce-MyAccount-content { min-width: 0; }
.woocommerce-MyAccount-content p { color: var(--ink-soft); line-height: 1.6; }
.woocommerce-MyAccount-content strong { color: var(--ink); }
.woocommerce-MyAccount-content a:not(.button) {
  color: var(--accent);
  border-bottom: 1px solid rgba(255,59,48,0.4);
}
.woocommerce-MyAccount-content h2,
.woocommerce-MyAccount-content .wcx-h {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 28px 0 14px;
}
.woocommerce-MyAccount-content > h2:first-child,
.woocommerce-MyAccount-content > .wcx-h:first-child { margin-top: 0; }

/* Account data tables (orders / downloads) */
.woocommerce-account .shop_table,
.woocommerce-account table.account-orders-table,
.woocommerce-MyAccount-downloads {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  margin: 0 0 22px;
  font-size: 14.5px;
}
.woocommerce-account .shop_table thead th,
.woocommerce-MyAccount-downloads thead th {
  background: var(--paper-card);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: left;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
}
.woocommerce-account .shop_table td,
.woocommerce-MyAccount-downloads td {
  padding: 15px 16px;
  border-bottom: 1px solid var(--line-soft);
  color: var(--ink-soft);
  vertical-align: middle;
}
.woocommerce-account .shop_table tr:last-child td,
.woocommerce-MyAccount-downloads tr:last-child td { border-bottom: none; }
.woocommerce-account .shop_table td.wcx-num,
.woocommerce-account .shop_table .woocommerce-orders-table__cell-order-total {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--ink);
}
.woocommerce-account .shop_table td .button,
.woocommerce-MyAccount-downloads td .button { padding: 9px 15px; font-size: 13.5px; }

/* order status pill */
.wcx-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--good-soft);
  color: var(--good);
  border: 1px solid rgba(27,138,75,0.3);
}

/* Dashboard intro card */
.wcx-dash {
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--ink);
  color: #F7F6F1;
  border-radius: 18px;
  padding: 22px 24px;
  margin: 0 0 28px;
}
.wcx-dash .cover { width: 56px; height: 72px; flex-shrink: 0; }
.wcx-dash__hi {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.02em;
  margin: 0 0 4px;
  color: #F7F6F1;
}
.wcx-dash__sub { font-family: var(--font-mono); font-size: 12.5px; color: #BDBCB5; margin: 0; letter-spacing: 0.04em; }

/* Login / register form */
.woocommerce-form-login,
.woocommerce form.login,
.woocommerce form.register {
  max-width: 440px;
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 26px;
}
.woocommerce .form-row { display: flex; flex-direction: column; margin: 0 0 16px; }
.woocommerce .form-row label,
.woocommerce-account label {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.woocommerce .input-text,
.woocommerce input[type="text"],
.woocommerce input[type="email"],
.woocommerce input[type="password"],
.woocommerce input[type="tel"] {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--paper);
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--ink);
  transition: border-color 120ms ease, box-shadow 120ms ease;
}
.woocommerce .input-text:focus,
.woocommerce input:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(14,14,12,0.07);
}
.woocommerce .woocommerce-form-login__rememberme,
.woocommerce label.woocommerce-form__label-for-checkbox {
  flex-direction: row;
  align-items: center;
  gap: 8px;
  text-transform: none;
  letter-spacing: 0;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--ink-soft);
}
.woocommerce-LostPassword { margin: 10px 0 0; font-size: 14px; }

/* ============================================================
   3. LEGAL PROSE  (privacy-policy / refund-returns)
============================================================ */
.prose { max-width: 720px; }
.prose__updated {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.prose__lede {
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink);
  margin: 0 0 32px;
  text-wrap: pretty;
}
.prose h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 40px 0 12px;
  scroll-margin-top: 90px;
}
.prose h2 .prose__idx {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 14px;
  color: var(--accent);
  margin-right: 12px;
}
.prose h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 24px 0 8px;
}
.prose p {
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--ink-soft);
  margin: 0 0 16px;
  text-wrap: pretty;
}
.prose a {
  color: var(--accent);
  border-bottom: 1px solid rgba(255,59,48,0.4);
}
.prose ul, .prose ol {
  margin: 0 0 16px;
  padding-left: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.prose li {
  position: relative;
  padding-left: 22px;
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--ink-soft);
}
.prose ul li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 11px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.prose ol { counter-reset: pidx; }
.prose ol li { counter-increment: pidx; }
.prose ol li::before {
  content: counter(pidx);
  position: absolute;
  left: 0;
  top: 1px;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 13px;
  color: var(--accent);
}
.prose strong { color: var(--ink); }

/* A highlighted callout for the money-back guarantee on refund page */
.prose .callout {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
  background: var(--good-soft);
  border: 1px solid rgba(27,138,75,0.28);
  border-radius: 16px;
  padding: 20px 22px;
  margin: 0 0 28px;
}
.prose .callout__shield { color: var(--good); margin-top: 2px; }
.prose .callout strong { color: var(--good); display: block; margin-bottom: 4px; font-size: 17px; font-family: var(--font-display); letter-spacing: -0.01em; }
.prose .callout p { margin: 0; font-size: 15px; }

/* Mini table of contents for legal pages */
.prose__toc {
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 22px;
  margin: 0 0 36px;
}
.prose__toc h2 {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 12px;
}
.prose__toc ol {
  margin: 0;
  list-style: none;
  counter-reset: tocp;
  display: grid;
  gap: 8px;
}
.prose__toc li { padding-left: 0; counter-increment: tocp; }
.prose__toc li::before { content: none; }
.prose__toc a {
  display: inline-flex;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink-soft);
  border: none;
}
.prose__toc a::before {
  content: counter(tocp, decimal-leading-zero);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 12.5px;
  color: var(--accent);
}
.prose__toc a:hover { color: var(--accent); }


/* ===== contact form (WPForms) ===== */
.pagewrap .contact-intro { font-size: 18px; color: var(--ink-soft); margin: 0 0 28px; max-width: 60ch; }
.pagewrap .wpforms-container { margin: 0; max-width: 640px; }
.pagewrap .wpforms-container .wpforms-title,
.pagewrap .wpforms-container .wpforms-description { display: none; }
.pagewrap .wpforms-form .wpforms-field { padding: 0 0 18px; }
.pagewrap .wpforms-form .wpforms-field-label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 7px;
}
.pagewrap .wpforms-form .wpforms-required-label { color: var(--accent); }
.pagewrap .wpforms-form input[type=text],
.pagewrap .wpforms-form input[type=email],
.pagewrap .wpforms-form textarea,
.pagewrap .wpforms-form select {
  width: 100%;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 13px 14px;
  box-shadow: none;
  transition: border-color 120ms ease, box-shadow 120ms ease;
}
.pagewrap .wpforms-form input:focus,
.pagewrap .wpforms-form textarea:focus,
.pagewrap .wpforms-form select:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(14,14,12,0.08);
}
.pagewrap .wpforms-form textarea { min-height: 150px; resize: vertical; }
.pagewrap .wpforms-form .wpforms-field-row { max-width: none; }
.pagewrap .wpforms-form button[type=submit] {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
  padding: 15px 26px;
  border: none;
  border-radius: 14px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.01em;
  cursor: pointer;
  box-shadow: 0 14px 32px -12px rgba(255,59,48,0.65), inset 0 1px 0 rgba(255,255,255,0.18);
  transition: transform 120ms ease, box-shadow 120ms ease, background 120ms ease;
}
.pagewrap .wpforms-form button[type=submit]:hover {
  background: var(--accent-deep);
  transform: translateY(-1px);
  box-shadow: 0 18px 38px -12px rgba(255,59,48,0.75);
}
.pagewrap .wpforms-confirmation-container-full {
  background: var(--good-soft);
  border: 1px solid var(--good);
  border-radius: 14px;
  color: var(--ink-soft);
  font-family: var(--font-body);
  padding: 20px 22px;
}
.pagewrap .wpforms-form .wpforms-field-description { color: var(--muted); font-size: 13.5px; }