/* ==========================================================================
   DatumLynk — design system
   Brand: deep blue + silver, supported by navy, charcoal, slate and off-white.
   Static CSS, no build step. All content lives in the HTML.
   ========================================================================== */

:root {
  /* Brand colors (unchanged values) */
  --blue: #0057b8;
  --blue-dark: #00438c;
  --silver: #a7b0b8;
  --charcoal: #1f2937;
  --charcoal-soft: #374151;
  --off-white: #f7f8fa;
  --white: #ffffff;
  --border: #dfe3e8;

  /* Supporting neutrals */
  --navy: #0b1f3a;
  --silver-deep: #7d8791;    /* wordmark "Lynk" on light backgrounds */
  --indigo: #1f2f98;         /* landing page accent */
  --ink: #0f1a33;
  --stone: #f5f2ec;
  --stone-line: #d9d4ca;
  --font-serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --slate: #4b5563;          /* small/secondary text, 7.5:1 on white */
  --border-strong: #c9d0d8;
  --hairline: #e8ebef;
  --tint: #eef3fa;           /* blue-tinted surface */
  --on-navy: #d3dde9;
  --on-navy-label: #a9c8ee;
  --footer-text: #aab2bd;
  --footer-link: #d6dbe1;

  /* Layout */
  --max-width: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section-y: clamp(56px, 7vw, 96px);
  --radius: 10px;
  --radius-sm: 6px;

  /* Type */
  --font: "Inter", "Helvetica Neue", Arial, sans-serif;
  --fs-h1: clamp(30px, 1.6vw + 18px, 44px);
  --fs-h1-home: clamp(32px, 2.4vw + 12px, 48px);
  --fs-h2: clamp(26px, 1.2vw + 18px, 34px);
  --fs-h3: 17px;
  --fs-lede: clamp(17px, 0.3vw + 15px, 19px);
  --fs-body: 16px;
  --fs-small: 15px;
  --fs-meta: 14px;
  --fs-label: 12px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-body);
  color: var(--charcoal);
  background: var(--off-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; }
img { display: block; height: auto; }

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3 { color: var(--charcoal); }
p { margin: 0 0 16px; }

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

/* Visually hidden but available to assistive tech */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--charcoal);
  color: var(--white);
  padding: 12px 20px;
  z-index: 1000;
}
.skip-link:focus { left: 16px; top: 16px; }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: relative;
  z-index: 100;
}
@media (min-width: 768px) {
  .site-header { position: sticky; top: 0; }
}
.site-header .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  column-gap: 32px;
  min-height: 68px;
}

.brand {
  display: inline-flex;
  padding: 12px 0;
  font-size: clamp(24px, 0.8vw + 18px, 30px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
}
.brand:hover { text-decoration: none; }
.brand-datum { color: var(--blue); }
.brand-lynk { color: var(--silver-deep); }

.site-nav { max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.site-nav::-webkit-scrollbar { display: none; }
.site-nav ul {
  list-style: none;
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
  white-space: nowrap;
}
.site-nav a {
  display: inline-block;
  padding: 12px 0;
  color: var(--charcoal-soft);
  font-size: 15px;
  font-weight: 500;
}
.site-nav a:hover { color: var(--blue); text-decoration: none; }
.site-nav .nav-contact { color: var(--blue); font-weight: 600; }
@media (max-width: 640px) {
  .site-header .wrap { padding-bottom: 6px; }
  .site-nav ul { flex-wrap: wrap; white-space: normal; gap: 0 20px; }
  .site-nav a { font-size: 14px; padding: 11px 0; }
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--blue-dark); }
.btn-secondary { background: var(--white); color: var(--charcoal); border-color: var(--border-strong); }
.btn-secondary:hover { border-color: var(--blue); color: var(--blue); }
.btn-inverse { background: var(--white); color: var(--blue); }
.btn-inverse:hover { background: #e6eef8; }
.btn-inverse:focus-visible { outline-color: var(--white); }
.btn svg { flex: 0 0 auto; }

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* --------------------------------------------------------------------------
   Type helpers
   -------------------------------------------------------------------------- */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-dark);
}
.eyebrow svg { flex: 0 0 auto; }

