/* ==========================================================================
   NitrousWeb — site stylesheet
   Palette: petrol ink on cool paper, with a single amber accent.
   ========================================================================== */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/Archivo.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}
@font-face {
  font-family: "Source Serif 4";
  src: url("../fonts/SourceSerif4.woff2") format("woff2");
  font-weight: 200 900;
  font-display: swap;
}

:root {
  /* Ink ramp */
  --ink: #08202A;
  --ink-2: #0D2E3A;
  --ink-soft: #1B3D49;
  --slate: #4D6873;
  --slate-light: #6B868F;

  /* Surfaces */
  --paper: #F0F4F4;
  --paper-sunk: #E6EEEE;
  --surface: #FFFFFF;
  --rule: #DCE6E7;
  --rule-strong: #B8C9CC;

  /* Brand */
  --brand: #0B6B7B;
  --brand-deep: #07535F;
  --brand-bright: #23A3B8;
  --brand-wash: #E2EFF1;
  --brand-tint: #F4FAFA;

  /* Accent */
  --amber: #E8A33C;
  --amber-deep: #B87716;
  --amber-wash: #FBF0DC;

  /* On dark */
  --on-dark: #BCD2D8;
  --on-dark-dim: #8EA9B2;
  --rule-dark: #1D414E;

  --ok: #0F6B45;
  --err: #A3231C;

  --sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;

  --wrap: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --band: clamp(72px, 10vw, 128px);
  --header-h: 72px;

  --r-sm: 8px;
  --r: 12px;
  --r-lg: 18px;
  --r-xl: 24px;
  --pill: 999px;

  --sh-1: 0 1px 2px rgba(8, 32, 42, .06), 0 1px 1px rgba(8, 32, 42, .04);
  --sh-2: 0 2px 4px rgba(8, 32, 42, .05), 0 10px 20px -10px rgba(8, 32, 42, .18);
  --sh-3: 0 4px 10px rgba(8, 32, 42, .05), 0 26px 46px -26px rgba(8, 32, 42, .34);
  --sh-brand: 0 8px 18px -8px rgba(11, 107, 123, .55);

  --ease: cubic-bezier(.22, .61, .36, 1);
  --dur: .18s;
}

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

html {
  color-scheme: light;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 24px);
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection { background: var(--amber-wash); color: var(--ink); }

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

a {
  color: var(--brand);
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: color var(--dur) var(--ease);
}
a:hover { color: var(--brand-deep); }

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 4px;
}

h1, h2, h3, h4 { margin: 0; color: var(--ink); font-weight: 700; }
h1, .display { text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
hr { border: 0; border-top: 1px solid var(--rule); margin: 2em 0; }

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

.skip-link {
  position: absolute; left: 16px; top: -64px; z-index: 100;
  background: var(--ink); color: #fff; padding: 11px 18px;
  border-radius: var(--r-sm); font-weight: 600; text-decoration: none;
  box-shadow: var(--sh-2);
}
.skip-link:focus { top: 12px; color: #fff; }

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

/* ---------- Type ---------- */

.display {
  font-size: clamp(2.7rem, 6.4vw, 5.4rem);
  font-stretch: 116%;
  font-weight: 780;
  line-height: .97;
  letter-spacing: -0.028em;
}
.h-section {
  font-size: clamp(1.95rem, 3.6vw, 3.1rem);
  font-stretch: 110%;
  font-weight: 740;
  line-height: 1.04;
  letter-spacing: -0.022em;
}
.h-sub {
  font-size: 1.3rem;
  font-stretch: 104%;
  font-weight: 660;
  line-height: 1.25;
  letter-spacing: -0.005em;
}
.lede {
  font-size: clamp(1.15rem, 1.6vw, 1.32rem);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 58ch;
  text-wrap: pretty;
}
.muted { color: var(--slate); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 26px;
  font: 620 1rem/1 var(--sans); font-stretch: 104%;
  border-radius: var(--pill); border: 1.5px solid transparent;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease),
              border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
              transform var(--dur) var(--ease);
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--brand); color: #fff;
  box-shadow: 0 1px 2px rgba(8, 32, 42, .18);
}
.btn-primary:hover { background: var(--brand-deep); color: #fff; box-shadow: var(--sh-brand); }

.btn-line {
  border-color: var(--rule-strong); color: var(--ink); background: transparent;
}
.btn-line:hover {
  border-color: var(--ink); color: var(--ink);
  background: var(--surface); box-shadow: var(--sh-1);
}

.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--amber-wash); color: var(--ink); box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .5); }

