/* ============================================================
   MonuManage — design tokens
   Palette drawn from the quarry itself: dawn gold light, cut
   marble, wet slate, and the deep shadow of the rock face.
   Display type is set in Marcellus, a face drawn from classical
   inscriptional lettering; body in Inter; data in IBM Plex Mono.
   ============================================================ */

:root {
  --bg-rgb: 241, 238, 230;
  --bg: rgb(var(--bg-rgb));
  --panel-rgb: 255, 255, 255;
  --panel: rgb(var(--panel-rgb));
  --ink: #201E19;
  --slate: #58564C;
  --slate-soft: #837F70;
  --line: #D9D4C5;

  --graphite-rgb: 21, 21, 20;
  --graphite: rgb(var(--graphite-rgb));
  --graphite-soft: #211F1B;

  --gold: #B9843F;
  --gold-light: #DDA85E;
  --gold-dark: #7E5A28;
  --gold-rgb: 185, 132, 63;

  --dusk: #45586A;

  --serif: "Marcellus", "Iowan Old Style", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;

  --wrap: 1180px;
  --radius: 3px;

  color-scheme: light;
}

[data-theme="dark"] {
  --bg-rgb: 17, 18, 17;
  --panel-rgb: 26, 27, 25;
  --ink: #EDE9DD;
  --slate: #B7B2A0;
  --slate-soft: #948D79;
  --line: #34342E;

  --graphite-rgb: 8, 8, 8;
  --graphite-soft: #171613;

  --gold: #DDA85E;
  --gold-light: #EFC488;
  --gold-dark: #C4914F;
  --gold-rgb: 221, 168, 94;

  --dusk: #6E8AA1;

  color-scheme: dark;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  transition: background 0.25s ease, color 0.25s ease;
}

a { color: inherit; }
img, svg { display: block; max-width: 100%; }

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 32px;
}

@media (max-width: 640px) {
  .wrap { padding: 0 20px; }
}

/* ---------- scroll progress ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-light));
  z-index: 60;
  transition: width 0.08s linear;
}
@media (prefers-reduced-motion: reduce) {
  .scroll-progress { transition: none; }
}

/* ---------- focus ---------- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* ---------- eyebrow / heading rhythm ---------- */
.eyebrow {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin: 0 0 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--gold-dark);
  display: inline-block;
}

.eyebrow.on-dark { color: var(--gold-light); }
.eyebrow.on-dark::before { background: var(--gold-light); }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  margin: 0;
  letter-spacing: 0.01em;
}

.section {
  padding: 88px 0;
  border-bottom: 1px solid var(--line);
}

@media (max-width: 640px) {
  .section { padding: 60px 0; }
}

.section-head {
  max-width: 640px;
  margin-bottom: 48px;
}

.section-head h2 {
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  margin-bottom: 14px;
}

.section-head p {
  color: var(--slate);
  font-size: 1.05rem;
  max-width: 560px;
}

/* scroll reveal, applied by site.js; degrades to fully visible with no JS */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(var(--bg-rgb), 0.9);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.25s ease;
}

.nav.is-scrolled {
  box-shadow: 0 8px 24px -16px rgba(0,0,0,0.35);
}

.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  transition: height 0.25s ease;
}

.nav.is-scrolled .wrap { height: 62px; }

.wordmark {
  font-family: var(--serif);
  font-size: 1.3rem;
  letter-spacing: 0.03em;
  text-decoration: none;
  color: var(--ink);
}

.wordmark span { color: var(--gold-dark); }

.nav-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  text-decoration: none;
  font-size: 0.92rem;
  color: var(--slate);
  transition: color 0.15s ease;
}

.nav-links a:hover { color: var(--ink); }

.nav-links .nav-cta { display: inline-flex; }

/* hamburger toggle — hidden on desktop */
.nav-toggle {
  display: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  transition: border-color 0.15s ease;
}
.nav-toggle:hover { border-color: var(--gold); }

.nav-toggle .bars {
  position: relative;
  width: 16px;
  height: 11px;
}
.nav-toggle .bars span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: var(--ink);
  border-radius: 1px;
  transition: transform 0.25s ease, opacity 0.2s ease, top 0.25s ease;
}
.nav-toggle .bars span:nth-child(1) { top: 0; }
.nav-toggle .bars span:nth-child(2) { top: 5px; }
.nav-toggle .bars span:nth-child(3) { top: 10px; }

.nav-toggle.is-open .bars span:nth-child(1) { top: 5px; transform: rotate(45deg); }
.nav-toggle.is-open .bars span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open .bars span:nth-child(3) { top: 5px; transform: rotate(-45deg); }

@media (max-width: 760px) {
  .nav-toggle { display: inline-flex; }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--panel);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 36px -22px rgba(0,0,0,0.4);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transition: max-height 0.3s ease, opacity 0.22s ease;
  }

  .nav-links.is-open {
    max-height: 360px;
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links a:not(.nav-cta) {
    padding: 15px 20px;
    border-bottom: 1px solid var(--line);
    font-size: 1rem;
  }

  .nav-links .nav-cta {
    display: flex;
    margin: 16px 20px 20px;
    justify-content: center;
  }
}