.section-title,
main h2 {
  margin: 0 0 16px;
  font-size: var(--fs-h2);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.015em;
}
.lede {
  margin: 0 0 24px;
  font-size: var(--fs-lede);
  font-weight: 500;
  line-height: 1.55;
  color: var(--charcoal);
}
.body-text, .text p { max-width: 68ch; color: var(--charcoal-soft); line-height: 1.65; }
.lead-text { font-size: 18px; line-height: 1.6; color: var(--charcoal); max-width: 68ch; }
.subhead { font-size: 17px; font-weight: 600; line-height: 1.55; color: var(--charcoal); }
.note { max-width: 80ch; margin: 24px 0 0; font-size: var(--fs-meta); line-height: 1.6; color: var(--slate); }
.label-text { font-size: var(--fs-label); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--blue-dark); }

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */
section { padding: var(--section-y) 0; }
.section-alt {
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.section-alt + .section-alt { border-top: 0; }
.section-head { max-width: 72ch; margin-bottom: 40px; }
.section-head p:last-child { margin-bottom: 0; }
.section-head .body-text { margin-bottom: 12px; }

/* Two-column: heading left, text right */
.split {
  display: flex;
  flex-wrap: wrap;
  gap: 24px clamp(32px, 5vw, 72px);
  align-items: flex-start;
}
.split-aside { flex: 1 1 340px; min-width: 0; }
.split-main { flex: 1.5 1 480px; min-width: 0; max-width: 68ch; }
.split-aside h2 { margin-bottom: 0; }
.split-main > :last-child { margin-bottom: 0; }

/* Text + figure */
.media-split {
  display: flex;
  flex-wrap: wrap;
  gap: 40px clamp(32px, 5vw, 72px);
  align-items: flex-start;
}
.media-split > .text { flex: 1.2 1 480px; min-width: 0; }
.media-split > .text > :last-child { margin-bottom: 0; }
.media-split > figure,
.media-split > .panel { flex: 1 1 380px; min-width: 0; }

/* --------------------------------------------------------------------------
   Decorative background lines (aria-hidden SVG)
   -------------------------------------------------------------------------- */
.has-lines { position: relative; overflow: hidden; isolation: isolate; }
.bg-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}
.has-lines > .wrap { position: relative; }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: clamp(28px, 3vw, 40px) 0 clamp(40px, 5vw, 72px);
}
.hero-home { padding-top: clamp(40px, 6vw, 88px); border-bottom: 0; }
.hero h1 {
  margin: 0 0 16px;
  font-size: var(--fs-h1);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
  max-width: 24ch;
}
.hero-home h1 { font-size: var(--fs-h1-home); line-height: 1.12; max-width: 20ch; margin-bottom: 20px; }
.hero-home .lede { font-weight: 400; color: var(--charcoal-soft); max-width: 60ch; margin-bottom: 28px; }
.hero-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px clamp(32px, 5vw, 72px);
  align-items: flex-start;
}
.hero-main { flex: 999 1 560px; min-width: 0; }
.hero-home .hero-main { flex: 1 1 520px; }
.hero-main .body-text:last-of-type { margin-bottom: 28px; }
.hero-side { flex: 1 1 280px; min-width: 0; }
.hero-home .hero-side { flex: 1 1 380px; }

.pull-quote {
  display: flex;
  gap: 16px;
  align-items: baseline;
  margin: 0 0 32px;
}
.pull-quote::before {
  content: "";
  flex: 0 0 24px;
  height: 2px;
  background: var(--blue);
  transform: translateY(-5px);
}
.pull-quote p { margin: 0; font-size: 17px; font-weight: 600; line-height: 1.5; color: var(--charcoal); }

/* Breadcrumb */
.breadcrumb { margin-bottom: clamp(24px, 3vw, 40px); }
.breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  font-size: var(--fs-meta);
  color: var(--slate);
}
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: var(--slate); }

/* "On this page" / sequence nav */
.toc {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  background: var(--off-white);
}
.toc-title { margin: 0 0 8px; font-size: var(--fs-label); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--slate); }
.toc ol { list-style: none; margin: 0; padding: 0; }
.toc li { border-top: 1px solid var(--border); }
.toc a {
  display: flex;
  gap: 12px;
  align-items: baseline;
  padding: 12px 0;
  font-size: 15px;
  color: var(--charcoal);
}
.toc a:hover { color: var(--blue); text-decoration: none; }
.toc-num { color: var(--blue); font-weight: 600; font-variant-numeric: tabular-nums; }

.toc-steps li { border-top: 0; }
.toc-steps a { align-items: center; min-height: 44px; padding: 4px 0; }
.step-dot {
  flex: 0 0 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.step-label { margin: 0 0 10px; font-size: var(--fs-label); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue-dark); }

/* "In brief" band */
.brief { background: var(--white); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: clamp(32px, 4vw, 48px) 0; }
.brief .wrap { display: flex; flex-wrap: wrap; gap: 16px clamp(32px, 5vw, 72px); }
.brief-label { flex: 0 1 200px; margin: 0; font-size: var(--fs-label); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue-dark); }
.brief-body { flex: 999 1 560px; min-width: 0; display: flex; flex-wrap: wrap; gap: 16px 40px; }
.brief-body p { flex: 1 1 380px; margin: 0; font-size: 15px; line-height: 1.7; color: var(--charcoal-soft); }
.brief-body strong { color: var(--charcoal); }

