/* ============================================================
   AisleBeam — site stylesheet
   Tokens and rules: see ../DESIGN.md. Light theme only.
   ============================================================ */

:root {
  --paper: #FAF7F1;
  --paper-band: #F2ECDF;
  --card: #FFFFFF;
  --ink: #1D1A16;
  --ink-2: #494139;
  --ink-3: #6E6455;
  --line: #E0D8C6;
  --line-strong: #C9BCA0;
  --accent: #0B5563;
  --accent-hover: #0D6577;
  --accent-deep: #073B45;
  --accent-wash: #E3EDEA;
  --inverse-2: #2A251E;
  --on-inverse: #FAF7F1;
  --on-inverse-2: #CFC6B4;
  --live: #B3352B;
  --success: #2F6B3A;
  --danger: #A62B1F;

  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;

  --s1: 4px; --s2: 8px; --s3: 16px; --s4: 24px; --s5: 32px;
  --s6: 48px; --s7: 64px; --s8: 96px;
  --radius: 10px;
  --radius-s: 6px;
  --ease: cubic-bezier(0.05, 0.7, 0.1, 1);
  --sidebar-w: 272px;
  /* The device home-indicator inset, named once: the sticky phone CTA's
     height and the body's clearance from it both derive from this value
     (B3) so the two can never drift apart. */
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

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

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

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

::selection { background: var(--accent-wash); }

a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent-deep); }

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

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 5.2vw, 3.4rem); line-height: 1.04; font-weight: 560; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.5rem); line-height: 1.12; font-weight: 560; letter-spacing: -0.018em; }
h3 { font-size: clamp(1.25rem, 2vw, 1.4rem); line-height: 1.3; font-weight: 600; letter-spacing: -0.01em; }

p { margin: 0; }
.lead { font-size: 1.25rem; line-height: 1.55; color: var(--ink-2); }
.small { font-size: 0.875rem; }
.mono { font-family: var(--font-mono); font-size: 0.94em; letter-spacing: 0; }
.measure { max-width: 68ch; }

.eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-2);
  display: flex;
  align-items: center;
  gap: var(--s2);
  margin: 0 0 var(--s3);
}
.eyebrow::before {
  content: "";
  width: 22px; height: 2px;
  background: var(--ink-3);
  flex: none;
}

.skip {
  position: absolute; left: -999px; top: 0;
  background: var(--ink); color: #fff; padding: var(--s2) var(--s3); z-index: 60;
}
.skip:focus { left: var(--s2); top: var(--s2); color: #fff; }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s2);
  min-height: 48px;
  padding: 13px 22px;
  border-radius: var(--radius-s);
  font-weight: 600; font-size: 1rem; line-height: 1.2;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background-color 180ms var(--ease), border-color 180ms var(--ease), color 180ms var(--ease);
  cursor: pointer;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); color: #fff; }