/* theme toggle */
.theme-toggle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex: 0 0 auto;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.theme-toggle:hover { border-color: var(--gold); transform: rotate(14deg); }
.theme-toggle:active { transform: rotate(14deg) scale(0.9); }
.theme-toggle svg { width: 17px; height: 17px; transition: opacity 0.25s ease, transform 0.4s ease; }
.theme-toggle .icon-moon { display: none; }
[data-theme="dark"] .theme-toggle .icon-sun { display: none; }
[data-theme="dark"] .theme-toggle .icon-moon { display: block; }
.theme-toggle.is-switching svg { transform: rotate(180deg) scale(0.6); opacity: 0; }

/* ---------- buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius);
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.94rem;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  overflow: hidden;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn .ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.45);
  transform: scale(0);
  animation: btnRipple 0.6s ease-out forwards;
  pointer-events: none;
}
@keyframes btnRipple {
  to { transform: scale(2.6); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .btn:hover { transform: none; }
  .btn .ripple { display: none; }
}

.btn-gold {
  background: var(--gold);
  color: #16150F;
}
.btn-gold:hover { background: var(--gold-light); box-shadow: 0 10px 24px -12px rgba(var(--gold-rgb), 0.65); }

.btn-outline {
  background: transparent;
  border-color: var(--slate-soft);
  color: var(--ink);
}
.btn-outline:hover { border-color: var(--ink); }

.btn-outline-photo {
  background: rgba(0,0,0,0.15);
  border-color: rgba(241,238,230,0.55);
  color: #F1EEE6;
  backdrop-filter: blur(3px);
}
.btn-outline-photo:hover { border-color: #F1EEE6; background: rgba(0,0,0,0.3); }

/* ---------- hero (photographic) ---------- */
.hero {
  position: relative;
  height: clamp(560px, 86vh, 860px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  border-bottom: 1px solid var(--gold-dark);
}

.hero-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #0c0c0b;
  will-change: transform, opacity;
}

.hero-parallax-outer {
  position: absolute;
  inset: 0;
  will-change: transform;
}

.hero-parallax {
  position: absolute;
  inset: -6%;
  width: 112%;
  height: 112%;
  animation: heroDrift 28s ease-in-out infinite alternate;
  will-change: transform;
}

@keyframes heroDrift {
  from { transform: scale(1) translate(0, 0); }
  to   { transform: scale(1.07) translate(-1.6%, -1.1%); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-parallax { animation: none; }
}

.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  will-change: transform;
}

.hero-rain {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  mix-blend-mode: screen;
  opacity: 0.55;
  pointer-events: none;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6,6,5,0.1) 0%, rgba(6,6,5,0.38) 48%, rgba(6,6,5,0.86) 100%),
    linear-gradient(90deg, rgba(6,6,5,0.35) 0%, rgba(6,6,5,0) 45%);
}

.hero .wrap {
  position: relative;
  z-index: 2;
  padding-top: 140px;
  padding-bottom: 72px;
  width: 100%;
}

.plaque {
  position: relative;
  max-width: 640px;
  background: rgba(var(--graphite-rgb), 0.38);
  border: 1px solid rgba(var(--gold-rgb), 0.5);
  border-radius: var(--radius);
  padding: clamp(30px, 5vw, 54px);
  backdrop-filter: blur(3px);
  will-change: transform, opacity;
}

.hero h1 {
  color: #F5F2E9;
  font-size: clamp(2.1rem, 5.2vw, 3.55rem);
  line-height: 1.12;
  max-width: 15ch;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.hero .lede {
  color: #E4E0D2;
  font-size: 1.1rem;
  max-width: 46ch;
  margin: 22px 0 34px;
  text-shadow: 0 1px 6px rgba(0,0,0,0.4);
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---------- pain grid ---------- */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

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

.pain-card {
  background: var(--bg);
  padding: 32px;
  transition: background 0.25s ease, transform 0.25s ease;
}

.pain-card:hover {
  background: var(--panel);
  transform: translateY(-4px);
}

.pain-card .num {
  font-family: var(--mono);
  color: var(--gold-dark);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  transition: color 0.25s ease;
}

.pain-card:hover .num { color: var(--gold); }

.pain-card h3 {
  font-size: 1.15rem;
  margin: 14px 0 10px;
  font-family: var(--sans);
  font-weight: 700;
}

.pain-card p {
  color: var(--slate);
  font-size: 0.97rem;
  margin: 0;
}

/* ---------- stepper (signature element) ---------- */
.stepper-frame {
  background: var(--graphite);
  border-radius: var(--radius);
  padding: 48px clamp(20px, 4vw, 56px) 40px;
  overflow-x: auto;
}

.stepper {
  display: flex;
  align-items: flex-start;
  min-width: 720px;
  position: relative;
}

.stepper::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 20px;
  right: 20px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-light), var(--gold-dark));
}