/* --------------------------------------------------------------------------
   Schematic figures (conceptual illustrations, always labelled)
   -------------------------------------------------------------------------- */
.schematic {
  margin: 0;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.schematic-white { background: var(--white); }
.schematic-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.schematic-title { margin: 0; font-size: 13px; font-weight: 600; color: var(--charcoal); }
.chip {
  flex: 0 0 auto;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--slate);
  border: 1px solid var(--border-strong);
  border-radius: 4px;
  padding: 2px 8px;
}
.schematic figcaption {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  line-height: 1.5;
  color: var(--slate);
}
.mini-label { margin: 0 0 8px; font-size: 12px; font-weight: 600; color: var(--charcoal-soft); }

/* Deliverable layers */
.layers { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.layer {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  font-size: 14px;
}
.layer-name { flex: 1; font-weight: 500; color: var(--charcoal); }
.layer-kind { font-size: 12px; font-weight: 600; color: var(--blue-dark); }
.layer svg { color: var(--blue); flex: 0 0 auto; }
.layer-optional { background: transparent; border-style: dashed; border-color: #b7c0ca; }
.layer-optional .layer-name { font-weight: 400; color: var(--charcoal-soft); }
.layer-optional .layer-kind { font-weight: 400; color: var(--slate); }
.layer-optional svg { color: var(--slate); }

/* Timeline strip */
.timeline { margin-top: 20px; }
.timeline-bar { display: flex; gap: 3px; height: 28px; }
.timeline-bar span { border-radius: 3px; background: #e4e8ed; }
.timeline-bar .seg {
  display: flex;
  align-items: center;
  padding: 0 8px;
  overflow: hidden;
  white-space: nowrap;
  font-size: 11px;
  font-weight: 600;
  color: var(--white);
  background: var(--blue);
}
.timeline-bar .seg-2 { background: var(--blue-dark); }
.timeline-axis { display: flex; justify-content: space-between; margin-top: 6px; font-size: 11px; color: var(--slate); }

/* Linkage diagram */
.link-source {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--blue);
  color: var(--white);
  border-radius: 8px;
  padding: 14px 16px;
  font-size: 14px;
  font-weight: 600;
}
.link-stem { width: 1px; height: 16px; background: var(--silver); margin-left: 26px; }
.link-list {
  list-style: none;
  margin: 0 0 20px 26px;
  padding: 0;
  border-left: 1px solid var(--silver);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.link-list li {
  position: relative;
  margin-left: 16px;
  margin-bottom: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  font-size: 13px;
  color: var(--charcoal);
}
.link-list li::before {
  content: "";
  position: absolute;
  left: -17px;
  top: 50%;
  width: 16px;
  height: 1px;
  background: var(--silver);
}

.granularity { display: flex; gap: 4px; }
.granularity span {
  flex: 1;
  border: 1px solid var(--border-strong);
  background: var(--white);
  border-radius: 4px;
  padding: 8px;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--charcoal-soft);
}

/* Small tile grids inside figures */
.tile-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin: 0 0 18px; padding: 0; list-style: none; }
.tile-grid li {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  font-size: 13px;
  color: var(--charcoal);
}
.schematic-white .tile-grid li { background: var(--off-white); }

.tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tags li {
  background: var(--tint);
  border-radius: 4px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 500;
  color: var(--blue-dark);
}
.tags-outline li { background: transparent; border: 1px solid var(--border-strong); color: var(--charcoal-soft); font-weight: 600; }
.tags-outline li:first-child { border-color: var(--blue); color: var(--blue-dark); }

.inline-note {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  border: 1px dashed #b7c0ca;
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  margin: 18px 0 0;
  font-size: 12px;
  line-height: 1.5;
  color: var(--charcoal-soft);
}
.inline-note svg { flex: 0 0 18px; margin-top: 1px; color: var(--slate); }

/* --------------------------------------------------------------------------
   Cards
   -------------------------------------------------------------------------- */
.card-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.card-grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); }
.card-grid-5 { gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.card-lg { padding: clamp(20px, 2.4vw, 32px); gap: 14px; }
.card h3 { margin: 0; font-size: var(--fs-h3); line-height: 1.35; font-weight: 600; }
.card-lg h3 { font-size: 19px; line-height: 1.3; }
.card h3 a { color: inherit; }
.card h3 a:hover { color: var(--blue); }
.card p { margin: 0; font-size: var(--fs-small); line-height: 1.65; color: var(--charcoal-soft); }
.card .tasks {
  padding-top: 14px;
  border-top: 1px solid var(--hairline);
  font-size: var(--fs-meta);
  line-height: 1.6;
  color: var(--slate);
}
.card .tasks strong {
  display: block;
  margin-bottom: 2px;
  font-size: var(--fs-label);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--charcoal);
}
.more {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  font-size: 15px;
  font-weight: 600;
}