.btn-primary:active { background: var(--accent-deep); color: #fff; }
.btn-secondary { background: var(--card); color: var(--ink); border-color: var(--line-strong); }
.btn-secondary:hover { border-color: var(--ink-3); color: var(--ink); }
.btn-block { width: 100%; }

/* ---------- shell: sidebar (desktop) / topbar (tablet+phone) ---------- */

.sidebar { display: none; }
.topbar {
  position: sticky; top: 0; z-index: 40;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.topbar-in {
  display: flex; align-items: center; gap: var(--s3);
  padding: var(--s2) var(--s4);
  max-width: 1180px; margin: 0 auto;
}
.wordmark {
  font-family: var(--font-display);
  font-size: 1.3rem; font-weight: 600; letter-spacing: -0.01em;
  color: var(--ink); text-decoration: none; white-space: nowrap;
}
.wordmark:hover { color: var(--ink); }
.wordmark .wm-dot { color: var(--accent); }
/* Brand lockup: flat mark beside the typeset wordmark (sidebar head, footer
   brand column). Gap honours BRAND-MARKS clear space (>= 1/4 of mark width);
   the typeset wordmark stays primary. Mark min size 24px — set at 30px. */
.wordmark-lockup { display: inline-flex; align-items: center; gap: 10px; }
.wordmark-lockup img { width: 30px; height: 30px; flex: none; }
.footer a.wordmark-lockup { display: inline-flex; }
.topbar nav { display: none; }
.topbar .spacer { flex: 1; }
.topbar .btn { min-height: 44px; padding: 10px 18px; }
/* B1: below the tablet breakpoint the topbar carries wordmark + Menu only.
   One filled button per screen — the sticky bottom bar owns phone
   conversion; a second filled CTA in the bar both duplicated it and
   over-filled the row (~500px of content in a 390px bar). The button
   returns at 768px, alongside the inline nav. */
@media (max-width: 767px) { .topbar .btn { display: none; } }
.menu-btn {
  display: inline-flex; align-items: center; gap: var(--s2);
  min-height: 44px; padding: 10px 14px;
  background: none; border: 1px solid var(--line-strong); border-radius: var(--radius-s);
  font: inherit; font-weight: 600; color: var(--ink); cursor: pointer;
}
.menu-btn .chev { transition: transform 200ms var(--ease); }
.menu-btn[aria-expanded="true"] .chev { transform: rotate(180deg); }
.topnav-mobile {
  display: none;
  border-top: 1px solid var(--line);
  padding: var(--s2) var(--s4) var(--s3);
  background: var(--paper);
}
.topnav-mobile.open { display: block; }
.topnav-mobile a {
  display: block; padding: 12px var(--s2);
  color: var(--ink); text-decoration: none; font-weight: 500;
  border-bottom: 1px solid var(--line);
  min-height: 44px;
}
.topnav-mobile a:last-child { border-bottom: 0; }
.topnav-mobile a[aria-current="page"] { color: var(--accent); font-weight: 600; }

.content { min-width: 0; }

@media (min-width: 768px) {
  .topbar nav { display: flex; gap: var(--s4); margin-left: var(--s4); }
  .topbar nav a {
    color: var(--ink-2); text-decoration: none; font-weight: 500;
    padding: var(--s2) 2px; border-bottom: 2px solid transparent;
  }
  .topbar nav a:hover { color: var(--ink); }
  .topbar nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--accent); }
  .menu-btn, .topnav-mobile { display: none !important; }
}

@media (min-width: 1200px) {
  .topbar { display: none; }
  .shell { display: grid; grid-template-columns: var(--sidebar-w) minmax(0, 1fr); }
  .sidebar {
    display: flex; flex-direction: column;
    position: sticky; top: 0; height: 100vh; overflow-y: auto;
    background: var(--paper-band);
    border-right: 1px solid var(--line);
    padding: var(--s5) var(--s4) var(--s4);
  }
  .sidebar .wordmark { font-size: 1.45rem; }
  .sidebar .descriptor {
    font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--ink-2); margin: var(--s2) 0 var(--s5); line-height: 1.5;
  }
  .side-nav { display: flex; flex-direction: column; gap: 2px; margin-bottom: var(--s4); }
  .side-nav a {
    color: var(--ink-2); text-decoration: none; font-weight: 500;
    padding: 10px var(--s3); border-left: 2px solid transparent; border-radius: 0 var(--radius-s) var(--radius-s) 0;
    min-height: 44px; display: flex; align-items: center;
  }
  .side-nav a:hover { color: var(--ink); background: rgba(255,255,255,0.55); }
  .side-nav a[aria-current="page"] { color: var(--ink); border-left-color: var(--accent); background: var(--card); font-weight: 600; }
  .side-founding {
    background: var(--card); border: 1px solid var(--line);
    border-radius: var(--radius); padding: var(--s3); margin: var(--s4) 0;
  }
  .side-founding h3 { font-size: 1.05rem; margin-bottom: var(--s2); }
  .side-founding p { font-size: 0.875rem; color: var(--ink-2); }
  .side-founding a { font-weight: 600; }
  .side-foot { margin-top: auto; padding-top: var(--s4); border-top: 1px solid var(--line); font-size: 0.875rem; }
  .side-foot a { color: var(--ink-2); text-decoration: none; display: block; padding: 6px 0; min-height: 32px; }
  .side-foot a:hover { color: var(--accent); }
  .side-foot .fine { color: var(--ink-3); font-size: 0.8rem; margin-top: var(--s3); line-height: 1.5; }
}

