/* ByteIQ Labs — shared stylesheet (B01 Home/About foundation).
   Values are taken from Figma file 6HMUZ86Quxm1gTdnp7h800, frames 2:6702 / 2:6911 / 2:7104 / 2:7279.
   Token and node mapping: docs/FIGMA_IMPLEMENTATION.md */

/* ---------- Tokens ---------- */
:root {
  --c-navy-950: #040e22;   /* hero background */
  --c-navy-900: #06142e;   /* approach / principles / diagram */
  --c-ink: #0a1b37;        /* primary text on light */
  --c-slate: #59677c;      /* secondary text on light */
  --c-mist: #abbbd2;       /* secondary text on dark */
  --c-line: #dce3ed;       /* borders on light */
  --c-line-dark: #24334d;  /* borders on dark */
  --c-surface: #f3f6fa;    /* light grey surface */
  --c-blue: #075cff;       /* electric blue */
  --c-cyan: #00c9f3;       /* signal cyan */
  --c-violet: #6958ff;     /* gradient end */
  --c-blue-tint: #eaf1ff;  /* values seal */
  --c-cta-label: #c4e4ff;
  --c-cta-text: #dbe9ff;
  --c-white: #ffffff;

  --g-brand: linear-gradient(to bottom, var(--c-cyan) 0%, var(--c-blue) 60%, var(--c-violet) 100%);

  --f-sans: "Inter", "ByteIQ Arrow Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --f-mono: "IBM Plex Mono", "ByteIQ Arrow Mono", ui-monospace, "Cascadia Mono", Consolas, "Courier New", monospace;

  --gutter: 24px;
  --content-max: 1296px;
  --header-h: 88px;
  --radius-btn: 6px;
  --radius-card: 12px;
  --btn-h: 54px;

  --t-fast: 160ms;
  --t-med: 320ms;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

@media (min-width: 1024px) {
  :root { --gutter: 72px; --header-h: 104px; }
}

/* ---------- Fonts: self-hosted official Google Fonts v20 "latin" WOFF2 subsets (SIL OFL 1.1, licences beside
   the files). Copied byte-for-byte by tools/optimise-assets.mjs from docs/font-reference; no local() lookups, so
   rendering never depends on fonts installed on the viewing machine. Inter's latin file is variable (400-600).
   button { font: inherit } below keeps controls in Inter instead of the UA default system font. */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url("/assets/fonts/inter-latin-400-600.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("/assets/fonts/ibm-plex-mono-latin-400.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("/assets/fonts/ibm-plex-mono-latin-500.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* "→" (U+2192) is missing from Google's latin subsets; these ~1 KB OFL subsets carry the original Inter Regular /
   IBM Plex Mono Regular outlines (renamed as required by the OFL; see tools/optimise-assets.mjs). */
@font-face { font-family: "ByteIQ Arrow Sans"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("/assets/fonts/byteiq-arrow-sans-400.ttf") format("truetype");
  unicode-range: U+2192; }
@font-face { font-family: "ByteIQ Arrow Mono"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("/assets/fonts/byteiq-arrow-mono-400.ttf") format("truetype");
  unicode-range: U+2192; }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 16px; }
body { margin: 0; font-family: var(--f-sans); color: var(--c-ink); background: var(--c-white);
  font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; overflow-wrap: break-word; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--c-blue); outline-offset: 3px; border-radius: 2px; }
.on-dark :focus-visible, .cta :focus-visible { outline-color: var(--c-cyan); }
.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: 16px; top: -100px; z-index: 100; background: var(--c-blue);
  color: var(--c-white); padding: 12px 16px; border-radius: var(--radius-btn); font-weight: 600; font-size: 14px; }
.skip-link:focus { top: 16px; }
.line { display: block; }

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

/* ---------- Section label (eyebrow) ---------- */
.eyebrow { display: flex; align-items: center; gap: 10px; font-family: var(--f-mono); font-weight: 500;
  font-size: 11px; letter-spacing: 1.5px; line-height: normal; color: var(--c-slate); text-transform: uppercase; }
.eyebrow::before { content: ""; width: 20px; height: 2px; background: var(--c-blue); flex: none; }
.on-dark .eyebrow { color: var(--c-mist); }
.on-dark .eyebrow::before { background: var(--c-cyan); }

.signal { display: inline-block; width: 4px; height: 4px; background: var(--c-cyan); flex: none; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 24px; height: var(--btn-h); padding-inline: 22px;
  border-radius: var(--radius-btn); font-weight: 600; font-size: 14px; line-height: normal; white-space: nowrap;
  transition: background-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease); }
.btn img { width: 20px; height: 20px; flex: none; transition: transform var(--t-fast) var(--ease); }
.btn:hover img, .btn:focus-visible img { transform: translate(2px, -2px); }
.btn--primary { background: var(--c-blue); color: var(--c-white); }
.btn--primary:hover { background: #0050e6; }
.btn--light { background: var(--c-white); color: var(--c-blue); }
.btn--light:hover { box-shadow: 0 8px 24px rgba(4, 14, 34, .18); }
.text-action { display: inline-flex; align-items: center; gap: 12px; font-weight: 500; font-size: 14px;
  min-height: 44px; white-space: nowrap; }
.text-action img { width: 20px; height: 20px; transition: transform var(--t-fast) var(--ease); }
.text-action:hover img { transform: translateY(3px); }

/* ---------- Header / navigation (Figma 2:7681, 2:7710, 2:7733) ---------- */
.site-header { position: relative; z-index: 50; background: var(--c-white); }
.site-header__bar { position: relative; z-index: 45; background: var(--c-white); display: flex; align-items: center;
  justify-content: space-between; height: var(--header-h); }
.brand { display: block; flex: none; }
.brand img { width: 180px; height: 60px; object-fit: contain; object-position: left center; }
.menu-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px;
  padding: 0; border: 1px solid var(--c-line); border-radius: var(--radius-btn); background: var(--c-white);
  color: var(--c-ink); cursor: pointer; }
.menu-toggle img { width: 20px; height: 20px; }
.menu-toggle__close { display: none; font-size: 22px; line-height: 1; font-weight: 400; }
.menu-toggle[aria-expanded="true"] img { display: none; }
.menu-toggle[aria-expanded="true"] .menu-toggle__close { display: block; }

