/* Kinetome design system
   Palette: Gauze (paper) · Ink (deep indigo) · Kinetic blue · Meter amber (estimates) · Slate
   Type: one geometric sans family, tabular numerals for data; Charter/Georgia italic as a second voice. */

:root {
  --gauze: #F5F6F2;
  --gauze-deep: #ECEEE7;
  --ink: #101C30;
  --ink-soft: #27354C;
  --panel: #0C1524;
  --panel-edge: #233349;
  --kinetic: #2847E0;
  --kinetic-deep: #1D36B8;
  --amber: #B97716;
  --slate: #5C6775;
  --slate-light: #93A0B4;
  --line: #D8DBD2;
  --ok: #1D7A4F;
  --err: #B3362B;

  --sans: "Avenir Next", Avenir, "Segoe UI", Inter, Roboto, "Helvetica Neue", system-ui, sans-serif;
  --serif: Charter, "Iowan Old Style", Georgia, serif;

  --shell: 1120px;
  --radius: 10px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--gauze);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 0.6em; letter-spacing: -0.015em; font-weight: 600; }
p { margin: 0 0 1em; }
a { color: var(--kinetic); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--kinetic-deep); }
:focus-visible { outline: 3px solid var(--kinetic); outline-offset: 2px; border-radius: 2px; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--ink); color: #fff; padding: 0.6rem 1rem;
}
.skip:focus { left: 0; }

.shell { max-width: var(--shell); margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 2.5rem); }
.shell.wide { max-width: 1240px; }
.shell.narrow { max-width: 760px; }
.center { text-align: center; }

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

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--gauze) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-row {
  display: flex; align-items: center; gap: 1.75rem;
  min-height: 68px;
}
.wordmark {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-weight: 700; font-size: 1.2rem; letter-spacing: -0.01em;
  color: var(--ink); text-decoration: none;
}
.wordmark svg { display: block; }
.site-nav { display: flex; gap: 1.4rem; margin-left: auto; }
.site-nav a {
  color: var(--ink-soft); text-decoration: none; font-size: 0.95rem; font-weight: 500;
  padding: 0.35rem 0; border-bottom: 2px solid transparent;
}
.site-nav a:hover { color: var(--ink); }
.site-nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--kinetic); }
.header-actions { display: flex; align-items: center; gap: 1rem; }
.nav-login {
  font-size: 0.95rem; font-weight: 500; color: var(--ink-soft);
  text-decoration: none; white-space: nowrap;
}
.nav-login:hover { color: var(--kinetic); }

