/* DATUM, AI & Operations Advisory
   Mobile-first. One accent (survey orange) on deep slate. Thin rules, quiet grid. */

:root {
  --ink: #182f43;           /* Slate (brand) */
  --ink-deep: #0b1826;      /* text on orange buttons (AA) */
  --slate-900: #13273a;
  --slate-800: #182a3b;
  --slate-700: #24394d;
  --slate-500: #5a6b7c;
  --slate-300: #9fadba;
  --slate-200: #c9d2da;
  --paper: #f7f7f5;
  --paper-2: #efefef;        /* Light (brand) */
  --stone: #aeaeae;          /* Stone (brand): decorative only */
  --white: #ffffff;
  --accent: #da5b13;        /* Survey Orange (brand) */
  --accent-ink: #b0480c;    /* orange for text on light backgrounds (AA) */
  --rule-light: rgba(24, 47, 67, .15);
  --rule-dark: rgba(255, 255, 255, .14);
  --grid-light: rgba(24, 47, 67, .045);
  --grid-dark: rgba(255, 255, 255, .045);

  --sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --wrap: 1180px;
  --gutter: 20px;
  --radius: 2px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -.02em; line-height: 1.12; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--accent); color: var(--ink-deep); padding: 10px 14px; font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
@media (min-width: 768px) { :root { --gutter: 32px; } }
@media (min-width: 1100px) { :root { --gutter: 40px; } }