.stage {
  flex: 1;
  text-align: center;
  padding: 0 6px;
  position: relative;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.stepper-frame.is-visible .stage { opacity: 1; transform: translateY(0); }
.stepper-frame.is-visible .stage:nth-child(1) { transition-delay: 0.05s; }
.stepper-frame.is-visible .stage:nth-child(2) { transition-delay: 0.12s; }
.stepper-frame.is-visible .stage:nth-child(3) { transition-delay: 0.19s; }
.stepper-frame.is-visible .stage:nth-child(4) { transition-delay: 0.26s; }
.stepper-frame.is-visible .stage:nth-child(5) { transition-delay: 0.33s; }
.stepper-frame.is-visible .stage:nth-child(6) { transition-delay: 0.4s; }
.stepper-frame.is-visible .stage:nth-child(7) { transition-delay: 0.47s; }
.stepper-frame.is-visible .stage:nth-child(8) { transition-delay: 0.54s; }

.stage .pin {
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: var(--gold);
  border: 3px solid var(--graphite);
  box-shadow: 0 0 0 1px var(--gold-dark);
  margin: 0 auto 16px;
  position: relative;
  z-index: 1;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.stage:hover .pin {
  box-shadow: 0 0 0 1px var(--gold-dark), 0 0 0 6px rgba(var(--gold-rgb), 0.22);
  transform: scale(1.15);
}

.stage .label {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #D8D3C4;
  transition: color 0.25s ease;
}

.stage:hover .label { color: var(--gold-light); }

@media (prefers-reduced-motion: reduce) {
  .stage { opacity: 1; transform: none; transition: none; }
}

.stepper-note {
  color: #A8A395;
  margin-top: 22px;
  font-size: 1rem;
  max-width: 60ch;
}

/* ---------- family portal ---------- */
.portal-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

@media (max-width: 900px) {
  .portal-layout { grid-template-columns: 1fr; }
}

.portal-copy p { color: var(--slate); font-size: 1.02rem; margin: 0 0 16px; }
.portal-copy p:last-child { margin-bottom: 0; }

.portal-mock {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: 0 24px 48px -24px rgba(0,0,0,0.28);
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.portal-mock:hover { box-shadow: 0 28px 56px -22px rgba(0,0,0,0.36); }

.portal-mock .bar {
  background: var(--graphite);
  color: #D8D3C4;
  font-family: var(--mono);
  font-size: 0.72rem;
  padding: 10px 16px;
  display: flex;
  justify-content: space-between;
  letter-spacing: 0.05em;
}

.portal-mock .body { padding: 24px; }

.portal-mock .frame-title {
  font-size: 0.82rem;
  color: var(--slate);
  margin-bottom: 14px;
}

.monument-svg { margin: 0 auto 18px; }

.portal-mock .status-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--slate);
  border-top: 1px solid var(--line);
  padding-top: 14px;
  margin-top: 4px;
}

.portal-mock .status-row .status-value {
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink);
  transition: color 0.2s ease;
}

