:root {
  color-scheme: light;
  --sans: "Manrope", "Segoe UI", sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --mono: "DM Mono", Consolas, monospace;
  --ink: #171714;
  --ink-soft: #3f403b;
  --muted: #6c6e67;
  --paper: #f4f3ee;
  --white: #ffffff;
  --line: #d9dad3;
  --signal: #c9ff63;
  --signal-dark: #6e991f;
  --danger: #d84d59;
  --success: #2b9f67;
  --shadow: 0 18px 48px rgba(22, 23, 19, 0.12);
  font-family: var(--sans);
}

* { box-sizing: border-box; }
html { min-height: 100%; scroll-behavior: smooth; background: var(--paper); }
body { min-height: 100vh; margin: 0; color: var(--ink); background: var(--paper); }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; }
img, video { display: block; }
.is-hidden { display: none !important; }

.app-shell { min-height: 100vh; }
.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 68px;
  padding: 0 clamp(18px, 4vw, 58px);
  border-bottom: 1px solid rgba(23, 23, 20, 0.12);
  background: rgba(244, 243, 238, 0.92);
  backdrop-filter: blur(16px);
}
.brand { display: inline-flex; align-items: center; gap: 10px; width: fit-content; text-decoration: none; }
.brand-mark { display: block; flex: 0 0 auto; width: 34px; height: 34px; }
.brand strong { font-size: 0.95rem; font-weight: 800; }
.public-nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 38px); }
.public-nav a, .admin-nav a { position: relative; padding: 24px 0 21px; font-size: 0.78rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.public-nav a::after, .admin-nav a::after { content: ""; position: absolute; right: 0; bottom: -1px; left: 0; height: 2px; background: var(--ink); opacity: 0; transform: scaleX(0.35); transition: opacity 160ms ease, transform 160ms ease; }
.public-nav a.is-active::after, .admin-nav a.is-active::after { opacity: 1; transform: scaleX(1); }
.admin-nav { display: none; align-items: center; gap: clamp(18px, 3vw, 38px); }
.admin-nav::-webkit-scrollbar { display: none; }
.nav-actions { display: flex; justify-self: end; align-items: center; gap: 12px; }
.admin-exit { display: none; color: var(--muted); font-size: 0.72rem; font-weight: 800; text-decoration: none; }
.nav-cta { min-height: 38px; padding: 10px 15px; border-radius: 3px; background: var(--ink); color: var(--white); font-size: 0.76rem; font-weight: 800; text-decoration: none; }
body.route-admin .public-nav { display: none; }
body.route-admin .admin-nav { display: flex; }
body.route-admin .admin-exit { display: inline-flex; }
body.route-admin .nav-cta { display: none; }

.view { display: none; }
.view.is-active { display: block; }
.eyebrow { margin: 0; color: var(--signal-dark); font-size: 0.69rem; font-weight: 800; text-transform: uppercase; }
.text-link { font-weight: 800; text-underline-offset: 4px; }
.primary-link, .ghost-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 17px;
  border: 1px solid var(--ink);
  border-radius: 3px;
  background: var(--ink);
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none;
}
.primary-link.light { border-color: var(--white); background: var(--white); color: var(--ink); }
.text-link.light { color: var(--white); }