/* ---------- sections & layout ---------- */

.section { padding: var(--s6) var(--s4); }
.section.band { background: var(--paper-band); }
.section.white { background: var(--card); }
.wrap { max-width: 1180px; margin: 0 auto; }
.wrap-narrow { max-width: 860px; margin: 0 auto; }

.section-head { max-width: 720px; margin-bottom: var(--s5); }
.section-head p { color: var(--ink-2); margin-top: var(--s3); font-size: 1.06rem; }

.grid-2, .grid-3, .grid-4 { display: grid; gap: var(--s4); grid-template-columns: 1fr; }

@media (min-width: 768px) {
  .section { padding: var(--s7) var(--s5); }
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .span-2 { grid-column: span 2; }
}
@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 1200px) {
  .section { padding: var(--s8) var(--s6); }
}

/* ---------- hero ---------- */

.hero { padding-top: var(--s6); }
.hero-grid { display: grid; gap: var(--s5); grid-template-columns: 1fr; align-items: center; }
.hero-copy .lead { margin-top: var(--s3); max-width: 34ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: var(--s3); align-items: center; margin-top: var(--s5); }
.hero-note { font-size: 0.875rem; color: var(--ink-3); }
.fact-strip {
  display: flex; flex-wrap: wrap; gap: var(--s2) var(--s4);
  margin-top: var(--s5); padding-top: var(--s4);
  border-top: 1px solid var(--line);
  font-family: var(--font-mono); font-size: 0.85rem; color: var(--ink-2);
}
.fact-strip span { display: inline-flex; align-items: center; gap: var(--s2); }
.fact-strip span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ink-3); }

.trustbar { border-bottom: 1px solid var(--line); padding: 0 var(--s4); }
.trustbar .fact-strip { margin-top: 0; padding: var(--s3) 0; border-top: 0; }
@media (min-width: 768px) { .trustbar { padding: 0 var(--s5); } }
@media (min-width: 1200px) { .trustbar { padding: 0 var(--s6); } }

@media (min-width: 1024px) {
  .hero-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s6); }
}

/* ---------- drawn product visuals (all frames 16:9) ---------- */

