/* Inova Business Solutions — site styles
   Plain CSS, mobile-first. Tokens from the logo and business card.
   Fonts are self-hosted (SIL Open Font Licence, see assets/fonts/). */

@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 500; font-display: swap; src: url("assets/fonts/montserrat-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 600; font-display: swap; src: url("assets/fonts/montserrat-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 400; font-display: swap; src: url("assets/fonts/source-sans-3-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 600; font-display: swap; src: url("assets/fonts/source-sans-3-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 700; font-display: swap; src: url("assets/fonts/source-sans-3-latin-700-normal.woff2") format("woff2"); }

:root {
  --charcoal: #282726;
  --amber: #EDA510;
  --white: #FFFFFF;
  --ground: #F5F5F4;
  --pattern: #D6D7D9;
  --body: #4A4846;
  --muted: #6B6966;          /* lightest grey allowed for text and control borders (5.5:1) */
  --hairline: #E6E5E3;       /* decorative dividers only */
  --on-dark: #CFCCC8;
  --on-dark-muted: #A9A5A0;
  --line-dark: rgba(255, 255, 255, 0.14);
  --line-dark-strong: rgba(255, 255, 255, 0.28);
  --error: #B42318;
  --radius: 4px;
  --max: 1200px;
  --gutter: 20px;
  --section: 72px;
  --font-display: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font: "Source Sans 3", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

@media (min-width: 768px) { :root { --gutter: 32px; --section: 96px; } }
@media (min-width: 1200px) { :root { --gutter: 40px; --section: 120px; } }

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

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

body {
  margin: 0;
  background: var(--white);
  color: var(--body);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
@media (min-width: 768px) { body { font-size: 18px; } }

img, svg { display: block; max-width: 100%; }
a { color: var(--charcoal); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--amber); }
strong { color: var(--charcoal); font-weight: 600; }

h1, h2, h3, h4 { color: var(--charcoal); margin: 0; font-family: var(--font-display); font-weight: 600; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.125rem, 1.45rem + 2.9vw, 3.5rem); line-height: 1.1; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.75rem, 1.35rem + 1.6vw, 2.5rem); line-height: 1.15; letter-spacing: -0.02em; }
h3 { font-size: 1.125rem; line-height: 1.3; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

/* Focus: charcoal on light surfaces (14.9:1), amber on charcoal (7.1:1). */
:focus-visible { outline: 2px solid var(--charcoal); outline-offset: 3px; border-radius: 2px; }
.on-dark :focus-visible, .site-footer :focus-visible, .card--dark :focus-visible, .section--dark :focus-visible { outline-color: var(--amber); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--charcoal); color: var(--white); padding: 10px 16px;
  border-radius: var(--radius); font-weight: 600; font-size: 15px; text-decoration: none;
}
.skip-link:focus { top: 12px; outline-color: var(--amber); }

.container { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Type roles: one eyebrow, one label ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0 0 20px; color: var(--charcoal); font-family: var(--font-display);
  font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; line-height: 1.4;
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--amber); flex: none; }
@media (min-width: 768px) { .eyebrow { font-size: 13px; } }
.on-dark .eyebrow, .section--dark .eyebrow { color: var(--white); }

/* The single small-caps label used for table heads, record terms, footer and sidebar titles, sectors and indexes */
.label, .data-table thead th, .record dt, .site-footer h2, .direct-block h2, .subhead h3, .router .k, .sector, .idx, .case-meta dt, .steps .n, .deliver-list .n {
  font-family: var(--font-display); font-size: 11px; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; line-height: 1.4; color: var(--muted); font-variant-numeric: tabular-nums;
}

.lead { font-size: 1.125rem; line-height: 1.6; color: var(--body); max-width: 40em; }
@media (min-width: 768px) { .lead { font-size: 1.3125rem; } }
.muted { color: var(--muted); }

.section { padding: var(--section) 0; position: relative; }
.section--ground { background: var(--ground); }
.section--dark { background: var(--charcoal); color: var(--on-dark); overflow: hidden; }
.section--dark h2, .section--dark h3 { color: var(--white); }
.section--dark .lead { color: var(--on-dark); }