.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  width: 44px; height: 44px; padding: 10px; margin-left: auto;
}
.nav-toggle span {
  display: block; height: 2px; background: var(--ink); margin: 6px 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

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

.btn {
  display: inline-block; font-family: inherit; font-weight: 600; font-size: 1rem;
  padding: 0.7rem 1.4rem; border-radius: 999px; text-decoration: none;
  border: 1.5px solid transparent; cursor: pointer; line-height: 1.3;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn-primary { background: var(--kinetic); color: #fff; }
.btn-primary:hover { background: var(--kinetic-deep); color: #fff; }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--kinetic); color: var(--kinetic); }
.btn-lg { padding: 0.85rem 1.8rem; font-size: 1.05rem; }
.btn-sm { padding: 0.45rem 1rem; font-size: 0.9rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 1.8rem; }
.cta-row.center { justify-content: center; }
.text-link { font-weight: 600; }
.text-link-light { color: #AEBBFF; }
.text-link-light:hover { color: #D4DBFF; }
.link-btn {
  background: none; border: 0; padding: 0; font: inherit; color: var(--kinetic);
  cursor: pointer; text-decoration: underline; text-underline-offset: 3px;
}

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

.hero { padding: clamp(4rem, 9vh, 7rem) 0 3rem; }
.hero-title {
  font-size: clamp(2.9rem, 7.5vw, 5.2rem);
  font-weight: 700; letter-spacing: -0.03em; line-height: 1.02;
  margin-bottom: 1.4rem; max-width: 14ch;
}
.hero-lede, .lede {
  font-size: clamp(1.1rem, 1.9vw, 1.3rem); line-height: 1.55;
  color: var(--ink-soft); max-width: 62ch;
}
.page-hero { padding: clamp(3.5rem, 7vh, 5.5rem) 0 1rem; }
.page-hero h1 {
  font-size: clamp(2.3rem, 5.5vw, 3.6rem); font-weight: 700;
  letter-spacing: -0.025em; max-width: 22ch;
}

/* ---------- Trace figure (hero diagram) ---------- */

.trace-figure { margin: 3.5rem 0 0; }
.trace-svg { display: block; width: 100%; height: auto; color: var(--kinetic); }
.trace-path { stroke-dasharray: 1400; stroke-dashoffset: 0; }
@media (prefers-reduced-motion: no-preference) {
  .trace-path { animation: trace-draw 2.4s cubic-bezier(0.45, 0, 0.2, 1) both; }
  .trace-dot-end { animation: trace-appear 0.5s ease 2.2s both; }
  @keyframes trace-draw { from { stroke-dashoffset: 1400; } to { stroke-dashoffset: 0; } }
  @keyframes trace-appear { from { opacity: 0; } to { opacity: 1; } }
}
.trace-ticks { opacity: 0.85; }
.trace-dot-end { fill: var(--kinetic); }
.trace-stations {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 3vw, 2.5rem);
  margin-top: 0.75rem;
}
.trace-station h3 { font-size: 1.05rem; margin-bottom: 0.4rem; }
.trace-station h3::before {
  content: ""; display: block; width: 2rem; height: 3px;
  background: var(--kinetic); margin-bottom: 0.7rem; border-radius: 2px;
}
.trace-station p { font-size: 0.95rem; color: var(--slate); margin: 0; }
.trace-caption { font-size: 0.85rem; color: var(--slate); margin-top: 1.4rem; }
figure { margin: 0; }

/* ---------- Sections ---------- */

.section { padding: clamp(3.5rem, 8vh, 6.5rem) 0; }
.section-tick { border-top: 1px solid var(--line); position: relative; }
.section-tick::before {
  content: ""; position: absolute; top: -1px; left: clamp(1.25rem, 4vw, 2.5rem);
  width: 3rem; height: 3px; background: var(--kinetic);
}
.section-h { font-size: clamp(1.8rem, 3.6vw, 2.5rem); letter-spacing: -0.02em; max-width: 26ch; }
.section-sub { color: var(--slate); max-width: 62ch; font-size: 1.1rem; margin-bottom: 2.5rem; }

.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 4.5rem); }
.split-head h2 { font-size: clamp(1.7rem, 3.2vw, 2.3rem); letter-spacing: -0.02em; position: sticky; top: 96px; }
.split-body p { max-width: 62ch; }
.split-body p:last-child { margin-bottom: 0; }

.section-dark {
  background: var(--panel); color: #E8ECF4;
}
.section-dark .section-h { color: #fff; }
.section-dark .section-sub { color: var(--slate-light); }
.section-flush { border-top: none; }

.section-cta { padding-bottom: clamp(5rem, 10vh, 8rem); }
.section-cta h2 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); letter-spacing: -0.02em; }

/* ---------- Capability cards ---------- */

.cap-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 2.5rem; }
.cap-card {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2.25rem); background: #fff;
}
.cap-card h3 { font-size: 1.35rem; }
.cap-card > p { color: var(--slate); }
.cap-card-dark { background: var(--panel); border-color: var(--panel-edge); color: #E8ECF4; }
.cap-card-dark h3 { color: #fff; }
.cap-card-dark > p { color: var(--slate-light); }
.plain-list { list-style: none; padding: 0; margin: 1.25rem 0 1.5rem; }
.plain-list li {
  padding: 0.5rem 0 0.5rem 1.4rem; position: relative;
  border-top: 1px solid var(--line); font-size: 0.97rem;
}
.cap-card-dark .plain-list li { border-top-color: var(--panel-edge); }
.plain-list li::before {
  content: ""; position: absolute; left: 0; top: 1.05rem;
  width: 0.65rem; height: 2px; background: var(--kinetic); border-radius: 1px;
}
.cap-card-dark .plain-list li::before { background: #5F77F0; }

/* ---------- Lifecycle (home) ---------- */

.lifecycle {
  list-style: none; counter-reset: stage; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem 2.25rem;
  margin: 0 0 2rem;
}
.lifecycle li {
  counter-increment: stage;
  border-top: 2px solid var(--ink); padding-top: 1rem; position: relative;
}
.lifecycle li::before {
  content: counter(stage, decimal-leading-zero);
  font-size: 0.85rem; font-weight: 600; color: var(--kinetic);
  font-variant-numeric: tabular-nums;
  display: block; margin-bottom: 0.35rem;
}
.lifecycle h3 { font-size: 1.15rem; margin-bottom: 0.35rem; }
.lifecycle p { font-size: 0.95rem; color: var(--slate); margin: 0; }

/* ---------- Example lists (home) ---------- */

.example-list { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.example-list li {
  padding: 0.9rem 0 0.9rem 1.6rem; border-top: 1px solid var(--line); position: relative;
  max-width: 62ch;
}
.example-list li:last-child { border-bottom: 1px solid var(--line); }
.example-list li::before {
  content: ""; position: absolute; left: 0; top: 1.55rem;
  width: 0.75rem; height: 2px; background: var(--kinetic);
}
.example-list strong { display: block; }

/* ---------- Portal preview (home) ---------- */

.portal-preview { margin-top: 2.5rem; }
.pp-window {
  background: #0F1B2E; border: 1px solid var(--panel-edge); border-radius: 14px;
  overflow: hidden; box-shadow: 0 24px 60px -24px rgba(4, 10, 22, 0.8);
}
.pp-bar {
  display: flex; align-items: center; gap: 0.45rem;
  background: #0A1322; padding: 0.7rem 1.1rem; border-bottom: 1px solid var(--panel-edge);
}
.pp-bar span { width: 10px; height: 10px; border-radius: 50%; background: #2C3C55; }
.pp-bar p { margin: 0 0 0 0.75rem; font-size: 0.8rem; color: var(--slate-light); }
.pp-body { display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr); gap: 2rem; padding: clamp(1.25rem, 3vw, 2.25rem); }
.pp-id { font-size: 0.85rem; color: var(--slate-light); font-variant-numeric: tabular-nums; margin-bottom: 0.3rem; }
.pp-title { color: #fff; font-size: 1.3rem; margin-bottom: 1.1rem; }
.pp-stages { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-bottom: 1.2rem; }
.pp-stage {
  font-size: 0.78rem; padding: 0.28rem 0.7rem; border-radius: 999px;
  border: 1px solid var(--panel-edge); color: var(--slate-light);
}
.pp-done { border-color: transparent; background: #1A2A42; color: #9FB4D8; }
.pp-current { background: var(--kinetic); border-color: var(--kinetic); color: #fff; font-weight: 600; }
.pp-note { font-size: 0.95rem; color: #C3CDE0; border-left: 2px solid var(--kinetic); padding-left: 0.9rem; margin: 0; }
.pp-side { border-left: 1px solid var(--panel-edge); padding-left: 1.5rem; align-self: center; }
.pp-side p { display: flex; flex-direction: column; margin-bottom: 1.1rem; }
.pp-k { font-size: 0.8rem; color: var(--slate-light); }
.pp-v { color: #fff; font-weight: 500; }
.section-dark .trace-caption { color: var(--slate-light); }

/* ---------- FAQ ---------- */

.faq-item { border-top: 1px solid var(--line); }
.faq-item:last-of-type { border-bottom: 1px solid var(--line); }
.faq-item summary {
  cursor: pointer; font-weight: 600; font-size: 1.05rem;
  padding: 1.1rem 2.2rem 1.1rem 0; list-style: none; position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 0.25rem; top: 50%;
  transform: translateY(-50%); font-size: 1.4rem; font-weight: 400; color: var(--kinetic);
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item p { color: var(--ink-soft); padding: 0 0 1.3rem; max-width: 65ch; margin: 0; }

/* ---------- Services page ---------- */

.svc-stages { list-style: none; padding: 0; margin: 0; max-width: 60rem; }
.svc-stage { border-top: 2px solid var(--ink); padding: 1.5rem 0 2.75rem; }
.svc-stage-head { display: flex; align-items: baseline; gap: 1rem; margin-bottom: 0.75rem; }
.svc-n {
  font-size: 0.9rem; font-weight: 600; color: var(--kinetic);
  font-variant-numeric: tabular-nums;
}
.svc-stage h3 { font-size: 1.5rem; margin: 0; }
.svc-stage > p { max-width: 65ch; }
.svc-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-top: 1.25rem; }
.svc-cols h4 {
  font-size: 0.85rem; color: var(--kinetic); margin-bottom: 0.4rem; font-weight: 600;
}
.svc-cols p { font-size: 0.96rem; color: var(--ink-soft); margin: 0; }

/* ---------- Efficiency page ---------- */

.dash {
  background: #0F1B2E; border: 1px solid var(--panel-edge); border-radius: 14px;
  padding: clamp(1.25rem, 3vw, 2rem);
  box-shadow: 0 24px 60px -24px rgba(4, 10, 22, 0.8);
}
.dash-head {
  display: flex; justify-content: space-between; align-items: start; gap: 1rem;
  flex-wrap: wrap; margin-bottom: 1.5rem;
}
.dash-title { color: #fff; font-weight: 600; font-size: 1.15rem; margin: 0; }
.dash-period { color: var(--slate-light); font-size: 0.9rem; margin: 0.15rem 0 0; }
.dash-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.dash-card {
  background: #13223A; border: 1px solid #1D2F4C; border-radius: 10px;
  padding: 1.1rem 1.2rem; display: flex; flex-direction: column;
}
.dash-k { font-size: 0.85rem; color: var(--slate-light); margin: 0 0 0.35rem; }
.dash-v {
  font-size: 1.9rem; font-weight: 700; color: #fff; letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums; margin: 0 0 0.3rem; line-height: 1.1;
}
.dash-sub { font-size: 0.82rem; color: var(--slate-light); margin: 0 0 0.8rem; }
.dash-tag {
  margin-top: auto; align-self: start;
  font-size: 0.74rem; font-weight: 600; padding: 0.14rem 0.55rem; border-radius: 4px;
}
.dash-measured { background: rgba(60, 112, 240, 0.18); color: #8FA8F5; }
.dash-estimate { background: rgba(214, 150, 40, 0.16); color: #E2A94E; }
.dash-foot {
  margin-top: 1.25rem; border-top: 1px solid #1D2F4C; padding-top: 1.1rem;
}
.dash-foot p { color: #C3CDE0; font-size: 0.95rem; margin: 0; }

.badge {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-size: 0.8rem; font-weight: 600; padding: 0.3rem 0.75rem; border-radius: 999px;
  white-space: nowrap;
}
.badge-sample { background: rgba(214, 150, 40, 0.16); color: #B97716; border: 1px solid rgba(185, 119, 22, 0.4); }
.section-dark .badge-sample, .dash .badge-sample { color: #E2A94E; }

.tri-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2.5rem; }
.tri-card { border-top: 2px solid var(--ink); padding-top: 1.1rem; }
.tri-card h3 { font-size: 1.2rem; margin-bottom: 0.3rem; }
.tri-q { font-family: var(--serif); font-style: italic; color: var(--kinetic); margin-bottom: 0.7rem; }
.tri-card p:last-child { font-size: 0.96rem; color: var(--ink-soft); margin: 0; }

.formula {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem 1.75rem; margin-bottom: 1.5rem; overflow-x: auto;
}
.formula p {
  margin: 0; font-size: 1.05rem; font-weight: 500;
  display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap;
  font-variant-numeric: tabular-nums;
}
.formula-frac { display: inline-flex; flex-direction: column; text-align: center; }
.formula-frac span:first-child { border-bottom: 1.5px solid var(--ink); padding: 0 0.6rem 0.2rem; }
.formula-frac span:last-child { padding: 0.2rem 0.6rem 0; }

/* ---------- Use cases ---------- */

.case-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 2.25rem; }
.case-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.4rem, 2.5vw, 2rem);
}
.case-card h3 { font-size: 1.25rem; margin-bottom: 1rem; }
.case-dl { margin: 0; }
.case-dl > div { margin-bottom: 1rem; }
.case-dl > div:last-child { margin-bottom: 0; }
.case-dl dt { font-size: 0.82rem; font-weight: 600; color: var(--kinetic); margin-bottom: 0.2rem; }
.case-dl dd { margin: 0; font-size: 0.96rem; color: var(--ink-soft); }
.case-validate { border-top: 1px dashed var(--line); padding-top: 0.9rem; }
.case-validate dt { color: var(--amber); }

/* ---------- About ---------- */

.section-principle { background: var(--panel); }
.principle {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(1.7rem, 4vw, 2.6rem); line-height: 1.3;
  color: #fff; margin: 0;
}
.placeholder-note { color: var(--slate); font-style: italic; }

/* ---------- Forms ---------- */

.form-shell { max-width: 760px; }
.auth-shell { max-width: 520px; }
.auth-section { padding-top: clamp(3rem, 7vh, 5rem); }
.stack-form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-field { display: flex; flex-direction: column; gap: 0.35rem; }
.form-field label { font-weight: 600; font-size: 0.95rem; }
.label-opt { font-weight: 400; color: var(--slate); font-size: 0.85rem; }
.form-field input, .form-field select, .form-field textarea {
  font: inherit; font-size: 1rem; color: var(--ink);
  background: #fff; border: 1.5px solid #C9CDC2; border-radius: 8px;
  padding: 0.65rem 0.85rem; width: 100%;
}
.form-field textarea { resize: vertical; min-height: 2.5rem; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--kinetic); box-shadow: 0 0 0 3px rgba(40, 71, 224, 0.15);
}
.form-field [aria-invalid="true"] { border-color: var(--err); }
.field-err { color: var(--err); font-size: 0.88rem; margin: 0; }
.field-hint { color: var(--slate); font-size: 0.85rem; margin: 0; }
.form-note { font-size: 0.9rem; color: var(--slate); margin: 0; max-width: 60ch; }
.stack-form .btn { align-self: start; }

/* ---------- Confirmation / errors ---------- */

.confirm-mark { color: var(--ok); margin-bottom: 1.25rem; }
.err-code { font-size: 1rem; font-weight: 600; color: var(--kinetic); font-variant-numeric: tabular-nums; margin-bottom: 0.4rem; }
.h2 { font-size: clamp(2rem, 4.5vw, 2.8rem); letter-spacing: -0.025em; }
.h4 { font-size: 1.15rem; margin-top: 2rem; }

.legal h2 { margin-top: 2.25rem; }
.legal-updated { color: var(--slate); font-style: italic; }

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

.site-footer { background: var(--panel); color: var(--slate-light); margin-top: 2rem; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2.5rem;
  padding-top: 3.5rem; padding-bottom: 2.5rem;
}
.footer-brand .wordmark { color: #fff; }
.footer-tag { font-family: var(--serif); font-style: italic; color: #C3CDE0; margin: 0.9rem 0 0.5rem; }
.footer-small { font-size: 0.88rem; margin: 0 0 0.5rem; max-width: 36ch; }
.footer-h { font-size: 0.88rem; color: #fff; font-weight: 600; margin-bottom: 0.9rem; }
.site-footer nav a {
  display: block; color: var(--slate-light); text-decoration: none;
  font-size: 0.93rem; padding: 0.22rem 0;
}
.site-footer nav a:hover { color: #fff; }
.site-footer .footer-small a { color: var(--slate-light); }
.site-footer .footer-small a:hover { color: #fff; }
.footer-base { border-top: 1px solid var(--panel-edge); padding-top: 1.25rem; padding-bottom: 1.5rem; }
.footer-base p { font-size: 0.82rem; margin: 0; }

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
  .site-nav {
    display: none;
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--gauze); border-bottom: 1px solid var(--line);
    flex-direction: column; gap: 0; padding: 0.5rem 1.5rem 1rem;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 0.7rem 0; border-bottom: 0; font-size: 1.05rem; }
  .nav-toggle { display: block; }
  .header-actions .btn { display: none; }
  .header-row { position: relative; }

  .cap-grid, .case-grid, .svc-cols, .form-row { grid-template-columns: 1fr; }
  .lifecycle, .tri-grid, .dash-grid { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; gap: 1rem; }
  .split-head h2 { position: static; }
  .pp-body { grid-template-columns: 1fr; }
  .pp-side { border-left: 0; padding-left: 0; border-top: 1px solid var(--panel-edge); padding-top: 1.25rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .lifecycle, .tri-grid, .dash-grid { grid-template-columns: 1fr; }
  .trace-stations { grid-template-columns: 1fr; }
  .trace-svg { display: none; }
  .trace-station { border-top: 1px solid var(--line); padding-top: 1rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.75rem; }
  .cta-row .btn { width: 100%; text-align: center; }
}
