/* 2vol control plane
   方向：账本墨色 + 单一信号绿。无渐变、无玻璃、无紫色、无静止阴影。
   三套系统用编号 01/02/03 作为固定标记；数据用等宽数字。 */

:root {
  --ink: var(--text);
  --paper: var(--ground);
  --signal: var(--accent);
  --signal-soft: var(--accent-soft);
  --hair: var(--border);
  --hair-strong: var(--border-strong);
  --control-max: 1180px;
}

html { scroll-behavior: smooth; }
body { background: var(--paper); }
a { text-underline-offset: 3px; }

.container { max-width: var(--control-max); margin: 0 auto; padding: 0 24px; }
.brand { display: inline-flex; align-items: center; gap: 9px; color: var(--text); text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 30px; height: 30px; display: inline-flex; align-items: center;
  justify-content: center; border: 1px solid var(--text); border-radius: 3px;
  font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: -0.04em;
  color: var(--text); background: transparent; flex: none;
}
.brand-mark.small { width: 24px; height: 24px; font-size: 9px; }
.brand-word { font-size: 15px; font-weight: 700; letter-spacing: -0.02em; }
.who { font-size: 12px; color: var(--text-3); max-width: 200px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.mono-label {
  font-family: var(--mono); font-size: 10px; font-weight: 500; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--text-3);
}
.muted { color: var(--text-3); }
.accent { color: var(--signal); }
.eyebrow {
  margin: 0 0 14px; font-family: var(--mono); font-size: 11px; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--signal);
}

/* ---------- hero ---------- */
.hero {
  border-bottom: 1px solid var(--hair);
  padding: 76px 0 64px;
  background:
    linear-gradient(to right, var(--hair) 1px, transparent 1px) 0 0 / 25% 100%,
    var(--paper);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(380px, 0.88fr); gap: 64px; align-items: end; }
.display {
  margin: 0; font-size: clamp(42px, 6.4vw, 78px); line-height: 1.02;
  letter-spacing: -0.045em; font-weight: 700; color: var(--text);
}
.lede { margin: 28px 0 0; max-width: 54ch; font-size: 17px; line-height: 1.75; color: var(--text-2); }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 32px; }
.hero-facts { display: flex; gap: 0; margin: 44px 0 0; border-top: 1px solid var(--hair); max-width: 480px; }
.hero-facts > div { flex: 1; padding: 14px 18px 0 0; border-right: 1px solid var(--hair); }
.hero-facts > div:not(:first-child) { padding-left: 18px; }
.hero-facts > div:last-child { border-right: 0; }
.hero-facts dt { font-family: var(--mono); font-size: 26px; font-weight: 600; line-height: 1; letter-spacing: -0.04em; }
.hero-facts dd { margin: 6px 0 0; font-size: 12px; color: var(--text-3); }