.site-nav__list { display: flex; flex-direction: column; }
.site-nav__link { display: inline-flex; flex-direction: column; gap: 7px; font-size: 14px; line-height: normal; color: var(--c-ink); }
.site-nav__link[aria-current="page"] { font-weight: 600; }
.site-nav__link[aria-current="page"]::after { content: ""; width: 20px; height: 2px; background: var(--c-blue); }

/* Mobile menu panel (JS enhanced). Without JS the list is shown inline beneath the bar. */
.no-js .site-nav[hidden] { display: block; }
@media (max-width: 1023.98px) {
  .no-js .site-header__bar { flex-wrap: wrap; height: auto; min-height: var(--header-h); }
  .no-js .site-nav { width: 100%; padding: 0 0 24px; }
}
.no-js .site-nav__list { gap: 16px; }
.no-js .menu-toggle { display: none; }
.js .site-nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--c-white);
  border-top: 1px solid var(--c-line); border-bottom: 1px solid var(--c-line); padding: 8px var(--gutter) 28px;
  box-shadow: 0 24px 48px rgba(4, 14, 34, .12); }
.js .site-nav[hidden] { display: none; }
.js .site-nav .site-nav__item { border-bottom: 1px solid var(--c-line); }
.js .site-nav .site-nav__link { display: flex; min-height: 56px; justify-content: center; font-size: 18px; }
.js .site-nav .site-nav__link[aria-current="page"]::after { display: none; }
.js .site-nav .site-nav__link[aria-current="page"] { color: var(--c-blue); }
.site-nav__item--cta { margin-top: 24px; border-bottom: 0 !important; }
.site-nav__item--cta .btn { width: 100%; justify-content: space-between; }
.nav-backdrop { position: fixed; inset: 0; z-index: 40; background: rgba(4, 14, 34, .45); }
.nav-backdrop[hidden] { display: none; }
body.menu-open { overflow: hidden; }

@media (min-width: 1024px) {
  .brand img { width: 240px; height: 80px; }
  .menu-toggle, .nav-backdrop { display: none !important; }
  .site-nav, .js .site-nav, .no-js .site-nav { position: static; display: block !important; padding: 0;
    border: 0; box-shadow: none; background: transparent; }
  .site-nav__list, .no-js .site-nav__list { flex-direction: row; align-items: center; gap: 32px; }
  .js .site-nav .site-nav__item { border: 0; }
  .js .site-nav .site-nav__link { display: inline-flex; min-height: 0; font-size: 14px; color: var(--c-ink); }
  .js .site-nav .site-nav__link[aria-current="page"]::after { display: block; }
  .site-nav__link { padding-block: 8px; }
  .site-nav__link:hover { color: var(--c-blue); }
  .site-nav__item--cta { margin-top: 0; }
  .site-nav__item--cta .btn { width: auto; }
}

