/* Booking Suite — Bluff City AI (The Meridian Obsidian Design System)
   Matte obsidian ground, Graphite surfaces, Bone ink, Pewter secondary, Sky Cobalt accent,
   calibrated natively in OKLCH, 6px architectural radii, Instrument Sans 400/500/600,
   hairline geometry, zero glows, zero eyebrows. */

@font-face {
  font-family: "Instrument Sans";
  src: url("fonts/instrument-sans-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("fonts/instrument-sans-latin-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("fonts/instrument-sans-latin-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;
  /* Meridian Obsidian OKLCH ladder */
  --bg: oklch(0.144 0.004 285);
  --stage-bg: oklch(0.160 0.005 285);
  --surface: oklch(0.182 0.006 285);
  --surface-raised: oklch(0.212 0.008 285);
  --surface-hover: oklch(0.242 0.009 285);
  --ink: oklch(0.966 0.003 106);
  --ink-pure: oklch(1 0 0);
  --muted: oklch(0.735 0.012 285);
  --subtle: oklch(0.645 0.012 285);
  --rule: oklch(0.240 0.009 285);
  --rule-strong: oklch(0.298 0.011 285);
  --specular: oklch(1 0 0 / 0.08);
  --accent: oklch(0.678 0.168 263);
  --accent-solid: oklch(0.512 0.215 264);
  --radius: 6px;
  --radius-outer: 10px;
  --gutter: clamp(20px, 4vw, 40px);
  --max: 1120px;
  --ph: 214px;
  --sans: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.2, 0, 0, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

@media (min-width: 768px) {
  :root {
    --ph: 236px;
  }
}
@media (min-width: 1100px) {
  :root {
    --ph: 244px;
  }
}

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

[hidden] {
  display: none !important;
}

html {
  background-color: var(--bg);
  scroll-behavior: smooth;
  scroll-padding-block-start: 84px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  position: relative;
  margin: 0;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background-color: var(--bg);
  color: var(--ink);
  font: 400 1rem / 1.55 var(--sans);
  overflow-x: clip;
}

main {
  position: relative;
  z-index: 1;
  flex: 1;
}

img,
svg,
video {
  display: block;
}

p, h1, h2, h3, ul, ol, dl, dd, figure {
  margin: 0;
}

ul, ol {
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
  background: none;
  border: 0;
}

a, button {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

#suite:focus-visible {
  outline: none;
}

::selection {
  background-color: var(--accent-solid);
  color: var(--ink-pure);
}

.nw {
  white-space: nowrap;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  inset-inline-start: var(--gutter);
  top: -100px;
  z-index: 60;
  background-color: var(--ink);
  color: var(--bg);
  padding: 8px 16px;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 600;
}
.skip-link:focus {
  top: 12px;
}

/* ---------- Layout Containers ---------- */

.topbar-frame {
  width: 100%;
  max-width: 1360px;
  margin-inline: auto;
  padding-inline: clamp(20px, 4.5vw, 56px);
}

.wrap {
  width: 100%;
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Whisper-Quiet Single-Rail Topbar ---------- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background-color: transparent;
  transition: background-color 220ms var(--ease-out), box-shadow 220ms var(--ease-out), backdrop-filter 220ms var(--ease-out);
}
.topbar.is-scrolled {
  background-color: oklch(0.144 0.004 285 / 0.86);
  backdrop-filter: blur(18px);
  box-shadow: inset 0 -1px 0 oklch(1 0 0 / 0.06);
}
.topbar-inner {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 12px;
}
.brand-group {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
@media (min-width: 640px) {
  .brand-group {
    gap: 12px;
  }
}
.brand {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  transition: opacity 150ms var(--ease);
}
.brand-mark {
  height: 26px;
  width: auto;
  transform: translateY(2px);
}
.brand-sep {
  width: 1px;
  height: 15px;
  background-color: oklch(1 0 0 / 0.22);
}
.brand-sub {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding-inline: 2px;
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--muted);
  transition: color 150ms var(--ease);
}

.topnav {
  display: none;
  align-items: center;
  gap: 20px;
}
.topnav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding-inline: 4px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 150ms var(--ease);
}

@media (min-width: 860px) {
  .topnav {
    display: flex;
  }
}

/* ---------- Typography & Controls (Meridian Spec) ---------- */

.display {
  font-size: clamp(2.5rem, 4.3vw, 3.625rem);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.036em;
  color: var(--ink);
  text-wrap: balance;
}

.h2 {
  font-size: clamp(1.75rem, 2.7vw, 2.375rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.028em;
  color: var(--ink);
  text-wrap: balance;
}

.lead {
  font-size: 1rem;
  line-height: 1.5;
  color: var(--muted);
  text-wrap: pretty;
}

.body {
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--muted);
  text-wrap: pretty;
}

.fine {
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--subtle);
}

.btn-bone,
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  padding: 0 18px;
  border-radius: var(--radius);
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: background-color 150ms var(--ease), border-color 150ms var(--ease), color 150ms var(--ease), transform 150ms ease-out;
}
.btn-sm {
  height: 40px;
  padding: 0 16px;
  font-size: 0.875rem;
}
.btn-bone {
  background-color: var(--ink);
  border: 1px solid transparent;
  color: var(--bg);
}
.btn-outline {
  background-color: var(--surface);
  border: 1px solid oklch(0.966 0.003 106 / 0.22);
  color: var(--ink);
}
.btn-bone:active,
.btn-outline:active {
  transform: scale(0.96);
}
.btn-arrow {
  display: inline-block;
  transition: transform 160ms var(--ease);
}

