/* Tracfox marketing site — tokens from the product design system */
:root {
  --bg: #333333;
  --panel: #3b3b3b;
  --hairline: #4a4a4a;
  --divider: #666666;
  --text: #f5f5f5;
  --body: #cccccc;
  --muted: #aaaaaa;
  --orange: #ff7700;
  --orange-text: #ff9500;
  --pending: #ca6702;
  --success: #00ad07;
  --mono: 'Spline Sans Mono', monospace;
  --gutter: clamp(16px, 4vw, 40px);
  --section-pad: clamp(36px, 5vw, 64px);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  font-family: Archivo, system-ui, sans-serif;
  color: var(--text);
}

::selection { background: var(--orange); color: #333; }

a { color: var(--orange-text); transition: color 0.2s ease-in-out; }
a:hover { color: #f48c06; }

a:focus-visible, button:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}

@keyframes flowX {
  0% { left: 0%; }
  90% { left: calc(100% - 10px); }
  100% { left: calc(100% - 10px); }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}

/* ---------- Layout ---------- */

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  box-sizing: content-box;
}

main.container { flex: 1; width: auto; }

/* ---------- Header ---------- */

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  max-width: 1120px;
  margin: 0 auto;
  padding: 22px var(--gutter);
  border-bottom: 1px solid var(--divider);
  box-sizing: content-box;
  width: auto;
}

.logo-link { display: flex; align-items: center; text-decoration: none; }
.logo-link img { height: 34px; display: block; }

.nav { display: flex; align-items: center; gap: clamp(14px, 3vw, 28px); }

.nav-link {
  font-weight: 500;
  font-size: 13.5px;
  line-height: 1;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease-in-out;
}
.nav-link:hover { color: var(--orange-text); }
.nav-link[aria-current="page"] {
  color: var(--orange-text);
  border-bottom: 2px solid var(--orange);
  padding-bottom: 3px;
}

/* ---------- Buttons ---------- */

.btn-primary {
  display: inline-block;
  font-weight: 600;
  color: #333333;
  background: var(--orange);
  text-decoration: none;
  border-radius: 8px;
  white-space: nowrap;
  transition: background 0.2s ease-in-out;
}
.btn-primary:hover { background: var(--orange-text); color: #333333; }
.btn-primary:focus-visible { outline-color: #f5f5f5; outline-offset: 2px; }
.btn-primary--nav { font-size: 13.5px; line-height: 1; padding: 10px 18px; }
.btn-primary--lg { font-size: 15px; line-height: 1; padding: 14px 26px; }
.btn-primary--md { font-size: 14px; line-height: 1; padding: 12px 22px; }

.btn-ghost {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  font-weight: 600;
  font-size: 14px;
  line-height: 1;
  color: var(--text);
  background: none;
  border: 1px solid var(--divider);
  text-decoration: none;
  padding: 13px 22px;
  border-radius: 8px;
  white-space: nowrap;
  transition: border-color 0.2s ease-in-out, color 0.2s ease-in-out;
}
.btn-ghost:hover { border-color: var(--orange); color: var(--orange-text); }
.btn-ghost:focus-visible { outline-offset: 2px; }

.btn-tag {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 9.5px;
  line-height: 1;
  color: var(--muted);
  letter-spacing: 0.04em;
}

/* ---------- Trace rail sections ---------- */

.trace { display: grid; grid-template-columns: clamp(26px, 6vw, 64px) 1fr; }

.rail { position: relative; }

.rail-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
  background: var(--orange);
}

.rail-node {
  position: absolute;
  top: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 2px solid var(--orange);
  background: var(--bg);
}

.trace--hero { padding-top: clamp(40px, 7vw, 88px); }
.trace--hero .rail-line { top: 14px; }
.trace--hero .rail-node { top: 8px; border: none; background: var(--orange); }

.trace--cta .rail-line { bottom: auto; height: 34px; }
.rail-arrow {
  position: absolute;
  top: 34px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1;
  color: var(--orange);
}

.trace-body {
  padding-left: clamp(10px, 2.5vw, 28px);
  padding-bottom: var(--section-pad);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.trace--hero .trace-body { gap: clamp(28px, 4vw, 44px); padding-bottom: 0; }
.trace--planes .trace-body { gap: 22px; }
.trace--audience .trace-body { gap: 18px; }
.trace--proof .trace-body { gap: 0; }
.trace--cta .trace-body { gap: 18px; padding-bottom: clamp(48px, 7vw, 88px); }

/* ---------- Type ---------- */

.h2 {
  margin: 0;
  font-weight: 800;
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1.15;
  font-stretch: 118%;
  letter-spacing: -0.01em;
  color: var(--text);
}

.h3 {
  margin: 0;
  font-weight: 700;
  font-size: 17px;
  line-height: 1.3;
  color: var(--text);
}

.p {
  margin: 0;
  font-weight: 400;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--body);
  text-wrap: pretty;
}
.p--sm { font-size: 14px; }

.mw-560 { max-width: 560px; }
.mw-620 { max-width: 620px; }
.mw-640 { max-width: 640px; }

.kicker {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0.1em;
  color: var(--orange-text);
  text-transform: uppercase;
}
.kicker--wide { font-weight: 600; letter-spacing: 0.12em; }

/* ---------- Hero ---------- */

.hero-copy { display: flex; flex-direction: column; gap: 20px; }

.hero-title {
  margin: 0;
  font-weight: 900;
  font-size: clamp(32px, 5.6vw, 66px);
  line-height: 1.04;
  font-stretch: 125%;
  letter-spacing: -0.02em;
  color: var(--text);
  text-wrap: balance;
}

.hero-sub {
  margin: 0;
  max-width: 620px;
  font-size: clamp(15px, 1.6vw, 17.5px);
  line-height: 1.6;
  color: var(--body);
  text-wrap: pretty;
}

/* Decomposition demo */

.demo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: clamp(14px, 2vw, 22px);
  align-items: start;
  padding-bottom: var(--section-pad);
}

