/*
 * Rosterflow landing page styles.
 * Mirrors /DESIGN.md tokens. If you change a hex here, change DESIGN.md too.
 * Light is the default; dark is a toggle (see boot script + main.js).
 */

:root,
:root[data-theme='light'] {
  --bg: #f7f5f0;
  --surface: #eeede7;
  --surface-2: #e5e3dc;
  --border: #dddbd3;
  --border-strong: #b8b6ac;
  --text: #14140f;
  --text-muted: #6e6c62;
  --text-dim: #a3a096;
  --accent: #2e4a3c;
  --accent-soft: #486b57;
  --accent-bg: #dbe5dd;
  --on-accent: #f7f5f0;
  --success: #2e6a3c;
  --warning: #a05a1a;
  --error: #8b2a2a;
  /* Hero signal field — read by hero.js so DESIGN tokens stay the source of truth. */
  --hero-base: #9e9c92;
  --hero-crest: #2e4a3c;
  --hero-fog: #f7f5f0;
}

:root[data-theme='dark'] {
  --bg: #0f100d;
  --surface: #1a1b17;
  --surface-2: #232520;
  --border: #2e2f2a;
  --border-strong: #45463f;
  --text: #eceae2;
  --text-muted: #8e8c82;
  --text-dim: #595850;
  --accent: #6fa683;
  --accent-soft: #5e8a6f;
  --accent-bg: #1f2c24;
  --on-accent: #0f100d;
  --success: #6fa683;
  --warning: #c99560;
  --error: #c66d6d;
  --hero-base: #34352f;
  --hero-crest: #6fa683;
  --hero-fog: #0f100d;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  background: var(--bg);
  color: var(--text);
  font-family: 'General Sans', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
html { scroll-behavior: smooth; }
body { background: var(--bg); transition: background-color 240ms ease, color 240ms ease; }

a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }

/* Keyboard focus — accent ring, matching the app. */
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 2px;
}

code, .mono { font-family: 'Geist Mono', ui-monospace, monospace; font-variant-numeric: tabular-nums; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 32px; }
.container.wide { max-width: 1280px; }
.container.narrow { max-width: 820px; }

/* ───── Topbar ───── */
.topbar {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 32px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.brand-mark {
  font-family: 'Cabinet Grotesk', system-ui, sans-serif;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--text);
}
.brand-mark .dot {
  display: inline-block; width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent); margin-left: 2px; vertical-align: 1px;
}
.brand-mark.sm { font-size: 18px; }

.topbar-nav {
  display: flex; align-items: center; gap: 22px;
  font-family: 'General Sans', sans-serif; font-size: 14px;
  color: var(--text-muted);
}
.topbar-nav a:not(.btn-primary):hover { color: var(--text); }

/* ───── Buttons ───── */
.btn-primary {
  background: var(--accent); color: var(--on-accent);
  padding: 9px 16px; border-radius: 4px;
  font-family: 'General Sans', sans-serif; font-weight: 600;
  font-size: 13px; letter-spacing: 0.01em;
  border: 0; cursor: pointer; display: inline-block;
  transition: background-color 150ms ease;
}
.btn-primary:hover { background: var(--accent-soft); color: var(--on-accent); }
.btn-primary.lg { padding: 12px 22px; font-size: 14px; }

.btn-secondary {
  background: var(--bg); color: var(--text);
  border: 1px solid var(--border-strong);
  padding: 9px 16px; border-radius: 4px;
  font-family: 'General Sans', sans-serif; font-weight: 500;
  font-size: 13px; display: inline-block; cursor: pointer;
  transition: background-color 150ms ease, border-color 150ms ease;
}
.btn-secondary:hover { background: var(--surface); }
.btn-secondary.lg { padding: 12px 22px; font-size: 14px; }

/* ───── Sections ───── */
section {
  padding: 88px 0;
  border-bottom: 1px solid var(--border);
}

.section-label {
  font-family: 'Geist Mono', monospace; font-size: 11px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 28px;
}

h1 {
  font-family: 'Cabinet Grotesk', sans-serif; font-weight: 800;
  font-size: 80px; line-height: 1.02; letter-spacing: -0.03em;
  margin-bottom: 36px;
  max-width: 1000px;
}
h2 {
  font-family: 'Cabinet Grotesk', sans-serif; font-weight: 800;
  font-size: 52px; line-height: 1.05; letter-spacing: -0.025em;
  margin-bottom: 16px;
  max-width: 880px;
}
h3 {
  font-family: 'Cabinet Grotesk', sans-serif; font-weight: 700;
  font-size: 22px; line-height: 1.2; letter-spacing: -0.015em;
  margin-bottom: 8px;
}
.accent { color: var(--accent); }

