:root {
  --bg: #0b0d0c;
  --bg-elev: #121513;
  --card: rgba(19, 23, 20, 0.9);
  --fg: #f5f7f2;
  --muted: #a7aea7;
  --faint: #737b74;
  --accent: #a3e635;
  --accent-strong: #84cc16;
  --accent-2: #4ade80;
  --danger: #fb7185;
  --danger-bg: #3f1219;
  --ok-bg: #052e1a;
  --warn-bg: #3f2f12;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --input: #0e110f;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  --radius: 16px;
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
}
* { box-sizing: border-box; }
html { color-scheme: dark; }
html, body { margin: 0; min-height: 100%; }
body {
  font-family: var(--font);
  background:
    radial-gradient(1000px 520px at 78% -8%, rgba(132, 204, 22, 0.12), transparent 58%),
    radial-gradient(720px 420px at 8% 0%, rgba(74, 222, 128, 0.06), transparent 52%),
    var(--bg);
  color: var(--fg);
  line-height: 1.55;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  letter-spacing: -0.011em;
  padding-top: 60px;
}
a { color: var(--accent); }
button, input, textarea, select { font: inherit; color: inherit; }
::selection { background: rgba(163, 230, 53, 0.3); }
.skip {
  position: absolute; left: 12px; top: -40px; z-index: 50;
  background: var(--fg); color: var(--bg); padding: 8px 12px; border-radius: 8px;
}
.skip:focus { top: 12px; }
.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;
}
.wrap { width: 100%; max-width: 980px; margin: 0 auto; padding: 0 24px; }
.wide { max-width: 1120px; }
#app { flex: 1; }