.icon-tile {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 8px;
  background: var(--tint);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* --------------------------------------------------------------------------
   Task-structured metadata
   -------------------------------------------------------------------------- */
.taxonomy {
  margin-top: clamp(48px, 6vw, 80px);
  display: flex;
  flex-wrap: wrap;
  gap: 32px clamp(32px, 5vw, 64px);
  align-items: flex-start;
}
.taxonomy-text { flex: 1 1 340px; min-width: 0; }
.taxonomy-text h3 { margin: 0 0 12px; font-size: 22px; line-height: 1.3; font-weight: 700; }
.taxonomy-text .body-text { margin-bottom: 20px; }
.taxonomy-text .small { margin: 0 0 12px; font-size: var(--fs-meta); line-height: 1.65; color: var(--slate); }
.record-panel {
  flex: 1.4 1 480px;
  min-width: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  background: var(--off-white);
}
.panel-head p { margin: 0; font-size: 13px; font-weight: 600; color: var(--charcoal); }

.table-scroll { overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; font-size: var(--fs-meta); line-height: 1.5; }
.data-table th,
.data-table td { text-align: left; vertical-align: top; padding: 11px 20px; border-bottom: 1px solid var(--hairline); }
.data-table tr:last-child th,
.data-table tr:last-child td { border-bottom: 0; }
.data-table th { width: 38%; font-weight: 600; color: var(--charcoal); }
.data-table td { color: var(--charcoal-soft); }

.compare {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 20px;
  border-top: 1px solid var(--border);
  background: var(--off-white);
  margin: 0;
}
.compare-item { flex: 1 1 200px; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 14px; }
.compare-item p { margin: 0; font-size: 13px; line-height: 1.5; color: var(--charcoal-soft); }
.compare-item .label-text { margin-bottom: 4px; }
.compare-sep { flex: 0 0 auto; align-self: center; font-size: 12px; font-weight: 600; color: var(--slate); }

/* --------------------------------------------------------------------------
   Engagement flow
   -------------------------------------------------------------------------- */
.flow {
  list-style: none;
  margin: 0 0 56px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  gap: 16px;
}
.flow-step {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 22px 24px;
}
.flow-top { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; color: var(--silver); }
.flow-top .rule { flex: 1; height: 1px; background: var(--border-strong); }
.flow-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.flow-step:last-child .flow-num { background: var(--blue-dark); }
.flow-step:last-child .flow-top { color: var(--blue); }
.flow-owner { margin: 0 0 6px; }
.flow-step h3 { margin: 0; font-size: var(--fs-h3); line-height: 1.35; font-weight: 600; }
.flow-lead { margin: 0 0 28px; font-size: 18px; font-weight: 600; color: var(--charcoal); }

/* Grouped pillars (Access / Capture / Quality / Governance) */
.pillar-group { border-top: 1px solid var(--border-strong); padding-top: 20px; margin-bottom: 40px; min-width: 0; }
.group-label { margin-bottom: 20px; }
.group-label svg { color: var(--blue); }
.item-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 24px 40px; }
.item h3 { margin: 0 0 8px; font-size: var(--fs-h3); line-height: 1.35; font-weight: 600; }
.item p { margin: 0; font-size: var(--fs-small); line-height: 1.65; color: var(--charcoal-soft); }
.group-row { display: flex; flex-wrap: wrap; gap: 0 40px; }
.group-row > .pillar-group:first-child { flex: 2 1 640px; }
.group-row > .pillar-group:last-child { flex: 1 1 300px; }

.callout {
  margin: 8px 0 0;
  padding: 16px 20px;
  background: var(--tint);
  border-radius: 8px;
  font-size: var(--fs-small);
  line-height: 1.6;
  color: var(--charcoal);
  max-width: none;
}
.callout a { font-weight: 600; }

/* Why points */
.points { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 24px 40px; margin-top: 40px; }
.points p { margin: 0; padding-top: 20px; border-top: 2px solid var(--blue); font-size: var(--fs-small); line-height: 1.65; color: var(--charcoal-soft); }
.points strong { display: block; margin-bottom: 8px; font-size: var(--fs-h3); color: var(--charcoal); }

/* Checklist */
.checklist {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 0 40px;
}
.checklist li {
  display: flex;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid var(--border);
  font-size: var(--fs-small);
  line-height: 1.55;
  color: var(--charcoal-soft);
}
.checklist svg { flex: 0 0 18px; margin-top: 2px; color: var(--blue); }