.stage { display: grid; gap: var(--s2); }
.program, .tile, .phone-screen .watch {
  position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius);
  border: 1px solid var(--line-strong); overflow: hidden; background: var(--ink);
}
.scene { position: absolute; inset: 0; }
.scene-ceremony {
  background:
    radial-gradient(ellipse 90% 60% at 50% 0%, rgba(255,246,220,0.95), rgba(255,246,220,0) 60%),
    linear-gradient(168deg, #D9BE8C 0%, #B98D5F 46%, #6E5136 100%);
}
.scene-a { background: linear-gradient(150deg, #D8C49A, #96754A); }
.scene-b { background: linear-gradient(150deg, #A8B79A, #5F7355); }
.scene-c { background: linear-gradient(150deg, #E3CFA8, #A9805A); }
.scene-d { background: linear-gradient(150deg, #93A7B8, #4E6274); }
.scene::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(20,14,8,0.35), rgba(20,14,8,0) 45%);
}
.badge-live {
  position: absolute; top: var(--s3); left: var(--s3); z-index: 2;
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(20, 16, 10, 0.78); color: #fff;
  font-family: var(--font-mono); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em;
  padding: 5px 10px; border-radius: 4px;
}
.badge-live .dot { width: 8px; height: 8px; border-radius: 50%; background: #FF6B5E; animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
.frame-label {
  position: absolute; left: var(--s3); bottom: var(--s3); z-index: 2;
  color: #fff; font-weight: 600; font-size: 0.95rem; text-shadow: 0 1px 8px rgba(0,0,0,0.45);
}
.frame-meta {
  position: absolute; right: var(--s3); bottom: var(--s3); z-index: 2;
  color: rgba(255,255,255,0.92); font-family: var(--font-mono); font-size: 0.8rem;
  text-shadow: 0 1px 8px rgba(0,0,0,0.45);
}
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s2); }
.tile .chip {
  position: absolute; top: var(--s2); left: var(--s2); z-index: 2;
  background: rgba(20,16,10,0.72); color: #fff;
  font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.05em;
  padding: 3px 7px; border-radius: 4px;
}
.tile.is-live { outline: 2px solid var(--accent); outline-offset: -2px; }
@media (min-width: 768px) { .tiles { grid-template-columns: repeat(4, 1fr); } }

.phone {
  width: min(300px, 80vw); margin: 0 auto;
  background: var(--ink); border-radius: 34px; padding: 10px;
  box-shadow: 0 24px 48px rgba(29, 26, 22, 0.22);
}
.phone-screen { background: var(--card); border-radius: 26px; overflow: hidden; padding-bottom: var(--s4); }
.phone-screen .watch { border: 0; border-radius: 0; aspect-ratio: 16 / 9; }
.phone-body { padding: var(--s3) var(--s4) 0; text-align: center; }
.phone-body .p-title { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; }
.phone-body .p-sub { color: var(--ink-2); font-size: 0.875rem; margin-top: 2px; }
.codeboxes { display: flex; gap: var(--s2); justify-content: center; margin: var(--s3) 0 var(--s2); }
.codeboxes span {
  width: 42px; height: 50px; display: grid; place-items: center;
  border: 1px solid var(--line-strong); border-radius: 8px;
  font-family: var(--font-mono); font-size: 1.3rem; font-weight: 600; background: var(--paper);
}
.phone-body .p-note { font-size: 0.8rem; color: var(--ink-3); }

/* ---------- cards, steps, lists ---------- */

.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: var(--s4);
}
.card h3 { margin-bottom: var(--s2); }
.card p { color: var(--ink-2); }
.card .fig { font-family: var(--font-mono); color: var(--ink); font-size: 1.5rem; font-weight: 600; }

.step-num {
  font-family: var(--font-mono); font-size: 0.85rem; font-weight: 600; color: var(--ink-2);
  display: block; margin-bottom: var(--s2); letter-spacing: 0.08em;
}

.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s2); }
.check-list li { display: flex; gap: var(--s2); align-items: flex-start; }
.check-list li::before {
  content: ""; flex: none; width: 18px; height: 18px; margin-top: 3px;
  background: var(--success);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M7.6 14.6 3.4 10.4l1.6-1.6 2.6 2.6 6.4-6.4 1.6 1.6z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M7.6 14.6 3.4 10.4l1.6-1.6 2.6 2.6 6.4-6.4 1.6 1.6z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.pull-quote {
  font-family: var(--font-display); font-size: clamp(1.4rem, 2.8vw, 1.9rem); line-height: 1.3;
  font-weight: 500; max-width: 22ch;
}
.attrib { font-size: 0.875rem; color: var(--ink-3); margin-top: var(--s3); }

/* ---------- pricing ---------- */

.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
table.ladder { border-collapse: collapse; width: 100%; min-width: 520px; }
table.ladder th, table.ladder td { padding: 14px var(--s4); text-align: left; border-bottom: 1px solid var(--line); }
table.ladder thead th { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--ink-2); font-weight: 600; }
table.ladder tbody tr:last-child td { border-bottom: 0; }
table.ladder tbody tr:hover { background: var(--paper); }
table.ladder td.num, table.ladder th.num { text-align: right; font-family: var(--font-mono); font-size: 0.98rem; }
table.ladder tr.is-popular { background: var(--accent-wash); }
table.ladder tr.is-popular:hover { background: var(--accent-wash); }
.tag {
  display: inline-block; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent-deep); background: #fff; border: 1px solid var(--accent);
  padding: 2px 8px; border-radius: 999px; margin-left: var(--s2); vertical-align: 2px;
}

.estimator { display: grid; gap: var(--s3); }
.estimator label { font-weight: 600; font-size: 0.9rem; display: block; margin-bottom: var(--s1); }
.estimator select {
  width: 100%; min-height: 48px; padding: 10px var(--s3);
  font: inherit; color: var(--ink); background: var(--card);
  border: 1px solid var(--line-strong); border-radius: var(--radius-s);
}
.estimator .total {
  border-top: 1px solid var(--line); padding-top: var(--s3);
  display: flex; justify-content: space-between; align-items: baseline; gap: var(--s3);
}
.estimator .total .amount { font-family: var(--font-mono); font-size: 1.6rem; font-weight: 600; }
.estimator .breakdown { font-size: 0.875rem; color: var(--ink-2); font-family: var(--font-mono); }

/* ---------- FAQ ---------- */

.faq-list { border-bottom: 1px solid var(--line); }
.faq-item { border-top: 1px solid var(--line); }
.faq-item summary {
  list-style: none; cursor: pointer; min-height: 56px;
  display: flex; align-items: center; justify-content: space-between; gap: var(--s3);
  padding: var(--s3) var(--s2);
  font-family: var(--font-display); font-size: 1.2rem; font-weight: 500;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; font-family: var(--font-body); font-weight: 400; font-size: 1.5rem; color: var(--accent);
  transition: transform 200ms var(--ease); flex: none;
}
.faq-item[open ] summary::after { transform: rotate(45deg); }
.faq-item .faq-body { padding: 0 var(--s2) var(--s4); color: var(--ink-2); max-width: 68ch; }
.faq-item .faq-body p + p { margin-top: var(--s2); }

/* ---------- founding / CTA bands ---------- */

.founding {
  background: var(--accent-wash); border: 1px solid var(--line);
  border-radius: var(--radius); padding: var(--s5);
}
.founding .grid-2 { align-items: center; }

.cta-band { text-align: left; }
.cta-band .btn { margin-top: var(--s4); }

/* ---------- footer ---------- */

.footer { background: var(--paper-band); border-top: 1px solid var(--line); padding: var(--s6) var(--s4) var(--s5); }
.footer-grid { display: grid; gap: var(--s5); grid-template-columns: 1fr; max-width: 1180px; margin: 0 auto; }
.footer h3 { font-size: 0.8rem; font-family: var(--font-body); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-2); margin-bottom: var(--s3); }
.footer a { color: var(--ink-2); text-decoration: none; display: block; padding: 5px 0; min-height: 30px; }
.footer a:hover { color: var(--accent); }
.footer .brand-col p { color: var(--ink-2); font-size: 0.92rem; max-width: 30ch; margin-top: var(--s2); }
.footer-base {
  max-width: 1180px; margin: var(--s5) auto 0; padding-top: var(--s4);
  border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: var(--s2) var(--s4);
  font-size: 0.85rem; color: var(--ink-3);
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } .footer { padding: var(--s6) var(--s5) var(--s5); } }
@media (min-width: 1200px) { .footer { padding: var(--s6) var(--s6) var(--s5); } }