.lede {
  font-size: 18px; color: var(--text-muted);
  max-width: 680px; line-height: 1.6; margin-bottom: 40px;
}

/* ───── Hero ───── */
.hero {
  position: relative; overflow: hidden;
  min-height: 86vh;
  padding-top: 124px; padding-bottom: 104px;
  display: flex; flex-direction: column; justify-content: center;
}
.hero-canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  display: block; z-index: 0;
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; width: 100%; }
.hero h1 { font-size: 88px; line-height: 1; letter-spacing: -0.03em; max-width: 1040px; }

.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* Live status chip in the hero — a solid card (no glass) over the field. */
.hero-status {
  display: inline-flex; align-items: center; gap: 11px;
  margin-top: 34px; padding: 9px 14px;
  border: 1px solid var(--border-strong); border-radius: 6px;
  background: var(--bg);
  max-width: 100%;
}
.hero-status-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--success); position: relative; flex: none;
}
.hero-status-dot::after {
  content: ''; position: absolute; inset: -4px; border-radius: 50%;
  border: 1px solid var(--success); opacity: 0.5;
  animation: pulse-ring 2.6s ease-out infinite;
}
@keyframes pulse-ring {
  0% { transform: scale(0.55); opacity: 0.6; }
  100% { transform: scale(1.7); opacity: 0; }
}
.hero-status-line {
  font-size: 12px; color: var(--text-muted);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  transition: opacity 200ms ease;
}
.hero-status-line.is-fading { opacity: 0; }
.hero-status-line b { color: var(--text); font-weight: 500; }
.hero-status-line .ok { color: var(--success); }

.scroll-cue {
  margin-top: 56px;
  font-family: 'Geist Mono', monospace; font-size: 10px;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-dim);
  display: inline-flex; align-items: center; gap: 10px;
}
.scroll-cue::before {
  content: ''; width: 28px; height: 1px; background: var(--border-strong);
}

/* ───── Trust strip ───── */
.trust { padding: 24px 0; background: var(--surface); }
.trust-strip {
  display: flex; align-items: center; gap: 8px 14px; flex-wrap: wrap;
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--text-muted); margin: 0;
}
.trust-strip-lead {
  display: inline-flex; align-items: center; gap: 9px;
  color: var(--text);
}
.trust-strip-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent); display: inline-block; flex: none;
}
.trust-sep { color: var(--text-dim); }

/* ───── Product mockup (adapted from docs/design-preview.html) ───── */
.mockup-frame {
  border: 1px solid var(--border); border-radius: 12px; overflow: hidden;
  background: var(--bg); margin-top: 44px;
  box-shadow: 0 1px 0 var(--border), 0 24px 60px -40px rgba(20, 20, 15, 0.4);
}
/* The lineup card is its own surface now, not the right rail of the calendar. */
.lineup-frame {
  border: 1px solid var(--border); border-radius: 12px;
  background: var(--surface);
  padding: 22px 24px;
  display: flex; flex-direction: column; gap: 16px;
  box-shadow: 0 1px 0 var(--border), 0 24px 60px -40px rgba(20, 20, 15, 0.4);
}
.lineup-frame-head { display: flex; flex-direction: column; gap: 6px; padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.lineup-frame-label { font-family: 'Geist Mono', monospace; font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-muted); }
.lineup-frame-date { font-family: 'Cabinet Grotesk', sans-serif; font-weight: 800; font-size: 26px; line-height: 1.05; letter-spacing: -0.02em; }
.lineup-frame-meta { font-family: 'Geist Mono', monospace; font-size: 12px; color: var(--text-muted); }
.lineup-frame-meta .accent { color: var(--accent); }
.mockup-toolbar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 20px 24px; border-bottom: 1px solid var(--border);
  background: var(--surface); flex-wrap: wrap;
}
.venue-context { display: flex; flex-direction: column; gap: 4px; }
.venue-label {
  font-family: 'Geist Mono', monospace; font-size: 10px;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-muted);
}
.venue-name {
  font-family: 'Cabinet Grotesk', sans-serif; font-weight: 800;
  font-size: 26px; line-height: 1; letter-spacing: -0.02em;
}
.month-nav {
  display: flex; align-items: center; gap: 14px;
  font-family: 'Cabinet Grotesk', sans-serif; font-weight: 500;
  font-size: 18px; letter-spacing: -0.01em;
}
.month-nav .accent { color: var(--accent); font-weight: 700; }
.month-nav button {
  background: transparent; border: 1px solid var(--border-strong);
  color: var(--text); width: 30px; height: 30px;
  border-radius: 4px; cursor: pointer; font-family: inherit; font-size: 14px;
}
.month-nav button:hover { background: var(--bg); }