/* --------------------------------------------------------------------------
   FAQ (native details/summary: content stays in HTML, no JS)
   -------------------------------------------------------------------------- */
.faq-list { min-width: 0; flex: 2.4 1 560px; }
.faq-item { border-top: 1px solid var(--border); }
.faq-item:last-child { border-bottom: 1px solid var(--border); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 44px;
  padding: 18px 0;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::marker { content: ""; }
.faq-item summary h3 { margin: 0; font-size: var(--fs-h3); line-height: 1.4; font-weight: 600; }
.faq-item summary:hover h3 { color: var(--blue); }
.faq-item summary svg { flex: 0 0 20px; color: var(--blue); transition: transform 0.2s ease; }
.faq-item[open] summary svg { transform: rotate(180deg); }
.faq-item p { margin: 0 0 24px; max-width: 72ch; font-size: var(--fs-small); line-height: 1.7; color: var(--charcoal-soft); }
@media (prefers-reduced-motion: reduce) { .faq-item summary svg { transition: none; } }

/* --------------------------------------------------------------------------
   Service-page components
   -------------------------------------------------------------------------- */
.scope-row { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 16px; align-items: stretch; }
.scope-in,
.scope-out { min-width: 0; border-radius: var(--radius); padding: 20px 24px; display: flex; gap: 14px; }
.scope-in { flex: 2 1 420px; background: var(--white); border: 1px solid var(--border); }
.scope-out { flex: 1 1 280px; background: var(--off-white); border: 1px dashed #9aa4af; }
.scope-in p,
.scope-out p { margin: 0; font-size: var(--fs-small); line-height: 1.6; color: var(--charcoal-soft); }
.scope-out p { color: var(--charcoal); }
.scope-in svg { flex: 0 0 20px; margin-top: 2px; color: var(--blue); }
.scope-out svg { flex: 0 0 20px; margin-top: 2px; color: var(--charcoal-soft); }

.field-panel { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: var(--white); }
.field-panel-head { padding: 12px 20px; background: var(--off-white); border-bottom: 1px solid var(--border); font-size: var(--fs-label); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--charcoal-soft); margin: 0; }
.field-list { list-style: none; margin: 0; padding: 0; }
.field-list li { display: flex; gap: 14px; align-items: baseline; padding: 14px 20px; border-bottom: 1px solid var(--hairline); font-size: var(--fs-small); line-height: 1.5; color: var(--charcoal); }
.field-list li:last-child { border-bottom: 0; }
.field-code { flex: 0 0 32px; font-size: 12px; font-weight: 600; color: var(--blue); }

/* Spec tables (custom page) */
.table-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); overflow-x: auto; }
.spec-table { width: 100%; min-width: 320px; border-collapse: collapse; font-size: var(--fs-small); line-height: 1.55; }
.spec-table thead th {
  text-align: left;
  padding: 12px 24px;
  background: var(--off-white);
  border-bottom: 1px solid var(--border);
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--charcoal-soft);
}
.spec-table tbody th,
.spec-table tbody td { text-align: left; vertical-align: top; padding: 18px 24px; border-bottom: 1px solid var(--hairline); }
.spec-table tbody tr:last-child th,
.spec-table tbody tr:last-child td { border-bottom: 0; }
.spec-table tbody th { width: 28%; font-weight: 600; color: var(--charcoal); }
.spec-table td { color: var(--charcoal-soft); }
.spec-table ul { margin: 0; padding-left: 18px; }
.spec-table li + li { margin-top: 6px; }
.th-icon { display: flex; align-items: center; gap: 10px; font-size: 16px; }
.th-icon svg { flex: 0 0 auto; color: var(--blue); }
@media (max-width: 640px) {
  .spec-table, .spec-table tbody, .spec-table tr,
  .spec-table tbody th, .spec-table tbody td { display: block; width: 100%; }
  .spec-table thead { display: none; }
  .spec-table tbody th { padding-bottom: 6px; border-bottom: 0; }
  .spec-table tbody td { padding-top: 0; }
  .spec-table.criteria tbody th { padding-bottom: 2px; }
}

.separate {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: stretch;
}
.separate .compare-item { flex: 1 1 150px; }
.separate .compare-sep { font-size: 16px; }

.layer-cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: 12px;
}
.layer-cards li {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--blue);
  border-radius: 8px;
  padding: 20px;
}
.layer-cards .k-annot { border-top-color: #4d86c9; }
.layer-cards .k-outcome { border-top-color: var(--silver); }
.layer-cards h3 { margin: 0 0 8px; font-size: 16px; line-height: 1.35; font-weight: 600; }
.layer-cards p { margin: 0; font-size: var(--fs-meta); line-height: 1.6; color: var(--charcoal-soft); }
.legend { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 16px; font-size: 12px; color: var(--slate); }
.legend span { display: inline-flex; align-items: center; gap: 8px; }
.legend i { width: 16px; height: 3px; background: var(--blue); }
.legend .k-annot { background: #4d86c9; }
.legend .k-outcome { background: var(--silver); }

.chain { list-style: none; margin: 0; padding: 0; }
.chain li { display: flex; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--hairline); font-size: var(--fs-meta); color: var(--charcoal); }
.chain li:last-child { border-bottom: 0; }
.chain li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); flex: 0 0 8px; }

