/* complyr.com shared components. Builds on datum.css; the site-wide November 2026 redesign is logged in STATUS.md.
   Owned by the orchestrator: page agents never edit this file; they ask for a change in their report.
   Desktop values follow the Paper wireframes (1440 artboard, 120 side padding, 1200 content, text 560, picture 568,
   128 between sections). Narrower widths follow v2: the dt-wrap fluid padding, and rows stack text first, then picture.
   Shared page styling and footer content follow the latest approved marketing brief. See docs/build/STATUS.md. */

:root {
  --section-y-fluid: 64px;
  --h1-fluid: 40px;
  --h2-fluid: 38px;
  --h3-fluid: 30px;
  --col-text: 560px;
  --col-pic: 568px;
}

/* ---------- Browser surfaces ---------- */
html { scroll-padding-top: 24px; }
::selection { background: var(--field); color: var(--white); }
a { text-underline-offset: 4px; }
main:focus { outline: none; }
.skip { position: absolute; left: 16px; top: -64px; z-index: 50; padding: 12px 16px; background: var(--white); color: var(--field); font-weight: 500; border: 1px solid var(--field); border-radius: 4px; }
.skip:focus { top: 16px; }
.dt-btn:hover { text-decoration: underline; text-underline-offset: 4px; }
.dt-link:hover { text-decoration-thickness: 2px; }

/* Fluid type for the site's own headings. Equal to the datum tokens at 1440 (72/76, 52/56, 32/36). */
.hero__h1, .lr__h1, .page-h1 { font-size: var(--h1-fluid); line-height: 1.0556; text-wrap: balance; }
.row__h2, .close__h2, .page-h2 { font-size: var(--h2-fluid); line-height: 1.077; text-wrap: balance; }
.faq__h3, .page-h3 { font-size: var(--h3-fluid); line-height: 1.125; text-wrap: balance; }

/* ---------- Number label (hero and long read) ---------- */
.label { display: flex; align-items: center; gap: 12px; font-size: 16px; line-height: 24px; }
.label__n { color: var(--field); font-weight: 700; }
.label__t { color: var(--onyx); font-weight: 500; }

/* ---------- Header (T0 2-0): static, never fixed ---------- */
.site-head { position: relative; z-index: 20; height: 88px; padding-top: 24px; background: var(--white); }
.site-head__in { height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.site-head__logo { flex: none; display: block; }
.site-head__logo img { width: 140px; height: 28px; }
.site-nav__list { display: flex; align-items: center; gap: 40px; }
.site-nav__item { position: relative; }
.site-nav__link { display: flex; flex-direction: column; align-items: center; gap: 4px; padding-top: 6px; font-size: 16px; line-height: 24px; color: var(--onyx); text-decoration: none; white-space: nowrap; }
.site-nav__link::after { content: ""; width: 100%; height: 2px; background: transparent; }
.site-nav__link.is-active { font-weight: 500; }
.site-nav__link.is-active::after { background: var(--field); }
.site-nav__link:hover { text-decoration: underline; text-underline-offset: 4px; }
.site-head__cta { flex: none; }
@media (max-width: 1100px) { .site-nav__list { gap: 24px; } }

/* Hover menus for 2 and 3 (no wireframe; content from Brooke's header doc): a panel the width of the content column,
   under the bar. Opens on hover and on keyboard focus; Escape, moving away or a click outside closes it (site.js). */
.site-head__in { position: relative; }
.site-nav { align-self: stretch; display: flex; }
.site-nav__list { align-items: stretch; }
.site-nav__item { position: static; display: flex; align-items: center; gap: 4px; }
.site-nav__toggle { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 44px; padding: 0; border: 0; border-radius: 4px; background: transparent; color: var(--field); cursor: pointer; }
.site-nav__toggle[hidden] { display: none; }
.site-nav__toggle:focus-visible { outline: 2px solid #2B7CD0; outline-offset: 2px; }
.site-nav__toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.site-menu { position: absolute; left: 0; right: 0; top: 100%; display: none; padding: 24px 40px; background: var(--white); border: 1px solid var(--hairline); border-radius: 8px; box-shadow: var(--shadow); }
/* Full-height triggers meet the panel at the header edge, with no dead hover gap. */
.site-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -2px; height: 2px; }
.site-menu__overview, .site-mobile__overview { display: block; padding-bottom: 16px; margin-bottom: 20px; border-bottom: 1px solid var(--hairline); font-size: 16px; font-weight: 700; }
.site-menu__groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.site-menu__head, .site-mobile__head-sub { font-size: 14px; line-height: 20px; font-weight: 500; color: var(--onyx); }
.site-menu__group ul { display: flex; flex-direction: column; gap: 4px; margin-top: 12px; }
.site-menu__link { display: flex; flex-direction: column; padding: 8px 0; color: var(--onyx); text-decoration: none; }
.site-menu__name { font-size: 16px; line-height: 24px; font-weight: 500; }
.site-menu__line { font-size: 14px; line-height: 20px; }
.site-menu__link:hover .site-menu__name, .site-menu__link[aria-current="page"] .site-menu__name { text-decoration: underline; text-decoration-color: var(--field); text-underline-offset: 4px; }
.site-menu__foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--hairline); font-size: 16px; line-height: 24px; }
@media (hover: hover) { .site-nav__item.has-menu:hover > .site-menu { display: block; } }
.site-nav__item.has-menu:focus-within:not(.is-closed) > .site-menu { display: block; }
.site-nav__item.has-menu.is-open > .site-menu { display: block; }
.site-nav__item.has-menu.is-closed > .site-menu { display: none; }