.ledger { border: 1px solid var(--text); background: var(--surface); }
.ledger-head, .ledger-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 13px 18px; background: var(--text); color: var(--surface);
}
.ledger-head .mono-label, .ledger-foot .mono-label { color: rgba(255,255,255,.55); }
.live-line { display: inline-flex; align-items: center; gap: 7px; font-size: 11px; font-family: var(--mono); color: #9fe0bf; }
.live-line .dot { background: #6fce9e; }
.ledger-body { display: flex; flex-direction: column; }
.ledger-row {
  display: grid; grid-template-columns: 34px minmax(0,1fr) 74px 76px; gap: 12px;
  align-items: center; padding: 18px; border-bottom: 1px solid var(--hair);
}
.ledger-row:last-child { border-bottom: 0; }
.ledger-num { font-family: var(--mono); font-size: 11px; color: var(--text-3); }
.ledger-name { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.ledger-name strong { font-size: 14px; font-weight: 600; }
.ledger-name small { font-size: 12px; color: var(--text-3); }
.ledger-state { font-family: var(--mono); font-size: 10px; color: var(--signal); letter-spacing: .04em; }
.ledger-price { text-align: right; font-family: var(--mono); font-size: 15px; font-weight: 600; letter-spacing: -0.03em; }
.ledger-price small { font-size: 10px; color: var(--text-3); font-weight: 400; }
.ledger-foot { background: var(--surface-2); color: var(--text-2); border-top: 1px solid var(--hair); font-size: 12px; }
.ledger-foot .mono-label { color: var(--text-3); }

/* ---------- sections ---------- */
.section { padding: 76px 0; border-bottom: 1px solid var(--hair); }
.section-head { max-width: 800px; margin-bottom: 40px; }
.section-head h2 { margin: 0; font-size: clamp(28px, 3.6vw, 44px); line-height: 1.16; letter-spacing: -0.035em; font-weight: 700; }
.section-lede { margin: 18px 0 0; max-width: 66ch; font-size: 15px; line-height: 1.75; color: var(--text-2); }

/* system rows */
.system-list { border-top: 1px solid var(--text); }
.system-row {
  display: grid; grid-template-columns: 64px minmax(0,1fr) 300px 140px; gap: 24px;
  align-items: start; padding: 30px 0; border-bottom: 1px solid var(--hair);
}
.system-no { font-family: var(--mono); font-size: 12px; color: var(--text-3); padding-top: 5px; }
.system-no.inline { display: inline-block; margin-right: 6px; color: var(--text-3); font-size: 10px; padding: 0; }
.system-title { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.system-title h3 { margin: 0; font-size: 22px; letter-spacing: -0.025em; }
.system-main p { margin: 10px 0 0; max-width: 56ch; font-size: 14px; line-height: 1.7; color: var(--text-2); }
.system-modes { display: flex; flex-direction: column; gap: 12px; }
.system-modes > div { display: flex; flex-direction: column; gap: 2px; }
.system-modes span:not(.mono-label) { font-size: 12px; color: var(--text-2); }
.system-cta { text-align: right; }

/* ink section */
.section-ink { background: var(--text); color: var(--surface); }
.section-ink .eyebrow { color: #7cd3a8; }
.section-ink .section-lede { color: rgba(255,255,255,.62); }
.gate-grid { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid rgba(255,255,255,.2); }
.gate { padding: 24px 20px 8px 0; border-right: 1px solid rgba(255,255,255,.12); }
.gate:last-child { border-right: 0; }
.gate-code { font-family: var(--mono); font-size: 10px; color: #7cd3a8; letter-spacing: .1em; }
.gate h3 { margin: 12px 0 8px; font-size: 16px; color: var(--surface); }
.gate p { margin: 0; font-size: 12px; line-height: 1.7; color: rgba(255,255,255,.58); }
.ink-note { margin: 34px 0 0; font-size: 12px; color: rgba(255,255,255,.42); max-width: 70ch; }

/* boundary */
.boundary-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--text); }
.boundary-item { padding: 26px 24px 4px 0; border-right: 1px solid var(--hair); }
.boundary-item:not(:first-child) { padding-left: 24px; }
.boundary-item:last-child { border-right: 0; }
.boundary-item h3 { margin: 0 0 10px; font-size: 17px; }
.boundary-item p { margin: 0; font-size: 13px; line-height: 1.75; color: var(--text-2); }

/* pricing */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--text); }
.price-card { padding: 26px 24px; border-right: 1px solid var(--hair); display: flex; flex-direction: column; gap: 18px; }
.price-card:last-child { border-right: 0; }
.price-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.price-num { font-family: var(--mono); font-size: 11px; color: var(--text-3); }
.price-card h3 { margin: 0; font-size: 22px; letter-spacing: -0.03em; }
.tier { border-top: 1px solid var(--hair); padding-top: 14px; display: flex; flex-direction: column; gap: 6px; }
.tier-paid { border-top-color: var(--text); }
.tier-line { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.tier-name { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); }
.tier-price { font-family: var(--mono); font-size: 24px; font-weight: 600; letter-spacing: -0.04em; }
.tier-price small { font-size: 11px; color: var(--text-3); font-weight: 400; }
.tier-note { margin: 0; font-size: 12px; line-height: 1.6; color: var(--text-2); min-height: 38px; }
.trial-note { margin: 0; font-size: 11px; color: var(--signal); }
.price-card .btn { margin-top: auto; }
.pricing-note { margin: 18px 0 0; font-size: 12px; color: var(--text-3); max-width: 80ch; }

/* invite */
.invite-section { background: var(--surface); }
.invite-grid { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 64px; align-items: start; }
.invite-copy h2 { margin: 0; font-size: clamp(28px, 3.4vw, 42px); line-height: 1.16; letter-spacing: -0.035em; }
.invite-copy > p:not(.eyebrow) { margin: 18px 0 0; max-width: 56ch; font-size: 15px; line-height: 1.75; color: var(--text-2); }
.invite-points { margin: 24px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.invite-points li { position: relative; padding-left: 20px; font-size: 13px; color: var(--text-2); line-height: 1.6; }
.invite-points li::before { content: ""; position: absolute; left: 0; top: 8px; width: 7px; height: 1px; background: var(--signal); }
.invite-form-wrap { border: 1px solid var(--text); background: var(--paper); padding: 26px; }

/* forms */
.stack-form { display: flex; flex-direction: column; gap: 16px; }
.stack-form.compact { gap: 12px; }
.field { display: flex; flex-direction: column; gap: 6px; margin: 0; }
.field label { font-size: 12px; font-weight: 600; color: var(--text-2); }
.field-hint { margin: 0; font-size: 11px; color: var(--text-3); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
input.input, select.input, textarea.input {
  width: 100%; background: var(--surface); border: 1px solid var(--hair-strong);
  border-radius: var(--radius-control); padding: 9px 11px; color: var(--text);
  font-size: 13px; font-family: inherit; outline: none;
}
textarea.input { resize: vertical; min-height: 92px; line-height: 1.6; }
input.input:focus, select.input:focus, textarea.input:focus { border-color: var(--signal); box-shadow: 0 0 0 3px var(--signal-soft); }
.input.sm { padding: 6px 8px; font-size: 12px; }
.check-line { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--text-2); }
.check-line.sm { font-size: 11px; }
.check-line input { accent-color: var(--signal); }
.btn.lg { padding: 10px 18px; font-size: 14px; }
.btn.full { width: 100%; text-align: center; }
.btn.sm { padding: 5px 9px; font-size: 12px; }
.form-fineprint { margin: 0; font-size: 11px; line-height: 1.6; color: var(--text-3); }
.inline-form { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.cancel-form { margin-top: 10px; }

.notice { border: 1px solid var(--hair-strong); border-left: 3px solid var(--text); background: var(--surface); padding: 13px 16px; font-size: 13px; margin: 0 0 18px; }
.notice.success { border-left-color: var(--positive); background: var(--positive-soft); color: var(--positive); }
.notice.error { border-left-color: var(--negative); background: var(--negative-soft); color: var(--negative); }
.notice p { margin: 6px 0 0; }

/* faq */
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; border-top: 1px solid var(--text); }
.faq-grid details { border-bottom: 1px solid var(--hair); padding: 18px 0; }
.faq-grid summary { cursor: pointer; font-size: 15px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq-grid summary::-webkit-details-marker { display: none; }
.faq-grid summary::after { content: "+"; font-family: var(--mono); color: var(--text-3); }
.faq-grid details[open] summary::after { content: "−"; }
.faq-grid details p { margin: 12px 0 0; font-size: 13px; line-height: 1.75; color: var(--text-2); }

/* footer */
.site-footer { padding: 34px 0 40px; background: var(--surface); }
.footer-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-brand { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--text-2); }
.footer-links { display: flex; gap: 18px; font-size: 12px; }
.footer-links a { color: var(--text-2); }
.footer-legal { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--hair); display: flex; flex-direction: column; gap: 6px; }
.footer-legal p { margin: 0; font-size: 11px; line-height: 1.7; color: var(--text-3); max-width: 90ch; }

/* ---------- auth / checkout ---------- */
.page-auth { background: var(--paper); }
.auth-shell, .checkout-shell {
  max-width: 1040px; margin: 0 auto; padding: 64px 24px 80px;
  display: grid; grid-template-columns: minmax(0, 460px) minmax(0, 1fr);
  gap: 64px; align-items: start;
}
.auth-panel h1, .checkout-panel h1 { margin: 0; font-size: 34px; letter-spacing: -0.04em; }
.auth-lede { margin: 14px 0 26px; font-size: 14px; line-height: 1.7; color: var(--text-2); }
.auth-panel .stack-form { border-top: 1px solid var(--text); padding-top: 24px; }
.auth-alt { margin: 22px 0 0; font-size: 12px; color: var(--text-3); }
.auth-aside { border-left: 1px solid var(--hair); padding-left: 44px; display: flex; flex-direction: column; gap: 0; }
.auth-aside-block { padding: 20px 0; border-bottom: 1px solid var(--hair); }
.auth-aside-block:first-child { padding-top: 0; }
.auth-aside-block strong { display: block; margin: 6px 0 4px; font-size: 17px; }
.auth-aside-block p { margin: 0; font-size: 12px; color: var(--text-3); }
.auth-aside-note { border-left: 1px solid var(--hair); }
.step-list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 0; }
.step-list li { display: grid; grid-template-columns: 32px 1fr; gap: 10px; padding: 14px 0; border-bottom: 1px solid var(--hair); font-size: 13px; color: var(--text-2); }
.step-list li span { font-family: var(--mono); font-size: 10px; color: var(--signal); padding-top: 2px; }
.auth-fineprint { margin: 22px 0 0; font-size: 11px; color: var(--text-3); }
.invite-badge { border: 1px solid var(--hair-strong); border-left: 3px solid var(--signal); background: var(--surface); padding: 12px 14px; display: flex; flex-direction: column; gap: 3px; margin-bottom: 20px; }
.invite-badge strong { font-family: var(--mono); font-size: 14px; }
.invite-badge span:last-child { font-size: 11px; color: var(--text-3); }

.checkout-panel { min-width: 0; }
.checkout-summary { border-top: 1px solid var(--text); border-bottom: 1px solid var(--text); margin: 24px 0; }
.checkout-summary .kv { display: flex; justify-content: space-between; gap: 20px; padding: 10px 0; border-bottom: 1px solid var(--hair); font-size: 13px; }
.checkout-summary .kv:last-child { border-bottom: 0; }
.checkout-summary .kv.total { font-size: 17px; font-weight: 600; }
.checkout-summary .kv.total .k { color: var(--text); }
.mock-card { background: var(--surface-2); border: 1px dashed var(--hair-strong); padding: 16px; margin-bottom: 22px; }
.mock-card-top { display: flex; justify-content: space-between; gap: 12px; align-items: center; margin-bottom: 8px; }
.mock-card p { margin: 0; font-size: 11px; color: var(--text-3); line-height: 1.6; }
.checkout-aside { border-left: 1px solid var(--hair); padding-left: 44px; }

/* ---------- app shell ---------- */
.page-app, .page-admin { background: var(--paper); }
.app-wrap { padding-top: 40px; padding-bottom: 72px; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-bottom: 22px; border-bottom: 1px solid var(--text); margin-bottom: 22px; }
.page-head h1 { margin: 0; font-size: 34px; letter-spacing: -0.04em; }
.page-sub { margin: 8px 0 0; font-size: 13px; color: var(--text-2); }
.page-head-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.app-metrics { margin-bottom: 22px; }
.metric-note { margin-top: 4px; font-size: 10px; color: var(--text-3); }
.system-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--text); margin-bottom: 26px; }
.system-card { background: var(--surface); border-right: 1px solid var(--hair); display: flex; flex-direction: column; }
.system-card:last-child { border-right: 0; }
.system-card.is-killed { background: var(--negative-soft); }
.system-card-head { display: flex; align-items: flex-start; gap: 10px; padding: 18px; border-bottom: 1px solid var(--hair); }
.system-card-title { min-width: 0; flex: 1; }
.system-card-title h2 { margin: 0; font-size: 16px; letter-spacing: -0.02em; }
.system-card-title p { margin: 3px 0 0; font-size: 11px; color: var(--text-3); }
.system-card-body { padding: 14px 18px 18px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.kv { display: flex; justify-content: space-between; gap: 12px; font-size: 12px; align-items: baseline; }
.kv .k { color: var(--text-3); flex: none; }
.kv .v { text-align: right; min-width: 0; overflow-wrap: anywhere; }
.system-card-foot { display: flex; gap: 8px; padding: 14px 18px; border-top: 1px solid var(--hair); flex-wrap: wrap; }
.system-card-foot form { display: inline-flex; }
.kill-banner { margin: 0 18px 12px; padding: 8px 10px; border-left: 3px solid var(--negative); background: var(--negative-soft); color: var(--negative); font-size: 11px; line-height: 1.5; }
.status-chip { display: inline-flex; align-items: center; padding: 2px 7px; border-radius: 3px; font-family: var(--mono); font-size: 10px; letter-spacing: .04em; white-space: nowrap; }
.chip-live { background: var(--positive-soft); color: var(--positive); }
.chip-trial { background: var(--warning-soft); color: var(--warning); }
.chip-comp { background: var(--accent-soft); color: var(--accent); }
.chip-warn { background: var(--negative-soft); color: var(--negative); }
.chip-paper { background: var(--surface-3); color: var(--text-2); }

.split-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 20px; }
.panel { background: var(--surface); border: 1px solid var(--hair); border-radius: 0; padding: 0; margin-top: 0; overflow: hidden; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--hair); margin: 0; }
.panel-head h2 { margin: 0; font-size: 14px; letter-spacing: -0.01em; }
.panel-sub { margin: 4px 0 0; font-size: 11px; color: var(--text-3); }
.panel-link { display: block; padding: 12px 18px; border-top: 1px solid var(--hair); font-size: 12px; }
.activity-list { margin: 0; padding: 6px 18px; list-style: none; }
.activity-list li { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--rule); }
.activity-list li:last-child { border-bottom: 0; }
.activity-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--signal); flex: none; }
.activity-main { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.activity-main strong { font-family: var(--mono); font-size: 11px; font-weight: 500; }
.activity-main small { color: var(--text-3); font-size: 11px; }
.activity-time { font-family: var(--mono); font-size: 10px; color: var(--text-3); white-space: nowrap; }
.empty-note { margin: 0; padding: 18px; font-size: 12px; color: var(--text-3); }

.table { width: 100%; border-collapse: collapse; font-size: 12px; }
.table th { text-align: left; font-weight: 500; color: var(--text-3); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; padding: 9px 12px; border-bottom: 1px solid var(--hair); white-space: nowrap; }
.table td { padding: 10px 12px; border-bottom: 1px solid var(--rule); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table .num { text-align: right; font-variant-numeric: tabular-nums; }
.table tbody tr:hover { background: var(--surface-2); }

/* billing */
.billing-list { border: 1px solid var(--text); margin-bottom: 26px; }
.billing-row { display: grid; grid-template-columns: minmax(190px, 1.1fr) minmax(170px, .9fr) minmax(180px, 1fr) 170px; gap: 24px; align-items: center; padding: 20px; border-bottom: 1px solid var(--hair); background: var(--surface); }
.billing-row:last-child { border-bottom: 0; }
.billing-system { display: flex; gap: 10px; align-items: flex-start; }
.billing-system h2 { margin: 0; font-size: 16px; }
.billing-system p { margin: 3px 0 0; font-size: 11px; color: var(--text-3); }
.billing-plan { display: flex; flex-direction: column; gap: 5px; align-items: flex-start; }
.billing-plan strong { font-size: 14px; }
.billing-plan small { font-size: 11px; color: var(--text-3); }
.billing-features { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.panel > .stack-form { padding: 16px 18px; }
.billing-features .mono { font-size: 11px; color: var(--text-2); overflow-wrap: anywhere; }
.billing-action { display: flex; flex-direction: column; gap: 8px; align-items: stretch; }
.billing-action form { display: flex; }
.price-line { font-family: var(--mono); font-size: 18px; font-weight: 600; letter-spacing: -0.03em; }
.price-line small { font-size: 10px; color: var(--text-3); font-weight: 400; }
.invoices-panel { margin-top: 26px; }

/* settings */
.password-panel { margin-bottom: 20px; }
.password-panel .form-row { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 720px) {
  .password-panel .form-row { grid-template-columns: 1fr; }
}
.security-note { border-left: 3px solid var(--warning); background: var(--warning-soft); padding: 13px 16px; margin-bottom: 22px; }
.security-note strong { font-size: 12px; color: var(--warning); }
.security-note p { margin: 5px 0 0; font-size: 12px; line-height: 1.7; color: var(--text-2); }
.settings-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.settings-panel .panel-head { align-items: flex-start; }
.connection-box { padding: 14px 18px; border-bottom: 1px solid var(--hair); background: var(--surface-2); display: flex; flex-direction: column; gap: 8px; }
.settings-panel .stack-form { padding: 16px 18px; }
.key-fp { font-size: 9px; color: var(--text-3); }

/* admin */
.admin-stats { margin-bottom: 22px; }
.admin-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 22px; }
.admin-grid .panel { min-width: 0; }
.invite-created { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.invite-code { font-family: var(--mono); font-size: 16px; font-weight: 700; letter-spacing: .04em; background: var(--surface); padding: 5px 9px; border: 1px solid var(--positive); }
.request-list { display: flex; flex-direction: column; }
.request-item { padding: 14px 18px; border-bottom: 1px solid var(--hair); display: flex; flex-direction: column; gap: 10px; }
.request-item:last-child { border-bottom: 0; }
.request-main strong { font-size: 13px; }
.request-main small { display: block; margin-top: 2px; font-size: 10px; color: var(--text-3); }
.request-main p { margin: 6px 0 0; font-size: 12px; color: var(--text-2); line-height: 1.6; }
.request-actions { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.user-list { display: flex; flex-direction: column; }
.user-card { padding: 16px 18px; border-bottom: 1px solid var(--hair); }
.user-card:last-child { border-bottom: 0; }
.user-head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; }
.user-head strong { font-size: 13px; }
.user-head small { display: block; margin-top: 2px; font-size: 10px; color: var(--text-3); }
.user-badges { display: flex; gap: 5px; flex-wrap: wrap; }
.user-systems { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 10px; }
.user-system { display: flex; align-items: center; gap: 6px; }
.user-actions { margin-top: 10px; }
.user-actions summary { cursor: pointer; font-size: 11px; color: var(--signal); }
.action-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 10px; }
.action-form { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; padding: 10px; background: var(--surface-2); border: 1px solid var(--hair); }
.action-form .mono-label { flex-basis: 100%; }
.kill-list { border-top: 1px solid var(--hair); margin-top: 14px; }
.kill-row { display: grid; grid-template-columns: 48px 1fr 1.2fr; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--rule); font-size: 11px; }
.audit-table .audit-detail { font-family: var(--mono); font-size: 10px; color: var(--text-3); max-width: 360px; overflow-wrap: anywhere; }

/* responsive */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .ledger { max-width: 620px; }
  .system-row { grid-template-columns: 48px minmax(0,1fr) 240px; }
  .system-cta { display: none; }
  .gate-grid { grid-template-columns: repeat(3, 1fr); }
  .gate:nth-child(3) { border-right: 0; }
  .gate:nth-child(-n+3) { border-bottom: 1px solid rgba(255,255,255,.12); }
  .boundary-grid { grid-template-columns: 1fr 1fr; }
  .boundary-item:nth-child(2) { border-right: 0; }
  .boundary-item:nth-child(-n+2) { border-bottom: 1px solid var(--hair); padding-bottom: 22px; }
  .boundary-item:nth-child(3) { padding-left: 0; }
  .price-grid { grid-template-columns: 1fr; }
  .price-card { border-right: 0; border-bottom: 1px solid var(--hair); }
  .price-card:last-child { border-bottom: 0; }
  .invite-grid { grid-template-columns: 1fr; gap: 36px; }
  .system-cards { grid-template-columns: 1fr; }
  .system-card { border-right: 0; border-bottom: 1px solid var(--hair); }
  .system-card:last-child { border-bottom: 0; }
  .billing-row { grid-template-columns: 1fr 1fr; row-gap: 18px; }
  .split-grid, .admin-grid, .settings-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .topbar-inner { height: auto; padding: 8px 18px; flex-wrap: wrap; row-gap: 4px; }
  .nav {
    display: flex; position: static; order: 3; flex-basis: 100%;
    margin-left: 0; padding: 2px 0 4px; flex-direction: row;
    background: transparent; border: 0; box-shadow: none;
    max-height: none; overflow-x: auto; overflow-y: hidden;
  }
  .tb-status { width: auto; margin-left: auto; }
  .tb-status .who { display: none; }
  .container { padding: 0 18px; }
  .hero { padding: 48px 0 40px; background: var(--paper); }
  .display { font-size: clamp(38px, 11vw, 54px); }
  .lede { font-size: 15px; }
  .hero-facts dt { font-size: 22px; }
  .section { padding: 52px 0; }
  .system-row { grid-template-columns: 34px 1fr; gap: 12px; }
  .system-modes { grid-column: 2; flex-direction: row; gap: 24px; }
  .gate-grid { grid-template-columns: 1fr 1fr; }
  .gate { border-right: 0; padding-right: 14px; }
  .gate:nth-child(odd) { border-right: 1px solid rgba(255,255,255,.12); }
  .gate:nth-child(-n+3) { border-bottom: 0; }
  .gate:nth-child(-n+4) { border-bottom: 1px solid rgba(255,255,255,.12); }
  .boundary-grid { grid-template-columns: 1fr; }
  .boundary-item, .boundary-item:not(:first-child), .boundary-item:nth-child(3) { padding-left: 0; border-right: 0; border-bottom: 1px solid var(--hair); padding-bottom: 20px; }
  .boundary-item:last-child { border-bottom: 0; }
  .faq-grid { grid-template-columns: 1fr; gap: 0; }
  .auth-shell, .checkout-shell { grid-template-columns: 1fr; gap: 36px; padding: 40px 18px 56px; }
  .auth-aside, .checkout-aside { border-left: 0; padding-left: 0; border-top: 1px solid var(--hair); padding-top: 24px; }
  .form-row { grid-template-columns: 1fr; }
  .billing-row { grid-template-columns: 1fr; gap: 14px; }
  .billing-action { flex-direction: row; align-items: center; flex-wrap: wrap; }
  .action-grid { grid-template-columns: 1fr; }
  .page-head { align-items: flex-start; }
  .app-metrics.metrics-grid-3 .metric { border-bottom: 1px solid var(--hair); }
  .footer-row { align-items: flex-start; }
  .user-head { flex-direction: column; gap: 8px; }
}

