/* Red River Integration — design system

   Every colour is a token, so light and dark are one stylesheet rather than two.
   Nothing below the :root blocks should contain a raw hex value.

   Type: two faces, not three. Staatliches carries the brand as DISPLAY ONLY
   (hero, section headings). Figtree does all the reading and all the UI. Poppins
   is gone; a third face was doing no work and made the page feel busy.

   Corners: the old 2-3px radii were the single biggest reason this read as dated. */

:root {
  /* Follows the reader's OS, with a header toggle to override for the session.
     The hero, CTA, UniFi feature and statement bands are dark in BOTH themes
     (photo-backed with dark scrims), so the site keeps its weight either way;
     what changes is the long-form reading surface, and a 4,000-word compliance
     page is genuinely easier to read light. */
  color-scheme: light;


  --crimson: #9c1c1f;
  --crimson-hover: #7d1518;
  --crimson-soft: rgba(156, 28, 31, .09);
  --crimson-ring: rgba(156, 28, 31, .18);

  --muddy: #9f3b22;
  --muddy-soft: rgba(159, 59, 34, .10);
  --accent: #c8632c;

  --brand-grad: linear-gradient(118deg, #831719 0%, #9f3b22 100%);
  --brand-wash: radial-gradient(120% 100% at 0% 0%, rgba(159, 59, 34, .14), transparent 55%);

  --bg: #ffffff;
  --bg-sunken: #faf7f5;
  --bg-raised: #ffffff;
  --bg-inverse: #16181d;

  --text: #14161a;
  --text-2: #565c66;
  --text-3: #858c96;

  --line: #e8e3e0;
  --line-2: #d9d2ce;

  --sh-1: 0 1px 2px rgba(16, 20, 28, .04), 0 2px 6px rgba(16, 20, 28, .04);
  --sh-2: 0 2px 6px rgba(16, 20, 28, .05), 0 10px 24px rgba(16, 20, 28, .07);
  --sh-3: 0 8px 20px rgba(16, 20, 28, .08), 0 24px 56px rgba(16, 20, 28, .12);
  --sh-4: 0 20px 50px rgba(16, 20, 28, .16), 0 40px 90px rgba(16, 20, 28, .22);
  --display: "Staatliches", "Haettenschweiler", "Impact", sans-serif;
  --sans: "Figtree", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --on-dark: #f2f4f7;
  --on-dark-2: rgba(242, 244, 247, .74);
  --on-brand: #ffffff;

  --r-xs: 6px;
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-pill: 999px;

  --wrap: 1180px;
  --gutter: 24px;
  --header-h: 88px;
  --sec-y: 6.5rem;

  --ease: cubic-bezier(.2, .7, .3, 1);
}

/* Dark tokens, applied by the OS preference or by an explicit toggle. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;

     The hero, CTA, UniFi feature and statement bands are dark in BOTH themes
     (photo-backed with dark scrims), so the site keeps its weight either way;
     what changes is the long-form reading surface, and a 4,000-word compliance
     page is genuinely easier to read light. */

     On a dark ground both reds are lifted so they clear contrast; the logo keeps
     its exact values. */
  --crimson: #e0565a;
  --crimson-hover: #ef7276;
  --crimson-soft: rgba(224, 86, 90, .14);
  --crimson-ring: rgba(224, 86, 90, .28);

  --muddy: #d4703f;
  --muddy-soft: rgba(212, 112, 63, .14);
  --accent: #e08b4e;

  --brand-grad: linear-gradient(118deg, #b02a2e 0%, #c8632c 100%);
  --brand-wash: radial-gradient(120% 100% at 0% 0%, rgba(212, 112, 63, .10), transparent 55%);

  --bg: #0e1014;
  --bg-sunken: #14171d;
  --bg-raised: #1a1e25;
  --bg-inverse: #05060a;

  --text: #eef1f5;
  --text-2: #a6aeba;
  --text-3: #79818d;
  --on-dark: #f2f4f7;
  --on-dark-2: rgba(242, 244, 247, .74);
  --on-brand: #ffffff;

  --line: #262b33;
  --line-2: #333a44;

  --display: "Staatliches", "Haettenschweiler", "Impact", sans-serif;
  --sans: "Figtree", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --r-xs: 6px;
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-pill: 999px;

  --sh-1: 0 1px 2px rgba(0, 0, 0, .3);
  --sh-2: 0 2px 8px rgba(0, 0, 0, .35), 0 10px 26px rgba(0, 0, 0, .3);
  --sh-3: 0 10px 26px rgba(0, 0, 0, .4), 0 26px 60px rgba(0, 0, 0, .45);
  --sh-4: 0 24px 60px rgba(0, 0, 0, .55), 0 44px 100px rgba(0, 0, 0, .5);

  --wrap: 1180px;
  --gutter: 24px;
  --header-h: 88px;
  --sec-y: 6.5rem;

  --ease: cubic-bezier(.2, .7, .3, 1);
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;

     The hero, CTA, UniFi feature and statement bands are dark in BOTH themes
     (photo-backed with dark scrims), so the site keeps its weight either way;
     what changes is the long-form reading surface, and a 4,000-word compliance
     page is genuinely easier to read light. */

     On a dark ground both reds are lifted so they clear contrast; the logo keeps
     its exact values. */
  --crimson: #e0565a;
  --crimson-hover: #ef7276;
  --crimson-soft: rgba(224, 86, 90, .14);
  --crimson-ring: rgba(224, 86, 90, .28);

  --muddy: #d4703f;
  --muddy-soft: rgba(212, 112, 63, .14);
  --accent: #e08b4e;

  --brand-grad: linear-gradient(118deg, #b02a2e 0%, #c8632c 100%);
  --brand-wash: radial-gradient(120% 100% at 0% 0%, rgba(212, 112, 63, .10), transparent 55%);

  --bg: #0e1014;
  --bg-sunken: #14171d;
  --bg-raised: #1a1e25;
  --bg-inverse: #05060a;

  --text: #eef1f5;
  --text-2: #a6aeba;
  --text-3: #79818d;
  --on-dark: #f2f4f7;
  --on-dark-2: rgba(242, 244, 247, .74);
  --on-brand: #ffffff;

  --line: #262b33;
  --line-2: #333a44;

  --display: "Staatliches", "Haettenschweiler", "Impact", sans-serif;
  --sans: "Figtree", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --r-xs: 6px;
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-pill: 999px;

  --sh-1: 0 1px 2px rgba(0, 0, 0, .3);
  --sh-2: 0 2px 8px rgba(0, 0, 0, .35), 0 10px 26px rgba(0, 0, 0, .3);
  --sh-3: 0 10px 26px rgba(0, 0, 0, .4), 0 26px 60px rgba(0, 0, 0, .45);
  --sh-4: 0 24px 60px rgba(0, 0, 0, .55), 0 44px 100px rgba(0, 0, 0, .5);

  --wrap: 1180px;
  --gutter: 24px;
  --header-h: 88px;
  --sec-y: 6.5rem;

  --ease: cubic-bezier(.2, .7, .3, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  max-width: 100%;
  overflow-x: hidden;
  /* Safari's overscroll bounce paints the root. Without this, rubber-banding past
     the footer exposed the last section's photo as a stray band. */
  background: var(--bg-inverse);
}

body {
  margin: 0;
  max-width: 100%;
  overflow-x: hidden;
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.62;
  color: var(--text-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  transition: background .25s ease, color .25s ease;
}

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

a { color: var(--crimson); text-decoration: none; }
a:hover { color: var(--crimson-hover); }
.prose a, .req__body a, .cta__copy a, .bleed a {
  text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px;
}

:focus-visible { outline: 2px solid var(--crimson); outline-offset: 3px; border-radius: var(--r-xs); }

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

/* ---------- type ---------- */

h1, h2 {
  font-family: var(--display);
  color: var(--text);
  text-transform: uppercase;
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: .005em;
  margin: 0 0 .6rem;
}
h3, h4 {
  font-family: var(--sans);
  color: var(--text);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -.01em;
  margin: 0 0 .5rem;
}

h1 { font-size: clamp(2.1rem, 5.4vw, 4.7rem); }
h2 { font-size: clamp(1.7rem, 3.3vw, 2.8rem); }
h3 { font-size: clamp(1.12rem, 1.5vw, 1.28rem); }

/* Section label. It sits ABOVE the heading, always. */
.eyebrow {
  display: inline-flex; align-items: center;
  font-family: var(--sans);
  font-weight: 700;
  text-transform: uppercase;
  font-size: .75rem;
  letter-spacing: .12em;
  color: var(--crimson);
  background: var(--crimson-soft);
  padding: .42rem .78rem;
  border-radius: var(--r-pill);
  margin-bottom: 1.1rem;
}
.eyebrow--center { justify-content: center; }

/* Supporting line beneath a heading (the service blocks use this) */
.kicker {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1.02rem;
  line-height: 1.45;
  color: var(--crimson);
  margin: 0 0 1.1rem;
}
.kicker--light { color: #fff; opacity: .88; }

.lead { font-size: 1.09rem; color: var(--text-2); }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--sans);
  font-weight: 700;
  font-size: .96rem;
  padding: .92rem 1.6rem;
  min-height: 50px;
  border-radius: var(--r-pill);
  border: 1.5px solid transparent;
  cursor: pointer;
  text-align: center;
  transition: transform .16s var(--ease), box-shadow .16s var(--ease),
              background .16s ease, color .16s ease, border-color .16s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--brand-grad); background-size: 140% 140%;
  color: var(--on-brand); border-color: transparent;
  box-shadow: var(--sh-2);
}
.btn--primary:hover {
  background-position: 100% 0;
  color: var(--on-brand); box-shadow: var(--sh-3);
}
.btn--ghost {
  background: rgba(255, 255, 255, .08); color: #fff;
  border-color: rgba(255, 255, 255, .55);
  backdrop-filter: blur(6px);
}
.btn--ghost:hover { background: #fff; color: #14161a; border-color: #fff; }

.btn--quiet { background: var(--bg-raised); color: var(--text); border-color: var(--line-2); }
.btn--quiet:hover { border-color: var(--crimson); color: var(--crimson); }

/* ---------- header ---------- */

.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background .25s ease, box-shadow .25s ease;
}
.header__inner {
  max-width: 1340px; margin: 0 auto; padding: 0 var(--gutter);
  width: 100%; display: flex; align-items: center; gap: 1.1rem;
}
.header__logo { flex: 0 0 auto; display: block; }
.header__logo img { height: 44px; width: auto; }
.header__nav { margin-inline: auto; }
.header__cta { flex: 0 0 auto; display: flex; align-items: center; gap: .7rem; }

.header--transparent { background: transparent; }
.header--solid {
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(12px);
  box-shadow: 0 1px 0 var(--line), var(--sh-1);
}

/* The dark wordmark only belongs on a white bar: light theme, scrolled. */
.header__logo .logo--light { display: block; }
.header__logo .logo--dark { display: none; }
.header--solid .header__logo .logo--light { display: none; }
.header--solid .header__logo .logo--dark { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .header--solid .header__logo .logo--light { display: block; }
  :root:not([data-theme="light"]) .header--solid .header__logo .logo--dark { display: none; }
}
:root[data-theme="dark"] .header--solid .header__logo .logo--light { display: block; }
:root[data-theme="dark"] .header--solid .header__logo .logo--dark { display: none; }

/* Phone: it's a call-OR-TEXT line, and saying so lowers the bar to reach out. */
.header__tel {
  display: flex; flex-direction: column; line-height: 1.15;
  padding: .35rem .3rem;
  color: #fff;
}
.header--solid .header__tel { color: var(--text); }
.header--solid .header__tel:hover { color: var(--crimson); }
.header--transparent .header__tel:hover { color: #fff; opacity: .8; }
.header__tel .n { font-weight: 800; font-size: 1rem; letter-spacing: -.01em; }
.header__tel .l {
  font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em;
  opacity: .7;
}
@media (max-width: 1280px) { .header__tel { display: none; } }

.menu { display: flex; align-items: center; gap: .1rem; list-style: none; margin: 0; padding: 0; }
.menu > li { position: relative; }
.menu > li > a {
  display: flex; align-items: center; gap: .35rem;
  font-weight: 600; font-size: .95rem;
  color: rgba(255, 255, 255, .93);
  padding: .6rem .7rem;
  border-radius: var(--r-xs);
  white-space: nowrap;
  transition: color .16s ease, background .16s ease;
}
.header--solid .menu > li > a { color: var(--text); }

/* Over a hero the bar is transparent and sitting on a photo. Crimson-on-photo is
   unreadable, so keep the label white and lift it with a translucent plate; the
   crimson hover only applies once the bar has gone solid. */
.header--transparent .menu > li > a:hover,
.header--transparent .menu > li.is-hover > a,
.header--transparent .menu > li:hover > a {
  color: #fff;
  background: rgba(255, 255, 255, .16);
  backdrop-filter: blur(4px);
}
.header--solid .menu > li > a:hover,
.header--solid .menu > li.is-hover > a,
.header--solid .menu > li:hover > a { color: var(--crimson); background: var(--crimson-soft); }
.menu__caret { width: 9px; height: 6px; fill: currentColor; opacity: .55; transition: transform .18s ease; }
.menu > li:hover .menu__caret { transform: rotate(180deg); }

.mega {
  position: absolute; top: calc(100% + 8px); left: 50%;
  transform: translateX(-50%) translateY(6px);
  /* it floats over hero photography: it has to be its own solid surface */
  background: var(--bg-raised);
  backdrop-filter: saturate(1.2) blur(10px);
  /* the panel is set below the trigger, so bridge the gap: without this the mouse
     crosses dead space on the way down and the menu snaps shut */
  --bridge: 14px;
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--sh-3);
  padding: .7rem;
  display: flex; gap: .4rem;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .18s ease, transform .18s var(--ease);
}
.mega::before {
  content: ""; position: absolute;
  top: calc(var(--bridge) * -1); left: 0; right: 0; height: var(--bridge);
}
.menu > li:hover .mega,
.menu > li:focus-within .mega,
.menu > li.is-hover .mega {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.mega__col { list-style: none; margin: 0; padding: 0; min-width: 246px; }
.mega__col a {
  display: block; font-size: .93rem; font-weight: 500;
  color: var(--text);
  padding: .6rem .7rem; border-radius: var(--r-xs);
  white-space: nowrap;
}
.mega__col a:hover { background: var(--crimson-soft); color: var(--crimson); }

/* theme toggle */
.themer {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border: 1.5px solid rgba(255, 255, 255, .35);
  background: rgba(255, 255, 255, .08);
  border-radius: var(--r-pill);
  cursor: pointer; color: #fff;
  transition: border-color .16s ease, background .16s ease, color .16s ease, transform .16s var(--ease);
}
.header--solid .themer { border-color: var(--line-2); background: var(--bg-raised); color: var(--text); }
.themer:hover { transform: translateY(-1px); border-color: var(--crimson); color: var(--crimson); }
.themer svg { width: 18px; height: 18px; fill: currentColor; }
/* show the icon for the theme you'd switch TO */
.themer .i-sun { display: block; }
.themer .i-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .themer .i-sun { display: none; }
  :root:not([data-theme="light"]) .themer .i-moon { display: block; }
}
:root[data-theme="dark"] .themer .i-sun { display: none; }
:root[data-theme="dark"] .themer .i-moon { display: block; }

.burger {
  display: none;
  background: none; border: 0; cursor: pointer; padding: .6rem;
  width: 44px; height: 44px;
}
.burger span {
  display: block; width: 22px; height: 2px; border-radius: 2px;
  background: #fff; margin: 5px 0; transition: background .2s ease;
}
.header--solid .burger span { background: var(--text); }

/* ---------- hero ---------- */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  padding: calc(var(--header-h) + 4rem) var(--gutter) 5rem;
  color: #fff;
  background-size: cover; background-position: center;
  isolation: isolate;
}
/* Two layers: a vertical scrim for legibility, plus a brand wash so the heroes
   don't read as generic stock photography. */
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(8, 9, 12, .74) 0%, rgba(8, 9, 12, .40) 42%, rgba(8, 9, 12, .84) 100%),
    radial-gradient(120% 90% at 50% 112%, rgba(156, 28, 31, .40), transparent 60%);
}
.hero__inner { position: relative; max-width: 940px; }
.hero h1 { color: #fff; text-wrap: balance; }
.hero .eyebrow { color: #fff; background: rgba(255, 255, 255, .15); backdrop-filter: blur(6px); }
.hero__sub {
  font-size: 1.15rem; line-height: 1.6;
  color: rgba(255, 255, 255, .9);
  max-width: 660px; margin: 1.5rem auto 0;
  text-wrap: pretty;
}
.hero__actions { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; margin-top: 2.3rem; }

.hero--page { min-height: 66vh; }
.hero--page h1 { font-size: clamp(1.8rem, 3.5vw, 3rem); }

/* ---------- sections ---------- */

.section { padding: var(--sec-y) 0; }
.section--alt { background: var(--bg-sunken); background-image: var(--brand-wash); }
.section--dark {
  background: var(--bg-inverse); background-image: var(--brand-wash);
  color: var(--on-dark-2);
}
.section--dark h2, .section--dark h3 { color: var(--on-dark); }
.section--tight { padding: 4rem 0; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 4.5rem; align-items: center; }
.split img { max-width: min(520px, 100%); margin-inline: auto; }

/* ---------- capability cards ---------- */

.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 3rem; }
.card {
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 2rem 1.2rem 1.5rem;
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 1.2rem;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), border-color .18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--sh-3); border-color: var(--crimson); }
.card__img { height: 74px; display: flex; align-items: center; justify-content: center; }
.card__img img { max-height: 74px; width: auto; object-fit: contain; }
.card__label {
  font-weight: 700; letter-spacing: -.01em;
  font-size: .98rem; line-height: 1.35; color: var(--text); margin: 0;
}

