/* ============================================================
   Nurture · Landing
   Editorial-clinical: serif display, mono instrumentation,
   ink-navy dark bands, orange reserved for the signal.
   Depends on tokens in colors_and_type.css.
   ============================================================ */

:root {
  --ink-950: #060F1E;
  --ink-900: #0A1830;
  --ink-850: #0D1F3C;
  --ink-800: #0B2044;
  --hairline: #E4EAF3;
  --hairline-dark: rgba(148, 175, 220, 0.16);
  --paper: #FFFFFF;
  --paper-tint: #F5F8FC;
  --font-display-serif: var(--font-serif);
  --shadow-panel: 0 24px 64px rgba(6, 15, 30, 0.28), 0 4px 12px rgba(6, 15, 30, 0.18);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  background: var(--paper);
  color: var(--slate-600);
  font-size: 16px;
  overflow-x: hidden;
}

::selection { background: var(--orange-100); color: var(--ink-900); }

img, svg, canvas { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; }

.shell {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 40px);
}

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink-900); color: #fff; padding: 10px 18px;
  border-radius: 0 0 var(--r-sm) 0; z-index: 200; font-size: 14px;
}
.skip-link:focus { left: 0; color: #fff; }

/* ---------- type helpers ---------- */

.display {
  font-family: var(--font-display-serif);
  font-weight: 600;
  font-size: clamp(32px, 4.4vw, 46px);
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--ink-900);
}

.display .accent, h1 .accent, h2 .accent {
  color: var(--orange-500);
  font-style: italic;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--slate-500);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 2px;
  background: var(--orange-500);
  flex: none;
}

.lede {
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.6;
  color: var(--slate-500);
  max-width: 56ch;
}
.lede em { font-style: normal; color: var(--ink-900); font-weight: 500; }
.lede strong { color: var(--ink-900); font-weight: 600; }

.citation {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.02em;
  color: var(--slate-400);
}

/* ---------- reveal on scroll ---------- */

.rv {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}
.rv.in { opacity: 1; transform: none; }
.rv-d1 { transition-delay: 90ms; }
.rv-d2 { transition-delay: 180ms; }
.rv-d3 { transition-delay: 270ms; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rv { opacity: 1; transform: none; transition: none; }
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-weight: 600;
  border-radius: var(--r-sm);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background var(--t-base) var(--ease), border-color var(--t-base) var(--ease),
              color var(--t-base) var(--ease), transform var(--t-base) var(--ease);
  white-space: nowrap;
}
.btn .arr { transition: transform var(--t-base) var(--ease); }
.btn:hover .arr { transform: translateX(3px); }

.btn-primary {
  background: var(--ink-900);
  color: #fff;
}
.btn-primary:hover { background: var(--blue-600); color: #fff; }
.btn-primary:focus-visible { outline: none; box-shadow: var(--shadow-focus); }
.btn-primary:disabled { opacity: 0.65; cursor: default; }

.btn-ghost {
  background: transparent;
  color: var(--ink-900);
  border-color: var(--slate-300);
}
.btn-ghost:hover { border-color: var(--ink-900); color: var(--ink-900); }

.btn-secondary {
  background: transparent;
  color: var(--ink-900);
  border-color: var(--slate-300);
}
.btn-secondary:hover { border-color: var(--ink-900); color: var(--ink-900); }

.btn-lg { padding: 15px 28px; font-size: 15px; }
.btn-sm { padding: 9px 18px; font-size: 13px; }

/* ---------- topbar ---------- */

.topbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-base) var(--ease), background var(--t-base) var(--ease);
}
.topbar.scrolled {
  border-bottom-color: var(--hairline);
  background: rgba(255, 255, 255, 0.92);
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand img { height: 30px; width: auto; }
.topbar nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.topbar nav a {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--slate-600);
  letter-spacing: 0.01em;
}
.topbar nav a:hover { color: var(--ink-900); }
.topbar nav a.btn-primary { color: #fff; }
.topbar nav a.btn-primary:hover { color: #fff; }
.vsep { width: 1px; height: 18px; background: var(--hairline); }

@media (max-width: 860px) {
  .topbar nav a:not(.btn), .vsep { display: none; }
}

/* ---------- hero ---------- */

.hero {
  padding: clamp(120px, 16vh, 168px) 0 clamp(56px, 8vh, 96px);
  position: relative;
}
.hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--hairline);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: clamp(40px, 6vw, 84px);
  align-items: center;
}