@media (hover: hover) {
  .brand:hover { opacity: 0.82; }
  .brand-sub:hover,
  .topnav a:hover { color: var(--ink); }
  .btn-bone:hover { background-color: var(--ink-pure); }
  .btn-outline:hover {
    background-color: var(--surface-raised);
    border-color: oklch(0.966 0.003 106 / 0.38);
  }
  .btn-bone:hover .btn-arrow,
  .btn-outline:hover .btn-arrow {
    transform: translateX(2px);
  }
}

/* ---------- iPhone Safe-Area Calibration for Scrolling App Demos ---------- */

/* App screens get an opaque status bar and a dedicated bottom tray so neither 9:41 nor the home indicator ever collides with app UI */
.iph.iph-app[data-fit="screen"] .iph-media {
  inset: 0 0 calc(20 * var(--pt)) 0;
  width: 100%;
  height: calc(100% - 20 * var(--pt));
  object-fit: contain;
  object-position: 50% 0;
  background-color: #0B0908;
}
.iph.iph-app[data-fit="screen"] .iph-bar {
  background: linear-gradient(to bottom, #0B0908 0%, #0B0908 82%, oklch(0.14 0.006 50 / 0) 100%);
}
.iph.iph-app .iph-home {
  bottom: calc(6 * var(--pt));
  opacity: 0.72;
}

/* ---------- 1. Floating Nocturnal 3-Phone Hero Stage (Fey Grounded) ---------- */

.cover {
  padding-top: clamp(10px, 1.8vh, 22px);
  padding-bottom: clamp(48px, 6vw, 80px);
}

.cover-shell {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cover-head {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  max-width: 720px;
  margin-bottom: clamp(18px, 2.4vh, 28px);
}

.cover-lead {
  max-width: 520px;
}

/* Hardware floats directly on matte obsidian with zero enclosing SaaS box */
.hero-stage {
  position: relative;
  width: 100%;
  padding-top: 8px;
  padding-bottom: 8px;
}

.hero-triptych {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: clamp(22px, 3.6vw, 52px);
  width: 100%;
  padding-inline: 12px;
}

.hero-phone {
  flex: none;
  position: relative;
  transition: transform 280ms var(--ease-out), opacity 280ms var(--ease-out);
}

.hero-phone-center {
  z-index: 3;
}
.hero-phone-center .iph {
  --w: clamp(216px, 19.5vw, 234px);
  filter: drop-shadow(0 28px 60px oklch(0 0 0 / 0.85));
}

.hero-phone-left,
.hero-phone-right {
  display: none;
  z-index: 1;
  margin-top: 28px;
  opacity: 0.76;
}
.hero-phone-left .iph,
.hero-phone-right .iph {
  --w: clamp(190px, 17vw, 208px);
  filter: drop-shadow(0 22px 48px oklch(0 0 0 / 0.72));
}

@media (min-width: 780px) {
  .hero-phone-left,
  .hero-phone-right {
    display: block;
  }
}

@media (hover: hover) {
  .hero-phone-left:hover,
  .hero-phone-right:hover {
    opacity: 0.98;
    transform: translateY(-6px);
  }
}

/* Crisp hairline-bordered 3-cell studio facts bar */
.hero-facts {
  width: 100%;
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background-color: var(--rule);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  overflow: hidden;
}
.fact-cell {
  background-color: var(--surface);
  padding: 12px 20px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.fact-cell dt {
  font-size: 0.8125rem;
  color: var(--subtle);
}
.fact-cell dd {
  font-size: 0.96875rem;
  font-weight: 500;
  letter-spacing: -0.014em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

@media (max-width: 680px) {
  .hero-stage {
    padding-top: 4px;
    padding-bottom: 4px;
  }
  .hero-phone-center .iph {
    --w: 214px;
  }
  .hero-facts {
    margin-top: 12px;
    grid-template-columns: 1fr;
  }
  .fact-cell {
    flex-direction: row;
    align-items: baseline;
    justify-content: space-between;
    padding: 10px 16px;
  }
}

/* ---------- Shared Section Rhythm ---------- */

.section-block {
  position: relative;
  padding-block: clamp(52px, 6vw, 84px);
  scroll-margin-top: 84px;
}
.section-block::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background-color: var(--rule);
  pointer-events: none;
}

.section-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: clamp(20px, 2.8vw, 32px);
}
.section-lead {
  max-width: 540px;
}

/* ---------- 2. Rules Ledger (2x2 Hairline Grid) ---------- */

.rules-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background-color: var(--rule);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  overflow: hidden;
}
@media (min-width: 720px) {
  .rules-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.rule-card {
  background-color: var(--surface);
  padding: clamp(20px, 2.5vw, 28px);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.rule-before {
  font-size: 0.875rem;
  color: var(--subtle);
  padding-bottom: 10px;
  margin-bottom: 4px;
  border-bottom: 1px solid var(--rule);
}
.card-title {
  font-size: 1.0625rem;
  font-weight: 500;
  letter-spacing: -0.018em;
  color: var(--ink);
}

/* ---------- 3 & 4. Interactive Phone Showcases ---------- */

.showcase {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: start;
}

@media (min-width: 920px) {
  .showcase {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 384px);
    gap: 32px;
  }
  .showcase-flip {
    grid-template-columns: minmax(320px, 384px) minmax(0, 1fr);
  }
}

.showcase-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--rule);
}

