/* === Door Optic landing page === */
:root {
  --accent: #0a7c5a;
  --accent-deep: #0a6a4d;
  --accent-soft: #e6f3ee;
  --accent-tint: #f3faf6;
  --ink: #0a1014;
  --ink-2: #1f2a30;
  --muted: #5b6b73;
  --muted-2: #8b9aa1;
  --line: #e6e9ec;
  --line-2: #f0f2f5;
  --bg: #faf9f6;
  --bg-2: #ffffff;
  --bg-3: #f4f3ee;
  --danger: #c44b3c;
  --warn: #b87a18;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-card: 0 1px 0 rgba(10,16,20,.04), 0 18px 40px -22px rgba(10,16,20,.18);
  --shadow-lift: 0 30px 60px -30px rgba(10,16,20,.30), 0 8px 24px -12px rgba(10,16,20,.12);
}

[data-theme="dark"] {
  --ink: #f4f6f5;
  --ink-2: #d8dedb;
  --muted: #95a3a8;
  --muted-2: #6b7a80;
  --line: #1f262a;
  --line-2: #161c20;
  --bg: #0a0f12;
  --bg-2: #0f151a;
  --bg-3: #131a1f;
  --accent-soft: #0e2820;
  --accent-tint: #0a181323;
  --shadow-card: 0 1px 0 rgba(0,0,0,.5), 0 18px 40px -22px rgba(0,0,0,.7);
  --shadow-lift: 0 40px 80px -30px rgba(0,0,0,.8), 0 8px 24px -12px rgba(0,0,0,.6);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  font-feature-settings: 'ss01', 'ss02', 'cv11';
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: -0.005em;
  overflow-x: hidden;
}
.mono { font-family: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, monospace; font-feature-settings: normal; letter-spacing: 0; }

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; font-size: inherit; color: inherit; }

/* ===== Layout ===== */
.shell { max-width: 1240px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 720px) { .shell { padding: 0 20px; } }

/* ===== Nav ===== */
.nav {
  position: sticky; top: 0; z-index: 60;
  background: color-mix(in oklab, var(--bg) 86%, transparent);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav-inner { display: flex; align-items: center; gap: 32px; height: 64px; }
.nav-inner > nav { display: flex; gap: 28px; margin-left: 12px; }
.nav-inner > nav a {
  font-size: 14px; color: var(--muted); font-weight: 500;
  transition: color .15s ease;
}
.nav-inner > nav a:hover { color: var(--ink); }
.nav-spacer { flex: 1; }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-cta .ghost { font-size: 14px; color: var(--ink-2); font-weight: 500; }

/* ===== Logo ===== */
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); }
.brand-mark {
  width: 26px; height: 26px; border-radius: 8px;
  background: var(--ink); color: var(--bg);
  display: grid; place-items: center; position: relative;
  overflow: hidden;
}
.brand-mark::before {
  content: ""; position: absolute; inset: 5px; border-radius: 50%;
  border: 2px solid var(--bg); border-right-color: transparent;
}
.brand-mark::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 2px; height: 2px; background: var(--accent); border-radius: 50%;
  transform: translate(-50%,-50%);
  box-shadow: 0 0 0 3px var(--bg);
}
.brand-wm { font-weight: 700; font-size: 17px; letter-spacing: -0.02em; }
.brand-wm .opt { color: var(--accent); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  height: 40px; padding: 0 16px; border-radius: 999px;
  font-size: 14px; font-weight: 600; letter-spacing: -0.01em;
  border: 1px solid transparent; transition: transform .12s ease, background .15s, box-shadow .15s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--ink); color: var(--bg); }
.btn-primary:hover { background: var(--accent); color: #fff; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-deep); }
.btn-ghost { background: transparent; color: var(--ink-2); border-color: var(--line); }
.btn-ghost:hover { background: var(--bg-2); border-color: var(--ink-2); color: var(--ink); }
.btn-lg { height: 48px; padding: 0 22px; font-size: 15px; }
.btn-arrow { display: inline-flex; align-items: center; gap: 6px; }
.btn-arrow svg { transition: transform .2s ease; }
.btn:hover .btn-arrow svg { transform: translateX(3px); }

/* ===== Hero ===== */
.hero { padding: 56px 0 64px; position: relative; }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center;
}
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; gap: 40px; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  height: 30px; padding: 0 12px 0 8px; border-radius: 999px;
  background: var(--bg-2); border: 1px solid var(--line);
  font-size: 12px; font-weight: 500; color: var(--muted);
  letter-spacing: 0.01em;
}
.eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--accent) 18%, transparent);
  animation: pulse 2.2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px color-mix(in oklab, var(--accent) 18%, transparent); }
  50% { box-shadow: 0 0 0 6px color-mix(in oklab, var(--accent) 4%, transparent); }
}

.h1 {
  font-size: clamp(40px, 5.4vw, 68px);
  line-height: 1.02; letter-spacing: -0.035em;
  font-weight: 700; margin: 22px 0 0;
  color: var(--ink); text-wrap: balance;
}
.h1 .em {
  font-style: italic; font-weight: 500;
  font-family: 'Instrument Serif', 'Geist', serif;
  color: var(--accent);
  letter-spacing: -0.02em;
}
.h1 .strike { position: relative; color: var(--muted); }
.h1 .strike::after {
  content: ""; position: absolute; left: -2%; right: -2%; top: 55%;
  height: 4px; background: var(--accent); transform: rotate(-2deg);
}

.lede {
  font-size: 18px; line-height: 1.55; color: var(--muted);
  margin: 22px 0 0; max-width: 540px;
}
.lede strong { color: var(--ink); font-weight: 600; }