.pilot {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--slate-500);
  border: 1px solid var(--hairline);
  border-radius: var(--r-full);
  padding: 7px 16px 7px 8px;
  margin-bottom: 30px;
  background: var(--paper);
}
.pilot .tag {
  background: var(--orange-500);
  color: #fff;
  font-weight: 600;
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: var(--r-full);
  padding: 4px 11px;
}

.hero h1 {
  font-family: var(--font-display-serif);
  font-weight: 600;
  font-size: clamp(42px, 5.6vw, 68px);
  line-height: 1.03;
  letter-spacing: -0.018em;
  color: var(--ink-900);
  margin: 0 0 24px;
}

.hero .lede { margin-bottom: 36px; }

.hero-cta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-pills {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--slate-500);
}
.hero-pill .mark {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--orange-500);
  flex: none;
}

/* ---------- pulse monitor ---------- */

.pulse-card {
  background: var(--ink-900);
  border: 1px solid var(--ink-850);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-panel);
}
.pulse-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  border-bottom: 1px solid var(--hairline-dark);
}
.pulse-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(190, 208, 235, 0.75);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.pulse-label::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #3DD68C;
  box-shadow: 0 0 0 0 rgba(61, 214, 140, 0.5);
  animation: pulse-dot 2.4s infinite;
}
@keyframes pulse-dot {
  0% { box-shadow: 0 0 0 0 rgba(61, 214, 140, 0.45); }
  70% { box-shadow: 0 0 0 8px rgba(61, 214, 140, 0); }
  100% { box-shadow: 0 0 0 0 rgba(61, 214, 140, 0); }
}
.pulse-bpm {
  font-family: var(--font-mono);
  font-size: 13px;
  color: #fff;
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  font-variant-numeric: tabular-nums;
}
.pulse-bpm .heart { color: var(--orange-400); font-size: 12px; }

.pulse-canvas-wrap {
  height: 224px;
  position: relative;
}
#pulse-canvas { width: 100%; height: 100%; }

.pulse-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 22px;
  border-top: 1px solid var(--hairline-dark);
}
.pulse-foot > div {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: rgba(214, 226, 244, 0.92);
  min-width: 0;
}
.pulse-foot #pulse-alert {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dotpulse {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--orange-500);
  flex: none;
  animation: pulse-dot 2.4s infinite;
}
.pulse-foot .time {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: rgba(190, 208, 235, 0.55);
  flex: none;
}

/* ---------- section scaffolding ---------- */

.section { padding: clamp(72px, 10vh, 128px) 0; }
.section.tinted {
  background: var(--paper-tint);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}

.idea-head { max-width: 720px; margin-bottom: clamp(40px, 6vh, 64px); }
.idea-head .lede { margin-top: 18px; }

/* ---------- problem band ---------- */

.problem-dark {
  background: var(--ink-900);
  color: rgba(214, 226, 244, 0.85);
  padding: clamp(72px, 10vh, 120px) 0;
  position: relative;
  overflow: hidden;
}
.problem-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(to right, var(--hairline-dark) 0 1px, transparent 1px 96px);
  opacity: 0.35;
  pointer-events: none;
}
.problem-inner { position: relative; }
.problem-dark .eyebrow { color: rgba(190, 208, 235, 0.6); }
.problem-dark h2 {
  font-family: var(--font-display-serif);
  font-weight: 600;
  font-size: clamp(28px, 3.6vw, 42px);
  line-height: 1.14;
  letter-spacing: -0.012em;
  color: #fff;
  max-width: 21ch;
  margin: 0 0 clamp(40px, 6vh, 64px);
}

