:root {
  --accent: #E8704A;
  --accent-soft: #FBEBE3;
  --accent-ink: #B5492B;
  --ink: #0E1116;
  --ink-2: #3A4150;
  --ink-3: #6B7486;
  --ink-4: #9BA3B3;
  --line: #E7E9EE;
  --line-2: #EFF1F5;
  --bg: #FAFAF7;
  --bg-card: #FFFFFF;
  --bg-tint: #F4F3EE;
  --navy: #1C2333;
  --good: #2E7D5B;
  --warn: #B5492B;
  --radius: 10px;
  --radius-lg: 16px;
  --ff-sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --ff-mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --ff-serif: "Instrument Serif", "Times New Roman", serif;
  --max: 1240px;
  --gutter: 32px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--ff-sans);
  color: var(--ink);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "ss01", "cv11";
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
h1,h2,h3,h4 { margin: 0; font-weight: 500; letter-spacing: -0.02em; line-height: 1.05; }
p { margin: 0; }

/* Layout */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 120px 0; position: relative; }
.section--compact { padding: 80px 0; }
.section--tinted { background: var(--bg-tint); }
.section--dark { background: var(--navy); color: #F2F3F5; }
.section--dark .mono-label { color: #9BA3B3; }

/* Mono label */
.mono-label {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 500;
}
.mono-label .num { color: var(--accent); margin-right: 10px; }

/* Typography scale */
.display {
  font-size: clamp(48px, 6.5vw, 92px);
  letter-spacing: -0.035em;
  line-height: 0.98;
  font-weight: 400;
}
.h1 {
  font-size: clamp(36px, 4.4vw, 64px);
  letter-spacing: -0.028em;
  line-height: 1.02;
  font-weight: 400;
}
.h2 { font-size: clamp(24px, 2.2vw, 32px); letter-spacing: -0.02em; font-weight: 500; line-height: 1.15; }
.h3 { font-size: 18px; font-weight: 500; letter-spacing: -0.01em; line-height: 1.3; }
.lede { font-size: clamp(17px, 1.25vw, 20px); color: var(--ink-2); line-height: 1.5; max-width: 720px; }
.small { font-size: 13px; color: var(--ink-3); }
.tiny { font-size: 12px; color: var(--ink-3); }

.serif-it { font-family: inherit; font-style: normal; font-weight: inherit; letter-spacing: inherit; }
.accent { color: var(--accent); }
.ink-2 { color: var(--ink-2); }
.ink-3 { color: var(--ink-3); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: -0.005em;
  border: 1px solid transparent;
  transition: 120ms ease;
  white-space: nowrap;
}
.btn--primary {
  background: var(--ink);
  color: #fff;
}
.btn--primary:hover { background: #000; transform: translateY(-1px); }
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn--ghost:hover { border-color: var(--ink-3); }
.btn--accent {
  background: var(--accent);
  color: #fff;
}
.btn--accent:hover { background: var(--accent-ink); }
.btn--lg { padding: 15px 26px; font-size: 15.5px; }
.btn--sm { padding: 8px 14px; font-size: 13px; }
.btn .arrow { transition: transform 200ms; }
.btn:hover .arrow { transform: translateX(3px); }

/* Card */
.card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

/* Rule */
.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

/* Dot grid background for certain sections */
.dot-bg {
  background-image: radial-gradient(var(--line) 1px, transparent 1px);
  background-size: 20px 20px;
}

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 40;
  background: rgba(250,250,247,0.82);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms, background 200ms;
}
.nav--menu-open { z-index: 120; }
.nav.scrolled { border-bottom-color: var(--line); }

/* Offset scroll anchors so sticky nav doesn't cover section tops */
:target,
section[id],
.section[id] { scroll-margin-top: 80px; }
html { scroll-behavior: smooth; }
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.nav__brand { display: flex; align-items: center; gap: 10px; }
.nav__logo { height: 22px; display: block; }
.nav__beta {
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-ink);
  background: var(--accent-soft);
  padding: 3px 7px;
  border-radius: 4px;
  font-weight: 500;
}
.nav__links { display: flex; gap: 28px; }
.nav__links a { font-size: 14px; color: var(--ink-2); }
.nav__links a:hover { color: var(--ink); }
.nav__actions { display: flex; align-items: center; gap: 10px; }
.nav__menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  padding: 0;
  flex: 0 0 auto;
}
.nav__menu-toggle span {
  width: 16px;
  height: 1.5px;
  border-radius: 999px;
  background: var(--ink);
  display: block;
}
.nav__mobile-panel {
  display: none;
  padding-top: 0;
  padding-bottom: 16px;
  z-index: 110;
}
.nav__mobile-panel-inner {
  padding-top: 0;
  padding-bottom: 16px;
}
.nav__mobile-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.nav__mobile-links a {
  padding: 12px 0;
  font-size: 15px;
  color: var(--ink);
  border-bottom: 1px solid var(--line-2);
}
.nav__mobile-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 14px;
}
@media (max-width: 640px) {
  .nav--menu-open {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: rgba(250,250,247,0.98);
    border-bottom-color: var(--line);
  }
  .nav__inner { gap: 12px; }
  .nav__links, .nav__actions { display: none; }
  .nav__menu-toggle { display: inline-flex; }
  .nav__brand { min-width: 0; }
  .nav__logo { max-width: 150px; width: auto; }
  .nav__mobile-panel {
    display: block;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    min-height: calc(100vh - 64px);
    height: calc(100dvh - 64px);
    background: rgba(250,250,247,0.98);
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }
  .nav__mobile-panel-inner {
    padding-top: 12px;
    padding-bottom: 24px;
  }
}
@media (max-width: 820px) { .nav__links { display: none; } }

/* Hero */
.hero { padding: 100px 0 80px; position: relative; overflow: hidden; }
.hero__kicker {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 12px 6px 8px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--ink-2);
  margin-bottom: 28px;
}
.hero__kicker .pill {
  background: var(--accent-soft); color: var(--accent-ink);
  padding: 3px 8px; border-radius: 999px; font-size: 11px; font-weight: 500;
  font-family: var(--ff-mono); letter-spacing: 0.02em;
}
.hero__h1 { max-width: 1040px; font-size: clamp(42px, 5.8vw, 80px); }
.hero__sub { margin-top: 28px; max-width: 640px; font-size: 19px; color: var(--ink-2); line-height: 1.5; }
.hero__actions { display: flex; gap: 12px; margin-top: 36px; flex-wrap: wrap; }
.hero__trust { margin-top: 56px; display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.hero__trust .item { font-size: 13px; color: var(--ink-3); display: flex; align-items: center; gap: 10px; }
.hero__trust .num { font-family: var(--ff-mono); color: var(--ink); font-size: 13px; }
@media (max-width: 640px) {
  .hero {
    padding: 40px 0 64px;
  }
  .hero__kicker {
    display: none !important;
  }
}

/* Hero visual — stacked definition card with metric chips */
.hero__visual {
  margin-top: 72px;
  position: relative;
  height: 360px;
}

/* Problem stats */
.stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.stat {
  padding: 48px 40px;
  border-right: 1px solid var(--line);
}
.stat:last-child { border-right: 0; }
.stat__num {
  font-size: clamp(48px, 5vw, 76px);
  font-weight: 300;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--ink);
}
.stat__num .unit { color: var(--accent); }
.stat__label { margin-top: 18px; font-size: 15px; color: var(--ink-2); max-width: 300px; line-height: 1.45; }
.stat__source { margin-top: 14px; font-family: var(--ff-mono); font-size: 11px; color: var(--ink-4); letter-spacing: 0.02em; }
@media (max-width: 820px) { .stats { grid-template-columns: 1fr; } .stat { border-right: 0; border-bottom: 1px solid var(--line); } .stat:last-child { border-bottom: 0; } }

