/* Millstone Labs — shared styles (draft) */
:root {
  --bg: #070b14;
  --bg-2: #0b1220;
  --panel: #0f1828;
  --panel-2: #131f33;
  --line: rgba(148, 178, 214, 0.14);
  --line-strong: rgba(148, 178, 214, 0.28);
  --text: #e8eef7;
  --muted: #93a4bb;
  --faint: #5f718a;
  --teal: #2ee6c5;
  --teal-dim: rgba(46, 230, 197, 0.14);
  --map: #2ee6c5;        /* Mapping track */
  --compute: #7aa8ff;    /* Computing track */
  --understand: #c79bff; /* Understanding track */
  --radius: 14px;
  --max: 1200px;
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { max-width: 100%; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 28px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7, 11, 20, 0.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 650; letter-spacing: 0.01em; }
.brand-mark {
  width: 26px; height: 26px; border-radius: 50%;
  border: 2px solid var(--teal);
  box-shadow: inset 0 0 0 5px var(--bg), inset 0 0 0 7px var(--teal);
}
.brand small { color: var(--muted); font-weight: 500; margin-left: 4px; }
.nav { display: flex; gap: 26px; font-size: 14.5px; }
.nav a { text-decoration: none; color: var(--muted); transition: color .2s; }
.nav a:hover, .nav a.active { color: var(--text); }
.nav a.active { color: var(--teal); }
.nav-toggle { display: none; background: none; border: 1px solid var(--line-strong); color: var(--text); border-radius: 8px; padding: 6px 10px; font: inherit; font-size: 14px; }

/* ---------- Buttons / labels ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 20px; border-radius: 999px;
  font-weight: 600; font-size: 15px; text-decoration: none;
  transition: transform .15s, background .2s, border-color .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--teal); color: #04120f; }
.btn-primary:hover { background: #5cf0d4; }
.btn-ghost { border: 1px solid var(--line-strong); color: var(--text); }
.btn-ghost:hover { border-color: var(--teal); }
.eyebrow {
  font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--teal);
}
.section { padding: 110px 0; border-top: 1px solid var(--line); }
.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(30px, 4vw, 44px); line-height: 1.12; letter-spacing: -0.02em; margin: 14px 0 16px; }
.section-head p { color: var(--muted); margin: 0; font-size: 18px; }
.note { color: var(--faint); font-size: 13.5px; }

/* Status tags */
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 3px 8px; border-radius: 999px; white-space: nowrap;
  border: 1px solid var(--line-strong); color: var(--muted);
}
.tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.tag.progress { color: var(--teal); border-color: rgba(46,230,197,.45); background: var(--teal-dim); }
.tag.progress::before { animation: pulse 1.8s ease-in-out infinite; }
.tag.target { color: #cfe0f5; }
.tag.stretch { color: #f0c27a; border-style: dashed; border-color: rgba(240,194,122,.5); }
.tag.longterm { color: var(--faint); border-style: dotted; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .25; } }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 120px 0 90px; }
.hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .55; }
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 70% at 75% 30%, rgba(46,230,197,.10), transparent 60%),
    linear-gradient(180deg, transparent 60%, var(--bg));
}
.hero .wrap { position: relative; z-index: 2; }
.hero h1 { font-size: clamp(42px, 6.4vw, 78px); line-height: 1.02; letter-spacing: -0.035em; margin: 20px 0 24px; max-width: 900px; }
.hero h1 em { font-style: normal; color: var(--teal); }
.hero .lede { font-size: clamp(18px, 2vw, 21px); color: var(--muted); max-width: 680px; margin: 0 0 36px; }
.hero .actions { display: flex; gap: 14px; flex-wrap: wrap; }

.objectives {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: repeat(4, 1fr);
  margin-top: 80px; border: 1px solid var(--line); border-radius: var(--radius);
  background: rgba(11,18,32,.7); backdrop-filter: blur(6px);
}
.objective { padding: 22px 24px; border-right: 1px solid var(--line); }
.objective:last-child { border-right: 0; }
.objective .yr { font-family: var(--mono); font-size: 12px; color: var(--faint); letter-spacing: .1em; text-transform: uppercase; }
.objective strong { display: block; font-size: 18px; margin: 6px 0 10px; line-height: 1.3; }