.problem-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 4vw, 56px);
  border-top: 1px solid var(--hairline-dark);
  padding-top: clamp(32px, 5vh, 48px);
  margin-bottom: clamp(36px, 6vh, 56px);
}
.pstat .v {
  font-family: var(--font-display-serif);
  font-size: clamp(52px, 6vw, 78px);
  font-weight: 600;
  line-height: 1;
  color: #fff;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  margin-bottom: 14px;
}
.pstat .v .accent { color: var(--orange-400); font-style: normal; }
.pstat .lbl {
  font-size: 15px;
  line-height: 1.5;
  color: rgba(214, 226, 244, 0.85);
  max-width: 26ch;
  margin-bottom: 12px;
}
.pstat .src {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(190, 208, 235, 0.45);
}

.problem-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  border-top: 1px solid var(--hairline-dark);
  padding-top: 28px;
  font-size: 15px;
}
.problem-foot strong { color: #fff; font-weight: 600; }
.src-pill {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(190, 208, 235, 0.5);
  border: 1px solid var(--hairline-dark);
  border-radius: var(--r-full);
  padding: 8px 16px;
  flex: none;
}

@media (max-width: 780px) {
  .problem-stats { grid-template-columns: 1fr; gap: 32px; }
  .pstat { border-left: 2px solid var(--hairline-dark); padding-left: 20px; }
}

/* ---------- compare ---------- */

.vs-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: clamp(16px, 3vw, 32px);
  align-items: stretch;
}
.vs-card {
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  padding: clamp(24px, 3vw, 36px);
  display: flex;
  flex-direction: column;
}
.vs-card .label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.vs-card.bad .label { color: var(--slate-400); }
.vs-card.good .label { color: var(--orange-500); }
.vs-card h3 {
  font-family: var(--font-display-serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--ink-900);
  margin: 0 0 20px;
}
.vs-card.good {
  border-color: rgba(28, 76, 156, 0.35);
  box-shadow: var(--shadow-md);
  position: relative;
}
.vs-card.good::before {
  content: "";
  position: absolute;
  top: -1px; left: 32px;
  width: 56px; height: 3px;
  background: var(--orange-500);
  border-radius: 0 0 3px 3px;
}
.vs-trend {
  border: 1px solid var(--hairline);
  border-radius: var(--r-sm);
  background: var(--paper-tint);
  padding: 14px;
  margin-bottom: 22px;
}
.vs-trend svg { width: 100%; height: 64px; }
.vs-steps {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  display: grid;
  gap: 10px;
  flex: 1;
}
.vs-steps li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14.5px;
  color: var(--slate-600);
}
.vs-steps .num {
  font-family: var(--font-mono);
  font-size: 10.5px;
  width: 24px; height: 24px;
  border-radius: 50%;
  border: 1px solid var(--hairline);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--slate-400);
  flex: none;
}
.vs-card.good .vs-steps .num { border-color: rgba(28, 76, 156, 0.4); color: var(--blue-500); }
.vs-card .result {
  border-top: 1px solid var(--hairline);
  padding-top: 18px;
  font-size: 14.5px;
  font-weight: 600;
}
.vs-card.bad .result { color: var(--color-danger); }
.vs-card.good .result { color: var(--blue-600); }

.vs-arrow {
  align-self: center;
  color: var(--slate-300);
  display: flex;
}

.vs-foot {
  margin-top: clamp(32px, 5vh, 48px);
  font-size: 15px;
  color: var(--slate-500);
  max-width: 62ch;
}
.vs-foot strong { color: var(--ink-900); }

@media (max-width: 900px) {
  .vs-row { grid-template-columns: 1fr; }
  .vs-arrow { transform: rotate(90deg); justify-self: center; }
}