.delivery { display: flex; flex-wrap: wrap; gap: 24px; align-items: stretch; margin-bottom: 28px; }
.baseline { flex: 1 1 300px; min-width: 0; background: var(--blue); color: var(--white); border-radius: var(--radius); padding: 24px; }
.baseline .label-text { color: #d6e6f8; margin: 0 0 8px; }
.baseline p:last-child { margin: 0; font-size: 17px; line-height: 1.55; font-weight: 500; }
.delivery .checklist { flex: 2 1 480px; min-width: 0; margin: 0; align-content: start; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 0 32px; }
.delivery .checklist li { padding: 12px 0; }

.info-row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
}
.info-row svg { flex: 0 0 22px; margin-top: 2px; color: var(--blue); }
.info-row p { margin: 0; max-width: 80ch; font-size: var(--fs-small); line-height: 1.65; color: var(--charcoal-soft); }
.info-row strong { color: var(--charcoal); }

.stages { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 16px; }
.stages li { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.stages .flow-top { margin-bottom: 12px; }
.stages h3 { margin: 0 0 8px; font-size: var(--fs-h3); font-weight: 600; }
.stages p { margin: 0; font-size: var(--fs-small); line-height: 1.65; color: var(--charcoal-soft); }
.stages li:last-child .flow-num { background: var(--blue-dark); }

.review-row { display: flex; flex-wrap: wrap; gap: 16px 40px; align-items: center; }
.review-row p { flex: 1.5 1 420px; min-width: 0; max-width: 68ch; margin: 0; color: var(--charcoal-soft); line-height: 1.65; }
.review-row .tags { flex: 1 1 300px; }

/* Legacy prose (privacy notice) */
.prose { max-width: 72ch; }
.prose p { color: var(--charcoal-soft); margin: 0 0 14px; }
.prose h2 { font-size: 20px; margin: 32px 0 10px; letter-spacing: 0; }
.prose h2:first-child { margin-top: 0; }
.prose-list { margin: 0 0 16px; padding-left: 20px; color: var(--charcoal-soft); }
.prose-list li { margin-bottom: 6px; }
.prose-list strong { color: var(--charcoal); }
.hero .prose { margin-bottom: 0; }

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */
.contact-section { background: var(--navy); color: var(--white); padding: clamp(56px, 7vw, 96px) 0; }
.contact-inner { max-width: 760px; }
.contact-section .eyebrow { color: var(--on-navy-label); }
.contact-section h2 { color: var(--white); }
.contact-section .contact-text { margin: 0 0 28px; max-width: 64ch; line-height: 1.65; color: var(--on-navy); }
.contact-alt { margin: 20px 0 0; font-size: var(--fs-small); line-height: 1.6; color: var(--on-navy); }
.contact-alt a { color: var(--white); font-weight: 600; text-decoration: underline; text-decoration-color: rgba(255,255,255,0.4); text-underline-offset: 3px; }
.contact-alt a:hover { text-decoration-color: var(--white); }
.contact-section :focus-visible { outline-color: var(--white); }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer { background: var(--charcoal); color: var(--footer-text); padding: 36px 0; }
.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 40px;
  align-items: center;
  justify-content: space-between;
  font-size: var(--fs-meta);
}
.footer-brand { font-size: 18px; font-weight: 700; }
.site-footer .brand-datum { color: var(--off-white); }
.site-footer .brand-lynk { color: var(--silver); }
.footer-nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 24px; margin: 0; padding: 0; }
.footer-nav a,
.site-footer a { color: var(--footer-link); }
.footer-nav a { display: inline-block; padding: 10px 0; }
.footer-nav a[aria-current="page"] { color: var(--white); font-weight: 600; }
.site-footer :focus-visible { outline-color: var(--white); }

/* ==========================================================================
   Landing page (/) — a quick read for humans; detail lives on /overview/
   ========================================================================== */
.lp { background: var(--white); color: var(--ink); }
.lp .wrap { max-width: 1280px; }
.lp-serif { font-family: var(--font-serif); font-weight: 700; color: var(--ink); }