/* ---------- alternating image/text blocks ---------- */

.block { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.block__media { min-height: 620px; background-size: cover; background-position: center; }
.block__body {
  display: flex; flex-direction: column; justify-content: center;
  padding: 5rem clamp(1.5rem, 5vw, 5.5rem);
  background: var(--bg);
}
.block--right .block__media { order: 2; }
.block--right .block__body { order: 1; }
.block__body > :last-child { margin-bottom: 0; }
.block:nth-of-type(even) .block__body { background: var(--bg-sunken); }

/* ---------- centered dark feature ---------- */

.feature { text-align: center; padding: 6.5rem 0; }
.feature__img { max-width: 240px; margin: 2.5rem auto; }
.feature__text { max-width: 690px; margin: 0 auto; color: var(--on-dark-2); }

/* ---------- numbered process ---------- */

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-top: 3rem; }
.step {
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 2rem 1.8rem;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease);
}
.step:hover { transform: translateY(-3px); box-shadow: var(--sh-2); }
.step__num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: var(--r-pill);
  background: var(--crimson-soft); color: var(--crimson);
  font-family: var(--display); font-size: 1.35rem; line-height: 1;
  margin-bottom: 1.2rem;
}
.step__rule { display: none; }
.step h3 { margin-bottom: .5rem; }
.step p { margin: 0; }