.mockup-body { display: grid; grid-template-columns: 232px 1fr; min-height: 540px; }
.mockup-toolbar-actions { display: flex; gap: 8px; flex: 0 0 auto; }

/* Fade-bottom: an overlay gradient that bleeds the bottom of the surface
 * into the page background. Reads more reliably across browsers than
 * mask-image, especially on dense grid content. The element is clipped
 * to its own bounds (overflow: hidden) and the ::after sits absolutely
 * over its bottom edge with pointer-events: none so it doesn't catch
 * clicks. The "ghost row" inside the calendar gives the gradient
 * something to dissolve, so the fade reads as "more below". */
.fade-bottom { position: relative; overflow: hidden; }
.fade-bottom::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 38%;
  background: linear-gradient(to bottom,
    color-mix(in srgb, var(--bg) 0%, transparent),
    color-mix(in srgb, var(--bg) 70%, transparent) 45%,
    var(--bg) 100%);
  pointer-events: none;
  z-index: 2;
}
.lineup-frame.fade-bottom::after {
  background: linear-gradient(to bottom,
    color-mix(in srgb, var(--surface) 0%, transparent),
    color-mix(in srgb, var(--surface) 70%, transparent) 45%,
    var(--surface) 100%);
}

/* Fade-right: same dissolve treatment, but on the trailing edge. Used on the
 * planner kanban board so the eye reads "more columns to the right" instead
 * of fighting a bottom-fade on a horizontal layout. */
.fade-right { position: relative; overflow: hidden; }
.fade-right::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0; right: 0;
  width: 14%;
  background: linear-gradient(to right,
    color-mix(in srgb, var(--bg) 0%, transparent),
    color-mix(in srgb, var(--bg) 70%, transparent) 50%,
    var(--bg) 100%);
  pointer-events: none;
  z-index: 2;
}

/* Calendar + lineup side-by-side at desktop, stacked on tablet. */
.mockup-stack {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 24px;
  align-items: start;
  margin-top: 44px;
}
.mockup-frame--cal { margin-top: 0; }
@media (max-width: 1024px) {
  .mockup-stack { grid-template-columns: 1fr; gap: 18px; }
}
.nav-side { border-right: 1px solid var(--border); padding: 22px 0; background: var(--bg); }
.nav-side .nav-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 24px; font-size: 14px; color: var(--text-muted);
  font-weight: 500; cursor: pointer; border-left: 2px solid transparent;
}
.nav-side .nav-item:hover { color: var(--text); }
.nav-side .nav-item.active { color: var(--text); border-left-color: var(--accent); background: var(--accent-bg); }
.nav-side .nav-count { font-family: 'Geist Mono', monospace; font-size: 11px; color: var(--text-dim); font-weight: 400; }
.nav-side .nav-count.alert { color: var(--warning); }
.nav-side .nav-count.accent { color: var(--accent); }

.calendar-wrap { padding: 18px 22px 22px; background: var(--bg); }
.calendar-dow { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin-bottom: 8px; }
.calendar-dow div {
  font-family: 'Geist Mono', monospace; font-size: 10px;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-dim); padding: 0 8px;
}
.calendar-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.cal-cell {
  border: 1px solid var(--border); border-radius: 6px;
  min-height: 78px; padding: 8px 10px; background: var(--bg);
  display: flex; flex-direction: column; gap: 6px; cursor: pointer;
  transition: border-color 150ms ease, background-color 150ms ease;
}
.cal-cell.empty { background: transparent; border-color: transparent; cursor: default; }
.cal-cell:hover:not(.empty) { border-color: var(--border-strong); background: var(--surface); }
.cal-cell.selected { border-color: var(--accent); background: var(--accent-bg); box-shadow: inset 0 0 0 1px var(--accent); }
.cal-cell.no-gig { color: var(--text-dim); }
.cal-date { font-family: 'Geist Mono', monospace; font-size: 11px; color: var(--text-muted); }
.cal-cell.selected .cal-date { color: var(--accent); font-weight: 500; }
.cal-cell .gig-tag {
  font-family: 'General Sans', sans-serif; font-size: 12px;
  color: var(--text); line-height: 1.3; font-weight: 500;
}
.cal-cell .pay-pill {
  display: inline-block; font-family: 'Geist Mono', monospace;
  font-size: 9px; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 2px 6px; border-radius: 2px; margin-top: auto; align-self: flex-start;
}
.pay-pill.paid { color: var(--success); background: color-mix(in srgb, var(--success) 8%, transparent); border: 1px solid var(--success); }
.pay-pill.unpaid { color: var(--warning); background: color-mix(in srgb, var(--warning) 8%, transparent); border: 1px solid var(--warning); }
.pay-pill.pending { color: var(--text-muted); border: 1px solid var(--border-strong); }