.btn-sm { min-height: 42px; padding: 0 20px; font-size: .95rem; }

/* ---------- Brand mark ---------- */

.mk-a { fill: var(--brand); }
.mk-b { fill: var(--amber); }
.site-footer .brand .mk-a { fill: var(--brand-bright); }

/* ---------- Header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(240, 244, 244, .82);
  backdrop-filter: saturate(170%) blur(12px);
  -webkit-backdrop-filter: saturate(170%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease);
}
.site-header.is-scrolled {
  background: rgba(240, 244, 244, .94);
  border-bottom-color: var(--rule);
  box-shadow: 0 1px 24px -12px rgba(8, 32, 42, .5);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-h); gap: 24px;
}

.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand svg { width: 34px; height: 28px; flex: none; }
.brand-word { font-size: 1.28rem; font-weight: 800; font-stretch: 118%; letter-spacing: -0.022em; }

.nav { display: flex; align-items: center; gap: 2px; }
.nav a:not(.btn) {
  position: relative;
  color: var(--ink-soft); text-decoration: none; font-weight: 520; font-size: .98rem;
  padding: 9px 13px; border-radius: var(--r-sm);
  transition: color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.nav a:not(.btn):hover { color: var(--ink); background: rgba(8, 32, 42, .05); }
.nav a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 13px; right: 13px; bottom: 2px;
  height: 2px; border-radius: 2px; background: var(--brand);
}
.nav .btn { margin-left: 14px; }

.nav-toggle {
  display: none; background: var(--surface); border: 1px solid var(--rule-strong); border-radius: var(--r-sm);
  width: 44px; height: 44px; align-items: center; justify-content: center; cursor: pointer; color: var(--ink);
  transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.nav-toggle:hover { border-color: var(--ink); }
.nav-toggle svg { width: 22px; height: 22px; }

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute; left: 0; right: 0; top: var(--header-h);
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--surface); border-bottom: 1px solid var(--rule);
    box-shadow: var(--sh-2);
    padding: 8px var(--gutter) 22px;
    display: none;
  }
  .nav.is-open { display: flex; }
  @media (prefers-reduced-motion: no-preference) {
    .nav.is-open { animation: navIn .22s var(--ease) both; }
  }
  .nav a:not(.btn) {
    padding: 15px 4px; border-bottom: 1px solid var(--rule); border-radius: 0; font-size: 1.05rem;
  }
  .nav a:not(.btn):hover { background: transparent; color: var(--brand); }
  .nav a[aria-current="page"] { padding-left: 14px; box-shadow: inset 3px 0 0 var(--brand); }
  .nav a[aria-current="page"]::after { display: none; }
  .nav .btn { margin: 20px 0 0; }
}
@keyframes navIn { from { opacity: 0; transform: translateY(-6px); } }

/* ---------- Reading progress (long-form pages) ---------- */

.progress {
  position: fixed; top: 0; left: 0; z-index: 60;
  height: 2px; width: 100%; transform: scaleX(0); transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--brand), var(--brand-bright));
}

/* ---------- Sections ---------- */