/* ============================================================
   LANDING V2 — soot + lime, product performs
   Scope: .page-landing only. App pages keep the light ledger UI.
   ============================================================ */

.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;
}

.page-landing {
  --l-bg: #0f0f0f;
  --l-surface: #1a1a1a;
  --l-ink: #ffffff;
  --l-muted: #8f8f8f;
  --l-accent: #dafa9c;
  --l-accent-ink: #0f0f0f;
  --l-paper: #ffffff;
  --l-paper-tint: #f2f2f2;
  --l-paper-ink: #0f0f0f;
  --l-paper-muted: #5f5f5f;
  --l-line: #262626;
  --l-hair: #e2e2da;
  background: var(--l-paper);
  color: var(--l-paper-ink);
  font-size: 16px;
}
.page-landing, .page-landing * { font-family: "Albert Sans", var(--font); }
.page-landing a { text-underline-offset: 3px; }
.page-landing ::selection { background: var(--l-accent); color: var(--l-accent-ink); }

/* ---------- hero split ---------- */
.hero-split {
  display: grid; grid-template-columns: 1fr 1fr;
  min-height: 100svh; background: var(--l-bg);
}
.hero-pane { position: relative; display: flex; flex-direction: column; min-width: 0; }
.hero-pane-dark { background: var(--l-bg); color: var(--l-ink); padding: 30px 40px 42px; }
.hero-pane-lime {
  background: var(--l-accent); color: var(--l-accent-ink);
  align-items: flex-end; justify-content: center; padding: 40px;
}
.hero-edge {
  position: absolute; right: 40px; bottom: 36px;
  font-size: 13px; letter-spacing: 0.02em; color: #3f4a22;
}
.landing-bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.landing-brand {
  display: inline-flex; align-items: center; gap: 11px;
  color: var(--l-ink); font-size: 18px; font-weight: 600; letter-spacing: -0.02em;
  text-decoration: none;
}
.landing-brand:hover { text-decoration: none; color: var(--l-ink); }
.landing-mark {
  width: 34px; height: 34px; display: block;
  border: 1px solid var(--l-ink); border-radius: 2px; position: relative;
}
.landing-mark::after {
  content: ""; position: absolute; inset: 9px; background: var(--l-accent);
}
.landing-bar-right { display: flex; align-items: center; gap: 22px; }
.landing-link { color: #b8b8b8; font-size: 13px; text-decoration: none; }
.landing-link:hover { color: var(--l-ink); text-decoration: none; }
.hero-pane-inner { margin-top: auto; padding-top: 64px; max-width: 600px; }
.hero-kicker {
  margin: 0 0 24px; font-family: var(--mono); font-size: 10px; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--l-muted);
}
.hero-title {
  margin: 0; font-size: clamp(36px, 3.7vw, 56px); line-height: 1.02;
  letter-spacing: -0.05em; font-weight: 600;
}
.hero-title .line { display: block; overflow: hidden; padding-bottom: 0.06em; }
.hero-title .line > span {
  display: block; animation: l-mask-up 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.hero-title .line:nth-child(2) > span { animation-delay: 0.11s; }
.hero-accent { color: var(--l-accent); }
.hero-lede {
  margin: 26px 0 0; max-width: 44ch; color: #b0b0b0;
  font-size: 18px; line-height: 1.62; animation: l-fade-up 0.8s 0.3s both;
}
.hero-actions {
  display: flex; align-items: center; gap: 26px; flex-wrap: wrap;
  margin-top: 34px; animation: l-fade-up 0.8s 0.4s both;
}
.btn-landing {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 46px; padding: 0 20px; border-radius: 2px;
  background: var(--l-accent); border: 1px solid var(--l-accent);
  color: var(--l-accent-ink); font-size: 14px; font-weight: 600;
  font-family: inherit; text-decoration: none; cursor: pointer;
}
.btn-landing:hover { background: #e7ffb8; border-color: #e7ffb8; text-decoration: none; }
.btn-landing-dark { background: var(--l-bg); border-color: var(--l-bg); color: var(--l-ink); }
.btn-landing-dark:hover { background: #222; border-color: #222; color: var(--l-ink); }
.hero-text-link {
  color: #b8b8b8; font-size: 14px; text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px;
}
.hero-text-link span { color: var(--l-accent); }
.hero-text-link:hover { color: var(--l-ink); text-decoration: none; }

/* live validation console */
.gate-console {
  width: min(450px, 100%); aspect-ratio: 1 / 1;
  background: var(--l-bg); color: var(--l-ink);
  padding: 24px; border-radius: 2px;
  display: flex; flex-direction: column;
  font-family: "Albert Sans", var(--font);
}
.console-top {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  font-size: 12px; letter-spacing: 0.02em; color: var(--l-muted);
}
.console-live { display: inline-flex; align-items: center; gap: 7px; color: var(--l-accent); }
.console-live i { width: 6px; height: 6px; border-radius: 50%; background: var(--l-accent); display: inline-block; }
.console-readout {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  margin-top: 26px; padding-bottom: 14px; border-bottom: 1px solid #2b2b2b;
}
.console-status {
  font-size: clamp(26px, 2.9vw, 38px); font-weight: 600;
  letter-spacing: -0.045em; line-height: 1;
}
.console-status.is-paper { color: var(--l-ink); }
.console-status.is-live { color: var(--l-accent); }
.console-count { font-size: 13px; color: var(--l-muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.gate-rows { flex: 1; display: flex; flex-direction: column; justify-content: center; margin-top: 8px; }
.gate-row {
  display: grid; grid-template-columns: 22px 30px 1fr 62px; align-items: center; gap: 8px;
  padding: 10px 0; border-bottom: 1px solid #232323; cursor: pointer;
  font-size: 13px; transition: color 0.15s;
}
.gate-row:last-child { border-bottom: 0; }
.gate-row input {
  appearance: none; -webkit-appearance: none; width: 14px; height: 14px;
  border: 1px solid #555; background: transparent; position: relative; margin: 0;
  cursor: pointer; border-radius: 1px;
}
.gate-row input:checked { background: var(--l-accent); border-color: var(--l-accent); }
.gate-row input:checked::after {
  content: ""; position: absolute; left: 4px; top: 1px; width: 4px; height: 8px;
  border-right: 1.5px solid var(--l-bg); border-bottom: 1.5px solid var(--l-bg);
  transform: rotate(45deg);
}
.gate-key { font-size: 13px; color: var(--l-muted); }
.gate-name { color: #e0e0e0; }
.gate-value { font-size: 13px; text-align: right; color: var(--l-accent); font-variant-numeric: tabular-nums; }
.gate-row.is-failing .gate-name, .gate-row.is-failing .gate-value { color: #ff8a7a; }
.console-note { margin: 16px 0 0; font-size: 13px; line-height: 1.55; color: #a8a8a8; min-height: 38px; }

/* ---------- thin pipeline strip ---------- */
.pipeline-strip {
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px;
  background: var(--l-bg); color: #a8a8a8;
  padding: 16px 40px; font-size: 13px; letter-spacing: 0.02em;
}
.pipeline-strip span { white-space: nowrap; }
.pipeline-strip i { font-style: normal; color: var(--l-accent); }

/* ---------- command list ---------- */
.command-section { background: var(--l-paper); padding: 110px 0 100px; }
.command-inner { max-width: 1180px; }
.command-search {
  width: 100%; border: 0; border-bottom: 2px solid var(--l-paper-ink);
  background: var(--l-paper-tint); color: var(--l-paper-ink);
  font-family: inherit; font-size: clamp(24px, 3vw, 44px); font-weight: 500;
  letter-spacing: -0.035em; line-height: 1.2; padding: 16px 18px; outline: none;
  border-radius: 2px 2px 0 0; -webkit-appearance: none;
}
.command-search::placeholder { color: #9a9a91; }
.command-list { border-top: 0; }
.page-landing button.command-row {
  display: block; width: 100%; text-align: left; border: 0;
  background: transparent; color: var(--l-paper-ink);
  font-family: inherit; cursor: pointer;
  padding: 7px 14px 7px 8px; transition: background 0.16s;
}
.page-landing button.command-row:hover,
.page-landing button.command-row.is-active { background: var(--l-accent); color: var(--l-paper-ink); }
.command-line { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.command-name {
  display: block; font-size: clamp(34px, 4.6vw, 74px); line-height: 1.08;
  font-weight: 600; letter-spacing: -0.055em;
}
.command-key {
  flex: none; width: 28px; height: 28px; display: grid; place-items: center;
  border: 1px solid var(--l-paper-ink); font-size: 13px;
}
.command-desc { display: none; padding: 12px 0 22px; max-width: 60ch; }
.command-row.is-active .command-desc { display: block; }
.command-text { display: block; font-size: 17px; line-height: 1.6; margin-bottom: 16px; }
.command-facts {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
  padding-top: 14px;
}
.command-facts > span { display: block; font-size: 13px; line-height: 1.6; }
.command-facts b {
  display: block; margin-bottom: 4px; font-size: 13px;
  font-weight: 600; letter-spacing: 0.01em;
}
.command-empty { margin: 22px 0 0; font-size: 14px; color: var(--l-paper-muted); }

/* ---------- pinned lifecycle ---------- */
.pinned-section { background: var(--l-paper-tint); padding: 100px 0; }
.pinned-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; }
.section-kicker {
  margin: 0 0 16px; font-family: var(--mono); font-size: 10px; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--l-paper-muted);
}
.pinned-heading {
  margin: 0 0 54px; font-size: clamp(34px, 4vw, 56px); line-height: 1.02;
  letter-spacing: -0.05em; font-weight: 600;
}
.step-block {
  padding: 24px 18px; color: #5f5f5f;
  transition: color 0.2s, background 0.2s;
}
.step-block + .step-block { margin-top: 6px; }
.step-block.is-active { color: var(--l-paper-ink); background: rgba(15, 15, 15, 0.045); }
.step-block h3 { margin: 0 0 7px; font-size: 24px; letter-spacing: -0.035em; }
.step-block p { margin: 0; max-width: 42ch; font-size: 15px; line-height: 1.6; }
.pinned-stage {
  position: sticky; top: 12vh; min-height: 540px;
  background: var(--l-accent); display: flex; align-items: center; justify-content: center;
  padding: 40px;
}
.stage-card {
  display: none; width: min(470px, 100%);
  background: var(--l-bg); color: var(--l-ink); padding: 22px; border-radius: 2px;
}
.stage-card.is-active { display: block; animation: l-stage-in 0.35s ease both; }
.stage-top {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  font-size: 13px; letter-spacing: 0.01em; color: #a8a8a8;
}
.stage-pill { padding: 3px 6px; border: 1px solid currentColor; font-size: 13px; }
.stage-pill.is-ok { color: var(--l-accent); }
.stage-pill.is-bad { color: #ff8a7a; }
.stage-rows { margin-top: 18px; }
.stage-row {
  display: grid; grid-template-columns: 1fr 104px 62px; gap: 10px;
  align-items: baseline; padding: 10px 0; border-bottom: 1px solid #262626; font-size: 13px;
}
.stage-row:last-child { border-bottom: 0; }
.stage-row .k { color: #b8b8b8; }
.stage-row .v { text-align: right; color: #f0f0f0; font-variant-numeric: tabular-nums; }
.stage-row .s { font-size: 13px; text-align: right; }
.is-ok { color: var(--l-accent); }
.is-bad { color: #ff8a7a; }
.stage-foot { margin-top: 16px; font-size: 13px; line-height: 1.5; color: #a8a8a8; }
.stage-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 20px; }
.stage-metrics .k { display: block; font-size: 12px; color: #a8a8a8; }
.stage-metrics .v { display: block; margin-top: 4px; font-size: 20px; font-weight: 600; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.order-ticket {
  display: flex; align-items: baseline; gap: 11px; flex-wrap: wrap;
  margin-top: 22px; padding: 16px 0; border-top: 1px solid #262626; border-bottom: 1px solid #262626;
}
.order-side { background: var(--l-accent); color: var(--l-bg); font-size: 12px; padding: 3px 6px; }
.order-symbol { font-size: 26px; font-weight: 600; letter-spacing: -0.035em; }
.order-qty, .order-price { font-size: 13px; color: #b8b8b8; font-variant-numeric: tabular-nums; }

/* ---------- coverage ---------- */
.coverage-section { background: var(--l-paper); padding: 110px 0; }
.page-landing .section-head { max-width: 860px; margin: 0 0 46px; }
.page-landing .section-head h2 {
  margin: 0; font-size: clamp(32px, 4vw, 56px); line-height: 1.04;
  letter-spacing: -0.05em; font-weight: 600;
}
.page-landing .section-lede {
  margin: 18px 0 0; max-width: 60ch; font-size: 17px; line-height: 1.62; color: var(--l-paper-muted);
}
.coverage-list { border-top: 0; }
.coverage-row {
  display: grid; grid-template-columns: 250px minmax(0, 1fr) 290px 22px;
  gap: 24px; align-items: start; padding: 26px 14px;
  color: var(--l-paper-ink); text-decoration: none; transition: background 0.15s;
}
.coverage-row:nth-child(odd) { background: var(--l-paper-tint); }
.coverage-row:hover { background: var(--l-accent); text-decoration: none; color: var(--l-paper-ink); }
.coverage-name { font-size: 22px; font-weight: 600; letter-spacing: -0.035em; }
.coverage-name small { display: block; margin-top: 3px; font-size: 13px; font-weight: 400; color: var(--l-paper-muted); }
.coverage-desc { font-size: 14px; line-height: 1.6; color: var(--l-paper-muted); max-width: 60ch; }
.coverage-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.coverage-tags span {
  padding: 4px 8px; background: rgba(15,15,15,.06);
  font-size: 13px; letter-spacing: 0.01em; white-space: nowrap;
}
.coverage-row:hover .coverage-tags span { background: rgba(15,15,15,.12); }
.coverage-arrow { font-size: 18px; text-align: right; }

/* runtime fragments */
.runtime-strip {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
  margin-top: 34px;
}
.runtime-card {
  background: var(--l-bg); color: var(--l-ink); padding: 20px;
  min-height: 220px; display: flex; flex-direction: column; justify-content: space-between;
  gap: 12px; border-radius: 2px;
}
.runtime-name { font-size: 14px; color: #b8b8b8; }
.runtime-state { font-size: 22px; font-weight: 600; letter-spacing: -0.035em; color: var(--l-accent); font-variant-numeric: tabular-nums; }
.runtime-meta { font-size: 13px; line-height: 1.5; color: #8f8f8f; }

/* ---------- boundary ---------- */
.boundary-section { background: var(--l-bg); color: var(--l-ink); padding: 100px 0; }
.boundary-split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.boundary-split h2 {
  margin: 0; font-size: clamp(32px, 4vw, 56px); line-height: 1.04;
  letter-spacing: -0.05em; font-weight: 600;
}
.boundary-list { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 36px; }
.page-landing .boundary-item { padding: 18px 0; border: 0; }
.boundary-item h3 { margin: 0 0 5px; font-size: 16px; letter-spacing: -0.01em; }
.boundary-item p { margin: 0; max-width: 32ch; font-size: 13px; line-height: 1.6; color: #a8a8a8; }

/* ---------- pricing table ---------- */
.pricing-section { background: var(--l-paper-tint); padding: 110px 0; }
.pricing-wrap { margin-top: 46px; overflow-x: auto; }
.pricing-table { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 16px; }
.pricing-table th, .pricing-table td {
  text-align: left; padding: 19px 18px; border-bottom: 1px solid #d8d8cf; vertical-align: top;
}
.pricing-table thead th { border-bottom: 2px solid var(--l-paper-ink); font-size: clamp(18px, 2vw, 28px); font-weight: 600; letter-spacing: -0.035em; }
.pricing-table tbody td:first-child { width: 24%; font-size: 14px; color: var(--l-paper-muted); }
.p-name { display: block; }
.p-tag { display: block; margin-top: 4px; font-size: 13px; font-weight: 400; letter-spacing: 0.01em; color: var(--l-paper-muted); }
.cell-strong { font-weight: 600; }
.cell-price { font-size: 28px; font-weight: 600; letter-spacing: -0.04em; }
.cell-price small { font-size: 10px; font-weight: 400; color: var(--l-paper-muted); }
.price-band { background: var(--l-accent); }
.pricing-cta-row td { padding-top: 26px; border-bottom: 0; }
.pricing-cta-row .btn-landing { width: 100%; }
.pricing-note { margin: 18px 0 0; max-width: 70ch; font-size: 13px; line-height: 1.65; color: var(--l-paper-muted); }

/* ---------- faq ---------- */
.faq-section { background: var(--l-paper); padding: 110px 0; }
.faq-split { display: grid; grid-template-columns: 4fr 8fr; gap: 64px; align-items: start; }
.faq-head { position: sticky; top: 96px; }
.faq-head h2 { margin: 0; font-size: clamp(32px, 4vw, 56px); letter-spacing: -0.05em; line-height: 1.02; }
.faq-head p:last-child { margin: 18px 0 0; font-size: 14px; line-height: 1.6; color: var(--l-paper-muted); max-width: 30ch; }
.faq-list { display: flex; flex-direction: column; gap: 8px; }
.faq-list details { background: var(--l-paper-tint); border-radius: 2px; }
.faq-list details[open] { background: var(--l-accent); }
.faq-list summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 19px 22px; cursor: pointer; list-style: none;
  font-size: 18px; font-weight: 500; letter-spacing: -0.01em;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::marker { content: ""; }
.faq-list details p { margin: 0; padding: 0 22px 20px; max-width: 54ch; font-size: 16px; line-height: 1.6; }
.faq-plus { position: relative; flex: none; width: 16px; height: 16px; }
.faq-plus::before, .faq-plus::after { content: ""; position: absolute; background: var(--l-paper-ink); transition: transform 0.2s; }
.faq-plus::before { left: 0; top: 7px; width: 16px; height: 2px; }
.faq-plus::after { left: 7px; top: 0; width: 2px; height: 16px; }
.faq-list details[open] .faq-plus::after { transform: scaleY(0); }

/* ---------- closing invite ---------- */
.page-landing .invite-section { background: var(--l-bg); color: var(--l-ink); padding: 120px 0 140px; }
.page-landing .invite-section .section-kicker { color: var(--l-muted); }
.cta-line {
  margin: 0; max-width: 1100px; font-size: clamp(28px, 4vw, 44px);
  line-height: 1.15; letter-spacing: -0.045em; font-weight: 600;
}
.cta-accent { color: var(--l-accent); }
.cta-input {
  display: inline-block; width: 9em; height: 1.45em; margin: 0 0.08em;
  padding: 0 0.12em; border: 0; border-bottom: 2px solid var(--l-accent);
  background: var(--l-surface); color: var(--l-ink);
  font-family: inherit; font-size: 0.56em; font-weight: 400; letter-spacing: 0;
  vertical-align: baseline; outline: none; border-radius: 1px 1px 0 0;
}
.cta-input::placeholder { color: #777; }
.page-landing button.cta-submit {
  display: inline-flex; align-items: center; justify-content: center;
  height: 1.45em; margin-left: 0.12em; padding: 0 0.45em;
  border: 0; border-radius: 2px; background: var(--l-accent); color: var(--l-bg);
  font-family: inherit; font-size: 0.56em; font-weight: 600; letter-spacing: 0;
  vertical-align: baseline; cursor: pointer;
}
.cta-submit:hover { background: #e7ffb8; }
.cta-note { margin: 30px 0 0; max-width: 62ch; font-size: 13px; line-height: 1.6; color: var(--l-muted); }
.page-landing .notice { background: var(--l-surface); border: 1px solid #333; color: var(--l-ink); margin-bottom: 24px; }
.page-landing .notice.error { border-left: 3px solid #ff8a7a; color: #ffb4aa; }

/* ---------- footer ---------- */
.page-landing .site-footer { background: var(--l-bg); color: var(--l-ink); border-top: 0; padding: 34px 0 42px; }
.page-landing .footer-row { max-width: 1180px; }
.page-landing .footer-brand { color: var(--l-muted); }
.page-landing .footer-brand .brand-mark { border-color: var(--l-ink); color: var(--l-ink); }
.page-landing .footer-brand .brand-mark.small { width: 26px; height: 26px; font-size: 13px; }
.page-landing .footer-links { font-size: 13px; }
.page-landing .footer-links a { color: var(--l-muted); }
.page-landing .footer-links a:hover { color: var(--l-ink); }
.page-landing .footer-legal { border-top: 0; padding-top: 0; max-width: 1180px; }
.page-landing .footer-legal p { color: #9a9a9a; font-size: 13px; max-width: 60ch; }

/* ---------- motion / reveal ---------- */
@keyframes l-mask-up { from { transform: translateY(112%); } to { transform: translateY(0); } }
@keyframes l-fade-up { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes l-stage-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .hero-title .line > span, .hero-lede, .hero-actions, .stage-card.is-active { animation: none !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .hero-pane-dark { padding: 26px 30px 36px; }
  .hero-pane-lime { padding: 30px; }
  .coverage-row { grid-template-columns: 210px minmax(0, 1fr) 230px 20px; gap: 18px; }
  .pinned-grid { gap: 40px; }
  .pinned-stage { min-height: 480px; padding: 28px; }
}
@media (max-width: 900px) {
  .hero-split { grid-template-columns: 1fr; min-height: auto; }
  .pricing-table { min-width: 680px; }
  .hero-pane-lime { order: -1; min-height: 58svh; align-items: center; }
  .hero-pane-dark { min-height: auto; }
  .gate-console { width: min(450px, 84vw); }
  .landing-brand > span:last-child { display: none; }
  .stage-card { width: 100%; }
  .pinned-heading { margin-bottom: 28px; }
  .boundary-list { grid-template-columns: 1fr; }
  .faq-split { grid-template-columns: 1fr; gap: 36px; }
  .faq-head { position: static; }
  .coverage-row { grid-template-columns: 1fr 20px; }
  .coverage-desc { grid-column: 1 / 3; }
  .coverage-tags { grid-column: 1 / 3; }
  .coverage-arrow { grid-column: 2; grid-row: 1; }
  .runtime-strip { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .page-landing { font-size: 16px; }
  .hero-pane-dark { padding: 20px 20px 36px; }
  .landing-bar-right { display: none; }
  .hero-pane-lime { min-height: 48svh; padding: 20px; }
  .hero-edge { right: 20px; bottom: 14px; font-size: 13px; }
  .pipeline-strip { padding: 14px 20px; }
  .pinned-grid { display: flex; flex-direction: column; gap: 0; }
  .pinned-stage {
    order: -1; position: static;
    min-height: 0; padding: 20px;
  }
  .pinned-copy { padding-top: 28px; }
  .boundary-split { grid-template-columns: 1fr; gap: 36px; }
  .landing-bar-right { gap: 16px; }
  .landing-link { font-size: 12px; }
  .hero-pane-inner { padding-top: 44px; }
  .hero-title { font-size: clamp(34px, 10vw, 46px); }
  .hero-lede { font-size: 16px; }
  .gate-console { width: min(450px, 80vw); padding: 18px; }
  .console-top { font-size: 13px; }
  .console-note { font-size: 13px; }
  .console-status { font-size: 28px; }
  .gate-row { grid-template-columns: 20px 26px 1fr 54px; font-size: 12px; }
  .command-section, .pinned-section, .coverage-section, .boundary-section,
  .pricing-section, .faq-section { padding: 64px 0; }
  .page-landing .invite-section { padding: 76px 0 88px; }
  .command-search { font-size: 20px; padding: 14px 12px; }
  .command-name { font-size: 8.6vw; }
  .command-key { width: 24px; height: 24px; font-size: 9px; }
  .command-desc { padding: 10px 0 18px; }
  .command-text { font-size: 16px; }
  .command-facts { grid-template-columns: 1fr; gap: 10px; }
  .page-landing .section-head h2, .pinned-heading, .boundary-split h2, .faq-head h2 { font-size: 34px; }
  .page-landing .section-lede { font-size: 15px; }
  .step-block h3 { font-size: 22px; }
  .pinned-stage { padding: 18px; }
  .stage-card { padding: 18px; }
  .stage-row { grid-template-columns: 1fr 88px 54px; font-size: 11px; }
  .boundary-list { grid-template-columns: 1fr; }
  .pricing-wrap { overflow: visible; }
  .pricing-table { display: block; min-width: 0; font-size: 14px; }
  .pricing-table thead { display: none; }
  .pricing-table tbody, .pricing-table tr, .pricing-table td { display: block; }
  .pricing-table tr { padding: 10px 0; border-bottom: 1px solid #d8d8cf; }
  .pricing-table td { border: 0; padding: 6px 0; display: flex; justify-content: space-between; gap: 16px; }
  .pricing-table td::before { content: attr(data-label); color: var(--l-paper-muted); font-size: 13px; }
  .pricing-table tbody td:first-child { width: auto; display: block; font-size: 14px; font-weight: 600; }
  .pricing-table tbody td:first-child::before { content: ""; }
  .pricing-table .pricing-cta-row td { display: block; }
  .pricing-table .pricing-cta-row td::before { display: block; margin-bottom: 8px; }
  .cell-price { font-size: 24px; }
  .faq-list summary { font-size: 16px; padding: 16px 18px; }
  .faq-list details p { font-size: 15px; padding: 0 18px 18px; }
  .cta-line { font-size: 24px; line-height: 1.35; }
  .cta-input { display: block; width: 100%; margin: 16px 0 0; font-size: 16px; height: 44px; }
  .page-landing button.cta-submit { display: flex; width: 100%; margin: 10px 0 0; font-size: 16px; height: 46px; }
  .cta-note { margin-top: 22px; font-size: 12px; }
}