.lineup-slot { padding: 15px 0; border-bottom: 1px solid var(--border); }
.lineup-slot:last-of-type { border-bottom: 0; }
.slot-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 4px; }
.slot-name { font-family: 'Cabinet Grotesk', sans-serif; font-weight: 700; font-size: 20px; letter-spacing: -0.015em; }
.slot-fee { font-family: 'Geist Mono', monospace; font-weight: 500; font-size: 14px; color: var(--text); }
.slot-row {
  display: flex; align-items: baseline; justify-content: space-between;
  font-family: 'Geist Mono', monospace; font-size: 12px; color: var(--text-muted); margin-top: 4px;
}
.slot-row .pay-pill { margin-top: 0; }

/* One-time "receipt auto-matched → Paid" demonstration. */
@keyframes flash-paid {
  0% { background: var(--accent-bg); box-shadow: inset 0 0 0 1px var(--accent); }
  100% { background: transparent; box-shadow: inset 0 0 0 1px transparent; }
}
.lineup-slot.flash { animation: flash-paid 1400ms ease-out; border-radius: 6px; }

/* ───── FAQ ───── */
details { border-top: 1px solid var(--border); padding: 20px 0; }
details:last-of-type { border-bottom: 1px solid var(--border); }
details summary {
  cursor: pointer; list-style: none;
  font-family: 'Cabinet Grotesk', sans-serif; font-weight: 700;
  font-size: 20px; letter-spacing: -0.015em;
  display: flex; align-items: center; justify-content: space-between;
}
details summary::-webkit-details-marker { display: none; }
details summary::after {
  content: '+'; font-family: 'Geist Mono', monospace;
  font-size: 18px; color: var(--text-muted); transition: transform 220ms ease;
}
details[open] summary::after { content: '–'; }
details p { margin-top: 16px; font-size: 15px; color: var(--text-muted); line-height: 1.6; max-width: 720px; }

/* ───── Final CTA ───── */
.final-cta { background: var(--surface); border-bottom: 0; }

/* ───── Legal pages (privacy / terms) ───── */
.container.legal { max-width: 760px; }
.legal h1 { font-size: 56px; }
.legal h3 { margin-top: 40px; margin-bottom: 8px; }
.legal p { font-size: 15px; color: var(--text-muted); line-height: 1.7; }
.legal p a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.legal .lede { font-size: 17px; }
@media (max-width: 540px) {
  .legal h1 { font-size: 40px; }
}

/* ───── Footer ───── */
footer { padding: 56px 0 80px; }
.footer-row {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px; margin-bottom: 24px;
}
.footer-row nav { display: flex; gap: 20px; font-size: 14px; color: var(--text-muted); }
.footer-meta { font-size: 11px; color: var(--text-dim); letter-spacing: 0.1em; text-transform: uppercase; }

/* ───── Scroll reveal (no-JS safe: only hides once html.js is set) ───── */
html.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity 360ms ease-out, transform 360ms ease-out; }
html.js .reveal.is-visible { opacity: 1; transform: none; }