/* ---------- Type helpers ---------- */
.mono { font-family: var(--mono); }
.label {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.lede { font-size: 19px; line-height: 1.6; }
@media (min-width: 768px) { .lede { font-size: 20px; } }

/* ---------- Brand lockup ---------- */
.lockup { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; }
.lockup__mark { width: 26px; height: 26px; flex: none; }
.lockup__name { font-family: var(--sans); font-weight: 600; font-size: 19px; letter-spacing: .22em; line-height: 1; }
.lockup__sep { width: 1px; height: 18px; background: currentColor; opacity: .3; }
.lockup__desc { font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; line-height: 1.25; opacity: .78; max-width: 9.5em; }
@media (min-width: 560px) { .lockup__desc { max-width: none; font-size: 11px; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px;
  font-family: var(--sans); font-size: 16px; font-weight: 600; letter-spacing: .005em;
  text-decoration: none; border-radius: var(--radius); border: 1px solid transparent;
  cursor: pointer; transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn svg { width: 16px; height: 16px; transition: transform .15s ease; }
.btn:hover svg { transform: translateX(3px); }
.btn--primary { background: var(--accent); color: var(--ink-deep); }
.btn--primary:hover { background: #e66a24; }
.btn--ghost-dark { border-color: var(--rule-dark); color: var(--white); }
.btn--ghost-dark:hover { border-color: rgba(255,255,255,.5); }
.btn--ghost-light { border-color: var(--rule-light); color: var(--ink); }
.btn--ghost-light:hover { border-color: var(--ink); }
.btn--block { width: 100%; }
@media (min-width: 560px) { .btn--block { width: auto; } }

.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.text-link--accent { color: var(--accent-ink); }
.on-dark .text-link--accent { color: var(--accent); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(24, 47, 67, .96);
  -webkit-backdrop-filter: saturate(140%) blur(8px); backdrop-filter: saturate(140%) blur(8px);
  color: var(--white);
  border-bottom: 1px solid var(--rule-dark);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 16px; }
.site-nav { display: none; }
.site-nav a { color: var(--slate-200); text-decoration: none; font-size: 15px; }
.site-nav a:hover { color: var(--white); }
.header-cta { display: none; }
.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; margin-right: -10px;
  background: none; border: 0; color: var(--white); cursor: pointer;
}
.nav-toggle svg { width: 22px; height: 22px; }
.mobile-nav { display: none; border-top: 1px solid var(--rule-dark); padding: 8px 0 20px; }
.mobile-nav.is-open { display: block; }
.mobile-nav a { display: block; padding: 13px 0; color: var(--slate-200); text-decoration: none; border-bottom: 1px solid var(--rule-dark); }
.mobile-nav .btn { margin-top: 18px; width: 100%; color: var(--ink); border-bottom: 0; }
@media (min-width: 960px) {
  .site-nav { display: flex; gap: 28px; }
  .header-cta { display: inline-flex; min-height: 42px; padding: 0 18px; font-size: 15px; }
  .nav-toggle, .mobile-nav, .mobile-nav.is-open { display: none; }
}

/* ---------- Sections ---------- */
.section { padding: 72px 0; position: relative; }
@media (min-width: 768px) { .section { padding: 104px 0; } }
.section--paper2 { background: var(--paper-2); }
.section--dark, .on-dark { background: var(--ink); color: var(--white); }
.section--dark .muted, .on-dark .muted { color: var(--slate-300); }
.muted { color: var(--slate-500); }

/* Engineering grid background */
.grid-bg {
  background-image:
    linear-gradient(var(--grid-dark) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-dark) 1px, transparent 1px);
  background-size: 48px 48px;
  background-position: -1px -1px;
}
.grid-bg--light {
  background-image:
    linear-gradient(var(--grid-light) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-light) 1px, transparent 1px);
}

/* Section head: datum line with index + label */
.sec-head { margin-bottom: 44px; }
@media (min-width: 768px) { .sec-head { margin-bottom: 60px; } }
.datum-rule { position: relative; display: flex; align-items: center; gap: 14px; padding-bottom: 14px; margin-bottom: 28px; border-bottom: 1px solid var(--rule-light); }
.on-dark .datum-rule, .section--dark .datum-rule { border-bottom-color: var(--rule-dark); }
.datum-rule::after {
  /* the reference marker: a small inverted triangle sitting on the line */
  content: ""; position: absolute; left: 0; bottom: -1px;
  width: 0; height: 0;
  border-left: 6px solid transparent; border-right: 6px solid transparent; border-top: 8px solid var(--accent);
  transform: translateY(-1px);
}
.datum-rule .label { padding-left: 22px; }
.datum-rule__idx { color: var(--accent-ink); }
.on-dark .datum-rule__idx, .section--dark .datum-rule__idx { color: var(--accent); }
.datum-rule__right { margin-left: auto; color: var(--slate-500); }
.on-dark .datum-rule__right, .section--dark .datum-rule__right { color: var(--slate-300); }
.sec-title { font-size: 32px; max-width: 18ch; }
@media (min-width: 768px) { .sec-title { font-size: 44px; } }
.sec-intro { margin-top: 20px; max-width: 60ch; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 56px 0 64px; }
@media (min-width: 768px) { .hero { padding: 96px 0 104px; } }
.hero__grid { display: grid; gap: 56px; align-items: center; }
@media (min-width: 1000px) { .hero__grid { grid-template-columns: 1.08fr .92fr; gap: 64px; } }
.hero__lockup { margin-bottom: 36px; color: var(--white); }
.hero__lockup .lockup__mark { width: 30px; height: 30px; }
.hero__lockup .lockup__name { font-size: 22px; }
.hero h1 { font-size: 40px; line-height: 1.05; letter-spacing: -.03em; max-width: 14ch; }
@media (min-width: 560px) { .hero h1 { font-size: 52px; } }
@media (min-width: 1100px) { .hero h1 { font-size: 64px; } }
.hero h1 .h1-line2 { display: block; color: var(--accent); }
.hero__sub { margin-top: 24px; max-width: 54ch; color: var(--slate-200); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero__proof { margin-top: 40px; padding-top: 18px; border-top: 1px solid var(--rule-dark); display: flex; gap: 12px; align-items: baseline; color: var(--slate-300); font-size: 15px; }
.hero__proof .label { color: var(--accent); flex: none; }

/* Hero schematic */
.schematic { border: 1px solid var(--rule-dark); background: rgba(255,255,255,.02); padding: 18px; }
.schematic__head { display: flex; justify-content: space-between; color: var(--slate-300); margin-bottom: 14px; gap: 12px; }
.schematic svg { width: 100%; height: auto; }
.schematic__foot { display: flex; justify-content: space-between; gap: 12px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--rule-dark); color: var(--slate-300); }
.schematic text { font-family: var(--mono); }

/* ---------- Problem ---------- */
.problem-grid { display: grid; gap: 0; border-top: 1px solid var(--rule-light); }
@media (min-width: 768px) { .problem-grid { grid-template-columns: repeat(2, 1fr); column-gap: 48px; } }
@media (min-width: 1100px) { .problem-grid { grid-template-columns: repeat(3, 1fr); } }
.problem-item { padding: 26px 0 28px; border-bottom: 1px solid var(--rule-light); }
.problem-item .label { color: var(--accent-ink); display: block; margin-bottom: 12px; }
.problem-item h3 { font-size: 20px; margin-bottom: 8px; }
.problem-item p { color: var(--slate-500); margin: 0; font-size: 16px; }
.problem-close { margin-top: 48px; display: grid; gap: 20px; align-items: start; }
@media (min-width: 900px) { .problem-close { grid-template-columns: 1fr auto; align-items: end; } }
.problem-close p { font-size: 22px; line-height: 1.45; max-width: 40ch; margin: 0; font-weight: 500; letter-spacing: -.01em; }
@media (min-width: 768px) { .problem-close p { font-size: 26px; } }
.problem-close strong { color: var(--accent-ink); font-weight: 600; }

/* ---------- Services ---------- */
.cards { display: grid; gap: 20px; }
@media (min-width: 960px) { .cards { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.card {
  position: relative; display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--rule-light); padding: 28px 24px 26px;
}
@media (min-width: 768px) { .card { padding: 34px 30px 30px; } }
.card::before { content: ""; position: absolute; left: -1px; right: -1px; top: -1px; height: 3px; background: var(--ink); }
.card--lead::before { background: var(--accent); }
.card__top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 22px; }
.card__idx { color: var(--slate-500); }
.card__tag { color: var(--accent-ink); }
.card h3 { font-size: 23px; margin-bottom: 12px; }
.card__desc { color: var(--slate-500); font-size: 16px; }
.card__list { margin: 8px 0 22px; border-top: 1px solid var(--rule-light); }
.card__list li { position: relative; padding: 11px 0 11px 22px; border-bottom: 1px solid var(--rule-light); font-size: 15.5px; line-height: 1.45; }
.card__list li::before { content: ""; position: absolute; left: 0; top: 19px; width: 10px; height: 1px; background: var(--accent); }
.card__out { font-size: 15px; color: var(--slate-500); margin-top: auto; }
.card__price { font-family: var(--mono); font-size: 13px; letter-spacing: .04em; color: var(--ink); margin: 14px 0 0; padding-top: 14px; border-top: 1px dashed var(--rule-light); }
.services-note { margin-top: 32px; color: var(--slate-500); font-size: 15px; }

/* ---------- Process ---------- */
.process { position: relative; display: grid; gap: 0; }
@media (min-width: 900px) { .process { grid-template-columns: repeat(4, 1fr); gap: 28px; } }
.step { position: relative; padding: 0 0 36px 36px; }
.step::before { /* vertical datum line on mobile */
  content: ""; position: absolute; left: 7px; top: 14px; bottom: 0; width: 1px; background: var(--rule-dark);
}
.step:last-child::before { display: none; }
.step__node { position: absolute; left: 0; top: 2px; width: 15px; height: 15px; border: 1px solid var(--accent); background: var(--ink); transform: rotate(45deg); }
.step__node::after { content: ""; position: absolute; inset: 4px; background: var(--accent); }
.step__sta { display: block; color: var(--slate-300); margin-bottom: 14px; }
.step h3 { font-size: 26px; margin-bottom: 12px; }
.step h3 .arrow { color: var(--accent); font-weight: 400; margin-left: 6px; }
.step p { color: var(--slate-300); font-size: 16px; margin: 0; }
@media (min-width: 900px) {
  .process::before { /* horizontal datum line across the four stations */
    content: ""; position: absolute; left: 0; right: 0; top: 9px; height: 1px; background: var(--rule-dark);
  }
  .step { padding: 40px 0 0; }
  .step::before { display: none; }
  .step__node { top: 2px; }
}
.process-note { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--rule-dark); color: var(--slate-300); max-width: 70ch; font-size: 16px; }

