/* ===== Probvs — investor overview design system (light / purple) ===== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700&family=Space+Grotesk:wght@500;600;700&family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --bg: #fbfaff;
  --card: #ffffff;
  --card-border: #e7e2f2;
  --text: #201a33;
  --text-muted: #635c78;
  --text-faint: #928da3;
  --accent: #7c3aed;
  --accent-2: #c026d3;
  --accent-3: #9333ea;
  --green: #15803d;
  --amber: #b45309;
  --red: #b91c1c;
  --gradient: linear-gradient(120deg, var(--accent) 0%, var(--accent-2) 100%);
  --radius: 12px;
  --max: 980px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  background-image:
    radial-gradient(ellipse 700px 400px at 10% -5%, rgba(124,58,237,0.06), transparent 60%),
    radial-gradient(ellipse 700px 400px at 100% 0%, rgba(192,38,211,0.05), transparent 60%);
  background-attachment: fixed;
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-weight: 600;
  line-height: 1.18;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
  color: var(--text);
}

p { margin: 0 0 1em; color: var(--text-muted); }
a { color: inherit; text-decoration: none; }
code, .mono { font-family: 'JetBrains Mono', monospace; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 28px; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251,250,255,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--card-border);
}
.nav-inner {
  max-width: var(--max); margin: 0 auto; padding: 16px 28px;
  display: flex; align-items: center; justify-content: space-between;
}
.logo {
  font-family: 'Cinzel', 'Space Grotesk', serif; font-weight: 600; font-size: 18px;
  letter-spacing: 0.08em; display: flex; align-items: center; gap: 9px;
}
.logo .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gradient); }
.nav-links { display: flex; gap: 2px; }
.nav-links a {
  padding: 7px 14px; border-radius: 7px; font-size: 14px; font-weight: 500;
  color: var(--text-muted); transition: color .15s, background .15s; white-space: nowrap;
}
.nav-links a:hover { color: var(--text); background: rgba(124,58,237,0.06); }
.nav-links a.active { color: var(--accent); background: rgba(124,58,237,0.08); }
.nav-links a.nav-signout { color: var(--text-faint); margin-left: 6px; padding-left: 12px; border-left: 1px solid var(--card-border); }
.nav-links a.nav-signout:hover { color: var(--red); background: rgba(185,28,28,0.06); }

.nav-toggle {
  display: none; background: none; border: none; cursor: pointer; padding: 6px;
  flex-direction: column; gap: 4px; justify-content: center; align-items: center;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { padding: 64px 28px 40px; max-width: var(--max); margin: 0 auto; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase;
  color: var(--accent-3); background: rgba(124,58,237,0.07);
  border: 1px solid rgba(124,58,237,0.18); padding: 5px 12px; border-radius: 100px;
  margin-bottom: 18px;
}
.badge-wip {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase;
  color: #b45309; background: rgba(245,158,11,0.12);
  border: 1px solid rgba(245,158,11,0.35); padding: 5px 12px; border-radius: 100px;
  margin-bottom: 18px; margin-left: 10px;
}
.hero h1 { font-size: 38px; max-width: 720px; }
.hero h1 .grad {
  background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .lead { font-size: 16.5px; max-width: 600px; color: var(--text-muted); margin-top: 14px; }

/* ---------- Sections ---------- */
section.block { padding: 40px 28px; max-width: var(--max); margin: 0 auto; border-top: 1px solid var(--card-border); }
.section-tag { font-size: 12px; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.section-title { font-size: 24px; max-width: 620px; }
.section-sub { font-size: 14.5px; color: var(--text-muted); max-width: 580px; margin-top: 6px; }

/* ---------- Cards / Grid ---------- */
.grid { display: grid; gap: 16px; margin-top: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--card); border: 1px solid var(--card-border); border-radius: var(--radius);
  padding: 20px; box-shadow: 0 1px 2px rgba(32,26,51,0.03);
}
.card h3 { font-size: 15.5px; margin-bottom: 6px; }
.card p { font-size: 14px; margin-bottom: 0; }