/* ---------- how it works: steps ---------- */

.steps5 { display: grid; gap: clamp(64px, 10vh, 112px); }

.step5 {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.step5.rev .step-side { order: 2; }
.step5.rev .step-mock { order: 1; }

.badge-n {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--orange-500);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.badge-n::after {
  content: "";
  width: 32px;
  height: 1px;
  background: var(--hairline);
}
.step-side h3 {
  font-family: var(--font-display-serif);
  font-size: clamp(24px, 2.6vw, 31px);
  font-weight: 600;
  line-height: 1.16;
  letter-spacing: -0.01em;
  color: var(--ink-900);
  margin: 0 0 16px;
}
.step-side h3 .accent { color: var(--orange-500); font-style: italic; }
.step-side p { font-size: 15.5px; line-height: 1.65; color: var(--slate-500); }
.step-side p strong { color: var(--ink-900); font-weight: 600; }
.step-side p em { color: var(--ink-900); font-style: normal; font-weight: 500; }

.six-pills, .loop-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
  align-items: center;
}
.six-pills span, .loop-pills span:not(.sep) {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--slate-600);
  border: 1px solid var(--hairline);
  border-radius: var(--r-full);
  padding: 6px 14px;
  background: var(--paper);
}
.loop-pills .sep { color: var(--slate-300); font-size: 12px; }

/* mock frame shared */
.step-mock {
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  padding: clamp(22px, 3vw, 32px);
  box-shadow: var(--shadow-lg);
}

.step-mock .ttl {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--slate-400);
  margin-bottom: 6px;
}
.step-mock h4 {
  font-family: var(--font-display-serif);
  font-size: 19px;
  font-weight: 600;
  color: var(--ink-900);
  margin: 0 0 18px;
}

/* mock: morning check-in */
.mock-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}
.mock-head .title { font-size: 14px; font-weight: 600; color: var(--ink-900); }
.mock-head .meta { font-family: var(--font-mono); font-size: 11px; color: var(--slate-400); margin-top: 3px; }
.badge.orange {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--orange-600);
  background: var(--orange-50);
  border: 1px solid var(--orange-100);
  border-radius: var(--r-full);
  padding: 5px 12px;
  flex: none;
}
.badge.orange .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--orange-500); }

.mock-checkin h4 { margin-bottom: 22px; }
.mock-sliders { display: grid; gap: 15px; }
.mock-slider .row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 7px;
}
.mock-slider label { font-size: 13px; font-weight: 500; color: var(--slate-600); }
.mock-slider .v {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--slate-500);
  font-variant-numeric: tabular-nums;
}
.mock-slider .track {
  position: relative;
  height: 5px;
  border-radius: var(--r-full);
  background: var(--slate-100);
}
.mock-slider .fill {
  position: absolute;
  inset: 0 auto 0 0;
  border-radius: var(--r-full);
  background: var(--blue-500);
}
.mock-slider .thumb {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 14px; height: 14px;
  border-radius: 50%;
  background: #fff;
  border: 2.5px solid var(--blue-500);
  box-shadow: var(--shadow-xs);
}
.mock-slider.warn .fill { background: var(--orange-500); }
.mock-slider.warn .thumb { border-color: var(--orange-500); }
.mock-slider.warn label { color: var(--orange-600); font-weight: 600; }
.mock-slider.warn .v { color: var(--orange-600); }

.mock-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--hairline);
}
.mock-foot .skip { font-size: 13px; color: var(--slate-400); }
.mock-foot .submit {
  font-size: 13.5px;
  font-weight: 600;
  color: #fff;
  background: var(--ink-900);
  border-radius: var(--r-sm);
  padding: 10px 20px;
}