/* ---------- legal / prose ---------- */

.draft-banner {
  border: 1px solid var(--line-strong); background: var(--paper-band); color: var(--ink);
  border-radius: var(--radius); padding: var(--s3) var(--s4); margin-bottom: var(--s5);
  font-size: 0.95rem;
}
.prose h2 { font-size: 1.5rem; margin: var(--s5) 0 var(--s2); }
.prose h2:first-of-type { margin-top: 0; }
.prose p { color: var(--ink-2); margin-bottom: var(--s3); max-width: 68ch; }
.prose .placeholder { font-style: italic; color: var(--ink-3); }

/* ---------- sticky phone CTA ---------- */

.mobile-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  background: var(--paper); border-top: 1px solid var(--line-strong);
  padding: var(--s2) var(--s3) calc(var(--s2) + var(--safe-bottom));
  display: block;
}
.mobile-cta .btn { width: 100%; }
@media (min-width: 768px) { .mobile-cta { display: none; } }
/* B3: clearance = the bar's inset-free height (65px: 1px border + 8 top
   padding + 48 button + 8 bottom padding) + 11px of air, plus the SAME
   inset the bar itself grows by — so the slack is a constant 11px at
   every inset (0px: 76 vs 65; a 34px home-indicator inset: 110 vs 99)
   and the footer can never slide under the bar on a notched phone. */