/* ---------- full-bleed captioned image ---------- */

.bleed {
  position: relative; min-height: 520px;
  display: flex; align-items: center;
  background-size: cover; background-position: center;
  color: #fff;
  isolation: isolate;
}
.bleed::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(8, 9, 12, .88) 0%, rgba(8, 9, 12, .58) 55%, rgba(8, 9, 12, .32) 100%);
}
.bleed__inner { max-width: var(--wrap); margin: 0 auto; padding: 3.5rem var(--gutter); width: 100%; }
.bleed .eyebrow { color: #fff; background: rgba(255, 255, 255, .16); }
.bleed h2 { color: #fff; }
.bleed p { color: rgba(255, 255, 255, .9); font-size: 1.1rem; max-width: 640px; }
.bleed--tall { min-height: 620px; padding: 5rem 0; }
.bleed--tall p, .bleed--tall li { color: rgba(255, 255, 255, .9); font-size: 1rem; max-width: 760px; }
.bleed--tall a { color: #fff; }

/* ---------- prose ---------- */

.prose { max-width: 1180px; margin: 0 auto; font-size: 1rem; line-height: 1.68; color: var(--text-2); }
.prose h2 {
  font-family: var(--sans); text-transform: none; font-weight: 800;
  font-size: clamp(1.45rem, 2.2vw, 1.95rem); line-height: 1.25;
  letter-spacing: -.015em; color: var(--text);
  margin: 3rem 0 1rem;
}
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.2rem; font-weight: 700; color: var(--text); margin: 2rem 0 .6rem; }
.prose h4 { font-size: 1.05rem; font-weight: 700; color: var(--text); margin: 1.6rem 0 .5rem; }
.prose p { margin: 0 0 1rem; }
.prose ul, .prose ol { margin: 0 0 1.3rem; padding-left: 1.3rem; }
.prose li { margin-bottom: .5rem; }
.prose li::marker { color: var(--crimson); }
.prose strong { color: var(--text); font-weight: 700; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }
.prose--wide { max-width: 1180px; }

/* ---------- industry: the requirement list ----------
   These entries carry 300-500 words each. Boxing them in a ragged three-column
   grid made the page look bubbly and made the substance unreadable. They're a
   spec list now: citation and title on a left rail, body in a proper measure on
   the right, separated by hairlines. Reads like documentation, which is the point. */

.reqs { margin-top: 3rem; display: grid; gap: 1.2rem; }

.req {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 3.5rem;
  padding: 2.6rem 2rem;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--bg-raised);
}
/* Alternate the rail, same as the page sections. A dozen entries with the title
   always hard left reads as one long column and the rows blur together. */
.req:nth-child(even) { grid-template-columns: 1fr 320px; background: var(--bg-sunken); }
.req:nth-child(even) .req__head { order: 2; }
.req:nth-child(even) .req__body { order: 1; justify-self: end; }

.req__head { position: sticky; top: calc(var(--header-h) + 28px); align-self: start; }
.req__head::before {
  content: ""; display: block;
  width: 44px; height: 3px; border-radius: 2px;
  background: var(--brand-grad);
  margin-bottom: 1rem;
}
.req__cite {
  display: inline-block;
  font-size: .78rem; font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase;
  color: var(--crimson); background: var(--crimson-soft);
  padding: .3rem .62rem; border-radius: var(--r-xs); margin-bottom: .8rem;
}
.req h3 { font-size: 1.24rem; line-height: 1.32; margin: 0; }

.req__body { font-size: 1rem; line-height: 1.72; max-width: 66ch; }
/* the opening paragraph is the claim; the rest is the evidence */
.req__body > p:first-child {
  font-size: 1.1rem; line-height: 1.6; color: var(--text);
  margin-bottom: 1.2rem;
}
.req__body p { margin: 0 0 1.1rem; }
.req__body p:last-child { margin-bottom: 0; }

@media (max-width: 900px) {
  .req,
  .req:nth-child(even) { grid-template-columns: 1fr; gap: 1.1rem; padding: 1.8rem 1.4rem; }
  .req__head,
  .req:nth-child(even) .req__head { position: static; order: 1; }
  .req:nth-child(even) .req__body { order: 2; justify-self: stretch; }
}

.builtfor ul {
  list-style: none; padding: 0; display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1rem; margin-top: 1.8rem;
}
.builtfor li {
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-left: 3px solid var(--crimson);
  border-radius: var(--r-sm);
  padding: 1.2rem 1.3rem; margin: 0; font-size: .95rem;
}
.builtfor li::marker { content: none; }
.builtfor li strong { display: block; color: var(--text); margin-bottom: .25rem; }

.statement { max-width: 880px; }
.statement h2 { color: var(--on-dark); margin-bottom: 1.4rem; }
.statement__body { color: var(--on-dark-2); max-width: none; }
.statement__body a { color: var(--on-dark); }

.serving { max-width: 880px; }
.serving .prose { max-width: none; }

/* ---------- FAQ ---------- */

.faq { max-width: 880px; }
.faq__list { margin-top: 2.2rem; display: grid; gap: .7rem; }
.faq__item {
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 0 1.4rem;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.faq__item[open] { border-color: var(--crimson); box-shadow: var(--sh-2); }
.faq__item summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.25rem 0;
  font-weight: 700; font-size: 1.03rem; color: var(--text);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: ""; flex: 0 0 auto;
  width: 11px; height: 11px;
  border-right: 2px solid var(--crimson); border-bottom: 2px solid var(--crimson);
  transform: rotate(45deg) translateY(-3px);
  transition: transform .2s var(--ease);
}
.faq__item[open] summary::after { transform: rotate(-135deg) translateY(1px); }
.faq__item summary:hover { color: var(--crimson); }
.faq__a { padding: 0 0 1.3rem; }
.faq__a p { margin: 0; max-width: 72ch; }

/* ---------- CTA over a photo ---------- */

.cta {
  position: relative;
  background-size: cover; background-position: center;
  padding: 6rem 0;
  color: #fff;
  isolation: isolate;
}
/* A flat 60% black let a bright sky wash the copy out. This pins a dark ground
   under the text side regardless of what the photo behind it is doing. */
.cta::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(100deg, rgba(8, 9, 12, .93) 0%, rgba(8, 9, 12, .80) 46%, rgba(8, 9, 12, .55) 100%),
    radial-gradient(90% 120% at 0% 50%, rgba(156, 28, 31, .42), transparent 62%);
}
.cta__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.cta__copy h2 { color: #fff; }
.cta__copy p, .cta__copy .prose, .cta__copy .prose p { color: rgba(255, 255, 255, .88); }
.cta__copy a { color: #fff; }
.cta .eyebrow { color: #fff; background: rgba(255, 255, 255, .16); }

/* ---------- forms ---------- */

.formwrap {
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 2rem;
  box-shadow: var(--sh-4);
}
.formwrap__title {
  font-weight: 800; letter-spacing: -.01em;
  font-size: 1.2rem; color: var(--text); margin: 0 0 .3rem;
}
.formwrap__intro { margin: 0 0 1.3rem; font-size: .93rem; color: var(--text-2); }
.formgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }

.field { margin-bottom: .7rem; }
.field label {
  display: block; font-size: .82rem; font-weight: 600;
  color: var(--text-2); margin-bottom: .35rem;
}
.field input, .field textarea {
  width: 100%; padding: .85rem .95rem;
  border: 1.5px solid var(--line-2); border-radius: var(--r-sm);
  font-family: var(--sans); font-size: .97rem; color: var(--text);
  background: var(--bg);
  transition: border-color .16s ease, box-shadow .16s ease;
}
.field input::placeholder, .field textarea::placeholder { color: var(--text-3); }
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--crimson);
  box-shadow: 0 0 0 4px var(--crimson-ring);
}
.field textarea { min-height: 116px; resize: vertical; }
.formwrap .btn { width: 100%; margin-top: .5rem; }
.formwrap__alt { margin: .9rem 0 0; text-align: center; font-size: .9rem; color: var(--text-2); }