.hero-cta { display: flex; align-items: center; gap: 14px; margin: 32px 0 0; flex-wrap: wrap; }
.hero-foot {
  display: flex; align-items: center; gap: 18px; margin: 28px 0 0;
  font-size: 13px; color: var(--muted);
}
.hero-foot .sep { width: 1px; height: 14px; background: var(--line); }
.hero-foot .check { color: var(--accent); }

/* ===== Lead Card (hero) ===== */
.lead-stage {
  position: relative;
  padding: 18px;
  border-radius: var(--radius-lg);
  background: linear-gradient(170deg, var(--bg-3) 0%, var(--bg) 100%);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.lead-stage::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--line-2) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-2) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  opacity: .6;
}
.lead-card {
  position: relative; z-index: 1;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 22px 18px;
  box-shadow: var(--shadow-lift);
}
.lead-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.lead-name {
  font-size: 17px; font-weight: 700; letter-spacing: -0.015em;
  color: var(--ink); display: inline-flex; align-items: center; gap: 8px;
}
.lead-name .badge-new {
  font-family: 'Geist Mono', monospace; font-size: 10px;
  background: var(--accent-soft); color: var(--accent);
  padding: 3px 7px; border-radius: 5px; font-weight: 500;
  letter-spacing: 0.05em;
}
.lead-addr { font-size: 13px; color: var(--muted); margin-top: 4px; }

.score-display {
  text-align: right; flex-shrink: 0;
  display: flex; align-items: baseline; gap: 4px;
}
.score-num {
  font-size: 44px; font-weight: 700; letter-spacing: -0.04em;
  color: var(--accent); line-height: 1; font-variant-numeric: tabular-nums;
  font-feature-settings: 'tnum';
}
.score-pts { font-family: 'Geist Mono', monospace; font-size: 11px; color: var(--accent); font-weight: 500; }