/* Phone and tablet menu (no wireframe; Brooke's H.5): Menu opens a panel; 2 and 3 are accordions, 4 and 5 plain links. */
.site-mobile { display: none; }
.site-mobile__toggle { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 14px 0 12px; border: 1px solid var(--hairline); border-radius: 4px; font-size: 16px; line-height: 24px; font-weight: 500; color: var(--onyx); cursor: pointer; list-style: none; }
.site-mobile__toggle::-webkit-details-marker, .site-mobile__acc > summary::-webkit-details-marker { display: none; }
.site-mobile__icon { width: 20px; height: 20px; fill: none; stroke: var(--field); stroke-width: 1.6; stroke-linecap: round; }
.site-mobile__panel { position: absolute; left: 0; right: 0; top: 100%; z-index: 30; max-height: calc(100dvh - 88px); overflow-y: auto; padding: 8px var(--pad-x) 32px; background: var(--white); border-bottom: 1px solid var(--hairline); box-shadow: var(--shadow); }
.site-mobile__item { padding: 4px 0; border-bottom: 1px solid var(--hairline); }
.site-mobile__head { display: flex; align-items: center; justify-content: space-between; min-height: 56px; font-size: 20px; line-height: 30px; font-weight: 500; color: var(--onyx); text-decoration: none; cursor: pointer; list-style: none; }
.site-mobile__head.is-active { text-decoration: underline; text-decoration-color: var(--field); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.site-mobile__acc > summary::after { content: ""; width: 10px; height: 10px; margin-right: 4px; border-right: 1.6px solid var(--field); border-bottom: 1.6px solid var(--field); transform: translateY(-3px) rotate(45deg); }
.site-mobile__acc[open] > summary::after { transform: translateY(2px) rotate(225deg); }
.site-mobile__body { padding: 0 0 16px; }
.site-mobile__groups { display: flex; flex-direction: column; gap: 16px; }
.site-mobile__head + ul, .site-mobile__group ul { margin-top: 4px; }
.site-mobile__group > p { font-size: 14px; line-height: 20px; font-weight: 500; }
.site-mobile__link { display: flex; flex-direction: column; padding: 8px 0; color: var(--onyx); text-decoration: none; }
.site-mobile__name { font-size: 16px; line-height: 24px; font-weight: 500; }
.site-mobile__line { font-size: 14px; line-height: 20px; }
.site-mobile__link[aria-current="page"] .site-mobile__name { text-decoration: underline; text-decoration-color: var(--field); }
.site-mobile__foot { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; font-size: 16px; line-height: 24px; }
.site-mobile__cta { display: flex; width: 100%; margin-top: 24px; }
.site-mobile__li { display: inline-block; margin-top: 16px; }
@media (max-width: 959px) {
  .site-nav, .site-head__cta { display: none; }
  .site-mobile { display: block; }
}

/* ---------- Hero (T2, T3): 96 under the nav, 128 below; label, 16, H1 (1000 wide); 48; lead + button (560) | picture (568) ---------- */
.hero { padding: 96px 0 var(--section-y-fluid); }
.hero__head { display: flex; flex-direction: column; gap: 16px; max-width: 1000px; }
.hero__cols { display: grid; grid-template-columns: minmax(0, var(--col-text)) minmax(0, var(--col-pic)); justify-content: space-between; column-gap: 48px; align-items: start; padding-top: 48px; }
.hero__cols--text { grid-template-columns: minmax(0, var(--col-text)); }
.hero__text { display: flex; flex-direction: column; gap: 40px; min-width: 0; }
.hero__act { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.hero__micro { font-size: 16px; line-height: 24px; }
.hero__pic { min-width: 0; }

/* ---------- Rows: H2 (480 wide) and one paragraph beside one picture; 128 between rows ---------- */
.rows { padding-bottom: var(--section-y-fluid); }
.rows__in { display: flex; flex-direction: column; gap: var(--section-y-fluid); }
.row { display: grid; justify-content: space-between; column-gap: 48px; align-items: center; }
.row--pic-left { grid-template-columns: minmax(0, var(--col-pic)) minmax(0, var(--col-text)); }
.row--pic-left .row__pic { order: -1; }
.row--pic-right { grid-template-columns: minmax(0, var(--col-text)) minmax(0, var(--col-pic)); }
.row--text-only { grid-template-columns: minmax(0, 1fr); }
.row__text { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.row__h2 { max-width: 480px; }
.row__body { max-width: var(--col-text); }
.row__pic { min-width: 0; }

/* ---------- Pictures: 568 x 526, caption 8 below ---------- */
.pic { display: flex; flex-direction: column; gap: 8px; width: 100%; max-width: var(--col-pic); }
.pic__img { width: 100%; height: auto; }
.pic__stage { position: relative; width: 100%; aspect-ratio: 568 / 526; }
.pic__stage.is-flow { aspect-ratio: auto; }   /* a library scene that restacks to keep its words legible sets its own height */
.pic__stage > .dt-stage { min-height: 0; overflow: visible; display: block; }   /* a picture scene is picture-sized, not a 100vh chapter stage */
.pic__stage .dt-replay-row { position: absolute; right: 0; top: 100%; padding: 8px 0 0; width: auto; max-width: none; margin: 0; }
.pic--scene .pic__cap { padding-right: 112px; }   /* room for Play / Replay beside the caption */
.dt-reduced .pic--scene .pic__cap { padding-right: 0; }
.pic__stage > .dt-stage > .dt-building, .pic__stage .pic__mount { width: 100%; height: 100%; }
.pic__fallback { position: absolute; inset: 0; }
/* With scripts, the scene draws its own first frame: the end-state fallback stays hidden, so a hero never shows its end
   and then jumps back to its start. With no JavaScript the fallback shows (the html element gets "js" from an inline line). */
.js .pic__fallback { visibility: hidden; }
.pic__todo { display: flex; align-items: center; justify-content: center; aspect-ratio: 568 / 526; padding: 48px; border: 1px solid var(--hairline); border-radius: 8px; text-align: center; }
.pic__todo .ph__title { justify-content: center; }

/* ---------- Placeholder: a hairline box with a yellow marker, for what waits on someone ---------- */
.ph { display: flex; flex-direction: column; gap: 16px; padding: 24px; border: 1px solid var(--hairline); border-radius: 8px; max-width: var(--col-text); }
.ph--bare { padding: 0; border: 0; gap: 8px; }
.ph__title { display: flex; align-items: center; gap: 12px; font-size: 16px; line-height: 24px; font-weight: 500; }
.ph__mark { flex: none; width: 12px; height: 12px; background: var(--yellow); }
.ph__note { max-width: 400px; }

/* ---------- Questions: H3 (360) | closed accordion (760) ---------- */
.faq { padding-bottom: var(--section-y-fluid); }
.faq__in { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 760px); justify-content: space-between; column-gap: 48px; align-items: start; }
.faq__list { border-top: 1px solid var(--hairline); }
.faq__item { border-bottom: 1px solid var(--hairline); }
.faq__q { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 0; font-size: 20px; line-height: 30px; font-weight: 500; cursor: pointer; list-style: none; }
.faq__q::-webkit-details-marker { display: none; }
.faq__q:hover > span { text-decoration: underline; text-underline-offset: 4px; }
.faq__icon { flex: none; width: 20px; height: 20px; fill: none; stroke: var(--field); stroke-width: 1.5; stroke-linecap: round; }
.faq__v { transform-origin: 50% 50%; transition: transform 0.2s var(--ease); }
.faq__item[open] .faq__v { transform: scaleY(0); }
.faq__a { max-width: 640px; padding: 0 0 24px; font-size: 16px; line-height: 24px; }
.faq__a > * + * { margin-top: 12px; }
.faq__a ul { list-style: disc; padding-left: 20px; }
.faq__a ol { list-style: decimal; padding-left: 20px; }
.faq__a a { color: var(--field); font-weight: 500; }

/* ---------- Close: the page's one Field Blue band ---------- */
.close { padding: var(--section-y-fluid) 0; background: var(--field); color: var(--white); }
.close__in { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px 48px; }
.close__text { display: flex; flex-direction: column; gap: 24px; max-width: 760px; }
.close__h2 { color: var(--white); }
.close__line { color: var(--white); max-width: var(--col-text); }
.close a:not(.dt-btn) { color: var(--white); }
.close__act { flex: none; }
.close :focus-visible, .ch6-band :focus-visible { outline-color: var(--white); }

/* ---------- Long read (T5): head, then aside 320 | article 700 ---------- */
.lr__head { padding: 96px 0 64px; }
.lr__head-in { display: flex; flex-direction: column; gap: 24px; }
.lr__h1 { max-width: 1000px; }
.lr__lead { max-width: var(--col-text); }
.lr__sum { width: 100%; max-width: var(--col-text); border-top: 1px solid var(--hairline); }
.lr__sum-row { display: flex; gap: 24px; padding: 12px 0; border-bottom: 1px solid var(--hairline); font-size: 16px; line-height: 24px; }
.lr__sum-row dt { flex: none; width: 160px; font-weight: 500; }
.lr__sum-row dd { margin: 0; min-width: 0; }
.lr__sum-row a { color: var(--field); font-weight: 500; }
.lr__cols { display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 700px); justify-content: space-between; column-gap: 48px; align-items: start; padding-bottom: var(--section-y-fluid); }
.lr__cols--top { padding-top: 96px; }
.lr__aside { position: sticky; top: 24px; min-width: 0; }
.lr__body { min-width: 0; font-size: 16px; line-height: 24px; }
.lr__body > * + * { margin-top: 16px; }
.lr__body h2, .lr__body h3, .lr__body h4 { color: var(--onyx); text-wrap: balance; }
.lr__body h2 { font-size: var(--h3-fluid); line-height: 1.125; font-weight: 700; margin-top: 56px; }
.lr__body h3 { font-size: 20px; line-height: 30px; font-weight: 700; margin-top: 32px; }
.lr__body h4 { font-size: 16px; line-height: 24px; font-weight: 700; margin-top: 24px; }
.lr__body > :first-child { margin-top: 0; }
.lr__body ul { list-style: disc; padding-left: 24px; }
.lr__body ol { list-style: decimal; padding-left: 24px; }
.lr__body li + li { margin-top: 8px; }
.lr__body a { color: var(--field); font-weight: 500; text-decoration: underline; overflow-wrap: anywhere; }
.lr__body table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 20px; }
.lr__body th, .lr__body td { padding: 8px 12px 8px 0; border-bottom: 1px solid var(--hairline); text-align: left; vertical-align: top; }
.lr__body th { font-weight: 500; }
.lr__body strong, .lr__body b { font-weight: 700; }
.lr__table-wrap { overflow-x: auto; }