/* Generations */
.gen-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; }
@media (max-width: 900px) { .gen-grid { grid-template-columns: 1fr; } }
.gen {
  padding: 32px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--line);
  position: relative;
  display: flex; flex-direction: column;
  min-height: 340px;
}
.gen--current { background: var(--ink); color: #fff; border-color: var(--ink); }
.gen--current .gen__num { color: var(--accent); }
.gen--current .gen__title { color: #fff; }
.gen--current .gen__desc { color: #B9BEC9; }
.gen--current .gen__limit { color: #6F7685; border-top-color: #2A2F3A; }
.gen--current .gen__limit .label { color: var(--accent); }
.gen__num { font-family: var(--ff-mono); font-size: 12px; color: var(--ink-3); letter-spacing: 0.06em; }
.gen__title { margin-top: 12px; font-size: 26px; letter-spacing: -0.02em; line-height: 1.1; font-weight: 500; }
.gen__desc { margin-top: 12px; color: var(--ink-2); font-size: 15px; line-height: 1.5; flex: 1; }
.gen__limit { margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line-2); font-size: 13px; color: var(--ink-3); }
.gen__limit .label { color: var(--ink); font-family: var(--ff-mono); font-size: 11px; letter-spacing: 0.06em; display: block; margin-bottom: 6px; }

/* Is/Isnt */
.isnt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 48px; }
@media (max-width: 820px) { .isnt-grid { grid-template-columns: 1fr; } }
.isnt {
  padding: 32px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.isnt--is { background: var(--ink); color: #fff; border-color: var(--ink); }
.isnt__head { font-family: var(--ff-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 20px; }
.isnt--is .isnt__head { color: var(--accent); }
.isnt__title { font-size: 22px; font-weight: 500; letter-spacing: -0.02em; line-height: 1.2; }
.isnt__list { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-direction: column; gap: 14px; }
.isnt__list li { font-size: 14.5px; line-height: 1.45; display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); }
.isnt--is .isnt__list li { color: #CACFD9; }
.isnt__list li .tick { flex: 0 0 auto; width: 18px; height: 18px; border-radius: 4px; margin-top: 1px; display: inline-flex; align-items: center; justify-content: center; }
.isnt__list .tick--no { background: #F4EEEB; color: var(--accent-ink); }
.isnt__list .tick--yes { background: var(--accent); color: #fff; }

/* Platform tabs */
.platform-tabs {
  display: inline-flex; padding: 4px; background: #fff; border: 1px solid var(--line); border-radius: 999px; gap: 4px; margin-top: 40px;
}
.platform-tab {
  padding: 9px 18px; border-radius: 999px; font-size: 13.5px; color: var(--ink-2);
  background: transparent; border: 0; font-weight: 500; transition: 120ms; display: inline-flex; align-items: center; gap: 8px;
}
.platform-tab:hover { color: var(--ink); }
.platform-tab.active { background: var(--ink); color: #fff; }
.platform-tab .idx { font-family: var(--ff-mono); font-size: 10px; opacity: 0.5; }
@media (max-width: 640px) {
  .platform-tabs {
    display: grid;
    width: 100%;
    grid-template-columns: 1fr;
    border-radius: 16px;
  }
  .platform-tab {
    width: 100%;
    justify-content: center;
    white-space: normal;
    text-align: center;
  }
}

.platform-panel {
  margin-top: 32px;
  display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; align-items: start;
  min-height: 480px;
}
.platform-panel > * { min-width: 0; }
@media (max-width: 980px) { .platform-panel { grid-template-columns: 1fr; } }
.platform-copy { min-width: 0; max-width: 100%; }
.platform-copy h2 { font-size: clamp(32px, 3.2vw, 44px); letter-spacing: -0.028em; line-height: 1.05; font-weight: 400; }
.platform-copy .lede { margin-top: 20px; }
.platform-copy .bullets { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-direction: column; gap: 14px; }
.platform-copy .bullets li { font-size: 14.5px; color: var(--ink-2); display: flex; gap: 12px; }
.platform-copy .bullets li::before { content: ""; flex: 0 0 auto; width: 14px; height: 14px; margin-top: 3px; border-radius: 3px; background: var(--accent-soft); border: 1px solid var(--accent); }
@media (max-width: 640px) {
  .platform-copy h2,
  .platform-copy .lede,
  .platform-copy .bullets,
  .platform-copy .bullets li {
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
  }
  .platform-copy h2 { font-size: 28px; line-height: 1.08; }
}

/* Canvas BI mock */
.canvas-mock {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
  min-height: 480px; display: flex; flex-direction: column;
}
.cm-chrome { padding: 12px 16px; border-bottom: 1px solid var(--line-2); display: flex; align-items: center; gap: 10px; background: #FCFCFB; }
.cm-dots { display: flex; gap: 6px; }
.cm-dots span { width: 10px; height: 10px; border-radius: 50%; background: #E7E9EE; }
.cm-title { font-family: var(--ff-mono); font-size: 11px; color: var(--ink-3); letter-spacing: 0.04em; }
.cm-body { display: grid; grid-template-columns: 200px 1fr; flex: 1; }
.cm-side { border-right: 1px solid var(--line-2); padding: 14px; background: #FCFCFB; }
.cm-search {
  font-size: 12px; color: var(--ink-3);
  padding: 7px 10px; border: 1px solid var(--line); border-radius: 6px; background: #fff; margin-bottom: 12px;
}
.cm-group { font-family: var(--ff-mono); font-size: 10px; letter-spacing: 0.06em; color: var(--ink-4); margin: 14px 0 8px; text-transform: uppercase; }
.cm-metric {
  padding: 7px 10px; border-radius: 6px; font-size: 12.5px; color: var(--ink-2);
  display: flex; align-items: center; gap: 8px; cursor: grab; user-select: none;
  transition: 120ms;
}
.cm-metric:hover { background: #fff; color: var(--ink); }
.cm-metric.dragging { background: var(--accent); color: #fff; position: fixed; z-index: 999; pointer-events: none; }
.cm-metric .tag { font-family: var(--ff-mono); font-size: 9px; padding: 2px 5px; background: var(--line-2); border-radius: 3px; color: var(--ink-3); letter-spacing: 0.04em; }
.cm-metric .tag.m { background: #E8F2EC; color: var(--good); }
.cm-metric .tag.d { background: var(--accent-soft); color: var(--accent-ink); }

.cm-canvas {
  padding: 20px;
  background:
    radial-gradient(var(--line) 0.8px, transparent 0.8px) 0 0 / 16px 16px;
  position: relative;
  min-height: 400px;
}
.cm-empty {
  position: absolute; inset: 40px; border: 1.5px dashed var(--line); border-radius: 12px;
  display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 6px;
  color: var(--ink-3); font-size: 13px; pointer-events: none;
  transition: 200ms;
}
.cm-empty.hide { opacity: 0; }
.cm-empty .arrow { font-size: 22px; color: var(--accent); }
.cm-tile {
  position: absolute; background: #fff; border: 1px solid var(--line); border-radius: 10px;
  padding: 14px;
  animation: pop 300ms cubic-bezier(.2,1.2,.3,1);
}
@keyframes pop { from { transform: scale(0.96); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.cm-tile__label { font-size: 11px; color: var(--ink-3); font-family: var(--ff-mono); letter-spacing: 0.04em; }
.cm-tile__val { font-size: 24px; font-weight: 500; letter-spacing: -0.02em; margin-top: 4px; }
.cm-tile__trend { font-size: 11px; color: var(--good); margin-top: 4px; }
.cm-tile__chart { height: 60px; margin-top: 8px; }

/* MCP */
.mcp-split { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; min-height: 480px; }
@media (max-width: 900px) { .mcp-split { grid-template-columns: 1fr; } }
.mcp-pane { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); display: flex; flex-direction: column; overflow: hidden; }
.mcp-head { padding: 14px 18px; border-bottom: 1px solid var(--line-2); display: flex; align-items: center; justify-content: space-between; }
.mcp-head .who { font-size: 13px; font-weight: 500; display: flex; align-items: center; gap: 8px; }
.mcp-head .ping { font-family: var(--ff-mono); font-size: 10px; color: var(--ink-4); letter-spacing: 0.06em; }
.mcp-body { flex: 1; padding: 18px; font-family: var(--ff-mono); font-size: 12.5px; color: var(--ink-2); line-height: 1.6; overflow: hidden; }
.mcp-body .key { color: var(--accent); }
.mcp-body .str { color: var(--good); }
.mcp-body .comment { color: var(--ink-4); }
.mcp-body .muted { color: var(--ink-3); }
.mcp-chat { padding: 18px; font-size: 14px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.mcp-msg { padding: 12px 14px; border-radius: 12px; max-width: 88%; line-height: 1.45; }
.mcp-msg--you { background: var(--ink); color: #fff; align-self: flex-end; border-bottom-right-radius: 3px; }
.mcp-msg--ai { background: var(--bg-tint); color: var(--ink); align-self: flex-start; border-bottom-left-radius: 3px; }
.mcp-msg .cite { font-family: var(--ff-mono); font-size: 10px; color: var(--accent-ink); background: var(--accent-soft); padding: 2px 6px; border-radius: 4px; margin-left: 6px; letter-spacing: 0.04em; }
.mcp-typing { display: inline-flex; gap: 3px; padding: 4px 0; }
.mcp-typing span { width: 5px; height: 5px; border-radius: 50%; background: var(--ink-4); animation: dot 1.2s infinite; }
.mcp-typing span:nth-child(2) { animation-delay: 0.2s; }
.mcp-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes dot { 0%, 60%, 100% { opacity: 0.3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }

/* Definitions table */
.def-table { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.def-table__head { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 110px; padding: 12px 20px; background: #FCFCFB; border-bottom: 1px solid var(--line-2); font-family: var(--ff-mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-4); }
.def-row { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 110px; padding: 16px 20px; border-bottom: 1px solid var(--line-2); align-items: center; gap: 12px; font-size: 14px; }
.def-row:last-child { border-bottom: 0; }
.def-row .name { font-weight: 500; display: flex; align-items: center; gap: 10px; }
.def-row .name .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--good); }
.def-row .type { font-family: var(--ff-mono); font-size: 11px; color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.06em; }
.def-row .owner { font-size: 13px; color: var(--ink-2); display: flex; align-items: center; gap: 8px; }
.def-row .owner .avatar { width: 22px; height: 22px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-ink); font-size: 10px; display: inline-flex; align-items: center; justify-content: center; font-weight: 500; }
.def-row .status { font-family: var(--ff-mono); font-size: 10px; letter-spacing: 0.06em; color: var(--good); background: #E8F2EC; padding: 3px 8px; border-radius: 4px; text-transform: uppercase; justify-self: end; }
.def-row .status.draft { color: var(--ink-3); background: var(--line-2); }
.def-expand { padding: 18px 20px; background: var(--bg-tint); border-bottom: 1px solid var(--line-2); display: grid; grid-template-columns: 1fr 1fr; gap: 24px; font-size: 13px; color: var(--ink-2); }
.def-expand h4 { font-family: var(--ff-mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-4); margin-bottom: 8px; font-weight: 500; }
.def-expand code { font-family: var(--ff-mono); font-size: 12px; color: var(--ink); background: #fff; padding: 2px 6px; border-radius: 4px; border: 1px solid var(--line-2); }
@media (max-width: 640px) {
  .def-table__head { display: none; }
  .def-row {
    grid-template-columns: 1fr;
    padding: 16px;
    gap: 8px;
  }
  .def-row .name,
  .def-row .type,
  .def-row .owner,
  .def-row .status {
    min-width: 0;
    justify-self: start;
  }
  .def-row .name { padding-right: 0; }
  .def-row .type,
  .def-row .owner,
  .def-row .status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
  }
  .def-row .type::before,
  .def-row .owner::before,
  .def-row .status::before {
    font-family: var(--ff-mono);
    font-size: 10px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink-4);
  }
  .def-row .type::before { content: "Type"; }
  .def-row .owner::before { content: "Owner"; }
  .def-row .status::before { content: "Status"; }
  .def-expand {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 16px;
  }
  .def-expand code {
    display: inline-block;
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
  }
}

/* Architecture v2 */
.arch2 {
  margin-top: 48px;
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px;
  align-items: stretch;
}
@media (max-width: 880px) { .arch2 { grid-template-columns: 1fr; } .arch2__panel { position: static; } }
.arch2__diagram {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 36px;
  display: flex; flex-direction: column; gap: 12px;
}
.arch2__group { display: flex; flex-direction: column; gap: 12px; }
.arch2__group--hero {
  background: var(--bg-tint); border-radius: 12px; padding: 16px;
}
.arch2__glabel {
  font-family: var(--ff-mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-4); text-align: center;
}
.arch2__row { display: grid; gap: 12px; }
.arch2__row--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.arch2__row--1 { grid-template-columns: 1fr; }
.arch2__flow { color: var(--ink-4); display: flex; justify-content: center; }

/* Clearmetric frame — wraps DI layer + consumption */
.arch2__cm {
  position: relative;
  border: 1.5px solid var(--ink);
  border-radius: 14px;
  padding: 28px 16px 20px;
  display: flex; flex-direction: column; gap: 12px;
  margin-top: 4px;
}
.arch2__cm-tag {
  position: absolute;
  top: -10px; left: 20px;
  background: #fff;
  padding: 0 10px;
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  font-weight: 500;
}

/* Planned pill on nodes */
.arch-node { position: relative; }
.arch-node--planned { padding-top: 22px; border-style: dashed; }
.arch-node__pill {
  position: absolute; top: 6px; left: 14px;
  font-family: var(--ff-mono);
  font-size: 9px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-3);
}
.arch-node--planned .arch-node__label { color: var(--ink-2); }

.arch-node {
  padding: 16px 14px; background: #fff; border: 1px solid var(--line); border-radius: 10px;
  text-align: left; font-family: inherit;
  cursor: pointer; transition: 160ms; position: relative;
  display: flex; flex-direction: column; gap: 4px;
  min-width: 0;
}
.arch-node:hover, .arch-node.active {
  border-color: var(--accent); transform: translateY(-1px);
  box-shadow: 0 6px 18px -10px rgba(232,112,74,0.4);
}
.arch-node__label { font-size: 13.5px; font-weight: 500; color: var(--ink); font-family: var(--ff-mono); letter-spacing: -0.01em; }
.arch-node__sub { font-size: 11px; color: var(--ink-4); font-family: var(--ff-mono); letter-spacing: 0.04em; }
.arch-node--hero { background: var(--ink); border-color: var(--ink); }
.arch-node--hero .arch-node__label { color: #fff; }
.arch-node--hero .arch-node__sub { color: var(--accent); }
.arch-node--hero:hover, .arch-node--hero.active { background: var(--ink); border-color: var(--accent); }

.arch2__panel {
  background: var(--ink); color: #fff; border-radius: var(--radius-lg);
  padding: 32px; display: flex; flex-direction: column;
  position: sticky; top: 88px; align-self: start;
  min-height: 340px;
}
.arch2__panel .mono-label { color: var(--accent); }
.arch2__panel .mono-label .num { color: var(--accent); }
.arch2__title {
  font-size: 28px; font-weight: 500; letter-spacing: -0.02em; line-height: 1.15;
  color: #fff; margin-top: 8px;
}
.arch2__desc { color: #BFC4CE; font-size: 15px; line-height: 1.55; margin-top: 14px; }
.arch2__hint { margin-top: auto; padding-top: 24px; font-family: var(--ff-mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: #6F7685; }
@media (max-width: 640px) {
  .arch2__diagram { padding: 20px; }
  .arch2__group--hero { padding: 14px; }
  .arch2__cm { padding: 24px 12px 16px; }
  .arch2__cm-tag { left: 12px; }
  .arch2__glabel { text-align: left; }
  .arch2__row--3 { grid-template-columns: 1fr; }
  .arch-node__label,
  .arch-node__sub {
    overflow-wrap: anywhere;
    word-break: break-word;
  }
}

/* Comparison v2 */
.cmp {
  margin-top: 48px;
  display: grid; grid-template-columns: 320px 1fr; gap: 24px;
  align-items: stretch;
}
@media (max-width: 820px) { .cmp { grid-template-columns: 1fr; } }
@media (min-width: 821px) and (max-width: 1080px) { .cmp { grid-template-columns: 260px 1fr; } .cmp__stage { padding: 28px; } .cmp__stage-title { font-size: 26px; } .cmp__hero2-val { font-size: 24px; } }
.cmp__rail {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 20px;
  display: flex; flex-direction: column; gap: 2px;
}
.cmp__rail-item {
  display: grid; grid-template-columns: 28px 1fr 20px; align-items: center; gap: 10px;
  text-align: left; background: transparent; border: 0;
  padding: 14px 12px; border-radius: 8px; cursor: pointer;
  font-size: 14.5px; color: var(--ink-2); font-family: inherit; font-weight: 500;
  transition: 140ms;
}
.cmp__rail-item:hover { background: var(--bg-tint); color: var(--ink); }
.cmp__rail-item.active { background: var(--ink); color: #fff; }
.cmp__rail-item.active .cmp__rail-num { color: var(--accent); }
.cmp__rail-item.active .cmp__rail-arrow { color: var(--accent); opacity: 1; }
.cmp__rail-num { font-family: var(--ff-mono); font-size: 11px; color: var(--ink-4); letter-spacing: 0.04em; }
.cmp__rail-arrow { font-family: var(--ff-mono); opacity: 0; color: var(--ink-4); transition: 140ms; text-align: right; }
.cmp__rail-item:hover .cmp__rail-arrow { opacity: 0.5; }

.cmp__stage {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 36px;
  display: flex; flex-direction: column; gap: 28px;
}
.cmp__stage-title { font-size: 32px; letter-spacing: -0.025em; font-weight: 500; line-height: 1.1; margin-top: 10px; }

.cmp__hero2 {
  display: grid; grid-template-columns: 340px 1fr; gap: 0;
  align-items: stretch;
  padding: 0;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  overflow: hidden;
}
.cmp__viz {
  display: flex; align-items: center; justify-content: center;
  padding: 20px 18px;
  border-right: 1px solid var(--line-2);
  background: linear-gradient(180deg, #FCFBF8 0%, #F8F6F0 100%);
  min-height: 260px;
}
.cmp__viz svg { width: 100%; height: auto; max-height: 240px; display: block; }
.cmp__hero2-body { display: flex; flex-direction: column; justify-content: center; padding: 32px; }
.cmp__hero2-val {
  font-size: 30px; font-weight: 500; letter-spacing: -0.025em; color: var(--ink);
  margin-top: 6px; line-height: 1.1;
}
.cmp__hero2-blurb { margin-top: 14px; color: var(--ink-3); font-size: 14.5px; line-height: 1.55; max-width: 52ch; }
@media (max-width: 700px) {
  .cmp__hero2 { grid-template-columns: 1fr; }
  .cmp__viz { border-right: 0; border-bottom: 1px solid var(--line-2); }
}
.cmp__others {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 0;
  border-top: 1px solid var(--line-2);
}
.cmp__other {
  padding: 18px 0;
  border-bottom: 1px solid var(--line-2);
  padding-right: 18px;
  display: flex; flex-direction: column; gap: 6px;
}
.cmp__other:nth-child(odd) { border-right: 1px solid var(--line-2); padding-right: 18px; }
.cmp__other:nth-child(even) { padding-left: 18px; }
.cmp__other:nth-last-child(-n+2) { border-bottom: 0; }
.cmp__other-cat { font-family: var(--ff-mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-4); }
.cmp__other-val { font-size: 15.5px; color: var(--ink-3); line-height: 1.3; }

/* ROI */
.roi-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; margin-top: 48px; align-items: start; }
@media (max-width: 900px) { .roi-grid { grid-template-columns: 1fr; } }
.roi-inputs { display: flex; flex-direction: column; gap: 28px; }
.roi-input label { font-size: 13px; color: var(--ink-2); display: flex; justify-content: space-between; align-items: baseline; font-weight: 500; }
.roi-input .val { font-family: var(--ff-mono); font-size: 15px; color: var(--accent); }
.roi-input input[type="range"] {
  width: 100%; margin-top: 10px; -webkit-appearance: none; appearance: none; height: 4px; background: var(--line); border-radius: 999px; outline: 0;
  accent-color: var(--ink);
}
.roi-input input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; background: var(--ink); border-radius: 50%; cursor: grab; border: 3px solid #fff; box-shadow: 0 0 0 1px var(--line); }
.roi-input input[type="range"]::-moz-range-thumb { width: 20px; height: 20px; background: var(--ink); border-radius: 50%; cursor: grab; border: 3px solid #fff; }
.roi-input .hint { font-size: 12px; color: var(--ink-4); margin-top: 6px; }
.roi-out { background: var(--ink); color: #fff; padding: 36px; border-radius: var(--radius-lg); }
.roi-out .mono-label { color: #6F7685; }
.roi-out__big { font-size: clamp(44px, 4.4vw, 64px); font-weight: 300; letter-spacing: -0.035em; margin-top: 12px; line-height: 1; }
.roi-out__big .accent { color: var(--accent); }
.roi-out__sub { color: #A7ADBA; font-size: 14px; margin-top: 12px; }
.roi-bucket { display: flex; justify-content: space-between; padding: 12px 0; border-top: 1px solid #2A2F3A; font-size: 13.5px; }
.roi-bucket .label { color: #CACFD9; }
.roi-bucket .val { font-family: var(--ff-mono); color: #fff; }
.roi-payback { margin-top: 24px; padding: 14px 18px; background: #2A2F3A; border-radius: 10px; font-size: 13px; color: #CACFD9; display: flex; justify-content: space-between; }
.roi-payback .val { color: var(--accent); font-family: var(--ff-mono); }

/* ROI v2 — honest, transparent, per-bucket math */
.roi2 { display: grid; grid-template-columns: minmax(0, 380px) 1fr; gap: 40px; margin-top: 48px; align-items: start; }
@media (max-width: 880px) { .roi2 { grid-template-columns: 1fr; } }
.roi2__inputs { display: flex; flex-direction: column; gap: 28px; position: sticky; top: 100px; }
@media (max-width: 880px) { .roi2__inputs { position: static; } }
.roi2__group { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 18px; }
.roi2__group .mono-label { margin-bottom: 2px; }
.roi2__group .roi-input label { gap: 12px; }
.roi2__group .roi-input .val { white-space: nowrap; font-size: 14px; }

.roi2__out { background: var(--ink); color: #fff; border-radius: var(--radius-lg); padding: 36px 36px 28px; }
.roi2__out .mono-label { color: #8B8D93; }
.roi2__big { font-size: clamp(56px, 6vw, 88px); font-weight: 300; letter-spacing: -0.035em; line-height: 1; color: var(--accent); margin-top: 10px; }
.roi2__hint { color: #A1A3A9; font-size: 14px; margin-top: 10px; }

.roi2__buckets { margin-top: 36px; display: flex; flex-direction: column; gap: 18px; padding-top: 24px; border-top: 1px solid #2A2B2F; }
.roi2__bucket { display: flex; flex-direction: column; gap: 8px; }
.roi2__bucket-row { display: flex; justify-content: space-between; align-items: baseline; }
.roi2__bucket-label { font-size: 15px; color: #E8E8EA; font-weight: 500; }
.roi2__bucket-val { font-family: var(--ff-mono); font-size: 15px; color: #fff; }
.roi2__bar { height: 3px; background: #2A2B2F; border-radius: 999px; overflow: hidden; }
.roi2__bar-fill { height: 100%; background: var(--accent); border-radius: 999px; transition: width 220ms; }
.roi2__bucket-formula { font-family: var(--ff-mono); font-size: 11px; color: #7A7C82; letter-spacing: 0.02em; }
.roi2__bucket-caption { font-size: 12.5px; color: #9B9DA3; line-height: 1.45; }

.roi2__payback { margin-top: 28px; padding: 22px 24px; background: #0E0F11; border: 1px solid #2A2B2F; border-radius: 14px; }
.roi2__payback-row { display: grid; grid-template-columns: auto 1px 1fr; gap: 24px; align-items: stretch; }
@media (max-width: 640px) { .roi2__payback-row { grid-template-columns: 1fr; } .roi2__payback-sep { display: none; } }
.roi2__payback-val { font-size: 36px; font-weight: 300; letter-spacing: -0.025em; color: var(--accent); margin-top: 6px; line-height: 1; }
.roi2__payback-sep { background: #2A2B2F; }
.roi2__payback-math { font-size: 13px; color: #C6C8CE; display: flex; flex-direction: column; gap: 4px; justify-content: center; }
.roi2__payback-math strong { color: #fff; font-weight: 500; }
.roi2__payback-math .hint { color: #7A7C82; margin-top: 6px; font-size: 12px; line-height: 1.45; }

.roi2__foot { margin-top: 20px; padding-top: 18px; border-top: 1px solid #2A2B2F; display: flex; gap: 14px; align-items: baseline; flex-wrap: wrap; font-size: 12px; color: #7A7C82; }
.roi2__foot .mono-label { color: #7A7C82; }

/* Before / after */
.ba-toggle { display: inline-flex; padding: 4px; background: #fff; border: 1px solid var(--line); border-radius: 999px; gap: 4px; margin-top: 36px; }
.ba-toggle button { padding: 9px 18px; border-radius: 999px; font-size: 13.5px; color: var(--ink-2); background: transparent; border: 0; font-weight: 500; transition: 120ms; }
.ba-toggle button.active { background: var(--accent); color: #fff; }
.ba-panel { margin-top: 28px; min-height: 260px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; position: relative; overflow: hidden; }
.ba-panel .time { font-family: var(--ff-mono); font-size: 11px; color: var(--ink-4); letter-spacing: 0.06em; }
.ba-panel.before .time-bar { background: #F4EEEB; }
.ba-panel.before .time-bar .fill { background: var(--accent); width: 95%; }
.ba-panel .time-bar { margin-top: 10px; height: 6px; background: var(--line-2); border-radius: 999px; overflow: hidden; }
.ba-panel .time-bar .fill { height: 100%; background: var(--good); width: 8%; transition: 600ms; }
.ba-panel .time-label { font-size: 36px; font-weight: 300; letter-spacing: -0.03em; margin-top: 14px; }
.ba-panel .dash-row { display: flex; gap: 8px; margin-top: 24px; flex-wrap: wrap; }
.ba-panel .chip { padding: 8px 12px; background: var(--bg-tint); border-radius: 8px; font-size: 12px; color: var(--ink-3); font-family: var(--ff-mono); border: 1px solid var(--line-2); }
.ba-panel .chip.hit { background: var(--accent-soft); color: var(--accent-ink); border-color: var(--accent); }

/* FAQ */
.faq { border-top: 1px solid var(--line); margin-top: 48px; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q { width: 100%; padding: 24px 0; display: flex; justify-content: space-between; align-items: center; background: transparent; border: 0; text-align: left; font-size: 18px; letter-spacing: -0.01em; color: var(--ink); font-weight: 500; gap: 24px; }
.faq__q:hover { color: var(--accent); }
.faq__plus { width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--line); display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; transition: 180ms; font-size: 14px; color: var(--ink-3); }
.faq__item.open .faq__plus { background: var(--ink); color: #fff; border-color: var(--ink); transform: rotate(45deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height 280ms ease; }
.faq__item.open .faq__a { max-height: 300px; }
.faq__a-inner { padding-bottom: 24px; color: var(--ink-2); font-size: 15.5px; max-width: 680px; line-height: 1.55; }

/* Final CTA */
.final {
  background: var(--ink); color: #fff; border-radius: 28px; padding: 80px;
  position: relative; overflow: hidden;
}
.final .mono-label { color: #9BA3B3; }
.final h2 { font-size: clamp(40px, 4.4vw, 64px); letter-spacing: -0.03em; line-height: 1.02; max-width: 780px; font-weight: 400; margin-top: 20px; }
.final p { color: #B9BEC9; margin-top: 20px; max-width: 560px; font-size: 17px; }
.final .actions { margin-top: 36px; display: flex; gap: 12px; flex-wrap: wrap; }
.final .btn--primary { background: var(--accent); color: #fff; }
.final .btn--primary:hover { background: #fff; color: var(--ink); }
.final .btn--ghost { border-color: #3A4150; color: #fff; }
.final .btn--ghost:hover { border-color: #fff; }
.final .bg-bars { position: absolute; right: 60px; top: 60px; bottom: 60px; width: 180px; display: flex; align-items: flex-end; gap: 16px; opacity: 0.6; }
.final .bg-bars span { flex: 1; background: var(--accent); border-radius: 8px 8px 0 0; }
@media (max-width: 820px) { .final { padding: 48px 28px; } .final .bg-bars { display: none; } }

/* Footer */
.footer { padding: 64px 0 40px; border-top: 1px solid var(--line); }
.footer__inner { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; gap: 32px; }
@media (max-width: 820px) { .footer__inner { grid-template-columns: 1fr 1fr; } }
.footer h4 { font-family: var(--ff-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-4); font-weight: 500; margin-bottom: 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer ul li a { font-size: 14px; color: var(--ink-2); }
.footer ul li a:hover { color: var(--ink); }
.footer__base { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; font-size: 12px; color: var(--ink-3); font-family: var(--ff-mono); letter-spacing: 0.04em; }

/* Section header */
.sec-head { max-width: 820px; }
.sec-head .mono-label { margin-bottom: 24px; display: inline-flex; align-items: center; }
.sec-head h2 { font-size: clamp(36px, 4vw, 56px); letter-spacing: -0.03em; line-height: 1.02; font-weight: 400; }
.sec-head p { margin-top: 20px; font-size: 18px; color: var(--ink-2); line-height: 1.5; max-width: 680px; }

/* Tweaks panel */
.tweaks {
  position: fixed; right: 24px; bottom: 24px; z-index: 100;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 18px; width: 300px; box-shadow: 0 20px 50px -12px rgba(0,0,0,0.15), 0 6px 16px -4px rgba(0,0,0,0.08);
  font-size: 13px;
}
.tweaks__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.tweaks__head h4 { font-family: var(--ff-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); font-weight: 500; }
.tweaks__row { margin-bottom: 14px; }
.tweaks__row label { display: block; font-size: 11px; color: var(--ink-3); font-family: var(--ff-mono); letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 6px; }
.tweaks__row input[type="text"], .tweaks__row textarea { width: 100%; padding: 8px 10px; border: 1px solid var(--line); border-radius: 6px; font-size: 12.5px; font-family: inherit; color: var(--ink); }
.tweaks__row textarea { resize: vertical; min-height: 52px; }
.tweaks__colors { display: flex; gap: 6px; flex-wrap: wrap; }
.tweaks__colors button { width: 24px; height: 24px; border-radius: 50%; border: 2px solid #fff; outline: 1px solid var(--line); cursor: pointer; }
.tweaks__colors button.active { outline: 2px solid var(--ink); }

/* Hero visual — definition cards */
.hv {
  position: relative;
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 16px;
  align-items: stretch;
}
@media (max-width: 820px) { .hv { grid-template-columns: 1fr; } .hero__visual { height: auto; } }
.hv__def {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px;
  display: flex; flex-direction: column; gap: 10px;
  box-shadow: 0 4px 24px -6px rgba(16,18,24,0.06);
}
.hv__def .label { font-family: var(--ff-mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-4); }
.hv__def .name { font-size: 22px; letter-spacing: -0.015em; font-weight: 500; display: flex; align-items: center; gap: 10px; }
.hv__def .name .badge { font-family: var(--ff-mono); font-size: 9px; padding: 3px 6px; background: var(--accent-soft); color: var(--accent-ink); border-radius: 4px; letter-spacing: 0.06em; font-weight: 500; }
.hv__def .desc { font-size: 14px; color: var(--ink-2); line-height: 1.45; }
.hv__def .meta { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line-2); display: flex; justify-content: space-between; font-size: 11.5px; color: var(--ink-3); font-family: var(--ff-mono); letter-spacing: 0.04em; }
.hv__reports { display: grid; grid-template-rows: repeat(3, 1fr); gap: 10px; }
.hv__report { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 14px 18px; display: flex; align-items: center; justify-content: space-between; font-size: 13px; color: var(--ink-2); transition: 220ms; }
.hv__report .t { display: flex; align-items: center; gap: 10px; }
.hv__report .t .ic { width: 22px; height: 22px; border-radius: 5px; background: var(--bg-tint); display: inline-flex; align-items: center; justify-content: center; font-family: var(--ff-mono); font-size: 10px; color: var(--ink-3); }
.hv__report .v { font-family: var(--ff-mono); font-size: 13px; color: var(--ink); font-weight: 500; }
.hv__report .v .same { color: var(--good); }
.hv__report:hover { border-color: var(--accent); transform: translateX(2px); }

/* Utility */
.flex { display: flex; }
.col { display: flex; flex-direction: column; }
.gap-8 { gap: 8px; } .gap-12 { gap: 12px; } .gap-16 { gap: 16px; } .gap-24 { gap: 24px; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; } .mt-32 { margin-top: 32px; } .mt-48 { margin-top: 48px; }


/* ==========================================================================
   SUBPAGES — shared layout for security / careers / contact / blog / about
   ========================================================================== */

.page-hero {
  padding: 120px 0 72px;
  border-bottom: 1px solid var(--line);
}
.page-hero .kicker {
  display: inline-block;
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.page-hero h1 {
  font-size: clamp(48px, 6vw, 84px);
  line-height: 1;
  letter-spacing: -0.035em;
  font-weight: 400;
  max-width: 980px;
  color: var(--ink);
}
.page-hero h1 .serif-it { font-family: 'Instrument Serif', serif; font-style: italic; font-weight: 400; letter-spacing: -0.01em; color: var(--accent); }
.page-hero .lede {
  font-size: 20px;
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 720px;
  margin-top: 28px;
}
.page-hero .meta-row {
  margin-top: 40px;
  display: flex; gap: 32px; flex-wrap: wrap;
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-4);
}
.page-hero .meta-row strong { color: var(--ink); font-weight: 500; margin-left: 8px; }

.page-section { padding: 80px 0; border-bottom: 1px solid var(--line); }
.page-section:last-of-type { border-bottom: 0; }
.page-section--tinted { background: var(--bg-tint); }
.page-section--dark { background: var(--ink); color: #fff; }
.page-section--dark .mono-label { color: #8B8D93; }
.page-section--dark h2 { color: #fff; }
.page-section--dark p { color: #B9BEC9; }

/* Two-column narrative block */
.page-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 80px;
  align-items: start;
}
@media (max-width: 880px) { .page-grid { grid-template-columns: 1fr; gap: 32px; } }
.page-grid__label { font-family: var(--ff-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-4); position: sticky; top: 96px; }
.page-grid__body h3 { font-size: 28px; letter-spacing: -0.02em; line-height: 1.15; font-weight: 500; margin-bottom: 16px; }
.page-grid__body h3:not(:first-child) { margin-top: 48px; }
.page-grid__body p { font-size: 16px; line-height: 1.6; color: var(--ink-2); margin-bottom: 16px; max-width: 680px; }
.page-grid__body ul { list-style: none; padding: 0; margin: 16px 0; max-width: 680px; }
.page-grid__body ul li { padding: 12px 0 12px 24px; border-top: 1px solid var(--line-2); font-size: 15px; color: var(--ink-2); position: relative; line-height: 1.5; }
.page-grid__body ul li:last-child { border-bottom: 1px solid var(--line-2); }
.page-grid__body ul li:before { content: ''; position: absolute; left: 0; top: 22px; width: 10px; height: 1px; background: var(--accent); }
.page-grid__body strong { color: var(--ink); font-weight: 500; }

/* Pillar grid (security controls, values) */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
@media (max-width: 900px) { .pillars { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .pillars { grid-template-columns: 1fr; } }
.pillar {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex; flex-direction: column; gap: 12px;
  min-height: 200px;
}
.pillar__num { font-family: var(--ff-mono); font-size: 11px; letter-spacing: 0.08em; color: var(--ink-4); }
.pillar__title { font-size: 20px; letter-spacing: -0.015em; font-weight: 500; line-height: 1.2; }
.pillar__desc { font-size: 14px; color: var(--ink-2); line-height: 1.55; }
.pillar__tag { margin-top: auto; font-family: var(--ff-mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }

/* Data table */
.data-table { width: 100%; border-collapse: collapse; margin-top: 32px; font-size: 14.5px; }
.data-table th, .data-table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line-2); vertical-align: top; line-height: 1.5; }
.data-table th { font-family: var(--ff-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-4); font-weight: 500; background: var(--bg-tint); border-bottom: 1px solid var(--line); }
.data-table td:first-child { font-weight: 500; color: var(--ink); width: 30%; }
.data-table td code { font-family: var(--ff-mono); font-size: 12.5px; background: var(--bg-tint); padding: 2px 6px; border-radius: 4px; color: var(--ink); }

/* Legal document body (Terms / Privacy / DPA) */
.legal-body {
  max-width: 760px;
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--ink-2);
}
.legal-body .legal-intro {
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  padding-bottom: 32px;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--line);
}
.legal-body h2 {
  font-size: 22px;
  letter-spacing: -0.01em;
  font-weight: 500;
  color: var(--ink);
  margin-top: 56px;
  margin-bottom: 16px;
  line-height: 1.25;
}
.legal-body h2:first-of-type { margin-top: 0; }
.legal-body h3 {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  margin-top: 28px;
  margin-bottom: 10px;
  letter-spacing: -0.005em;
}
.legal-body p { margin: 12px 0; }
.legal-body ul {
  margin: 12px 0 12px 0;
  padding-left: 24px;
  list-style: none;
}
.legal-body ul li {
  position: relative;
  margin: 8px 0;
  padding-left: 18px;
}
.legal-body ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.7em;
  width: 6px; height: 1px;
  background: var(--ink-4);
}
.legal-body strong { color: var(--ink); font-weight: 500; }
.legal-body a { color: var(--accent); text-decoration: none; border-bottom: 1px solid var(--accent-soft); }
.legal-body a:hover { border-bottom-color: var(--accent); }
.legal-body .data-table { margin: 24px 0 8px; }
.legal-body .legal-meta {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-4);
}

/* Callout card (inline, for "what we don't have yet") */
.callout {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  margin-top: 32px;
  border-left: 3px solid var(--accent);
}
.callout h4 { font-family: var(--ff-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.callout p { font-size: 15px; color: var(--ink-2); line-height: 1.55; max-width: 680px; }
.callout ul { margin-top: 12px; padding-left: 20px; }
.callout ul li { font-size: 14.5px; color: var(--ink-2); margin: 4px 0; }

/* Careers — role list */
.roles { margin-top: 48px; border-top: 1px solid var(--line); }
.role-row {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
  color: var(--ink);
  text-decoration: none;
  transition: 160ms;
}
.role-row:hover { background: var(--bg-tint); padding-left: 16px; padding-right: 16px; }
.role-row__title { font-size: 18px; letter-spacing: -0.01em; font-weight: 500; }
.role-row__meta { font-family: var(--ff-mono); font-size: 11px; letter-spacing: 0.08em; color: var(--ink-3); text-transform: uppercase; }
.role-row__arrow { color: var(--accent); font-size: 18px; }
@media (max-width: 700px) { .role-row { grid-template-columns: 1fr auto; } .role-row__meta:nth-child(2) { display: none; } }

/* Contact form */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-top: 48px; }
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-channels { display: flex; flex-direction: column; gap: 20px; }
.contact-channel {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px 28px;
}
.contact-channel h4 { font-family: var(--ff-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.contact-channel .val { font-size: 18px; letter-spacing: -0.01em; color: var(--ink); font-weight: 500; }
.contact-channel .val a { color: var(--ink); text-decoration: none; }
.contact-channel .val a:hover { color: var(--accent); }
.contact-channel p { font-size: 13.5px; color: var(--ink-3); margin-top: 8px; line-height: 1.5; }

.contact-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 36px; }
.contact-form .field { margin-bottom: 18px; }
.contact-form label { display: block; font-family: var(--ff-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-4); margin-bottom: 6px; }
.contact-form input, .contact-form textarea, .contact-form select {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px;
  font-family: inherit; font-size: 14.5px; color: var(--ink); background: #fff;
  transition: border 140ms;
}
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus { outline: 0; border-color: var(--ink); }
.contact-form textarea { min-height: 120px; resize: vertical; }
.contact-form .row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* Blog */
.blog-hero-post {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: center;
  margin-top: 48px;
}
@media (max-width: 880px) { .blog-hero-post { grid-template-columns: 1fr; } }
.blog-hero-post__img {
  aspect-ratio: 16/11;
  background: linear-gradient(135deg, var(--accent) 0%, #B8502C 100%);
  border-radius: var(--radius-lg);
  position: relative; overflow: hidden;
}
.blog-hero-post__img .pattern {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,0.15) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(255,255,255,0.1) 0%, transparent 50%);
}
.blog-hero-post__img .mark {
  position: absolute; top: 24px; left: 24px; right: 24px;
  font-family: var(--ff-mono); font-size: 11px; letter-spacing: 0.1em; color: rgba(255,255,255,0.7);
}
.blog-hero-post__img .title-overlay {
  position: absolute; bottom: 24px; left: 24px; right: 24px;
  font-family: 'Instrument Serif', serif; font-style: italic; color: #fff;
  font-size: 36px; line-height: 1.05;
}
.blog-hero-post__body .tag { font-family: var(--ff-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.blog-hero-post__body h2 { font-size: 40px; letter-spacing: -0.025em; line-height: 1.08; font-weight: 500; margin-top: 14px; }
.blog-hero-post__body p { font-size: 16px; color: var(--ink-2); margin-top: 18px; line-height: 1.55; max-width: 520px; }
.blog-hero-post__body .meta { margin-top: 22px; font-family: var(--ff-mono); font-size: 11px; letter-spacing: 0.06em; color: var(--ink-3); }

.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 24px; }
@media (max-width: 900px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .blog-grid { grid-template-columns: 1fr; } }
.blog-card { display: flex; flex-direction: column; gap: 14px; color: var(--ink); text-decoration: none; transition: 160ms; }
.blog-card:hover { transform: translateY(-2px); }
.blog-card__img {
  aspect-ratio: 16/10; border-radius: 10px;
  background: var(--bg-tint); border: 1px solid var(--line-2);
  position: relative; overflow: hidden;
  display: flex; align-items: flex-end; justify-content: flex-start; padding: 18px;
}
.blog-card__img svg { width: 70%; height: auto; opacity: 0.85; }
.blog-card__tag { font-family: var(--ff-mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.blog-card__title { font-size: 19px; letter-spacing: -0.015em; line-height: 1.25; font-weight: 500; }
.blog-card__meta { font-family: var(--ff-mono); font-size: 11px; letter-spacing: 0.04em; color: var(--ink-3); margin-top: auto; }

/* About — team / investor grids */
.about-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 48px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
@media (max-width: 820px) { .about-stats { grid-template-columns: repeat(2, 1fr); } }
.about-stat { background: #fff; padding: 32px 28px; }
.about-stat .n { font-size: 42px; font-weight: 300; letter-spacing: -0.03em; line-height: 1; color: var(--ink); }
.about-stat .n .unit { color: var(--accent); }
.about-stat .l { font-size: 13.5px; color: var(--ink-3); margin-top: 10px; line-height: 1.4; max-width: 220px; }

.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 32px; }
@media (max-width: 900px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
.team-card { display: flex; flex-direction: column; gap: 10px; }
.team-card__avatar {
  aspect-ratio: 4/5; border-radius: 10px;
  background: linear-gradient(135deg, var(--bg-tint) 0%, #EDE8DF 100%);
  border: 1px solid var(--line-2);
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Instrument Serif', serif; font-style: italic;
  font-size: 48px; color: var(--accent);
}
.team-card__name { font-size: 16px; font-weight: 500; letter-spacing: -0.01em; }
.team-card__role { font-family: var(--ff-mono); font-size: 11px; letter-spacing: 0.06em; color: var(--ink-3); text-transform: uppercase; }

.investor-row { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 32px; }
.investor-chip {
  padding: 14px 22px; background: #fff; border: 1px solid var(--line); border-radius: 8px;
  font-family: 'Instrument Serif', serif; font-style: italic; font-size: 20px; color: var(--ink);
}

/* Page footer CTA strip */
.page-cta {
  background: var(--ink); color: #fff; border-radius: 28px;
  padding: 64px 72px;
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px;
  align-items: center;
  margin: 80px 0 48px;
}
@media (max-width: 820px) { .page-cta { grid-template-columns: 1fr; padding: 40px 28px; } }
.page-cta h3 { font-size: clamp(28px, 3vw, 40px); letter-spacing: -0.025em; line-height: 1.1; font-weight: 400; }
.page-cta p { color: #B9BEC9; font-size: 15px; margin-top: 14px; max-width: 480px; }
.page-cta .actions { display: flex; gap: 12px; flex-wrap: wrap; }
.page-cta .btn--primary { background: var(--accent); color: #fff; }
.page-cta .btn--primary:hover { background: #fff; color: var(--ink); }
.page-cta .btn--ghost { border-color: #3A4150; color: #fff; }
.page-cta .btn--ghost:hover { border-color: #fff; }

/* Timeline (about page) */
.timeline { margin-top: 48px; border-top: 1px solid var(--line); }
.tl-row {
  display: grid; grid-template-columns: 200px 240px 1fr;
  gap: 24px; padding: 24px 0;
  border-bottom: 1px solid var(--line-2);
  align-items: start;
}
@media (max-width: 820px) { .tl-row { grid-template-columns: 1fr; gap: 8px; } }
.tl-year { font-family: var(--ff-mono); font-size: 12px; letter-spacing: 0.06em; color: var(--accent); text-transform: uppercase; padding-top: 2px; }
.tl-title { font-size: 18px; letter-spacing: -0.01em; font-weight: 500; line-height: 1.25; }
.tl-desc { font-size: 14.5px; color: var(--ink-2); line-height: 1.55; max-width: 560px; }

/* Team card bio (about) */
.team-card__bio { font-size: 13px; color: var(--ink-3); line-height: 1.5; margin-top: 4px; }

/* Blog — featured essay */
.blog-featured {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 48px 56px; max-width: 920px;
}
@media (max-width: 680px) { .blog-featured { padding: 32px 24px; } }
.blog-featured__meta { display: flex; gap: 10px; align-items: center; font-family: var(--ff-mono); font-size: 11px; letter-spacing: 0.06em; color: var(--ink-3); text-transform: uppercase; }
.blog-featured__title { margin-top: 20px; font-size: clamp(32px, 3.4vw, 48px); letter-spacing: -0.025em; line-height: 1.08; font-weight: 500; max-width: 760px; }
.blog-featured__title a { color: var(--ink); text-decoration: none; }
.blog-featured__title a:hover { color: var(--accent); }
.blog-featured__dek { margin-top: 18px; font-size: 17px; color: var(--ink-2); line-height: 1.55; max-width: 680px; }
.blog-featured__author { margin-top: 28px; display: flex; align-items: center; gap: 14px; padding-top: 24px; border-top: 1px solid var(--line-2); }
.blog-featured__avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #B8502C);
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-family: var(--ff-mono); font-size: 13px; font-weight: 500; letter-spacing: 0.05em;
}
.blog-featured__name { font-size: 14.5px; font-weight: 500; color: var(--ink); }
.blog-featured__role { font-family: var(--ff-mono); font-size: 11px; letter-spacing: 0.06em; color: var(--ink-4); text-transform: uppercase; margin-top: 2px; }

/* Blog toolbar + category filter */
.blog-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; margin-bottom: 32px; }
.blog-cats { display: flex; gap: 6px; flex-wrap: wrap; }
.blog-cat {
  font-family: var(--ff-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line);
  background: #fff; color: var(--ink-3); cursor: pointer; transition: 140ms;
}
.blog-cat:hover { color: var(--ink); border-color: var(--ink-3); }
.blog-cat.active { background: var(--ink); color: #fff; border-color: var(--ink); }

/* Blog card override for new design (no image, typographic) */
.blog-card .blog-card__meta { margin-top: 0; display: flex; gap: 8px; align-items: center; font-size: 11px; color: var(--ink-4); }
.blog-card__cat { color: var(--accent); }
.blog-card__dek { font-size: 14px; color: var(--ink-3); line-height: 1.55; margin-top: -4px; max-width: 340px; }
.blog-card__author { margin-top: auto; display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--ink-2); padding-top: 12px; border-top: 1px solid var(--line-2); }
.blog-card__avatar {
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--bg-tint); border: 1px solid var(--line);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--ff-mono); font-size: 10px; letter-spacing: 0.05em; color: var(--ink-2);
}

/* Newsletter strip */
.newsletter {
  background: var(--bg-tint); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 48px 56px;
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center;
}
@media (max-width: 820px) { .newsletter { grid-template-columns: 1fr; padding: 32px 28px; } }
.newsletter h3 { font-size: clamp(26px, 2.6vw, 34px); letter-spacing: -0.02em; line-height: 1.1; font-weight: 500; margin-top: 14px; }
.newsletter p { font-size: 14.5px; color: var(--ink-2); margin-top: 12px; line-height: 1.5; max-width: 440px; }
.newsletter__form { display: flex; gap: 10px; }
.newsletter__form input {
  flex: 1; padding: 14px 16px; border: 1px solid var(--line); border-radius: 8px;
  font-family: inherit; font-size: 14.5px; background: #fff;
}
.newsletter__form input:focus { outline: 0; border-color: var(--ink); }

/* Contact form field fix (generic .field, not .contact-form .field) */
.contact-form .field { margin-bottom: 0; }
.contact-form > .field, .contact-form > .row-2 { margin-bottom: 18px; }
.contact-form .row-2 .field { margin-bottom: 0; }