@media (max-width: 767px) { body { padding-bottom: calc(76px + var(--safe-bottom)); } }

/* ---------- offer band (pricing page, founding) ---------- */

.offer-band {
  background: var(--accent-wash); border: 1px solid var(--line); border-radius: var(--radius);
  padding: var(--s3) var(--s4);
  display: flex; flex-wrap: wrap; gap: var(--s2) var(--s4); align-items: center;
  font-size: 0.98rem;
}
.offer-band strong { font-weight: 600; }
.offer-band a { font-weight: 600; margin-left: auto; }

/* ---------- pricing tier cards (by duration) ---------- */

.tier-grid { display: grid; gap: var(--s4); grid-template-columns: 1fr; }
@media (min-width: 768px) { .tier-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .tier-grid { grid-template-columns: repeat(4, 1fr); } }

.tier-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: var(--s4); display: flex; flex-direction: column;
}
.tier-card .tier-name { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; letter-spacing: -0.01em; }
.tier-card .tier-price { font-family: var(--font-mono); font-size: 1.9rem; font-weight: 600; margin-top: var(--s3); }
.tier-card .tier-per { font-family: var(--font-mono); font-size: 0.85rem; color: var(--ink-3); margin-top: 2px; }
.tier-card .tier-who { color: var(--ink-2); font-size: 0.95rem; margin-top: var(--s3); }
.tier-card .tier-foot {
  margin-top: auto; padding-top: var(--s3);
  font-size: 0.85rem; color: var(--ink-3);
}
.tier-card.featured { background: var(--ink); border-color: var(--ink); color: var(--on-inverse); }
.tier-card.featured .tier-who { color: var(--on-inverse-2); }
.tier-card.featured .tier-per { color: var(--on-inverse-2); }
.tier-card.featured .tier-foot { color: var(--on-inverse-2); border-top: 1px solid var(--inverse-2); margin-top: auto; padding-top: var(--s4); }

/* ---------- add-on rows ---------- */

.addon-row {
  display: flex; justify-content: space-between; align-items: baseline; gap: var(--s4);
  padding: 14px 0; border-bottom: 1px solid var(--line);
}
.addon-row:last-child { border-bottom: 0; }
.addon-row .what { color: var(--ink-2); }
.addon-row .what strong { color: var(--ink); font-weight: 600; }
.addon-row .amt { font-family: var(--font-mono); font-weight: 600; white-space: nowrap; }

/* ---------- final CTA panel (the ink moment) ---------- */

.cta-panel {
  background: var(--ink); color: var(--on-inverse);
  border-radius: 20px; padding: var(--s6) var(--s5);
}
.cta-panel h2 { color: var(--on-inverse); }
.cta-panel .lead { color: var(--on-inverse-2); }
.cta-panel .eyebrow { color: var(--on-inverse-2); }
.cta-panel .eyebrow::before { background: var(--on-inverse-2); }
.cta-panel .hero-note { color: var(--on-inverse-2); }
.cta-panel .btn { margin-top: var(--s4); }
@media (max-width: 767px) { .cta-panel { padding: var(--s5) var(--s4); } }
