@font-face {
  font-family: "Newsreader";
  src: url("/assets/fonts/newsreader-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}

@font-face {
  font-family: "Source Sans 3";
  src: url("/assets/fonts/source-sans-3-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
}

:root {
  --ink: #132035;
  --ink-soft: #3f4a5a;
  --navy: #10233f;
  --navy-2: #183b61;
  --blue: #24569a;
  --blue-light: #dce8f6;
  --paper: #f5f2eb;
  --paper-2: #ece8df;
  --white: #ffffff;
  --line: #d9d5cc;
  --red: #9b352d;
  --red-soft: #f4ded9;
  --green: #3f665b;
  --shadow: 0 24px 70px rgba(16, 35, 63, 0.1);
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: Georgia, "Times New Roman", serif;
  --shell: min(1180px, calc(100% - 48px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid #f0aa44;
  outline-offset: 4px;
}

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

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.07;
}

h1 {
  font-size: clamp(3.25rem, 6.8vw, 6.6rem);
  margin-bottom: 30px;
}

h2 {
  font-size: clamp(2.2rem, 4.2vw, 4.15rem);
  margin-bottom: 22px;
}

h3 {
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  margin-bottom: 14px;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.narrow {
  max-width: 940px;
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 14px;
  left: 14px;
  transform: translateY(-150%);
  padding: 10px 15px;
  background: var(--white);
  color: var(--navy);
  font-weight: 800;
}

.skip-link:focus {
  transform: none;
}

.prototype-bar {
  min-height: 34px;
  padding: 7px max(24px, calc((100vw - 1180px) / 2));
  display: flex;
  justify-content: space-between;
  gap: 20px;
  background: #791f20;
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1.35;
  text-transform: uppercase;
}

.site-header {
  position: relative;
  z-index: 30;
  min-height: 88px;
  padding: 16px max(24px, calc((100vw - 1180px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-bottom: 1px solid rgba(19, 32, 53, 0.14);
  background: rgba(245, 242, 235, 0.96);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--navy);
  text-decoration: none;
  line-height: 1.05;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid currentColor;
  font-family: var(--serif);
  font-size: 1.1rem;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-family: var(--serif);
  font-size: 1.18rem;
  letter-spacing: -0.02em;
}

.brand small {
  margin-top: 5px;
  color: var(--ink-soft);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(15px, 2.2vw, 30px);
  font-size: 0.81rem;
  font-weight: 750;
}

.site-nav a {
  position: relative;
  text-decoration: none;
}

.site-nav > a:not(.nav-cta)::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  background: var(--blue);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.site-nav > a:hover::after,
.site-nav > a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta {
  padding: 11px 15px;
  background: var(--navy);
  color: var(--white);
}

.menu-toggle {
  display: none;
  align-items: center;
  gap: 12px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 0.8rem;
  font-weight: 800;
}

.menu-lines,
.menu-lines::before,
.menu-lines::after {
  width: 24px;
  height: 2px;
  display: block;
  background: currentColor;
}

.menu-lines {
  position: relative;
}

.menu-lines::before,
.menu-lines::after {
  position: absolute;
  left: 0;
  content: "";
}

.menu-lines::before { top: -7px; }
.menu-lines::after { top: 7px; }

.eyebrow,
.kicker {
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.15em;
  line-height: 1.35;
  text-transform: uppercase;
}

.eyebrow {
  margin-bottom: 23px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--blue);
}

.eyebrow > span {
  width: 30px;
  height: 2px;
  background: currentColor;
}

.kicker {
  margin-bottom: 15px;
  color: var(--blue);
}

.kicker--light {
  color: #a9c9e9;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(70px, 9vw, 125px) 0 70px;
}

.hero::before {
  position: absolute;
  top: 0;
  right: max(0px, calc((100vw - 1180px) / 2));
  width: 1px;
  height: 72%;
  background: var(--line);
  box-shadow: -130px 0 0 var(--line), -260px 0 0 var(--line);
  content: "";
  opacity: 0.68;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.55fr);
  gap: clamp(50px, 8vw, 110px);
  align-items: center;
}

.hero-copy {
  max-width: 800px;
}

.hero-copy h1 {
  max-width: 940px;
}

.hero-dek {
  max-width: 780px;
  margin-bottom: 34px;
  color: var(--ink-soft);
  font-size: clamp(1.1rem, 1.7vw, 1.4rem);
  line-height: 1.55;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.button {
  min-height: 52px;
  padding: 13px 19px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 1px solid transparent;
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.01em;
  line-height: 1.3;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button--primary {
  background: var(--navy);
  color: var(--white);
}

.button--primary:hover {
  background: var(--blue);
}

.button--quiet {
  border-bottom-color: var(--ink);
}

.button--outline {
  border-color: var(--navy);
  color: var(--navy);
}

.button--light {
  background: var(--white);
  color: var(--navy);
}

.microcopy {
  max-width: 650px;
  margin: 20px 0 0;
  color: #566171;
  font-size: 0.73rem;
  line-height: 1.55;
}

.triage-card {
  position: relative;
  padding: clamp(27px, 4vw, 42px);
  background: var(--white);
  box-shadow: var(--shadow);
}

.triage-card::before {
  position: absolute;
  top: 0;
  right: 0;
  width: 76px;
  height: 6px;
  background: var(--red);
  content: "";
}

.triage-card h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
}

.triage-card ol {
  margin: 30px 0;
  padding: 0;
  list-style: none;
}

.triage-card li {
  padding: 18px 0;
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 13px;
  border-top: 1px solid var(--line);
}

.triage-card li > span {
  color: var(--blue);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.triage-card strong,
.triage-card p {
  display: block;
}

.triage-card strong {
  margin-bottom: 3px;
}

.triage-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.5;
}

.triage-card > a {
  color: var(--blue);
  font-size: 0.84rem;
  font-weight: 850;
}

.hero-rule {
  width: var(--shell);
  height: 1px;
  margin: 72px auto 0;
  background: var(--line);
}

.hero-rule span {
  width: 20%;
  height: 3px;
  display: block;
  background: var(--blue);
  transform: translateY(-1px);
}

.urgent-band {
  padding: 24px 0;
  border-block: 1px solid #dcb5ae;
  background: var(--red-soft);
}

.urgent-grid {
  display: grid;
  grid-template-columns: 170px 1fr auto;
  gap: 25px;
  align-items: center;
}

.urgent-grid p {
  margin: 0;
}

.urgent-grid .kicker {
  color: var(--red);
}

.urgent-grid > p:nth-child(2) {
  font-size: 0.94rem;
}

.urgent-grid a {
  color: #71251f;
  font-size: 0.82rem;
  font-weight: 850;
  white-space: nowrap;
}

.section {
  padding: clamp(78px, 10vw, 132px) 0;
}

.section--services {
  background: var(--white);
}

.section--soft {
  background: var(--paper-2);
}

.section--ink {
  background: var(--navy);
  color: var(--white);
}

.section--proof {
  border-block: 1px solid var(--line);
  background: #e8eef2;
}

.section-head {
  max-width: 850px;
  margin-bottom: 52px;
}

.section-head > p:last-child {
  max-width: 710px;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.service-card {
  min-height: 345px;
  padding: clamp(24px, 3vw, 34px);
  display: flex;
  flex-direction: column;
  grid-column: span 2;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
  text-decoration: none;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.service-card:nth-child(4),
.service-card:nth-child(5) {
  grid-column: span 3;
}

.service-card:hover {
  position: relative;
  z-index: 2;
  background: var(--navy);
  color: var(--white);
  transform: translateY(-5px);
}

.service-card > div:first-child {
  display: flex;
  justify-content: space-between;
  gap: 15px;
}

.card-index,
.card-tag {
  font-size: 0.65rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.card-index { color: #8b93a0; }
.card-tag { color: var(--blue); }
.service-card:hover .card-tag { color: #a9c9e9; }

.service-card h3 {
  margin-top: 44px;
}

.service-card p {
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.55;
}

.service-card:hover p {
  color: #d7dfeb;
}

.text-link {
  margin-top: auto;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  gap: 15px;
  border-top: 1px solid var(--line);
  color: var(--blue);
  font-size: 0.8rem;
  font-weight: 850;
}

.service-card:hover .text-link {
  border-color: #3b5471;
  color: var(--white);
}

.section-cta {
  margin-top: 35px;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(50px, 9vw, 130px);
}

.split-layout h2,
.roadmap-grid h2 {
  color: var(--white);
}

.large-copy {
  color: var(--ink-soft);
  font-size: 1.18rem;
  line-height: 1.7;
}

.section--ink .large-copy,
.section--ink .roadmap-grid > div:first-child > p:last-child {
  color: #c7d2df;
}

.process-list {
  margin: 0;
  padding: 0;
  border-top: 1px solid #38506c;
  list-style: none;
}

.process-list li {
  padding: 25px 0;
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 22px;
  border-bottom: 1px solid #38506c;
}

.process-list > li > span {
  color: #a9c9e9;
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.process-list h3 {
  margin-bottom: 8px;
  color: var(--white);
}

.process-list p {
  margin: 0;
  color: #c7d2df;
  font-size: 0.94rem;
}

.route-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.route-grid a {
  min-height: 300px;
  padding: clamp(24px, 3.5vw, 42px);
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.32);
  text-decoration: none;
  transition: background 180ms ease, border-color 180ms ease;
}

.route-grid a:hover {
  border-color: var(--blue);
  background: var(--white);
}

.route-grid a > span:first-child {
  color: var(--blue);
  font-size: 0.66rem;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.route-grid h3 {
  margin-top: 55px;
}

.route-grid p {
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.route-grid a > span:last-child {
  margin-top: auto;
  align-self: flex-end;
  color: var(--blue);
  font-size: 1.4rem;
}

.proof-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.65fr);
  gap: clamp(45px, 8vw, 110px);
  align-items: center;
}

.proof-grid > div:first-child > p:not(.kicker) {
  max-width: 670px;
  color: var(--ink-soft);
}

.proof-panel {
  padding: clamp(26px, 4vw, 42px);
  background: var(--navy);
  box-shadow: var(--shadow);
  color: var(--white);
}

.proof-panel > p {
  padding-bottom: 18px;
  border-bottom: 1px solid #3b5471;
  font-family: var(--serif);
  font-size: 1.5rem;
}

.proof-panel > div {
  padding: 14px 0;
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 10px;
  border-bottom: 1px solid #3b5471;
  color: #d6e0eb;
  font-size: 0.86rem;
}

.proof-panel span {
  color: #a9c9e9;
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.65fr) minmax(0, 1fr);
  gap: clamp(50px, 9vw, 125px);
}

.faq-layout > div:first-child > p:last-child {
  color: var(--ink-soft);
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  position: relative;
  padding: 24px 45px 24px 0;
  cursor: pointer;
  font-family: var(--serif);
  font-size: 1.25rem;
  line-height: 1.35;
  list-style: none;
}

.faq-list summary::-webkit-details-marker { display: none; }

.faq-list summary span,
.faq-list summary span::after {
  position: absolute;
  top: 50%;
  right: 6px;
  width: 18px;
  height: 1px;
  background: var(--blue);
  content: "";
}

.faq-list summary span::after {
  top: 0;
  right: 0;
  transform: rotate(90deg);
  transition: transform 150ms ease;
}

.faq-list details[open] summary span::after {
  transform: rotate(0deg);
}

.faq-list details p {
  max-width: 720px;
  padding: 0 38px 24px 0;
  color: var(--ink-soft);
  font-size: 0.93rem;
}

.final-cta {
  padding: clamp(55px, 7vw, 88px) 0;
  background: var(--blue);
  color: var(--white);
}

.final-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
}

.final-cta h2 {
  max-width: 800px;
  margin-bottom: 13px;
  color: var(--white);
  font-size: clamp(2rem, 3.5vw, 3.4rem);
}

.final-cta p:not(.kicker) {
  max-width: 760px;
  margin-bottom: 0;
  color: #dbe8f5;
}

.final-cta .kicker {
  color: #dbe8f5;
}

.final-cta .button {
  flex: 0 0 auto;
}

.breadcrumbs {
  padding-top: 25px;
}

.breadcrumbs ol {
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  color: #6c7380;
  font-size: 0.72rem;
  font-weight: 700;
}

.breadcrumbs li + li::before {
  margin-right: 8px;
  content: "/";
}

.page-hero {
  padding: clamp(72px, 9vw, 120px) 0 clamp(68px, 9vw, 110px);
  border-bottom: 1px solid var(--line);
}

.page-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(290px, 0.55fr);
  gap: clamp(50px, 8vw, 110px);
  align-items: center;
}

.page-hero h1 {
  max-width: 930px;
  font-size: clamp(3.1rem, 6vw, 5.8rem);
}

.page-hero--compact {
  padding-block: clamp(65px, 9vw, 115px);
}

.page-hero--compact h1 {
  font-size: clamp(3rem, 5.5vw, 5.2rem);
}

.notice-card {
  padding: clamp(25px, 3.5vw, 38px);
  border-top: 5px solid var(--red);
  background: var(--red-soft);
}

.notice-card .kicker {
  color: var(--red);
}

.notice-card > p:nth-child(2) {
  font-family: var(--serif);
  font-size: 1.25rem;
  line-height: 1.45;
}

.notice-card a {
  color: #71251f;
  font-size: 0.8rem;
  font-weight: 850;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 0.55fr);
  gap: clamp(50px, 8vw, 110px);
}

.scope-card {
  padding: clamp(26px, 3.5vw, 40px);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.44);
}

.check-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding: 13px 0 13px 29px;
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
}

.check-list li::before {
  position: absolute;
  left: 0;
  color: var(--blue);
  content: "→";
}

.stage-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid #c7c1b5;
  border-left: 1px solid #c7c1b5;
}

.stage-grid article {
  min-height: 275px;
  padding: clamp(25px, 4vw, 42px);
  border-right: 1px solid #c7c1b5;
  border-bottom: 1px solid #c7c1b5;
}

.stage-grid article > span {
  color: var(--blue);
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.13em;
}

.stage-grid h3 {
  margin-top: 65px;
}

.stage-grid p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.document-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1fr);
  gap: clamp(50px, 9vw, 120px);
}

.document-grid > div:first-child p:not(.kicker) {
  color: var(--ink-soft);
}

.document-list {
  border-top: 1px solid var(--line);
}

.document-list > div {
  padding: 20px 0;
  display: grid;
  grid-template-columns: 45px 1fr;
  gap: 18px;
  border-bottom: 1px solid var(--line);
}

.document-list span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--blue);
  border-radius: 50%;
  color: var(--blue);
  font-size: 0.7rem;
  font-weight: 850;
}