.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head h2 + .lead, .section-head h2 + p { margin-top: 20px; }
@media (min-width: 1024px) { .section-head { margin-bottom: 64px; } }

.subhead {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding-bottom: 16px; margin: 0 0 28px; border-bottom: 1px solid var(--hairline);
}
.subhead h3 { color: var(--charcoal); }
.subhead p { margin: 0; font-size: 15px; color: var(--muted); }
.subhead--spaced { margin-top: 72px; }

[id] { scroll-margin-top: 96px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 24px; border: 1px solid transparent; border-radius: var(--radius);
  font-family: var(--font-display); font-size: 15px; font-weight: 600; letter-spacing: 0.01em; line-height: 1.2;
  text-decoration: none; cursor: pointer; transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn--primary { background: var(--charcoal); color: var(--white); }
.btn--primary:hover { background: #3a3937; }
.btn--amber { background: var(--amber); color: var(--charcoal); }
.btn--amber:hover { background: #f3b534; }
.btn--ghost { background: transparent; color: var(--charcoal); border-color: var(--charcoal); }
.btn--ghost:hover { background: var(--charcoal); color: var(--white); }
.btn--sm { min-height: 40px; padding: 8px 18px; font-size: 14px; }
.btn svg { width: 16px; height: 16px; flex: none; }
.btn[disabled] { opacity: .6; cursor: progress; }

.text-link {
  display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 600; font-size: 14px;
  color: var(--charcoal); text-decoration: none; letter-spacing: 0.01em;
}
.text-link svg { width: 14px; height: 14px; transition: transform .15s ease; }
.text-link:hover svg { transform: translateX(3px); }
.text-link:hover { text-decoration: underline; text-decoration-color: var(--amber); }

.actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin-top: 36px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 1px solid var(--hairline); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
@media (min-width: 960px) { .header-inner { height: 84px; } }
.brand { display: inline-flex; flex: none; }
.brand img { height: 36px; width: auto; }
@media (min-width: 960px) { .brand img { height: 42px; } }

.menu-toggle {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 12px; margin-right: -12px;
  background: none; border: 0; color: var(--charcoal); font-family: var(--font-display); font-size: 14px; font-weight: 600; cursor: pointer;
}
.menu-toggle .bars { position: relative; width: 20px; height: 12px; }
.menu-toggle .bars span { position: absolute; left: 0; width: 100%; height: 2px; background: currentColor; transition: transform .2s ease, opacity .2s ease; }
.menu-toggle .bars span:nth-child(1) { top: 0; }
.menu-toggle .bars span:nth-child(2) { top: 5px; }
.menu-toggle .bars span:nth-child(3) { top: 10px; }
.menu-toggle[aria-expanded="true"] .bars span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .bars span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .bars span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

.site-nav { display: none; }
.site-nav.is-open {
  display: block; position: absolute; top: 100%; left: 0; right: 0;
  background: var(--white); border-bottom: 1px solid var(--hairline);
  max-height: calc(100vh - 72px); overflow-y: auto;
}
.nav-list { list-style: none; margin: 0; padding: 8px var(--gutter) 24px; }
.nav-list > li { border-bottom: 1px solid var(--hairline); }
.nav-list a, .nav-list .nav-drop {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  min-height: 52px; padding: 12px 0; background: none; border: 0;
  color: var(--charcoal); font-family: var(--font-display); font-size: 16px; font-weight: 500; text-decoration: none; text-align: left; cursor: pointer;
}
.nav-drop svg { width: 12px; height: 12px; transition: transform .2s ease; }
.nav-drop[aria-expanded="true"] svg { transform: rotate(180deg); }
.subnav { list-style: none; margin: 0; padding: 0 0 12px 16px; }
.subnav[hidden] { display: none; }
.subnav a { min-height: 44px; font-size: 15px; color: var(--body); }
.nav-list a[aria-current="page"] { font-weight: 600; }
.nav-cta { display: flex; flex-direction: column; gap: 12px; padding: 20px var(--gutter) 0; list-style: none; margin: 0; }
.nav-phone { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 600; font-size: 15px; text-decoration: none; color: var(--charcoal); }
.nav-phone svg { width: 16px; height: 16px; }

@media (min-width: 960px) {
  .menu-toggle { display: none; }
  .site-nav, .site-nav.is-open {
    display: flex; align-items: center; gap: 24px; position: static; border: 0; max-height: none; overflow: visible; background: transparent;
  }
  .nav-list { display: flex; align-items: center; gap: 2px; padding: 0; }
  .nav-list > li { border: 0; position: relative; }
  .nav-list a, .nav-list .nav-drop {
    min-height: 44px; padding: 8px 11px; font-size: 14px; font-weight: 500; width: auto; gap: 6px; border-radius: var(--radius);
  }
  .nav-list > li > a:hover, .nav-drop:hover { text-decoration: underline; text-decoration-color: var(--amber); text-underline-offset: 6px; }
  .nav-list a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--amber); text-underline-offset: 6px; text-decoration-thickness: 2px; }
  .subnav {
    position: absolute; top: calc(100% + 14px); left: 0; min-width: 240px; padding: 8px;
    background: var(--white); border: 1px solid var(--hairline); border-radius: var(--radius);
  }
  .subnav a { padding: 10px 12px; font-size: 14px; color: var(--charcoal); }
  .subnav a:hover { background: var(--ground); text-decoration: none; }
  .nav-cta { flex-direction: row; align-items: center; gap: 20px; padding: 0; }
  .nav-phone { font-size: 14px; display: none; }
}
@media (min-width: 1240px) { .nav-phone { display: inline-flex; } }

/* ---------- Pattern motif ---------- */
.pattern {
  position: absolute; top: 0; right: 0; bottom: 0; width: 55%; pointer-events: none; color: var(--pattern);
  -webkit-mask-image: linear-gradient(to left, #000 0%, rgba(0,0,0,.55) 45%, transparent 100%);
          mask-image: linear-gradient(to left, #000 0%, rgba(0,0,0,.55) 45%, transparent 100%);
}
.pattern svg { width: 100%; height: 100%; }
.pattern--dark { color: #FFFFFF; opacity: .07; }
@media (max-width: 1023px) { .hero .pattern, .page-hero .pattern { width: 60%; opacity: .35; } }

/* ---------- Home hero ---------- */
.hero { position: relative; overflow: hidden; padding: 56px 0 72px; border-bottom: 1px solid var(--hairline); }
@media (min-width: 1024px) { .hero { padding: 104px 0 112px; } }
.hero .container { position: relative; }
.hero-grid { display: grid; gap: 48px; }
@media (min-width: 1024px) { .hero-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 72px; align-items: end; } }
.hero h1 { max-width: 13em; }
.hero .lead { margin-top: 24px; max-width: 32em; }

.router { display: grid; gap: 12px; margin-top: 40px; }
@media (min-width: 640px) { .router { grid-template-columns: 1fr 1fr; gap: 16px; } }
.router a {
  position: relative; display: flex; flex-direction: column; gap: 8px; min-height: 132px;
  padding: 24px 56px 24px 24px; background: var(--white); border: 1px solid var(--hairline); border-radius: var(--radius);
  text-decoration: none; transition: border-color .15s ease;
}
.router a:hover { border-color: var(--charcoal); }
.router .t { font-family: var(--font-display); font-size: 1.125rem; font-weight: 600; color: var(--charcoal); line-height: 1.3; letter-spacing: -0.01em; }
.router .d { font-size: 15px; color: var(--muted); line-height: 1.5; margin-top: auto; }
.router .arrow { position: absolute; top: 24px; right: 22px; width: 20px; height: 20px; color: var(--charcoal); transition: transform .15s ease; }
.router a:hover .arrow { transform: translate(2px, 2px); }
.credline { margin-top: 28px; font-size: 15px; color: var(--muted); }
.credline::before { content: ""; display: inline-block; vertical-align: middle; width: 24px; height: 1px; margin-right: 12px; background: var(--charcoal); }

.record { background: var(--white); border: 1px solid var(--hairline); border-radius: var(--radius); padding: 28px; }
@media (min-width: 1024px) { .record { padding: 32px; } }
.record .eyebrow { margin-bottom: 8px; }
.record dl { margin: 0; }
.record .row { display: grid; gap: 4px; padding: 16px 0; border-top: 1px solid var(--hairline); }
.record .row:first-child { border-top: 0; }
.record dd { margin: 0; color: var(--charcoal); font-weight: 600; font-size: 16px; line-height: 1.45; }
.record .record-foot { margin-top: 8px; padding-top: 16px; border-top: 1px solid var(--hairline); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; overflow: hidden; background: var(--ground); padding: 40px 0 72px; }
@media (min-width: 1024px) { .page-hero { padding: 56px 0 112px; } }
.page-hero .container { position: relative; }
.page-hero h1 { max-width: 14em; }
.page-hero .lead { margin-top: 24px; }
.breadcrumb { margin-bottom: 48px; font-size: 14px; }
.breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; color: var(--muted); }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: var(--muted); }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--charcoal); text-decoration: underline; }
.breadcrumb [aria-current] { color: var(--charcoal); font-weight: 600; }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 16px; }
@media (min-width: 700px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) {
  .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .grid { gap: 20px; }
}