.linkbtn {
  background: none; border: 0; padding: 0; cursor: pointer;
  font: inherit; font-weight: 600; color: var(--crimson);
  text-decoration: underline; text-underline-offset: 3px;
}
.linkbtn:hover { color: var(--crimson-hover); }

/* ---------- footer ---------- */

.footer { background: var(--bg-inverse); color: var(--on-dark-2); padding: 5rem 0 0; }
.footer__grid {
  display: grid; grid-template-columns: 1.7fr 1fr 1fr 1.3fr; gap: 3rem;
  padding-bottom: 3rem;
  align-items: start;
}
.footer__logo img { height: 52px; width: auto; margin-bottom: 1.1rem; }
.footer__about p { margin: 0 0 1.4rem; max-width: 30ch; }
.footer h4 {
  color: var(--on-dark);
  font-weight: 700; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase;
  margin: .35rem 0 .9rem;
}
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin: 0; }
.footer a { color: var(--on-dark-2); font-size: .95rem; }
.footer a:hover { color: var(--on-dark); }
.footer__links a { display: block; padding: .5rem 0; }

/* contact block: the number is a call-or-text line and should look like one */
.footer__contact { display: grid; gap: .9rem; }
.footer__tel {
  display: inline-flex; flex-direction: column;
  padding: .1rem 0;
}
.footer__tel .n {
  font-family: var(--display); font-size: 1.6rem; letter-spacing: .02em;
  color: var(--on-dark); line-height: 1.1;
}
.footer__tel:hover .n { color: var(--crimson); }
.footer__tel .l {
  font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em;
  color: var(--crimson); margin-top: .15rem;
}
.footer__meta { font-size: .92rem; }
.footer__meta a { display: inline-block; padding: .2rem 0; }