.showcase-tab {
  position: relative;
  display: block;
  width: 100%;
  text-align: start;
  padding: 16px 20px;
  background-color: transparent;
  border-bottom: 1px solid var(--rule);
  transition: background-color 160ms var(--ease);
}
.showcase-tab::before {
  content: "";
  position: absolute;
  inset-block: 0;
  inset-inline-start: 0;
  width: 2px;
  background-color: transparent;
  transition: background-color 160ms var(--ease);
}
.showcase-tab.is-active {
  background-color: var(--surface);
}
.showcase-tab.is-active::before {
  background-color: var(--accent);
}
@media (hover: hover) {
  .showcase-tab:hover {
    background-color: var(--surface-raised);
  }
}

.tab-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.tab-title {
  font-size: 1.03125rem;
  font-weight: 500;
  letter-spacing: -0.018em;
  color: var(--ink);
}
.tab-desc {
  font-size: 0.90625rem;
  line-height: 1.48;
  color: var(--muted);
}

.showcase-stage {
  order: -1;
  background-color: var(--stage-bg);
  border-radius: var(--radius-outer);
  box-shadow:
    inset 0 1px 0 var(--specular),
    inset 0 0 0 1px oklch(1 0 0 / 0.05),
    0 24px 56px oklch(0 0 0 / 0.56);
  padding: 14px 14px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
@media (min-width: 920px) {
  .showcase-stage {
    order: 0;
    padding: 18px 18px 14px;
    gap: 14px;
    position: sticky;
    top: 84px;
  }
}
@media (max-width: 919px) {
  .showcase-tab {
    padding: 13px 16px;
  }
}

.stage-screens {
  display: flex;
  justify-content: center;
  width: 100%;
}
.stage-panel {
  display: flex;
  justify-content: center;
}
.stage-panel .iph {
  --w: var(--ph);
  filter: drop-shadow(0 20px 44px oklch(0 0 0 / 0.72));
}

.stage-controls {
  width: 100%;
  padding-top: 12px;
  border-top: 1px solid var(--rule);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.stage-status {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.stage-counter {
  font-size: 0.8125rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--accent);
  flex-shrink: 0;
}
.stage-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.stage-nav {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}
.stage-btn {
  width: 38px;
  height: 38px;
  border-radius: var(--radius);
  border: 1px solid var(--rule-strong);
  background-color: var(--surface-raised);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9375rem;
  transition: background-color 150ms var(--ease), border-color 150ms var(--ease), transform 150ms ease-out;
}
.stage-btn:active {
  transform: scale(0.95);
}
@media (hover: hover) {
  .stage-btn:hover {
    background-color: var(--surface-hover);
    border-color: oklch(0.966 0.003 106 / 0.34);
  }
}

/* Admin 4-item ledger strip */
.mini-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background-color: var(--rule);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  overflow: hidden;
}
@media (min-width: 640px) {
  .mini-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1024px) {
  .mini-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.mini-card {
  background-color: var(--surface);
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.mini-card h3 {
  font-size: 0.96875rem;
  font-weight: 500;
  color: var(--ink);
}
.mini-card p {
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--muted);
}

/* ---------- 5. Interactive 4-Page Chargeback Evidence Dossier ---------- */

.cb-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}
@media (min-width: 920px) {
  .cb-grid {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 464px);
    gap: 48px;
  }
}
.cb-lead {
  margin-top: 10px;
}
.cb-list {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--rule);
}
.cb-item {
  width: 100%;
  text-align: start;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 13px 12px;
  border-bottom: 1px solid var(--rule);
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--muted);
  transition: background-color 150ms var(--ease), color 150ms var(--ease);
}
.cb-text strong {
  color: var(--ink);
  font-weight: 500;
}
.cb-item.is-hot {
  background-color: var(--surface);
  color: var(--ink);
}
@media (hover: hover) {
  .cb-item:hover {
    background-color: var(--surface-raised);
    color: var(--ink);
  }
}
.cb-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: var(--surface-raised);
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
  transition: background-color 150ms var(--ease), color 150ms var(--ease);
}
.cb-item.is-hot .cb-num {
  background-color: var(--accent-solid);
  color: var(--ink-pure);
}
.cb-btn {
  margin-top: 22px;
}