.card {
  display: flex; flex-direction: column; gap: 12px; padding: 28px;
  background: var(--white); border: 1px solid var(--hairline); border-radius: var(--radius);
}
.card p { font-size: 16px; line-height: 1.55; margin: 0; }
.card .card-foot { margin-top: auto; padding-top: 12px; }
.card--ground { background: var(--ground); border-color: transparent; }

/* Featured card on white or ground */
.card--dark { background: var(--charcoal); border-color: var(--charcoal); color: var(--on-dark); padding: 32px 28px; }
.card--dark h3 { color: var(--white); font-size: 1.25rem; }
.card--dark .idx, .card--dark .sector { color: var(--on-dark-muted); }
.card--dark .text-link { color: var(--amber); }

/* Cards inside a full-bleed charcoal section */
.section--dark .card { background: transparent; border-color: var(--line-dark-strong); color: var(--on-dark); padding: 32px 28px; }
.section--dark .card h3 { color: var(--white); font-size: 1.25rem; }
.section--dark .card .text-link { color: var(--amber); }
.section--dark .card:hover { border-color: var(--on-dark-muted); }
@media (min-width: 1024px) { .section--dark .card { padding: 40px 32px; min-height: 300px; } }

.glyph { width: 14px; height: 28px; color: var(--charcoal); }
.card--dark .glyph, .section--dark .glyph { color: var(--amber); }