/* ---------- Stats (inline, minimal) ---------- */
.stat-row { display: flex; gap: 32px; flex-wrap: wrap; margin-top: 4px; }
.stat .num {
  font-family: 'Space Grotesk', sans-serif; font-size: 26px; font-weight: 700;
  background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat .label { font-size: 12.5px; color: var(--text-faint); margin-top: 2px; }

/* ---------- Table ---------- */
table { width: 100%; border-collapse: collapse; margin-top: 20px; font-size: 14px; }
th, td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--card-border); }
th { color: var(--text-faint); font-weight: 600; font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.03em; }
td { color: var(--text-muted); }
td.strong, th.strong { color: var(--text); font-weight: 600; }
.tag { display: inline-block; padding: 3px 9px; border-radius: 100px; font-size: 11px; font-weight: 600; }
.tag-live { background: rgba(21,128,61,0.08); color: var(--green); border: 1px solid rgba(21,128,61,0.2); }
.tag-next { background: rgba(180,83,9,0.08); color: var(--amber); border: 1px solid rgba(180,83,9,0.2); }
.tag-future { background: rgba(147,51,234,0.06); color: var(--text-faint); border: 1px solid var(--card-border); }
.tag-tbd { background: rgba(185,28,28,0.06); color: var(--red); border: 1px solid rgba(185,28,28,0.18); }
.tag-employed { background: rgba(124,58,237,0.08); color: var(--accent); border: 1px solid rgba(124,58,237,0.22); }

/* ---------- Matrix table (product grid) ---------- */
table.matrix td, table.matrix th { vertical-align: top; }
table.matrix td.group { font-weight: 600; color: var(--text); background: rgba(124,58,237,0.03); }
table.matrix td.detail { background: rgba(124,58,237,0.025); }
table.matrix th { position: sticky; top: 57px; background: var(--bg); }
.legend { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 16px; font-size: 13px; color: var(--text-muted); }
.legend .dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 6px; }
.legend .dot.g { background: var(--green); }
.legend .dot.a { background: var(--amber); }
.legend .dot.n { background: var(--text-faint); }