.sheet {
  background: #f5f5f5;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

.sheet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  padding: 12px 16px;
  border-bottom: 1px solid #e0e0e0;
}

.sheet-cite {
  font-family: var(--mono);
  font-weight: 600;
  font-size: 12px;
  line-height: 1.3;
  color: #333333;
  white-space: nowrap;
}

.sheet-badge {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 10.5px;
  line-height: 1.3;
  color: var(--pending);
  background: #fff;
  border: 1px dashed var(--pending);
  border-radius: 6px;
  padding: 2px 7px;
  white-space: nowrap;
}
.sheet-badge--ok { border-style: solid; }

.sheet-body {
  padding: 18px 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.sline { display: flex; align-items: center; gap: 8px; }

.sline-label {
  font-family: var(--mono);
  font-size: 10px;
  line-height: 1;
  color: #999;
  width: 28px;
  flex: none;
}

.sline-bar {
  position: relative;
  height: 11px;
  border-radius: 4px;
  background: repeating-linear-gradient(90deg, #dcdcdc 0 8px, #e6e6e6 8px 16px);
}

.sline-hl {
  position: absolute;
  inset: 0;
  border-radius: 4px;
  background: transparent;
  transition: background 0.2s ease-in-out;
}
.sline-hl.on { background: rgba(255, 119, 0, 0.45); }

.ob-col { display: flex; flex-direction: column; gap: 10px; }

.ob-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.ob-kicker {
  font-family: var(--mono);
  font-weight: 600;
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0.1em;
  color: var(--muted);
  text-transform: uppercase;
}

.ob-count {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 11.5px;
  line-height: 1;
  color: var(--orange-text);
  white-space: nowrap;
}

/* Animated wrappers: hidden states only apply once JS has booted (.js on <html>) */
.ob-item, .ob-tail, .ob-trace {
  transition: opacity 0.2s ease-in-out, transform 0.2s ease-in-out, max-height 0.25s ease-in-out;
}
.js .ob-item, .js .ob-tail, .js .ob-trace { overflow: hidden; opacity: 0; max-height: 0; }
.js .ob-item { transform: translateY(6px); }
.js .ob-item.shown { opacity: 1; transform: none; max-height: 200px; }
.js .ob-tail.shown { opacity: 1; max-height: 48px; }
.js .ob-trace.shown { opacity: 1; max-height: 90px; }

.ob-card {
  background: var(--panel);
  border: 1px solid var(--divider);
  border-radius: 8px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.ob-title {
  font-weight: 500;
  font-size: 12px;
  line-height: 1.5;
  color: var(--text);
}

.ob-meta {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 10.5px;
  line-height: 1.5;
  color: var(--orange-text);
}

.ob-tail-text {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 11.5px;
  line-height: 1.4;
  color: var(--muted);
  padding: 4px 2px;
}

.ob-trace-row {
  display: flex;
  align-items: center;
  gap: 9px;
  border-top: 1px solid var(--divider);
  margin-top: 4px;
  padding: 11px 2px 0;
  flex-wrap: wrap;
}

.ob-trace-mapped {
  font-family: var(--mono);
  font-weight: 600;
  font-size: 11.5px;
  line-height: 1.4;
  color: var(--orange-text);
  white-space: nowrap;
}

.ob-trace-evidence {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-weight: 500;
  font-size: 11.5px;
  line-height: 1.4;
  color: var(--body);
  white-space: nowrap;
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
  flex: none;
}

.replay {
  align-self: flex-start;
  margin-top: 4px;
  font-family: var(--mono);
  font-weight: 500;
  font-size: 11.5px;
  line-height: 1;
  color: var(--text);
  background: none;
  border: 1px solid var(--divider);
  border-radius: 8px;
  padding: 8px 13px;
  cursor: pointer;
  transition: border-color 0.2s ease-in-out, color 0.2s ease-in-out;
}
.replay:hover { border-color: var(--orange); color: var(--orange-text); }
.replay:focus-visible { outline-offset: 2px; }

/* ---------- Section grids & cards ---------- */

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(14px, 2vw, 22px);
}
.grid-2--start { align-items: start; }

.copy-col { display: flex; flex-direction: column; gap: 12px; }

.card {
  border: 1px solid var(--divider);
  border-radius: 12px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.card .h3 { font-size: 18px; }

/* ---------- Pipeline flow strip ---------- */

.flow {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 8px 0 6px;
  max-width: 760px;
}

.flow-track { position: relative; height: 12px; }

.flow-line {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 2px;
  transform: translateY(-50%);
  background: var(--divider);
}

.flow-node {
  position: absolute;
  top: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 2px solid var(--orange-text);
  background: var(--bg);
  transform: translate(-50%, -50%);
}
.flow-node--start { left: 0; transform: translateY(-50%); }
.flow-node--25 { left: 25%; }
.flow-node--50 { left: 50%; }
.flow-node--75 { left: 75%; }
.flow-node--end { left: auto; right: 0; transform: translateY(-50%); }

.flow-pulse {
  position: absolute;
  top: 50%;
  margin-top: -5px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 10px rgba(255, 119, 0, 0.9);
  animation: flowX 6s ease-in-out infinite;
}

.flow-labels {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-family: var(--mono);
  font-weight: 600;
  font-size: 10px;
  line-height: 1.4;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-transform: uppercase;
}
.flow-labels .accent { color: var(--orange-text); }

/* ---------- Pipeline stages ---------- */

.stages { display: flex; flex-direction: column; }

.stage {
  display: flex;
  gap: clamp(12px, 2vw, 20px);
  padding: 18px 0;
  border-bottom: 1px solid var(--divider);
}
.stage:last-child { border-bottom: none; }

.stage-tag {
  flex: none;
  width: 48px;
  font-family: var(--mono);
  font-weight: 600;
  font-size: 11px;
  line-height: 1.6;
  color: var(--orange-text);
  text-transform: uppercase;
}

.stage-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.stage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: clamp(12px, 2vw, 20px);
  align-items: start;
}

/* ---------- Artifact panels ---------- */

.panel {
  background: var(--panel);
  border: 1px solid var(--divider);
  border-radius: 12px;
  padding: 13px 15px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-family: var(--mono);
  font-weight: 500;
  font-size: 11px;
  line-height: 1.5;
}
.panel--reg { gap: 8px; line-height: 1.4; }

.prow {
  display: flex;
  justify-content: space-between;
  column-gap: 12px;
  row-gap: 3px;
  flex-wrap: wrap;
}
.panel .prow:not(:first-child) { border-top: 1px solid var(--hairline); padding-top: 9px; }

.pk { color: var(--body); white-space: nowrap; }
.pv { color: var(--text); white-space: nowrap; }
.pv-o { color: var(--orange-text); white-space: nowrap; }
.pv-m { color: var(--muted); white-space: nowrap; }

.pv-dot {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--text);
  white-space: nowrap;
}

.diff-line { display: flex; align-items: center; gap: 8px; }
.diff-bar { display: inline-block; height: 11px; border-radius: 4px; }
.diff-bar--del {
  background:
    linear-gradient(0deg, transparent 44%, #888 44% 58%, transparent 58%),
    repeating-linear-gradient(90deg, #555 0 8px, #5e5e5e 8px 16px);
}
.diff-bar--ins {
  background: repeating-linear-gradient(90deg, rgba(0, 173, 7, 0.5) 0 8px, rgba(0, 173, 7, 0.3) 8px 16px);
}
.panel-note { font-weight: 500; color: var(--muted); }

.chain {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
  color: var(--body);
}
.chain .arrow { color: var(--orange-text); }
.chain .lit { color: var(--text); }

/* ---------- Posture dashboard ---------- */

.posture {
  background: var(--panel);
  border: 1px solid var(--divider);
  border-radius: 12px;
  padding: clamp(16px, 2.5vw, 24px);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.posture-head {
  display: flex;
  justify-content: space-between;
  column-gap: 12px;
  row-gap: 3px;
  flex-wrap: wrap;
  font-family: var(--mono);
  font-weight: 600;
  font-size: 10px;
  line-height: 1.4;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-transform: uppercase;
}
.posture-head span { white-space: nowrap; }

.posture-main {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3.5vw, 38px);
  flex-wrap: wrap;
}

.ring {
  flex: none;
  width: 116px;
  height: 116px;
  border-radius: 50%;
  background: conic-gradient(var(--success) 0 var(--ring-deg, 290deg), var(--hairline) var(--ring-deg, 290deg) 360deg);
  display: grid;
  place-items: center;
}

.ring-core {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: var(--panel);
  display: grid;
  place-items: center;
  font-family: var(--mono);
  font-weight: 600;
  font-size: 21px;
  line-height: 1;
  color: var(--text);
}

.stat-grid {
  flex: 1;
  min-width: 250px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(165px, 1fr));
  gap: 16px clamp(14px, 2vw, 24px);
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-left: 2px solid var(--success);
  padding-left: 13px;
}
.stat--warn { border-left-color: var(--orange); }

.stat-label {
  font-family: var(--mono);
  font-weight: 600;
  font-size: 10px;
  line-height: 1.3;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-transform: uppercase;
}

.stat-value {
  font-family: var(--mono);
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  color: var(--text);
  white-space: nowrap;
}
.stat-value--queue { font-size: 13px; line-height: 1.2; color: var(--orange-text); }

/* ---------- Copilot chat ---------- */

.chat {
  background: var(--panel);
  border: 1px solid var(--divider);
  border-radius: 12px;
  padding: 15px;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.chat-q {
  align-self: flex-end;
  max-width: 88%;
  background: var(--hairline);
  border-radius: 8px;
  padding: 9px 12px;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--text);
}

.chat-a {
  align-self: flex-start;
  max-width: 92%;
  background: var(--bg);
  border: 1px solid var(--divider);
  border-radius: 8px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.chat-a p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--body);
}

.chat-cite {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 10.5px;
  line-height: 1.4;
  color: var(--orange-text);
}

.chat-sign {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-weight: 500;
  font-size: 10.5px;
  line-height: 1.4;
  color: var(--text);
}

/* ---------- Proof points ---------- */

.proof-row {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 18px 0;
  border-bottom: 1px solid var(--divider);
}
.proof-row:last-child { border-bottom: none; }

/* ---------- Audience ---------- */

.aud-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: clamp(12px, 2vw, 18px);
}