/* AI & data: wide feature row */
.ai-feature { margin-top: 20px; background: var(--ground); border-color: transparent; }
@media (min-width: 1024px) {
  .ai-feature { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr) auto; column-gap: 40px; align-items: center; padding: 36px 40px; }
  .ai-feature .card-foot { margin: 0; padding: 0; }
}
.ai-feature h3 { font-size: 1.25rem; }

.sector { margin: 0; }

/* ---------- Group track record (home summary + page) ---------- */
.proof-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--charcoal); }
.proof-list li { display: grid; gap: 6px; padding: 24px 0; border-bottom: 1px solid var(--hairline); }
@media (min-width: 900px) { .proof-list li { grid-template-columns: minmax(0, 3fr) minmax(0, 5fr); column-gap: 32px; align-items: baseline; } }
.proof-list h3 { font-size: 1.125rem; }
.proof-list p { margin: 0; font-size: 16px; }
.proof-list .label { grid-column: 1 / -1; }
.attribution { margin-top: 20px; font-size: 15px; color: var(--muted); }

.case { display: grid; gap: 28px; padding: 48px 0; border-top: 1px solid var(--hairline); }
.case:first-of-type { border-top: 1px solid var(--charcoal); }
@media (min-width: 1024px) { .case { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 80px; padding: 64px 0; } }
.case h2 { font-size: clamp(1.5rem, 1.2rem + 1.1vw, 2rem); }
.case-meta { margin: 24px 0 0; display: grid; gap: 14px; }
.case-meta div { display: grid; gap: 2px; }
.case-meta dd { margin: 0; color: var(--charcoal); font-weight: 600; font-size: 16px; }
.case-body h3 { font-size: 1.125rem; margin-bottom: 8px; }
.case-body section + section { margin-top: 28px; }
.case-body p { margin: 0; }