.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 30;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px 24px;
  background: rgba(9, 9, 11, 0.82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--fg); text-decoration: none; font-weight: 700; letter-spacing: -0.03em;
}
.brand-mark {
  width: 28px; height: 28px; border-radius: 8px;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(160deg, #d9f99d, #84cc16);
  color: #142107; font-size: 13px; font-weight: 800;
}
.nav-links { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.nav-links > a:not(.btn) {
  color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 500;
  padding: 8px 12px; border-radius: 999px;
}
.nav-links > a:not(.btn):hover, .nav-links > a.active { color: var(--fg); background: rgba(255,255,255,0.05); }
.nav-cta { margin-left: 6px; }
body[data-view="setup"] .nav-cta,
body[data-view="desk"] .nav-cta,
body[data-view="account"] .nav-cta { display: none; }

header.hero { padding: 88px 24px 46px; text-align: center; max-width: 1040px; }
.kicker {
  display: inline-flex; margin: 0 0 18px; padding: 6px 12px;
  border: 1px solid var(--border-strong); border-radius: 999px;
  color: #d9f99d; background: rgba(132, 204, 22, 0.07);
  font-size: 12px; font-weight: 650; letter-spacing: 0.06em; text-transform: uppercase;
}
h1 { font-size: clamp(42px, 6.2vw, 72px); line-height: 0.98; margin: 0 0 24px; letter-spacing: -0.055em; font-weight: 680; }
header.hero h1 span { color: #c9f680; }
h2 { font-size: 28px; margin: 0 0 10px; letter-spacing: -0.03em; }
h3 { margin: 6px 0 8px; font-size: 17px; letter-spacing: -0.02em; }
.sub { color: #b9c0b9; font-size: 19px; line-height: 1.6; margin: 0 auto 30px; max-width: 720px; }
.hero-actions { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.hero-assurances {
  display: flex; justify-content: center; gap: 24px; flex-wrap: wrap;
  margin-top: 20px; color: var(--muted); font-size: 12.5px;
}
.hero-assurances b { color: var(--accent); margin-right: 5px; }

.cta, .btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--accent-strong); color: #152006; text-decoration: none; border: 0;
  padding: 11px 18px; border-radius: 12px; font-weight: 600; font-size: 14px; cursor: pointer;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.14) inset, 0 10px 28px rgba(101, 163, 13, 0.22);
  transition: transform 120ms ease, filter 120ms ease, background 120ms ease, color 120ms ease;
}
.cta:hover, .btn:hover { filter: brightness(1.08); transform: translateY(-1px); }
.cta:active, .btn:active { transform: translateY(0); }
.btn:disabled { opacity: 0.45; cursor: not-allowed; filter: none; transform: none; box-shadow: none; }
.btn.secondary {
  background: transparent; color: var(--fg);
  border: 1px solid var(--border-strong); box-shadow: none;
}
.hero .cta, .final-cta .cta, .section-action .cta { padding: 13px 20px; }
.hero-secondary { padding: 12px 14px !important; }
.btn.ghost { background: transparent; color: var(--muted); padding: 8px 10px; box-shadow: none; }
.btn.ghost:hover { color: var(--fg); background: rgba(255,255,255,0.05); }
.btn.danger { background: #9f1239; box-shadow: none; }
.btn:focus-visible, .cta:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, button:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 2px;
}

.ml { margin-left: 10px; }
.mt-12 { margin-top: 12px; }
.mt-16 { margin-top: 16px; }
.mt-20 { margin-top: 20px; }
.magic-card {
  max-width: 980px; margin: 0 auto 72px; padding: 24px 26px;
  display: grid; grid-template-columns: 1fr minmax(360px, 0.9fr); gap: 36px; align-items: center;
}
.magic-row { display: flex; gap: 8px; align-items: stretch; }
.magic-row input { flex: 1; }
.recipe { white-space: pre-wrap; font-size: 12px; font-family: var(--mono); }
.actions.center { justify-content: center; }

.preview-wrap { margin-bottom: 62px; max-width: 1080px; }
.product-preview {
  overflow: hidden; border-radius: 22px; border: 1px solid rgba(255,255,255,0.11);
  background: #111412; box-shadow: 0 28px 80px rgba(0,0,0,0.48), 0 0 0 1px rgba(163,230,53,0.04);
}
.preview-topbar {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px;
  min-height: 46px; padding: 0 16px; border-bottom: 1px solid var(--border);
  color: var(--faint); font-size: 11px;
}
.preview-topbar > :last-child { justify-self: end; }
.preview-dots { display: flex; gap: 5px; }
.preview-dots i { width: 7px; height: 7px; border-radius: 50%; background: #3f453f; }
.preview-controls { display: flex; align-items: center; gap: 7px; }
.live-pill {
  display: inline-flex; align-items: center; gap: 6px; color: #bbf7d0; padding: 4px 8px;
  border: 1px solid rgba(74,222,128,0.22); background: rgba(22,101,52,0.13); border-radius: 99px;
}
.live-pill i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent-2); box-shadow: 0 0 8px var(--accent-2); }
#btn-toggle-demo {
  padding: 4px 7px; color: var(--faint); border: 0; border-radius: 6px;
  background: transparent; font-size: 10px; cursor: pointer;
}
#btn-toggle-demo:hover { color: var(--fg); background: rgba(255,255,255,0.05); }
.preview-body {
  display: grid; grid-template-columns: 0.92fr 118px 1.18fr; gap: 20px; align-items: center;
  min-height: 310px; padding: 38px;
  background: radial-gradient(480px 220px at 50% 48%, rgba(132,204,22,0.07), transparent 72%);
}
.source-card, .notion-window {
  min-width: 0; padding: 20px; border: 1px solid var(--border); border-radius: 15px;
  background: rgba(18,21,19,0.94); box-shadow: 0 14px 35px rgba(0,0,0,0.28);
}
.app-label { display: grid; grid-template-columns: 28px 1fr auto; align-items: center; gap: 9px; color: #d7dcd7; font-size: 12px; font-weight: 650; }
.app-label small { color: var(--faint); font-weight: 500; }
.fathom-mark, .notion-mark {
  grid-row: 1 / 2; display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 8px; font-size: 12px; font-weight: 800;
}
.fathom-mark { color: #fff; background: #5746ef; }
.notion-mark { color: #101211; background: #f5f7f2; }
.source-card h3 { margin: 24px 0 17px; font-size: 16px; }
.source-lines { display: grid; gap: 8px; margin-bottom: 20px; }
.source-lines span { display: block; height: 7px; border-radius: 99px; background: #252b26; }
.source-lines span:nth-child(2) { width: 88%; }
.source-lines span:nth-child(3) { width: 62%; }
.source-meta { display: flex; gap: 7px; flex-wrap: wrap; color: #b6bdb6; font-size: 10px; }
.source-meta span { padding: 5px 8px; background: #1c211d; border: 1px solid var(--border); border-radius: 99px; }
.flow-connector { display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--faint); font-size: 9px; text-transform: uppercase; letter-spacing: 0.06em; white-space: nowrap; }
.flow-connector i {
  position: relative;
  display: flex; align-items: center; justify-content: center; width: 42px; height: 42px;
  border-radius: 50%; border: 1px solid rgba(163,230,53,0.28); background: rgba(132,204,22,0.12);
  color: var(--accent); font-size: 18px; font-style: normal;
}
.flow-connector i b {
  position: absolute; width: 4px; height: 4px; border-radius: 50%; background: var(--accent);
  opacity: 0; transform: translateX(-16px);
}
.flow-connector i em { position: relative; z-index: 1; font-style: normal; }
.notion-table { margin: 22px 0 16px; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; font-size: 10px; }
.table-head, .table-row { display: grid; grid-template-columns: 1.55fr 0.55fr 0.72fr; align-items: center; }
.table-head { color: var(--faint); background: #0f1210; }
.table-head span, .table-row > span { min-width: 0; padding: 9px; border-right: 1px solid var(--border); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.table-head span:last-child, .table-row > span:last-child { border-right: 0; }
.table-row { border-top: 1px solid var(--border); color: #dfe3df; }
.page-icon { margin-right: 5px; color: var(--muted); font-style: normal; }
.done-pill { color: #bbf7d0; background: rgba(22,101,52,0.22); padding: 3px 6px; border-radius: 5px; font-weight: 600; }
.delivery-confirm { margin: 0; color: var(--muted); font-size: 10px; }
.delivery-confirm span { color: var(--accent-2); margin-right: 5px; }
.preview-caption { margin: 15px 0 0; text-align: center; color: var(--faint); font-size: 12px; }
.preview-caption span { color: var(--accent); }
.product-preview.is-delivering .source-card { animation: sourceReady 4.8s ease both; }
.product-preview.is-delivering .flow-connector i { animation: connectorGlow 4.8s ease both; }
.product-preview.is-delivering .flow-connector i b { animation: fieldTransfer 1.15s ease-in-out both; }
.product-preview.is-delivering .flow-connector i b:nth-child(1) { animation-delay: 1.05s; }
.product-preview.is-delivering .flow-connector i b:nth-child(2) { animation-delay: 1.32s; }
.product-preview.is-delivering .flow-connector i b:nth-child(3) { animation-delay: 1.59s; }
.product-preview.is-delivering .notion-window { animation: notionReceive 4.8s ease both; }
.product-preview.is-delivering .table-row { animation: rowArrives 4.8s cubic-bezier(.2,.75,.25,1) both; }
.product-preview.is-delivering .delivery-confirm { animation: confirmDelivery 4.8s ease both; }
.product-preview.is-paused * { animation-play-state: paused !important; }
@keyframes sourceReady {
  0%, 10% { border-color: var(--border); transform: scale(1); }
  18%, 28% { border-color: rgba(99, 78, 239, 0.72); transform: scale(1.012); }
  38%, 100% { border-color: var(--border); transform: scale(1); }
}
@keyframes connectorGlow {
  0%, 24% { box-shadow: 0 0 0 rgba(132,204,22,0); }
  34%, 56% { box-shadow: 0 0 26px rgba(132,204,22,0.34); border-color: rgba(163,230,53,0.68); }
  70%, 100% { box-shadow: 0 0 0 rgba(132,204,22,0); }
}
@keyframes fieldTransfer {
  0% { opacity: 0; transform: translateX(-17px); }
  30%, 65% { opacity: 1; }
  100% { opacity: 0; transform: translateX(17px); }
}
@keyframes notionReceive {
  0%, 45% { border-color: var(--border); }
  58%, 76% { border-color: rgba(163,230,53,0.52); box-shadow: 0 14px 35px rgba(0,0,0,0.28), 0 0 24px rgba(132,204,22,0.1); }
  100% { border-color: var(--border); box-shadow: 0 14px 35px rgba(0,0,0,0.28); }
}
@keyframes rowArrives {
  0%, 47% { opacity: 0; transform: translateY(-9px); background: rgba(132,204,22,0); }
  60% { opacity: 1; transform: translateY(0); background: rgba(132,204,22,0.11); }
  80%, 100% { opacity: 1; transform: translateY(0); background: rgba(132,204,22,0); }
}
@keyframes confirmDelivery {
  0%, 68% { opacity: 0; transform: translateY(5px); }
  80%, 100% { opacity: 1; transform: translateY(0); }
}

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 44px 0 30px; }
.step, .card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px;
  box-shadow: 0 1px 0 rgba(255,255,255,0.04) inset;
}
.step:hover, .price-card:hover, .template:hover, .outcome-card:hover {
  border-color: var(--border-strong);
}
.step .n, .eyebrow {
  color: var(--accent); font-weight: 700; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
  margin: 0 0 10px;
}
.step h3 { margin: 6px 0 9px; font-size: 18px; }
.step p, .muted { margin: 0; color: var(--muted); font-size: 14px; }
.step-copy > span { color: var(--faint); font-size: 11px; text-transform: uppercase; letter-spacing: 0.07em; }

.compare-band {
  text-align: center; padding: 28px 8px; margin: 8px 0 12px;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.privacy, .compare { text-align: center; color: var(--muted); font-size: 14px; margin: 8px 0; }
.price-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 38px auto 0; max-width: 900px; }
.amount { font-size: 44px; font-weight: 720; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.tag { font-size: 16px; color: var(--muted); font-weight: 500; letter-spacing: 0; }
.price-card .amount { margin: 4px 0 12px; }
.price-card .btn { margin-top: 18px; width: 100%; }
.price-card.featured {
  border-color: rgba(163, 230, 53, 0.38);
  background: linear-gradient(180deg, rgba(101, 163, 13, 0.11), rgba(18, 21, 19, 0.94));
}
.price-heading { display: flex; justify-content: space-between; gap: 12px; align-items: start; }
.price-heading h3 { margin: 0; font-size: 18px; }
.popular, .limited { padding: 4px 8px; border-radius: 99px; font-size: 10px; font-weight: 700; white-space: nowrap; }
.popular { color: #d9f99d; border: 1px solid rgba(163,230,53,0.27); background: rgba(101,163,13,0.1); }
.limited { color: var(--muted); border: 1px solid var(--border); }
.price-points { margin: 18px 0 0; padding: 0; color: var(--muted); font-size: 14px; list-style: none; }
.price-points li { position: relative; margin: 9px 0; padding-left: 22px; }
.price-points li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }

.proof-strip { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: rgba(255,255,255,0.015); }
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); max-width: 1080px; padding-top: 22px; padding-bottom: 22px; }
.proof-grid > div { padding: 0 24px; border-right: 1px solid var(--border); }
.proof-grid > div:first-child { padding-left: 0; }
.proof-grid > div:last-child { padding-right: 0; border-right: 0; }
.proof-grid strong, .proof-grid span { display: block; }
.proof-grid strong { margin-bottom: 3px; color: #e8ece7; font-size: 13px; }
.proof-grid span { color: var(--faint); font-size: 11px; }
.home-section { padding-top: 108px; padding-bottom: 108px; }
.section-intro { max-width: 650px; }
.section-intro.centered { margin: 0 auto; text-align: center; }
.section-intro h2, .trust-copy h2 {
  font-size: clamp(30px, 4vw, 46px); line-height: 1.08; letter-spacing: -0.045em; font-weight: 650;
}
.section-intro > p:last-child, .trust-copy > p {
  margin: 14px 0 0; color: var(--muted); font-size: 16px; line-height: 1.65;
}
.outcome-section { max-width: 1080px; }
.role-showcase { margin-top: 42px; }
.role-tabs {
  display: inline-flex; gap: 5px; padding: 5px; border: 1px solid var(--border);
  border-radius: 13px; background: rgba(255,255,255,0.018);
}
.role-tabs button {
  display: inline-flex; align-items: center; gap: 7px; padding: 9px 13px;
  color: var(--muted); border: 1px solid transparent; border-radius: 9px;
  background: transparent; font-size: 12px; font-weight: 650; cursor: pointer;
}
.role-tabs button:hover { color: var(--fg); }
.role-tabs button[aria-selected="true"] {
  color: #e7fbc3; border-color: rgba(163,230,53,0.2); background: rgba(101,163,13,0.12);
  box-shadow: 0 1px 0 rgba(255,255,255,0.04) inset;
}
.role-tabs button span { color: var(--accent); }
.role-panel {
  display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 42px; align-items: center;
  min-height: 214px; margin-top: 12px; padding: 28px;
  border: 1px solid var(--border); border-radius: 17px;
  background:
    radial-gradient(380px 160px at 8% 0%, rgba(132,204,22,0.07), transparent 75%),
    rgba(255,255,255,0.018);
}
.role-panel.is-changing { animation: roleChange 240ms ease; }
@keyframes roleChange {
  0% { opacity: 0.55; transform: translateY(3px); }
  100% { opacity: 1; transform: translateY(0); }
}
.role-story h3 { max-width: 580px; margin: 4px 0 10px; font-size: 25px; line-height: 1.18; }
.role-story > p:last-child { max-width: 620px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.65; }
.role-details { display: grid; gap: 0; margin: 0; border-top: 1px solid var(--border); }
.role-details > div {
  display: grid; grid-template-columns: 90px 1fr; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--border);
}
.role-details dt { color: var(--faint); font-size: 11px; }
.role-details dd { margin: 0; color: #dfe5dd; font-size: 12px; font-weight: 650; text-align: right; }
.outcome-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 42px; }
.outcome-card {
  padding: 25px; border: 1px solid var(--border); border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255,255,255,0.034), rgba(255,255,255,0.012));
  transition: border-color 150ms ease, transform 150ms ease;
}
.outcome-card:hover { transform: translateY(-2px); }
.outcome-icon {
  display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px;
  margin-bottom: 24px; color: var(--accent); background: rgba(132,204,22,0.1);
  border: 1px solid rgba(163,230,53,0.2); border-radius: 11px; font-size: 17px;
}
.outcome-card h3 { font-size: 19px; }
.outcome-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.65; }
.how-section, .pricing-section {
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.015); scroll-margin-top: 56px;
}
.how-section .wrap, .pricing-section .wrap { max-width: 1080px; }
.how-section .step { padding: 26px; background: rgba(11,13,12,0.62); }
.section-action { text-align: center; }
.section-action p { margin: 11px 0 0; color: var(--faint); font-size: 11px; }
.trust-section {
  display: grid; grid-template-columns: 0.84fr 1.16fr; gap: 90px; align-items: center; max-width: 1080px;
}
.trust-copy > a { display: inline-block; margin-top: 24px; color: #d9f99d; font-size: 13px; font-weight: 650; text-decoration: none; }
.trust-copy > a:hover { text-decoration: underline; }
.trust-list { border-top: 1px solid var(--border); }
.trust-list > div {
  display: grid; grid-template-columns: 40px 1fr; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--border);
}
.trust-list > div > span { color: var(--accent); font-family: var(--mono); font-size: 11px; }
.trust-list p, .trust-list strong { display: block; margin: 0; }
.trust-list p { color: var(--muted); font-size: 13px; line-height: 1.6; }
.trust-list strong { margin-bottom: 5px; color: var(--fg); font-size: 15px; }
.pricing-section { border-bottom: 0; }
.price-card { padding: 28px; }
.price-card .muted { min-height: 43px; }
.faq-preview { max-width: 1080px; }
.faq-preview .section-intro { max-width: 560px; }
.faq-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 38px; }
.faq-grid details {
  padding: 19px 20px; border: 1px solid var(--border); border-radius: 13px;
  background: rgba(255,255,255,0.018);
}
.faq-grid summary { color: #e2e7e1; font-size: 14px; font-weight: 650; cursor: pointer; }
.faq-grid summary::marker { color: var(--accent); }
.faq-grid p { margin: 13px 0 0; color: var(--muted); font-size: 13px; line-height: 1.65; }
.final-cta {
  display: flex; justify-content: space-between; align-items: center; gap: 42px;
  max-width: 1080px; margin-bottom: 22px; padding: 44px;
  border: 1px solid rgba(163,230,53,0.22); border-radius: 22px;
  background:
    radial-gradient(440px 180px at 85% 30%, rgba(132,204,22,0.12), transparent 72%),
    linear-gradient(135deg, #151a15, #101311);
}
.final-cta h2 { margin: 0; font-size: clamp(28px, 4vw, 42px); }
.final-cta p:not(.eyebrow) { max-width: 560px; margin: 10px 0 0; color: var(--muted); }
.final-cta-actions { display: flex; flex-direction: column; gap: 9px; align-items: center; flex: none; }
.final-cta-actions > span { color: var(--faint); font-size: 10px; }

footer {
  text-align: center; color: var(--faint); font-size: 13px; padding: 28px 24px 48px;
}
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--fg); }
code, .mono {
  font-family: var(--mono);
  background: var(--input); border: 1px solid var(--border); padding: 2px 6px; border-radius: 6px;
  font-size: 12.5px;
}
.hidden { display: none !important; }
.page-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 16px;
  padding: 28px 0 18px;
}
.page-head h2 { margin: 0; }
.setup-head { align-items: center; }
.setup-head .muted { margin-top: 4px; }
.setup-safety {
  display: inline-flex; align-items: center; gap: 7px;
  max-width: 260px; color: #a7f3d0; background: rgba(5, 46, 26, 0.72);
  border: 1px solid #14532d; border-radius: 999px; padding: 7px 12px;
  font-size: 12px; line-height: 1.35;
}
.setup-safety::before { content: "✓"; font-weight: 800; }
.wizard {
  display: grid; grid-template-columns: 240px 1fr; gap: 28px; padding-bottom: 80px;
}
.wizard-pane {
  background: var(--card); border: 1px solid var(--border); border-radius: 20px; padding: 28px 28px 32px;
}
.rail { display: flex; flex-direction: column; gap: 8px; position: sticky; top: 84px; align-self: start; }
.rail button {
  display: flex; align-items: center; gap: 12px; text-align: left;
  background: transparent; color: var(--muted); border: 1px solid transparent;
  border-radius: 14px; padding: 12px; cursor: pointer;
}
.rail button.active { color: var(--fg); border-color: var(--border); background: var(--card); }
.rail button.done { color: var(--accent-2); }
.rail-index {
  width: 28px; height: 28px; border-radius: 999px; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--border-strong); font-size: 12px; font-weight: 700;
}
.rail button.active .rail-index { background: var(--accent-strong); border-color: transparent; color: #fff; }
.rail button.done .rail-index { background: var(--accent-2); border-color: transparent; color: #052e1a; }
.rail-copy { display: flex; flex-direction: column; gap: 2px; }
.rail-copy span { color: var(--faint); font-size: 12px; font-weight: 400; }
.step-lead { color: var(--muted); font-size: 15px; margin: 0 0 20px; max-width: 680px; }
.guide-card {
  padding: 18px; margin: 20px 0; border: 1px solid var(--border);
  border-radius: 16px; background: rgba(255, 255, 255, 0.025);
}
.plain-steps { display: grid; gap: 16px; padding: 0; margin: 0 0 18px; list-style: none; }
.plain-steps > li { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 12px; align-items: start; }
.plain-steps > li > span {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 999px;
  background: rgba(59, 130, 246, 0.16); color: #bfdbfe;
  border: 1px solid rgba(96, 165, 250, 0.32); font-size: 12px; font-weight: 800;
}
.plain-steps strong { display: block; font-size: 14px; margin: 2px 0 3px; color: var(--fg); }
.plain-steps p { margin: 0; color: var(--muted); font-size: 13px; }
.plain-steps em { color: var(--fg); font-style: normal; }
.field { margin: 16px 0; }
.field label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.field input, .field textarea, .field select, .map-table select {
  width: 100%; background: var(--input); color: var(--fg); border: 1px solid var(--border);
  border-radius: 12px; padding: 12px 14px;
}
.field input:hover, .field textarea:hover, .field select:hover { border-color: var(--border-strong); }
.field textarea { min-height: 108px; resize: vertical; }
.field-help { margin: 6px 2px 0; color: var(--faint); font-size: 12px; }
.optional, .required {
  display: inline-block; margin-left: 5px; padding: 1px 7px; border-radius: 999px;
  font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em;
}
.optional { color: var(--muted); border: 1px solid var(--border-strong); }
.required { color: #fecaca; border: 1px solid rgba(251, 113, 133, 0.38); }
.secret-row { display: flex; gap: 8px; }
.secret-row input { flex: 1; min-width: 0; }
.help-details, .mapping-details {
  margin-top: 20px; border-top: 1px solid var(--border); padding-top: 14px;
}
.help-details summary, .mapping-details summary {
  color: var(--muted); font-size: 13px; cursor: pointer; font-weight: 600;
}
.help-details p { color: var(--muted); font-size: 13px; margin: 10px 0 0; }
.mapping-details summary { color: var(--fg); padding: 4px 0; }
.mapping-details summary span { color: var(--faint); font-size: 11px; font-weight: 500; margin-left: 5px; }
.mapping-details > .muted { margin-top: 9px; }
.share-reminder {
  display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px;
  padding: 14px; border: 1px solid rgba(96, 165, 250, 0.25);
  background: rgba(30, 58, 95, 0.28); border-radius: 14px; margin-bottom: 20px;
}
.share-icon {
  display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px;
  border-radius: 9px; color: #bfdbfe; background: rgba(59, 130, 246, 0.15); font-weight: 800;
}
.share-reminder strong { display: block; font-size: 13px; margin-bottom: 3px; }
.share-reminder p { margin: 0; color: var(--muted); font-size: 12px; }
.share-reminder ol { margin: 6px 0 0; padding-left: 18px; color: var(--muted); font-size: 12px; }
.share-reminder li + li { margin-top: 5px; }
.share-reminder li strong { display: inline; color: var(--fg); }
.database-tools {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: end;
}
.database-tools .field { margin-bottom: 0; }
.database-tools .btn { margin-bottom: 0; white-space: nowrap; }
.database-choice, .demo-copy, .demo-success {
  display: flex; gap: 12px; align-items: flex-start;
}
.database-choice {
  padding: 14px; background: var(--ok-bg); border: 1px solid #14532d;
  border-radius: 14px; margin: 18px 0 4px;
}
.database-choice strong, .demo-success strong { display: block; font-size: 15px; }
.database-choice p, .demo-success p, .demo-copy p { margin: 3px 0 0; color: var(--muted); font-size: 13px; }
.success-check {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 36px; height: 36px; border-radius: 999px; background: var(--accent-2);
  color: #052e1a; font-size: 20px; font-weight: 900;
}
.success-check.small { width: 24px; height: 24px; font-size: 13px; }
.banner {
  border-radius: 12px; padding: 12px 14px; margin: 12px 0; font-size: 14px;
  border: 1px solid var(--border);
}
.banner.ok { background: var(--ok-bg); border-color: #14532d; color: #86efac; }
.banner.err { background: var(--danger-bg); border-color: #7f1d1d; color: #fecaca; }
.banner.info { background: #111827; color: var(--muted); }
.banner.warn { background: var(--warn-bg); border-color: #854d0e; color: #fde68a; }
.callout {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  border-radius: 16px; padding: 16px 18px; margin: 0 0 16px; border: 1px solid var(--border);
}
.callout .actions { margin: 0; }
.callout.err { background: var(--danger-bg); border-color: #7f1d1d; }
.callout.ok { background: var(--ok-bg); border-color: #14532d; }
.callout.info { background: rgba(17, 24, 39, 0.8); }
.actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.db-list { display: flex; flex-direction: column; gap: 8px; margin: 12px 0 20px; max-height: 280px; overflow: auto; }
.db-item {
  display: flex; justify-content: space-between; gap: 12px; width: 100%;
  background: var(--input); color: var(--fg); border: 1px solid var(--border);
  border-radius: 12px; padding: 12px 14px; cursor: pointer; text-align: left;
}
.db-item:hover { border-color: var(--border-strong); }
.db-item.selected { border-color: var(--accent); box-shadow: 0 0 0 1px rgba(96, 165, 250, 0.35); }
.db-state { color: var(--accent); font-size: 12px; font-weight: 650; }
.compact-empty { padding: 16px; }
.table-scroll { overflow-x: auto; margin-top: 10px; }
.map-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.map-table th { text-align: left; color: var(--muted); font-weight: 600; padding: 8px 6px; }
.map-table td { padding: 8px 6px; border-top: 1px solid var(--border); vertical-align: middle; }
.type-tag {
  font-size: 11px; color: var(--muted); border: 1px solid var(--border);
  border-radius: 999px; padding: 2px 8px; white-space: nowrap;
}
.templates { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 16px 0; }
.template { text-align: left; padding: 16px; }
.template p { color: var(--muted); font-size: 13px; margin: 0 0 10px; }
.url-row { display: flex; gap: 8px; }
.url-row input { flex: 1; }
.url-row.compact { margin-top: 10px; }
.demo-card {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 20px; border: 1px solid rgba(96, 165, 250, 0.4);
  border-radius: 16px; background: linear-gradient(135deg, rgba(30, 58, 95, 0.38), rgba(18, 18, 21, 0.78));
}
.demo-icon {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 42px; height: 42px; border-radius: 11px; background: #f4f4f5; color: #111827;
  font-size: 18px; font-weight: 900;
}
.demo-copy strong { display: block; margin-top: 1px; }
.demo-button { flex: none; }
.demo-success {
  padding: 22px; border: 1px solid #15803d; background: var(--ok-bg); border-radius: 16px;
}
.demo-success .actions { margin-top: 14px; }
.fathom-setup { margin-top: 28px; scroll-margin-top: 82px; }
.section-divider { display: flex; align-items: center; gap: 12px; margin: 32px 0 24px; color: var(--faint); font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; }
.section-divider::before, .section-divider::after { content: ""; height: 1px; background: var(--border); flex: 1; }
.fathom-steps {
  gap: 0; margin-top: 24px; border: 1px solid var(--border); border-radius: 16px;
  background: rgba(255, 255, 255, 0.018);
}
.fathom-steps > li { padding: 18px; border-bottom: 1px solid var(--border); }
.fathom-steps > li:last-child { border-bottom: 0; }
.compact-field { margin: 12px 0 0; }
.checklist { color: var(--muted); padding-left: 18px; }
.checklist li { margin: 10px 0; }
.desk { display: grid; grid-template-columns: 260px minmax(0, 1fr) 260px; gap: 16px; padding-bottom: 72px; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; margin-right: 8px; }
.status-dot.green { background: var(--accent-2); box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.15); }
.status-dot.red { background: var(--danger); }
.status-dot.gray { background: var(--faint); }
.delivery {
  display: grid; grid-template-columns: 16px 1fr auto; gap: 10px; align-items: start;
  padding: 14px 0; border-bottom: 1px solid var(--border); font-size: 14px;
}
.delivery:last-child { border-bottom: 0; }
.delivery .title { font-weight: 650; letter-spacing: -0.02em; }
.map-list { display: grid; gap: 10px; margin: 8px 0 4px; }
.map-list div { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; }
.map-list dt { color: var(--muted); }
.map-list dd { margin: 0; font-weight: 600; text-align: right; }
.hero-success {
  text-align: center; padding: 28px 16px; margin-bottom: 16px;
  border: 1px solid #14532d; background: var(--ok-bg); border-radius: 18px;
}
.hero-success p { font-size: 20px; margin: 0 0 14px; letter-spacing: -0.03em; }
.prose { padding: 36px 24px 64px; max-width: 640px; margin: 0 auto; line-height: 1.65; }
.prose h3 { margin-top: 28px; }
.account-card { max-width: 640px; margin-bottom: 16px; }
.danger-card { border-color: rgba(251, 113, 133, 0.28); }
.delete-confirm { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border); }
.empty { text-align: center; padding: 36px 16px; color: var(--muted); }
.empty .illus {
  width: 72px; height: 72px; margin: 0 auto 12px; border-radius: 20px;
  background: linear-gradient(160deg, #1e3a5f, #111827); border: 1px dashed var(--border);
}
@media (max-width: 900px) {
  h1 { font-size: clamp(38px, 10vw, 54px); }
  .site-nav { padding: 10px 12px; }
  .nav-cta { display: none; }
  .nav-links a[data-nav="setup"] { display: none; }
  .nav-links > a:not(.btn) { padding: 8px 8px; font-size: 13px; }
  .brand { font-size: 14px; }
  .steps, .templates, .wizard, .desk, .price-grid, .outcome-grid, .faq-grid { grid-template-columns: 1fr; }
  .preview-body { grid-template-columns: 1fr; padding: 24px; }
  .flow-connector { flex-direction: row; justify-content: center; }
  .flow-connector i { transform: rotate(90deg); }
  .proof-grid { grid-template-columns: repeat(2, 1fr); gap: 22px 0; }
  .proof-grid > div:nth-child(2) { border-right: 0; }
  .proof-grid > div:nth-child(3) { padding-left: 0; }
  .role-panel { grid-template-columns: 1fr; gap: 28px; }
  .trust-section { grid-template-columns: 1fr; gap: 44px; }
  .magic-card { grid-template-columns: 1fr; gap: 12px; }
  .final-cta { align-items: flex-start; flex-direction: column; padding: 32px; }
  .final-cta-actions { align-items: stretch; width: 100%; }
  .rail { flex-direction: row; overflow: auto; position: static; }
  .rail-copy span { display: none; }
  .wizard-pane { padding: 20px; }
  .magic-row { flex-direction: column; }
  .setup-head { align-items: flex-start; }
  .setup-safety { display: none; }
  .database-tools { grid-template-columns: 1fr; }
  .database-tools .btn { width: 100%; }
  .demo-card { align-items: stretch; flex-direction: column; }
  .demo-button { width: 100%; }
  .url-row.compact, .secret-row { flex-direction: column; }
  header.hero { padding-top: 64px; }
  .home-section { padding-top: 80px; padding-bottom: 80px; }
}
@media (max-width: 560px) {
  body { padding-top: 53px; }
  .site-nav { min-height: 53px; }
  .brand-mark { width: 25px; height: 25px; }
  header.hero { padding: 54px 20px 38px; }
  .sub { font-size: 16px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .cta, .hero-actions .btn { width: 100%; }
  .hero-assurances { align-items: flex-start; flex-direction: column; gap: 8px; width: max-content; max-width: 100%; margin: 18px auto 0; text-align: left; }
  .preview-wrap { padding: 0 14px; margin-bottom: 46px; }
  .preview-topbar { grid-template-columns: 1fr auto; }
  .preview-topbar > :nth-child(2) { display: none; }
  .preview-controls { gap: 3px; }
  .live-pill { padding: 3px 6px; }
  .preview-body { padding: 16px; }
  .proof-grid { padding: 20px 24px; }
  .proof-grid > div { padding: 0 14px; }
  .home-section { padding-top: 68px; padding-bottom: 68px; }
  .section-intro h2, .trust-copy h2 { font-size: 32px; }
  .role-tabs { display: flex; overflow-x: auto; width: 100%; }
  .role-tabs button { flex: 0 0 auto; }
  .role-panel { min-height: 0; padding: 22px; }
  .role-story h3 { font-size: 22px; }
  .role-details > div { grid-template-columns: 82px 1fr; }
  .price-card { padding: 22px; }
  .price-card .muted { min-height: 0; }
  .final-cta { margin-right: 14px; margin-left: 14px; padding: 26px 22px; }
  .magic-card { margin-right: 14px; margin-left: 14px; padding: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  #btn-toggle-demo { display: none; }
}