.cb-mat {
  background-color: var(--stage-bg);
  border-radius: var(--radius-outer);
  box-shadow:
    inset 0 1px 0 var(--specular),
    inset 0 0 0 1px oklch(1 0 0 / 0.05),
    0 24px 60px oklch(0 0 0 / 0.56);
  padding: clamp(16px, 2vw, 22px);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
/* Separate wrapper lets active scaled margin pins sit unclipped over the rounded sheet */
.cb-sheet-wrap {
  position: relative;
}
.cb-sheet {
  border-radius: 4px;
  overflow: hidden;
  background-color: var(--ink-pure);
  box-shadow: 0 18px 44px oklch(0 0 0 / 0.58);
}
.cb-sheet .doc {
  display: block;
  transition: opacity 160ms var(--ease);
}
@media (hover: hover) {
  .cb-sheet .doc:hover {
    opacity: 0.95;
  }
}
.cb-page {
  width: 100%;
  height: auto;
  display: block;
}
.marks {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.marks li {
  position: absolute;
  left: var(--x);
  top: var(--y);
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: var(--bg);
  color: var(--ink);
  border: 1.5px solid var(--ink);
  font-size: 0.6875rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 160ms var(--ease-out), background-color 160ms var(--ease), border-color 160ms var(--ease);
}
.marks li.is-hot {
  background-color: var(--accent-solid);
  border-color: var(--ink-pure);
  color: var(--ink-pure);
  transform: translate(-50%, -50%) scale(1.2);
}

.cb-pager {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--rule);
}
.cb-page-label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.cb-page-btns {
  display: flex;
  gap: 6px;
}
.cb-pg-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--radius);
  border: 1px solid var(--rule-strong);
  background-color: var(--surface-raised);
  color: var(--muted);
  font-size: 0.8125rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 150ms var(--ease), border-color 150ms var(--ease), color 150ms var(--ease), transform 150ms ease-out;
}
.cb-pg-btn:active {
  transform: scale(0.95);
}
.cb-pg-btn.is-active {
  background-color: var(--ink);
  border-color: transparent;
  color: var(--bg);
  font-weight: 600;
}
@media (hover: hover) {
  .cb-pg-btn:hover {
    background-color: var(--surface-hover);
    color: var(--ink);
    border-color: oklch(0.966 0.003 106 / 0.34);
  }
  .cb-pg-btn.is-active:hover {
    background-color: var(--ink-pure);
    color: var(--bg);
    border-color: transparent;
  }
}