/* ---------- Bridge graphic (D2D <-> Probvs <-> D2C) ---------- */
.bridge { display: flex; align-items: center; gap: 0; margin-top: 40px; }
.bridge-side { flex: 1; display: flex; flex-direction: column; gap: 8px; }
.bridge-label { font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-faint); margin-bottom: 6px; }
.bridge-pill {
  background: var(--card); border: 1px solid var(--card-border); border-radius: 8px;
  padding: 10px 14px; font-size: 13.5px; font-weight: 500; text-align: center;
  box-shadow: 0 1px 2px rgba(32,26,51,0.03);
}
.bridge-line { flex: 0 0 44px; height: 2px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); align-self: center; }
.bridge-node-wrap { flex: 0 0 130px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.bridge-node {
  width: 108px; height: 108px; border-radius: 50%;
  background: var(--gradient); color: #fff;
  font-family: 'Cinzel', serif; font-weight: 600; letter-spacing: 0.06em; font-size: 15px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 28px rgba(124,58,237,0.28);
}
.bridge-caption { font-size: 12px; color: var(--text-faint); text-align: center; line-height: 1.4; }

/* ---------- TAM bar chart ---------- */
.tam-summary { display: flex; align-items: baseline; gap: 12px; margin-top: 4px; }
.tam-summary .num { font-family: 'Space Grotesk', sans-serif; font-size: 34px; font-weight: 700; background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tam-summary .label { font-size: 13px; color: var(--text-faint); }
.tam-chart { display: flex; flex-direction: column; gap: 14px; margin-top: 26px; }
.tam-bar-row { display: flex; align-items: center; gap: 14px; }
.tam-bar-label { flex: 0 0 190px; font-size: 13px; color: var(--text-muted); }
.tam-bar-track { flex: 1; background: var(--card-border); border-radius: 6px; height: 12px; overflow: hidden; display: flex; }
.tam-bar-fill { height: 100%; border-radius: 6px; background: var(--gradient); }
.tam-bar-fill-d2d { height: 100%; background: #fb923c; }
.tam-bar-fill-d2c { height: 100%; background: #4ade80; }
.tam-bar-value { flex: 0 0 64px; text-align: right; font-weight: 700; font-size: 13.5px; color: var(--text); font-family: 'Space Grotesk', sans-serif; }
.tam-legend { display: flex; gap: 18px; margin-top: 18px; font-size: 12.5px; color: var(--text-muted); }
.tam-legend .dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 6px; }
.tam-legend .dot.d2d { background: #fb923c; }
.tam-legend .dot.d2c { background: #4ade80; }
@media (max-width: 640px) {
  .tam-bar-label { flex-basis: 120px; font-size: 12px; }
}

/* ---------- Informational dot list ---------- */
.dotlist { list-style: none; margin: 10px 0 0; padding: 0; }
.dotlist li { position: relative; padding-left: 16px; padding-bottom: 10px; font-size: 13.5px; color: var(--text-muted); line-height: 1.55; }
.dotlist li:last-child { padding-bottom: 0; }
.dotlist li::before { content: ''; position: absolute; left: 0; top: 7px; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.dotlist strong { color: var(--text); font-weight: 600; }

/* ---------- Pros / cons list (platform cards) ---------- */
.proscons { list-style: none; margin: 10px 0 0; padding: 0; }
.proscons li { display: flex; gap: 8px; padding: 6px 0; font-size: 13.5px; color: var(--text-muted); }
.proscons .mark { font-weight: 700; flex-shrink: 0; width: 14px; }
.proscons li.plus .mark { color: var(--green); }
.proscons li.minus .mark { color: var(--red); }
.proscons li.none { color: var(--text-faint); }
.proscons li.none .mark { color: var(--text-faint); }

/* ---------- Comparison ---------- */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.compare .col { border-radius: var(--radius); padding: 20px; border: 1px solid var(--card-border); background: var(--card); }
.compare .col.good { border-color: rgba(124,58,237,0.25); background: rgba(124,58,237,0.03); }
.compare h3 { font-size: 14.5px; margin-bottom: 14px; }
.compare ul { margin: 0; padding: 0; list-style: none; }
.compare li { display: flex; gap: 8px; padding: 8px 0; font-size: 13.5px; color: var(--text-muted); border-top: 1px solid var(--card-border); }
.compare li:first-of-type { border-top: none; }
.compare .mark { flex-shrink: 0; font-weight: 700; }
.compare .col.bad .mark { color: var(--red); }
.compare .col.good .mark { color: var(--accent); }

/* ---------- Code block ---------- */
.codeblock {
  background: #1c1730; border: 1px solid #2c2547; border-radius: 10px;
  padding: 16px 18px; font-family: 'JetBrains Mono', monospace; font-size: 12.5px;
  color: #d8d2e8; overflow-x: auto; margin-top: 14px; line-height: 1.7;
}
.codeblock .k { color: #c084fc; }
.codeblock .s { color: #fbbf24; }
.codeblock .c { color: #8b83a3; }

/* ---------- Two-col layout ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }

/* ---------- List with numbers ---------- */
.numlist { margin-top: 18px; }
.numlist .item { display: flex; gap: 14px; padding: 14px 0; border-top: 1px solid var(--card-border); }
.numlist .item:first-child { border-top: none; }
.numlist .n {
  flex-shrink: 0; width: 24px; height: 24px; border-radius: 7px;
  background: rgba(124,58,237,0.08); border: 1px solid rgba(124,58,237,0.2);
  color: var(--accent); font-weight: 700; font-size: 12px;
  display: flex; align-items: center; justify-content: center;
  counter-increment: item;
}
.numlist { counter-reset: item; }
.numlist .n::before { content: counter(item); }
.numlist h4 { font-size: 14.5px; margin-bottom: 3px; }
.numlist p { font-size: 13.5px; margin: 0; }

/* ---------- Footer ---------- */
footer { border-top: 1px solid var(--card-border); padding: 28px; margin-top: 20px; }
.footer-inner { max-width: var(--max); margin: 0 auto; display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--text-faint); }
.footer-inner .flinks { display: flex; gap: 18px; }
.footer-inner a:hover { color: var(--text-muted); }
.disclaimer { max-width: var(--max); margin: 0 auto 16px; padding: 0 28px; font-size: 11.5px; color: var(--text-faint); border-top: 1px solid var(--card-border); padding-top: 16px; }

/* ---------- View toggle (List / Day One) ---------- */
.view-toggle {
  display: inline-flex; gap: 4px; background: var(--card); border: 1px solid var(--card-border);
  border-radius: 10px; padding: 4px; margin-top: 22px;
}
.view-toggle-btn {
  border: none; background: transparent; padding: 8px 18px; border-radius: 7px;
  font-size: 13.5px; font-weight: 600; color: var(--text-muted); cursor: pointer;
  font-family: 'Inter', sans-serif;
}
.view-toggle-btn.active { background: var(--gradient); color: #fff; }
.view-toggle-btn:not(.active):hover { background: rgba(124,58,237,0.06); color: var(--text); }
.view-panel { margin-top: 24px; }

/* ---------- World map (currency coverage, dot-matrix style) ---------- */
.worldmap-wrap { margin-top: 8px; margin-bottom: 32px; }
.worldmap-wrap svg { width: 100%; height: auto; display: block; }
.worldmap-dot { fill: rgba(124,58,237,0.28); }
.worldmap-pin-dot { fill: url(#pinGrad); }
.worldmap-pin-ring { fill: none; stroke: var(--accent); stroke-width: 1.5; opacity: 0.4; }
.worldmap-pin-label {
  font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 15px;
  fill: var(--text);
}

/* ---------- Box flow (D2D — Probvs — D2C) ---------- */
.box-flow { display: flex; align-items: center; gap: 0; margin-top: 36px; }
.box-flow-item {
  flex: 1; background: var(--card); border: 1px solid var(--card-border); border-radius: var(--radius);
  padding: 30px 20px; text-align: center; box-shadow: 0 1px 2px rgba(32,26,51,0.03);
}
.box-flow-item h3 { font-family: 'Space Grotesk', sans-serif; font-size: 17px; font-weight: 700; color: var(--text); margin: 0; }
.box-flow-item.hub {
  background: var(--gradient); border: none; flex: 0 0 34%;
  box-shadow: 0 10px 28px rgba(124,58,237,0.25);
}
.box-flow-item.hub h3 { font-family: 'Cinzel', serif; color: #fff; font-size: 22px; letter-spacing: 0.08em; font-weight: 600; }
.box-flow-connector { flex: 0 0 48px; height: 2px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); }
@media (max-width: 640px) {
  .box-flow { flex-direction: column; }
  .box-flow-item, .box-flow-item.hub { flex: 0 0 auto; width: 100%; }
  .box-flow-connector { width: 2px; height: 28px; background: linear-gradient(180deg, var(--accent), var(--accent-2)); }
}

/* ---------- Feature box (large header + caption) ---------- */
.feature-box {
  background: var(--card); border: 1px solid var(--card-border); border-radius: var(--radius);
  padding: 30px 24px; text-align: center; box-shadow: 0 1px 2px rgba(32,26,51,0.03);
}
.feature-box h3 {
  font-family: 'Space Grotesk', sans-serif; font-size: 21px; font-weight: 700;
  color: var(--text); margin-bottom: 8px; line-height: 1.2;
}
.feature-box p { font-size: 13px; color: var(--text-muted); margin: 0; }
.group-label {
  font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em;
  color: var(--text-faint); margin-bottom: 4px;
}

/* ---------- AI flow (AI hub — Onboarding / QA / SDR) ---------- */
.ai-flow { display: flex; align-items: center; gap: 0; margin-top: 8px; }
.ai-flow-hub {
  flex: 0 0 110px; height: 110px; border-radius: 50%;
  background: var(--gradient); color: #fff;
  font-family: 'Cinzel', serif; font-weight: 600; letter-spacing: 0.06em; font-size: 16px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 28px rgba(124,58,237,0.28);
}
.ai-flow-items { flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 640px) {
  .ai-flow { flex-direction: column; }
  .ai-flow-hub { margin-bottom: 0; }
  .ai-flow-items { grid-template-columns: 1fr; width: 100%; }
}

/* ---------- Compact example table ---------- */
.example-block {
  background: rgba(124,58,237,0.02); border: 1px solid var(--card-border); border-radius: var(--radius);
  padding: 18px 20px; margin-top: 16px;
}
.example-group-label {
  font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em;
  color: var(--text-faint); margin-bottom: 6px;
}
.example-group-label:not(:first-child) { margin-top: 18px; }
table.example-table { width: 100%; border-collapse: collapse; margin-top: 0; font-size: 11.5px; }
table.example-table th, table.example-table td { padding: 5px 9px; border-bottom: 1px solid var(--card-border); }
table.example-table th {
  font-size: 9.5px; text-transform: uppercase; letter-spacing: 0.03em; color: var(--text-faint); font-weight: 600;
}
table.example-table td { color: var(--text-muted); font-family: 'JetBrains Mono', monospace; font-size: 11px; }
table.example-table td.strong {
  color: var(--text); font-weight: 600; font-family: 'Inter', sans-serif; font-size: 11.5px;
  white-space: nowrap; background: rgba(124,58,237,0.035);
}
table.example-table tr:last-child td { border-bottom: none; }

/* ---------- Questions disclosure (click to reveal) ---------- */
.qa-toggle { margin-top: 10px; }
.qa-toggle summary {
  cursor: pointer; font-size: 12.5px; font-weight: 600; color: var(--accent);
  list-style: none; display: inline-flex; align-items: center; gap: 5px;
}
.qa-toggle summary::-webkit-details-marker { display: none; }
.qa-toggle summary::before { content: '+'; font-weight: 700; }
.qa-toggle[open] summary::before { content: '–'; }
.qa-toggle .dotlist { margin-top: 10px; }

/* ---------- Pipes diagram (system connections) ---------- */
.pipes-wrap { margin-top: 8px; margin-bottom: 8px; }
.pipes-wrap svg { width: 100%; height: auto; display: block; }
.pipes-node { fill: var(--card); stroke: var(--card-border); stroke-width: 1.5; }
.pipes-node-dashed { fill: var(--card); stroke: var(--text-faint); stroke-width: 1.5; stroke-dasharray: 5 4; }
.pipes-node-app { fill: url(#pipesAppGrad); }
.pipes-node-app-outline { fill: rgba(124,58,237,0.045); stroke: var(--accent); stroke-width: 2; }
.pipes-label-title { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 15px; fill: var(--text); }
.pipes-app-label { font-family: 'Cinzel', serif; font-weight: 600; font-size: 22px; letter-spacing: 0.06em; fill: #fff; }
.pipes-app-label-outline { font-family: 'Cinzel', serif; font-weight: 600; font-size: 19px; letter-spacing: 0.06em; fill: var(--accent); }
.pipes-label-sub { font-family: 'Inter', sans-serif; font-size: 10.5px; fill: var(--text-faint); }
.pipes-edge { fill: none; stroke: var(--accent); stroke-width: 2; }
.pipes-edge-vendor { fill: none; stroke: var(--amber); stroke-width: 2; }
.pipes-edge-label-bg { fill: var(--bg); }
.pipes-edge-label { font-family: 'Inter', sans-serif; font-size: 11px; fill: var(--text-muted); }
.pipes-arrow { fill: var(--accent); }
.pipes-arrow-vendor { fill: var(--amber); }
.pipes-legend { display: flex; gap: 22px; margin-top: 14px; font-size: 12.5px; color: var(--text-muted); flex-wrap: wrap; align-items: center; }
.pipes-legend .swatch { display: inline-block; width: 22px; height: 10px; border-radius: 3px; margin-right: 7px; vertical-align: middle; }
.pipes-legend .swatch.solid { background: var(--card); border: 1.5px solid var(--card-border); }
.pipes-legend .swatch.dashed { background: var(--card); border: 1.5px dashed var(--text-faint); }
.pipes-legend .swatch.app { background: var(--gradient); border: none; }
.pipes-legend .line { display: inline-block; width: 22px; height: 2px; margin-right: 7px; vertical-align: middle; }
.pipes-legend .line.internal { background: var(--accent); }
.pipes-legend .line.vendor { background: var(--amber); }

/* ---------- Placeholder (content pending) ---------- */
.placeholder {
  border: 1.5px dashed var(--card-border); border-radius: var(--radius);
  padding: 36px 28px; text-align: center; color: var(--text-faint);
  font-size: 13.5px; margin-top: 22px; background: rgba(124,58,237,0.015);
}
.placeholder strong { color: var(--text-muted); font-weight: 600; }

/* ---------- Password gate ---------- */
#probvs-gate {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.probvs-gate-box {
  background: var(--card); border: 1px solid var(--card-border); border-radius: var(--radius);
  padding: 40px 36px; text-align: center; max-width: 340px; width: 100%;
  box-shadow: 0 10px 40px rgba(32,26,51,0.08);
}
.probvs-gate-logo {
  font-family: 'Cinzel', serif; font-weight: 600; font-size: 20px; letter-spacing: 0.08em; margin-bottom: 14px;
  background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.probvs-gate-box p { font-size: 13.5px; color: var(--text-muted); margin-bottom: 18px; }
#probvs-gate-input, .probvs-gate-field {
  width: 100%; padding: 10px 12px; border-radius: 8px; border: 1px solid var(--card-border);
  font-family: 'Inter', sans-serif; font-size: 14px; margin-bottom: 12px; box-sizing: border-box;
  display: block;
}
#probvs-gate-btn {
  width: 100%; padding: 10px 12px; border-radius: 8px; border: none; background: var(--gradient);
  color: #fff; font-weight: 600; font-size: 14px; cursor: pointer; font-family: 'Inter', sans-serif;
}
.probvs-gate-error { color: var(--red); font-size: 12.5px; margin-top: 10px; min-height: 14px; }

/* ---------- Cost calculator ---------- */
table.cost-table td, table.cost-table th { vertical-align: middle; }
table.cost-table tfoot td { border-bottom: none; border-top: 2px solid var(--card-border); padding-top: 13px; }
table.cost-table thead th { position: sticky; top: 57px; background: var(--bg); }

.calc-input {
  width: 100%; max-width: 130px; padding: 7px 9px; border-radius: 7px; border: 1px solid var(--card-border);
  font-family: 'Inter', sans-serif; font-size: 13.5px; font-variant-numeric: tabular-nums; color: var(--text);
  background: rgba(124,58,237,0.03); transition: border-color .15s, background .15s;
}
.calc-input:focus { outline: none; border-color: var(--accent); background: #fff; }

.gantt-wrap { overflow-x: auto; margin-top: 28px; padding-bottom: 6px; }
.gantt-grid { display: grid; gap: 3px; min-width: 900px; }
.gantt-head {
  font-size: 10.5px; color: var(--text-faint); text-align: center; padding-bottom: 4px;
  font-family: 'JetBrains Mono', monospace;
}
.gantt-label {
  font-size: 12.5px; color: var(--text); font-weight: 600; display: flex; align-items: center;
  padding-right: 10px; white-space: nowrap;
}
.gantt-cell { height: 20px; border-radius: 4px; background: rgba(124,58,237,0.04); }
.gantt-cell-start { background: var(--gradient); }
.gantt-cell-active { background: rgba(124,58,237,0.28); }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .compare, .split { grid-template-columns: 1fr; }
  .hero h1 { font-size: 30px; }
  .nav-inner { position: relative; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.open {
    display: flex; flex-direction: column; gap: 2px;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--bg); border-bottom: 1px solid var(--card-border);
    padding: 8px 20px 18px; box-shadow: 0 10px 24px rgba(32,26,51,0.08);
  }
  .nav-links.open a { padding: 11px 10px; }
  .bridge { flex-direction: column; }
  .bridge-line { width: 2px; height: 32px; flex: 0 0 32px; background: linear-gradient(180deg, var(--accent), var(--accent-2)); }
  .bridge-side { width: 100%; }
}