.band { padding: var(--band) 0; }
.band-tight { padding: calc(var(--band) * .65) 0; }
.band-white { background: var(--surface); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.band-ink { background: var(--ink); color: var(--on-dark); }
.band-ink h2, .band-ink h3 { color: #fff; }
.band-ink a { color: #fff; }

.band-blue {
  background: linear-gradient(115deg, var(--brand-deep) 0%, var(--brand) 62%, #0A7A8C 100%);
  color: #DCEDEF;
  position: relative; overflow: hidden;
}
.band-blue::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(60% 120% at 92% 0%, rgba(232, 163, 60, .20), transparent 60%);
  pointer-events: none;
}
.band-blue .wrap { position: relative; }
.band-blue h2 { color: #fff; }

.section-head {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px 64px; align-items: end; margin-bottom: clamp(40px, 5vw, 64px);
}
.section-head .lede { margin: 0; }
@media (max-width: 860px) { .section-head { grid-template-columns: 1fr; } }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 8vw, 104px);
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto -10%; height: 140%;
  background:
    radial-gradient(46% 50% at 78% 26%, rgba(11, 107, 123, .11), transparent 66%),
    radial-gradient(52% 40% at 20% 100%, rgba(11, 107, 123, .05), transparent 70%);
  pointer-events: none;
}
.hero > .wrap { position: relative; }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: clamp(40px, 6vw, 88px); align-items: center;
}
.hero h1 { margin-bottom: 28px; font-size: clamp(2.6rem, 5.3vw, 4.6rem); }
.hero .lede { margin-bottom: 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.facts {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: clamp(48px, 6vw, 72px) 0 0; border-top: 1px solid var(--rule-strong);
}
.facts div { padding: 20px 20px 0 0; }
.facts dt { font-weight: 700; font-stretch: 112%; font-size: 1.12rem; letter-spacing: -0.012em; }
.facts dd { margin: 3px 0 0; color: var(--slate); font-size: .95rem; }
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero h1 { max-width: 14ch; }
  .trace { max-width: 560px; }
}
@media (max-width: 560px) {
  .facts { grid-template-columns: 1fr; }
  .facts div { border-bottom: 1px solid var(--rule); padding: 16px 0; }
}

/* Search-to-checkout illustration */
.trace { position: relative; margin: 0; padding-bottom: 154px; }
.serp {
  position: relative; z-index: 1;
  background: var(--surface); border: 1px solid var(--rule); border-radius: var(--r-xl);
  box-shadow: var(--sh-3);
  padding: 22px; width: 92%;
  font-family: arial, "Helvetica Neue", Helvetica, sans-serif;
}
.serp-bar {
  display: flex; align-items: center; gap: 13px;
  border: 1px solid #dfe1e5; border-radius: var(--pill); padding: 12px 18px; margin-bottom: 22px;
  font-size: 1rem; color: #202124; background: #fff;
  box-shadow: 0 1px 6px rgba(32, 33, 36, .08);
}
.serp-bar svg { width: 18px; height: 18px; color: #9aa0a6; flex: none; }
.serp-bar .caret { width: 1.5px; height: 1.15em; background: #4285F4; margin-left: -9px; }
.serp ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.serp li { padding: 10px 14px; border-radius: var(--r); }

.result-head { display: flex; align-items: center; gap: 10px; margin-bottom: 7px; }
.result-favicon {
  flex: none; width: 26px; height: 26px; border-radius: 50%;
  background: #fff; border: 1px solid #dadce0;
  display: grid; place-items: center;
}
.result-favicon svg { width: 15px; height: 13px; }
.serp .result-site { display: block; font-size: .875rem; color: #202124; line-height: 1.2; }
.serp .result-url { display: block; font-size: .78rem; color: #4d5156; line-height: 1.3; }
.serp .result-title {
  display: block; font-size: 1.15rem; font-weight: 400; color: #1a0dab;
  line-height: 1.3; letter-spacing: 0;
}
.serp .result-snip { display: block; font-size: .875rem; color: #4d5156; margin-top: 5px; line-height: 1.58; }
.serp .is-ours { background: #F5FAFB; box-shadow: inset 3px 0 0 var(--brand); }
.serp .ghost { padding-top: 14px; padding-bottom: 14px; }
.serp .ghost span { display: block; height: 9px; border-radius: 5px; background: #E8EAED; }
.serp .ghost span + span { margin-top: 9px; width: 78%; }
.serp .ghost span:first-child { width: 42%; height: 7px; }
.serp .ghost span:nth-child(2) { height: 12px; width: 70%; }
.serp .ghost span:nth-child(3) { width: 88%; }

.trace-line { position: absolute; left: 0; top: 0; width: 100%; height: 100%; z-index: 2; overflow: visible; }
.trace-line:not(.is-set) { display: none; }
.trace-line path {
  fill: none; stroke: var(--brand); stroke-width: 2.25; stroke-linecap: round;
  stroke-dasharray: 1 0; opacity: .9;
}
.trace-dot { fill: var(--brand); }

.checkout {
  position: absolute; right: 0; bottom: 20px; z-index: 3; width: min(252px, 58%);
  background: linear-gradient(160deg, var(--ink-2), var(--ink));
  color: #fff; border-radius: var(--r-lg); padding: 18px 20px;
  box-shadow: 0 30px 54px -26px rgba(8, 32, 42, .7);
}
.checkout-top { display: flex; align-items: center; justify-content: space-between; font-size: .8rem; color: var(--on-dark-dim); margin-bottom: 14px; }
.checkout-top i { display: inline-flex; gap: 5px; font-style: normal; }
.checkout-top i b { width: 7px; height: 7px; border-radius: 50%; background: #35596A; }
.checkout-row { display: flex; align-items: center; gap: 12px; }
.checkout-check {
  flex: none; width: 36px; height: 36px; border-radius: 50%;
  background: var(--amber); color: var(--ink); display: grid; place-items: center;
  box-shadow: 0 0 0 5px rgba(232, 163, 60, .16);
}
.checkout-check svg { width: 18px; height: 18px; }
.checkout strong { display: block; font-stretch: 108%; font-size: 1.05rem; }
.checkout small { color: var(--on-dark-dim); font-size: .82rem; }
.trace figcaption {
  position: absolute; left: 0; bottom: 6px; max-width: 39%;
  padding-top: 12px; border-top: 1px solid var(--rule-strong);
  font-size: .8rem; color: var(--slate); line-height: 1.45;
}

@media (prefers-reduced-motion: no-preference) {
  .js .trace-line path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.1s cubic-bezier(.6, .05, .3, 1) .5s forwards; }
  .js .checkout { opacity: 0; transform: translateY(12px) scale(.98); animation: land .45s cubic-bezier(.2, .8, .2, 1) 1.45s forwards; }
  .js .serp-bar .caret { animation: blink 1s steps(1) infinite; }
  .js .trace-dot { opacity: 0; animation: dotIn .3s ease .5s forwards; }
}
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes land { to { opacity: 1; transform: none; } }
@keyframes blink { 50% { opacity: 0; } }
@keyframes dotIn { to { opacity: 1; } }

@media (max-width: 560px) {
  .trace { padding-bottom: 160px; }
  .serp { width: 90%; padding: 14px; }
  .serp-bar { font-size: .88rem; padding: 10px 14px; }
  .serp-bar .caret { display: none; }
  .checkout { width: 62%; padding: 14px 16px; }
  .checkout strong { font-size: .95rem; }
  .trace figcaption { max-width: 38%; font-size: .74rem; }
}

/* ---------- Channels ---------- */

.channels { border-top: 1.5px solid var(--ink); }
.channel {
  display: grid; grid-template-columns: minmax(0, 3.2fr) minmax(0, 5fr) minmax(0, 2.4fr);
  gap: 16px 48px; padding: 32px 0; border-bottom: 1px solid var(--rule-strong); align-items: start;
}
.channel h3 { font-size: 1.45rem; font-stretch: 110%; font-weight: 720; letter-spacing: -0.014em; }
.channel p { margin: 0; color: var(--ink-soft); max-width: 60ch; }
.channel-status { display: grid; gap: 12px; justify-items: start; }
.status {
  font-size: .86rem; font-weight: 620; padding: 5px 13px; border-radius: var(--pill);
  border: 1px solid currentColor; letter-spacing: .005em;
}
.status-primary { color: var(--brand-deep); background: var(--brand-wash); border-color: transparent; }
.status-selective { color: var(--ink-soft); }
.status-testing { color: var(--slate); border-style: dashed; }
.meter { display: flex; gap: 4px; width: 100%; max-width: 180px; }
.meter span { flex: 1; height: 6px; border-radius: 3px; background: var(--rule); }
.meter .on { background: var(--brand); }
.meter .trial { background: repeating-linear-gradient(135deg, var(--amber) 0 3px, transparent 3px 6px); }
@media (max-width: 860px) {
  .channel { grid-template-columns: 1fr; gap: 12px; }
  .channel-status { grid-row: 2; grid-template-columns: auto 1fr; align-items: center; }
}

/* ---------- Process ---------- */

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); counter-reset: step; }
.steps li { counter-increment: step; padding: 0 24px 0 0; position: relative; }
.steps li::before {
  content: counter(step);
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  border: 1.5px solid var(--ink); font-weight: 700; font-stretch: 110%; margin-bottom: 22px;
  background: var(--surface); position: relative; z-index: 1; box-shadow: var(--sh-1);
}
.steps li::after { content: ""; position: absolute; left: 44px; right: 0; top: 22px; height: 1.5px; background: var(--rule-strong); }
.steps li:last-child::after { display: none; }
.steps li:last-child::before { border-color: var(--brand); color: var(--brand); }
.steps h3 { font-size: 1.15rem; font-stretch: 106%; font-weight: 680; margin-bottom: 8px; }
.steps p { color: var(--slate); font-size: .98rem; margin: 0; }
@media (max-width: 960px) {
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps li { display: grid; grid-template-columns: 44px 1fr; column-gap: 20px; padding: 0 0 32px; }
  .steps li::before { grid-row: span 2; margin: 0; }
  .steps li::after { left: 21px; top: 44px; bottom: 0; right: auto; width: 1.5px; height: auto; }
}

/* ---------- Compliance ---------- */

.rules-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 96px); }
.rules-intro .h-section { margin-bottom: 22px; }
.rules-intro p { color: var(--on-dark); max-width: 44ch; }
.rules-intro a { color: #fff; text-decoration-color: rgba(255, 255, 255, .45); }
.rules-intro a:hover { color: #fff; text-decoration-color: #fff; }
.rules-lists { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.rules-lists h3 { font-size: 1.05rem; font-weight: 650; color: #fff; padding-bottom: 14px; border-bottom: 1px solid #33606E; margin-bottom: 4px; }
.rules-lists ul { list-style: none; margin: 0; padding: 0; }
.rules-lists li { padding: 14px 0 14px 32px; border-bottom: 1px solid var(--rule-dark); position: relative; font-size: .98rem; line-height: 1.5; }
.rules-lists li:last-child { border-bottom: 0; }
.rules-lists li svg { position: absolute; left: 0; top: 16px; width: 20px; height: 20px; }
.rules-yes svg { color: var(--brand-bright); }
.rules-no svg { color: #708C97; }
@media (max-width: 960px) { .rules-grid { grid-template-columns: 1fr; } }
@media (max-width: 620px) { .rules-lists { grid-template-columns: 1fr; } }

/* ---------- Categories / split ---------- */

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.cat-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; }
.cat-list li { padding: 16px 0; border-top: 1px solid var(--rule); }
.cat-list.single { grid-template-columns: 1fr; }
.cat-list strong { display: block; font-weight: 650; font-stretch: 104%; }
.cat-list span { color: var(--slate); font-size: .95rem; }
@media (max-width: 560px) { .cat-list { grid-template-columns: 1fr; } }

.place { border-left: 3px solid var(--amber); padding: 6px 0 6px 24px; margin-top: 32px; }
.place strong { display: block; font-stretch: 112%; font-size: 1.5rem; font-weight: 720; letter-spacing: -0.014em; }
.place span { color: var(--slate); }

/* ---------- Article list ---------- */

.post-list { list-style: none; margin: 0; padding: 0; border-top: 1.5px solid var(--ink); }
.post-list li { border-bottom: 1px solid var(--rule-strong); }
.post-list a {
  display: grid; grid-template-columns: 160px minmax(0, 1fr) 120px; gap: 12px 40px;
  padding: 28px 0; text-decoration: none; color: var(--ink); align-items: baseline;
  transition: background-color var(--dur) var(--ease);
}
.post-list a:hover { background: linear-gradient(90deg, var(--brand-tint), transparent 70%); }
.post-list time, .post-list .read { color: var(--slate); font-size: .92rem; }
.post-list .read { text-align: right; }
.post-list h3 {
  font-size: clamp(1.2rem, 2vw, 1.5rem); font-stretch: 106%; font-weight: 680;
  line-height: 1.25; letter-spacing: -0.014em;
  transition: color var(--dur) var(--ease);
}
.post-list p { margin: 8px 0 0; color: var(--slate); max-width: 64ch; }
.post-list a:hover h3 { color: var(--brand); }
.post-list a:hover .read { color: var(--brand); }
@media (max-width: 760px) {
  .post-list a { grid-template-columns: 1fr; gap: 6px; }
  .post-list .read { text-align: left; }
}

/* ---------- CTA band ---------- */

.cta-inner { display: flex; align-items: end; justify-content: space-between; gap: 32px 64px; flex-wrap: wrap; }
.cta-inner h2 { max-width: 16ch; margin-bottom: 16px; }
.cta-inner p { margin: 0; max-width: 48ch; color: #D3E7EA; font-size: 1.1rem; }

/* ---------- Page head (inner pages) ---------- */

.page-head {
  position: relative;
  padding: clamp(56px, 8vw, 104px) 0 clamp(40px, 5vw, 64px);
  border-bottom: 1px solid var(--rule);
  background:
    radial-gradient(42% 90% at 88% 0%, rgba(11, 107, 123, .08), transparent 70%);
}
.page-head h1 {
  font-size: clamp(2.4rem, 5.2vw, 4.3rem); font-stretch: 114%; font-weight: 770;
  line-height: 1; letter-spacing: -0.028em; max-width: 16ch; margin-bottom: 22px;
}
.page-head .lede { margin: 0; }
.crumbs { font-size: .9rem; color: var(--slate); margin-bottom: 20px; }
.crumbs a { color: var(--slate); text-decoration-color: var(--rule-strong); }
.crumbs a:hover { color: var(--brand); }

/* ---------- Service blocks ---------- */

.service {
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 24px 72px;
  padding: clamp(40px, 5vw, 64px) 0; border-bottom: 1px solid var(--rule);
}
.service:last-child { border-bottom: 0; }
.service-name h2 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); font-stretch: 110%; font-weight: 730; line-height: 1.08; letter-spacing: -0.018em; margin-bottom: 14px; }
.service-body > p { font-size: 1.1rem; color: var(--ink-soft); max-width: 62ch; }
.ticks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.ticks li { padding: 12px 0 12px 30px; border-top: 1px solid var(--rule); position: relative; font-size: .98rem; }
.ticks li::before {
  content: ""; position: absolute; left: 3px; top: 20px; width: 12px; height: 7px;
  border-left: 2px solid var(--brand); border-bottom: 2px solid var(--brand); transform: rotate(-45deg);
}
@media (max-width: 860px) { .service { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .ticks { grid-template-columns: 1fr; } }

/* ---------- Publisher profile table ---------- */

.profile {
  width: 100%; border-collapse: separate; border-spacing: 0; background: var(--surface);
  border: 1px solid var(--rule); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-1);
}
.profile th, .profile td { text-align: left; vertical-align: top; padding: 18px 24px; border-bottom: 1px solid var(--rule); }
.profile tr:last-child th, .profile tr:last-child td { border-bottom: 0; }
.profile th { width: 32%; font-weight: 620; color: var(--slate); font-size: .95rem; background: var(--brand-tint); }
.profile td { color: var(--ink); }
@media (max-width: 640px) {
  .profile th, .profile td { display: block; width: 100%; }
  .profile th { border-bottom: 0; padding-bottom: 2px; background: none; }
  .profile td { padding-top: 0; }
}

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

.faq { border-top: 1.5px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--rule-strong); }
.faq summary {
  list-style: none; cursor: pointer; padding: 24px 52px 24px 0; position: relative;
  font-size: 1.15rem; font-weight: 640; font-stretch: 104%;
  transition: color var(--dur) var(--ease);
}
.faq summary:hover { color: var(--brand); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after, .faq summary::before {
  content: ""; position: absolute; right: 10px; top: 50%; width: 15px; height: 2px;
  border-radius: 2px; background: currentColor; transition: transform .22s var(--ease);
}
.faq summary::before { transform: rotate(90deg); }
.faq details[open] summary { color: var(--brand); }
.faq details[open] summary::before { transform: rotate(0deg); }
.faq .answer { padding: 0 0 26px; color: var(--ink-soft); max-width: 70ch; }
@media (prefers-reduced-motion: no-preference) {
  .faq details[open] .answer { animation: fadeUp .26s var(--ease) both; }
}
@keyframes fadeUp { from { opacity: 0; transform: translateY(-4px); } }

/* ---------- Principles ---------- */

.principles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1.5px solid var(--ink); }
.principles div { padding: 28px 32px 8px 0; }
.principles div + div { padding-left: 32px; border-left: 1px solid var(--rule); }
.principles h3 { font-size: 1.25rem; font-stretch: 108%; font-weight: 700; margin-bottom: 10px; }
.principles p { color: var(--slate); margin: 0; }
@media (max-width: 860px) {
  .principles { grid-template-columns: 1fr; }
  .principles div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--rule); }
}

/* ---------- Long-form (legal + insights) ---------- */

.doc-layout {
  display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(32px, 6vw, 96px);
  padding-top: clamp(48px, 6vw, 80px); padding-bottom: var(--band);
}
.toc { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; font-size: .92rem; }
.toc p { font-weight: 650; margin-bottom: 10px; }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--rule-strong); }
.toc a {
  display: block; padding: 7px 0 7px 16px; color: var(--slate); text-decoration: none;
  line-height: 1.35; margin-left: -1px; border-left: 2px solid transparent;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.toc a:hover { color: var(--ink); border-left-color: var(--rule-strong); }
.toc a.is-current { color: var(--brand); border-left-color: var(--brand); font-weight: 600; }
@media (max-width: 900px) { .doc-layout { grid-template-columns: minmax(0, 1fr); } .toc { position: static; } }

.prose { font-family: var(--serif); font-size: 1.14rem; line-height: 1.75; color: #16323D; max-width: 68ch; }
.prose h2 { font-family: var(--sans); font-size: 1.55rem; font-stretch: 108%; font-weight: 720; letter-spacing: -0.014em; line-height: 1.2; margin: 2.2em 0 .6em; scroll-margin-top: calc(var(--header-h) + 28px); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-family: var(--sans); font-size: 1.18rem; font-weight: 660; margin: 1.8em 0 .5em; scroll-margin-top: calc(var(--header-h) + 28px); }
.prose a { text-decoration-thickness: 1px; text-underline-offset: 4px; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--brand); }
.prose blockquote {
  margin: 1.6em 0; padding: 4px 0 4px 26px; border-left: 3px solid var(--amber);
  font-style: italic; color: var(--ink-soft);
}
.prose .note {
  font-family: var(--sans); font-size: 1rem; background: var(--brand-tint);
  border: 1px solid var(--brand-wash); border-left: 3px solid var(--brand);
  border-radius: var(--r); padding: 18px 22px; margin: 1.8em 0; line-height: 1.55;
}
.prose .note p:last-child { margin: 0; }
.prose table { width: 100%; border-collapse: collapse; font-family: var(--sans); font-size: .95rem; margin: 1.6em 0; }
.prose th, .prose td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--rule); vertical-align: top; }
.prose thead th { border-bottom: 1.5px solid var(--ink); }
.prose th { font-weight: 650; }
.prose tbody tr:hover { background: var(--brand-tint); }
.table-scroll { overflow-x: auto; }
.meta-line { font-size: .95rem; color: var(--slate); margin-top: 18px; }

.article-head { max-width: 880px; }
.article-head h1 { max-width: 20ch; }
.article-wrap {
  display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: clamp(32px, 6vw, 96px);
  padding-top: clamp(48px, 6vw, 80px); padding-bottom: var(--band);
}
.article-aside {
  align-self: start; position: sticky; top: calc(var(--header-h) + 32px);
  border-top: 1.5px solid var(--ink); padding-top: 18px; font-size: .95rem;
}
.article-aside h2 { font-size: 1rem; font-weight: 650; margin-bottom: 8px; }
.article-aside p { color: var(--slate); }
@media (max-width: 900px) { .article-wrap { grid-template-columns: minmax(0, 1fr); } .article-aside { position: static; } }

/* ---------- Contact ---------- */

.contact-grid {
  display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: clamp(40px, 6vw, 96px);
  padding-top: clamp(48px, 6vw, 80px); padding-bottom: var(--band);
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }
.form {
  background: var(--surface); border: 1px solid var(--rule); border-radius: var(--r-xl);
  padding: clamp(24px, 4vw, 40px); box-shadow: var(--sh-2);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 20px; }
.field label, .field legend { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 7px; }
.field .hint { font-weight: 400; color: var(--slate); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--paper); border: 1px solid var(--rule-strong); border-radius: var(--r-sm);
  padding: 12px 14px;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--slate-light); }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand); background: #fff;
  box-shadow: 0 0 0 3px rgba(11, 107, 123, .16);
}
fieldset.field { border: 0; padding: 0; margin: 0 0 20px; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choices label { font-weight: 500; margin: 0; }
.choices input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choices span {
  display: inline-block; padding: 9px 16px; border: 1px solid var(--rule-strong);
  border-radius: var(--pill); cursor: pointer; font-size: .95rem;
  transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.choices span:hover { border-color: var(--brand); color: var(--brand); }
.choices input:checked + span { background: var(--brand); border-color: var(--brand); color: #fff; }
.choices input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; color: var(--slate); margin-bottom: 24px; }
.consent input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--brand); flex: none; }
.form-status { margin: 16px 0 0; font-size: .95rem; }
.form-status.is-error { color: var(--err); }
.form-status.is-ok { color: var(--ok); }