/* ---------- Case study ---------- */
.case { display: grid; gap: 40px; }
@media (min-width: 1000px) { .case { grid-template-columns: 1.15fr .85fr; gap: 64px; } }
.case__meta { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-bottom: 28px; }
.status-pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border: 1px solid var(--accent); color: var(--accent-ink); }
.status-pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
.case__block { padding: 22px 0; border-top: 1px solid var(--rule-light); }
.case__block h3 { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--slate-500); margin-bottom: 10px; }
.case__block p { margin: 0; }
.case__block p + p { margin-top: .8em; }
.metrics { background: var(--white); border: 1px solid var(--rule-light); }
.metrics__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 18px 20px; border-bottom: 1px solid var(--rule-light); }
.metrics table { width: 100%; border-collapse: collapse; font-size: 15px; }
.metrics th, .metrics td { text-align: left; padding: 14px 20px; border-bottom: 1px solid var(--rule-light); vertical-align: top; }
.metrics thead th { font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--slate-500); }
.metrics td.val { font-family: var(--mono); font-size: 13px; color: var(--slate-500); white-space: nowrap; }
.metrics tbody tr:last-child td, .metrics tbody tr:last-child th { border-bottom: 0; }
.metrics tbody th { font-weight: 500; }
.metrics__foot { padding: 14px 20px; border-top: 1px solid var(--rule-light); font-size: 14px; color: var(--slate-500); background: var(--paper); }
@media (max-width: 480px) {
  .metrics th, .metrics td { padding: 12px 14px; }
  .metrics td.val { white-space: normal; }
}