.note {
  margin-top: 40px; padding: 24px 28px; background: var(--white); border: 1px solid var(--hairline); border-radius: var(--radius); font-size: 16px;
}
.note strong { display: block; margin-bottom: 4px; }
.page-hero .note { max-width: 46em; }

/* ---------- Flow diagram (IoT layers, command centre data flow) ---------- */
.flow { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; counter-reset: flow; }
.flow > li { position: relative; padding: 24px; background: var(--white); border: 1px solid var(--hairline); border-radius: var(--radius); }
.flow > li + li::before {
  content: ""; position: absolute; left: 32px; top: -13px; width: 2px; height: 12px; background: var(--amber);
}
.flow h3 { font-size: 1.0625rem; margin: 6px 0 8px; }
.flow p { margin: 0; font-size: 16px; }
.flow ul { margin: 10px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.flow ul li { font-size: 14px; padding: 3px 10px; border: 1px solid var(--hairline); border-radius: var(--radius); color: var(--charcoal); background: var(--white); }
.flow > li.is-core { background: var(--charcoal); border-color: var(--charcoal); color: var(--on-dark); }
.flow > li.is-core h3 { color: var(--white); }
.flow > li.is-core .label { color: var(--on-dark-muted); }
.flow > li.is-core ul li { background: transparent; color: var(--white); border-color: var(--line-dark-strong); }
@media (min-width: 960px) {
  .flow { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
  .flow > li + li::before { left: -21px; top: 50%; width: 22px; height: 2px; }
}
@media (min-width: 960px) { .flow--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.flow-caption { margin-top: 20px; font-size: 15px; color: var(--muted); }
.section--ground .flow > li:not(.is-core) { background: var(--white); }

/* ---------- Engagement steps (home) ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.steps li { position: relative; padding: 28px 0; border-top: 1px solid var(--hairline); display: grid; grid-template-columns: 56px 1fr; gap: 4px 16px; }
.steps li:last-child { border-bottom: 1px solid var(--hairline); }
.steps .n { grid-row: span 2; padding-top: 3px; }
.steps p { font-size: 16px; margin: 0; }
.steps .mark { display: contents; }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
  .steps li { display: block; padding: 0; border: 0; }
  .steps li:last-child { border: 0; }
  .steps .mark { display: flex; align-items: center; gap: 12px; margin-bottom: 28px; }
  .steps .mark::after { content: ""; flex: 1; height: 1px; background: var(--hairline); }
  .steps li:last-child .mark::after { background: transparent; }
  .steps .n { display: block; padding: 0; }
  .steps h3 { margin-bottom: 10px; }
}

/* ---------- About ---------- */
.about-grid { display: grid; gap: 40px; }
@media (min-width: 1024px) { .about-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 80px; } }
.values { display: grid; gap: 0; margin-top: 40px; }
@media (min-width: 700px) { .values { grid-template-columns: 1fr 1fr; column-gap: 40px; } }
.value { padding: 24px 0; border-top: 1px solid var(--hairline); }
.value h3 { margin-bottom: 6px; }
.value p { font-size: 16px; margin: 0; }

/* ---------- Statement ---------- */
.statement { display: grid; gap: 16px; padding: 40px 0 0; margin-top: 56px; border-top: 1px solid var(--hairline); }
.statement p { font-family: var(--font-display); font-size: clamp(1.25rem, 1.05rem + .8vw, 1.625rem); line-height: 1.4; color: var(--charcoal); font-weight: 500; letter-spacing: -0.01em; max-width: 32em; margin: 0; }
.statement .rule { width: 32px; height: 2px; background: var(--amber); }

.ai-line { margin-top: 24px; font-size: 16px; color: var(--body); }
.ai-line .text-link { margin-left: 4px; }

/* ---------- Data tables ---------- */
.table-wrap { border-top: 1px solid var(--charcoal); }
.data-table { width: 100%; border-collapse: collapse; font-size: 16px; }
.data-table th, .data-table td { text-align: left; vertical-align: top; padding: 18px 16px 18px 0; border-bottom: 1px solid var(--hairline); }
.data-table thead th { padding-top: 14px; padding-bottom: 14px; }
.data-table tbody th { color: var(--charcoal); font-weight: 600; }
@media (max-width: 699px) {
  .data-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .data-table tr { display: block; padding: 18px 0; border-bottom: 1px solid var(--hairline); }
  .data-table th, .data-table td { display: block; padding: 2px 0; border: 0; }
  .data-table tbody th { font-size: 17px; margin-bottom: 6px; }
  .data-table td::before { content: attr(data-label) ": "; font-weight: 600; color: var(--charcoal); font-size: 14px; }
}

/* ---------- Numbered delivery list ---------- */
.deliver-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--charcoal); }
.deliver-list li { display: grid; grid-template-columns: 48px 1fr; gap: 4px 16px; padding: 24px 0; border-bottom: 1px solid var(--hairline); }
.deliver-list .n { padding-top: 4px; }
.deliver-list p { grid-column: 2; margin: 0; font-size: 16px; }
@media (min-width: 900px) {
  .deliver-list li { grid-template-columns: 64px minmax(0, 4fr) minmax(0, 7fr); gap: 24px; padding: 28px 0; }
  .deliver-list p { grid-column: 3; }
}