.landing-hero {
  position: relative;
  min-height: min(760px, calc(100svh - 104px));
  overflow: hidden;
  color: var(--white);
  isolation: isolate;
}
.hero-media { position: absolute; inset: 0; z-index: -3; overflow: hidden; background: #171714; }
.hero-video { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.82) saturate(0.9); }
.hero-scrim { position: absolute; inset: 0; z-index: -2; background: rgba(8, 9, 7, 0.42); }
.hero-content { display: grid; align-content: center; min-height: inherit; width: min(1320px, 100%); padding: clamp(52px, 9vw, 126px) clamp(20px, 7vw, 96px) 120px; }
.hero-eyebrow { color: var(--signal); }
.hero-content h1 { max-width: 9ch; margin: 8px 0 0; font-family: var(--serif); font-size: clamp(4.7rem, 10vw, 9.4rem); font-weight: 400; line-height: 0.78; }
.hero-lede { max-width: 40rem; margin: 26px 0 0; font-size: clamp(1rem, 1.55vw, 1.25rem); font-weight: 600; line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-top: 28px; }
.hero-proof { position: absolute; right: clamp(20px, 5vw, 70px); bottom: 24px; left: clamp(20px, 5vw, 70px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid rgba(255,255,255,0.4); }
.hero-proof span { padding: 17px 0 0; font-size: 0.73rem; font-weight: 600; }
.hero-proof strong { display: block; margin-bottom: 3px; font-size: 1rem; }

.quiet-band, .pricing-band, .dashboard-band { padding: clamp(72px, 10vw, 138px) clamp(18px, 6vw, 80px); }
.quiet-band { background: var(--paper); }
.section-heading { max-width: 720px; }
.section-heading.centered { margin: 0 auto; text-align: center; }
.section-heading h2, .demo-copy h2, .checkout-copy h2, .dashboard-heading h2, .brief-main > h2, .admin-heading h2 { margin: 8px 0 0; font-family: var(--serif); font-size: clamp(2.6rem, 5vw, 5.4rem); font-weight: 400; line-height: 0.95; }
.section-heading > p:last-child { color: var(--muted); line-height: 1.55; }
.process-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 5vw, 74px); max-width: 1240px; margin: 64px auto 0; }
.process-grid article { padding-top: 18px; border-top: 1px solid var(--ink); }
.process-grid span { font-family: var(--mono); font-size: 0.72rem; }
.process-grid h3 { margin: 34px 0 0; font-size: 1.05rem; }
.process-grid p { margin: 10px 0 0; color: var(--muted); font-size: 0.92rem; line-height: 1.55; }
.database-proof { display: grid; grid-template-columns: minmax(180px, 0.5fr) minmax(320px, 1.2fr) minmax(300px, 0.9fr); gap: clamp(26px, 5vw, 72px); align-items: start; max-width: 1240px; margin: 72px auto 0; padding: 34px 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.database-proof h3 { margin: 0; font-family: var(--serif); font-size: clamp(2rem, 3.2vw, 3.6rem); font-weight: 400; line-height: 0.95; }
.database-proof > div > p { margin: 14px 0 0; color: var(--muted); font-size: 0.86rem; line-height: 1.6; }
.database-proof dl { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; }
.database-proof dl div { min-width: 0; padding-left: 14px; border-left: 1px solid var(--line); }
.database-proof dt { font-family: var(--serif); font-size: clamp(2rem, 3.2vw, 3.25rem); line-height: 0.9; }
.database-proof dd { margin: 8px 0 0; color: var(--muted); font-size: 0.66rem; line-height: 1.4; }

.demo-band { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(300px, 420px); align-items: center; gap: clamp(36px, 8vw, 120px); padding: clamp(62px, 8vw, 110px) clamp(18px, 9vw, 130px); background: var(--ink); color: var(--white); }
.demo-copy { max-width: 620px; }
.demo-copy .eyebrow { color: var(--signal); }
.demo-copy p:not(.eyebrow) { color: #c9cbc3; line-height: 1.6; }
.demo-result { margin-top: 28px; padding: 15px 0; border-top: 1px solid #575951; border-bottom: 1px solid #575951; color: var(--signal); font-family: var(--mono); font-size: 0.76rem; }
.demo-phone { --swipe-rgb: 43 159 103; --swipe-strength: 0; position: relative; min-height: 620px; overflow: hidden; isolation: isolate; contain: layout paint; border: 6px solid #2e302a; border-radius: 8px; background: #070807; box-shadow: 0 30px 80px rgba(0,0,0,0.35); }
.demo-phone::after { content: attr(data-swipe-label); position: absolute; top: 22%; left: 50%; z-index: 12; min-width: 102px; padding: 10px 16px; border: 2px solid rgb(var(--swipe-rgb)); border-radius: 3px; background: rgba(5,6,5,0.56); color: var(--white); font-family: var(--mono); font-size: 1.25rem; text-align: center; opacity: clamp(0, calc((var(--swipe-strength) - 0.06) * 2.6), 1); transform: translateX(-50%) scale(calc(0.94 + var(--swipe-strength) * 0.08)); pointer-events: none; transition: opacity 90ms linear; }
.demo-study-header { position: absolute; top: 0; right: 0; left: 0; z-index: 8; display: flex; justify-content: space-between; align-items: start; gap: 10px; padding: 14px 12px 74px; color: var(--white); background: linear-gradient(rgba(5,6,5,0.78), transparent); pointer-events: none; transition: opacity 180ms ease; }
.demo-study-header > div:first-child { display: flex; align-items: center; gap: 9px; }
.demo-study-mark { display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid rgba(255,255,255,0.44); font-family: var(--mono); font-size: 0.55rem; }
.demo-study-header small, .demo-study-header strong { display: block; }
.demo-study-header small { color: rgba(255,255,255,0.62); font-family: var(--mono); font-size: 0.48rem; text-transform: uppercase; }
.demo-study-header strong { margin-top: 3px; font-family: var(--serif); font-size: 0.95rem; font-weight: 400; }
.demo-progress { display: grid; grid-template-columns: 52px 30px; align-items: center; gap: 7px; min-height: 28px; padding: 0 8px; border: 1px solid rgba(255,255,255,0.24); background: rgba(5,6,5,0.5); }
.demo-progress > span { position: relative; height: 4px; overflow: hidden; background: rgba(255,255,255,0.24); }
.demo-progress i { position: absolute; inset: 0 auto 0 0; width: 0; background: var(--white); transition: width 180ms ease; }
.demo-progress strong { justify-self: end; font-family: var(--mono); font-size: 0.62rem; font-weight: 500; }
.demo-deck { position: absolute; inset: 0; }
.demo-card { --swipe-rgb: 43 159 103; --swipe-strength: 0; position: absolute; inset: 0; z-index: 1; overflow: hidden; opacity: 0; background: #070807; touch-action: none; user-select: none; transform: translateY(10px) scale(0.97); transform-origin: 50% 96%; transition: opacity 180ms ease, transform 180ms ease; will-change: transform; }
.demo-card::after { content: ""; position: absolute; inset: 0; z-index: 5; border: 2px solid rgb(var(--swipe-rgb)); background: rgb(var(--swipe-rgb) / 0.08); opacity: calc(var(--swipe-strength) * 0.62); pointer-events: none; transition: opacity 90ms linear; }
.demo-card.is-active { z-index: 3; opacity: 1; transform: none; }
.demo-card.is-next { z-index: 2; opacity: 0.52; }
.demo-card.is-dragging { transition: none; }
.demo-card img { width: 100%; height: 100%; object-fit: cover; filter: saturate(1.04) contrast(1.02); pointer-events: none; -webkit-user-drag: none; }
.demo-card-copy { position: absolute; right: 0; bottom: 0; left: 0; z-index: 6; padding: 110px 16px 106px; color: var(--white); background: linear-gradient(transparent, rgba(0,0,0,0.9)); transition: opacity 180ms ease; pointer-events: none; }
.demo-card-copy h3 { margin: 0; font-size: 1.06rem; }
.demo-card-copy p { margin: 6px 0 0; color: rgba(255,255,255,0.78); font-size: 0.68rem; line-height: 1.4; }
.demo-response-guide { position: absolute; right: 18px; bottom: 78px; left: 18px; z-index: 7; display: flex; justify-content: space-between; color: rgba(255,255,255,0.72); font-family: var(--mono); font-size: 0.52rem; text-transform: uppercase; pointer-events: none; }
.demo-controls { position: absolute; right: 18px; bottom: 16px; left: 18px; z-index: 8; display: grid; grid-template-columns: 1fr 1fr; gap: 42px; justify-content: center; }
.demo-swipe { width: 54px; height: 54px; border: 1px solid rgba(255,255,255,0.4); border-radius: 50%; justify-self: end; background: rgba(0,0,0,0.54); color: var(--white); font-size: 1.45rem; line-height: 1; }
.demo-swipe + .demo-swipe { justify-self: start; }
.demo-swipe[data-demo-swipe="pass"] { border-color: var(--danger); }
.demo-swipe[data-demo-swipe="like"] { border-color: var(--success); }
.demo-phone.is-text-hidden .demo-card-copy, .demo-phone.is-text-hidden .demo-study-header { opacity: 0; }
.demo-outcome { position: relative; z-index: 20; display: grid; width: 100%; min-height: inherit; align-content: center; gap: 24px; padding: clamp(26px, 7vw, 42px); background: #f4f4ee; color: var(--ink); }
.demo-outcome .eyebrow { color: var(--signal-dark); }
.demo-outcome h3 { margin: 8px 0 0; font-family: var(--serif); font-size: clamp(2.6rem, 8vw, 4rem); font-weight: 400; line-height: 0.92; }
.demo-outcome dl { display: grid; margin: 0; border-top: 1px solid #bfc0b8; }
.demo-outcome dl div { padding: 14px 0; border-bottom: 1px solid #bfc0b8; }
.demo-outcome dt { color: var(--muted); font-family: var(--mono); font-size: 0.62rem; text-transform: uppercase; }
.demo-outcome dd { margin: 5px 0 0; font-size: 0.86rem; font-weight: 800; line-height: 1.4; }
.demo-restart { min-height: 46px; border: 1px solid var(--ink); border-radius: 3px; background: var(--ink); color: var(--white); font-weight: 800; }

.pricing-band { background: #e8e8e1; }
.pricing-common { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; max-width: 1240px; margin: 46px auto 0; border-top: 1px solid #bcbdb5; border-bottom: 1px solid #bcbdb5; }
.pricing-common span { padding: 18px clamp(12px, 2vw, 26px); color: var(--muted); font-size: 0.74rem; line-height: 1.5; }
.pricing-common span + span { border-left: 1px solid #bcbdb5; }
.pricing-common strong { display: block; margin-bottom: 3px; color: var(--ink); font-size: 0.78rem; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; max-width: 1240px; margin: 30px auto 0; align-items: stretch; }
.price-card { position: relative; display: grid; grid-template-rows: auto 1fr auto; gap: 24px; min-width: 0; padding: clamp(22px, 2.5vw, 34px); border: 1px solid #c9cac2; border-radius: 5px; background: rgba(255,255,255,0.62); cursor: pointer; transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease; }
.price-card.featured { z-index: 2; border-color: var(--ink); background: var(--white); box-shadow: var(--shadow); transform: translateY(-6px); }
.featured-label { position: absolute; top: 0; right: 18px; display: none; transform: translateY(-50%); padding: 6px 9px; border-radius: 2px; background: var(--signal); font-size: 0.66rem; font-weight: 800; text-transform: uppercase; }
.price-card.featured .featured-label { display: block; }
.plan-head { min-height: 184px; }
.plan-name { margin: 0; font-size: 0.78rem; font-weight: 800; text-transform: uppercase; }
.plan-price { display: flex; align-items: baseline; gap: 9px; margin-top: 16px; }
.plan-price strong { font-family: var(--serif); font-size: 4.4rem; font-weight: 400; line-height: 0.8; }
.plan-price span, .price-card p { color: var(--muted); font-size: 0.82rem; }
.price-card p { line-height: 1.5; }
.plan-specs { display: grid; align-content: start; margin: 0; }
.plan-specs div { display: grid; align-content: start; min-height: 96px; padding: 13px 0; border-top: 1px solid var(--line); }
.plan-specs div:last-child { border-bottom: 1px solid var(--line); }
.plan-specs dt { color: var(--muted); font-family: var(--mono); font-size: 0.62rem; font-weight: 500; text-transform: uppercase; }
.plan-specs dd { margin: 6px 0 0; font-size: 0.82rem; font-weight: 700; line-height: 1.4; }
.plan-button { min-height: 46px; border: 1px solid var(--ink); border-radius: 3px; background: transparent; font-weight: 800; }
.plan-button.primary { background: var(--ink); color: var(--white); }
.invitation-confidence { max-width: 1240px; margin: 30px auto 0; padding: 26px 0 0; border-top: 1px solid #bcbdb5; }
.invitation-confidence > div { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(18px, 3vw, 42px); margin-top: 18px; }
.invitation-confidence span { color: var(--muted); font-size: 0.74rem; line-height: 1.5; }
.invitation-confidence strong { display: block; margin-bottom: 4px; color: var(--ink); font-size: 0.82rem; }
.cad-note { max-width: 820px; margin: 28px auto 0; color: var(--muted); font-size: 0.72rem; line-height: 1.55; text-align: center; }

.checkout-band { display: grid; grid-template-columns: minmax(0, 0.72fr) minmax(420px, 1fr); gap: clamp(34px, 8vw, 120px); padding: clamp(72px, 10vw, 138px) clamp(18px, 8vw, 112px); background: var(--white); }
.checkout-copy { max-width: 560px; }
.checkout-copy > p:not(.eyebrow) { color: var(--muted); line-height: 1.6; }
.selected-plan { display: grid; gap: 5px; margin-top: 34px; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.selected-plan span { color: var(--muted); font-size: 0.72rem; text-transform: uppercase; }
.selected-plan strong { font-size: 1.05rem; }
.checkout-form { display: grid; gap: 16px; }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
label { display: grid; gap: 7px; color: var(--ink-soft); font-size: 0.75rem; font-weight: 800; }
input, select { width: 100%; min-height: 46px; padding: 0 12px; border: 1px solid var(--line); border-radius: 2px; background: var(--white); color: var(--ink); outline: 0; }
input:focus, select:focus, button:focus-visible, a:focus-visible { outline: 3px solid rgba(117, 162, 37, 0.3); outline-offset: 2px; }
.consent-row { display: grid; grid-template-columns: 20px 1fr; align-items: start; gap: 10px; font-weight: 600; line-height: 1.45; }
.consent-row input { width: 18px; min-height: 18px; margin: 2px 0 0; accent-color: var(--ink); }
.gate-card .gift-delivery-note { display: grid; gap: 5px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.gate-card .gift-delivery-note strong { color: var(--ink); font-size: 0.8rem; }
.gate-card .gift-delivery-note span { color: var(--muted); font-size: 0.7rem; line-height: 1.5; }
.checkout-verification { min-height: 70px; display: grid; align-items: center; gap: 7px; }
.checkout-verification[hidden] { display: none; }
.checkout-verification #turnstile-widget { min-height: 65px; }
.checkout-verification p { margin: 0; color: var(--muted); font-size: 0.68rem; line-height: 1.4; }
.checkout-button { display: flex; justify-content: space-between; align-items: center; min-height: 54px; padding: 0 18px; border: 0; border-radius: 3px; background: var(--ink); color: var(--white); font-weight: 800; }
.checkout-button span { color: var(--signal); }
.demo-purchase { min-height: 38px; border: 0; background: transparent; color: var(--muted); font-size: 0.72rem; text-decoration: underline; text-underline-offset: 3px; }
.form-fine-print { margin: 0; color: var(--muted); font-size: 0.68rem; line-height: 1.5; }

.view-dashboard.is-active { display: block; min-height: calc(100vh - 68px); }
.dashboard-band { min-height: calc(100vh - 68px); background: var(--paper); }
.dashboard-heading { display: flex; justify-content: space-between; gap: 28px; max-width: 1240px; margin: 0 auto 30px; }
.dashboard-heading > div:first-child { max-width: 660px; }
.dashboard-heading p:not(.eyebrow) { color: var(--muted); line-height: 1.55; }
.dashboard-preview-note { display: flex; align-items: center; justify-content: space-between; gap: 22px; max-width: 1240px; margin: -12px auto 14px; padding: 12px 14px; border: 1px solid #c6c8c4; background: #edeeeb; color: #70736f; }
.dashboard-preview-note span { flex: 0 0 auto; font-size: 0.65rem; font-weight: 800; text-transform: uppercase; }
.dashboard-preview-note p { max-width: 760px; margin: 0; font-size: 0.7rem; line-height: 1.5; text-align: right; }
.dashboard-code { align-self: end; display: grid; grid-template-columns: 1fr auto; gap: 4px 14px; min-width: 240px; padding: 14px; border: 1px solid var(--line); background: var(--white); }
.dashboard-code span { grid-column: 1/-1; color: var(--muted); font-size: 0.64rem; font-weight: 800; text-transform: uppercase; }
.dashboard-code strong { font-family: var(--mono); font-size: 1.2rem; }
.dashboard-code button { border: 0; background: transparent; font-size: 0.72rem; font-weight: 800; text-decoration: underline; }
.dashboard-state-card { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(260px, 0.55fr); max-width: 1240px; margin: 0 auto; border: 1px solid var(--line); border-left: 4px solid #87909a; border-radius: 4px; background: var(--white); }
.dashboard-state-card[data-tone="active"] { border-left-color: var(--signal); }
.dashboard-state-card[data-tone="complete"] { border-left-color: var(--success); }
.dashboard-state-card[data-tone="attention"] { border-left-color: #cf8b2d; }
.dashboard-state-card[data-tone="closed"] { border-left-color: var(--danger); }
#proposer-dashboard.is-preview .dashboard-state-card,
#proposer-dashboard.is-preview .dashboard-journey,
#proposer-dashboard.is-preview .dashboard-metrics,
#proposer-dashboard.is-preview .outreach-panel,
#proposer-dashboard.is-preview .message-history { filter: grayscale(1); opacity: 0.68; }
#proposer-dashboard.is-preview .dashboard-state-card { position: relative; }
#proposer-dashboard.is-preview .dashboard-state-card::after { content: "Example"; position: absolute; top: 13px; right: 13px; padding: 4px 6px; border: 1px solid #a4a7a2; background: #f3f3f0; color: #777a75; font-family: var(--mono); font-size: 0.55rem; text-transform: uppercase; }
.dashboard-state-copy, .dashboard-next-event { display: grid; align-content: center; gap: 8px; min-height: 154px; padding: 24px; }
.dashboard-state-copy > span, .dashboard-next-event > span { color: var(--muted); font-size: 0.65rem; font-weight: 800; text-transform: uppercase; }
.dashboard-state-copy h3 { margin: 0; font-size: clamp(1.35rem, 2.2vw, 1.85rem); }
.dashboard-state-copy p { max-width: 680px; margin: 0; color: var(--muted); font-size: 0.82rem; line-height: 1.55; }
.dashboard-next-event { border-left: 1px solid var(--line); background: #f8f8f4; }
.dashboard-next-event strong { font-size: 0.94rem; }
.dashboard-next-event time { color: var(--muted); font-family: var(--mono); font-size: 0.67rem; line-height: 1.5; }
.dashboard-journey { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 1240px; margin: 10px auto; padding: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); list-style: none; }
.dashboard-journey li { position: relative; display: grid; grid-template-columns: 28px 1fr; align-items: start; gap: 10px; min-width: 0; padding: 16px 12px; color: #9a9b95; }
.dashboard-journey li + li { border-left: 1px solid var(--line); }
.dashboard-journey li > span { display: grid; width: 24px; height: 24px; place-items: center; border: 1px solid currentColor; border-radius: 50%; font-family: var(--mono); font-size: 0.62rem; }
.dashboard-journey li div { display: grid; gap: 4px; min-width: 0; }
.dashboard-journey strong { color: currentColor; font-size: 0.75rem; }
.dashboard-journey small { color: inherit; font-size: 0.64rem; line-height: 1.35; }
.dashboard-journey li[data-state="done"] { color: #617d28; }
.dashboard-journey li[data-state="done"] > span { border-color: var(--signal); background: var(--signal); color: var(--ink); }
.dashboard-journey li[data-state="current"] { color: var(--ink); background: var(--white); }
.dashboard-journey li[data-state="current"] > span { border-color: var(--ink); background: var(--ink); color: var(--white); }
.dashboard-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; max-width: 1240px; margin: 0 auto 10px; }
.dashboard-metrics.is-self-serve { display: none; }
.dashboard-metrics article { display: grid; grid-template-columns: 1fr auto; gap: 12px; min-height: 72px; align-items: center; padding: 15px 18px; border: 1px solid var(--line); border-radius: 4px; background: var(--white); }
.dashboard-metrics span { color: var(--muted); font-size: 0.67rem; font-weight: 800; text-transform: uppercase; }
.dashboard-metrics strong { font-size: 1rem; text-align: right; }
.dashboard-grid { display: grid; grid-template-columns: 1.45fr 0.55fr; gap: 10px; max-width: 1240px; margin: 0 auto; }
.dashboard-grid.is-self-serve { grid-template-columns: 1fr; }
.outreach-panel, .status-panel, .message-history { padding: 22px; border: 1px solid var(--line); border-radius: 4px; background: var(--white); }
.panel-heading { display: flex; align-items: start; justify-content: space-between; gap: 16px; }
.panel-heading h3, .status-panel h3 { margin: 5px 0 0; font-size: 1.05rem; }
.cadence-badge, #refund-state { padding: 7px 9px; border-radius: 2px; background: #edf5df; color: #4e7414; font-size: 0.64rem; font-weight: 800; text-transform: uppercase; }
.primary-button, .ghost-button { min-height: 44px; padding: 0 14px; border: 1px solid var(--ink); border-radius: 3px; font-weight: 800; }
.primary-button { background: var(--ink); color: var(--white); }
.ghost-button { background: transparent; color: var(--ink); }
.primary-button:disabled, .ghost-button:disabled { cursor: not-allowed; opacity: 0.45; }
.primary-link.is-disabled { pointer-events: none; opacity: 0.45; }
.followup-help { margin: 12px 0 0; color: var(--muted); font-size: 0.78rem; line-height: 1.55; }
.expectation-list { display: grid; gap: 0; margin: 20px 0 0; padding: 0; border-top: 1px solid var(--line); list-style: none; }
.expectation-list li { display: grid; grid-template-columns: 26px 1fr; gap: 11px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.expectation-list li > span { display: grid; width: 24px; height: 24px; place-items: center; border-radius: 50%; background: var(--ink); color: var(--white); font-family: var(--mono); font-size: 0.62rem; }
.expectation-list p { display: grid; gap: 3px; margin: 0; color: var(--muted); font-size: 0.7rem; line-height: 1.45; }
.expectation-list strong { color: var(--ink); font-size: 0.76rem; }
.notification-summary { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.notification-summary h4 { margin: 5px 0 0; font-size: 0.92rem; }
.notification-summary > p:not(.eyebrow) { margin: 8px 0 0; color: var(--muted); font-size: 0.74rem; line-height: 1.5; }
.notification-history { margin: 16px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.notification-history li { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 0.72rem; }
.notification-history time { flex: 0 0 auto; color: var(--muted); font-family: var(--mono); font-size: 0.62rem; }
.upgrade-button { min-height: 46px; padding: 0 12px; border: 1px solid #6e991f; border-radius: 3px; background: var(--signal); color: var(--ink); font-size: 0.76rem; font-weight: 800; }
.status-panel { display: grid; align-content: start; gap: 12px; }
.status-panel-copy { margin: -4px 0 4px; color: var(--muted); font-size: 0.72rem; line-height: 1.5; }
.status-readout { display: grid; gap: 5px; min-height: 68px; padding: 12px; background: var(--paper); }
.status-readout span { color: var(--muted); font-size: 0.72rem; line-height: 1.45; }
.message-history { max-width: 1240px; margin: 10px auto 0; }
.message-history summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; cursor: pointer; list-style: none; }
.message-history summary::-webkit-details-marker { display: none; }
.message-history summary > span:first-child { display: grid; gap: 5px; }
.message-history summary small { color: var(--muted); font-size: 0.61rem; font-weight: 800; text-transform: uppercase; }
.message-history summary strong { font-size: 0.88rem; }
.message-history[open] summary { padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.table-wrap { width: 100%; overflow-x: auto; margin-top: 18px; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 12px 10px; border-bottom: 1px solid var(--line); font-size: 0.74rem; text-align: left; vertical-align: top; }
th { color: var(--muted); font-size: 0.63rem; text-transform: uppercase; }
.message-history td strong, .message-history td small { display: block; }
.message-history td small { margin-top: 4px; color: var(--muted); font-family: var(--mono); font-size: 0.58rem; }

.site-footer { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 28px; padding: 34px clamp(18px, 5vw, 70px); border-top: 1px solid var(--line); background: var(--paper); }
.site-footer p, .site-footer > span { color: var(--muted); font-size: 0.72rem; }

/* Survey */
body.route-survey { overflow: hidden; background: #080908; }
body.route-survey [data-public-nav], body.route-brief [data-public-nav], body.route-admin .site-footer { display: none; }
.view-survey.is-active { display: grid; min-height: 100svh; place-items: center; padding: 0; background: #080908; }
.swipe-stage {
  --swipe-rgb: 43 159 103;
  --swipe-strength: 0;
  position: relative;
  width: min(100%, 430px);
  height: 100svh;
  max-height: 900px;
  overflow: hidden;
  isolation: isolate;
  background: #080908;
  box-shadow: 0 26px 80px rgba(0,0,0,0.34);
}
.swipe-stage::after { content: attr(data-swipe-label); position: absolute; top: 22%; left: 50%; z-index: 12; min-width: 108px; padding: 11px 18px; border: 2px solid rgb(var(--swipe-rgb)); border-radius: 3px; background: rgba(5,6,5,0.56); color: var(--white); font-family: var(--mono); font-size: 1.35rem; font-weight: 500; text-align: center; opacity: clamp(0, calc((var(--swipe-strength) - 0.06) * 2.6), 1); transform: translateX(-50%) scale(calc(0.94 + var(--swipe-strength) * 0.08)); pointer-events: none; transition: opacity 90ms linear; }
.code-gate, .payment-gate { position: absolute; inset: 0; z-index: 30; display: grid; place-items: center; padding: 22px; background: #f1f1eb; }
.gate-card { display: grid; gap: 17px; width: min(100%, 360px); }
.gate-card h2 { margin: 0; font-family: var(--serif); font-size: clamp(2.4rem, 9vw, 3.7rem); font-weight: 400; line-height: 0.95; }
.gate-card > p:not(.eyebrow) { margin: 0; color: var(--muted); font-size: 0.84rem; line-height: 1.55; }
.gate-note { padding-top: 14px; border-top: 1px solid var(--line); font-size: 0.68rem !important; }
.code-input-label input { height: 62px; border-color: var(--ink); font-family: var(--mono); font-size: 1.45rem; text-align: center; text-transform: uppercase; }
.payment-options { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0; padding: 0; border: 0; }
.payment-options legend { grid-column: 1/-1; margin-bottom: 7px; color: var(--ink-soft); font-size: 0.72rem; font-weight: 800; }
.payment-options label { display: grid; grid-template-columns: 17px 1fr; align-items: center; min-height: 42px; padding: 0 10px; border: 1px solid var(--line); background: var(--white); font-size: 0.73rem; }
.payment-options input { width: 16px; min-height: 16px; padding: 0; accent-color: var(--ink); }
.deck-header { position: absolute; top: 0; right: 0; left: 0; z-index: 9; display: flex; justify-content: space-between; align-items: start; gap: 12px; padding: 16px 14px 82px; color: var(--white); background: linear-gradient(rgba(5,6,5,0.8), transparent); pointer-events: none; transition: opacity 180ms ease; }
.deck-header .eyebrow { color: rgba(255,255,255,0.64); font-size: 0.58rem; }
.deck-header h2 { margin: 3px 0 0; font-size: 0.86rem; }
.progress-meter { display: grid; grid-template-columns: 68px 34px; align-items: center; gap: 8px; min-height: 30px; padding: 0 9px; border: 1px solid rgba(255,255,255,0.24); border-radius: 2px; background: rgba(5,6,5,0.5); }
.progress-track { position: relative; display: block; height: 5px; overflow: hidden; background: rgba(255,255,255,0.24); }
.progress-fill { position: absolute; inset: 0 auto 0 0; width: 0; background: var(--white); transition: width 180ms ease; }
.progress-value { justify-self: end; font-family: var(--mono); font-size: 0.69rem; }
.deck { position: absolute; inset: 0; }
.ring-card { --swipe-rgb: 43 159 103; --swipe-strength: 0; position: absolute; inset: 0; overflow: hidden; background: #080908; touch-action: none; user-select: none; transform-origin: 50% 96%; transition: transform 180ms ease, opacity 180ms ease; will-change: transform; }
.ring-card::after { content: ""; position: absolute; inset: 0; z-index: 5; border: 2px solid rgb(var(--swipe-rgb)); background: rgb(var(--swipe-rgb) / 0.08); opacity: calc(var(--swipe-strength) * 0.62); pointer-events: none; transition: opacity 90ms linear; }
.ring-card.is-dragging { transition: none; }
.ring-card.next-card { transform: translateY(10px) scale(0.97); opacity: 0.55; }
.card-visual { position: absolute; inset: 0; display: grid; place-items: center; overflow: hidden; background: #080908; }
.card-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: var(--photo-fit, cover); object-position: var(--photo-position, center); filter: saturate(1.04) contrast(1.02); pointer-events: none; -webkit-user-drag: none; }
.ring-render { display: none; }
.card-content { position: absolute; right: 0; bottom: 0; left: 0; z-index: 7; padding: 110px 16px 28px; color: var(--white); background: linear-gradient(transparent, rgba(0,0,0,0.88)); transition: opacity 180ms ease; pointer-events: none; }
.card-content h3 { margin: 0; font-size: 1.08rem; }
.card-content p { margin: 6px 0 0; color: rgba(255,255,255,0.78); font-size: 0.72rem; line-height: 1.4; }
.variant-note { width: fit-content; margin-bottom: 8px; padding: 5px 7px; border-radius: 2px; background: rgba(255,255,255,0.14); font-size: 0.62rem; font-weight: 800; }
.swipe-stage.is-text-hidden .card-content, .swipe-stage.is-text-hidden .deck-header { opacity: 0; }
.empty-deck { position: absolute; inset: 0; display: grid; place-items: center; padding: 32px; background: #f1f1eb; color: var(--ink); text-align: center; }
.empty-deck h3 { margin: 0; font-family: var(--serif); font-size: 3rem; font-weight: 400; line-height: 0.94; }
.empty-deck p { margin: 14px auto 0; max-width: 280px; color: var(--muted); font-size: 0.86rem; line-height: 1.55; }
.survey-reset { position: absolute; right: 10px; bottom: 10px; z-index: 10; border: 0; background: rgba(0,0,0,0.38); color: rgba(255,255,255,0.58); font-size: 0.62rem; }
.survey-diagnostics { display: none; }

/* Brief and admin */
body.route-brief, body.route-admin { background: var(--paper); }
.view-brief, .view-admin { min-height: 100vh; padding: clamp(24px, 5vw, 70px); }
.brief-layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr); gap: 18px; max-width: 1180px; margin: 0 auto; }
.brief-main, .brief-side { padding: clamp(20px, 3vw, 34px); border: 1px solid var(--line); border-radius: 4px; background: var(--white); }
.brief-side { align-self: start; }
.brief-side p, .muted-copy { color: var(--muted); line-height: 1.55; }
.brief-card { display: grid; gap: 12px; margin-top: 24px; }
.brief-section { padding: 16px; border: 1px solid var(--line); border-radius: 3px; }
.brief-section h3 { margin: 0 0 12px; font-size: 0.92rem; }
.brief-section p, .brief-section li { color: var(--muted); font-size: 0.8rem; line-height: 1.55; }
.brief-section ul { margin: 0; padding-left: 18px; }
.summary-line { display: grid; grid-template-columns: 170px 1fr; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.summary-line:last-child { border-bottom: 0; }
.summary-line span { color: var(--muted); font-family: var(--mono); font-size: 0.66rem; text-transform: uppercase; }
.summary-line strong { font-size: 0.82rem; overflow-wrap: anywhere; }
.prompt-block { margin: 0; padding: 14px; overflow-x: auto; background: var(--paper); font-family: var(--sans); font-size: 0.78rem; font-weight: 600; line-height: 1.58; white-space: pre-wrap; }
.concept-visual { position: relative; min-height: 320px; overflow: hidden; background: var(--paper); }
.concept-visual img { width: 100%; height: 320px; object-fit: cover; }
.concept-visual span { position: absolute; top: 12px; left: 12px; padding: 6px 8px; border-radius: 2px; background: rgba(23,23,20,0.82); color: var(--white); font-size: 0.64rem; font-weight: 800; text-transform: uppercase; }
.concept-note { margin: 10px 0 0; }
.concept-placeholder { min-height: 320px; display: grid; align-content: center; justify-items: center; gap: 10px; padding: 28px; border: 1px solid var(--line); background: var(--paper); text-align: center; }
.concept-placeholder strong { font-size: 0.84rem; }
.concept-placeholder p { max-width: 36ch; margin: 0; }
.concept-spinner { width: 24px; height: 24px; border: 2px solid var(--line); border-top-color: var(--ink); border-radius: 50%; animation: concept-spin 0.8s linear infinite; }
@keyframes concept-spin { to { transform: rotate(360deg); } }
.brief-actions { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-top: 14px; }
.admin-shell { max-width: 1380px; margin: 0 auto; }
.admin-heading { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 28px; }
.admin-heading .ghost-button { width: auto; }
.admin-gate { display: grid; grid-template-columns: minmax(240px, 400px) auto; gap: 10px; align-items: end; max-width: 620px; padding: 22px; border: 1px solid var(--line); background: var(--white); }
.admin-content { margin-top: 18px; }
.admin-content .dashboard-metrics { max-width: none; }
.admin-panel-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin: 4px 0 22px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.admin-panel-heading h3 { margin: 6px 0 0; font-family: var(--serif); font-size: clamp(2rem, 3.4vw, 3.6rem); font-weight: 400; line-height: 0.95; }
.admin-panel-heading > p { max-width: 52ch; margin: 0; color: var(--muted); font-size: 0.78rem; line-height: 1.5; }
.admin-attention { display: grid; gap: 8px; margin-top: 18px; }
.admin-attention p { margin: 0; padding: 15px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.78rem; }
.admin-attention article { display: grid; grid-template-columns: 120px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line); }
.admin-attention article span, .admin-attention article time { color: var(--muted); font-size: 0.7rem; }
.admin-attention article strong { font-size: 0.8rem; }
.admin-filters { display: grid; grid-template-columns: 1fr 220px; gap: 10px; margin-top: 18px; }
.admin-table { min-width: 1020px; background: var(--white); }
.admin-table td strong, .admin-table td span { display: block; }
.admin-table td span { margin-top: 3px; color: var(--muted); font-size: 0.66rem; }

.toast { position: fixed; left: 50%; bottom: 18px; z-index: 100; min-width: min(92vw, 320px); max-width: min(92vw, 520px); padding: 12px 14px; border-radius: 3px; background: var(--ink); color: var(--white); box-shadow: var(--shadow); font-size: 0.78rem; text-align: center; opacity: 0; pointer-events: none; transform: translate(-50%, 14px); transition: opacity 180ms ease, transform 180ms ease; }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 980px) {
  .topbar { grid-template-columns: auto 1fr auto; gap: 16px; }
  .public-nav { justify-content: center; gap: 22px; }
  .marketing-nav-link { display: none; }
  .admin-nav { justify-content: center; gap: 20px; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; }
  .database-proof { grid-template-columns: 1fr 1.4fr; }
  .database-proof dl { grid-column: 1 / -1; }
  .process-grid, .pricing-grid { grid-template-columns: 1fr; }
  .price-card { min-height: auto; }
  .price-card.featured { transform: none; }
  .plan-head { min-height: auto; }
  .plan-specs div { min-height: auto; }
  .demo-band, .checkout-band, .dashboard-grid, .brief-layout { grid-template-columns: 1fr; }
  .demo-phone { width: min(100%, 420px); justify-self: center; }
  .checkout-copy { max-width: 720px; }
  .dashboard-state-card { grid-template-columns: 1fr; }
  .dashboard-next-event { min-height: 112px; border-top: 1px solid var(--line); border-left: 0; }
  .dashboard-journey { grid-template-columns: 1fr 1fr; }
  .dashboard-journey li:nth-child(odd) { border-left: 0; }
  .dashboard-journey li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .dashboard-metrics { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  .topbar { min-height: 60px; padding: 0 14px; }
  .brand { gap: 7px; }
  .brand-mark { width: 32px; height: 32px; }
  .brand strong { font-size: 0.8rem; }
  .nav-cta { min-height: 36px; padding: 9px 11px; }
  .nav-cta { font-size: 0; }
  .nav-cta::after { content: "Start"; font-size: 0.72rem; }
  .public-nav { gap: 15px; }
  .public-nav a, .admin-nav a { padding: 21px 0 18px; font-size: 0.7rem; }
  body.route-admin .topbar { grid-template-columns: 1fr auto; gap: 10px; }
  body.route-admin .brand { display: none; }
  body.route-admin .admin-nav { justify-content: start; }
  .admin-exit { font-size: 0.66rem; }
  .landing-hero { min-height: calc(100svh - 88px); }
  .hero-content { padding: 66px 18px 150px; align-content: end; }
  .hero-content h1 { font-size: clamp(4.15rem, 20vw, 6.1rem); }
  .hero-lede { font-size: 0.94rem; }
  .hero-proof { grid-template-columns: 1fr; gap: 8px; bottom: 18px; }
  .hero-proof span { padding: 0; }
  .hero-proof span:not(:first-child) { display: none; }
  .quiet-band, .pricing-band, .dashboard-band { padding: 68px 14px; }
  .section-heading h2, .demo-copy h2, .checkout-copy h2, .dashboard-heading h2, .brief-main > h2, .admin-heading h2 { font-size: 2.85rem; }
  .process-grid { margin-top: 38px; }
  .database-proof { grid-template-columns: 1fr; margin-top: 44px; padding: 28px 0; }
  .database-proof dl { grid-column: auto; grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 18px; }
  .demo-band, .checkout-band { padding: 64px 14px; }
  .demo-phone { min-height: 560px; }
  .field-grid, .dashboard-metrics, .admin-filters, .admin-gate { grid-template-columns: 1fr; }
  .pricing-common, .invitation-confidence > div { grid-template-columns: 1fr; }
  .pricing-common span + span { border-top: 1px solid #bcbdb5; border-left: 0; }
  .dashboard-heading { display: grid; }
  .dashboard-preview-note { display: grid; gap: 5px; margin-top: -10px; }
  .dashboard-preview-note p { text-align: left; }
  .dashboard-code { width: 100%; }
  .dashboard-metrics article { min-height: 92px; }
  .dashboard-state-copy, .dashboard-next-event { padding: 19px; }
  .dashboard-journey { grid-template-columns: 1fr; }
  .dashboard-journey li + li { border-top: 1px solid var(--line); border-left: 0; }
  .dashboard-metrics article { min-height: 64px; }
  .site-footer { grid-template-columns: 1fr; gap: 14px; }
  .swipe-stage { width: 100%; max-height: none; box-shadow: none; }
  .view-brief, .view-admin { padding: 14px; }
  .brief-main, .brief-side { padding: 16px; }
  .brief-actions, .summary-line { grid-template-columns: 1fr; }
  .admin-heading { align-items: start; flex-direction: column; }
  .admin-panel-heading { align-items: start; flex-direction: column; }
  .admin-attention article { grid-template-columns: 1fr; gap: 5px; }
}

@media (max-width: 360px) {
  .brand strong { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .hero-media { display: none; }
  .landing-hero { background: url("assets/ring-studio.png") center / cover; }
}