/* ---------- Timeline ---------- */
.tl-top { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.tl-legend { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; font-size: 13.5px; color: var(--muted); }
.tl-legend .dot { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 7px; vertical-align: middle; }
.tl-legend .sep { width: 1px; height: 18px; background: var(--line-strong); }
.tl-count { font-size: 13.5px; color: var(--muted); display: flex; align-items: center; gap: 10px; }
.tl-count .meter { width: 120px; height: 6px; border-radius: 99px; background: var(--panel-2); overflow: hidden; }
.tl-count .meter span { display: block; height: 100%; background: var(--teal); }

.tl-scroll { overflow-x: auto; padding-bottom: 6px; }
.tl {
  --cols: 7;
  --label: 132px;
  min-width: 1040px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(180deg, var(--bg-2), var(--bg));
  overflow: clip;
}
.tl-row { display: grid; grid-template-columns: var(--label) repeat(var(--cols), 1fr); }
.tl-head { border-bottom: 1px solid var(--line); position: relative; }
.tl-head .period { padding: 12px 10px 10px; border-left: 1px solid var(--line); }
.tl-head .period b { display: block; font-size: 14px; }
.tl-head .period span { font-size: 12px; color: var(--muted); }
.tl-head .corner { padding: 12px 14px; font-family: var(--mono); font-size: 10.5px; color: var(--faint); letter-spacing: .12em; text-transform: uppercase; align-self: end; }
.tl-head::after { content: ""; position: absolute; left: var(--label); right: 0; bottom: -1px; height: 2px;
  background: linear-gradient(90deg, var(--teal) 0, var(--teal) 7%, var(--line-strong) 7%, var(--line-strong) 86%, transparent); }
.tl-head .period.now b::after { content: "NOW"; margin-left: 8px; font-family: var(--mono); font-size: 9.5px; letter-spacing: .14em; color: #04120f; background: var(--teal); padding: 2px 6px; border-radius: 99px; vertical-align: 2px; }

.lane { display: grid; grid-template-columns: var(--label) repeat(var(--cols), 1fr); border-bottom: 1px solid var(--line); position: relative; }
.lane:last-child { border-bottom: 0; }
.lane-label {
  grid-column: 1; grid-row: 1 / span 3;
  padding: 12px 14px; font-weight: 600; font-size: 13.5px;
  display: flex; gap: 9px; align-items: center;
}
.lane-label i { width: 9px; height: 9px; border-radius: 3px; flex: none; }
.lane-map .lane-label i { background: var(--map); }
.lane-compute .lane-label i { background: var(--compute); }
.lane-understand .lane-label i { background: var(--understand); }
.lane-progress .lane-label i { background: transparent; border: 2px solid var(--teal); border-radius: 50%; }
.lane::before {
  content: ""; position: absolute; inset: 0 0 0 var(--label); pointer-events: none;
  background: repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px calc(100% / 7));
}

.ms {
  position: relative; margin: 6px 4px; padding: 8px 10px 8px 13px;
  border-radius: 9px; text-align: left; cursor: pointer;
  background: var(--panel); border: 1px solid var(--line); color: var(--text); font: inherit;
  transition: transform .15s, border-color .2s, background .2s;
  display: flex; flex-direction: column; gap: 5px; align-items: flex-start;
}
.ms::before { content: ""; position: absolute; left: 0; top: 8px; bottom: 8px; width: 3px; border-radius: 3px; background: var(--c); }
.ms:hover, .ms:focus-visible { transform: translateY(-1px); border-color: var(--c); background: var(--panel-2); outline: none; }
.ms[aria-expanded=true] { border-color: var(--c); background: var(--panel-2); box-shadow: 0 0 0 3px rgba(255,255,255,.06); }
.ms b { font-size: 13px; line-height: 1.25; font-weight: 600; }
.ms .yrs { font-family: var(--mono); font-size: 10px; color: var(--faint); letter-spacing: .06em; }
.ms .tag { font-size: 9.5px; padding: 2px 7px; }
.lane-map .ms { --c: var(--map); }
.lane-compute .ms { --c: var(--compute); }
.lane-understand .ms { --c: var(--understand); }
.ms.is-stretch { border-style: dashed; }
.ms.is-longterm { background: transparent; border-style: dotted; }
.ms.is-progress { box-shadow: 0 0 0 1px rgba(46,230,197,.25), 0 8px 24px -12px rgba(46,230,197,.45); }

.lane-progress { background: rgba(46,230,197,.025); }
.acc { padding: 9px 8px; display: flex; flex-direction: column; gap: 5px; font-size: 12px; color: var(--muted); line-height: 1.3; }
.acc span { display: flex; gap: 7px; align-items: flex-start; }
.pip { display: inline-block; width: 11px; height: 11px; flex: none; margin-top: 2px; border-radius: 50%; border: 2px solid var(--line-strong); }
.pip.half { border-color: var(--teal); background: linear-gradient(90deg, var(--teal) 50%, transparent 50%); }
.pip.full { border-color: var(--teal); background: var(--teal); }

.tl-hint { display: none; font-size: 13px; color: var(--faint); margin-top: 10px; }

/* Detail panel (revealed on click) */
.detail { margin-top: 18px; }
.detail-inner {
  position: relative; padding: 26px 30px; border-radius: var(--radius);
  background: var(--bg-2); border: 1px solid var(--c, var(--line)); border-left-width: 3px;
  animation: rise .25s ease;
}
@keyframes rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.detail-inner.map { --c: var(--map); }
.detail-inner.compute { --c: var(--compute); }
.detail-inner.understand { --c: var(--understand); }
.detail header { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-bottom: 8px; padding-right: 40px; }
.detail .when { font-family: var(--mono); font-size: 11.5px; letter-spacing: .1em; color: var(--c); text-transform: uppercase; }
.detail h3 { margin: 0; font-size: 21px; letter-spacing: -0.01em; }
.detail p { margin: 0 0 12px; color: #c4d0e0; max-width: 820px; }
.detail dl { display: grid; grid-template-columns: 130px 1fr; gap: 6px 16px; margin: 6px 0 0; font-size: 15px; max-width: 900px; }
.detail dt { color: var(--faint); font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; padding-top: 4px; }
.detail dd { margin: 0; color: var(--muted); }
.detail dd strong { color: var(--text); }
.detail .close { position: absolute; top: 14px; right: 14px; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line-strong); background: none; color: var(--muted); font-size: 18px; cursor: pointer; }
.detail .close:hover { color: var(--text); border-color: var(--text); }
.detail-empty { font-size: 14px; color: var(--faint); padding: 4px 2px; }
.ms-data { display: none; }

/* ---------- Prices ---------- */
.prices { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 56px; }
.price-card { border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-2); padding: 26px 26px 18px; }
.price-card h3 { margin: 0 0 4px; font-size: 19px; display: flex; align-items: center; gap: 10px; }
.price-card h3 i { width: 10px; height: 10px; border-radius: 3px; }
.price-card > p { margin: 0 0 14px; color: var(--muted); font-size: 14px; }
.ptable { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.ptable th { text-align: left; font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); font-weight: 500; padding: 8px 8px 8px 0; border-bottom: 1px solid var(--line); }
.ptable td { padding: 11px 8px 11px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.ptable tr:last-child td { border-bottom: 0; }
.ptable td:first-child { font-weight: 600; }
.ptable td small { display: block; color: var(--faint); font-weight: 400; font-size: 12px; margin-top: 2px; }
.ptable .launch { color: var(--text); white-space: nowrap; }
.ptable .mature { color: var(--teal); white-space: nowrap; }
.ptable .tag { font-size: 9.5px; padding: 2px 7px; }

/* ---------- Solution ---------- */
.solutions { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 20px; }
.solution { padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(180deg, var(--bg-2), var(--bg)); }
.solution .fixes { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: #f08a7a; }
.solution h3 { margin: 8px 0 8px; font-size: 20px; }
.solution p { margin: 0; color: var(--muted); font-size: 15.5px; }
.sub-head { display: flex; align-items: baseline; gap: 14px; margin: 64px 0 6px; }
.sub-head h3 { font-size: 28px; margin: 0; letter-spacing: -0.01em; }
.goal-strip { margin-top: 20px; padding: 22px 26px; border-radius: var(--radius); border: 1px solid rgba(46,230,197,.35); background: var(--teal-dim); display: flex; flex-wrap: wrap; gap: 10px 40px; align-items: center; }
.goal-strip b { font-size: 17px; }
.goal-strip span { color: var(--muted); font-size: 15px; }

/* ---------- Neuromorphic intro ---------- */
.flow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 10px 0 56px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.flow div { padding: 26px; border-right: 1px solid var(--line); position: relative; background: var(--bg-2); }
.flow div:last-child { border-right: 0; }
.flow .n { font-family: var(--mono); color: var(--compute); font-size: 12px; letter-spacing: .1em; }
.flow h3 { margin: 8px 0 6px; font-size: 19px; }
.flow p { margin: 0; color: var(--muted); font-size: 15px; }
.why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 64px; }
.why div { padding: 18px 18px 18px 0; border-top: 2px solid var(--compute); }
.why b { display: block; font-size: 16px; margin-bottom: 4px; }
.why span { color: var(--muted); font-size: 14.5px; }

/* ---------- Cost problem ---------- */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.stat { padding: 34px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-2); }
.stat .num { font-size: clamp(40px, 5vw, 60px); font-weight: 700; letter-spacing: -0.03em; line-height: 1; color: var(--text); }
.stat .num small { font-size: .45em; color: var(--muted); font-weight: 600; margin-left: 6px; }
.stat p { color: var(--muted); margin: 14px 0 0; }
.bar { margin-top: 22px; height: 12px; border-radius: 999px; overflow: hidden; display: flex; background: var(--panel-2); }
.bar span:nth-child(1) { background: #f08a7a; }
.bar span:nth-child(2) { background: var(--compute); }
.bar span:nth-child(3) { background: var(--teal); }
.bar-key { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 10px; font-size: 13px; color: var(--muted); }
.bar-key i { display: inline-block; width: 9px; height: 9px; border-radius: 2px; margin-right: 6px; }
.approach { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 20px; }
.approach div { padding: 26px; border-radius: var(--radius); border: 1px solid var(--line); }
.approach h3 { margin: 10px 0 8px; font-size: 18px; }
.approach p { margin: 0; color: var(--muted); font-size: 15px; }
.approach .n { font-family: var(--mono); color: var(--teal); font-size: 12px; }

/* ---------- Acceleration ---------- */
.accel { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: stretch; }
.accel-table { width: 100%; border-collapse: collapse; }
.accel-table td { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 18px; }
.accel-table td:last-child { text-align: right; font-weight: 650; color: var(--teal); }
.calc { padding: 32px; border-radius: var(--radius); background: var(--bg-2); border: 1px solid var(--line); }
.calc label { display: block; font-size: 14px; color: var(--muted); margin: 0 0 10px; }
.calc input[type=range] { width: 100%; accent-color: var(--teal); }
.seg { display: inline-flex; border: 1px solid var(--line-strong); border-radius: 999px; padding: 3px; margin-bottom: 26px; }
.seg button { background: none; border: 0; color: var(--muted); font: inherit; font-size: 14px; padding: 7px 14px; border-radius: 999px; cursor: pointer; }
.seg button[aria-pressed=true] { background: var(--teal); color: #04120f; font-weight: 600; }
.calc-out { margin-top: 26px; font-size: 15px; color: var(--muted); }
.calc-out strong { display: block; font-size: clamp(34px, 4vw, 48px); color: var(--text); letter-spacing: -0.02em; line-height: 1.1; margin-top: 6px; }

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  padding: 30px; border-radius: var(--radius); border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--bg-2), var(--bg));
  text-decoration: none; display: flex; flex-direction: column; gap: 10px;
  transition: border-color .2s, transform .15s;
}
.card:hover { border-color: var(--teal); transform: translateY(-2px); }
.card h3 { margin: 6px 0 0; font-size: 21px; }
.card p { margin: 0; color: var(--muted); font-size: 15.5px; flex: 1; }
.card .more { color: var(--teal); font-size: 14.5px; font-weight: 600; }