.aud-card {
  border: 1px solid var(--divider);
  border-radius: 12px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: border-color 0.2s ease-in-out;
}
.aud-card:hover { border-color: var(--orange); }

.aud-title { font-weight: 700; font-size: 15.5px; line-height: 1.3; color: var(--text); }

.aud-card p {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: var(--body);
  text-wrap: pretty;
}

/* ---------- CTA ---------- */

.cta-title {
  margin: 0;
  font-weight: 900;
  font-size: clamp(26px, 4vw, 44px);
  line-height: 1.1;
  font-stretch: 125%;
  letter-spacing: -0.015em;
  color: var(--text);
}

.cta-sub {
  margin: 0;
  max-width: 560px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--body);
  text-wrap: pretty;
}

.cta-actions { display: flex; flex-direction: column; gap: 12px; }
.cta-buttons { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }

.cta-note {
  font-family: var(--mono);
  font-size: 12.5px;
  line-height: 1.4;
  color: var(--muted);
}

/* Demo request form */

.demo-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 640px;
}

.demo-fields {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.demo-field { display: flex; flex-direction: column; gap: 6px; }
.demo-field--wide { grid-column: 1 / -1; }

.demo-label {
  font-family: var(--mono);
  font-weight: 600;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.demo-input {
  font-family: Archivo, system-ui, sans-serif;
  font-size: 14px;
  color: var(--text);
  background: var(--panel);
  border: 1px solid var(--divider);
  border-radius: 8px;
  padding: 10px 12px;
  transition: border-color 0.2s ease-in-out;
}
.demo-input:hover { border-color: var(--orange); }
.demo-input:focus { outline: 2px solid var(--orange); outline-offset: 2px; }
.demo-input::placeholder { color: var(--muted); }

.demo-submit {
  border: none;
  cursor: pointer;
  font-family: Archivo, system-ui, sans-serif;
}
.demo-submit:disabled { opacity: 0.6; cursor: default; }

.demo-status {
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.4;
  color: var(--muted);
}
.demo-status--ok { color: var(--success); }
.demo-status--err { color: var(--orange-text); }

/* ---------- Footer ---------- */

.site-footer { border-top: 1px solid var(--divider); }

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 24px var(--gutter);
  box-sizing: content-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-inner img { height: 26px; display: block; }

.footer-links { display: flex; align-items: center; gap: 20px; }

.footer-link {
  font-size: 12.5px;
  line-height: 1;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease-in-out;
}
.footer-link:hover { color: var(--orange-text); }

.footer-copy { font-size: 12.5px; line-height: 1; color: var(--muted); }

/* ---------- Scroll reveals (activated by JS) ---------- */

.will-reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
}
.will-reveal.revealed { opacity: 1; transform: none; }

/* ---------- Leadership page ---------- */

.lead-main { padding-top: clamp(40px, 7vw, 80px); padding-bottom: clamp(40px, 7vw, 80px); }

.lead-intro {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 640px;
}

.lead-title {
  margin: 0;
  font-weight: 900;
  font-size: clamp(30px, 4.6vw, 52px);
  line-height: 1.08;
  font-stretch: 125%;
  letter-spacing: -0.02em;
  color: var(--text);
}

.lead-intro .p { font-size: 15px; }

.lead-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: clamp(16px, 2.5vw, 26px);
  margin-top: clamp(32px, 5vw, 52px);
}