/* mock: areas of worklife hex */
.hex-wrap { padding: 18px 12px 10px; }
.hex-wrap svg { width: 100%; max-width: 360px; margin: 0 auto; height: auto; }
.mock-aow .citation { margin-top: 14px; }
.who-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: var(--blue-600);
  border: 1px solid var(--blue-100);
  background: var(--blue-50);
  border-radius: var(--r-full);
  padding: 6px 14px;
  margin-top: 14px;
}

/* mock: split private/manager */
.split-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.split-pane {
  border: 1px solid var(--hairline);
  border-radius: var(--r-md);
  padding: 18px;
  background: var(--paper-tint);
}
.split-pane.private { background: var(--paper); }
.split-pane .lbl {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate-500);
  margin-bottom: 14px;
}
.split-pane .lbl .ic { width: 13px; height: 13px; color: var(--orange-500); }
.split-pane .trend svg { width: 100%; height: 90px; }
.split-pane .legend {
  font-size: 12px;
  line-height: 1.5;
  color: var(--slate-400);
  margin-top: 12px;
}
.heatmap {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 5px;
  height: 90px;
}
.heatmap .c { border-radius: 4px; }

@media (max-width: 560px) {
  .split-row { grid-template-columns: 1fr; }
}

/* mock: nudge */
.nudge-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}
.nudge-head .ic {
  width: 40px; height: 40px;
  border-radius: var(--r-sm);
  background: var(--orange-50);
  color: var(--orange-500);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.nudge-ttl { font-size: 14px; font-weight: 600; color: var(--ink-900); }
.nudge-sub { font-family: var(--font-mono); font-size: 10.5px; color: var(--slate-400); margin-top: 2px; }
.mock-nudge h4 { margin-bottom: 10px; }
.mock-nudge .quote {
  font-size: 14px;
  line-height: 1.6;
  color: var(--slate-500);
  margin: 0 0 20px;
}
.opts { display: grid; gap: 10px; }
.opt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid var(--hairline);
  border-radius: var(--r-sm);
  padding: 13px 16px;
  font-size: 13.5px;
  color: var(--slate-600);
  transition: border-color var(--t-base) var(--ease);
}
.opt:hover { border-color: var(--slate-300); }
.opt .opt-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.opt.primary { border-color: rgba(28, 76, 156, 0.4); background: var(--blue-50); }
.opt .ic-arrow { color: var(--slate-300); flex: none; }
.optin {
  font-size: 12px;
  color: var(--slate-400);
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed var(--hairline);
}

/* mock: loop */
.loop-wrap { padding: 20px 8px 8px; }
.loop-wrap svg { width: 100%; max-width: 380px; margin: 0 auto; height: auto; }
.loop-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 16px 0 12px;
}
.loop-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: var(--slate-500);
  border: 1px solid var(--hairline);
  border-radius: var(--r-full);
  padding: 6px 13px;
}
.loop-pill .d { width: 6px; height: 6px; border-radius: 50%; flex: none; }

@media (max-width: 900px) {
  .step5, .step5.rev { grid-template-columns: 1fr; }
  .step5.rev .step-side { order: 1; }
  .step5.rev .step-mock { order: 2; }
}

/* ---------- ROI calculator ---------- */

.calc-wrap {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
}
.calc-intro .lede { margin-top: 18px; }

.calc-card {
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  padding: clamp(26px, 3.4vw, 40px);
  box-shadow: var(--shadow-lg);
}
.calc-card h3 {
  font-family: var(--font-display-serif);
  font-size: 21px;
  font-weight: 600;
  color: var(--ink-900);
  margin: 0 0 6px;
}
.calc-card .sub { font-size: 13.5px; color: var(--slate-400); margin: 0 0 28px; }

.calc-slider-field { margin-bottom: 24px; }
.slabel {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 10px;
}
.slabel label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate-500);
}
.slabel .val {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-900);
  font-variant-numeric: tabular-nums;
}

input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 5px;
  border-radius: var(--r-full);
  background: var(--slate-100);
  outline: none;
  cursor: pointer;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--ink-900);
  box-shadow: var(--shadow-sm);
  transition: transform var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.12); border-color: var(--orange-500); }