/* ---------- Patient journey ---------- */
.journey { list-style: none; margin: 0; padding: 0; position: relative; display: grid; gap: 0; }
.journey li { position: relative; padding: 0 0 32px 56px; }
.journey li:last-child { padding-bottom: 0; }
.journey li::before { content: ""; position: absolute; left: 19px; top: 40px; bottom: 0; width: 1px; background: var(--muted); }
.journey li:last-child::before { display: none; }
.journey .node {
  position: absolute; left: 0; top: 0; width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--charcoal); background: var(--white); color: var(--charcoal);
  display: grid; place-items: center; font-family: var(--font-display); font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums;
}
.journey li:first-child .node { background: var(--charcoal); color: var(--white); }
.journey h3 { padding-top: 8px; margin-bottom: 6px; }
.journey p { font-size: 16px; margin: 0; }
@media (min-width: 900px) {
  .journey { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; }
  .journey li { padding: 64px 0 0; }
  .journey li::before { left: 48px; right: -24px; top: 20px; bottom: auto; width: auto; height: 1px; }
  .journey h3 { padding-top: 0; }
}

/* ---------- Bullet list ---------- */
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
@media (min-width: 700px) { .ticks { grid-template-columns: 1fr 1fr; column-gap: 40px; } }
.ticks li { position: relative; padding: 18px 0 18px 24px; border-top: 1px solid var(--hairline); color: var(--charcoal); font-weight: 600; font-size: 16px; line-height: 1.5; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 27px; width: 6px; height: 6px; border-radius: 50%; background: var(--charcoal); }

.reg-note { margin-top: 32px; font-size: 14px; color: var(--muted); }

.two-col { display: grid; gap: 32px; }
@media (min-width: 1024px) { .two-col { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 80px; } }
.two-col .col-head h2 { font-size: clamp(1.5rem, 1.2rem + 1.1vw, 2rem); }
.two-col .col-head p { margin-top: 16px; }
.two-col + .two-col { margin-top: 72px; }

.subsection-label { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-bottom: 20px; }
.subsection-label .eyebrow { margin: 0; }

.block + .block { margin-top: 72px; }
@media (min-width: 1024px) { .block + .block { margin-top: 96px; } }
.block .subhead { border-bottom: 0; padding-bottom: 0; margin-bottom: 20px; }