.lead-card {
  border: 1px solid var(--divider);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.photo {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.photo-slot {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--panel);
  border: 1px dashed var(--divider);
  display: grid;
  place-items: center;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-transform: uppercase;
}

.photo-slot--initials {
  border-style: solid;
  font-family: Archivo, sans-serif;
  font-weight: 700;
  font-size: 26px;
  letter-spacing: 0.02em;
  color: var(--muted);
}

.lead-id { display: flex; flex-direction: column; gap: 4px; }

.lead-name { margin: 0; font-weight: 700; font-size: 18px; line-height: 1.25; color: var(--text); }

.lead-role {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 11.5px;
  line-height: 1.4;
  color: var(--orange-text);
}

.lead-bio { margin: 0; font-size: 13.5px; line-height: 1.6; color: var(--body); }

.lead-cta {
  margin-top: clamp(36px, 5vw, 56px);
  border-top: 1px solid var(--divider);
  padding-top: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---------- Blog ---------- */

.blog-list {
  display: flex;
  flex-direction: column;
  gap: clamp(14px, 2vw, 20px);
  margin-top: clamp(28px, 4vw, 44px);
  max-width: 720px;
}

.blog-card {
  border: 1px solid var(--divider);
  border-radius: 12px;
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s ease-in-out;
}
.blog-card:hover { border-color: var(--orange); color: inherit; }

.blog-date {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-transform: uppercase;
}

.blog-card-title {
  margin: 0;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.3;
  color: var(--text);
}

.blog-more {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 11.5px;
  color: var(--orange-text);
}

.post-head {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 720px;
}

.post-back {
  align-self: flex-start;
  font-family: var(--mono);
  font-weight: 500;
  font-size: 11.5px;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease-in-out;
}
.post-back:hover { color: var(--orange-text); }

.post-meta {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 11.5px;
  line-height: 1.4;
  color: var(--orange-text);
}

.post-body {
  margin-top: clamp(24px, 4vw, 40px);
  max-width: 680px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.post-body .p { font-size: 15px; line-height: 1.7; }
.post-body strong { color: var(--text); font-weight: 600; }

.loop-panel {
  background: var(--panel);
  border: 1px solid var(--divider);
  border-radius: 12px;
  padding: clamp(16px, 2.5vw, 24px);
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 8px 0;
}

.loop-flow { max-width: none; padding: 4px 0 0; }

.loop-outcomes {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  border-top: 1px solid var(--hairline);
  padding-top: 11px;
  font-family: var(--mono);
  font-weight: 500;
  font-size: 11px;
  line-height: 1.5;
}
.loop-outcomes .pv-dot { font-size: 11px; }

.loop-return {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 10.5px;
  line-height: 1.4;
  color: var(--muted);
}