.socials { display: flex; gap: .5rem; margin-top: .2rem; }
.socials a {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .55rem .9rem;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: var(--r-pill);
  font-size: .85rem; font-weight: 600;
  color: var(--on-dark-2);
  transition: border-color .16s ease, color .16s ease, background .16s ease, transform .16s var(--ease);
}
.socials a:hover {
  color: #fff; border-color: var(--crimson); background: var(--crimson);
  transform: translateY(-1px);
}
.socials svg { width: 16px; height: 16px; fill: currentColor; }

.footer__bar {
  border-top: 1px solid rgba(255, 255, 255, .09);
  padding: 1.4rem 0;
  display: flex; justify-content: space-between; align-items: center;
  gap: 1rem; flex-wrap: wrap;
  font-size: .87rem;
}
.footer__bar nav { display: flex; gap: 1.4rem; }
.footer__bar a { font-size: .87rem; }

/* ---------- responsive ---------- */

@media (max-width: 1080px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}

@media (max-width: 900px) {
  :root { --header-h: 72px; --sec-y: 4rem; }

  .burger { display: block; margin-left: auto; order: 3; }
  .header__cta { order: 2; margin-left: auto; }
  .header__nav {
    position: fixed; inset: var(--header-h) 0 0 0;
    background: var(--bg);
    padding: 1.2rem var(--gutter) 6rem;
    overflow-y: auto;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform .28s var(--ease), visibility .28s;
    margin: 0;
  }
  .header__nav.is-open { transform: translateX(0); visibility: visible; }
  .header__cta .btn { display: none; }

  /* The drawer is position:fixed and must fill the viewport. But header--solid
     carries a backdrop-filter, and a filter turns the header into the containing
     block for its fixed descendants: the drawer then collapses to the 72px bar,
     so only the top rows get a background and the rest bleeds over the page. While
     the drawer is open, drop the filter so the fixed drawer escapes to the viewport. */
  body.nav-open .header { backdrop-filter: none; }

  .menu { flex-direction: column; align-items: stretch; gap: 0; }
  .menu > li > a {
    color: var(--text); justify-content: space-between;
    padding: 1rem .3rem; border-bottom: 1px solid var(--line);
    font-size: 1rem; border-radius: 0;
  }

  /* The bar's hover treatments are written for a header floating over a photo (white
     label on a translucent white plate) or a solid bar (crimson on crimson-soft). Both
     are (0,3,2) and outspecify the drawer rule above, and on touch :hover STICKS after a
     tap: over a hero, the row you tapped went white-on-white and vanished. The drawer is
     its own surface, so state it explicitly and let the open row be the only accent. */
  .header--transparent .menu > li > a,
  .header--transparent .menu > li > a:hover,
  .header--transparent .menu > li:hover > a,
  .header--transparent .menu > li.is-hover > a,
  .header--solid .menu > li > a,
  .header--solid .menu > li > a:hover,
  .header--solid .menu > li:hover > a,
  .header--solid .menu > li.is-hover > a {
    color: var(--text);
    background: transparent;
    backdrop-filter: none;
  }
  .header--transparent .menu > li.is-open > a,
  .header--solid .menu > li.is-open > a { color: var(--crimson); background: transparent; }

  /* the caret follows the panel, not the pointer */
  .menu > li:hover .menu__caret { transform: none; }
  .menu > li.is-open .menu__caret { transform: rotate(180deg); }
  /* The desktop panel centres itself under its trigger with translateX(-50%), and that
     rule is `.menu > li:focus-within .mega` = (0,3,1). This block used to be a bare
     `.mega` = (0,1,0), so specificity beat source order and the transform survived into
     the drawer: tapping a row gave it :focus-within and slid the panel half its own width
     off the left edge. Restate the trigger states here so the reset actually wins. */
  .menu > li .mega,
  .menu > li:hover .mega,
  .menu > li:focus-within .mega,
  .menu > li.is-hover .mega,
  .menu > li.is-open .mega {
    position: static; transform: none;
    opacity: 1; visibility: visible; pointer-events: auto;
    box-shadow: none; border: 0; border-radius: 0;
    padding: .2rem 0 .8rem .7rem;
    flex-direction: column; gap: 0;
    background: transparent;
  }
  .menu > li .mega { display: none; }
  .menu > li.is-open .mega { display: flex; }

  .mega__col { min-width: 0; }
  .mega__col a {
    /* nowrap is right for the desktop panel, which sizes to its content. In the drawer
       it forces long labels ("Multi-Site & Remote Locations") past the edge. */
    white-space: normal;
    display: flex; align-items: center;
    min-height: 44px; padding: .6rem .3rem;
  }

  .split { grid-template-columns: 1fr; gap: 2.5rem; }
  .block { grid-template-columns: 1fr; }
  .block__media { min-height: 280px; order: 1 !important; }
  .block__body { order: 2 !important; padding: 3rem var(--gutter); }
  .cta__inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .cta { padding: 4rem 0; }
  .hero { min-height: 88vh; }
  .hero--page { min-height: 58vh; }
  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer__bar { flex-direction: column; justify-content: center; text-align: center; }
}