/* ---------- Governance ---------- */
.gov { display: grid; gap: 48px; }
@media (min-width: 1000px) { .gov { grid-template-columns: .9fr 1.1fr; gap: 72px; } }
.pillars { border-top: 1px solid var(--rule-light); }
.pillar { display: grid; grid-template-columns: 44px 1fr; gap: 4px 16px; padding: 24px 0; border-bottom: 1px solid var(--rule-light); }
.pillar__icon { width: 36px; height: 36px; color: var(--accent-ink); }
.pillar h3 { font-size: 21px; margin-bottom: 8px; }
.pillar p { margin: 0; color: var(--slate-500); font-size: 16px; }
.guardrails { margin-top: 32px; padding: 22px 22px 18px; border: 1px solid var(--ink); background: var(--white); }
.guardrails .label { display: block; margin-bottom: 14px; }
.guardrails ul { display: grid; gap: 10px; }
@media (min-width: 560px) { .guardrails ul { grid-template-columns: 1fr 1fr; gap: 10px 24px; } }
.guardrails li { position: relative; padding-left: 24px; font-size: 15.5px; line-height: 1.45; }
.guardrails li svg { position: absolute; left: 0; top: 3px; width: 15px; height: 15px; color: var(--accent-ink); }

/* ---------- About ---------- */
.about { display: grid; gap: 44px; }
@media (min-width: 960px) { .about { grid-template-columns: .8fr 1.2fr; gap: 72px; align-items: start; } }
.portrait { position: relative; max-width: 440px; }
.portrait__frame { position: relative; padding: 10px; border: 1px solid var(--rule-light); background: var(--white); }
.portrait__frame img { width: 100%; height: auto; filter: grayscale(.15) contrast(1.02); }
.portrait__ticks { position: absolute; inset: -1px; pointer-events: none; }
.portrait__ticks::before, .portrait__ticks::after { content: ""; position: absolute; width: 14px; height: 14px; border-color: var(--accent); border-style: solid; }
.portrait__ticks::before { top: -6px; left: -6px; border-width: 1px 0 0 1px; }
.portrait__ticks::after { bottom: -6px; right: -6px; border-width: 0 1px 1px 0; }
.portrait figcaption { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--rule-light); }
.portrait figcaption strong { display: block; font-size: 22px; font-weight: 600; letter-spacing: -.01em; }
.portrait figcaption span { color: var(--slate-500); }
.about__body p { color: #2b3a49; }
.about__body h2 { margin-bottom: 26px; }
.creds { margin-top: 32px; border-top: 1px solid var(--rule-light); }
.creds li { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--rule-light); font-size: 15.5px; }
.creds li .label { color: var(--slate-500); font-size: 11px; padding-top: 3px; }
@media (max-width: 420px) { .creds li { grid-template-columns: 1fr; gap: 2px; } }