.portal-mock .status-row .status-value.is-approved { color: #3E7A4D; }
[data-theme="dark"] .portal-mock .status-row .status-value.is-approved { color: #6FBE81; }
.portal-mock .status-row .status-value.is-flagged { color: var(--gold-dark); }

.portal-mock .actions {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.portal-mock .actions button {
  flex: 1;
  padding: 11px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.85rem;
  background: var(--bg);
  color: var(--ink);
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.15s ease, opacity 0.18s ease;
}

.portal-mock .actions button:hover:not(:disabled) { border-color: var(--gold); transform: translateY(-1px); }
.portal-mock .actions button:disabled { cursor: default; opacity: 0.55; }

.portal-mock .actions .approve {
  background: var(--gold);
  border-color: var(--gold);
  color: #16150F;
}
.portal-mock .actions .approve:hover:not(:disabled) { background: var(--gold-light); border-color: var(--gold-light); }

.portal-mock .actions .approve.is-done {
  background: #3E7A4D;
  border-color: #3E7A4D;
  color: #F1EEE6;
}

.portal-mock .comment-box {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, margin-top 0.35s ease;
}
.portal-mock .comment-box.is-open {
  max-height: 160px;
  margin-top: 14px;
}

.portal-mock .comment-box textarea {
  width: 100%;
  min-height: 64px;
  resize: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px 12px;
  font-family: var(--sans);
  font-size: 0.85rem;
  color: var(--ink);
  background: var(--bg);
}
.portal-mock .comment-box textarea:focus { border-color: var(--gold); }

.portal-mock .comment-box .send-comment {
  margin-top: 8px;
  width: 100%;
  padding: 9px;
  border-radius: var(--radius);
  border: 1px solid var(--gold);
  background: transparent;
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.82rem;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease;
}
.portal-mock .comment-box .send-comment:hover { background: var(--gold); color: #16150F; }

.portal-mock .comment-sent {
  margin-top: 12px;
  font-size: 0.82rem;
  color: var(--slate);
  display: none;
}
.portal-mock .comment-sent.is-visible { display: block; }

/* ---------- AI grid ---------- */
.ai-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

@media (max-width: 900px) {
  .ai-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .ai-grid { grid-template-columns: 1fr; }
}

.ai-card {
  background: var(--graphite-soft);
  border: 1px solid rgba(var(--gold-rgb), 0.28);
  border-radius: var(--radius);
  padding: 26px 22px;
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.ai-card:hover {
  border-color: rgba(var(--gold-rgb), 0.7);
  transform: translateY(-4px);
  box-shadow: 0 18px 36px -18px rgba(0,0,0,0.5);
}

.ai-card .token {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--gold);
  color: #16150F;
  font-family: var(--mono);
  font-size: 0.72rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-weight: 700;
  transition: transform 0.25s ease;
}

.ai-card:hover .token { transform: scale(1.12); }

.ai-card h3 {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 1rem;
  color: #F1EEE6;
  margin: 0 0 8px;
}

.ai-card p {
  color: #C7C2B2;
  font-size: 0.9rem;
  margin: 0;
}

.ai-note {
  color: #918C7C;
  font-size: 0.92rem;
  margin-top: 26px;
  max-width: 60ch;
}

.section-dark {
  background: var(--graphite);
  border-bottom: 1px solid var(--gold-dark);
}
.section-dark .section-head p { color: #C7C2B2; }
.section-dark .section-head h2 { color: #F1EEE6; }

/* ---------- pricing ---------- */
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.pricing-table th, .pricing-table td {
  border: 1px solid var(--line);
  padding: 16px 18px;
  text-align: left;
  vertical-align: top;
}

.pricing-table thead th {
  background: var(--graphite);
  color: #F1EEE6;
  font-family: var(--sans);
  font-weight: 700;
}

.pricing-table thead th .price {
  display: block;
  font-family: var(--mono);
  color: var(--gold-light);
  font-size: 1.1rem;
  margin-top: 6px;
  font-weight: 400;
}

.pricing-table thead th.featured { background: #332A16; border-color: var(--gold-dark); }

.pricing-table tbody th {
  font-weight: 600;
  color: var(--slate);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-family: var(--mono);
  background: rgba(var(--gold-rgb), 0.08);
  white-space: nowrap;
}

.pricing-table td { color: var(--ink); background: var(--panel); transition: background 0.15s ease; }

.pricing-table tbody tr:hover td { background: rgba(var(--gold-rgb), 0.07); }

.pricing-table thead th { transition: transform 0.2s ease; }
.pricing-table thead th.featured { transform: translateY(-2px); }

.pricing-scroll { overflow-x: auto; }

.addon-strip {
  display: flex;
  gap: 40px;
  margin-top: 28px;
  flex-wrap: wrap;
  font-size: 0.92rem;
  color: var(--slate);
}

.addon-strip strong { color: var(--ink); font-family: var(--mono); }

.pricing-fine {
  margin-top: 22px;
  color: var(--slate-soft);
  font-size: 0.86rem;
}

.compare-note {
  margin-top: 44px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
  max-width: 700px;
  color: var(--slate);
  font-size: 1rem;
}

/* ---------- security ---------- */
.security-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 40px;
}

@media (max-width: 700px) {
  .security-list { grid-template-columns: 1fr; }
}

.security-list li {
  padding-left: 22px;
  position: relative;
  color: var(--slate);
  font-size: 0.98rem;
  transition: color 0.2s ease;
}

.security-list li:hover { color: var(--ink); }

.security-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 9px;
  height: 9px;
  background: var(--gold);
  transition: transform 0.2s ease;
}

.security-list li:hover::before { transform: scale(1.4) rotate(45deg); }

.assoc-line {
  margin-top: 32px;
  font-size: 0.92rem;
  color: var(--slate-soft);
}

/* ---------- final cta ---------- */
.cta-final {
  padding: 96px 0;
  text-align: center;
  border-bottom: none;
}

.cta-final h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  max-width: 20ch;
  margin: 0 auto 30px;
}

/* ---------- footer ---------- */
.footer {
  background: var(--graphite);
  color: #857F6E;
  padding: 40px 0;
  font-size: 0.85rem;
}

.footer .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer a { text-decoration: none; color: #C7C2B2; }
.footer a:hover { color: var(--gold-light); }

.footer-links { display: flex; gap: 24px; }

/* ---------- cookie consent ---------- */
.cookie-banner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 70;
  max-width: 560px;
  margin: 0 auto;
  background: var(--graphite);
  color: #E4E0D2;
  border: 1px solid rgba(var(--gold-rgb), 0.35);
  border-radius: 6px;
  padding: 22px 24px;
  box-shadow: 0 24px 60px -20px rgba(0,0,0,0.5);
  transform: translateY(140%);
  opacity: 0;
  transition: transform 0.45s cubic-bezier(.2,.8,.2,1), opacity 0.45s ease;
}

.cookie-banner.is-visible { transform: translateY(0); opacity: 1; }

.cookie-banner p {
  margin: 0 0 16px;
  font-size: 0.88rem;
  color: #C7C2B2;
  line-height: 1.55;
}

.cookie-banner .cookie-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.cookie-banner button {
  flex: 1;
  min-width: 110px;
  padding: 10px 16px;
  border-radius: var(--radius);
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  border: 1px solid rgba(241,238,230,0.3);
  background: transparent;
  color: #F1EEE6;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.cookie-banner button:hover { transform: translateY(-1px); }

.cookie-banner .cookie-accept {
  background: var(--gold);
  border-color: var(--gold);
  color: #16150F;
}
.cookie-banner .cookie-accept:hover { background: var(--gold-light); }

@media (prefers-reduced-motion: reduce) {
  .cookie-banner { transition: none; }
}

@media (max-width: 500px) {
  .cookie-banner { left: 12px; right: 12px; bottom: 12px; padding: 18px 18px; }
}

/* ============================================================
   Demo request page
   ============================================================ */

.demo-hero { padding: 56px 0 0; }

.demo-hero .eyebrow,
.demo-hero h1,
.demo-hero .lede {
  opacity: 0;
  transform: translateY(10px);
  animation: fieldIn 0.6s ease forwards;
}
.demo-hero .eyebrow { animation-delay: 0.02s; }
.demo-hero h1 { animation-delay: 0.1s; }
.demo-hero .lede { animation-delay: 0.2s; }

@media (prefers-reduced-motion: reduce) {
  .demo-hero .eyebrow, .demo-hero h1, .demo-hero .lede { opacity: 1; transform: none; animation: none; }
}

.demo-hero h1 {
  color: var(--ink);
  font-size: clamp(1.9rem, 4.4vw, 3rem);
  max-width: 16ch;
}

.demo-hero .lede {
  color: var(--slate);
  font-size: 1.08rem;
  max-width: 50ch;
  margin: 20px 0 0;
  text-shadow: none;
}

.demo-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 64px;
  padding: 56px 0 96px;
  align-items: start;
}

@media (max-width: 900px) {
  .demo-layout { grid-template-columns: 1fr; gap: 48px; }
}

.form-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: clamp(24px, 4vw, 44px);
}

.form-card h2 {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 1.05rem;
  margin: 0 0 4px;
  color: var(--ink);
}

.form-card .form-sub {
  color: var(--slate-soft);
  font-size: 0.88rem;
  margin: 0 0 28px;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media (max-width: 560px) {
  .field-row { grid-template-columns: 1fr; }
}

.field {
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(10px);
  animation: fieldIn 0.5s ease forwards;
}
.field-row:nth-of-type(1) .field:nth-child(1) { animation-delay: 0.03s; }
.field-row:nth-of-type(1) .field:nth-child(2) { animation-delay: 0.09s; }
.field-row:nth-of-type(2) .field:nth-child(1) { animation-delay: 0.15s; }
.field-row:nth-of-type(2) .field:nth-child(2) { animation-delay: 0.21s; }
.field-row:nth-of-type(3) .field:nth-child(1) { animation-delay: 0.27s; }
.field-row:nth-of-type(3) .field:nth-child(2) { animation-delay: 0.33s; }

@keyframes fieldIn {
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .field { opacity: 1; transform: none; animation: none; }
}

.field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 7px;
}

.field .hint { font-weight: 400; color: var(--slate-soft); }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-family: var(--sans);
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--bg);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--gold);
  background: var(--panel);
}