/* ---------- Hero (Figma 2:6716 / 2:7118) ---------- */
.hero { background: var(--c-navy-950); color: var(--c-white); }
.hero--light { background: var(--c-surface); color: var(--c-ink); }
.hero__grid { display: flex; flex-direction: column; gap: 36px; padding-top: 40px; padding-bottom: 32px; }
.hero__content { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.hero__title { font-weight: 600; font-size: 43px; line-height: 1.07; letter-spacing: -1.7px; }
.hero__lead { font-size: 16px; line-height: 1.65; color: var(--c-mist); max-width: 560px; }
.hero--light .hero__lead { color: var(--c-slate); }
.hero__actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.hero__actions .text-action { display: none; }
.hero__visual { position: relative; width: 100%; height: 330px; background: var(--c-navy-950); overflow: hidden; }
.hero__visual picture { display: block; width: 100%; height: 100%; }
.hero__visual img { width: 100%; height: 100%; object-fit: cover; }
.annotation { position: absolute; left: 20px; bottom: 20px; display: flex; align-items: center; gap: 10px;
  font-family: var(--f-mono); font-size: 9px; letter-spacing: 1.3px; color: var(--c-mist); }
.annotation .signal { width: 5px; height: 5px; }

.perspective { border-top: 1px solid var(--c-line-dark); border-bottom: 1px solid var(--c-line-dark); }
.hero--light .perspective { border-color: var(--c-line); }
.perspective__inner { display: flex; flex-direction: column; gap: 18px; padding-block: 24px; }
.perspective__label { font-family: var(--f-mono); font-size: 10px; letter-spacing: 1.1px; color: var(--c-mist); }
.hero--light .perspective__label { color: var(--c-slate); }
.focus-areas { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.focus-areas li { display: flex; align-items: center; gap: 8px; font-size: 10px; white-space: nowrap; }

@media (min-width: 1024px) {
  .hero__grid { flex-direction: row; align-items: center; gap: 32px; padding-top: 64px; padding-bottom: 56px; }
  .hero__content { flex: 1 1 0; gap: 28px; }
  .hero__title { font-size: clamp(48px, 4.73vw, 68px); letter-spacing: -0.047em; }
  .hero__lead { font-size: 18px; }
  .hero__actions .text-action { display: inline-flex; }
  .hero__visual { flex: none; width: min(552px, 43%); height: auto; aspect-ratio: 552 / 580; }
  .perspective__inner { flex-direction: row; justify-content: space-between; align-items: flex-start; }
  .focus-areas { gap: 32px; justify-content: flex-start; }
  .focus-areas li { font-size: 12px; }
}

/* Hero illustration float — exact Figma motion context (nodes 2:6732 / 2:6929 / 2:7134 / 2:7297):
   6s loop, 0 -> -8px at 50% -> 0, ease-in-out per segment. Resting state (reduced motion) is translate 0. */
@media (prefers-reduced-motion: no-preference) {
  .hero__visual { animation: hero-float 6s linear infinite; }
  @keyframes hero-float {
    0% { animation-timing-function: ease-in-out; translate: 0 0; }
    50% { animation-timing-function: ease-in-out; translate: 0 -8px; }
    100% { translate: 0 0; }
  }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important; }
}

/* ---------- Generic section ---------- */
.section { padding-block: 64px; }
.section--surface { background: var(--c-surface); }
.section--dark { background: var(--c-navy-900); color: var(--c-white); }
.section__intro { display: flex; flex-direction: column; gap: 20px; }
.section__heading { display: flex; flex-direction: column; gap: 20px; }
.h2 { font-weight: 600; font-size: 34px; line-height: 1.12; letter-spacing: -1.8px; color: var(--c-ink); }
.section--dark .h2 { color: var(--c-white); font-size: 35px; }
.section__aside { font-size: 16px; line-height: 1.65; color: var(--c-slate); }
.section--dark .section__aside { color: var(--c-mist); }

@media (min-width: 1024px) {
  .section { padding-block: 96px; }
  .section--tight { padding-block: 88px; }
  .section__intro { flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 48px; }
  .h2, .section--dark .h2 { font-size: clamp(40px, 3.48vw, 50px); }
}

/* ---------- Services (Figma 2:6749 / 2:6946) ---------- */
.services { display: flex; flex-direction: column; gap: 36px; }
.service-list { border-bottom: 1px solid var(--c-line); }
.service-row { display: grid; grid-template-columns: 24px 1fr 20px; column-gap: 16px; row-gap: 18px;
  padding: 28px 0; border-top: 1px solid var(--c-line); background: var(--c-white);
  transition: background-color var(--t-med) var(--ease), padding var(--t-med) var(--ease); }
.service-row__num { font-family: var(--f-mono); font-size: 12px; color: var(--c-blue); line-height: normal; grid-row: 1; }
.service-row__title { font-weight: 500; font-size: 26px; line-height: 1.2; letter-spacing: -1px; color: var(--c-ink); }
.service-row__detail { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 18px; }
.service-row__desc { font-size: 15px; line-height: 1.65; color: var(--c-slate); }
.service-row__tags { font-family: var(--f-mono); font-size: 9px; line-height: 1.7; letter-spacing: .6px; color: var(--c-blue); white-space: pre-wrap; }
.service-row__go { width: 20px; height: 20px; align-self: start; grid-column: 3; grid-row: 1; }
.service-row__title { grid-row: 1; }
.service-row__detail { grid-row: 2; }
.service-row__go img { width: 20px; height: 20px; }
.service-row__go .icon-on { display: none; }
/* Featured (Figma static highlight on row 02) doubles as hover/focus state */
.service-row:hover, .service-row:focus-visible,
.service-list:not(:has(.service-row:hover, .service-row:focus-visible)) .service-row--featured {
  background: var(--c-surface); padding-inline: 20px; }
.engage { display: flex; align-items: center; gap: 14px; font-size: 14px; line-height: 1.5; color: var(--c-slate); }
.engage img { width: 20px; height: 20px; flex: none; }
.engage a { color: var(--c-blue); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }

@media (min-width: 1024px) {
  .services { gap: 56px; }
  .services .section__heading { width: min(680px, 60%); }
  .services .section__aside { width: 380px; flex: none; }
  .service-row { grid-template-columns: minmax(0, 480px) minmax(0, 1fr) 48px; column-gap: 32px; padding: 32px 0; align-items: start; }
  .service-row__titlewrap { display: flex; gap: 28px; }
  .service-row__num { width: 24px; flex: none; }
  .service-row__title { font-size: 32px; flex: 1 1 0; min-width: 0; }
  .service-row__titlewrap { grid-column: 1; grid-row: 1; }
  .service-row__detail { grid-column: 2; grid-row: 1; }
  .service-row__go { grid-column: 3; grid-row: 1; }
  .service-row__tags { font-size: 10px; }
  .service-row__go { width: 48px; height: 48px; margin: 0; border: 1px solid var(--c-line); border-radius: 100px;
    display: flex; align-items: center; justify-content: center; transition: background-color var(--t-med) var(--ease), border-color var(--t-med) var(--ease); }
  .service-row:hover, .service-row:focus-visible,
  .service-list:not(:has(.service-row:hover, .service-row:focus-visible)) .service-row--featured { padding-inline: 28px; }
  .service-row:hover .service-row__go, .service-row:focus-visible .service-row__go,
  .service-list:not(:has(.service-row:hover, .service-row:focus-visible)) .service-row--featured .service-row__go {
    background: var(--c-blue); border-color: var(--c-blue); }
  .service-row:hover .icon-off, .service-row:focus-visible .icon-off,
  .service-list:not(:has(.service-row:hover, .service-row:focus-visible)) .service-row--featured .icon-off { display: none; }
  .service-row:hover .icon-on, .service-row:focus-visible .icon-on,
  .service-list:not(:has(.service-row:hover, .service-row:focus-visible)) .service-row--featured .icon-on { display: block; }
}
@media (max-width: 1023.98px) {
  .service-row__titlewrap { display: contents; }
  .service-row__num { grid-column: 1; }
  .service-row__title { grid-column: 2; }
}

/* ---------- Connected advantage (Figma 2:6797 / 2:6990) ---------- */
.advantage { display: flex; flex-direction: column; gap: 36px; }
.diagram { position: relative; width: 100%; max-width: 540px; aspect-ratio: 342 / 340; background: var(--c-navy-900);
  border-radius: var(--radius-card); padding: 24px; color: var(--c-white); overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between;
  --orbit-x: 13.45%; --orbit-y: 18.82%; --orbit-w: 73.1%;
  --inner-x: 25.15%; --inner-y: 30.59%; --inner-w: 49.7%; --core-w: 37.43%; --core-text: 15px;
  --n1-x: 5.26%; --n1-y: 25.88%; --n2-x: 57.89%; --n2-y: 75.88%; --n3-x: 5.85%; --n3-y: 67.65%; }
.diagram__head { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: flex-start;
  font-family: var(--f-mono); font-size: 10px; letter-spacing: 1.1px; color: var(--c-mist); }
.diagram__head img { width: 20px; height: 20px; }
.diagram__orbit, .diagram__inner { position: absolute; aspect-ratio: 1; }
.diagram__orbit { left: var(--orbit-x); top: var(--orbit-y); width: var(--orbit-w); }
.diagram__inner { left: var(--inner-x); top: var(--inner-y); width: var(--inner-w); }
.diagram__core { position: absolute; left: 50%; top: calc(50% + 10px); transform: translate(-50%, -50%);
  width: var(--core-w); aspect-ratio: 1; border-radius: 100px; background: var(--g-brand);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  font-weight: 600; font-size: var(--core-text); white-space: nowrap; }
.diagram__core img { width: 32px; height: 32px; }
.diagram__node { position: absolute; display: flex; align-items: flex-start; gap: 8px; padding: 10px 12px;
  background: var(--c-navy-900); border: 1px solid var(--c-line-dark); border-radius: 4px;
  font-family: var(--f-mono); font-size: 9px; letter-spacing: .7px; line-height: normal; }
.diagram__node--1 { left: var(--n1-x); top: var(--n1-y); }
.diagram__node--2 { left: var(--n2-x); top: var(--n2-y); }
.diagram__node--3 { left: var(--n3-x); top: var(--n3-y); }
.diagram__foot { position: relative; z-index: 2; font-family: var(--f-mono); font-size: 9px; letter-spacing: 1px; color: var(--c-mist); }

.reasons { display: flex; flex-direction: column; gap: 28px; min-width: 0; }
.reasons__lead { font-size: 16px; line-height: 1.65; color: var(--c-slate); }
.benefits { display: flex; flex-direction: column; gap: 28px; }
.benefit { display: flex; gap: 14px; align-items: flex-start; }
.benefit img { width: 18px; height: 18px; flex: none; }
.benefit__title { font-weight: 600; font-size: 16px; line-height: normal; color: var(--c-ink); }
.benefit__text { margin-top: 7px; font-size: 14px; line-height: 1.6; color: var(--c-slate); }

@media (min-width: 1024px) {
  .advantage { flex-direction: row; align-items: center; gap: 80px; }
  .diagram { flex: none; width: min(540px, 46%); aspect-ratio: 540 / 460; padding: 36px;
    --orbit-x: 19.44%; --orbit-y: 19.13%; --orbit-w: 61.11%;
    --inner-x: 28.7%; --inner-y: 30%; --inner-w: 42.59%; --core-w: 29.63%; --core-text: 20px;
    --n1-x: 6.67%; --n1-y: 26.96%; --n2-x: 64.81%; --n2-y: 43.91%; --n3-x: 12.22%; --n3-y: 73.91%; }
  .reasons { flex: 1 1 0; }
  .reasons .h2 { font-size: clamp(40px, 3.34vw, 48px); line-height: 1.13; }
}

/* ---------- Principles (shared component 2:7918 / 2:8003) ---------- */
.principles { display: flex; flex-direction: column; gap: 36px; }
.principle-list { display: flex; flex-direction: column; gap: 32px; }
.principle { display: flex; flex-direction: column; gap: 24px; }
.principle__rule { height: 2px; background: var(--g-brand); }
.principle__marker { display: flex; justify-content: space-between; align-items: center;
  font-family: var(--f-mono); font-size: 12px; color: var(--c-mist); }
.principle__marker img { width: 28px; height: 28px; }
.principle__title { font-weight: 500; font-size: 27px; line-height: 1.2; letter-spacing: -.8px; color: var(--c-white); }
.principle__text { font-size: 15px; line-height: 1.75; color: var(--c-mist); }
.principle__motto { font-family: var(--f-mono); font-size: 9px; line-height: 1.6; letter-spacing: .7px; color: var(--c-cyan); }
.rhythm { display: flex; align-items: center; gap: 14px; padding-top: 24px; border-top: 1px solid var(--c-line-dark); }
.rhythm__label { font-family: var(--f-mono); font-size: 9px; letter-spacing: 1px; color: var(--c-mist); white-space: nowrap; }
.rhythm__steps { flex: 1; font-size: 12px; line-height: 1.6; color: var(--c-white); }
.rhythm__steps li { display: inline; }
.rhythm__steps li + li::before { content: " → "; }

@media (min-width: 1024px) {
  .principles { gap: 56px; }
  .principles .section__heading { width: min(720px, 60%); }
  .principles .section__aside { width: 370px; flex: none; }
  .principle-list { flex-direction: row; gap: 40px; }
  .principle { flex: 1 1 0; min-width: 0; }
  .principle__title { font-size: 28px; }
  .rhythm { gap: 32px; }
  .rhythm__steps { font-size: 15px; }
}

/* ---------- Closing CTA (Figma 2:6874 / 2:7242) ---------- */
.cta { position: relative; overflow: hidden; background: var(--c-blue); color: var(--c-white); padding-block: 56px; }
.cta__orbit { position: absolute; width: 640px; height: 640px; right: -220px; top: -180px; pointer-events: none; }
.cta__inner { position: relative; display: flex; flex-direction: column; gap: 32px; }
.cta__invite { display: flex; flex-direction: column; gap: 24px; }
.cta__label { font-family: var(--f-mono); font-size: 10px; letter-spacing: 1.2px; color: var(--c-cta-label); }
.cta__title { font-weight: 500; font-size: 38px; line-height: 1.1; letter-spacing: -2px; }
.cta__text { font-size: 16px; line-height: 1.7; color: var(--c-cta-text); max-width: 600px; }
.cta__action { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.cta__note { font-size: 11px; color: var(--c-cta-text); }

@media (min-width: 1024px) {
  .cta { padding-block: 72px; }
  .cta__orbit { right: -120px; }
  .cta__inner { flex-direction: row; align-items: center; justify-content: space-between; }
  .cta__invite { width: min(780px, 62%); }
  .cta__title { font-size: clamp(44px, 4.03vw, 58px); }
}

/* ---------- Footer (Figma 2:7768 / 2:7841) ---------- */
.site-footer { background: var(--c-white); padding-top: 32px; padding-bottom: 28px; }
.site-footer__inner { display: flex; flex-direction: column; gap: 32px; }
.site-footer__content { display: flex; flex-direction: column; gap: 32px; }
.site-footer__brand { display: flex; flex-direction: column; gap: 10px; }
.site-footer__brand img { width: 240px; height: 80px; object-fit: contain; object-position: left center; }
.site-footer__tagline { font-size: 18px; line-height: 1.5; color: var(--c-ink); }
.site-footer__sub { font-size: 14px; line-height: 1.6; color: var(--c-slate); }
.site-footer__links { display: flex; gap: 32px; }
.site-footer__col { flex: 1 1 0; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.site-footer__label { font-family: var(--f-mono); font-size: 11px; letter-spacing: 1px; color: var(--c-slate); line-height: normal; }
.site-footer__col ul { display: flex; flex-direction: column; gap: 16px; }
.site-footer__col a { font-size: 14px; line-height: 1.4; color: var(--c-ink); }
.site-footer a:hover { color: var(--c-blue); }
/* ≥24px pointer targets without changing the Figma rhythm */
.site-footer__col a, .legal a { display: inline-block; padding-block: 4px; margin-block: -4px; }
.legal a { padding-block: 6px; margin-block: -6px; }
.site-footer__divider { height: 1px; background: var(--c-line); border: 0; margin: 0; }
.legal { display: flex; flex-direction: column; gap: 20px; font-size: 11px; color: var(--c-slate); }
.legal ul { display: flex; gap: 24px; }

@media (min-width: 1024px) {
  .site-footer { padding-top: 48px; }
  .site-footer__inner { gap: 40px; }
  .site-footer__content { flex-direction: row; justify-content: space-between; align-items: flex-start; }
  .site-footer__brand { width: 400px; }
  .site-footer__links { width: 620px; gap: 64px; }
  .legal { flex-direction: row; justify-content: space-between; }
}

/* ---------- About: introduction & belief (Figma 2:7148 / 2:7311) ---------- */
.intro { display: flex; flex-direction: column; gap: 40px; }
.intro__grid { display: flex; flex-direction: column; gap: 24px; }
.intro .h2 { font-size: 35px; letter-spacing: -1.7px; line-height: 1.13; }
.story { display: flex; flex-direction: column; gap: 24px; }
.story__lead { font-size: 20px; line-height: 1.5; letter-spacing: -.5px; color: var(--c-ink); }
.story p:not(.story__lead) { font-size: 16px; line-height: 1.8; color: var(--c-slate); }
.belief { display: flex; flex-direction: column; gap: 20px; background: var(--c-surface); padding: 32px 24px; }
.belief > img { width: 32px; height: 32px; flex: none; }
.belief__quote { font-weight: 500; font-size: 25px; line-height: 1.3; letter-spacing: -1px; color: var(--c-ink); }
.belief__attr { font-family: var(--f-mono); font-size: 10px; line-height: 1.6; letter-spacing: 1px; color: var(--c-blue); white-space: nowrap; }

@media (min-width: 1024px) {
  .intro { gap: 64px; }
  .intro__grid { flex-direction: row; gap: 96px; align-items: flex-start; }
  .intro__grid .section__heading { width: min(490px, 40%); flex: none; }
  .intro .h2 { font-size: clamp(40px, 3.4vw, 49px); }
  .story { flex: 1 1 0; }
  .story__lead { font-size: 25px; }
  .belief { flex-direction: row; gap: 40px; padding: 32px 36px; align-items: flex-start; }
  .belief__quote { flex: 1 1 0; font-size: 34px; }
}

/* ---------- About: values (Figma 2:7199 / 2:7362) ---------- */
.values { display: flex; flex-direction: column; gap: 36px; }
.values__intro { display: flex; flex-direction: column; gap: 24px; }
.values__intro .h2 { font-size: 35px; line-height: 1.13; }
.values__intro p { font-size: 16px; line-height: 1.75; color: var(--c-slate); }
.seal { display: none; }
.value-list { border-bottom: 1px solid var(--c-line); }
.value { display: flex; gap: 16px; padding-block: 28px; border-top: 1px solid var(--c-line); }
.value__num { width: 24px; flex: none; font-family: var(--f-mono); font-size: 11px; color: var(--c-blue); }
.value__body { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.value__head { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.value__title { font-weight: 500; font-size: 28px; letter-spacing: -.7px; line-height: normal; color: var(--c-ink); }
.value__head img { width: 24px; height: 24px; flex: none; }
.value__text { font-size: 15px; line-height: 1.7; color: var(--c-slate); }
.value__note { font-size: 12px; line-height: 1.5; color: var(--c-blue); }

@media (min-width: 1024px) {
  .values { flex-direction: row; gap: 96px; align-items: flex-start; }
  .values__intro { width: 400px; flex: none; }
  .values__intro .h2 { font-size: clamp(40px, 3.4vw, 49px); }
  .value-list { flex: 1 1 0; min-width: 0; }
  .value { gap: 24px; }
  .seal { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px;
    width: 200px; height: 200px; padding: 32px; border-radius: 100px; background: var(--c-blue-tint);
    font-family: var(--f-mono); font-size: 9px; letter-spacing: 1px; color: var(--c-blue); text-align: center; }
  .seal img { width: 48px; height: 48px; }
}

/* =====================================================================================================
   B03 inner pages (services, careers, contact, legal drafts, 404). Built only from the Figma tokens and
   components above; every selector below is new, so the four approved Home/About views are unaffected.
   ===================================================================================================== */

/* ---------- Inner page hero ---------- */
.page-hero { position: relative; overflow: hidden; background: var(--c-navy-950); color: var(--c-white); }
.page-hero--light { background: var(--c-surface); color: var(--c-ink); }
.page-hero__art { position: absolute; width: 520px; height: 520px; right: -260px; top: -120px; opacity: .55; pointer-events: none; }
.page-hero__inner { position: relative; display: flex; flex-direction: column; gap: 24px; padding-top: 32px; padding-bottom: 48px; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 8px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .6px; color: var(--c-mist); }
.page-hero--light .crumbs ol { color: var(--c-slate); }
.crumbs li + li::before { content: "/"; margin-right: 8px; }
.crumbs a { display: inline-block; padding-block: 4px; margin-block: -4px; text-decoration: underline; text-underline-offset: 3px; }
.crumbs a:hover { color: var(--c-cyan); }
.page-hero__title { max-width: 900px; font-weight: 600; font-size: 40px; line-height: 1.08; letter-spacing: -1.6px; }
.page-hero__lead { max-width: 680px; font-size: 17px; line-height: 1.65; color: var(--c-mist); }
.page-hero--light .page-hero__lead { color: var(--c-slate); }
.page-hero__actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.page-hero__actions .text-action { color: var(--c-white); }
.page-hero__tags { display: flex; flex-wrap: wrap; gap: 8px 20px; padding-top: 20px; border-top: 1px solid var(--c-line-dark);
  font-family: var(--f-mono); font-size: 10px; letter-spacing: 1px; color: var(--c-mist); }
.page-hero__tags li { display: flex; align-items: center; gap: 8px; }
.page-hero--light .page-hero__tags { border-color: var(--c-line); color: var(--c-slate); }

@media (min-width: 1024px) {
  .page-hero__art { width: 720px; height: 720px; right: -160px; top: -200px; }
  .page-hero__inner { gap: 28px; padding-top: 56px; padding-bottom: 72px; }
  .page-hero__title { font-size: clamp(48px, 4.2vw, 62px); letter-spacing: -0.045em; }
  .page-hero__lead { font-size: 19px; }
}

/* ---------- Split section: heading left, content right ---------- */
.split { display: flex; flex-direction: column; gap: 28px; }
.split__body { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.split__body > p { font-size: 16px; line-height: 1.8; color: var(--c-slate); }
.split__body > p.lead { font-size: 20px; line-height: 1.5; letter-spacing: -.4px; color: var(--c-ink); }
@media (min-width: 1024px) {
  .split { flex-direction: row; gap: 96px; align-items: flex-start; }
  .split > .section__heading { width: min(440px, 38%); flex: none; }
  .split__body { flex: 1 1 0; }
  .split__body > p.lead { font-size: 23px; }
}

/* ---------- Problem list ---------- */
.problem-list { border-bottom: 1px solid var(--c-line); }
.problem-list li { display: flex; gap: 16px; padding-block: 20px; border-top: 1px solid var(--c-line);
  font-size: 16px; line-height: 1.65; color: var(--c-ink); }
.problem-list li::before { content: ""; width: 6px; height: 6px; margin-top: 10px; background: var(--c-blue); flex: none; }

/* ---------- Capability cards ---------- */
.cap-grid { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 36px; }
.cap { display: flex; flex-direction: column; gap: 12px; padding: 28px 24px; background: var(--c-white);
  border: 1px solid var(--c-line); border-radius: var(--radius-card); }
.section--surface .cap { border-color: transparent; }
.cap__num { font-family: var(--f-mono); font-size: 11px; color: var(--c-blue); }
.cap__title { font-weight: 600; font-size: 19px; line-height: 1.3; letter-spacing: -.3px; color: var(--c-ink); }
.cap__text { font-size: 15px; line-height: 1.65; color: var(--c-slate); }
@media (min-width: 768px) { .cap-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .cap-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 56px; } .cap { padding: 32px; } }

/* ---------- Delivery steps (dark) ---------- */
.steps { display: grid; grid-template-columns: 1fr; gap: 28px; margin-top: 36px; }
.step { display: flex; flex-direction: column; gap: 14px; }
.step__rule { height: 2px; background: var(--g-brand); }
.step__num { font-family: var(--f-mono); font-size: 12px; color: var(--c-cyan); }
.step__title { font-weight: 500; font-size: 22px; line-height: 1.25; letter-spacing: -.5px; color: var(--c-white); }
.step__text { font-size: 15px; line-height: 1.7; color: var(--c-mist); }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px; margin-top: 56px; } }

/* ---------- Illustrative applications ---------- */
.apps { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 36px; }
.app { display: flex; flex-direction: column; gap: 12px; padding: 28px 24px; background: var(--c-surface); border-left: 2px solid var(--c-blue); }
.app__label { font-family: var(--f-mono); font-size: 10px; letter-spacing: 1px; color: var(--c-blue); }
.app__title { font-weight: 600; font-size: 18px; line-height: 1.35; color: var(--c-ink); }
.app__text { font-size: 15px; line-height: 1.65; color: var(--c-slate); }
.note { font-size: 13px; line-height: 1.6; color: var(--c-slate); }
@media (min-width: 1024px) { .apps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 56px; } }

/* ---------- Service categories (overview) ---------- */
.category__lead { margin-bottom: 48px; }
.section--surface .service-row { background: transparent; }
.section--surface .service-row:hover, .section--surface .service-row:focus-visible { background: var(--c-white); }
.category + .category { margin-top: 64px; }
.category__head { display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; }
.category__num { font-family: var(--f-mono); font-size: 11px; letter-spacing: 1px; color: var(--c-blue); }
.category__intro { max-width: 720px; font-size: 16px; line-height: 1.7; color: var(--c-slate); }
.category__title { font-weight: 600; font-size: 28px; line-height: 1.15; letter-spacing: -1px; color: var(--c-ink); }
@media (min-width: 1024px) {
  .category + .category { margin-top: 88px; }
  .category__head { flex-direction: row; justify-content: space-between; align-items: flex-end; gap: 48px; margin-bottom: 32px; }
  .category__title { font-size: 36px; }
  .category__intro { width: 520px; flex: none; }
}

/* ---------- Status notices (contact / legal drafts / careers) ---------- */
.notice { display: flex; gap: 14px; align-items: flex-start; padding: 20px 22px; border: 1px solid var(--c-line);
  border-left: 3px solid var(--c-blue); background: var(--c-blue-tint); border-radius: 4px; font-size: 15px; line-height: 1.6; color: var(--c-ink); }
.notice__title { display: block; font-weight: 600; margin-bottom: 4px; }
.notice a, .prose a, .inline-link { color: var(--c-blue); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.notice--draft { border-left-color: var(--c-violet); }
.on-dark .inline-link { color: var(--c-cyan); }

/* ---------- Contact ---------- */
.contact { display: flex; flex-direction: column; gap: 40px; }
.contact__aside { display: flex; flex-direction: column; gap: 24px; }
.contact__method { display: flex; flex-direction: column; gap: 6px; padding-top: 20px; border-top: 1px solid var(--c-line); }
.contact__label { font-family: var(--f-mono); font-size: 10px; letter-spacing: 1px; color: var(--c-slate); }
.contact__value { font-size: 18px; font-weight: 500; color: var(--c-ink); }
.contact__value a { color: var(--c-blue); text-decoration: underline; text-underline-offset: 3px; display: inline-block; padding-block: 4px; }
.contact__main { display: flex; flex-direction: column; gap: 28px; min-width: 0; } /* same notice-to-form gap at every width */
.form { display: flex; flex-direction: column; gap: 22px; }
.form__row { display: grid; grid-template-columns: 1fr; gap: 22px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field label { font-weight: 500; font-size: 14px; color: var(--c-ink); }
.field__opt { font-weight: 400; color: var(--c-slate); }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid #b8c4d6;
  border-radius: var(--radius-btn); background: var(--c-white); color: var(--c-ink); font: inherit; font-size: 16px; }
.field textarea { min-height: 160px; resize: vertical; line-height: 1.6; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--c-blue); outline-offset: 1px; border-color: var(--c-blue); }
.field__hint { font-size: 13px; color: var(--c-slate); }
.form__actions { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.btn[disabled] { background: #8fa3c2; color: var(--c-white); cursor: not-allowed; }
.btn[disabled] img { transform: none !important; }
@media (min-width: 768px) { .form__row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) {
  .contact { flex-direction: row; gap: 96px; align-items: flex-start; }
  .contact__aside { width: 380px; flex: none; }
  .contact__main { flex: 1 1 0; }
}

/* ---------- Legal draft prose ---------- */
.prose { max-width: 760px; display: flex; flex-direction: column; gap: 18px; }
.prose h2 { margin-top: 20px; font-weight: 600; font-size: 24px; line-height: 1.25; letter-spacing: -.5px; color: var(--c-ink); }
.prose p, .prose li { font-size: 16px; line-height: 1.8; color: var(--c-slate); }
.prose ul { display: flex; flex-direction: column; gap: 8px; padding-left: 20px; list-style: square; }

/* ---------- Simple link list (careers / 404 recovery) ---------- */
.link-grid { display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 32px; }
.link-card { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 64px; padding: 18px 20px;
  border: 1px solid var(--c-line); border-radius: var(--radius-card); background: var(--c-white); font-weight: 500; color: var(--c-ink);
  transition: border-color var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease); }
.link-card:hover, .link-card:focus-visible { border-color: var(--c-blue); background: var(--c-surface); }
.link-card img { width: 20px; height: 20px; flex: none; }
@media (min-width: 768px) { .link-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .link-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* =====================================================================================================
   B05 Insights (index + articles). Appended only: built from the Figma tokens/components above, so the
   approved Home/About views and the B03 pages are unaffected.
   ===================================================================================================== */

/* ---------- Article hero byline ---------- */
.byline { display: flex; flex-wrap: wrap; gap: 8px 20px; padding-top: 20px; border-top: 1px solid var(--c-line-dark);
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .8px; color: var(--c-mist); }
.byline li { display: flex; align-items: center; gap: 8px; }
.page-hero__title--article { max-width: 980px; }

/* ---------- Article layout: contents rail + readable prose column ---------- */
.article-layout { display: flex; flex-direction: column; gap: 40px; padding-block: 48px 64px; }
.toc { padding: 20px 22px; border: 1px solid var(--c-line); border-radius: var(--radius-card); background: var(--c-surface); }
.toc__label { font-family: var(--f-mono); font-size: 11px; letter-spacing: 1.2px; color: var(--c-slate); margin-bottom: 12px; }
.toc ol { display: flex; flex-direction: column; gap: 2px; counter-reset: toc; }
.toc li { counter-increment: toc; }
.toc a { display: flex; gap: 10px; padding-block: 6px; font-size: 14px; line-height: 1.45; color: var(--c-ink); }
.toc a::before { content: counter(toc, decimal-leading-zero); font-family: var(--f-mono); font-size: 11px; line-height: 1.9; color: var(--c-blue); flex: none; }
.toc a:hover { color: var(--c-blue); }
@media (min-width: 1024px) {
  .article-layout { flex-direction: row; align-items: flex-start; gap: 80px; padding-block: 72px 96px; }
  .toc { position: sticky; top: 24px; width: 280px; flex: none; padding: 0; border: 0; background: none; }
  .toc ol { border-left: 1px solid var(--c-line); }
  .toc a { padding: 7px 0 7px 16px; margin-left: -1px; border-left: 2px solid transparent; }
  .toc a:hover { border-left-color: var(--c-blue); }
}

.article-body { flex: 1 1 0; min-width: 0; max-width: 760px; }
.article-body > * + * { margin-top: 22px; }
.article-body h2 { margin-top: 64px; font-weight: 600; font-size: 28px; line-height: 1.2; letter-spacing: -.9px; color: var(--c-ink); scroll-margin-top: 16px; }
.article-body h3 { margin-top: 36px; font-weight: 600; font-size: 20px; line-height: 1.3; letter-spacing: -.3px; color: var(--c-ink); }
.article-body h2 + *, .article-body h3 + * { margin-top: 14px; }
.article-body p, .article-body li { font-size: 17px; line-height: 1.75; color: #2a3a55; }
.article-body ul:not([class]) { display: flex; flex-direction: column; gap: 10px; padding-left: 22px; list-style: square; }
.article-body ul:not([class]) li::marker { color: var(--c-blue); }
.article-body a { color: var(--c-blue); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.article-body a:hover { text-decoration-thickness: 2px; }
.article-body strong { font-weight: 600; color: var(--c-ink); }
@media (min-width: 1024px) {
  .article-body h2 { font-size: 34px; letter-spacing: -1.2px; }
  .article-body p, .article-body li { font-size: 18px; }
}

/* Short answer, labelled analysis and illustrative scenario panels */
.answer, .scenario, .callout { padding: 24px; border-radius: 4px; }
.answer { background: var(--c-blue-tint); border-left: 3px solid var(--c-blue); }
.answer__label, .scenario__label, .callout__label { display: block; margin-bottom: 10px; font-family: var(--f-mono);
  font-size: 11px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--c-blue); }
.answer p { color: var(--c-ink); }
.answer p + p, .scenario p + p, .scenario p + ol, .scenario ol + p, .callout p + p, .callout p + ul { margin-top: 12px; }
.scenario { background: var(--c-surface); border: 1px dashed #9fb0c8; }
.scenario__label { color: #4b3fd1; }
.scenario ol { display: flex; flex-direction: column; gap: 10px; counter-reset: sc; }
.scenario ol li { counter-increment: sc; display: flex; gap: 12px; }
.scenario ol li::before { content: counter(sc); flex: none; width: 26px; height: 26px; margin-top: 2px; border-radius: 100px;
  background: var(--c-white); border: 1px solid var(--c-line); font-family: var(--f-mono); font-size: 12px; line-height: 24px; text-align: center; color: #4b3fd1; }
.callout { border: 1px solid var(--c-line); background: var(--c-white); }

/* ---------- Decision aids: accessible tables (scroll inside their own labelled region on narrow screens) ---------- */
.aid { margin-top: 32px; }
.article-body .aid__note { margin-top: 12px; font-size: 14px; line-height: 1.6; color: var(--c-slate); }
.table-wrap { max-width: 100%; overflow-x: auto; border: 1px solid var(--c-line); border-radius: var(--radius-card); background: var(--c-white); }
.table-wrap:focus-visible { outline-offset: 2px; }
.aid table { width: 100%; min-width: 640px; border-collapse: collapse; }
.aid caption { caption-side: top; padding: 16px 18px; text-align: left; font-weight: 600; font-size: 16px; line-height: 1.4; color: var(--c-ink);
  border-bottom: 1px solid var(--c-line); }
.aid th, .aid td { padding: 14px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--c-line);
  font-size: 15px; line-height: 1.55; color: #2a3a55; }
.aid thead th { background: var(--c-surface); font-family: var(--f-mono); font-weight: 500; font-size: 11px; letter-spacing: .8px;
  text-transform: uppercase; color: var(--c-slate); }
.aid tbody th { font-weight: 600; color: var(--c-ink); background: var(--c-white); }
.aid tbody tr:last-child th, .aid tbody tr:last-child td { border-bottom: 0; }
.aid td + td, .aid th + td, .aid th + th { border-left: 1px solid var(--c-line); }
.article-body .aid__hint { margin-top: 8px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .6px; color: var(--c-slate); }
@media (max-width: 767.98px) {
  /* Row headers stay visible while the reader scrolls the comparison sideways. */
  .aid tbody th { position: sticky; left: 0; z-index: 1; min-width: 132px; box-shadow: 1px 0 0 var(--c-line); }
}
@media (min-width: 768px) { .article-body .aid__hint { display: none; } }

/* ---------- Process flow (before / after) ---------- */
.flows { display: grid; gap: 20px; }
.flow { padding: 22px; border: 1px solid var(--c-line); border-radius: var(--radius-card); }
.flow--after { border-color: var(--c-blue); background: var(--c-blue-tint); }
.article-body .flow__title { margin-bottom: 14px; font-family: var(--f-mono); font-size: 11px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--c-slate); }
.article-body .flow--after .flow__title { color: var(--c-blue); }
.flow ol { display: flex; flex-direction: column; gap: 14px; }
.article-body .flow li { position: relative; padding: 10px 14px; border-radius: 6px; background: var(--c-white); border: 1px solid var(--c-line);
  font-size: 15px; line-height: 1.5; color: var(--c-ink); }
.flow li + li::before { content: ""; position: absolute; left: 24px; top: -15px; width: 2px; height: 14px; background: var(--c-line); }
.article-body .flow li.flow__gate { border-color: var(--c-blue); border-left-width: 3px; }
@media (min-width: 768px) { .flows { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Next steps, sources, about this guide ---------- */
.next-steps { display: flex; flex-direction: column; counter-reset: ns; border-top: 1px solid var(--c-line); }
.next-steps > li { counter-increment: ns; display: grid; grid-template-columns: 36px minmax(0, 1fr); column-gap: 12px; padding-block: 18px; border-bottom: 1px solid var(--c-line); }
.next-steps > li::before { content: counter(ns, decimal-leading-zero); grid-row: span 2; font-family: var(--f-mono); font-size: 12px; line-height: 2.6; color: var(--c-blue); }
.article-body .next-steps__owner { display: block; margin-top: 6px; font-family: var(--f-mono); font-size: 11px; line-height: 1.6; letter-spacing: .8px; text-transform: uppercase; color: var(--c-slate); }
.sources { display: flex; flex-direction: column; gap: 14px; padding-left: 26px; list-style: decimal; }
.article-body .sources li { font-size: 15px; line-height: 1.65; color: var(--c-slate); }
.sources li::marker { font-family: var(--f-mono); font-size: 13px; color: var(--c-blue); }
.about-guide { padding-top: 24px; border-top: 1px solid var(--c-line); }
.article-body .about-guide p { font-size: 15px; line-height: 1.7; color: var(--c-slate); }

/* ---------- Related guides / services ---------- */
.related-grid { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 32px; }
.related-card { display: flex; flex-direction: column; gap: 10px; height: 100%; padding: 24px; border: 1px solid var(--c-line); border-radius: var(--radius-card);
  background: var(--c-white); transition: border-color var(--t-fast) var(--ease); }
.related-card:hover, .related-card:focus-visible { border-color: var(--c-blue); }
.related-card__kind { font-family: var(--f-mono); font-size: 10px; letter-spacing: 1px; text-transform: uppercase; color: var(--c-blue); }
.related-card__title { font-weight: 600; font-size: 18px; line-height: 1.35; letter-spacing: -.2px; color: var(--c-ink); }
.related-card__text { font-size: 14px; line-height: 1.6; color: var(--c-slate); }
@media (min-width: 768px) { .related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .related-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } }

/* ---------- Insights index ---------- */
.guide-list { display: flex; flex-direction: column; border-bottom: 1px solid var(--c-line); margin-top: 40px; counter-reset: guide; }
.guide { counter-increment: guide; position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; padding-block: 32px; border-top: 1px solid var(--c-line); }
.guide__meta { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; font-family: var(--f-mono); font-size: 11px; letter-spacing: 1px; text-transform: uppercase; color: var(--c-slate); }
.guide__meta::before { content: counter(guide, decimal-leading-zero); color: var(--c-blue); }
.guide__title { font-weight: 600; font-size: 24px; line-height: 1.2; letter-spacing: -.8px; color: var(--c-ink); }
.guide__title a::after { content: ""; position: absolute; inset: 0; }
.guide__title a:hover { color: var(--c-blue); }
.guide__title a:focus-visible { outline: none; }
.guide:focus-within { outline: 2px solid var(--c-blue); outline-offset: 4px; }
.guide__summary { font-size: 16px; line-height: 1.7; color: var(--c-slate); max-width: 720px; }
.guide__aid { display: flex; gap: 10px; align-items: center; font-size: 13px; line-height: 1.5; color: var(--c-ink); }
.guide__aid .signal { background: var(--c-blue); }
@media (min-width: 1024px) {
  .guide { grid-template-columns: 280px minmax(0, 1fr); column-gap: 64px; padding-block: 40px; transition: background-color var(--t-med) var(--ease), padding var(--t-med) var(--ease); }
  .guide:hover, .guide:focus-within { background: var(--c-surface); padding-inline: 28px; }
  .guide__meta { grid-row: 1 / span 3; align-self: start; padding-top: 10px; flex-direction: column; align-items: flex-start; }
  .guide__title { font-size: 32px; letter-spacing: -1.2px; }
}
.related-back { margin-top: 28px; }
.related-back .text-action { color: var(--c-ink); }

/* ---------- B06 live enquiry form states (appended; earlier rules untouched). Colour is never the only signal: titles and text carry the meaning. ---------- */
.notice--error { border-left-color: #b3261e; background: #fdf1f0; }
.notice--ok { border-left-color: #1b6e3c; background: #eef8f1; }
.notice__list { margin: 6px 0 0; padding-left: 18px; }
.notice__list a { text-decoration: underline; }
#form-status:focus { outline: none; }
.field__error { font-size: 14px; font-weight: 500; color: #b3261e; }
.field [aria-invalid="true"] { border-color: #b3261e; border-width: 2px; }