.principles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.principles div { padding-top: 18px; border-top: 2px solid var(--teal); }
.principles h3 { margin: 0 0 8px; font-size: 17px; }
.principles p { margin: 0; color: var(--muted); font-size: 15px; }
.research-note { margin-top: 44px; padding: 22px 26px; border-radius: var(--radius); border: 1px dashed var(--line-strong); color: var(--muted); font-size: 15.5px; }
.research-note a { color: var(--teal); }

/* ---------- CTA / footer ---------- */
.cta {
  margin: 0 auto; padding: 64px; border-radius: 22px;
  background: radial-gradient(80% 120% at 0% 0%, rgba(46,230,197,.16), transparent 60%), var(--panel);
  border: 1px solid var(--line-strong);
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center;
}
.cta h2 { font-size: clamp(32px, 4vw, 46px); margin: 0 0 14px; letter-spacing: -0.02em; }
.cta p { color: var(--muted); margin: 0; }
.price { font-size: 15px; color: var(--muted); }
.price strong { display: block; font-size: 30px; color: var(--text); margin: 4px 0; }
.placeholder { color: #f0c27a; border-bottom: 1px dashed #f0c27a; }
.site-footer { padding: 60px 0 50px; color: var(--faint); font-size: 14px; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.site-footer a { color: var(--muted); text-decoration: none; margin-right: 18px; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .objectives { grid-template-columns: repeat(2, 1fr); }
  .objective:nth-child(2) { border-right: 0; }
  .objective:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .ex-card { grid-template-columns: 1fr; gap: 18px; }
  .progress-grid, .accel, .cta { grid-template-columns: 1fr; }
  .cards, .approach, .solutions, .prices, .flow, .why { grid-template-columns: 1fr; }
  .flow div { border-right: 0; border-bottom: 1px solid var(--line); }
  .principles { grid-template-columns: repeat(2, 1fr); }
  .tl-hint { display: block; }
}
@media (max-width: 760px) {
  .nav { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); }
  .nav.open { display: flex; }
  .nav a { padding: 14px 28px; border-top: 1px solid var(--line); }
  .nav-toggle { display: block; }
  .stats, .principles { grid-template-columns: 1fr; }
  .section { padding: 80px 0; }
  .cta { padding: 36px; }
  .detail dl { grid-template-columns: 1fr; gap: 2px; }
  .detail dd { margin-bottom: 10px; }
  .detail-inner { padding: 22px 20px; }
  .price-card { padding: 20px 16px 12px; overflow-x: auto; }
  .ptable { font-size: 13.5px; }
  .ptable td:first-child { min-width: 120px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .tag.progress::before { animation: none; }
}
@media (max-width: 760px) {
  .tl { --label: 100px; min-width: 960px; }
  .lane-label { position: sticky; left: 0; z-index: 2; background: var(--bg-2); font-size: 13px; padding: 14px 10px; }
}

/* ---------- 10,000x highlight ---------- */
.speed {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center;
  padding: 48px; border-radius: 22px; border: 1px solid var(--line-strong);
  background: radial-gradient(70% 120% at 0% 50%, rgba(122,168,255,.16), transparent 60%), var(--bg-2);
}
.speed-num { font-size: clamp(72px, 11vw, 150px); font-weight: 800; letter-spacing: -0.05em; line-height: .9;
  background: linear-gradient(90deg, var(--text), var(--compute)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.speed-num span { font-size: .55em; margin-left: 4px; }
.speed-main p { margin: 18px 0 0; font-size: 20px; color: var(--muted); max-width: 420px; }
.speed-eq { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.speed-eq div { padding: 18px 20px; border-radius: 12px; background: rgba(255,255,255,.03); border: 1px solid var(--line); }
.speed-eq b { display: block; font-size: 15px; color: var(--muted); font-weight: 500; }
.speed-eq span { display: block; font-size: 22px; font-weight: 700; color: var(--text); margin-top: 4px; line-height: 1.2; }
@media (max-width: 980px) { .speed { grid-template-columns: 1fr; padding: 32px; } }
@media (max-width: 760px) { .speed { padding: 26px 20px; } .speed-eq span { font-size: 18px; } }

/* =========================================================
   Shared subpage components
   ========================================================= */
.page-hero { position: relative; overflow: hidden; padding: 96px 0 64px; border-bottom: 1px solid var(--line); }
.page-hero::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(55% 90% at 85% 0%, rgba(46,230,197,.10), transparent 60%); }
.page-hero.compute::after { background: radial-gradient(55% 90% at 85% 0%, rgba(122,168,255,.14), transparent 60%); }
.page-hero.understand::after { background: radial-gradient(55% 90% at 85% 0%, rgba(199,155,255,.12), transparent 60%); }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(38px, 5.4vw, 64px); line-height: 1.05; letter-spacing: -0.03em; margin: 16px 0 20px; max-width: 900px; }
.page-hero h1 em { font-style: normal; color: var(--teal); }
.page-hero.compute h1 em { color: var(--compute); }
.page-hero.understand h1 em { color: var(--understand); }
.page-hero .lede { font-size: clamp(17px, 1.8vw, 20px); color: var(--muted); max-width: 720px; margin: 0; }
.crumbs { font-size: 13px; color: var(--faint); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--text); }

.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: start; }
.prose { max-width: 720px; }
.prose p { color: #c4d0e0; margin: 0 0 16px; }
.prose h3 { font-size: 22px; margin: 32px 0 10px; letter-spacing: -0.01em; }
.prose ul { color: var(--muted); padding-left: 20px; margin: 0 0 16px; }
.prose li { margin-bottom: 6px; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.box { padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(180deg, var(--bg-2), var(--bg)); }
.box h3 { margin: 8px 0 8px; font-size: 20px; }
.box p { margin: 0 0 10px; color: var(--muted); font-size: 15.5px; }
.box p:last-child { margin-bottom: 0; }
.box .kicker { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--teal); }
.box.compute .kicker { color: var(--compute); }
.box.understand .kicker { color: var(--understand); }
.box .row-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.box.dashed { border-style: dashed; background: transparent; }

.callout { padding: 22px 26px; border-radius: var(--radius); border: 1px solid rgba(46,230,197,.35); background: var(--teal-dim); color: #d7e3f1; }
.callout.compute { border-color: rgba(122,168,255,.4); background: rgba(122,168,255,.10); }
.callout.muted { border: 1px dashed var(--line-strong); background: transparent; color: var(--muted); }
.callout b { color: var(--text); }

.steps { counter-reset: step; display: grid; gap: 14px; }
.step { position: relative; padding: 20px 24px 20px 72px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg-2); }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); position: absolute; left: 24px; top: 20px; font-family: var(--mono); font-size: 14px; color: var(--teal); }
.step h3 { margin: 0 0 4px; font-size: 17px; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }

.dtable { width: 100%; border-collapse: collapse; font-size: 15px; }
.dtable th { text-align: left; font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); font-weight: 500; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line-strong); }
.dtable td { padding: 13px 12px 13px 0; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--muted); }
.dtable td:first-child { color: var(--text); font-weight: 600; }
.dtable td strong { color: var(--text); }
.dtable small { display: block; color: var(--faint); font-size: 12.5px; font-weight: 400; margin-top: 2px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); padding: 6px 22px 10px; background: var(--bg-2); }

.next-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.next-links a { display: block; padding: 22px 24px; border-radius: 12px; border: 1px solid var(--line); text-decoration: none; transition: border-color .2s, transform .15s; }
.next-links a:hover { border-color: var(--teal); transform: translateY(-2px); }
.next-links span { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }
.next-links b { display: block; margin-top: 6px; font-size: 17px; }

.form { display: grid; gap: 16px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 6px; font-size: 14px; color: var(--muted); }
.form input, .form select, .form textarea {
  font: inherit; font-size: 15px; color: var(--text); background: var(--bg); border: 1px solid var(--line-strong);
  border-radius: 10px; padding: 12px 14px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px var(--teal-dim); }
.form textarea { min-height: 140px; resize: vertical; }
.form button { justify-self: start; border: 0; cursor: pointer; }

@media (max-width: 980px) {
  .split, .grid-3, .next-links { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .page-hero { padding: 72px 0 48px; }
  .form .row { grid-template-columns: 1fr; }
  .step { padding: 18px 18px 18px 60px; }
  .step::before { left: 18px; }
}

/* Header: avoid wrapping at mid widths */
.brand { white-space: nowrap; }
@media (max-width: 1100px) { .nav { gap: 18px; font-size: 14px; } .brand small { display: none; } }
@media (max-width: 900px) {
  .nav { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); }
  .nav.open { display: flex; }
  .nav a { padding: 14px 28px; border-top: 1px solid var(--line); }
  .nav-toggle { display: block; }
}