.document-list p,
.document-list strong {
  display: block;
}

.document-list p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.document-list strong {
  margin-bottom: 3px;
  color: var(--ink);
}

.related-section {
  border-top: 1px solid var(--line);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.related-grid a {
  min-height: 160px;
  padding: 24px;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto 1fr;
  border: 1px solid var(--line);
  background: var(--white);
  text-decoration: none;
}

.related-grid a > span:first-child {
  grid-column: 1 / -1;
  color: var(--blue);
  font-size: 0.65rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.related-grid strong {
  align-self: end;
  font-family: var(--serif);
  font-size: 1.22rem;
}

.related-grid a > span:last-child {
  align-self: end;
  color: var(--blue);
}

.roadmap-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1fr);
  gap: clamp(50px, 9vw, 120px);
}

.roadmap-list {
  border-top: 1px solid #38506c;
}

.roadmap-list > div {
  padding: 23px 0;
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 7px 20px;
  border-bottom: 1px solid #38506c;
}

.roadmap-list span {
  grid-row: 1 / 3;
  color: #a9c9e9;
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.roadmap-list strong {
  font-family: var(--serif);
  font-size: 1.2rem;
}

.roadmap-list p {
  margin: 0;
  color: #c7d2df;
  font-size: 0.87rem;
}

.prototype-warning {
  margin-bottom: 45px;
  padding: 24px 28px;
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 22px;
  border-left: 5px solid var(--red);
  background: var(--red-soft);
}

.prototype-warning p {
  margin: 0;
}

.case-format-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.case-format-grid article {
  padding: clamp(25px, 3vw, 37px);
  border: 1px solid var(--line);
  background: var(--white);
}

.case-format-grid article > div:first-child {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  color: var(--blue);
  font-size: 0.63rem;
  font-weight: 850;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.case-format-grid h2 {
  margin-top: 55px;
  font-size: 2rem;
}

.case-format-grid article > p {
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.case-format-grid dl {
  margin: 28px 0;
  display: grid;
  grid-template-columns: 85px 1fr;
  border-top: 1px solid var(--line);
  font-size: 0.78rem;
}

.case-format-grid dt,
.case-format-grid dd {
  margin: 0;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.case-format-grid dt {
  color: var(--blue);
  font-weight: 850;
}

.status-chip {
  padding: 6px 9px;
  display: inline-block;
  border: 1px solid #d3a9a3;
  color: var(--red);
  font-size: 0.62rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.split-layout--light h2 {
  color: var(--ink);
}

.number-list {
  margin: 0;
  padding: 0;
  border-top: 1px solid #c7c1b5;
  list-style: none;
}

.number-list li {
  padding: 18px 0;
  display: grid;
  grid-template-columns: 45px 1fr;
  gap: 15px;
  border-bottom: 1px solid #c7c1b5;
}

.number-list span {
  color: var(--blue);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.team-grid {
  display: grid;
  gap: 28px;
}

.team-placeholder {
  display: grid;
  grid-template-columns: minmax(250px, 0.55fr) minmax(0, 1fr);
  border: 1px solid var(--line);
  background: var(--white);
}

.portrait-placeholder {
  min-height: 360px;
  padding: 25px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #dfe4e8;
  color: #5a6571;
}

.portrait-placeholder span {
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.portrait-placeholder p {
  margin: auto;
  font-family: var(--serif);
  font-size: 1.4rem;
}

.team-placeholder > div:last-child {
  padding: clamp(30px, 5vw, 65px);
}

.team-placeholder h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
}

.team-placeholder > div:last-child > p:not(.kicker) {
  color: var(--ink-soft);
}

.team-placeholder ul {
  margin: 25px 0 30px;
  padding: 0;
  list-style: none;
}

.team-placeholder li {
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.88rem;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.58fr);
  gap: clamp(50px, 9vw, 120px);
}

.requirement-list {
  margin-top: 45px;
  border-top: 1px solid var(--line);
}

.requirement-list > div {
  padding: 18px 0;
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 18px;
  border-bottom: 1px solid var(--line);
}

.requirement-list span {
  color: var(--blue);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.requirement-list p {
  margin: 0;
}

.contact-card {
  align-self: start;
  padding: clamp(28px, 4vw, 45px);
  border-top: 6px solid var(--red);
  background: var(--white);
  box-shadow: var(--shadow);
}

.contact-card .kicker {
  color: var(--red);
}

.contact-card h2 {
  font-size: clamp(2rem, 3vw, 3rem);
}

.contact-card > p:not(.kicker),
.contact-card li {
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.contact-card hr {
  margin: 30px 0;
  border: 0;
  border-top: 1px solid var(--line);
}

.contact-card ol {
  padding-left: 22px;
}

.contact-card li {
  padding: 4px 0;
}

.site-footer {
  padding: 72px max(24px, calc((100vw - 1180px) / 2)) 24px;
  background: #0b192d;
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(150px, 0.45fr));
  gap: clamp(45px, 8vw, 100px);
}

.brand--footer {
  color: var(--white);
}

.brand--footer small {
  color: #aab9ca;
}

.footer-grid > div:first-child > p {
  max-width: 580px;
  margin-top: 25px;
  color: #aab9ca;
  font-size: 0.86rem;
}

.footer-grid h2 {
  margin-bottom: 18px;
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.footer-grid > div:not(:first-child) a {
  margin-bottom: 9px;
  display: block;
  color: #c6d1de;
  font-size: 0.83rem;
  text-decoration: none;
}

.footer-legal {
  margin-top: 62px;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  gap: 25px;
  border-top: 1px solid #2d425d;
  color: #8798ab;
  font-size: 0.67rem;
}

.brand-mark--wide {
  width: 48px;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.compliance-bar {
  background: #163c3a;
}

.footer-note {
  color: #8798ab !important;
  font-size: 0.74rem !important;
}

.authority-counts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  align-content: start;
  background: #38506c;
  border: 1px solid #38506c;
}

.authority-counts > div {
  min-height: 165px;
  padding: 25px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: #142c4b;
}

.authority-counts strong,
.authority-counts span {
  display: block;
}

.authority-counts strong {
  color: var(--white);
  font-family: var(--serif);
  font-size: clamp(2.8rem, 5vw, 4.8rem);
  font-weight: 500;
  line-height: 0.9;
}

.authority-counts span {
  margin-top: 12px;
  color: #c7d2df;
  font-size: 0.74rem;
  font-weight: 750;
}

.authority-counts > a {
  padding: 20px 24px;
  grid-column: 1 / -1;
  background: #a9c9e9;
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 850;
  text-decoration: none;
}

.match-disclosure {
  padding: clamp(27px, 4vw, 42px);
  border-top: 5px solid var(--green);
  background: var(--white);
  box-shadow: var(--shadow);
}

.match-disclosure strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 500;
}

.match-disclosure p {
  margin: 17px 0 25px;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.match-disclosure a {
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 850;
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid #c7c1b5;
  border-left: 1px solid #c7c1b5;
}

.guide-card {
  min-height: 310px;
  padding: clamp(25px, 3.5vw, 40px);
  display: flex;
  flex-direction: column;
  border-right: 1px solid #c7c1b5;
  border-bottom: 1px solid #c7c1b5;
  color: var(--ink);
  text-decoration: none;
  transition: background 180ms ease, color 180ms ease;
}

.guide-card:hover {
  background: var(--navy);
  color: var(--white);
}

.guide-card > span {
  color: var(--blue);
  font-size: 0.66rem;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.guide-card:hover > span {
  color: #a9c9e9;
}

.guide-card h3 {
  margin-top: 48px;
  max-width: 520px;
}

.guide-card p {
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.guide-card:hover p {
  color: #c7d2df;
}

.guide-card > strong {
  margin-top: auto;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #c7c1b5;
  color: var(--blue);
  font-size: 0.78rem;
}

.guide-card:hover > strong {
  border-color: #38506c;
  color: var(--white);
}

.source-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1fr);
  gap: clamp(50px, 9vw, 120px);
}

.source-grid h2 {
  color: var(--white);
}

.source-grid > div:first-child > p:last-child {
  color: #c7d2df;
}

.source-list {
  border-top: 1px solid #38506c;
}

.source-list a {
  padding: 17px 0;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid #38506c;
  color: var(--white);
  text-decoration: none;
}

.source-list a:hover strong {
  text-decoration: underline;
  text-underline-offset: 0.22em;
}

.source-list strong {
  font-size: 0.88rem;
}

.source-list span {
  flex: 0 0 auto;
  color: #a9c9e9;
  font-size: 0.7rem;
  font-weight: 800;
}

.library-heading {
  margin-bottom: 40px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 35px;
}

.library-heading > div {
  max-width: 780px;
}

.library-heading h2 {
  margin-bottom: 14px;
}

.library-heading > div > p:last-child {
  margin-bottom: 0;
  color: var(--ink-soft);
}

.compact-guide-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.compact-guide-grid a {
  min-height: 145px;
  padding: 22px;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto 1fr;
  gap: 8px 18px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.36);
  text-decoration: none;
}

.compact-guide-grid a:hover {
  background: var(--white);
}

.compact-guide-grid a > span:first-child {
  grid-column: 1 / -1;
  color: var(--blue);
  font-size: 0.62rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.compact-guide-grid strong {
  align-self: end;
  max-width: 530px;
  font-family: var(--serif);
  font-size: 1.14rem;
  line-height: 1.25;
}

.compact-guide-grid a > span:last-child {
  align-self: end;
  color: var(--blue);
}

.article-hero {
  padding: clamp(65px, 8vw, 110px) 0;
  border-bottom: 1px solid var(--line);
}

.article-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(310px, 0.5fr);
  gap: clamp(50px, 8vw, 110px);
  align-items: center;
}

.article-hero h1 {
  max-width: 940px;
  font-size: clamp(3rem, 5.8vw, 5.7rem);
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.article-meta span {
  padding: 6px 9px;
  border: 1px solid var(--line);
  color: #566171;
  font-size: 0.63rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.article-layout {
  padding-block: clamp(70px, 9vw, 120px);
  display: grid;
  grid-template-columns: 235px minmax(0, 760px);
  gap: clamp(50px, 9vw, 125px);
  justify-content: center;
  align-items: start;
}

.article-aside {
  position: sticky;
  top: 25px;
  padding: 24px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.42);
}

.article-aside a {
  padding: 8px 0;
  display: block;
  color: var(--ink-soft);
  font-size: 0.78rem;
  text-decoration: none;
}

.article-aside a:hover {
  color: var(--blue);
  text-decoration: underline;
}

.article-aside hr {
  margin: 18px 0;
  border: 0;
  border-top: 1px solid var(--line);
}

.article-aside .aside-cta {
  color: var(--blue);
  font-weight: 850;
}

.article-content > section {
  padding-bottom: clamp(55px, 7vw, 85px);
  scroll-margin-top: 30px;
}

.article-content h2 {
  font-size: clamp(2.1rem, 4vw, 3.45rem);
}

.article-content h3 {
  font-size: 1.45rem;
}

.article-content p {
  color: var(--ink-soft);
}

.article-content .article-lead {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.35rem;
  line-height: 1.55;
}

.action-stack {
  margin: 35px 0;
  border-top: 1px solid var(--line);
}

.action-stack > div {
  padding: 20px 0;
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 18px;
  border-bottom: 1px solid var(--line);
}

.action-stack span {
  color: var(--blue);
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.action-stack p {
  margin: 0;
  color: var(--ink) !important;
  font-weight: 700;
}

.substantive-stack {
  margin-top: 36px;
  border-top: 1px solid var(--line);
}

.article-subsection {
  padding: 40px 0;
  border-bottom: 1px solid var(--line);
}

.article-subsection .section-number {
  margin-bottom: 12px;
  color: var(--blue);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.14em;
}

.article-subsection h3 {
  max-width: 650px;
  font-size: clamp(1.65rem, 3vw, 2.25rem);
}

.specific-list {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.specific-list li {
  position: relative;
  padding: 14px 12px 14px 30px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 700;
}

.specific-list li::before {
  content: "";
  position: absolute;
  top: 1.25rem;
  left: 5px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}

.decision-grid {
  display: grid;
  gap: 16px;
}

.decision-block {
  padding: 25px 28px;
  border-left: 3px solid var(--blue);
  background: var(--white);
}

.decision-block > span {
  display: block;
  margin-bottom: 9px;
  color: var(--blue);
  font-size: 0.64rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.decision-block h3 {
  margin-bottom: 0;
}

.decision-block p {
  margin-bottom: 0;
  font-size: 0.9rem;
}

.info-note {
  margin-top: 34px;
  padding: 26px 29px;
  border-top: 5px solid var(--green);
  background: #e1ebe7;
}

.info-note strong {
  font-family: var(--serif);
  font-size: 1.25rem;
}

.info-note p {
  margin: 10px 0 0;
}

.article-faq {
  border-top: 1px solid var(--line);
}

.article-faq details {
  border-bottom: 1px solid var(--line);
}

.article-faq summary {
  position: relative;
  padding: 24px 42px 24px 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.28rem;
  line-height: 1.25;
  cursor: pointer;
  list-style: none;
}

.article-faq summary::-webkit-details-marker {
  display: none;
}

.article-faq summary span::before,
.article-faq summary span::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 4px;
  width: 16px;
  height: 2px;
  background: var(--blue);
}

.article-faq summary span::after {
  transform: rotate(90deg);
}

.article-faq details[open] summary span::after {
  transform: rotate(0deg);
}

.article-faq details p {
  max-width: 680px;
  padding: 0 44px 26px 0;
}

.inline-link-grid {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.inline-link-grid a {
  min-height: 120px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,0.35);
  text-decoration: none;
}

.inline-link-grid a:hover {
  background: var(--white);
}

.inline-link-grid span {
  color: var(--blue);
  font-size: 0.64rem;
  font-weight: 850;
  text-transform: uppercase;
}

.inline-link-grid strong {
  margin-top: 24px;
  font-family: var(--serif);
  font-size: 1.05rem;
}

.source-list--light {
  border-color: var(--line);
}

.source-list--light a {
  border-color: var(--line);
  color: var(--ink);
}

.source-list--light span {
  color: var(--blue);
}

.boundary-list {
  border-top: 1px solid #c7c1b5;
}

.boundary-list > div {
  padding: 24px 0;
  border-bottom: 1px solid #c7c1b5;
}

.boundary-list strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.3rem;
}

.boundary-list p {
  margin: 7px 0 0;
  color: var(--ink-soft);
}

.enquiry-form {
  position: relative;
  margin-top: 38px;
  padding: clamp(24px, 4vw, 42px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  border: 1px solid var(--line);
  background: var(--white);
}

.enquiry-form > label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 800;
}

.enquiry-form input,
.enquiry-form select,
.enquiry-form textarea {
  width: 100%;
  min-height: 49px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  background: #f4f3ef;
  color: var(--ink);
  font: inherit;
}

.enquiry-form textarea {
  min-height: 132px;
  resize: vertical;
}

.enquiry-form input:focus,
.enquiry-form select:focus,
.enquiry-form textarea:focus {
  border-color: var(--blue);
  outline: 3px solid rgba(35, 96, 90, 0.2);
  outline-offset: 2px;
}

.enquiry-form [aria-invalid="true"] {
  border-color: var(--red);
  box-shadow: 0 0 0 2px rgba(149, 63, 54, 0.14);
}

.enquiry-form__wide,
.enquiry-form__status,
.enquiry-form__errors,
.enquiry-form noscript,
.enquiry-form__submit,
.enquiry-form > .button {
  grid-column: 1 / -1;
}

.enquiry-form--disabled input,
.enquiry-form--disabled select,
.enquiry-form--disabled textarea,
.enquiry-form input:disabled {
  color: #6c757f;
  cursor: not-allowed;
  background: #e9e7e1;
}

.enquiry-form--disabled .button,
.enquiry-form .button:disabled {
  opacity: 0.58;
  cursor: not-allowed;
}

.enquiry-form__warning,
.enquiry-form__notice,
.enquiry-form__deadline {
  padding: 18px 20px;
  border-left: 4px solid var(--red);
  background: #fff7f3;
}

.enquiry-form__notice {
  border-left-color: var(--blue);
  background: #f1f7f6;
}

.enquiry-form__deadline {
  border-left-color: #a45c18;
  background: #fff8ed;
}

.enquiry-form__warning > p,
.enquiry-form__notice > p,
.enquiry-form__deadline > p {
  margin: 6px 0 0;
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.check-field {
  margin-top: 15px;
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  align-items: start;
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 650;
}

.check-field input {
  width: 18px;
  min-height: 18px;
  margin-top: 2px;
}

.enquiry-form__privacy-link a {
  color: var(--blue);
  font-weight: 750;
}

.enquiry-form__honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.enquiry-form__errors {
  padding: 16px 18px;
  border: 2px solid var(--red);
  background: #fff7f3;
  color: var(--ink);
}

.enquiry-form__errors ul {
  margin: 7px 0 0;
  padding-left: 20px;
}

.enquiry-form__status {
  min-height: 1.4em;
  margin: 0;
  color: var(--ink-soft);
  font-weight: 700;
}

.enquiry-form__status[data-state="success"] {
  color: #215f4d;
}

.enquiry-form__status[data-state="error"] {
  color: var(--red);
}

.enquiry-form__noscript {
  margin: 0;
  color: var(--red);
  font-weight: 700;
}

.stage-grid--four {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1120px) {
  .menu-toggle { display: inline-flex; }

  .site-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    padding: 20px max(24px, calc((100vw - 1180px) / 2)) 28px;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
    box-shadow: 0 20px 45px rgba(16, 35, 63, 0.12);
  }

  .site-nav[data-open="true"] { display: flex; }
  .site-nav a { padding: 12px 0; }
  .site-nav > a:not(.nav-cta)::after { display: none; }
  .nav-cta { margin-top: 10px; padding-inline: 15px !important; text-align: center; }

  .hero-grid,
  .page-hero__grid { grid-template-columns: 1fr; }
  .triage-card,
  .notice-card { max-width: 660px; }
  .hero::before { display: none; }

  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card,
  .service-card:nth-child(4),
  .service-card:nth-child(5) { grid-column: span 1; }
  .service-card:last-child { grid-column: 1 / -1; }

  .case-format-grid { grid-template-columns: 1fr 1fr; }
  .case-format-grid article:last-child { grid-column: 1 / -1; }

  .article-hero__inner { grid-template-columns: 1fr; }
  .article-hero .match-disclosure { max-width: 700px; }
}

@media (max-width: 820px) {
  :root { --shell: min(100% - 34px, 1180px); }
  body { font-size: 16px; }
  h1 { font-size: clamp(2.85rem, 13vw, 4.7rem); }

  .prototype-bar { padding-inline: 17px; }
  .prototype-bar span:last-child { display: none; }
  .site-header { min-height: 78px; padding-inline: 17px; }

  .urgent-grid,
  .split-layout,
  .proof-grid,
  .faq-layout,
  .intro-grid,
  .document-grid,
  .roadmap-grid,
  .contact-layout { grid-template-columns: 1fr; }

  .source-grid,
  .article-layout { grid-template-columns: 1fr; }

  .article-aside { position: static; }

  .library-heading { align-items: flex-start; flex-direction: column; }

  .urgent-grid { gap: 8px; }
  .urgent-grid a { margin-top: 5px; }

  .route-grid,
  .stage-grid,
  .related-grid { grid-template-columns: 1fr; }
  .route-grid a { min-height: 250px; }
  .stage-grid article { min-height: 240px; }

  .final-cta__inner { align-items: flex-start; flex-direction: column; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }

  .prototype-warning { grid-template-columns: 1fr; gap: 6px; }
  .case-format-grid { grid-template-columns: 1fr; }
  .case-format-grid article:last-child { grid-column: auto; }

  .team-placeholder { grid-template-columns: 1fr; }
  .portrait-placeholder { min-height: 240px; }
}

@media (max-width: 560px) {
  .brand strong { font-size: 1rem; }
  .brand small { display: none; }
  .brand-mark { width: 37px; height: 37px; }

  .service-grid { grid-template-columns: 1fr; }
  .service-card,
  .service-card:last-child { grid-column: auto; min-height: 310px; }

  .guide-grid,
  .compact-guide-grid,
  .inline-link-grid { grid-template-columns: 1fr; }

  .authority-counts { grid-template-columns: 1fr; }
  .authority-counts > a { grid-column: auto; }

  .enquiry-form { grid-template-columns: 1fr; }
  .enquiry-form__wide,
  .enquiry-form__status,
  .enquiry-form__errors,
  .enquiry-form noscript,
  .enquiry-form__submit,
  .enquiry-form > .button { grid-column: auto; }

  .button-row { align-items: stretch; flex-direction: column; }
  .button { width: 100%; }

  .triage-card { padding: 25px 21px; }
  .proof-grid { display: block; }
  .proof-panel { margin-top: 40px; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > div:first-child { grid-column: auto; }
  .footer-legal { align-items: flex-start; flex-direction: column; }

  .roadmap-list > div { grid-template-columns: 1fr; }
  .roadmap-list span { grid-row: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}

@media print {
  .prototype-bar,
  .site-header,
  .site-footer,
  .button,
  .final-cta { display: none !important; }
  body { background: white; color: black; }
  .section, .page-hero { padding: 32px 0; }
}

/* Consent and optional services */

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

.footer-link-button {
  margin: 0 0 9px;
  padding: 0;
  display: block;
  border: 0;
  background: transparent;
  color: #c6dcd6;
  font: inherit;
  font-size: 0.83rem;
  line-height: inherit;
  text-align: left;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
  cursor: pointer;
}

.consent-banner[hidden] {
  display: none;
}

.consent-banner {
  position: fixed;
  z-index: 10000;
  right: 18px;
  bottom: 18px;
  left: 18px;
  width: min(1120px, calc(100% - 36px));
  margin-inline: auto;
  padding: clamp(22px, 3vw, 34px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: clamp(24px, 4vw, 52px);
  border: 1px solid #c7d8d3;
  border-top: 5px solid var(--green);
  border-radius: 16px;
  background: #fffefb;
  box-shadow: 0 22px 70px rgba(17, 53, 49, 0.22);
}

.consent-banner .kicker,
.consent-dialog .kicker {
  margin-bottom: 8px;
  color: var(--green);
}

.consent-banner h2,
.consent-dialog h2 {
  margin-bottom: 10px;
  font-size: clamp(1.55rem, 3vw, 2.25rem);
}

.consent-banner__copy > p:not(.kicker) {
  max-width: 760px;
  margin-bottom: 10px;
  color: var(--ink-soft);
  font-size: 0.94rem;
  line-height: 1.5;
}

.consent-banner__links {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 18px;
}

.consent-banner__actions,
.consent-dialog__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.consent-banner__actions {
  max-width: 390px;
  justify-content: flex-end;
}

.consent-button {
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid var(--green);
  border-radius: 999px;
  background: transparent;
  color: var(--green);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 760;
  cursor: pointer;
}

.consent-button:hover {
  background: var(--mint);
}

.consent-button--primary {
  background: var(--green);
  color: var(--white);
}

.consent-button--primary:hover {
  background: var(--navy-2);
}

.consent-button--quiet {
  border-color: transparent;
  color: var(--ink-soft);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.consent-dialog {
  width: min(720px, calc(100% - 32px));
  max-height: min(760px, calc(100dvh - 32px));
  margin: auto;
  padding: 0;
  overflow: auto;
  border: 1px solid #c7d8d3;
  border-radius: 18px;
  background: #fffefb;
  color: var(--ink);
  box-shadow: 0 28px 90px rgba(11, 37, 34, 0.34);
}

.consent-dialog::backdrop {
  background: rgba(13, 35, 33, 0.64);
  backdrop-filter: blur(3px);
}

.consent-dialog__panel {
  padding: clamp(24px, 4vw, 42px);
}

.consent-dialog__heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.consent-dialog__close {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

.consent-dialog__panel > p {
  color: var(--ink-soft);
  font-size: 0.94rem;
}

.consent-options {
  margin-block: 24px;
  display: grid;
  gap: 10px;
}

.consent-option {
  padding: 17px 18px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  cursor: pointer;
}

.consent-option--necessary {
  background: #f1f5f2;
  cursor: default;
}

.consent-option strong,
.consent-option small {
  display: block;
}

.consent-option strong {
  margin-bottom: 3px;
  color: var(--navy);
}

.consent-option small {
  color: var(--ink-soft);
  font-size: 0.78rem;
  line-height: 1.45;
}

.consent-option input {
  width: 24px;
  height: 24px;
  accent-color: var(--green);
}

.consent-dialog__note {
  padding: 15px 17px;
  border-left: 4px solid var(--red);
  border-radius: 8px;
  background: var(--red-soft);
  color: var(--ink) !important;
}

.consent-dialog__actions {
  margin-top: 24px;
  justify-content: flex-end;
}

.voice-assistant-host elevenlabs-convai {
  z-index: 8000;
}

.voice-service-error {
  position: fixed;
  z-index: 8500;
  right: 18px;
  bottom: 18px;
  max-width: 360px;
  margin: 0;
  padding: 14px 16px;
  border: 1px solid #d6b1a7;
  border-radius: 10px;
  background: #fff8f5;
  color: var(--ink);
  box-shadow: var(--shadow);
  font-size: 0.85rem;
}

@media (max-width: 820px) {
  .consent-banner {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .consent-banner__actions,
  .consent-dialog__actions {
    max-width: none;
    justify-content: stretch;
  }

  .consent-banner__actions .consent-button,
  .consent-dialog__actions .consent-button {
    flex: 1 1 145px;
  }
}

@media (max-width: 520px) {
  .consent-banner {
    right: 8px;
    bottom: 8px;
    left: 8px;
    width: calc(100% - 16px);
    max-height: calc(100dvh - 16px);
    overflow: auto;
    padding: 20px;
    border-radius: 13px;
  }

  .consent-banner__actions,
  .consent-dialog__actions {
    display: grid;
  }

  .consent-option {
    padding: 15px;
  }
}

@media print {
  .consent-banner,
  .consent-dialog,
  .voice-assistant-host,
  .voice-service-error { display: none !important; }
}

/* Calm, human-centred visual system */

:root {
  --ink: #20312f;
  --ink-soft: #566763;
  --navy: #125950;
  --navy-2: #0d4741;
  --blue: #17675f;
  --blue-light: #dceee9;
  --paper: #fbfaf6;
  --paper-2: #eef5f2;
  --white: #ffffff;
  --line: #d9e4df;
  --red: #ad5846;
  --red-soft: #faebe5;
  --green: #287267;
  --mint: #e2f1ec;
  --peach: #fff1e9;
  --coral: #dd765e;
  --sky: #eaf1f7;
  --shadow: 0 18px 50px rgba(30, 76, 70, 0.1);
  --shadow-soft: 0 8px 30px rgba(30, 76, 70, 0.07);
  --sans: "Source Sans 3", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --shell: min(1160px, calc(100% - 48px));
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
}

h1,
h2,
h3 {
  color: var(--ink);
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.08;
}

h1 {
  font-size: clamp(2.8rem, 4.8vw, 4.2rem);
  margin-bottom: 26px;
}

h2 {
  font-size: clamp(2rem, 3.7vw, 3.35rem);
  margin-bottom: 20px;
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  line-height: 1.22;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 4px;
  box-shadow: 0 0 0 7px #81390d;
}

.prototype-bar {
  min-height: 40px;
  padding-block: 8px;
  align-items: center;
  border-bottom: 1px solid #cfe2dc;
  background: #e4f1ed;
  color: #244b46;
  font-size: 0.77rem;
  font-weight: 550;
  letter-spacing: 0;
  text-transform: none;
}

.prototype-bar strong {
  font-weight: 750;
}

.site-header {
  position: sticky;
  top: 0;
  min-height: 82px;
  padding-block: 14px;
  border-bottom-color: rgba(32, 49, 47, 0.1);
  background: rgba(251, 250, 246, 0.95);
  box-shadow: 0 8px 30px rgba(30, 76, 70, 0.04);
  backdrop-filter: blur(14px);
}

.brand {
  gap: 13px;
  color: var(--ink);
}

.brand-mark,
.brand-mark--wide {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--navy);
}

.brand-mark svg,
.brand-mark--wide svg {
  width: 42px;
  height: 42px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.4;
}

.brand strong {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.brand small {
  margin-top: 3px;
  color: var(--ink-soft);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.015em;
  text-transform: none;
}

.site-nav {
  gap: clamp(14px, 1.8vw, 25px);
  font-size: 0.84rem;
  font-weight: 600;
}

.site-nav > a:not(.nav-cta)::after {
  bottom: -6px;
  background: var(--green);
}

.nav-cta {
  padding: 11px 17px;
  border-radius: 8px;
  background: var(--navy);
  box-shadow: 0 8px 20px rgba(18, 89, 80, 0.18);
  font-size: 0.8rem;
}

.eyebrow,
.kicker {
  color: var(--blue);
  font-size: 0.83rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.35;
  text-transform: none;
}

.eyebrow {
  width: fit-content;
  margin-bottom: 23px;
  padding: 0;
  gap: 8px;
  border-radius: 0;
  background: transparent;
}

.eyebrow > span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--coral);
}

.kicker {
  margin-bottom: 13px;
}

.kicker--light {
  color: #c7e8df;
}

.button {
  min-height: 52px;
  padding: 13px 19px;
  border-radius: 8px;
  font-size: 0.86rem;
  font-weight: 750;
  letter-spacing: 0;
  box-shadow: none;
}

.button--primary {
  background: var(--navy);
  box-shadow: 0 10px 24px rgba(18, 89, 80, 0.17);
}

.button--primary:hover {
  background: #0b4a44;
}

.button--quiet {
  border: 1px solid #afc4bd;
  background: rgba(255,255,255,0.62);
  color: var(--ink);
}

.button--quiet:hover {
  border-color: var(--green);
  background: var(--white);
}

.button--outline {
  border-color: #9ebbb4;
  color: var(--navy);
}

.button--light {
  color: var(--navy);
  box-shadow: 0 8px 22px rgba(4, 48, 43, 0.14);
}

.hero {
  position: relative;
  padding: clamp(68px, 8vw, 102px) 0 clamp(72px, 8vw, 104px);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.hero::before,
.hero::after {
  display: none;
}

.hero-grid {
  z-index: 1;
  grid-template-columns: minmax(0, 1.08fr) minmax(350px, 0.72fr);
  gap: clamp(48px, 7vw, 86px);
}

.hero-copy {
  max-width: 720px;
}

.hero-copy h1 {
  max-width: 710px;
}

.hero-dek {
  max-width: 700px;
  margin-bottom: 30px;
  color: var(--ink-soft);
  font-size: clamp(1.08rem, 1.55vw, 1.25rem);
  line-height: 1.62;
}

.hero-note {
  max-width: 650px;
  margin: -9px 0 27px;
  padding-left: 16px;
  border-left: 3px solid var(--coral);
  color: #455b56;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.6;
}

.hero-reassurance {
  margin: 24px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 9px 18px;
  list-style: none;
  color: #435c57;
  font-size: 0.79rem;
  font-weight: 650;
}

.hero-reassurance li {
  position: relative;
  padding-left: 20px;
}

.hero-reassurance li::before {
  position: absolute;
  top: 0.12em;
  left: 0;
  color: var(--green);
  content: "✓";
  font-weight: 800;
}

.microcopy {
  max-width: 660px;
  margin-top: 17px;
  color: #66736f;
  font-size: 0.74rem;
}

.triage-card {
  padding: clamp(27px, 3vw, 36px);
  border: 1px solid #d4e2dd;
  border-radius: 14px;
  background: rgba(255,255,255,0.96);
  box-shadow: 0 24px 65px rgba(30, 76, 70, 0.13);
}

.triage-card::before {
  display: none;
}

.triage-card__icon {
  width: 50px;
  height: 50px;
  margin-bottom: 23px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--mint);
  color: var(--navy);
}

.triage-card__icon svg {
  width: 26px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.3;
}

.triage-card h2 {
  margin-bottom: 23px;
  font-size: clamp(1.65rem, 2.8vw, 2.25rem);
}

.journey-links {
  display: grid;
  gap: 10px;
}

.journey-links a {
  padding: 14px 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fcfdfc;
  color: var(--ink);
  text-decoration: none;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.journey-links a:hover {
  border-color: #85aca3;
  background: var(--mint);
  transform: translateX(3px);
}

.journey-links strong,
.journey-links small {
  display: block;
}

.journey-links strong {
  font-size: 0.92rem;
}

.journey-links small {
  margin-top: 2px;
  color: var(--ink-soft);
  font-size: 0.76rem;
}

.journey-links > a > span:last-child {
  color: var(--green);
  font-size: 1.05rem;
}

.hero-rule,
.urgent-band {
  display: none;
}

.support-band {
  padding: 22px 0;
  border-block: 1px solid #eddace;
  background: var(--peach);
}

.support-band__inner {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
}

.support-band__mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: var(--white);
  color: var(--navy);
  font-weight: 800;
  box-shadow: var(--shadow-soft);
}

.support-band p,
.support-band p strong,
.support-band p span {
  margin: 0;
  display: block;
}

.support-band strong {
  font-size: 0.92rem;
}

.support-band span {
  margin-top: 2px;
  color: #725c52;
  font-size: 0.82rem;
}

.support-band a {
  color: #7b493b;
  font-size: 0.81rem;
  font-weight: 700;
  white-space: nowrap;
}

.support-band a span {
  display: inline;
}

.section {
  padding: clamp(68px, 8vw, 98px) 0;
}

.section--services {
  background: #fff;
}

.section--soft {
  background: var(--paper-2);
}

.section--ink {
  background: var(--navy-2);
}

.section--proof {
  border: 0;
  background: #f8eee8;
}

.section--human {
  background: #fff;
}

.human-story {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(38px, 7vw, 90px);
  align-items: center;
}

.human-story figure {
  margin: 0;
}

.human-story picture {
  display: block;
}

.human-story img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  display: block;
  border-radius: 10px;
  object-fit: cover;
  object-position: center;
  box-shadow: var(--shadow-soft);
}

.human-story figcaption {
  margin-top: 10px;
  color: #66736f;
  font-size: 0.72rem;
}

.human-story__copy {
  max-width: 570px;
}

.human-story__copy .check-list {
  margin: 24px 0 30px;
}

.section-head {
  max-width: 780px;
  margin-bottom: 40px;
}

.section-head > p:last-child {
  max-width: 680px;
  font-size: 1rem;
}

.service-grid {
  gap: 18px;
  border: 0;
  background: transparent;
}

.service-card,
.service-card:nth-child(4),
.service-card:nth-child(5) {
  min-height: 285px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #f5faf8;
  box-shadow: none;
}

.service-card:nth-child(2) { background: #fff7f1; }
.service-card:nth-child(3) { background: #f1f6fa; }
.service-card:nth-child(4) { background: #f7f3f9; }
.service-card:nth-child(5) { background: #f6f8ed; }

.service-card:hover {
  z-index: 2;
  border-color: #8bb0a8;
  background: var(--white);
  box-shadow: var(--shadow);
  color: var(--ink);
  transform: translateY(-5px);
}

.card-index {
  width: 10px;
  height: 10px;
  overflow: hidden;
  border-radius: 50%;
  background: var(--coral);
  color: transparent;
}

.card-tag {
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(255,255,255,0.72);
  color: var(--blue);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.service-card:hover .card-tag {
  color: var(--blue);
}

.service-card h3 {
  margin-top: 35px;
}

.service-card p,
.service-card:hover p {
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.text-link,
.service-card:hover .text-link {
  padding-top: 18px;
  border-color: rgba(32,49,47,0.12);
  color: var(--blue);
  font-size: 0.81rem;
  font-weight: 700;
}

.directory-link {
  margin-top: 28px;
  padding: 24px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}

.directory-link p {
  max-width: 760px;
  margin: 0;
  color: var(--ink-soft);
}

.directory-link strong {
  color: var(--ink);
}

.directory-link .button {
  flex: 0 0 auto;
}

.split-layout {
  gap: clamp(45px, 8vw, 100px);
  align-items: center;
}

.section--ink .large-copy {
  color: #d0e2dd;
}

.calm-steps {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 13px;
  list-style: none;
}

.calm-steps > li {
  padding: 20px 22px;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 15px;
  align-items: start;
  border: 1px solid rgba(222, 240, 235, 0.18);
  border-radius: 10px;
  background: rgba(255,255,255,0.07);
}

.calm-steps > li > span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #e6f2ee;
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 800;
}

.calm-steps p,
.calm-steps strong {
  margin: 0;
  display: block;
}

.calm-steps p {
  color: #cbe0da;
  font-size: 0.88rem;
  line-height: 1.55;
}

.calm-steps strong {
  margin-bottom: 3px;
  color: var(--white);
  font-size: 0.96rem;
}

.section--situations {
  background: var(--paper);
}

.route-grid {
  gap: 17px;
}

.route-grid a {
  min-height: 270px;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.route-grid a:hover {
  border-color: #8bb0a8;
  background: #f5faf8;
  box-shadow: var(--shadow);
}

.route-grid a > span:first-child {
  width: fit-content;
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--mint);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.route-grid h3 {
  margin-top: 38px;
  font-size: 1.35rem;
}

.route-grid p {
  color: var(--ink-soft);
}

.proof-grid {
  gap: clamp(42px, 7vw, 90px);
}

.proof-grid > div:first-child > p:not(.kicker) {
  color: #635d59;
}

.match-disclosure {
  padding: clamp(27px, 4vw, 38px);
  border: 1px solid #ead8cf;
  border-top: 1px solid #ead8cf;
  border-radius: 12px;
  background: rgba(255,255,255,0.86);
  box-shadow: var(--shadow-soft);
}

.match-disclosure strong {
  font-family: var(--sans);
  font-size: 1.3rem;
  font-weight: 700;
}

.match-disclosure p {
  font-size: 0.92rem;
}

.match-disclosure a {
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 700;
}

.faq-list {
  display: grid;
  gap: 10px;
  border: 0;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,0.65);
}

.faq-list summary {
  padding: 20px 52px 20px 20px;
  font-family: var(--sans);
  font-size: 1.06rem;
  font-weight: 700;
}

.faq-list summary span,
.faq-list summary span::after {
  right: 21px;
  background: var(--green);
}

.faq-list details p {
  padding: 0 48px 21px 20px;
}

.final-cta {
  padding: clamp(52px, 6vw, 72px) 0;
  background: #17645c;
}

.final-cta h2 {
  font-size: clamp(1.9rem, 3vw, 2.75rem);
}

.final-cta p:not(.kicker),
.final-cta .kicker {
  color: #d8ece7;
}

.breadcrumbs {
  padding-top: 19px;
}

.breadcrumbs ol {
  color: #64736f;
  font-size: 0.74rem;
  font-weight: 600;
}

.page-hero {
  padding: clamp(62px, 7vw, 88px) 0;
  border-bottom: 0;
  background: linear-gradient(120deg, #fbfaf6 0%, #f1f7f4 100%);
}

.page-hero__grid {
  gap: clamp(42px, 7vw, 90px);
}

.page-hero h1,
.page-hero--compact h1 {
  max-width: 850px;
  font-size: clamp(2.7rem, 5vw, 4.45rem);
}

.notice-card {
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid #ecd7ca;
  border-top: 1px solid #ecd7ca;
  border-radius: 10px;
  background: var(--peach);
}

.notice-card .kicker,
.notice-card a {
  color: #8c4d3d;
}

.notice-card > p:nth-child(2) {
  font-family: var(--sans);
  font-size: 1.08rem;
  line-height: 1.58;
}

.intro-grid {
  gap: clamp(42px, 7vw, 90px);
}

.scope-card,
.contact-card {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255,255,255,0.68);
  box-shadow: var(--shadow-soft);
}

.check-list li::before {
  color: var(--green);
  content: "✓";
}

.guide-grid {
  gap: 16px;
  border: 0;
}

.guide-card {
  min-height: 270px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255,255,255,0.58);
  box-shadow: none;
}

.guide-card:hover {
  border-color: #8bb0a8;
  background: var(--white);
  box-shadow: var(--shadow);
  color: var(--ink);
}

.guide-card > span,
.guide-card:hover > span {
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.guide-card h3 {
  margin-top: 35px;
}

.guide-card p,
.guide-card:hover p {
  color: var(--ink-soft);
}

.guide-card > strong,
.guide-card:hover > strong {
  border-color: var(--line);
  color: var(--blue);
  font-size: 0.81rem;
}

.source-grid {
  gap: clamp(42px, 7vw, 90px);
}

.source-list a {
  border-color: rgba(218,238,232,0.22);
}

.source-list span {
  color: #bfe1d8;
}

.stage-grid,
.compact-guide-grid,
.inline-link-grid {
  gap: 14px;
  border: 0;
}

.stage-grid article,
.compact-guide-grid a,
.inline-link-grid a {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255,255,255,0.62);
}

.stage-grid article {
  min-height: 245px;
}

.stage-grid article > span,
.compact-guide-grid a > span:first-child,
.inline-link-grid span {
  color: var(--blue);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.stage-grid h3 {
  margin-top: 48px;
}

.compact-guide-grid strong,
.inline-link-grid strong,
.boundary-list strong {
  font-family: var(--sans);
}

.article-hero {
  padding: clamp(56px, 7vw, 84px) 0;
  border-bottom: 0;
  background: linear-gradient(120deg, #fbfaf6 0%, #eef6f2 100%);
}

.article-hero__inner {
  gap: clamp(42px, 7vw, 84px);
}

.article-hero h1 {
  max-width: 850px;
  font-size: clamp(2.55rem, 4.3vw, 3.95rem);
}

.article-meta span {
  padding: 0 10px 0 0;
  border: 0;
  border-right: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  color: #60706b;
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0;
  text-transform: none;
}

.article-meta span:last-child {
  padding-right: 0;
  border-right: 0;
}

.article-meta a {
  color: inherit;
  font-weight: 700;
}

.article-layout {
  padding-block: clamp(58px, 8vw, 94px);
  grid-template-columns: 230px minmax(0, 750px);
  gap: clamp(42px, 7vw, 90px);
}

.article-aside {
  top: 105px;
  padding: 22px;
  border-radius: 10px;
  background: rgba(255,255,255,0.72);
  box-shadow: var(--shadow-soft);
}

.article-aside a {
  font-size: 0.8rem;
}

.article-toc summary {
  display: none;
}

.article-toc > div > a:first-child {
  margin-top: 0;
}

.article-content > section {
  padding-bottom: clamp(48px, 6vw, 70px);
  scroll-margin-top: 118px;
}

.article-deadline {
  margin-bottom: 44px;
  padding: 22px 24px;
  border: 1px solid #e9cfc0;
  border-left: 4px solid var(--coral);
  border-radius: 8px;
  background: #fff7f1;
}

.article-deadline strong,
.article-deadline p {
  display: block;
}

.article-deadline p {
  margin: 6px 0 10px;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.article-deadline a {
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 750;
}

.library-filter {
  padding: 36px 0;
  border-block: 1px solid var(--line);
  background: #edf5f2;
}

.library-filter__inner {
  display: grid;
  grid-template-columns: minmax(230px, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(30px, 7vw, 90px);
  align-items: end;
}

.library-filter h2,
.library-filter p {
  margin-bottom: 0;
}

.library-filter h2 {
  max-width: 540px;
  font-size: clamp(1.75rem, 3vw, 2.55rem);
}

.library-filter__controls {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(180px, 0.7fr);
  gap: 14px;
  align-items: end;
}

.library-filter label {
  display: grid;
  gap: 7px;
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 750;
}

.library-filter input,
.library-filter select {
  width: 100%;
  min-height: 48px;
  padding: 10px 13px;
  border: 2px solid #607873;
  border-radius: 7px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.library-filter input:focus,
.library-filter select:focus {
  border-color: #0b5d55;
  outline: 3px solid #fff;
  outline-offset: 2px;
  box-shadow: 0 0 0 6px #0b5d55;
}

.library-filter__status {
  grid-column: 1;
  min-height: 20px;
  color: #506661;
  font-size: 0.78rem;
}

.library-filter__reset {
  justify-self: end;
  border: 0;
  border-bottom: 2px solid currentColor;
  background: transparent;
  color: var(--green);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 750;
  cursor: pointer;
}

[hidden] {
  display: none !important;
}

.article-content h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.75rem);
}

.article-content h3 {
  font-size: 1.38rem;
}

.article-content .article-lead {
  font-family: var(--sans);
  font-size: 1.18rem;
  line-height: 1.7;
}

.action-stack {
  display: grid;
  gap: 10px;
  border: 0;
}

.action-stack > div {
  padding: 17px 18px;
  grid-template-columns: 38px 1fr;
  gap: 13px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(255,255,255,0.64);
}

.action-stack span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: var(--mint);
  letter-spacing: 0;
}

.substantive-stack {
  border-color: var(--line);
}

.article-subsection .section-number {
  width: fit-content;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--mint);
  font-size: 0.7rem;
  letter-spacing: 0;
}

.article-subsection h3 {
  font-size: clamp(1.45rem, 2.5vw, 1.9rem);
}

.decision-grid {
  gap: 12px;
}

.decision-block {
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--green);
  border-radius: 13px;
  background: var(--white);
}

.decision-block > span {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.info-note {
  padding: 24px 26px;
  border: 1px solid #cde3dc;
  border-top: 1px solid #cde3dc;
  border-radius: 14px;
  background: var(--mint);
}

.info-note strong {
  font-family: var(--sans);
  font-size: 1.08rem;
}

.article-faq {
  display: grid;
  gap: 10px;
  border: 0;
}

.article-faq details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,0.68);
}

.article-faq summary {
  padding: 20px 52px 20px 20px;
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 700;
}

.article-faq summary span::before,
.article-faq summary span::after {
  right: 21px;
  background: var(--green);
}

.article-faq details p {
  padding: 0 44px 22px 20px;
}

.inline-link-grid a:hover {
  border-color: #8bb0a8;
  background: #f5faf8;
}

.enquiry-form {
  border-radius: 10px;
  box-shadow: var(--shadow-soft);
}

.enquiry-form input,
.enquiry-form select,
.enquiry-form textarea {
  border-radius: 10px;
  background: #f4f7f5;
}

.site-footer {
  padding-top: 66px;
  background: #143f3b;
}

.brand--footer,
.brand--footer strong {
  color: var(--white);
}

.brand--footer .brand-mark {
  color: #c6dcd6;
}

.brand--footer small,
.footer-grid > div:first-child > p,
.footer-grid > div:not(:first-child) a {
  color: #c6dcd6;
}

.footer-grid h2 {
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.footer-note,
.footer-legal {
  color: #9fc0b8 !important;
}

.footer-legal {
  border-color: rgba(205,231,224,0.17);
}

@media (max-width: 1120px) {
  .menu-toggle {
    min-height: 44px;
    padding-block: 10px;
  }

  .site-nav {
    border-color: var(--line);
    background: #fbfaf6;
    box-shadow: var(--shadow);
  }

  .hero-grid,
  .page-hero__grid,
  .article-hero__inner {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 780px;
  }

  .triage-card,
  .notice-card,
  .article-hero .match-disclosure {
    max-width: 720px;
  }

}

@media (max-width: 820px) {
  :root { --shell: min(100% - 34px, 1160px); }

  .prototype-bar {
    justify-content: center;
    text-align: center;
  }

  .prototype-bar span:last-child {
    display: none;
  }

  .site-header {
    min-height: 74px;
  }

  .hero {
    padding-block: 58px 66px;
    background: var(--paper);
  }

  .hero::before,
  .hero::after {
    display: none;
  }

  .support-band__inner {
    grid-template-columns: 40px 1fr;
  }

  .support-band a {
    grid-column: 2;
    white-space: normal;
  }

  .split-layout,
  .human-story,
  .proof-grid,
  .faq-layout,
  .intro-grid,
  .document-grid,
  .roadmap-grid,
  .contact-layout,
  .source-grid,
  .article-layout {
    grid-template-columns: 1fr;
  }

  .article-aside {
    position: static;
    padding: 0;
    background: transparent;
    box-shadow: none;
  }

  .article-toc {
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
  }

  .article-toc summary {
    padding: 18px 20px;
    display: list-item;
    cursor: pointer;
    color: var(--navy);
    font-weight: 800;
  }

  .article-toc > div {
    padding: 0 20px 18px;
  }

  .library-filter__inner,
  .library-filter__controls {
    grid-template-columns: 1fr;
  }

  .library-filter__status {
    grid-column: auto;
  }

  .directory-link {
    align-items: flex-start;
    flex-direction: column;
  }

  .section {
    padding-block: 64px;
  }
}

@media (min-width: 1121px) and (max-height: 850px) {
  .hero--home {
    padding-block: 45px 52px;
  }

  .hero--home .hero-copy h1 {
    font-size: clamp(3.2rem, 4.8vw, 5rem);
  }

  .hero--home .hero-dek {
    margin-bottom: 20px;
  }

  .hero--home .hero-note {
    margin-bottom: 20px;
  }

  .hero--home .hero-reassurance {
    margin-top: 18px;
  }

  .hero--home .triage-card__icon {
    margin-bottom: 16px;
  }

  .hero--home .triage-card h2 {
    margin-bottom: 16px;
  }
}

@media (max-width: 560px) {
  h1,
  .page-hero h1,
  .page-hero--compact h1,
  .article-hero h1 {
    font-size: clamp(2.35rem, 11vw, 3.35rem);
  }

  h2 {
    font-size: clamp(1.8rem, 8vw, 2.45rem);
  }

  .brand-mark,
  .brand-mark--wide {
    width: 39px;
    height: 39px;
  }

  .brand-mark svg,
  .brand-mark--wide svg {
    width: 39px;
    height: 39px;
  }

  .hero-reassurance {
    display: grid;
  }

  .triage-card {
    padding: 24px 20px;
    border-radius: 12px;
  }

  .support-band__inner {
    grid-template-columns: 1fr;
  }

  .support-band__mark {
    display: none;
  }

  .support-band a {
    grid-column: auto;
  }

  .service-grid,
  .guide-grid,
  .compact-guide-grid,
  .inline-link-grid,
  .route-grid,
  .stage-grid,
  .related-grid {
    grid-template-columns: 1fr;
  }

  .service-card,
  .service-card:last-child,
  .guide-card {
    min-height: 250px;
  }

  .route-grid a {
    min-height: 235px;
  }

  .button-row {
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .article-meta {
    gap: 6px;
  }

  .article-meta span {
    width: fit-content;
  }

  .guide-page .breadcrumbs li:last-child {
    min-width: 0;
    max-width: 48vw;
  }

  .guide-page .breadcrumbs li:last-child span {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

@media (max-width: 420px) {
  .guide-page .article-hero h1 {
    font-size: 2.3rem;
    line-height: 1.06;
  }
}

@media print {
  .prototype-bar,
  .site-header,
  .site-footer,
  .button,
  .final-cta,
  .support-band { display: none !important; }

  body { background: white; color: black; }
  .section, .page-hero { padding: 32px 0; }
}