input[type="range"]::-moz-range-thumb {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--ink-900);
  box-shadow: var(--shadow-sm);
}
input[type="range"]:focus-visible { box-shadow: var(--shadow-focus); }

.ticks {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--slate-300);
  margin-top: 8px;
}

.calc-result {
  background: var(--ink-900);
  border-radius: var(--r-md);
  padding: 26px 28px;
  margin: 30px 0 16px;
  position: relative;
  overflow: hidden;
}
.calc-result::after {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--orange-500), transparent 70%);
}
.calc-result .k {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(190, 208, 235, 0.6);
  margin-bottom: 10px;
}
.calc-result .v {
  font-family: var(--font-display-serif);
  font-size: clamp(36px, 4vw, 48px);
  font-weight: 600;
  color: #fff;
  line-height: 1;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
  margin-bottom: 10px;
}
.calc-result .breakdown {
  font-size: 13px;
  color: rgba(214, 226, 244, 0.75);
}
.calc-result .breakdown strong { color: var(--orange-300); font-weight: 600; }

.calc-note {
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.6;
  color: var(--slate-400);
  margin: 0;
}

@media (max-width: 900px) {
  .calc-wrap { grid-template-columns: 1fr; }
}

/* ---------- technology ---------- */

.tech-head { max-width: 720px; margin-bottom: clamp(40px, 6vh, 60px); }
.tech-head .lede { margin-top: 18px; }

.tech-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: clamp(36px, 5vh, 52px);
}
.tech-card {
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  padding: 30px 28px;
  background: var(--paper);
  transition: border-color var(--t-base) var(--ease), transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease);
}
.tech-card:hover {
  border-color: var(--slate-300);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.tech-card .ic {
  width: 46px; height: 46px;
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  background: var(--blue-50);
  color: var(--blue-600);
}
.tech-card.orange .ic { background: var(--orange-50); color: var(--orange-600); }
.tech-card.green .ic { background: var(--color-success-bg); color: var(--color-success); }
.tech-card h3 {
  font-family: var(--font-display-serif);
  font-size: 19px;
  font-weight: 600;
  color: var(--ink-900);
  margin: 0 0 12px;
}
.tech-card p { font-size: 14px; line-height: 1.65; color: var(--slate-500); margin: 0; }

.tech-prose {
  font-size: clamp(17px, 1.8vw, 20px);
  font-family: var(--font-display-serif);
  line-height: 1.55;
  color: var(--slate-600);
  max-width: 58ch;
  margin: 0 0 clamp(36px, 5vh, 48px);
}
.tech-prose strong { color: var(--ink-900); font-weight: 600; }

.tech-marks {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
  border-top: 1px solid var(--hairline);
  padding-top: 26px;
}
.tech-marks .mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--slate-500);
}
.tech-marks .mark .ic {
  width: 26px; height: 26px;
  border-radius: 6px;
  border: 1px solid var(--hairline);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 600;
  color: var(--blue-600);
  background: var(--paper-tint);
  font-family: var(--font-sans);
}
.tech-marks .citation { margin-left: auto; }

@media (max-width: 900px) {
  .tech-grid { grid-template-columns: 1fr; }
  .tech-marks .citation { margin-left: 0; width: 100%; }
}

/* ---------- insights ---------- */

.insights-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: clamp(36px, 5vh, 52px);
}
.insights-head .lede { margin: 0; }