.field textarea { resize: vertical; min-height: 90px; }

.form-submit {
  width: 100%;
  justify-content: center;
  margin-top: 8px;
  padding: 14px 26px;
  font-size: 0.98rem;
  border: none;
}

.form-submit[disabled] { opacity: 0.6; cursor: default; }

.form-note {
  font-size: 0.8rem;
  color: var(--slate-soft);
  margin-top: 14px;
  text-align: center;
}

.form-error {
  display: none;
  background: rgba(178, 63, 51, 0.1);
  border: 1px solid rgba(178, 63, 51, 0.4);
  color: #B23F33;
  font-size: 0.85rem;
  padding: 12px 14px;
  border-radius: var(--radius);
  margin-bottom: 20px;
}
.form-error.is-visible { display: block; }

[data-theme="dark"] .form-error {
  background: rgba(220, 90, 75, 0.16);
  border-color: rgba(220, 90, 75, 0.45);
  color: #FF9686;
}

/* success panel */
.success-panel { display: none; text-align: center; padding: 40px 20px 24px; }

.success-panel .mark {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--gold);
  color: #16150F;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
  font-size: 1.3rem;
  transform: scale(0);
  animation: markPop 0.5s cubic-bezier(.2,1.4,.4,1) 0.1s forwards;
}

@keyframes markPop {
  to { transform: scale(1); }
}

.success-panel h2,
.success-panel p,
.success-panel .btn {
  opacity: 0;
  transform: translateY(8px);
  animation: fieldIn 0.5s ease forwards;
}
.success-panel h2 { animation-delay: 0.28s; }
.success-panel p { animation-delay: 0.36s; }
.success-panel .btn { animation-delay: 0.44s; }

