:root {
  --bay-950: #061f2e;
  --bay-900: #082e45;
  --bay-750: #14536a;
  --bay-500: #2f7f87;
  --garnet: #9b2642;
  --garnet-dark: #6f1730;
  --sun: #f4b942;
  --limestone: #f4f0e7;
  --paper: #fffdf8;
  --ink: #17242a;
  --muted: #56656c;
  --line: #c8d3d2;
  --green: #1f7a55;
  --amber: #b76a00;
  --red: #a62d35;
  --shadow: 0 18px 44px rgb(6 31 46 / 13%);
  --radius: 22px;
  --max: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background:
    linear-gradient(90deg, transparent 49px, rgb(20 83 106 / 5%) 50px, transparent 51px),
    var(--limestone);
  font-family: "Trebuchet MS", "Segoe UI", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.62;
}

img, video, iframe, table, svg { max-width: 100%; }
img { height: auto; }
a { color: var(--bay-750); text-underline-offset: 0.18em; }
a:hover { color: var(--garnet); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 4px solid var(--sun);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  color: white;
  background: var(--garnet-dark);
  transform: translateY(-160%);
}
.skip-link:focus { transform: none; }

.site-header {
  position: relative;
  z-index: 20;
  color: white;
  background: var(--bay-950);
  border-bottom: 5px solid var(--sun);
}

.header-rail {
  display: grid;
  grid-template-columns: minmax(230px, 1fr) minmax(0, 2.2fr) auto;
  gap: 22px;
  align-items: center;
  width: min(var(--max), calc(100% - 34px));
  margin: 0 auto;
  padding: 15px 0;
}

.site-brand {
  display: inline-flex;
  gap: 11px;
  align-items: center;
  color: white;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.1;
  text-decoration: none;
}
.site-brand img { width: 48px; }
.site-brand span span { display: block; color: var(--sun); font-size: 0.72rem; letter-spacing: 0.09em; text-transform: uppercase; }

.primary-nav { min-width: 0; }
.primary-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}
.primary-nav a { color: white; font-size: 0.88rem; font-weight: 700; text-decoration: none; }
.primary-nav a:hover { color: var(--sun); }

.commercial-cta {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 46px;
  padding: 10px 16px;
  color: var(--bay-950);
  background: var(--sun);
  border: 2px solid var(--sun);
  border-radius: 999px;
  box-shadow: 0 6px 0 #9a6300;
  font-size: 0.9rem;
  font-weight: 900;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
}
.commercial-cta:hover { color: white; background: var(--garnet); border-color: var(--garnet); }