.featured-article {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  background: var(--ink-900);
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-bottom: 20px;
  color: inherit;
  box-shadow: var(--shadow-panel);
  transition: transform var(--t-base) var(--ease);
}
.featured-article:hover { transform: translateY(-3px); }
.fa-art {
  padding: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(120% 120% at 20% 0%, rgba(28, 76, 156, 0.5), transparent 60%),
    var(--ink-850);
  border-right: 1px solid var(--hairline-dark);
}
.fa-art svg { width: 100%; max-width: 280px; height: auto; }
.fa-body { padding: clamp(28px, 3.4vw, 44px); }
.fa-meta { margin-bottom: 16px; }
.fa-meta .cat {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange-400);
}
.featured-article h3 {
  font-family: var(--font-display-serif);
  font-size: clamp(22px, 2.4vw, 29px);
  font-weight: 600;
  line-height: 1.2;
  color: #fff;
  margin: 0 0 14px;
  max-width: 22ch;
}
.featured-article h3 .accent { color: var(--orange-400); font-style: italic; }
.featured-article p {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(214, 226, 244, 0.75);
  margin: 0 0 24px;
  max-width: 52ch;
}
.fa-foot {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(190, 208, 235, 0.55);
  flex-wrap: wrap;
}
.fa-foot .dot { width: 3px; height: 3px; border-radius: 50%; background: rgba(190, 208, 235, 0.35); }
.fa-foot .arr { margin-left: auto; color: var(--orange-400); font-family: var(--font-sans); font-size: 13px; font-weight: 600; }

.insights-grid.three {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.article {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--paper);
  color: inherit;
  transition: transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease), border-color var(--t-base) var(--ease);
}
.article:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--slate-300);
}
.article .thumb {
  position: relative;
  height: 128px;
  background:
    radial-gradient(100% 140% at 0% 0%, var(--blue-50), transparent 70%),
    var(--paper-tint);
  border-bottom: 1px solid var(--hairline);
  display: flex;
  align-items: center;
  justify-content: center;
}
.article.alt .thumb {
  background:
    radial-gradient(100% 140% at 100% 0%, var(--orange-50), transparent 70%),
    var(--paper-tint);
}
.article .thumb-mark {
  position: absolute;
  top: 14px; left: 16px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--slate-400);
}
.article .thumb-art {
  font-family: var(--font-display-serif);
  font-size: 56px;
  font-weight: 600;
  color: var(--blue-200);
  line-height: 1;
}
.article.alt .thumb-art { color: var(--orange-200); }
.article .body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.article .cat {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange-600);
  margin-bottom: 12px;
}
.article h3 {
  font-family: var(--font-display-serif);
  font-size: 17.5px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink-900);
  margin: 0 0 10px;
}
.article:hover h3 { text-decoration: underline; text-decoration-color: var(--orange-300); text-underline-offset: 4px; }
.article p { font-size: 13.5px; line-height: 1.6; color: var(--slate-500); margin: 0 0 18px; flex: 1; }
.article .meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--slate-400);
  flex-wrap: wrap;
}
.article .meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--slate-300); }

.insights-cta { margin-top: clamp(28px, 4vh, 40px); display: flex; justify-content: center; }

@media (max-width: 900px) {
  .insights-head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .insights-head .lede { text-align: left !important; }
  .featured-article { grid-template-columns: 1fr; }
  .fa-art { border-right: 0; border-bottom: 1px solid var(--hairline-dark); padding: 28px; }
  .fa-art svg { max-width: 200px; }
  .insights-grid.three { grid-template-columns: 1fr; }
}

/* ---------- pilot ---------- */

.pilot-wrap {
  padding: clamp(72px, 10vh, 128px) 0;
  background: var(--ink-900);
  position: relative;
  overflow: hidden;
}
.pilot-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(to right, var(--hairline-dark) 0 1px, transparent 1px 96px);
  opacity: 0.3;
  pointer-events: none;
}
.pilot-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 6vw, 72px);
  align-items: start;
}
.pilot-info .eyebrow { color: rgba(190, 208, 235, 0.6); }
.pilot-info h2 {
  font-family: var(--font-display-serif);
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.012em;
  color: #fff;
  margin: 0 0 18px;
}
.pilot-info h2 .accent { color: var(--orange-400); font-style: italic; }
.pilot-info .blurb {
  font-size: 15.5px;
  line-height: 1.65;
  color: rgba(214, 226, 244, 0.8);
  margin: 0 0 32px;
  max-width: 48ch;
}
.pilot-info h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(190, 208, 235, 0.6);
  margin: 0 0 16px;
}
.pilot-info ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.pilot-info li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14.5px;
  line-height: 1.55;
  color: rgba(214, 226, 244, 0.88);
}
.pilot-info li svg { flex: none; margin-top: 3px; color: var(--orange-400); }
.ask-block { margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--hairline-dark); }