/* ---------- 6. Process Steps ---------- */

.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background-color: var(--rule);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  overflow: hidden;
}
@media (min-width: 720px) {
  .steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1040px) {
  .steps-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}
.step-card {
  background-color: var(--surface);
  padding: 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.step-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--rule);
}
.step-when {
  font-size: 0.90625rem;
  font-weight: 500;
  color: var(--ink);
}
.step-what {
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--muted);
}

/* ---------- 7. Pricing Offer Ledger ---------- */

.offer-card {
  background-color: var(--surface);
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius-outer);
  box-shadow:
    inset 0 1px 0 var(--specular),
    0 24px 60px oklch(0 0 0 / 0.48);
  overflow: hidden;
}
.offer-body {
  padding: clamp(20px, 2.5vw, 28px) clamp(22px, 3vw, 34px);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.offer-top-groups {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 760px) {
  .offer-top-groups {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px;
  }
}
.bill-group-admin {
  padding-top: 18px;
  border-top: 1px solid var(--rule);
}
.bill-head {
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 10px;
}
.bill-rows {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px 36px;
}
.bill-rows-2col {
  grid-template-columns: 1fr;
}
@media (min-width: 760px) {
  .bill-rows-2col {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.bill-rows li {
  position: relative;
  padding-left: 16px;
  font-size: 0.90625rem;
  line-height: 1.48;
  color: var(--muted);
}
.bill-rows li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.64em;
  width: 5px;
  height: 1px;
  background-color: var(--accent);
}

.offer-footer {
  border-top: 1px solid var(--rule-strong);
  background-color: var(--stage-bg);
  padding: clamp(18px, 2.2vw, 24px) clamp(22px, 3vw, 34px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px 36px;
  flex-wrap: wrap;
}
.pay-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 560px;
}
.paylater {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 0.875rem;
  color: var(--muted);
}
.badges {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.badges img {
  height: 20px;
  width: auto;
}

.checkout-block {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  margin-left: auto;
}
.price {
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 10px;
  text-align: right;
}
.price-note {
  font-size: 0.875rem;
  color: var(--subtle);
}
.amount {
  font-size: clamp(1.875rem, 3vw, 2.25rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  color: var(--ink);
}
.price-sm .amount {
  font-size: clamp(1.5rem, 2.4vw, 1.875rem);
}

.addon-card {
  margin-top: 16px;
  background-color: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius-outer);
  padding: clamp(20px, 2.5vw, 28px) clamp(22px, 3vw, 34px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px 36px;
  flex-wrap: wrap;
}
.addon-main {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-width: 660px;
}
.addon-name {
  font-size: 1.1875rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.addon-rows {
  margin-top: 8px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px 36px;
}
@media (min-width: 640px) {
  .addon-rows {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.addon-checkout {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  margin-left: auto;
}

/* ---------- Footer ---------- */

.site-footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--rule);
  padding-block: 26px;
  background-color: var(--bg);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  flex-wrap: wrap;
}
.footer-ask {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 0.9375rem;
}
.ask-q {
  color: var(--muted);
}
.link {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  color: var(--accent);
  font-weight: 500;
  transition: opacity 150ms var(--ease);
}
@media (hover: hover) {
  .link:hover {
    opacity: 0.82;
    text-decoration: underline;
    text-underline-offset: 3px;
  }
}

/* ---------- Motion & Progressive Reveal ---------- */

.js.reveals-ready .moment:not(.is-in) [data-r] {
  opacity: 0;
  transform: translateY(10px);
}
.js.reveals-ready .moment [data-r] {
  transition: opacity 380ms var(--ease-out) var(--d, 0s), transform 380ms var(--ease-out) var(--d, 0s);
}
.js.reveals-ready .moment.is-in [data-r] {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js.reveals-ready .moment:not(.is-in) [data-r] {
    opacity: 1;
    transform: none;
  }
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