.lp-header .wrap { min-height: 84px; }
.lp-header .site-nav a { color: var(--ink); font-size: 16px; }
.lp-header .site-nav .nav-btn {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 8px;
  background: var(--indigo);
  color: var(--white);
  font-weight: 600;
}
.lp-header .site-nav .nav-btn:hover { background: #17237a; color: var(--white); }
.lp-header .site-nav ul { align-items: center; gap: 4px clamp(16px, 2.4vw, 36px); }

.lp-btn { background: var(--indigo); color: var(--white); min-height: 54px; padding: 0 26px; border-radius: 8px; font-size: 17px; }
.lp-btn:hover { background: #17237a; }
.lp-btn-ghost { min-height: 54px; border-radius: 8px; font-size: 16px; border-color: #cfd4dd; color: var(--ink); }

.lp-eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 20px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--indigo);
}
.lp-eyebrow::after { content: ""; width: 56px; height: 2px; background: var(--indigo); }
.lp-kicker { margin: 0 0 12px; font-size: 13px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--indigo); }

/* Hero */
.lp-hero { padding: clamp(36px, 5vw, 72px) 0; }
.lp-hero .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 40px clamp(32px, 4vw, 64px); }
.lp-hero-text { flex: 1.15 1 520px; min-width: 0; }
.lp-hero h1 {
  margin: 0 0 22px;
  font-family: var(--font-serif);
  font-size: clamp(32px, 2.4vw + 14px, 50px);
  line-height: 1.14;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--ink);
}
.lp-hero h1 .accent { color: var(--indigo); }
.lp-hero-sub { margin: 0 0 32px; max-width: 52ch; font-size: clamp(18px, 0.4vw + 15px, 20px); line-height: 1.55; color: var(--ink); }
.lp-hero-media { flex: 1.3 1 520px; min-width: 0; margin: 0; }
.lp-hero-media figcaption { margin: 12px 0 0; font-size: 12px; line-height: 1.5; color: #5b6475; }

/* Angled environment panels */
.lp-panels { position: relative; width: 100%; aspect-ratio: 1106 / 600; }
.lp-panel {
  position: absolute;
  inset: 0;
  clip-path: var(--clip);
  background: #e9ebef;
  color: var(--white);
  text-decoration: none;
}
.lp-panel img {
  position: absolute;
  top: 0;
  left: var(--img-l);
  width: var(--img-w);
  height: 100%;
  object-fit: cover;
  object-position: var(--pos, 50% 50%);
  transition: transform 0.4s ease;
}
.lp-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12,20,40,0.88) 0%, rgba(12,20,40,0.55) 24%, rgba(12,20,40,0) 52%);
}
.lp-panel-label {
  position: absolute;
  z-index: 1;
  left: var(--lx);
  bottom: 6%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: clamp(13px, 1.15vw, 17px);
  font-weight: 600;
  white-space: nowrap;
}
.lp-panel-label svg { width: clamp(20px, 2.2vw, 32px); height: clamp(20px, 2.2vw, 32px); }
.lp-panel:hover { text-decoration: none; }
.lp-panel:hover img { transform: scale(1.04); }
.lp-panel:focus-visible { outline: none; }
.lp-panel:focus-visible .lp-panel-label { outline: 2px solid var(--white); outline-offset: 6px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) { .lp-panel img { transition: none; } .lp-panel:hover img { transform: none; } }