/* ───── Responsive ───── */
@media (max-width: 1024px) {
  .mockup-body { grid-template-columns: 1fr; }
  .nav-side { display: none; }
  .detail-side { border-left: 0; border-top: 1px solid var(--border); }
}
@media (max-width: 880px) {
  h1 { font-size: 54px; }
  .hero h1 { font-size: 54px; }
  h2 { font-size: 36px; }
  section { padding: 64px 0; }
  .hero { min-height: 0; padding-top: 96px; padding-bottom: 72px; }
  .topbar-nav { gap: 12px; font-size: 13px; }
  .trust .container { gap: 14px 28px; }
}
@media (max-width: 540px) {
  .container { padding: 0 22px; }
  .hero h1, h1 { font-size: 42px; }
  /* Let the headline wrap naturally on narrow screens instead of forcing
     the desktop line break. */
  .hero h1 br { display: none; }
  .hero-status-line { font-size: 11px; }
  .mockup-toolbar { gap: 12px; }
  /* 7 columns can't survive a phone width — scroll sideways like the app
     does, keeping each day cell legible. */
  .calendar-wrap { overflow-x: auto; }
  .calendar-dow, .calendar-grid { min-width: 520px; }
}

/* ───── Topbar Sign-in link (text only) ───── */
.topbar-signin {
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-muted);
}
.topbar-signin:hover { color: var(--accent); }

/* ───── §3 The before ───── */
.before-stack {
  display: flex; flex-direction: column; gap: 18px;
  margin-top: 36px;
}
.before-line {
  font-family: 'Cabinet Grotesk', sans-serif;
  font-weight: 500;
  font-size: 22px; line-height: 1.4; letter-spacing: -0.005em;
  color: var(--text); max-width: 720px;
}

/* ───── §4 Moments ───── */
.moment {
  margin-top: 56px;
  padding-top: 36px;
  border-top: 1px solid var(--border);
}
.moment:first-of-type { border-top: 0; padding-top: 0; }
.moment-head {
  display: grid; grid-template-columns: 80px 1fr; gap: 28px;
  margin-bottom: 24px; align-items: baseline;
}
.moment-num {
  font-family: 'Geist Mono', monospace; font-size: 11px;
  letter-spacing: 0.18em; color: var(--accent);
}
.moment h3 {
  font-family: 'Cabinet Grotesk', sans-serif; font-weight: 700;
  font-size: 28px; line-height: 1.15; letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.moment-copy {
  font-size: 16px; color: var(--text-muted); line-height: 1.6;
  max-width: 640px;
}
.moment-copy code {
  background: var(--surface); padding: 2px 6px; border-radius: 3px;
  font-size: 13px; color: var(--accent);
}
.moment-illu {
  border: 1px solid var(--border); border-radius: 6px;
  background: var(--bg); padding: 22px 24px;
  margin-top: 8px; max-width: 720px;
}

/* §4b overlap illustration */
.illu-cell {
  display: flex; flex-direction: column; gap: 8px;
}
.illu-cell-head {
  font-family: 'Geist Mono', monospace; font-size: 11px;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-muted);
  margin-bottom: 4px;
}
.illu-cell-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 10px 12px;
  border: 1px solid var(--border); border-radius: 6px;
  background: var(--bg);
}
.illu-cell-row.warn {
  border-color: var(--warning);
  background: color-mix(in srgb, var(--warning) 6%, transparent);
}
.illu-gig {
  font-family: 'General Sans', sans-serif; font-size: 14px;
  font-weight: 500; color: var(--text);
}
.illu-cell-note {
  font-size: 11px; letter-spacing: 0.06em; color: var(--warning);
  margin-top: 2px;
}