.contact-side h2 { font-size: 1.1rem; font-weight: 660; margin-bottom: 6px; }
.contact-side > div { padding: 22px 0; border-top: 1px solid var(--rule-strong); }
.contact-side > div:first-child { border-top-color: var(--ink); border-top-width: 1.5px; }
.contact-side p { margin: 0; color: var(--ink-soft); }
.contact-side .big { font-size: 1.3rem; font-stretch: 108%; font-weight: 650; }

/* ---------- 404 ---------- */

.lost { min-height: 58vh; display: grid; align-content: center; padding-top: var(--band); padding-bottom: var(--band); }
.lost .display { max-width: 14ch; margin-bottom: 24px; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--ink); color: var(--on-dark);
  padding: clamp(56px, 7vw, 88px) 0 32px; font-size: .95rem;
}
.site-footer a { color: #D5E4E7; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer-top {
  display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
  gap: 40px; padding-bottom: 48px; border-bottom: 1px solid var(--rule-dark);
}
.footer-brand .brand { color: #fff; margin-bottom: 18px; }
.footer-brand .brand:hover { color: #fff; }
.footer-brand p { max-width: 34ch; color: var(--on-dark-dim); }
.site-footer h2 { font-size: .95rem; font-weight: 650; color: #fff; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 10px; }
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px 32px;
  padding-top: 24px; font-size: .88rem; color: var(--on-dark-dim);
}
.footer-bottom p { margin: 0; }
.footer-disclosure { max-width: 72ch; }
@media (max-width: 860px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-top { grid-template-columns: 1fr; } }

/* ---------- Print ---------- */

@media print {
  .site-header, .site-footer, .toc, .article-aside, .nav-toggle, .progress, .hero-actions { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .band, .band-tight { padding: 12pt 0; }
  .band-ink, .band-blue { background: #fff !important; color: #000 !important; }
  .band-ink h2, .band-ink h3, .band-blue h2 { color: #000 !important; }
  .doc-layout, .article-wrap { grid-template-columns: 1fr; padding-top: 0; }
  .prose { max-width: none; }
  a { color: #000; }
  .prose a::after { content: " (" attr(href) ")"; font-size: .85em; color: #444; }
}