@media (max-width: 560px) {
  .cards { grid-template-columns: 1fr; }
  .formgrid { grid-template-columns: 1fr; }
  .hero__actions .btn { width: 100%; }
  .formwrap { padding: 1.5rem; border-radius: var(--r-md); }
  .socials { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .btn:hover, .card:hover, .req:hover, .step:hover { transform: none; }
}

/* touch targets: every standalone link in the footer clears 44px */
.socials a { min-height: 44px; }
.footer__meta a { min-height: 44px; display: inline-flex; align-items: center; }
.footer__bar a { min-height: 44px; display: inline-flex; align-items: center; }

/* socials: icon-only circles for the networks, a labelled pill for "Text us"
   (it's an action, not a profile, so it should read differently) */
.socials a {
  width: 44px; height: 44px; padding: 0;
  justify-content: center;
}
.socials a.socials__text { width: auto; padding: .55rem 1rem; gap: .45rem; }

/* ---------- trust strip ----------
   There are no reviews yet, so credibility has to come from specificity and from
   making the first step genuinely risk-free. This sits directly under the hero. */
.trust { background: var(--bg-sunken); border-bottom: 1px solid var(--line); padding: 2.6rem 0; }
.trust__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.8rem;
}
.trust__item { display: flex; gap: .7rem; align-items: flex-start; }
.trust__tick {
  flex: 0 0 auto; width: 22px; height: 22px; margin-top: 1px;
  fill: #fff; background: var(--crimson); border-radius: var(--r-pill); padding: 1px;
}
.trust__k { margin: 0 0 .15rem; font-weight: 700; color: var(--text); font-size: .96rem; }
.trust__v { margin: 0; font-size: .89rem; line-height: 1.5; color: var(--text-2); }

/* capability cards are links now */
a.card { text-decoration: none; color: inherit; }
.card__go {
  font-size: .82rem; font-weight: 700; color: var(--crimson);
  opacity: 0; transform: translateY(-4px);
  transition: opacity .18s ease, transform .18s var(--ease);
}
.card:hover .card__go { opacity: 1; transform: translateY(0); }

@media (max-width: 1080px) { .trust__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px)  { .trust__grid { grid-template-columns: 1fr; gap: 1.2rem; } .card__go { opacity: 1; transform: none; } }
.formwrap__fine { margin: .7rem 0 0; text-align: center; font-size: .82rem; color: var(--text-3); }

/* ---------- founder ----------
   Was rendering as a full-bleed half-page portrait, which reads as vanity rather
   than credibility. It's a thumbnail beside the copy. */
.founder__inner {
  display: grid; grid-template-columns: 108px 1fr;
  gap: 2rem; align-items: start;
  max-width: 880px; margin: 0 auto;
}
.founder__img {
  width: 108px; height: 108px;
  border-radius: var(--r-pill);
  object-fit: cover; object-position: center top;
  border: 3px solid var(--bg-raised);
  box-shadow: var(--sh-2);
}
.founder__body > :last-child { margin-bottom: 0; }
@media (max-width: 700px) {
  .founder__inner { grid-template-columns: 1fr; gap: 1.2rem; }
}

/* ---------- generic page sections ----------
   The leftover prose pages (careers, MSP, RFP, builder program) were unbroken
   columns of text. Their H2s now become bands with a left rail, matching the
   industry pages. */