/* §4c table illustration */
.illu-table {
  width: 100%; border-collapse: collapse;
  font-family: 'General Sans', sans-serif; font-size: 14px;
}
.illu-table thead th {
  text-align: left;
  font-family: 'Geist Mono', monospace; font-size: 10px;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-muted);
  font-weight: 500; padding: 0 0 12px;
  border-bottom: 1px solid var(--border);
}
.illu-table thead th.num { text-align: right; }
.illu-table tbody td {
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.illu-table tbody tr:last-child td { border-bottom: 0; }
.illu-table td.num {
  text-align: right;
  font-family: 'Geist Mono', monospace; font-variant-numeric: tabular-nums;
  color: var(--text);
}

/* ───── §5b Planner section ───── */
.planner-lede {
  font-size: 18px; line-height: 1.6; color: var(--text-muted);
  max-width: 720px; margin-bottom: 44px;
}

/* Planner mockup mirrors the calendar mockup's chrome (toolbar + body) so
 * the two sections read as the same surface in two states. */
.pmock-frame { /* combines with .mockup-frame for the chrome */ }
.pmock-board {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 22px;
  background: var(--bg);
}
.pmock-col {
  min-width: 0;
  display: flex; flex-direction: column; gap: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 14px 12px;
}
.pmock-col--terminal { background: var(--surface-2); }
.pmock-col-head {
  display: flex; align-items: baseline; justify-content: space-between;
  padding-bottom: 4px;
}
.pmock-col-name {
  font-family: 'Cabinet Grotesk', sans-serif; font-weight: 700;
  font-size: 14px; letter-spacing: -0.01em; color: var(--text);
}
.pmock-col-count { font-size: 11px; color: var(--text-muted); }

.pmock-card {
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--bg);
  padding: 12px 13px;
  display: flex; flex-direction: column; gap: 8px;
}
.pmock-card--booked { border-color: var(--accent); }
.pmock-card--flagged {
  border-color: var(--warning);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--warning) 18%, transparent);
}
.pmock-card-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 8px;
}
.pmock-card-name {
  flex: 1; min-width: 0;
  font-family: 'Cabinet Grotesk', sans-serif; font-weight: 700;
  font-size: 15px; letter-spacing: -0.01em; line-height: 1.2;
  color: var(--text);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.pmock-card-link {
  font-family: 'Geist Mono', monospace; font-size: 12px;
  color: var(--text-muted);
}
.pmock-card--booked .pmock-card-link { color: var(--accent); }
.pmock-card-money {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
}
.pmock-card-amount {
  font-family: 'Geist Mono', monospace; font-variant-numeric: tabular-nums;
  font-size: 13px; color: var(--text);
}
.pmock-card-amount.accent { color: var(--accent); font-weight: 500; }
.pmock-card-pill {
  display: inline-block;
  font-family: 'Geist Mono', monospace; font-size: 9px;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 2px 7px; border-radius: 2px;
  border: 1px solid var(--border-strong); color: var(--text-muted);
}
.pmock-card-pill.warn { border-color: var(--warning); color: var(--warning); }
.pmock-card-pill.ok   { border-color: var(--success); color: var(--success); }
.pmock-card-conflict {
  display: flex; align-items: center; gap: 6px;
  border: 1px solid var(--warning); color: var(--warning);
  padding: 5px 8px; border-radius: 4px;
  font-family: 'General Sans', sans-serif; font-size: 11px; line-height: 1.25;
}
.pmock-card-meta {
  display: flex; align-items: center; gap: 6px;
  font-size: 11px; letter-spacing: 0.02em; color: var(--text-muted);
}
.pmock-card-owner {
  font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text-dim);
}
.pmock-card-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding-top: 8px; border-top: 1px solid var(--border);
}
.pmock-card-icons {
  display: flex; align-items: center; gap: 10px;
  font-size: 10px; letter-spacing: 0.04em;
  color: var(--text-dim);
}
.pmock-card-icons span { display: inline-flex; align-items: center; gap: 3px; }
.pmock-card-icons .clip {
  width: 10px; height: 10px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}

/* Planner closing bullets — three short statements that pay off the mockup. */
.planner-bullets {
  list-style: none; padding: 0; margin: 36px 0 0;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.planner-bullets li {
  font-size: 15px; line-height: 1.55; color: var(--text-muted);
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.planner-bullets li strong {
  display: block;
  font-family: 'Cabinet Grotesk', sans-serif; font-weight: 700; font-size: 17px;
  color: var(--text); margin-bottom: 6px;
}

@media (max-width: 880px) {
  .pmock-board { padding: 16px; grid-template-columns: 1fr; gap: 12px; }
  .pmock-col { padding: 12px 10px; }
  .fade-right::after { display: none; }
  .planner-bullets { grid-template-columns: 1fr; gap: 18px; }
}

/* ───── §9 Final CTA meta ───── */
.final-meta {
  margin-top: 24px;
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--text-dim);
}

/* ───── Responsive — overrides for new sections ───── */
@media (max-width: 880px) {
  .moment-head { grid-template-columns: 1fr; gap: 6px; }
  .before-line { font-size: 19px; }
  .moment h3 { font-size: 24px; }
  /* Section links hide on small screens; the theme toggle + Sign in stay. */
  .topbar-nav a:not(.topbar-signin):not(.btn-primary) { display: none; }
}
@media (max-width: 540px) {
  .moment-illu { padding: 16px 18px; }
}

/* ───── Reduced motion ───── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .hero-status-dot::after { animation: none; }
  .lineup-slot.flash { animation: none; }
  * { transition-duration: 0.01ms !important; }
}