@media (max-width: 720px) {
  .lp-panels { aspect-ratio: auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
  .lp-panel { position: relative; inset: auto; clip-path: none; aspect-ratio: 4 / 3; border-radius: 8px; overflow: hidden; }
  .lp-panel img { left: 0; width: 100%; }
  .lp-panel-label { left: 50%; }
}

/* Is / is not */
.lp-is { border-top: 1px solid #ebe8e2; border-bottom: 1px solid #ebe8e2; padding: clamp(28px, 3vw, 40px) 0; }
.lp-is .wrap { display: flex; flex-wrap: wrap; gap: 20px 48px; }
.lp-is p { flex: 1 1 360px; margin: 0; display: flex; gap: 14px; font-size: 16px; line-height: 1.6; color: #3d4659; }
.lp-is p:first-child { flex-basis: 420px; }
.lp-is strong { color: var(--ink); }
.lp-is svg { flex: 0 0 22px; margin-top: 2px; }

/* Split rows: serif heading | content */
.lp-row { padding: clamp(48px, 6vw, 88px) 0; }
.lp-row .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 32px clamp(32px, 4vw, 64px); }
.lp-row-head { flex: 1 1 300px; min-width: 0; padding-right: clamp(0px, 2vw, 32px); border-right: 1px solid #ebe8e2; }
.lp-row-head h2 { margin: 0; font-family: var(--font-serif); font-size: clamp(30px, 1.6vw + 16px, 44px); line-height: 1.1; font-weight: 700; letter-spacing: 0; color: var(--ink); }
.lp-row-body { flex: 2.6 1 640px; min-width: 0; }
.lp-band { background: var(--stone); }
.lp-band .lp-row-head { border-right-color: var(--stone-line); }
.lp-why .wrap { align-items: flex-start; }
@media (max-width: 1000px) { .lp-row-head { border-right: 0; padding-right: 0; } }

.lp-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); gap: 28px 24px; }
.lp-steps svg, .lp-points svg { color: var(--indigo); }
.lp-step-owner { margin: 10px 0 2px; font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #5b6475; }
.lp-steps h3 { margin: 0; font-size: 18px; line-height: 1.3; font-weight: 700; color: var(--ink); }

.lp-points { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 28px 32px; }
.lp-points h3 { margin: 12px 0 6px; font-size: 19px; line-height: 1.3; font-weight: 700; color: var(--ink); }
.lp-points p { margin: 0; font-size: 15px; line-height: 1.6; color: #3d4659; }

/* Explore grid */
.lp-explore { background: var(--off-white); border-top: 1px solid #ebe8e2; padding: clamp(48px, 6vw, 88px) 0; }
.lp-explore-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px 32px; margin-bottom: 32px; }
.lp-explore-head h2 { margin: 0; font-family: var(--font-serif); font-size: clamp(28px, 1.2vw + 16px, 38px); line-height: 1.15; letter-spacing: 0; color: var(--ink); }
.lp-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.lp-links a { display: block; height: 100%; background: var(--white); padding: 24px; color: var(--ink); }
.lp-links a:hover { text-decoration: none; background: #fbfbfd; }
.lp-links a:hover .lp-link-title { color: var(--indigo); }
.lp-link-kind { display: block; font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #5b6475; }
.lp-link-title { display: flex; justify-content: space-between; gap: 12px; margin: 6px 0; font-size: 18px; font-weight: 700; line-height: 1.35; }
.lp-link-title span { color: var(--indigo); }
.lp-link-text { display: block; font-size: 15px; line-height: 1.55; color: #3d4659; }

.lp .contact-section h2 { font-family: var(--font-serif); font-size: clamp(30px, 1.6vw + 16px, 44px); letter-spacing: 0; }
.lp .contact-section .btn-inverse { color: var(--indigo); min-height: 54px; font-size: 17px; border-radius: 8px; }
.lp .site-footer { background: var(--ink); }
.lp .footer-brand { font-size: 26px; }

/* --------------------------------------------------------------------------
   Landing: collapsible reading layers (layer 2 detail, layer 3 FAQ).
   Content stays in the HTML; sections are closed by default.
   -------------------------------------------------------------------------- */
.lp-layer { border-top: 1px solid #ebe8e2; background: var(--white); }
.lp-layer-alt { background: var(--stone); border-top-color: var(--stone-line); }
.lp-layer > summary { list-style: none; cursor: pointer; padding: clamp(36px, 4.5vw, 64px) 0; }
.lp-layer > summary::-webkit-details-marker { display: none; }
.lp-layer > summary::marker { content: ""; }
.lp-layer > summary .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.lp-layer-text { display: block; min-width: 0; }
.lp-layer-text .lp-kicker { display: block; }
.lp-layer > summary h2 { margin: 0 0 10px; font-family: var(--font-serif); font-size: clamp(30px, 1.6vw + 16px, 44px); line-height: 1.1; font-weight: 700; letter-spacing: 0; color: var(--ink); }
.lp-layer-sub { display: block; max-width: 70ch; font-size: 16px; line-height: 1.6; color: #3d4659; }
.lp-layer-chev { flex: 0 0 28px; color: var(--indigo); transition: transform 0.2s ease; }
.lp-layer[open] > summary .lp-layer-chev { transform: rotate(180deg); }
.lp-layer > summary:hover h2 { color: var(--indigo); }
.lp-layer > summary:focus-visible { outline: 2px solid var(--indigo); outline-offset: -4px; }
@media (prefers-reduced-motion: reduce) { .lp-layer-chev { transition: none; } }

/* Inside the layers: brand-blue components take the landing accent */
.lp-layer-body { --blue: var(--indigo); --blue-dark: #17237a; border-top: 1px solid #ebe8e2; }
.lp-layer-alt .lp-layer-body { border-top-color: var(--stone-line); }
.lp-layer-body .hero { padding-top: clamp(32px, 4vw, 56px); }
.lp-layer-body h2 { font-family: var(--font-serif); letter-spacing: 0; }
.lp-layer-alt .lp-layer-body section { background: transparent; padding-top: 0; }
/* Four link cards: 4 / 2 / 1 columns so no empty cell is left */
@media (max-width: 1000px) { .lp-links { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .lp-links { grid-template-columns: 1fr; } }