/* The heading rail alternates sides down the page. A dozen bands with the rail
   pinned left reads like a spec sheet; alternating gives the page a rhythm and
   stops the eye from tracking a single dead column. */
.pagesec { display: grid; grid-template-columns: 320px 1fr; gap: 3.5rem; align-items: start; }
.pagesec__head { position: sticky; top: calc(var(--header-h) + 24px); }
.pagesec__head h2 { margin: 0; }
.pagesec__body { max-width: 72ch; margin: 0; }

.pagesec--flip { grid-template-columns: 1fr 320px; }
.pagesec--flip .pagesec__head { order: 2; }
.pagesec--flip .pagesec__body { order: 1; justify-self: end; }

/* a crimson rule above each section heading: the brand mark, not decoration */
.pagesec__head::before,
.req__head::before {
  content: ""; display: block;
  width: 44px; height: 3px; border-radius: 2px;
  background: var(--brand-grad);
  margin-bottom: 1rem;
}
.pagesec--flip .pagesec__head::before { margin-left: 0; }
.prose--lead { font-size: 1.12rem; max-width: 800px; }
.prose--lead p:first-child { font-size: 1.22rem; color: var(--text); font-weight: 500; }

@media (max-width: 900px) {
  .pagesec { grid-template-columns: 1fr; gap: 1rem; }
  .pagesec__head { position: static; }
}

/* ---------- contact ---------- */
/* The intro used to be a centred 760px column above a full-width 1180px grid,
   which read as two different pages. It now shares the grid's measure and
   left edge. */
.contact__intro { max-width: none; margin: 0 0 3.2rem; text-align: left; }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.contact__rfp { margin-top: 2.5rem; }

.methods { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 2.5rem; }
.method {
  background: var(--bg-raised); border: 1px solid var(--line);
  border-top: 3px solid var(--muddy);
  border-radius: var(--r-md); padding: 1.5rem 1.4rem;
}
.method__k {
  margin: 0 0 .35rem;
  font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em;
  color: var(--muddy);
}
.method__v {
  display: block; margin: 0 0 .6rem;
  font-size: 1.1rem; font-weight: 700; color: var(--text); line-height: 1.3;
}
a.method__v:hover { color: var(--crimson); }
.method__note { margin: 0; font-size: .89rem; line-height: 1.5; color: var(--text-2); }

@media (max-width: 1000px) { .methods { grid-template-columns: 1fr 1fr; } }
@media (max-width: 820px) {
  .contact__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .methods { grid-template-columns: 1fr; }
}

/* trust ticks and step numbers pick up the second brand red */
.trust__tick { background: var(--brand-grad); }
.step__num { background: var(--brand-grad); color: #fff; }
.req__cite { background: var(--muddy-soft); color: var(--muddy); }
.footer__based { margin: 0 0 .4rem; font-size: .9rem; line-height: 1.5; color: var(--on-dark-2); }
/* the contact cards' phone/email are the primary actions on that page: full tap height */
a.method__v { min-height: 44px; display: inline-flex; align-items: center; }


/* ---------- related industries ---------- */
.related { max-width: 900px; }
.related__grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: .7rem; margin: 2rem 0 1.6rem;
}
.related__card {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.1rem 1.3rem;
  background: var(--bg-raised); border: 1px solid var(--line);
  border-radius: var(--r-md);
  font-weight: 700; color: var(--text); font-size: .98rem;
  transition: border-color .16s ease, transform .16s var(--ease), color .16s ease;
}
.related__card:hover { border-color: var(--crimson); color: var(--crimson); transform: translateY(-2px); }
.related__card svg { width: 16px; height: 16px; flex: 0 0 auto; opacity: .5; }
.related__card--all { background: var(--crimson-soft); border-color: transparent; color: var(--crimson); }
.related__note { font-size: .95rem; color: var(--text-2); margin: 0; }
@media (max-width: 700px) { .related__grid { grid-template-columns: 1fr; } }
.capabilities__outro { margin-top: 2.6rem; }
.capabilities__outro p { margin: 0; }

/* legal: a plain document. No hero CTA, no bands, no sticky rails. */
.legal { max-width: 760px; }
.legal h2 { font-family: var(--sans); text-transform: none; font-weight: 700;
  font-size: 1.35rem; letter-spacing: -.01em; margin: 2.4rem 0 .8rem; }
.legal h2:first-child { margin-top: 0; }
.legal .prose { max-width: none; font-size: .96rem; }

/* ---------- crimson for the subheads ----------
   The industry and MSP pages run to thousands of words. Putting the sub-headings
   in the brand red gives the eye something to land on and separates "what the rule
   says" from "what we build". Section H2s stay dark: if everything is red, nothing is. */
.prose h3 { color: var(--crimson); }
.prose h4 { color: var(--muddy); }
.statement__body h3, .bleed h3 { color: var(--on-dark); }

/* a lead-in bold at the very start of a paragraph is doing a heading's job */
.prose p > strong:first-child { color: var(--crimson); }

@media (max-width: 900px) {
  .pagesec--flip { grid-template-columns: 1fr; }
  .pagesec--flip .pagesec__head { order: 1; }
  .pagesec--flip .pagesec__body { order: 2; justify-self: stretch; }
}

/* same lead-in on the generic page sections, so every long-form page reads alike */
.pagesec__body > p:first-child {
  font-size: 1.1rem; line-height: 1.6; color: var(--text);
  margin-bottom: 1.2rem;
}
.pagesec__body p { margin: 0 0 1.1rem; }

/* legal: a document, not a landing page */
.legalpage { padding-top: calc(var(--header-h) + 3rem); }
.legalpage h1 { font-size: clamp(1.9rem, 3.4vw, 2.9rem); margin-bottom: 1.6rem; }
.legal h2 {
  font-family: var(--sans); text-transform: none; font-weight: 700;
  font-size: 1.28rem; letter-spacing: -.01em;
  margin: 2.4rem 0 .7rem; padding-top: 1.6rem;
  border-top: 1px solid var(--line);
}
.legal h2:first-of-type { border-top: 0; padding-top: 0; }
.legal .prose { max-width: none; font-size: .96rem; }
.legal .prose h3 { font-size: 1.02rem; color: var(--text); font-style: italic; margin: 1.4rem 0 .4rem; }
.legal__foot {
  margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line);
  font-size: .92rem; color: var(--text-2);
}