/* ---------- Final CTA + booking ---------- */
.cta-grid { display: grid; gap: 40px; }
@media (min-width: 1000px) { .cta-grid { grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; } }
.cta-points { margin-top: 28px; border-top: 1px solid var(--rule-dark); }
.cta-points li { padding: 13px 0 13px 24px; position: relative; border-bottom: 1px solid var(--rule-dark); color: var(--slate-200); font-size: 16px; }
.cta-points li::before { content: ""; position: absolute; left: 0; top: 23px; width: 12px; height: 1px; background: var(--accent); }
.booking {
  background: var(--white); color: var(--ink); border: 1px solid var(--rule-dark);
  min-height: 700px; position: relative;
}
.booking__bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--rule-light); color: var(--slate-500); }
.calendly-inline-widget { min-width: 280px; height: 700px; }
@media (min-width: 768px) { .calendly-inline-widget { height: 760px; } .booking { min-height: 760px; } }
.booking__fallback { position: absolute; inset: 49px 0 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 14px; padding: 24px; color: var(--slate-500); }
.booking.is-loaded .booking__fallback { display: none; }
.booking-alt { margin-top: 16px; font-size: 15px; color: var(--slate-300); }
.booking-alt a { color: var(--white); }

/* ---------- Contact form ---------- */
.form-grid { display: grid; gap: 18px; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
.field label { display: block; font-family: var(--mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--slate-500); margin-bottom: 8px; }
.field label .opt { text-transform: none; letter-spacing: 0; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px;
  font: inherit; font-size: 16px; color: var(--ink);
  background: var(--white); border: 1px solid var(--rule-light); border-radius: var(--radius);
  appearance: none; -webkit-appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%235a6b7c' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 12px; padding-right: 40px; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(218, 91, 19, .25); }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 8px; }
.form-foot p { margin: 0; font-size: 14px; color: var(--slate-500); max-width: 48ch; }
.form-foot a { color: var(--accent-ink); }
.hp { position: absolute; left: -9999px; }

/* ---------- Page intro (inner pages) ---------- */
.page-intro { padding: 56px 0 48px; }
@media (min-width: 768px) { .page-intro { padding: 88px 0 72px; } }
.page-intro h1 { font-size: 38px; max-width: 18ch; letter-spacing: -.03em; }
@media (min-width: 768px) { .page-intro h1 { font-size: 54px; } }
.page-intro .lede { margin-top: 20px; max-width: 58ch; color: var(--slate-200); }

/* ---------- Prose (privacy) ---------- */
.prose { max-width: 72ch; }
.prose h2 { font-size: 24px; margin: 48px 0 14px; padding-top: 20px; border-top: 1px solid var(--rule-light); }
.prose h2:first-child { margin-top: 0; }
.prose ul { list-style: none; margin: 0 0 1em; }
.prose li { position: relative; padding-left: 22px; margin-bottom: .5em; }
.prose li::before { content: ""; position: absolute; left: 0; top: .8em; width: 10px; height: 1px; background: var(--accent); }
.prose a { color: var(--accent-ink); }
.prose .meta { color: var(--slate-500); font-family: var(--mono); font-size: 13px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--slate-200); border-top: 1px solid var(--rule-dark); }
.footer-main { display: grid; gap: 40px; padding: 56px 0 40px; }
@media (min-width: 900px) { .footer-main { grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; padding: 72px 0 48px; } }
.footer-main .lockup { color: var(--white); }
.footer-tagline { margin-top: 18px; max-width: 30ch; font-size: 18px; color: var(--white); }
.footer-col h2 { font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--slate-300); margin-bottom: 16px; }
.footer-col li { margin-bottom: 10px; font-size: 15px; }
.footer-col a { text-decoration: none; color: var(--slate-200); }
.footer-col a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 4px; }
.footer-legal { display: flex; flex-direction: column; gap: 12px; padding: 22px 0 28px; border-top: 1px solid var(--rule-dark); font-size: 13px; color: var(--slate-300); }
@media (min-width: 900px) { .footer-legal { flex-direction: row; justify-content: space-between; align-items: center; } }
.footer-legal__links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer-legal a, .footer-legal button { color: var(--slate-300); text-decoration: none; background: none; border: 0; padding: 0; font: inherit; cursor: pointer; }
.footer-legal a:hover, .footer-legal button:hover { color: var(--white); text-decoration: underline; text-underline-offset: 4px; }
.placeholder { border-bottom: 1px dashed var(--accent); }