main { min-height: 65vh; }
.container { width: min(var(--max), calc(100% - 34px)); margin-inline: auto; }

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: white;
  background: var(--bay-900);
}
.hero::before, .hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 520px;
  height: 270px;
  border: 2px solid rgb(244 240 231 / 18%);
  border-radius: 50%;
  transform: rotate(-9deg);
}
.hero::before { right: -80px; top: 35px; box-shadow: 0 0 0 28px rgb(244 240 231 / 5%), 0 0 0 58px rgb(244 240 231 / 4%); }
.hero::after { left: -300px; bottom: -190px; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 46px;
  align-items: center;
  padding: clamp(58px, 8vw, 104px) 0;
}
.eyebrow {
  margin: 0 0 10px;
  color: var(--sun);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
h1, h2, h3 {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.12;
}
h1 { max-width: 880px; margin: 0 0 20px; font-size: clamp(2.5rem, 6vw, 5.3rem); letter-spacing: -0.045em; }
h2 { margin: 0 0 18px; font-size: clamp(1.85rem, 4vw, 3.15rem); letter-spacing: -0.03em; }
h3 { margin: 0 0 10px; font-size: 1.32rem; }
.hero-copy { max-width: 740px; font-size: clamp(1.04rem, 2vw, 1.28rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.button-secondary, .button-primary {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 11px 18px;
  border-radius: 7px 18px 7px 18px;
  font-weight: 900;
  text-decoration: none;
}
.button-primary { color: var(--bay-950); background: var(--sun); }
.button-secondary { color: white; border: 2px solid rgb(255 255 255 / 50%); }
.button-primary:hover { color: white; background: var(--garnet); }
.button-secondary:hover { color: var(--bay-950); background: white; }

.hero-docket {
  position: relative;
  padding: 26px;
  color: var(--ink);
  background: var(--paper);
  border-radius: 18px 18px 56px 18px;
  box-shadow: var(--shadow);
}
.hero-docket::before { content: ""; position: absolute; inset: 10px; border: 1px solid var(--line); border-radius: 12px 12px 48px 12px; pointer-events: none; }
.docket-number { display: block; color: var(--garnet); font-family: Georgia, serif; font-size: 4.7rem; font-weight: 800; line-height: 0.95; }
.docket-list { margin: 18px 0 0; padding-left: 22px; }

.section { padding: clamp(52px, 7vw, 90px) 0; }
.section--paper { background: var(--paper); }
.section--ink { color: white; background: var(--bay-950); }
.section-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 0.6fr); gap: 36px; align-items: end; margin-bottom: 30px; }
.section-intro p { margin: 0; color: var(--muted); }
.section--ink .section-intro p { color: #c7d9dc; }

.ai-disclosure {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  margin: 34px 0;
  padding: 24px;
  background: #fff8df;
  border: 1px solid #e0c365;
  border-left: 8px solid var(--sun);
  border-radius: 8px 24px 24px 8px;
}
.ai-disclosure strong:first-child { display: grid; place-items: center; width: 56px; height: 56px; color: white; background: var(--garnet); border-radius: 50%; font-family: Georgia, serif; font-size: 1.4rem; }
.ai-disclosure h2 { margin-bottom: 8px; font-size: 1.5rem; }
.ai-disclosure p { margin: 0; }

.legend-grid, .feature-grid, .brand-grid, .footer-grid, .source-grid, .policy-grid {
  display: grid;
  gap: 20px;
}
.legend-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.legend-item { padding: 22px; background: var(--paper); border: 1px solid var(--line); border-radius: 14px 32px 14px 14px; }
.legend-item p { margin: 8px 0 0; }
.signal-shield {
  display: inline-grid;
  place-items: center;
  min-width: 104px;
  min-height: 42px;
  padding: 7px 13px 10px;
  color: white;
  clip-path: polygon(8% 0, 92% 0, 100% 16%, 92% 80%, 50% 100%, 8% 80%, 0 16%);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
[data-signal="green"] .signal-shield, .signal-shield--green { background: var(--green); }
[data-signal="amber"] .signal-shield, .signal-shield--amber { background: var(--amber); }
[data-signal="red"] .signal-shield, .signal-shield--red { background: var(--red); }

.brand-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.brand-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px 34px 10px 34px;
  box-shadow: 0 10px 25px rgb(6 31 46 / 8%);
  transition: transform 160ms ease, box-shadow 160ms ease;
}
.brand-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.brand-card__anchor {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
  padding: 20px;
  color: inherit;
  text-decoration: none;
}
.brand-card__logo { display: grid; place-items: center; min-height: 105px; margin-bottom: 18px; padding: 12px; background: var(--bay-950); border-radius: 5px 22px 5px 22px; }
.brand-card__logo img { width: 100%; max-width: 250px; max-height: 88px; object-fit: contain; }
.brand-card__meta { display: flex; flex-wrap: wrap; gap: 8px; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); }
.domain, .wrap-anywhere { overflow-wrap: anywhere; word-break: break-word; }
.brand-card p { margin: 0 0 17px; color: var(--muted); }

.pier-list { display: grid; gap: 14px; counter-reset: pier; }
.pier-item { position: relative; padding: 19px 20px 19px 72px; background: var(--paper); border: 1px solid var(--line); border-radius: 6px 26px 6px 6px; }
.pier-item::before { counter-increment: pier; content: counter(pier, decimal-leading-zero); position: absolute; left: 16px; top: 16px; color: var(--garnet); font-family: Georgia, serif; font-size: 1.35rem; font-weight: 800; }
.pier-item p { margin: 5px 0 0; }

.page-hero { padding: 58px 0 48px; color: white; background: linear-gradient(120deg, var(--bay-900) 0 69%, var(--garnet-dark) 69%); }
.page-hero h1 { max-width: 980px; font-size: clamp(2.35rem, 6vw, 4.8rem); }
.breadcrumbs { margin-bottom: 16px; font-size: 0.85rem; }
.breadcrumbs a { color: #d9ebed; }
.page-lead { max-width: 820px; font-size: 1.15rem; }

.content-shell { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 36px; align-items: start; }
.content-shell > * { min-width: 0; }
.side-docket { position: sticky; top: 22px; padding: 20px; background: white; border: 1px solid var(--line); border-radius: 8px 28px 8px 8px; }
.side-docket ul { margin: 0; padding-left: 20px; }

.operator-article { min-width: 0; }
.operator-head { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 28px; align-items: center; margin-bottom: 28px; }
.operator-logo { display: grid; place-items: center; min-height: 140px; padding: 18px; background: var(--bay-950); border-radius: 12px 38px 12px 12px; }
.operator-logo img { max-height: 110px; object-fit: contain; }
.verdict-block { padding: 22px; background: white; border: 1px solid var(--line); border-radius: 12px 30px 12px 12px; box-shadow: 0 8px 20px rgb(6 31 46 / 7%); }
.verdict-block h2 { margin-top: 16px; font-size: 1.85rem; }
.fact-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; overflow: hidden; margin: 22px 0; background: var(--line); border: 1px solid var(--line); border-radius: 9px 26px 9px 9px; }
.fact { min-width: 0; padding: 16px; background: white; }
.fact small { display: block; color: var(--muted); font-size: 0.74rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
.fact strong { display: block; overflow-wrap: anywhere; }

.evidence-rail { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin: 30px 0; }
.evidence-card { min-width: 0; margin: 0; padding: 12px; background: white; border: 1px solid var(--line); border-radius: 8px 28px 8px 8px; }
.evidence-card img { display: block; width: 100%; aspect-ratio: 16 / 11; object-fit: contain; background: #e8eceb; border-radius: 4px 20px 4px 4px; }
.evidence-card figcaption { padding: 12px 4px 3px; font-size: 0.9rem; }
.evidence-type { color: var(--garnet); font-weight: 900; }

.callout { margin: 26px 0; padding: 20px 22px; background: #e7f2f1; border-left: 7px solid var(--bay-500); border-radius: 6px 20px 20px 6px; }
.warning { background: #fff0e2; border-left-color: var(--amber); }
.danger { background: #fbe9ec; border-left-color: var(--red); }
.contextual-cta { display: flex; flex-wrap: wrap; gap: 18px; justify-content: space-between; align-items: center; margin: 30px 0; padding: 24px; color: white; background: var(--bay-900); border-radius: 8px 34px 8px 8px; }
.contextual-cta p { max-width: 660px; margin: 0; }

.feature-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.feature-card { padding: 24px; background: white; border-top: 6px solid var(--bay-500); border-radius: 7px 28px 7px 7px; }
.feature-card:nth-child(2) { border-color: var(--sun); }
.feature-card:nth-child(3) { border-color: var(--garnet); }
.feature-card p:last-child { margin-bottom: 0; }

.policy-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.policy-card { padding: 24px; background: white; border: 1px solid var(--line); border-radius: 8px 28px 8px 8px; }
.policy-card p:last-child { margin-bottom: 0; }

.contact-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; max-width: 850px; }
.field { min-width: 0; }
.field--full { grid-column: 1 / -1; }
label { display: block; margin-bottom: 6px; font-weight: 800; }
input, textarea, select {
  width: 100%;
  max-width: 100%;
  padding: 13px 14px;
  color: var(--ink);
  background: white;
  border: 2px solid #98aaae;
  border-radius: 6px 15px 6px 6px;
  font: inherit;
}
textarea { min-height: 190px; resize: vertical; }
button { padding: 13px 20px; color: white; background: var(--garnet); border: 0; border-radius: 6px 18px 6px 6px; font: inherit; font-weight: 900; cursor: pointer; }

.sitemap-list { columns: 2 300px; gap: 40px; padding-left: 22px; }
.sitemap-list li { break-inside: avoid; margin-bottom: 9px; }

.site-footer { color: #dce9ea; background: var(--bay-950); border-top: 6px solid var(--garnet); }
.footer-grid { grid-template-columns: 1.2fr repeat(3, minmax(0, 1fr)); padding: 48px 0 30px; }
.footer-grid h2 { color: white; font-size: 1.05rem; font-family: inherit; letter-spacing: 0.05em; text-transform: uppercase; }
.footer-grid ul { margin: 0; padding: 0; list-style: none; }
.footer-grid a { color: #dce9ea; }
.footer-note { padding: 20px 0 30px; border-top: 1px solid rgb(255 255 255 / 15%); font-size: 0.84rem; }

@media (max-width: 960px) {
  .header-rail { grid-template-columns: 1fr auto; }
  .primary-nav { grid-column: 1 / -1; grid-row: 2; }
  .hero-grid, .content-shell { grid-template-columns: 1fr; }
  .side-docket { position: static; }
  .brand-grid, .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  body { font-size: 16px; }
  .header-rail { grid-template-columns: 1fr; width: min(100% - 24px, var(--max)); }
  .primary-nav { grid-column: auto; grid-row: auto; }
  .primary-nav ul { align-items: stretch; gap: 4px 8px; }
  .primary-nav li { flex: 1 1 42%; }
  .primary-nav a { display: block; padding: 7px 4px; }
  .commercial-cta { justify-self: stretch; }
  .container { width: min(100% - 24px, var(--max)); }
  .hero-grid { gap: 30px; padding: 52px 0; }
  h1 { font-size: clamp(2.3rem, 13vw, 3.7rem); }
  .section-intro, .ai-disclosure, .operator-head { grid-template-columns: 1fr; }
  .ai-disclosure strong:first-child { width: 46px; height: 46px; }
  .legend-grid, .brand-grid, .feature-grid, .policy-grid, .evidence-rail, .footer-grid, .fact-strip { grid-template-columns: 1fr; }
  .operator-head { gap: 18px; }
  .contact-form { grid-template-columns: 1fr; }
  .field--full { grid-column: auto; }
  .page-hero { background: var(--bay-900); }
  .pier-item { padding-left: 60px; }
  .contextual-cta { align-items: stretch; }
  .contextual-cta .commercial-cta { width: 100%; }
}

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

/* Generated dossier table containment */
.dossier{min-width:0}.dossier table{display:block;width:100%;max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}

/* Homepage secondary operator links */
.all-brand-links ul{display:flex;flex-wrap:wrap;gap:.65rem;list-style:none;padding:0}.all-brand-links a{display:inline-block;padding:.55rem .8rem;border:1px solid currentColor;border-radius:999px}

/* Long policy references stay inside mobile viewport */
.policy,.policy a{min-width:0;overflow-wrap:anywhere;word-break:break-word}

/* Contextual homepage CTA */
.contextual-cta{display:flex;justify-content:center;padding:1.1rem 1rem}