/* "On this page" (as drawn: a 2px rule, Field Blue on the first item, hairline on the rest) and the back link. */
.toc { display: flex; flex-direction: column; gap: 16px; }
.toc__h { font-size: 16px; line-height: 24px; font-weight: 500; }
.toc__link { display: block; padding: 8px 0 8px 16px; border-left: 2px solid var(--hairline); font-size: 16px; line-height: 24px; color: var(--onyx); text-decoration: none; }
.toc__link.is-current { border-left-color: var(--field); font-weight: 500; }
.toc__link:hover { text-decoration: underline; }
.back { display: inline-flex; align-items: center; gap: 8px; }

/* ---------- Footer (T0 K-0): 96 top, logo and line | button; five 216 columns; talk to us; base ---------- */
.site-foot { padding: 96px 0 64px; background: #1B1B1C; color: #F1F1F1; }
.site-foot__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.site-foot__brand { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; }
.site-foot__brand img { width: 140px; height: 28px; }
.site-foot__tag { font-size: 20px; line-height: 30px; font-weight: 500; }
.site-foot__cols { display: grid; grid-template-columns: repeat(5, minmax(0, 216px)); justify-content: space-between; gap: 40px 24px; padding-top: 64px; }
.site-foot__head { font-size: 16px; line-height: 24px; font-weight: 500; }
.site-foot__col ul { display: flex; flex-direction: column; gap: 12px; margin-top: 12px; }
.site-foot__col a { font-size: 16px; line-height: 24px; color: #F1F1F1; text-decoration: none; }
.site-foot__col a:hover, .site-foot__col a[aria-current="page"] { text-decoration: underline; }
.site-foot__talk { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 40px; padding: 64px 0 48px; font-size: 16px; line-height: 24px; }
.site-foot__talk-h { font-weight: 500; }
.site-foot__talk .dt-link { color: #F1F1F1; }
.site-foot__base { display: flex; justify-content: space-between; gap: 16px 40px; padding-top: 24px; border-top: 1px solid #F1F1F1; }
.site-foot__base .dt-caption { color: #F1F1F1; }

/* ---------- Tablet: two columns become fluid; the building and stills shrink with their column ---------- */
@media (max-width: 1279px) {
  .hero__cols, .row, .faq__in, .lr__cols { column-gap: 40px; }
  .site-foot__cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ---------- Phone and small tablet: one column; rows stack text first, then the picture ---------- */
@media (max-width: 767px) {
  .hero { padding-top: 48px; }
  .hero__cols, .row--pic-left, .row--pic-right, .faq__in, .lr__cols { grid-template-columns: minmax(0, 1fr); row-gap: 40px; }
  .row--pic-left .row__pic { order: 0; }
  .pic, .row__pic, .hero__pic { justify-self: center; width: 100%; }
  .faq__in { row-gap: 24px; }
  .close__in { flex-direction: column; align-items: flex-start; }
  .lr__head { padding: 48px 0 40px; }
  .lr__aside { position: static; }
  .lr__cols--top { padding-top: 48px; }
  .site-foot { padding-top: 64px; }
  .site-foot__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-foot__base { flex-direction: column; }
}

/* Reduced motion: CSS transitions off (core.js also sets .dt-reduced for ?reduced). */
@media (prefers-reduced-motion: reduce) { .faq__v { transition: none; } }

/* Preview builds only (CONTACT_MAILTO): after a form opens the visitor's email app, this note says what to do next
   (src/scenes/6.1/form.js). Drawn as the send error box, in Field Blue, because it is not an error. */
.form-note { align-self: stretch; padding: 16px; border: 1px solid var(--field); border-radius: 8px; font-size: 16px; line-height: 24px; }
.form-note[hidden] { display: none; }
.form-note a { color: var(--field); font-weight: 500; text-decoration: underline; overflow-wrap: anywhere; }
.lib-form .form-note { margin-top: 16px; }

/* ---------- Shared November 2026 visual system ---------- */
:root {
  --compliance-grey: #F1F1F1;
  --body-copy: #202020;
  --section-y-fluid: 64px;
  --h1-fluid: 40px;
  --h2-fluid: 38px;
  --h3-fluid: 30px;
  --grey: #202020;
  --review: #163B99;
  --hairline: #F1F1F1;
  --ok: #163B99;
  --ok-bg: #F1F1F1;
  --await-bg: #F1F1F1;
  --open-bg: #F1F1F1;
  --back: #1B1B1C;
  --back-bg: #F1F1F1;
  --none-bg: #F1F1F1;
}

body { color: var(--body-copy); }
.dt-body { max-width: 560px; color: var(--body-copy); font-size: 16px; line-height: 24px; }
.dt-caption { color: var(--body-copy); }
.dt-h1, .page-h1, .lr__h1 { font-size: 40px; line-height: 1.15; letter-spacing: 0; }
main :is(h1, .dt-h1, .page-h1, .lr__h1) { color: var(--field); }
main :is(h2, .dt-h2, .page-h2, .faq__h3, .page-h3) { color: var(--field); font-size: 38px; line-height: 1.16; letter-spacing: 0; }
main :is(h3, .dt-h3, .page-h4) { color: var(--field); font-size: 30px; line-height: 1.2; }
main h4 { color: var(--field); font-size: 24px; line-height: 1.25; }
.dt-label, .label__t { color: var(--field); font-size: 13px; line-height: 20px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.label { gap: 8px; }

/* Primary and secondary actions use the same compact, fully rounded silhouette site-wide. */
.dt-btn {
  height: auto;
  min-height: 36px;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 16px;
  line-height: 20px;
  font-weight: 400;
}
.dt-btn--secondary { border: 1px solid var(--field); background: transparent; color: var(--field); }
.dt-btn--white { border: 0; background: var(--white); color: var(--field); }
.dt-btn:hover { text-decoration: underline; text-underline-offset: 3px; }

/* White navigation bar; keep its existing order, links and menu behavior. */
.site-head { height: 80px; padding-top: 0; background: var(--white); }
.site-head__in { height: 80px; }
.site-nav__link { font-size: 15px; }
.site-head__cta { font-size: 15px; }
.site-mobile__toggle { border-radius: 999px; }

/* Compact blue page heroes keep their existing words and calls to action, not the old hero artwork. */
main > .hero {
  padding: 56px 0 64px;
  background: var(--field);
  color: var(--white);
}
.hero .hero__head { gap: 16px; max-width: 1000px; }
.hero .hero__h1,
.hero .hero__lead,
.hero .hero__micro,
.hero .label__n,
.hero .label__t { color: var(--white); }
.hero .hero__h1 { max-width: 1000px; font-size: 40px; line-height: 1.15; }
.hero .hero__cols { display: block; padding-top: 24px; }
.hero .hero__text { max-width: 760px; gap: 24px; }
.hero .hero__pic { display: none; }
.hero .dt-btn { background: var(--white); color: var(--field); }
.hero .dt-btn--secondary { border-color: var(--white); background: transparent; color: var(--white); }
.hero .hero__act { gap: 12px; }

/* Content bands alternate white and Compliance Grey below each shared page hero. */
main > section:not(.hero):nth-of-type(even) { background: var(--compliance-grey); }
main > section.close { background: var(--compliance-grey); color: var(--body-copy); }
main > section.close .close__h2,
main > section.close .close__line { color: var(--body-copy); }
.close { background: var(--compliance-grey); color: var(--body-copy); }
.close .close__h2,
.close .close__line { color: var(--body-copy); }
main > :is(.faq, .contact) { padding: var(--section-y-fluid) 0; }
main > .rows { padding: 0; }
.rows > .rows__in { max-width: none; padding: 0; gap: 0; }
.rows .row {
  padding: var(--section-y-fluid) max(var(--pad-x), calc((100% - var(--content)) / 2));
  background: var(--white);
}
.rows .row:nth-child(even) { background: var(--compliance-grey); }
.dt-card { border-color: var(--compliance-grey); border-radius: 4px; box-shadow: none; }
.ph__mark { background: var(--field); }

/* Data tables use one Field Blue header and white body rows. */
.home-benchmark__table { width: 100%; border-collapse: collapse; }
.home-benchmark__table th,
.home-benchmark__table td { padding: 12px 16px; border-bottom: 1px solid var(--compliance-grey); text-align: left; vertical-align: top; }
.home-benchmark__table thead th { background: var(--field); color: var(--white); font-weight: 700; }
.home-benchmark__table tbody tr { background: var(--white); }
.home-benchmark__table tbody th { font-weight: 700; }

/* Homepage sections, images and stat cards. The image is decorative background treatment with its own descriptive alt. */
.page-home main > section { padding: 64px 0; }
.page-home main > .home-hero { position: relative; display: flex; align-items: center; min-height: 560px; padding: 64px 0; overflow: hidden; background: var(--onyx); }
.home-hero__image, .home-hero__shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.home-hero__image { object-fit: cover; object-position: center 52%; }
.home-hero__shade { background: linear-gradient(90deg, rgba(27, 27, 28, 0.94) 0%, rgba(27, 27, 28, 0.82) 40%, rgba(27, 27, 28, 0.16) 100%); }
.home-hero__in { position: relative; z-index: 1; }
.home-hero__copy { display: flex; flex-direction: column; gap: 16px; max-width: 640px; color: var(--white); }
.page-home .home-hero__copy h1 { color: var(--white); font-size: 48px; line-height: 1.12; font-weight: 700; }
.home-hero__copy p { max-width: 600px; color: var(--white); font-size: 16px; line-height: 24px; }
.home-hero__copy .home-hero__bold { font-size: 20px; line-height: 30px; font-weight: 700; }
.page-home main > section.home-split,
.page-home main > section.home-proof { background: var(--white); }
.page-home main > section.home-pillars,
.page-home main > section.home-benchmark { background: var(--compliance-grey); }
.home-split__heading,
.home-pillars__heading,
.home-proof__heading,
.home-benchmark__heading { margin-bottom: 32px; }
.home-split__cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.home-split__card { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; min-width: 0; padding: 32px; }
.home-split__card .dt-body { max-width: none; }
.home-split__card .dt-btn { margin-top: auto; }
.home-pillars__heading { max-width: 960px; margin-left: auto; margin-right: auto; text-align: center; }
.home-pillars__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.home-pillar { display: flex; flex-direction: column; align-items: center; gap: 16px; min-width: 0; padding: 32px 24px; text-align: center; }
.page-home .home-pillar__title { font-size: 24px; line-height: 1.25; }
.home-pillar__subhead { color: var(--field); font-size: 30px; line-height: 1.2; font-weight: 700; }
.home-pillar__image { width: 220px; height: 220px; border-radius: 50%; object-fit: cover; }
.home-pillar__body { max-width: none; text-align: center; }
.home-pillar__link { margin-top: auto; padding-top: 8px; }
.home-proof__eyebrow { margin-bottom: 8px; }
.home-proof__items { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.home-proof__item { display: flex; flex-direction: column; justify-content: center; gap: 12px; min-height: 170px; padding: 24px; border: 1px solid var(--field); border-radius: 4px; background: var(--white); }
.home-proof__figure { color: var(--field); font-size: 48px; line-height: 1.05; font-weight: 700; letter-spacing: -0.02em; }
.home-proof__stat { color: var(--field); font-size: 20px; line-height: 1.3; font-weight: 700; }
.home-proof__action { margin-top: 32px; white-space: normal; text-align: center; }
.page-home .home-benchmark__heading { max-width: 760px; }
.home-benchmark__grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 40px; align-items: start; }
.home-benchmark__facts { display: flex; flex-direction: column; gap: 12px; font-weight: 700; }
.home-benchmark__table-wrap { min-width: 0; overflow-x: auto; background: var(--white); }
.home-benchmark__table { min-width: 560px; font-size: 16px; line-height: 24px; }
.page-home main > section.home-close { background: var(--onyx); color: var(--body-copy); }
.home-close__box { display: flex; flex-direction: column; align-items: center; gap: 16px; max-width: 820px; margin: 0 auto; padding: 48px; background: var(--white); text-align: center; }
.page-home .home-close__box h2 { color: var(--field); }
.home-close__box .dt-body { max-width: 640px; }
.home-close__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 8px; }

/* Shared footer: white wordmark and copy on Field Blue, followed by existing link groups. */
.site-foot { padding: 64px 0 32px; background: var(--field); color: var(--white); }
.site-foot__top { display: flex; align-items: center; gap: 24px; }
.site-foot__brand { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; }
.site-foot__brand img { width: 140px; height: 28px; }
.site-foot__tag { color: var(--white); font-size: 30px; line-height: 1.2; font-weight: 700; }
.site-foot__intro { max-width: 1000px; margin-top: 24px; color: var(--white); font-size: 14px; line-height: 1.5; }
.site-foot__columns { display: grid; grid-template-columns: minmax(0, 1.1fr) repeat(5, minmax(0, 1fr)); gap: 32px 20px; padding-top: 40px; }
.site-foot__contact { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; min-width: 0; }
.site-foot__contact address { display: flex; flex-direction: column; color: var(--white); font-size: 14px; line-height: 21px; font-style: normal; }
.site-foot__linkedin, .site-foot__base a { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
.site-foot__head { color: var(--white); font-size: 16px; line-height: 24px; font-weight: 700; }
.site-foot__col ul { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.site-foot__col a { color: var(--white); font-size: 14px; line-height: 21px; text-decoration: none; }
.site-foot__col a:hover, .site-foot__col a[aria-current="page"] { text-decoration: underline; text-underline-offset: 3px; }
.site-foot__base { display: flex; justify-content: space-between; gap: 12px 32px; margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.55); color: var(--white); font-size: 14px; line-height: 21px; }
.site-foot__base .dt-caption { color: var(--white); }
.site-foot__base p { margin: 0; }

@media (max-width: 1279px) {
  .site-foot__columns { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1023px) {
  .home-pillars__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-benchmark__grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
}
@media (max-width: 767px) {
  :root { --section-y-fluid: 40px; }
  main :is(h1, .dt-h1, .page-h1, .lr__h1) { font-size: 30px; line-height: 1.18; }
  main :is(h2, .dt-h2, .page-h2, .faq__h3, .page-h3) { font-size: 29px; line-height: 1.2; }
  main :is(h3, .dt-h3, .page-h4) { font-size: 23px; line-height: 1.25; }
  main h4 { font-size: 20px; line-height: 1.3; }
  .page-home main > section { padding: 40px 0; }
  main > .hero { padding: 40px 0; }
  .hero .hero__h1 { font-size: 30px; }
  .page-home main > .home-hero { min-height: 620px; padding: 40px 0; }
  .home-hero__image { object-position: 62% center; }
  .home-hero__shade { background: linear-gradient(90deg, rgba(27, 27, 28, 0.9), rgba(27, 27, 28, 0.6)); }
  .page-home .home-hero__copy h1 { font-size: 36px; }
  .home-split__cards, .home-pillars__grid, .home-proof__items { grid-template-columns: minmax(0, 1fr); }
  .home-split__card { padding: 24px; }
  .home-pillar__image { width: 180px; height: 180px; }
  .home-pillar__subhead { font-size: 23px; }
  .home-proof__item { min-height: 0; }
  .home-benchmark__table { min-width: 520px; }
  .home-close__box { padding: 32px 24px; }
  .home-close__actions { flex-direction: column; align-items: center; }
  .site-foot { padding: 48px 0 24px; }
  .site-foot__tag { font-size: 24px; }
  .site-foot__columns { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; }
  .site-foot__base { flex-direction: column; }
}

@media (max-width: 767px) {
  .home-benchmark__table { min-width: 0; table-layout: fixed; font-size: 13px; line-height: 18px; }
  .home-benchmark__table th,
  .home-benchmark__table td { padding: 8px 6px; overflow-wrap: anywhere; }
  .home-benchmark__table thead th { font-size: 11px; line-height: 15px; }
}