/* ---------- Contact band ---------- */
.contact-band { position: relative; overflow: hidden; background: var(--charcoal); color: var(--on-dark); padding: var(--section) 0; }
.contact-band .container { position: relative; }
.contact-band h2 { color: var(--white); max-width: 14em; }
.contact-band p { margin-top: 20px; max-width: 34em; font-size: 1.125rem; }
.contact-band .actions { gap: 16px 28px; }
.contact-band .tel { color: var(--white); font-family: var(--font-display); font-weight: 600; text-decoration: none; display: inline-flex; gap: 10px; align-items: center; }
.contact-band .tel:hover { text-decoration: underline; text-decoration-color: var(--amber); }
.contact-band .tel svg { width: 16px; height: 16px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--charcoal); color: var(--on-dark); font-size: 15px; }
.footer-top { display: grid; gap: 40px; padding: 64px 0 48px; border-top: 1px solid var(--line-dark); }
@media (min-width: 900px) { .footer-top { grid-template-columns: minmax(0, 4fr) repeat(3, minmax(0, 2.4fr)); gap: 48px; } }
.footer-brand img { height: 40px; width: auto; }
.footer-brand p { margin-top: 20px; max-width: 26em; color: var(--on-dark-muted); }
.site-footer h2 { color: var(--white); margin-bottom: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; text-decoration-color: var(--amber); }
.site-footer address { font-style: normal; line-height: 1.7; }
.site-footer .contact-lines { display: grid; gap: 4px; margin-top: 12px; }
.footer-legal { padding: 24px 0 40px; border-top: 1px solid var(--line-dark); font-size: 13px; line-height: 1.7; color: var(--on-dark-muted); }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; gap: 56px; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 80px; } }
.form { display: grid; gap: 24px; }
.form-intro { margin: 0; font-size: 15px; color: var(--muted); }
.form-row { display: grid; gap: 24px; }
@media (min-width: 700px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 8px; }
.field label { font-size: 15px; font-weight: 600; color: var(--charcoal); }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid var(--muted); border-radius: var(--radius);
  background: var(--white); color: var(--charcoal); font: inherit; font-size: 17px; line-height: 1.4;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field select { appearance: none; -webkit-appearance: none; padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' fill='none' stroke='%23282726' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; }
.field textarea { min-height: 160px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--charcoal); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--charcoal); outline-offset: 2px; border-color: var(--charcoal); }
.field [aria-invalid="true"] { border-color: var(--error); box-shadow: inset 0 0 0 1px var(--error); }
.error { margin: 0; font-size: 14px; color: var(--error); font-weight: 600; }
.error[hidden] { display: none; }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: 15px; line-height: 1.55; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--charcoal); }
.check label { font-weight: 400; color: var(--body); }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.form-note { margin: 0; color: var(--muted); font-size: 15px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { padding: 24px 28px; border: 1px solid var(--hairline); border-radius: var(--radius); background: var(--ground); }
.form-status + .form-status, .form + .form-status { margin-top: 24px; }
.form-status h2 { font-size: 1.375rem; margin-bottom: 8px; }
.form-status[hidden] { display: none; }

.direct { display: grid; gap: 0; align-content: start; }
.direct-block { padding: 24px 0; border-top: 1px solid var(--hairline); }
.direct-block:first-child { border-top: 1px solid var(--charcoal); }
.direct-block h2 { margin-bottom: 12px; }
.direct-block p { margin: 0 0 12px; font-size: 16px; color: var(--charcoal); }
.direct-block dl { margin: 0; display: grid; gap: 10px; }
.direct-block .line { display: grid; grid-template-columns: 88px 1fr; gap: 12px; font-size: 16px; }
.direct-block dt { color: var(--muted); }
.direct-block dd { margin: 0; color: var(--charcoal); font-weight: 600; }
.direct-block dd a { text-decoration: none; }
.direct-block dd a:hover { text-decoration: underline; text-decoration-color: var(--amber); }
.direct-block address { font-style: normal; color: var(--charcoal); font-size: 16px; line-height: 1.7; }

/* ---------- Simple pages ---------- */
.notfound { min-height: 50vh; }

.legal { max-width: 720px; }
.legal h2 { font-size: 1.375rem; letter-spacing: -0.01em; margin: 40px 0 12px; }
.legal p { margin: 0 0 16px; color: var(--body); }

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

/* ---------- Social links ---------- */
.social-link { display: inline-flex; align-items: center; gap: 10px; margin-top: 16px; min-height: 44px; font-family: var(--font-display); font-weight: 600; font-size: 14px; }
.social-icon { width: 22px; height: 22px; flex: none; color: var(--white); transition: color .15s ease; }
.site-footer .social-link:hover .social-icon { color: var(--amber); }
.social-link--light { margin-top: 0; color: var(--charcoal); text-decoration: none; }
.social-link--light .social-icon { color: #0A66C2; }
.social-link--light:hover { text-decoration: underline; text-decoration-color: var(--amber); }