@media (prefers-reduced-motion: reduce) {
  .success-panel .mark { animation: none; transform: scale(1); }
  .success-panel h2, .success-panel p, .success-panel .btn { animation: none; opacity: 1; transform: none; }
}

.success-panel h2 { font-family: var(--serif); font-size: 1.5rem; margin-bottom: 10px; }
.success-panel p { color: var(--slate); font-size: 0.98rem; max-width: 40ch; margin: 0 auto 26px; }

.form-card.submitted .field-set { display: none; }
.form-card.submitted .success-panel { display: block; }

.form-submit .spinner {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid rgba(22,21,15,0.3);
  border-top-color: #16150F;
  animation: spin 0.7s linear infinite;
  display: inline-block;
  margin-right: 2px;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* what happens next */
.next-card {
  background: var(--graphite);
  border-radius: 4px;
  padding: 36px 32px;
  color: #C7C2B2;
}

.next-card h2 {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 1rem;
  color: #F1EEE6;
  margin: 0 0 22px;
}

.next-list {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  counter-reset: step;
}

.next-list li {
  counter-increment: step;
  padding-left: 38px;
  position: relative;
  margin-bottom: 20px;
  font-size: 0.94rem;
}
.next-list li:last-child { margin-bottom: 0; }

.next-list li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: -2px;
  width: 24px;
  height: 24px;
  border: 1px solid var(--gold);
  color: var(--gold-light);
  font-family: var(--mono);
  font-size: 0.78rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.2s ease, color 0.2s ease;
}

.next-list li:hover::before { background: var(--gold); color: #16150F; }

.next-card .assoc {
  border-top: 1px solid rgba(241,238,230,0.14);
  padding-top: 20px;
  font-size: 0.86rem;
  color: #857F6E;
}

/*
  Trade association tie-in (e.g. MBNA) — intentionally not shown yet.
  MonuManage isn't a member/partner as of this build. Once a membership or
  sponsorship is in place, reintroduce a line here (and the matching spot
  on the homepage) naming the association and what a member should do with
  it: mention it on the call, a discount code, whatever it ends up being.
  Keep it to one quiet line near the CTA, not a badge wall.
*/

/* ============================================================
   Coming-soon build — status chips, notify form, roadmap,
   entrance animation, mobile pass
   ============================================================ */

/* ---------- status chip ---------- */
.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-dark);
  border: 1px solid rgba(var(--gold-rgb), 0.45);
  border-radius: 100px;
  padding: 6px 14px;
  margin: 0 0 18px;
  background: rgba(var(--gold-rgb), 0.07);
}

.status-chip.on-dark {
  color: var(--gold-light);
  border-color: rgba(var(--gold-rgb), 0.5);
  background: rgba(var(--gold-rgb), 0.1);
}

.status-chip-center { margin: 0 auto 22px; }
.cta-final .status-chip { display: inline-flex; }
.cta-final { text-align: center; }

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  flex: 0 0 auto;
  animation: statusPulse 2s ease-in-out infinite;
}

@keyframes statusPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(var(--gold-rgb), 0.5); }
  50% { box-shadow: 0 0 0 5px rgba(var(--gold-rgb), 0); }
}

@media (prefers-reduced-motion: reduce) {
  .status-dot { animation: none; }
}

/* ---------- notify form ---------- */
.notify-form { margin-top: 30px; }