/* ---------- Analytics consent ---------- */
.consent {
  position: fixed; z-index: 80; left: 12px; right: 12px; bottom: 12px;
  max-width: 460px; padding: 18px 18px 16px;
  background: var(--white); color: var(--ink); border: 1px solid var(--ink);
  box-shadow: 0 12px 40px rgba(13, 24, 36, .22);
}
@media (min-width: 560px) { .consent { left: auto; right: 20px; bottom: 20px; } }
.consent p { font-size: 14.5px; line-height: 1.5; margin: 0 0 14px; }
.consent a { color: var(--accent-ink); }
.consent__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.consent__actions button { min-height: 42px; padding: 0 16px; font: inherit; font-size: 14.5px; font-weight: 600; cursor: pointer; border-radius: var(--radius); border: 1px solid var(--ink); background: var(--white); color: var(--ink); }
.consent__actions button[data-consent="accepted"] { background: var(--ink); color: var(--white); }

/* ---------- Thanks / 404 ---------- */
.center-page { min-height: 62vh; display: flex; align-items: center; }

/* ---------- Refinements ---------- */
h1, h2, .sec-title { text-wrap: balance; }
.text-link svg { width: 14px; height: 14px; flex: none; }
.metrics { align-self: start; }
.lockup__desc { max-width: 15ch; }
@media (min-width: 560px) { .lockup__desc { max-width: none; } }
.hero__lockup { display: none; }
@media (min-width: 960px) { .hero__lockup { display: inline-flex; } }
.schematic__head, .schematic__foot { font-size: 10px; white-space: nowrap; }
@media (min-width: 560px) { .schematic__head, .schematic__foot { font-size: 12px; } }
.hero__proof > span:last-child { flex: 1; min-width: 0; }

/* ---------- Brand: Concept 1 "Datum Line" ---------- */
:root { --display: "Montserrat", "IBM Plex Sans", system-ui, sans-serif; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; letter-spacing: -.015em; }
.hero h1 { letter-spacing: -.025em; }
.label { font-family: var(--display); font-weight: 600; font-size: 11.5px; letter-spacing: .2em; }
.step__sta, .metrics td.val, .card__price { font-family: var(--mono); }
.step__sta { letter-spacing: .1em; font-size: 12px; }

/* Header lockup: wordmark + datum line, descriptor beside it */
.lockup { gap: 14px; }
.lockup__logo { height: 24px; width: auto; color: var(--white); flex: none; }
.lockup__sep { height: 22px; }
.lockup__desc { font-family: var(--display); font-weight: 600; font-size: 9.5px; letter-spacing: .2em; max-width: 13em; }
@media (min-width: 560px) { .lockup__logo { height: 28px; } .lockup__desc { font-size: 10px; max-width: none; } }

/* Stacked full logo (hero, footer) */
.full-logo { display: inline-block; color: var(--white); text-decoration: none; }
.full-logo__svg { width: 100%; height: auto; }
.hero__lockup { width: 230px; margin-bottom: 44px; }
.footer-logo { width: 220px; }

/* Datum marker: orange triangle, apex up, straddling the reference line */
.datum-rule::after {
  border-top: 0; border-left: 7px solid transparent; border-right: 7px solid transparent;
  border-bottom: 12px solid var(--accent);
  bottom: -7px; transform: none;
}
.datum-rule::before { content: ""; position: absolute; left: -3px; width: 20px; bottom: -1px; height: 1px; background: var(--paper); }
.section--paper2 .datum-rule::before { background: var(--paper-2); }
.on-dark .datum-rule::before, .section--dark .datum-rule::before { background: var(--ink); }
.datum-rule .label { padding-left: 26px; }

/* Process stations: triangles on the line */
.step__node { width: 16px; height: 14px; border: 0; transform: none; background: var(--accent); clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.step__node::after { display: none; }
@media (min-width: 900px) { .step__node { top: 3px; } }

/* Orange status chip and proof marker */
.hero__proof .label { font-size: 13px; }
.hero__grid > * { min-width: 0; }
.full-logo.hero__lockup { display: none; }
@media (min-width: 960px) { .full-logo.hero__lockup { display: inline-block; } }
.schematic__head, .schematic__foot { white-space: normal; font-size: 9.5px; letter-spacing: .14em; }
@media (min-width: 560px) { .schematic__head, .schematic__foot { font-size: 11px; } }
@media (min-width: 560px) { .hero h1 { font-size: 46px; } }
@media (min-width: 1100px) { .hero h1 { font-size: 56px; max-width: 15ch; } }
@media (max-width: 559px) { .hero h1 { font-size: 35px; } }