.pilot-form {
  background: var(--paper);
  border-radius: var(--r-lg);
  padding: clamp(26px, 3.4vw, 40px);
  box-shadow: var(--shadow-panel);
}
.pilot-form h3 {
  font-family: var(--font-display-serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--ink-900);
  margin: 0 0 6px;
}
.pilot-form .sub { font-size: 13px; color: var(--slate-400); margin: 0 0 26px; }

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.field { margin-bottom: 16px; }
.field label {
  display: block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate-500);
  margin-bottom: 8px;
}
.field .req { color: var(--orange-500); }
.field input, .field select, .field textarea {
  width: 100%;
  font-family: var(--font-sans);
  font-size: 14.5px;
  color: var(--ink-900);
  background: var(--paper);
  border: 1px solid var(--slate-200);
  border-radius: var(--r-sm);
  padding: 12px 14px;
  transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
.field textarea { min-height: 88px; resize: vertical; line-height: 1.55; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--blue-400);
  box-shadow: var(--shadow-focus);
}
.field ::placeholder { color: var(--slate-300); }

.submit-row { margin-top: 22px; }
.submit-row .btn { width: 100%; }
.submit-row .small {
  font-size: 12px;
  color: var(--slate-400);
  text-align: center;
  margin-top: 14px;
}

.form-success {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--color-success-bg);
  border: 1px solid rgba(46, 139, 87, 0.25);
  border-radius: var(--r-md);
  padding: 22px;
  color: var(--color-success);
}
.form-success h4 { font-size: 16px; color: var(--color-success); margin: 0 0 6px; font-family: var(--font-sans); }
.form-success p { font-size: 14px; line-height: 1.6; color: var(--slate-600); margin: 0; }

@media (max-width: 900px) {
  .pilot-card { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .field-row { grid-template-columns: 1fr; }
}

/* ---------- footer ---------- */

footer.site {
  background: var(--ink-950);
  color: rgba(190, 208, 235, 0.6);
  padding: clamp(48px, 7vh, 72px) 0 32px;
  border-top: 1px solid var(--hairline-dark);
}
.foot-grid {
  display: grid;
  gap: clamp(32px, 5vw, 64px);
  margin-bottom: clamp(36px, 5vh, 56px);
}
footer.site img { height: 28px; width: auto; margin-bottom: 18px; }
footer.site .blurb {
  font-size: 14px;
  line-height: 1.65;
  max-width: 38ch;
  margin: 0 0 18px;
}
.foot-science {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--orange-400);
}
.foot-science:hover { color: var(--orange-300); }
footer.site h4 {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(190, 208, 235, 0.4);
  margin: 0 0 16px;
}
footer.site ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
footer.site ul a { font-size: 14px; color: rgba(214, 226, 244, 0.75); }
footer.site ul a:hover { color: #fff; }

.foot-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  border-top: 1px solid var(--hairline-dark);
  padding-top: 24px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(190, 208, 235, 0.4);
}
.foot-bottom .links { display: flex; gap: 20px; }
.foot-bottom a { color: rgba(190, 208, 235, 0.55); }
.foot-bottom a:hover { color: #fff; }

@media (max-width: 780px) {
  .foot-grid { grid-template-columns: 1fr !important; }
}

/* ---------- misc responsive ---------- */

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero { padding-top: 108px; }
}