.notify-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.notify-row input[type="email"] {
  flex: 1 1 240px;
  min-width: 0;
  padding: 13px 16px;
  border: 1px solid rgba(241,238,230,0.4);
  border-radius: var(--radius);
  background: rgba(6,6,5,0.35);
  color: #F1EEE6;
  font-family: var(--sans);
  font-size: 0.96rem;
  backdrop-filter: blur(3px);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.notify-row input[type="email"]::placeholder { color: rgba(228,224,210,0.55); }
.notify-row input[type="email"]:focus {
  border-color: var(--gold);
  background: rgba(6,6,5,0.55);
}

.notify-row .btn { flex: 0 0 auto; }

@media (max-width: 560px) {
  .notify-row .btn { flex: 1 1 100%; justify-content: center; }
}

.notify-note {
  margin: 12px 0 0;
  font-size: 0.8rem;
  color: rgba(228,224,210,0.65);
}

.notify-error,
.notify-success {
  display: none;
  margin: 12px 0 0;
  font-size: 0.88rem;
}

.notify-error { color: #FF9686; }
.notify-form.has-error .notify-error { display: block; }

.notify-success {
  color: #8FD4A0;
  align-items: center;
  gap: 8px;
}
.notify-form.is-done .notify-success { display: flex; }
.notify-form.is-done .notify-row,
.notify-form.is-done .notify-note,
.notify-form.is-done .notify-error { display: none; }

.notify-success .tick {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #3E7A4D;
  color: #F1EEE6;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  flex: 0 0 auto;
  transform: scale(0);
  animation: markPop 0.5s cubic-bezier(.2,1.4,.4,1) 0.05s forwards;
}

@media (prefers-reduced-motion: reduce) {
  .notify-success .tick { animation: none; transform: scale(1); }
}

/* notify form outside the hero (final CTA, light/dark sections) */
.notify-form-center {
  max-width: 480px;
  margin: 0 auto;
}

.cta-final .notify-row input[type="email"] {
  background: var(--panel);
  color: var(--ink);
  border-color: var(--line);
  backdrop-filter: none;
}
.cta-final .notify-row input[type="email"]::placeholder { color: var(--slate-soft); }
.cta-final .notify-row input[type="email"]:focus { border-color: var(--gold); }
.cta-final .notify-note { color: var(--slate-soft); }
.cta-final .notify-error { color: #B23F33; }
.cta-final .notify-success { color: #3E7A4D; }
[data-theme="dark"] .cta-final .notify-error { color: #FF9686; }
[data-theme="dark"] .cta-final .notify-success { color: #8FD4A0; }

/* ---------- hero entrance sequence ---------- */
.plaque-entrance > * {
  opacity: 0;
  transform: translateY(14px);
  animation: plaqueIn 0.7s cubic-bezier(.2,.7,.3,1) forwards;
}
.plaque-entrance > *:nth-child(1) { animation-delay: 0.1s; }
.plaque-entrance > *:nth-child(2) { animation-delay: 0.22s; }
.plaque-entrance > *:nth-child(3) { animation-delay: 0.36s; }
.plaque-entrance > *:nth-child(4) { animation-delay: 0.5s; }

@keyframes plaqueIn {
  to { opacity: 1; transform: translateY(0); }
}

/* the plaque itself settles in with a border glow */
.plaque-entrance {
  animation: plaqueFrame 0.9s ease forwards;
}
@keyframes plaqueFrame {
  from { border-color: rgba(var(--gold-rgb), 0); box-shadow: 0 0 0 0 rgba(var(--gold-rgb), 0); }
  to { border-color: rgba(var(--gold-rgb), 0.5); box-shadow: 0 0 40px -18px rgba(var(--gold-rgb), 0.35); }
}

@media (prefers-reduced-motion: reduce) {
  .plaque-entrance > * { opacity: 1; transform: none; animation: none; }
  .plaque-entrance { animation: none; }
}

/* ---------- staggered reveal for grids/lists ---------- */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal-stagger.is-visible > * { opacity: 1; transform: translateY(0); }
.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 0.15s; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 0.25s; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 0.35s; }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: 0.45s; }
.reveal-stagger.is-visible > *:nth-child(6) { transition-delay: 0.55s; }

@media (prefers-reduced-motion: reduce) {
  .reveal-stagger > * { opacity: 1; transform: none; transition: none; }
}

/* ---------- portal preview hint ---------- */
.preview-hint {
  font-size: 0.88rem !important;
  color: var(--gold-dark) !important;
  font-family: var(--mono);
  letter-spacing: 0.01em;
}

/* ---------- roadmap ---------- */
.roadmap {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  counter-reset: phase;
}

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

.roadmap-item {
  position: relative;
  background: var(--graphite-soft);
  border: 1px solid rgba(241,238,230,0.12);
  border-radius: var(--radius);
  padding: 26px 24px;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.roadmap-item:hover { transform: translateY(-4px); }

.roadmap-item.is-now {
  border-color: rgba(var(--gold-rgb), 0.55);
  box-shadow: 0 0 0 1px rgba(var(--gold-rgb), 0.2), 0 18px 40px -20px rgba(0,0,0,0.5);
}

.roadmap-phase {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #A8A395;
  margin-bottom: 14px;
}

.roadmap-item.is-now .roadmap-phase { color: var(--gold-light); }

.roadmap-item.is-now .roadmap-phase::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  animation: statusPulse 2s ease-in-out infinite;
}

.roadmap-item h3 {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 1.05rem;
  color: #F1EEE6;
  margin: 0 0 8px;
}

.roadmap-item p {
  color: #C7C2B2;
  font-size: 0.92rem;
  margin: 0;
}

/* ============================================================
   Mobile pass
   ============================================================ */

@media (max-width: 760px) {
  /* hero: shorter, plaque tighter, small-viewport-safe height */
  .hero {
    height: auto;
    min-height: 100svh;
    align-items: flex-end;
  }

  .hero .wrap {
    padding-top: 110px;
    padding-bottom: 40px;
  }

  .plaque { padding: 26px 22px; }

  .hero h1 { font-size: clamp(1.9rem, 8vw, 2.4rem); }
  .hero .lede { font-size: 1rem; margin: 16px 0 0; }
  .notify-form { margin-top: 24px; }

  /* stepper: vertical timeline instead of sideways scroll */
  .stepper-frame { padding: 32px 22px 28px; overflow: visible; }

  .stepper {
    flex-direction: column;
    min-width: 0;
    gap: 22px;
    align-items: stretch;
  }

  .stepper::before {
    top: 4px;
    bottom: 4px;
    left: 9px;
    right: auto;
    width: 1px;
    height: auto;
    background: linear-gradient(180deg, var(--gold-dark), var(--gold-light), var(--gold-dark));
  }

  .stage {
    display: flex;
    align-items: center;
    gap: 16px;
    text-align: left;
    padding: 0;
  }

  .stage .pin { margin: 0; flex: 0 0 auto; }
  .stage .label { font-size: 0.74rem; }

  /* sections breathe a little less on small screens */
  .section { padding: 56px 0; }
  .section-head { margin-bottom: 36px; }

  /* comfortable tap targets */
  .btn { padding: 14px 24px; min-height: 48px; }
  .portal-mock .actions button { padding: 13px; min-height: 46px; }
  .nav-links a:not(.nav-cta) { min-height: 48px; display: flex; align-items: center; }

  .cta-final { padding: 64px 0; }
}

/* very small phones */
@media (max-width: 380px) {
  .plaque { padding: 22px 16px; }
  .status-chip { font-size: 0.62rem; padding: 5px 11px; }
}

/* touch devices: no hover-dependent lifts jumping around */
@media (hover: none) {
  .btn:hover,
  .pain-card:hover,
  .ai-card:hover,
  .roadmap-item:hover { transform: none; }
}

/* ============================================================
   Pricing — mobile card layout
   Below 820px the comparison table stops being a table and
   becomes one card per plan. Each cell carries its own row
   label via data-label, so nothing depends on a header row
   that has scrolled out of view.
   ============================================================ */

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

/* desktop refinements to the header cells */
.pricing-table thead th .plan-name { display: block; }
.pricing-table thead th .price .per {
  font-size: 0.72em;
  color: rgba(241,238,230,0.6);
}
.none-mark { color: var(--slate-soft); }

@media (max-width: 820px) {
  /* hide the table, show the generated cards */
  .pricing-scroll.is-mobile { overflow: visible; }
  .pricing-scroll.is-mobile .pricing-table { display: none; }
  .plan-cards { display: none; }
  .pricing-scroll.is-mobile .plan-cards {
    display: grid;
    gap: 16px;
  }

  /* each plan card */
  .plan-card {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 0;
    overflow: hidden;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
  }

  .plan-card.is-featured {
    border-color: var(--gold);
    box-shadow: 0 0 0 1px rgba(var(--gold-rgb), 0.35), 0 18px 40px -22px rgba(0,0,0,0.4);
  }

  .plan-card-head {
    background: var(--graphite);
    color: #F1EEE6;
    padding: 20px 22px;
  }

  .plan-card.is-featured .plan-card-head { background: #332A16; }

  .plan-card-head .plan-name {
    display: block;
    font-family: var(--sans);
    font-weight: 700;
    font-size: 1.02rem;
    margin-bottom: 6px;
  }

  .plan-card-head .price {
    display: block;
    font-family: var(--mono);
    color: var(--gold-light);
    font-size: 1.5rem;
    line-height: 1.1;
  }

  .plan-card-head .price .per {
    font-size: 0.62em;
    color: rgba(241,238,230,0.6);
  }

  .plan-card-badge {
    display: inline-block;
    font-family: var(--mono);
    font-size: 0.6rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold-light);
    border: 1px solid rgba(var(--gold-rgb), 0.5);
    border-radius: 100px;
    padding: 3px 10px;
    margin-bottom: 10px;
  }

  .plan-card-body { padding: 6px 22px 18px; }

  .plan-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 18px;
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
  }

  .plan-row:last-child {
    border-bottom: none;
    padding-bottom: 4px;
  }

  .plan-row .plan-label {
    font-family: var(--mono);
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--slate-soft);
    flex: 0 0 auto;
  }

  .plan-row .plan-value {
    color: var(--ink);
    font-size: 0.95rem;
    text-align: right;
  }

  /* "Best for" reads as a sentence, so it stacks instead of
     sitting on one line with its label */
  .plan-row.is-prose {
    display: block;
  }

  .plan-row.is-prose .plan-label { margin-bottom: 5px; display: block; }
  .plan-row.is-prose .plan-value { text-align: left; display: block; }
}

@media (max-width: 820px) and (prefers-reduced-motion: no-preference) {
  .plan-card {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.5s ease, transform 0.5s ease, border-color 0.25s ease;
  }
  .pricing-scroll.is-visible .plan-card { opacity: 1; transform: translateY(0); }
  .pricing-scroll.is-visible .plan-cards .plan-card:nth-child(1) { transition-delay: 0.05s; }
  .pricing-scroll.is-visible .plan-cards .plan-card:nth-child(2) { transition-delay: 0.13s; }
  .pricing-scroll.is-visible .plan-cards .plan-card:nth-child(3) { transition-delay: 0.21s; }
  .pricing-scroll.is-visible .plan-cards .plan-card:nth-child(4) { transition-delay: 0.29s; }
}

/* addon strip reads better stacked on small screens */
@media (max-width: 560px) {
  .addon-strip {
    flex-direction: column;
    gap: 12px;
    padding: 18px 20px;
    background: rgba(var(--gold-rgb), 0.06);
    border: 1px solid rgba(var(--gold-rgb), 0.2);
    border-radius: 6px;
  }
}