.lead-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.tag {
  font-family: 'Geist Mono', monospace; font-size: 10px;
  padding: 4px 8px; border-radius: 5px;
  font-weight: 500; letter-spacing: 0.04em;
  border: 1px solid transparent;
}
.tag-danger { background: #fdecea; color: #b3382b; border-color: #f5d3ce; }
.tag-warn { background: #fef3e0; color: #8a5910; border-color: #f5dcb5; }
.tag-info { background: #eef2fa; color: #2f4f9a; border-color: #d8e1f4; }
.tag-neutral { background: #f1f3f5; color: #43525a; border-color: var(--line); }
.tag-mute { background: #ede9f7; color: #5a3d8e; border-color: #ddd4ee; }

[data-theme="dark"] .tag-danger { background: #2a1614; color: #e89789; border-color: #3d201a; }
[data-theme="dark"] .tag-warn { background: #2a2010; color: #e5c382; border-color: #3d2e16; }
[data-theme="dark"] .tag-info { background: #161e2e; color: #92acdc; border-color: #1f2840; }
[data-theme="dark"] .tag-neutral { background: #1a2024; color: #95a3a8; border-color: var(--line); }
[data-theme="dark"] .tag-mute { background: #221b30; color: #b29ddb; border-color: #2e2540; }

.score-breakdown {
  margin-top: 16px; padding-top: 16px;
  border-top: 1px dashed var(--line);
}
.sb-label {
  font-family: 'Geist Mono', monospace; font-size: 10px;
  color: var(--muted); letter-spacing: 0.08em; font-weight: 500;
}
.sb-rows { margin-top: 10px; }
.sb-row {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 13px; padding: 6px 0; gap: 12px;
  border-bottom: 1px solid var(--line-2);
}
.sb-row:last-child { border-bottom: 0; }
.sb-row .left { color: var(--ink-2); }
.sb-row .right {
  font-family: 'Geist Mono', monospace; font-weight: 500;
  color: var(--accent); font-size: 12px;
}
.sb-total {
  display: flex; justify-content: space-between; padding-top: 10px;
  font-size: 13px; font-weight: 600;
}
.sb-total .right {
  font-family: 'Geist Mono', monospace; color: var(--accent);
}

.lead-action {
  margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line-2);
  display: flex; align-items: center; gap: 10px;
}
.draft-btn {
  display: inline-flex; align-items: center; gap: 8px;
  height: 36px; padding: 0 14px; border-radius: 8px;
  background: var(--accent-soft); color: var(--accent);
  font-size: 13px; font-weight: 600; border: 1px solid color-mix(in oklab, var(--accent) 20%, transparent);
}
.draft-btn:hover { background: color-mix(in oklab, var(--accent) 14%, var(--bg-2)); }
.status-pill {
  display: inline-flex; align-items: center; gap: 8px; height: 36px;
  padding: 0 12px; border-radius: 8px;
  border: 1px solid var(--line); background: var(--bg-2);
  font-size: 13px; color: var(--muted);
}
.status-pill .dot-g { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* tiny stack callouts around the lead card */
.lead-stage .float {
  position: absolute; z-index: 2;
  font-family: 'Geist Mono', monospace; font-size: 10px;
  letter-spacing: 0.05em; color: var(--muted);
  background: var(--bg-2); border: 1px solid var(--line);
  padding: 6px 10px; border-radius: 6px;
  box-shadow: var(--shadow-card);
}
.lead-stage .float.tl { top: 22px; left: 14px; transform: rotate(-3deg); }
.lead-stage .float.br { bottom: 22px; right: 14px; transform: rotate(2deg); }
.lead-stage .float .v { color: var(--ink); font-weight: 600; }

/* ===== Logo strip ===== */
.logos {
  display: flex; align-items: center; gap: 40px; flex-wrap: wrap;
  padding: 36px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  margin: 56px 0 0;
}
.logos .label {
  font-family: 'Geist Mono', monospace; font-size: 11px; color: var(--muted);
  letter-spacing: 0.08em; text-transform: uppercase; flex-shrink: 0;
}
.logo-pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 15px; color: var(--muted-2);
  letter-spacing: -0.01em;
  transition: color .15s ease;
}
.logo-pill:hover { color: var(--ink-2); }
.logo-pill .glyph { font-family: 'Geist Mono', monospace; font-size: 14px; color: inherit; opacity: .7; }

/* ===== Section ===== */
.section { padding: 96px 0; position: relative; }
.section-eyebrow {
  font-family: 'Geist Mono', monospace; font-size: 12px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent); font-weight: 500;
  display: flex; align-items: center; gap: 12px;
}
.section-eyebrow::before {
  content: ""; width: 24px; height: 1px; background: var(--accent);
}
.section-title {
  font-size: clamp(32px, 3.6vw, 48px);
  line-height: 1.08; letter-spacing: -0.03em;
  font-weight: 700; margin: 14px 0 0; max-width: 720px;
  text-wrap: balance;
}
.section-title .em {
  font-style: italic; font-weight: 500;
  font-family: 'Instrument Serif', serif; color: var(--accent);
}
.section-lede {
  font-size: 17px; line-height: 1.55; color: var(--muted);
  margin: 18px 0 0; max-width: 580px;
}

/* ===== Stats strip ===== */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: var(--bg-2); overflow: hidden;
}
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat {
  padding: 28px 28px;
  border-right: 1px solid var(--line);
  position: relative;
}
.stat:last-child { border-right: 0; }
@media (max-width: 760px) {
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--line); }
}
.stat-n {
  font-size: 44px; font-weight: 700; letter-spacing: -0.035em;
  line-height: 1; color: var(--ink);
}
.stat-n .unit { font-size: 22px; color: var(--accent); margin-left: 2px; }
.stat-l {
  font-size: 13px; color: var(--muted); margin-top: 12px;
  line-height: 1.4;
}
.stat-k { font-family: 'Geist Mono', monospace; font-size: 10px; color: var(--muted-2); letter-spacing: 0.08em; }

/* ===== How it works ===== */
.steps {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  margin-top: 48px;
}
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

.step {
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px 22px 24px;
  position: relative; min-height: 280px;
  display: flex; flex-direction: column; gap: 14px;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.step:hover { transform: translateY(-2px); border-color: var(--ink-2); box-shadow: var(--shadow-card); }
.step-n {
  font-family: 'Geist Mono', monospace; font-size: 12px;
  color: var(--accent); font-weight: 500;
  letter-spacing: 0.08em;
}
.step-vis {
  height: 110px; border-radius: 10px; background: var(--accent-tint);
  border: 1px solid var(--line-2);
  display: grid; place-items: center; position: relative; overflow: hidden;
}
.step h3 {
  font-size: 18px; font-weight: 600; letter-spacing: -0.015em;
  margin: 0; color: var(--ink);
}
.step p { font-size: 14px; line-height: 1.5; color: var(--muted); margin: 0; }

/* viz styles */
.viz-mono {
  font-family: 'Geist Mono', monospace; font-size: 11px;
  color: var(--ink-2); line-height: 1.6;
}
.viz-bars { display: flex; align-items: flex-end; gap: 4px; height: 60px; }
.viz-bars .b { width: 8px; background: var(--accent); border-radius: 2px 2px 0 0; opacity: .8; }
.viz-pill {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 8px;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 999px;
  font-family: 'Geist Mono', monospace; font-size: 10px; color: var(--ink-2);
}
.viz-pill .d { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }

/* ===== Score deep dive ===== */
.deep {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center;
  margin-top: 48px;
}
@media (max-width: 900px) { .deep { grid-template-columns: 1fr; gap: 32px; } }
.deep-points { display: grid; gap: 20px; margin: 28px 0 0; }
.deep-pt {
  display: flex; gap: 14px; padding: 18px 18px; border-radius: var(--radius);
  background: var(--bg-2); border: 1px solid var(--line);
}
.deep-pt .num {
  font-family: 'Geist Mono', monospace; font-size: 12px; color: var(--accent);
  width: 36px; flex-shrink: 0; font-weight: 500;
}
.deep-pt h4 { margin: 0; font-size: 15px; font-weight: 600; color: var(--ink); letter-spacing: -0.01em; }
.deep-pt p { margin: 6px 0 0; font-size: 13.5px; color: var(--muted); line-height: 1.5; }

/* Score gauge visual */
.gauge {
  position: relative; background: var(--bg-2);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 32px; box-shadow: var(--shadow-card);
}
.gauge-row { display: flex; align-items: center; justify-content: space-between; }
.gauge-title { font-size: 13px; color: var(--muted); font-family: 'Geist Mono', monospace; letter-spacing: 0.06em; }
.gauge-big {
  font-size: 96px; font-weight: 700; letter-spacing: -0.05em; color: var(--accent);
  line-height: 1; font-variant-numeric: tabular-nums;
  display: flex; align-items: baseline; gap: 8px;
}
.gauge-big .pts { font-size: 18px; color: var(--muted); font-family: 'Geist Mono', monospace; font-weight: 500; letter-spacing: 0; }
.gauge-bar {
  margin: 22px 0 6px; height: 8px; border-radius: 999px;
  background: var(--line-2); position: relative; overflow: hidden;
}
.gauge-bar-fill {
  position: absolute; left: 0; top: 0; bottom: 0;
  background: linear-gradient(90deg, #b87a18, var(--accent));
  border-radius: 999px;
  transition: width 1.2s cubic-bezier(.2,.7,.2,1);
}
.gauge-scale {
  display: flex; justify-content: space-between;
  font-family: 'Geist Mono', monospace; font-size: 10px; color: var(--muted);
  margin-top: 4px;
}
.gauge-rows { margin-top: 24px; display: grid; gap: 1px; background: var(--line-2); border-radius: 10px; overflow: hidden; }
.gauge-rows .gr {
  display: grid; grid-template-columns: 1fr auto auto;
  gap: 12px; padding: 14px 16px; background: var(--bg-2);
  align-items: center; font-size: 13px;
}
.gauge-rows .gr .src { font-family: 'Geist Mono', monospace; font-size: 10px; color: var(--muted-2); }
.gauge-rows .gr .pt {
  font-family: 'Geist Mono', monospace; font-size: 12px; font-weight: 600;
  color: var(--accent); min-width: 28px; text-align: right;
}

/* ===== Email card ===== */
.email-card {
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px 24px;
  box-shadow: var(--shadow-card);
  position: relative;
}
.email-head {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 14px; border-bottom: 1px dashed var(--line);
}
.email-head .from { font-size: 12px; color: var(--muted); font-family: 'Geist Mono', monospace; }
.email-head .meta { font-size: 11px; color: var(--muted-2); font-family: 'Geist Mono', monospace; }
.email-subj { font-size: 15px; font-weight: 600; margin: 14px 0 8px; color: var(--ink); }
.email-body { font-size: 14px; color: var(--ink-2); line-height: 1.6; }
.email-body .highlight { background: color-mix(in oklab, var(--accent) 18%, transparent); padding: 0 3px; border-radius: 3px; }
.email-actions {
  margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line-2);
  display: flex; gap: 8px;
}

/* ===== Product showcase ===== */
.showcase {
  position: relative; margin-top: 48px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--bg-2);
  box-shadow: var(--shadow-lift);
  overflow: hidden;
}
.showcase-chrome {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-3);
}
.chrome-dots { display: flex; gap: 6px; }
.chrome-dots span {
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--line);
}
.chrome-bar {
  flex: 1; height: 26px; border-radius: 7px;
  background: var(--bg-2); border: 1px solid var(--line);
  display: flex; align-items: center; gap: 8px; padding: 0 12px;
  font-family: 'Geist Mono', monospace; font-size: 11px; color: var(--muted);
}
.chrome-bar .lock { color: var(--accent); }
/* Showcase image wrapper supports cqw-based overlays */
.showcase-img-wrap {
  position: relative;
  container-type: inline-size;
  background: #ffffff;
  isolation: isolate;
}
.showcase-img { width: 100%; display: block; }

/* ===== Mock Dashboard (replaces the real screenshot) ===== */
.mockdash {
  container-type: inline-size;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Geist', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 1.05cqw;
  line-height: 1.4;
}
[data-theme="dark"] .mockdash { background: #0f151a; }
.md-topbar {
  display: flex; align-items: center; gap: 1cqw;
  padding: 1.1cqw 1.6cqw;
  border-bottom: 0.06cqw solid var(--line);
  background: var(--bg-2);
}
.md-logo {
  width: 2.2cqw; height: 2.2cqw; border-radius: 0.5cqw;
  background: var(--ink); display: grid; place-items: center; position: relative; flex-shrink: 0;
}
.md-logo::before {
  content: ""; position: absolute; inset: 0.4cqw; border-radius: 50%;
  border: 0.18cqw solid var(--bg); border-right-color: transparent;
}
.md-logo::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 0.2cqw; height: 0.2cqw;
  background: var(--accent); border-radius: 50%;
  box-shadow: 0 0 0 0.18cqw var(--bg);
  transform: translate(-50%,-50%);
}
.md-title { font-size: 1.25cqw; font-weight: 700; letter-spacing: -0.02em; }
.md-county {
  display: inline-flex; align-items: center; gap: 0.4cqw;
  height: 2.2cqw; padding: 0 0.9cqw;
  background: var(--bg-2); border: 0.06cqw solid var(--line);
  border-radius: 0.5cqw; font-size: 0.95cqw; color: var(--ink);
  font-weight: 500;
}
.md-county::after { content: "▾"; color: var(--muted-2); font-size: 0.7cqw; margin-left: 0.4cqw; }
.md-topright {
  margin-left: auto; display: flex; align-items: center; gap: 1.2cqw;
  font-size: 0.9cqw; color: var(--muted);
}
.md-topright .ico {
  width: 1.1cqw; height: 1.1cqw; display: inline-grid; place-items: center;
  color: var(--muted-2);
}
.md-topright .admin { color: var(--ink); font-weight: 500; display: inline-flex; align-items: center; gap: 0.3cqw; }
.md-sample {
  font-family: 'Geist Mono', monospace; font-size: 0.65cqw;
  background: #fef3e0; color: #8a5910;
  border: 0.06cqw solid #f5dcb5;
  padding: 0.2cqw 0.45cqw; border-radius: 0.3cqw;
  font-weight: 600; letter-spacing: 0.1em;
}
[data-theme="dark"] .md-sample { background: #2a2010; color: #e5c382; border-color: #3d2e16; }

.md-stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  padding: 1.4cqw 1.6cqw 1.2cqw;
  gap: 1.2cqw;
}
.md-stat {
  background: var(--bg-2); border: 0.06cqw solid var(--line);
  border-radius: 0.7cqw;
  padding: 1.1cqw 1.2cqw;
}
.md-stat .n { font-size: 2.4cqw; font-weight: 700; letter-spacing: -0.04em; line-height: 1; }
.md-stat .n .pts { font-size: 1.0cqw; color: var(--accent); font-weight: 500; margin-left: 0.2cqw; }
.md-stat .l { font-size: 0.95cqw; color: var(--muted); margin-top: 0.5cqw; }

.md-tabs {
  display: flex; gap: 2.2cqw; padding: 0 1.6cqw;
  border-bottom: 0.06cqw solid var(--line);
}
.md-tab {
  padding: 1.0cqw 0; font-size: 1.0cqw; color: var(--muted);
  font-weight: 500; position: relative;
  display: inline-flex; align-items: center; gap: 0.5cqw;
}
.md-tab .badge {
  font-size: 0.75cqw; padding: 0.15cqw 0.45cqw; border-radius: 0.3cqw;
  background: var(--line-2); color: var(--muted);
  font-family: 'Geist Mono', monospace; font-weight: 500;
}
.md-tab.active { color: var(--ink); font-weight: 600; }
.md-tab.active .badge { background: var(--ink-2); color: var(--bg); }
.md-tab.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -0.06cqw;
  height: 0.16cqw; background: var(--ink);
}

.md-body {
  display: grid; grid-template-columns: 19cqw 1fr 15cqw;
  gap: 0; min-height: 38cqw;
}
.md-list {
  border-right: 0.06cqw solid var(--line);
  padding: 1.0cqw 1.0cqw 1.0cqw 1.6cqw;
  background: var(--bg);
  overflow: hidden;
}
.md-search {
  height: 2.1cqw; border-radius: 0.5cqw;
  background: var(--bg-2); border: 0.06cqw solid var(--line);
  padding: 0 0.8cqw; display: flex; align-items: center; gap: 0.5cqw;
  font-size: 0.92cqw; color: var(--muted-2);
}
.md-filters {
  display: grid; grid-template-columns: 1fr 1fr 0.7fr; gap: 0.5cqw;
  margin-top: 0.6cqw;
}
.md-filter {
  height: 1.9cqw; padding: 0 0.5cqw;
  background: var(--bg-2); border: 0.06cqw solid var(--line);
  border-radius: 0.4cqw; font-size: 0.85cqw; color: var(--ink-2);
  display: flex; align-items: center; justify-content: space-between;
}
.md-filter::after { content: "▾"; color: var(--muted-2); font-size: 0.7cqw; }
.md-records {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 0.7cqw; padding-bottom: 0.6cqw;
  font-size: 0.82cqw; color: var(--muted-2);
  font-family: 'Geist Mono', monospace;
}

.md-leadcard {
  background: var(--bg-2); border: 0.06cqw solid var(--line);
  border-radius: 0.55cqw; padding: 0.8cqw 0.9cqw;
  margin-bottom: 0.6cqw;
  position: relative;
}
.md-leadcard.selected {
  background: color-mix(in oklab, var(--accent) 6%, var(--bg-2));
  border-color: var(--accent);
  box-shadow: inset 0.18cqw 0 0 var(--accent);
}
.md-leadcard-head {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 0.5cqw;
}
.md-leadcard-name {
  font-size: 0.92cqw; font-weight: 700; letter-spacing: -0.01em;
  display: inline-flex; align-items: center; gap: 0.4cqw;
}
.md-leadcard-name .dot {
  width: 0.45cqw; height: 0.45cqw; border-radius: 50%; background: #10b981;
  flex-shrink: 0;
}
.md-leadcard-loc { font-size: 0.78cqw; color: var(--muted); margin-top: 0.15cqw; font-weight: 500; }
.md-leadcard-score {
  text-align: right; flex-shrink: 0;
  font-family: 'Geist Mono', monospace;
}
.md-leadcard-score .n { font-size: 1.0cqw; font-weight: 600; color: var(--accent); }
.md-leadcard-score .r { font-size: 0.72cqw; color: var(--muted-2); }
.md-leadcard-owner { font-size: 0.85cqw; color: var(--ink-2); margin-top: 0.45cqw; font-weight: 500; }
.md-leadcard-contact { font-size: 0.78cqw; color: var(--muted); margin-top: 0.1cqw; }
.md-leadcard-tags {
  display: flex; flex-wrap: wrap; gap: 0.25cqw; margin-top: 0.5cqw;
}
.md-tag {
  font-family: 'Geist Mono', monospace; font-size: 0.65cqw;
  padding: 0.18cqw 0.4cqw; border-radius: 0.25cqw;
  letter-spacing: 0.05em; font-weight: 500;
}
.md-tag.danger { background: #fdecea; color: #b3382b; }
.md-tag.warn { background: #fef3e0; color: #8a5910; }
.md-tag.ok { background: #e5f4ec; color: #1b6e4a; }
.md-tag.neutral { background: #f1f3f5; color: #43525a; }
.md-tag.mute { background: #ede9f7; color: #5a3d8e; }
[data-theme="dark"] .md-tag.danger { background: #2a1614; color: #e89789; }
[data-theme="dark"] .md-tag.warn { background: #2a2010; color: #e5c382; }
[data-theme="dark"] .md-tag.ok { background: #102218; color: #6dd2a9; }
[data-theme="dark"] .md-tag.neutral { background: #1a2024; color: #95a3a8; }
[data-theme="dark"] .md-tag.mute { background: #221b30; color: #b29ddb; }
.md-leadcard-status {
  margin-top: 0.5cqw;
  height: 1.6cqw; padding: 0 0.5cqw;
  background: color-mix(in oklab, var(--accent) 8%, var(--bg-2));
  border: 0.06cqw solid color-mix(in oklab, var(--accent) 20%, transparent);
  border-radius: 0.35cqw;
  font-size: 0.75cqw; color: var(--muted);
  display: flex; align-items: center;
}
.md-leadcard-status::after { content: "▾"; margin-left: auto; font-size: 0.6cqw; }

/* Center detail */
.md-detail {
  padding: 1.4cqw 1.6cqw;
  border-right: 0.06cqw solid var(--line);
}
.md-detail-head {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 0.6cqw;
}
.md-detail-name {
  font-size: 1.3cqw; font-weight: 700; letter-spacing: -0.02em;
  display: inline-flex; align-items: center; gap: 0.45cqw;
  white-space: nowrap;
}
.md-detail-name .badge {
  font-family: 'Geist Mono', monospace; font-size: 0.65cqw;
  background: var(--accent-soft); color: var(--accent);
  padding: 0.2cqw 0.4cqw; border-radius: 0.25cqw; font-weight: 500;
  letter-spacing: 0.05em;
}
.md-detail-addr { font-size: 0.85cqw; color: var(--muted); margin-top: 0.3cqw; white-space: nowrap; }
.md-detail-addr .owner { color: var(--ink); font-weight: 600; }
.md-detail-score {
  font-family: 'Geist Mono', monospace; font-weight: 700;
  font-size: 2.0cqw; color: var(--accent); line-height: 1; white-space: nowrap;
}
.md-detail-score .pts { font-size: 0.75cqw; color: var(--accent); font-weight: 500; margin-left: 0.2cqw; }

.md-detail-contacts {
  display: flex; flex-wrap: wrap; gap: 0.5cqw; margin-top: 1.0cqw;
}
.md-pill {
  display: inline-flex; align-items: center; gap: 0.4cqw;
  height: 1.9cqw; padding: 0 0.7cqw;
  border-radius: 0.45cqw;
  font-size: 0.85cqw; font-weight: 500;
  border: 0.06cqw solid transparent;
}
.md-pill.email { background: #e8f5ef; color: var(--accent); }
[data-theme="dark"] .md-pill.email { background: #102218; color: #6dd2a9; }
.md-pill.email .check { color: inherit; }
.md-pill.phone { background: var(--bg-2); border-color: var(--line); color: var(--ink-2); }
.md-pill.tag-state { background: #fdecea; color: #b3382b; padding: 0 0.5cqw; font-family: 'Geist Mono', monospace; font-size: 0.72cqw; letter-spacing: 0.05em; }
.md-pill.tag-port { background: #ede9f7; color: #5a3d8e; padding: 0 0.5cqw; font-family: 'Geist Mono', monospace; font-size: 0.72cqw; letter-spacing: 0.05em; }
.md-pill.tag-warn { background: #fef3e0; color: #8a5910; padding: 0 0.5cqw; font-family: 'Geist Mono', monospace; font-size: 0.72cqw; letter-spacing: 0.05em; }
.md-pill.tag-neutral { background: #f1f3f5; color: #43525a; padding: 0 0.5cqw; font-family: 'Geist Mono', monospace; font-size: 0.72cqw; letter-spacing: 0.05em; }
[data-theme="dark"] .md-pill.tag-state { background: #2a1614; color: #e89789; }
[data-theme="dark"] .md-pill.tag-port { background: #221b30; color: #b29ddb; }
[data-theme="dark"] .md-pill.tag-warn { background: #2a2010; color: #e5c382; }
[data-theme="dark"] .md-pill.tag-neutral { background: #1a2024; color: #95a3a8; }
.md-pill .ico { width: 0.9cqw; height: 0.9cqw; display: inline-grid; place-items: center; }

.md-detail-actions {
  display: flex; gap: 0.6cqw; margin-top: 1.0cqw;
}
.md-action-primary {
  height: 2.0cqw; padding: 0 0.9cqw;
  background: #fef3e0; color: #8a5910;
  border: 0.06cqw solid #f5dcb5;
  border-radius: 0.4cqw; font-size: 0.85cqw; font-weight: 600;
  display: inline-flex; align-items: center; gap: 0.4cqw;
}
[data-theme="dark"] .md-action-primary { background: #2a2010; color: #e5c382; border-color: #3d2e16; }
.md-action-status {
  height: 2.0cqw; padding: 0 0.7cqw;
  background: var(--bg-2); border: 0.06cqw solid var(--line);
  border-radius: 0.4cqw; font-size: 0.85cqw; color: var(--ink);
  display: inline-flex; align-items: center; gap: 0.4cqw; font-weight: 500;
}
.md-action-status::after { content: "▾"; color: var(--muted-2); font-size: 0.7cqw; margin-left: 0.4cqw; }

.md-detail-grid {
  display: grid; grid-template-columns: 1.05fr 1fr;
  gap: 1.5cqw; margin-top: 1.3cqw;
}
.md-section-label {
  font-family: 'Geist Mono', monospace; font-size: 0.7cqw;
  color: var(--muted); letter-spacing: 0.08em; font-weight: 500;
  display: inline-flex; align-items: center; gap: 0.3cqw;
}
.md-section-label .qmark {
  width: 0.85cqw; height: 0.85cqw; border-radius: 50%;
  background: var(--line); color: var(--muted-2);
  font-size: 0.6cqw; display: inline-grid; place-items: center;
}
.md-props { margin-top: 0.6cqw; }
.md-prop {
  display: flex; align-items: center; gap: 0.4cqw;
  font-size: 0.85cqw; padding: 0.3cqw 0;
  color: var(--ink-2); white-space: nowrap;
}
.md-prop .home { color: var(--muted-2); font-size: 0.85cqw; }
.md-prop .vac {
  font-family: 'Geist Mono', monospace; font-size: 0.7cqw;
  background: #fef3e0; color: #8a5910;
  padding: 0.15cqw 0.4cqw; border-radius: 0.25cqw;
  letter-spacing: 0.03em;
}
[data-theme="dark"] .md-prop .vac { background: #2a2010; color: #e5c382; }

.md-breakdown { margin-top: 0.6cqw; }
.md-br-row {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.85cqw; padding: 0.4cqw 0;
  border-bottom: 0.04cqw solid var(--line-2);
  gap: 0.6cqw;
}
.md-br-row:last-of-type { border-bottom: 0; }
.md-br-row .pt {
  font-family: 'Geist Mono', monospace; font-weight: 500;
  color: var(--accent);
}
.md-br-total {
  display: flex; justify-content: space-between;
  padding-top: 0.6cqw; margin-top: 0.4cqw;
  font-weight: 600; font-size: 0.95cqw;
  border-top: 0.06cqw solid var(--line);
}
.md-br-total .pt { font-family: 'Geist Mono', monospace; color: var(--accent); }

.md-mailing {
  margin-top: 1.6cqw;
}
.md-mailing-addr { font-size: 0.95cqw; font-weight: 700; margin-top: 0.4cqw; }

/* Right map placeholder */
.md-map {
  position: relative; overflow: hidden;
  background: linear-gradient(120deg, #eef0e7 0%, #e5e8df 60%, #d8dccf 100%);
}
[data-theme="dark"] .md-map { background: linear-gradient(120deg, #1a1e1a 0%, #15191a 100%); }
.md-map::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 30% 40%, rgba(10,124,90,0.15) 0%, transparent 30%),
    radial-gradient(circle at 60% 70%, rgba(10,124,90,0.18) 0%, transparent 25%),
    linear-gradient(135deg, transparent 49%, rgba(0,0,0,0.04) 50%, transparent 51%),
    linear-gradient(45deg, transparent 49%, rgba(0,0,0,0.03) 50%, transparent 51%);
  background-size: 100% 100%, 100% 100%, 8cqw 8cqw, 11cqw 11cqw;
}
.md-mapdot {
  position: absolute; border-radius: 50%;
  background: color-mix(in oklab, var(--accent) 70%, white);
  border: 0.18cqw solid white;
  box-shadow: 0 0 0 0.12cqw color-mix(in oklab, var(--accent) 30%, transparent);
}
.md-mapcity {
  position: absolute;
  font-family: 'Geist Mono', monospace;
  font-size: 1.0cqw; font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.1em;
  opacity: 0.6;
}
.md-maplabel {
  position: absolute; bottom: 0.5cqw; right: 0.5cqw;
  background: rgba(255,255,255,0.85);
  font-family: 'Geist Mono', monospace; font-size: 0.65cqw;
  color: #43525a;
  padding: 0.2cqw 0.4cqw; border-radius: 0.25cqw;
}
[data-theme="dark"] .md-maplabel { background: rgba(20,28,32,0.85); color: var(--muted); }

.showcase-callouts {
  position: absolute; pointer-events: none;
}
.callout {
  position: absolute; pointer-events: auto;
  background: var(--ink); color: var(--bg);
  font-family: 'Geist Mono', monospace; font-size: 10px;
  padding: 6px 10px; border-radius: 6px; font-weight: 500;
  letter-spacing: 0.04em; white-space: nowrap;
  box-shadow: var(--shadow-card);
}
.callout::before {
  content: ""; position: absolute; width: 8px; height: 8px;
  background: var(--ink); transform: rotate(45deg);
}

/* ===== Testimonials ===== */
.tgrid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  margin-top: 48px;
}
@media (max-width: 900px) { .tgrid { grid-template-columns: 1fr; } }
.tcard {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px 22px;
  display: flex; flex-direction: column; gap: 16px;
}
.tcard .quote {
  font-size: 17px; line-height: 1.5; color: var(--ink-2); letter-spacing: -0.01em;
  font-weight: 500; flex: 1;
}
.tcard .quote .hl { background: var(--accent-soft); padding: 0 4px; border-radius: 3px; color: var(--accent-deep); font-weight: 600; }
[data-theme="dark"] .tcard .quote .hl { color: #6dd2a9; }
.tcard-foot {
  display: flex; align-items: center; gap: 12px; padding-top: 16px;
  border-top: 1px solid var(--line-2);
}
.avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, #cbd5dc, #9aa5ad);
  color: white; display: grid; place-items: center;
  font-weight: 600; font-size: 13px; flex-shrink: 0;
}
.tcard-foot .name { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.tcard-foot .role { font-size: 12px; color: var(--muted); }
.tcard-foot .res {
  margin-left: auto; font-family: 'Geist Mono', monospace; font-size: 11px;
  color: var(--accent); font-weight: 500;
}

/* ===== CTA / demo form ===== */
.cta-block {
  background: var(--ink);
  color: var(--bg);
  border-radius: 28px;
  padding: 64px 56px;
  position: relative; overflow: hidden;
  margin: 48px 0 0;
}
[data-theme="dark"] .cta-block { background: var(--bg-2); border: 1px solid var(--line); }
.cta-block::before {
  content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: 50%;
  background-image: radial-gradient(circle at 30% 50%, color-mix(in oklab, var(--accent) 35%, transparent) 0%, transparent 60%);
  pointer-events: none;
}
.cta-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; position: relative; }
@media (max-width: 880px) { .cta-grid { grid-template-columns: 1fr; gap: 32px; } .cta-block { padding: 44px 32px; } }

.cta-block .section-eyebrow { color: color-mix(in oklab, var(--accent) 60%, white); }
.cta-block .section-eyebrow::before { background: color-mix(in oklab, var(--accent) 60%, white); }
.cta-block h2 {
  color: var(--bg); font-size: clamp(28px, 3.4vw, 42px);
  letter-spacing: -0.03em; line-height: 1.05;
  font-weight: 700; margin: 14px 0 0;
}
[data-theme="dark"] .cta-block h2 { color: var(--ink); }
.cta-block h2 .em {
  font-style: italic; font-weight: 500; font-family: 'Instrument Serif', serif;
  color: color-mix(in oklab, var(--accent) 50%, white);
}
.cta-block p {
  font-size: 16px; color: color-mix(in oklab, var(--bg) 75%, transparent);
  margin: 18px 0 0; max-width: 460px; line-height: 1.55;
}
[data-theme="dark"] .cta-block p { color: var(--muted); }

.cta-bullets { display: grid; gap: 14px; margin: 26px 0 0; }
.cta-bullets li {
  list-style: none; display: flex; align-items: center; gap: 10px;
  font-size: 14px; color: color-mix(in oklab, var(--bg) 80%, transparent);
}
[data-theme="dark"] .cta-bullets li { color: var(--ink-2); }
.cta-bullets li svg { color: var(--accent); flex-shrink: 0; }

/* form */
.form-card {
  background: var(--bg-2); color: var(--ink);
  border-radius: 18px; padding: 28px 28px 24px;
  position: relative;
}
.form-card .form-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 22px;
}
.form-head .ttl { font-size: 16px; font-weight: 600; letter-spacing: -0.015em; }
.form-head .est {
  font-family: 'Geist Mono', monospace; font-size: 11px;
  background: var(--accent-soft); color: var(--accent);
  padding: 4px 8px; border-radius: 5px; font-weight: 500;
}
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label {
  font-size: 12px; color: var(--muted); font-weight: 500;
  letter-spacing: -0.005em;
}
.field input, .field select, .field textarea {
  height: 42px; padding: 0 14px; border-radius: 9px;
  border: 1px solid var(--line); background: var(--bg);
  font-size: 14px; outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { height: auto; padding: 12px 14px; resize: vertical; min-height: 80px; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--accent) 18%, transparent);
}
.field.error input, .field.error select, .field.error textarea {
  border-color: var(--danger);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 560px) {
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .cta-block { padding: 36px 22px; border-radius: 22px; }
  .form-card { padding: 22px 20px; }
}
.field-err { color: var(--danger); font-size: 11px; margin-top: 2px; }

.submit-btn {
  width: 100%; height: 48px; border-radius: 12px;
  background: var(--ink); color: var(--bg);
  border: 0; font-weight: 600; font-size: 15px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  transition: background .15s ease;
}
[data-theme="dark"] .submit-btn { background: var(--accent); color: white; }
.submit-btn:hover { background: var(--accent); color: white; }
.submit-btn:disabled { opacity: .6; cursor: not-allowed; }
.form-foot {
  margin-top: 10px; font-size: 11.5px; color: var(--muted);
  text-align: center;
}

/* Success state */
.form-success {
  text-align: center; padding: 32px 16px;
}
.form-success .check {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--accent-soft); color: var(--accent);
  display: grid; place-items: center; margin: 0 auto 18px;
}
.form-success h3 { font-size: 20px; font-weight: 700; letter-spacing: -0.02em; margin: 0; }
.form-success p { font-size: 14px; color: var(--muted); margin: 8px 0 0; }
.form-success .meta {
  margin-top: 18px; font-family: 'Geist Mono', monospace; font-size: 11px;
  color: var(--muted-2);
  padding: 10px 12px; background: var(--bg); border-radius: 8px;
  border: 1px solid var(--line);
}

/* ===== Footer ===== */
footer {
  border-top: 1px solid var(--line); padding: 56px 0 36px; margin-top: 80px;
}
.foot-grid {
  display: grid; grid-template-columns: 2fr 1fr; gap: 40px;
  align-items: start;
}
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr; gap: 32px; } }
.foot-grid h5 {
  font-family: 'Geist Mono', monospace; font-size: 11px;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted-2); font-weight: 500; margin: 0 0 14px;
}
.foot-grid li { list-style: none; margin: 8px 0; }
.foot-grid ul { margin: 0; padding: 0; }
.foot-grid a {
  font-size: 14px; color: var(--ink-2);
}
.foot-grid a:hover { color: var(--accent); }
.foot-tag { font-size: 14px; color: var(--muted); margin: 16px 0 0; max-width: 280px; line-height: 1.5; }
.foot-bottom {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line);
  font-size: 12px; color: var(--muted);
}

/* ===== Misc ===== */
.fade-in { animation: fadein .5s ease both; }
@keyframes fadein {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

[data-theme="dark"] .brand-mark { background: var(--ink); color: var(--bg-2); }
[data-theme="dark"] .brand-mark::before { border-color: var(--bg-2); border-right-color: transparent; }
[data-theme="dark"] .brand-mark::after { box-shadow: 0 0 0 3px var(--bg-2); }