/* ---------- comparison table ---------- */
.compare__scroll { overflow-x: auto; margin-top: 2.5rem; }
.compare { width: 100%; border-collapse: separate; border-spacing: 0; min-width: 760px; }
.compare th, .compare td {
  padding: 1.05rem 1.2rem; text-align: left; vertical-align: top;
  font-size: .95rem; line-height: 1.5;
  border-bottom: 1px solid var(--line);
}
.compare thead th {
  font-family: var(--sans); font-weight: 700; font-size: .82rem;
  text-transform: uppercase; letter-spacing: .08em;
  color: var(--text-3); border-bottom: 2px solid var(--line);
  padding-bottom: .8rem;
}
.compare tbody th {
  font-weight: 700; color: var(--text); width: 22%;
}
.compare td { color: var(--text-2); }
/* our column is the answer, so it reads as the answer */
.compare .compare__ours { background: var(--crimson-soft); color: var(--text); font-weight: 600; }
.compare thead .compare__ours {
  color: var(--crimson);
  border-bottom-color: var(--crimson);
  border-radius: var(--r-md) var(--r-md) 0 0;
}
.compare tbody tr:last-child .compare__ours { border-radius: 0 0 var(--r-md) var(--r-md); }

/* ---------- deliverables ---------- */
.deliv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem 2rem; margin-top: 2.6rem; }
.deliv__item { display: flex; gap: .8rem; align-items: flex-start; }
.deliv__tick {
  flex: 0 0 auto; width: 22px; height: 22px; margin-top: 2px;
  fill: #fff; background: var(--brand-grad); border-radius: var(--r-pill); padding: 1px;
}
.deliv__k { margin: 0 0 .2rem; font-weight: 700; color: var(--text); font-size: 1rem; }
.deliv__v { margin: 0; font-size: .92rem; line-height: 1.55; color: var(--text-2); }

/* ---------- unifi strip ---------- */
.unifistrip { padding: 5.5rem 0; text-align: center; }
.unifistrip h2 { color: var(--on-dark); max-width: 900px; margin-inline: auto; }
.unifistrip__sub { max-width: 700px; margin: 1rem auto 0; color: var(--on-dark-2); }
.unifistrip__row {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; margin: 3rem 0 2rem;
}
.unifistrip__item {
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--r-md);
  padding: 1.4rem .8rem 1.1rem;
  transition: border-color .18s ease, transform .18s var(--ease);
}
.unifistrip__item:hover { border-color: var(--crimson); transform: translateY(-3px); }
.unifistrip__item img { height: 56px; width: auto; margin: 0 auto .9rem; object-fit: contain; }
.unifistrip__k { margin: 0 0 .2rem; font-weight: 700; font-size: .9rem; color: var(--on-dark); }
.unifistrip__v { margin: 0; font-size: .8rem; line-height: 1.4; color: var(--on-dark-2); }
.unifistrip__foot { margin: 0; color: var(--on-dark-2); font-size: 1.02rem; }
.unifistrip__foot strong { color: var(--on-dark); }

@media (max-width: 1000px) {
  .deliv { grid-template-columns: 1fr 1fr; }
  .unifistrip__row { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 620px) {
  .deliv { grid-template-columns: 1fr; }
  .unifistrip__row { grid-template-columns: 1fr 1fr; }
}

/* ---------- book.redriverintegration.com ----------
   A standalone landing page. No nav, one action. Same tokens as the site so it
   themes and reads identically. */
.bookpage { min-height: 100vh; display: flex; flex-direction: column; }
.bookpage__bar {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.4rem clamp(1rem, 4vw, 3rem);
  border-bottom: 1px solid var(--line);
}
.bookpage__bar img { height: 42px; width: auto; }
.bookpage__bar .logo--light { display: none; }
.bookpage__bar .logo--dark { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .bookpage__bar .logo--light { display: block; }
  :root:not([data-theme="light"]) .bookpage__bar .logo--dark { display: none; }
}
:root[data-theme="dark"] .bookpage__bar .logo--light { display: block; }
:root[data-theme="dark"] .bookpage__bar .logo--dark { display: none; }
.bookpage__bartools { display: flex; align-items: center; gap: .8rem; }
.bookpage__bar .header__tel { color: var(--text); }
.bookpage__bar .themer { border-color: var(--line-2); background: var(--bg-raised); color: var(--text); }

.bookpage__main { flex: 1; padding: clamp(2.5rem, 6vw, 5rem) clamp(1rem, 4vw, 3rem); }
.bookpage__grid {
  max-width: 1180px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start;
}
.bookpage__copy h1 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); margin-bottom: 1rem; }
.bookpage__copy .lead { max-width: 46ch; }

.bookpage__facts {
  list-style: none; margin: 1.6rem 0 2rem; padding: 0;
  display: flex; flex-wrap: wrap; gap: .5rem;
}
.bookpage__facts li {
  font-size: .85rem; font-weight: 600; color: var(--text-2);
  background: var(--bg-sunken); border: 1px solid var(--line);
  padding: .45rem .85rem; border-radius: var(--r-pill);
}

.bookpage__points { display: grid; gap: 1.1rem; margin-bottom: 2rem; }
.bookpage__point { display: flex; gap: .75rem; align-items: flex-start; }
.bookpage__point svg {
  flex: 0 0 auto; width: 22px; height: 22px; margin-top: 2px;
  fill: #fff; background: var(--brand-grad); border-radius: var(--r-pill); padding: 1px;
}
.bookpage__k { margin: 0 0 .15rem; font-weight: 700; color: var(--text); font-size: .98rem; }
.bookpage__v { margin: 0; font-size: .9rem; line-height: 1.5; color: var(--text-2); }
.bookpage__alt { margin: 0; font-size: .95rem; color: var(--text-2); }

.bookpage__foot {
  border-top: 1px solid var(--line);
  padding: 1.4rem clamp(1rem, 4vw, 3rem);
  display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap;
  font-size: .87rem; color: var(--text-3);
}
.bookpage__foot nav { display: flex; gap: 1.2rem; }

@media (max-width: 900px) {
  .bookpage__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .bookpage__foot { justify-content: center; text-align: center; }
}
