:root {
  /* fixed brand colours (hero, footer, CTA band) */
  --navy: #0A2342;
  --navy-2: #123A66;
  --navy-deep: #071A31;
  --coral: #FF8A6B;
  --maple: #C8321E;
  --maple-hover: #A92816;
  --sky: #BFD6EA;

  /* themed tokens */
  --bg: #F4F7FA;
  --surface: #FFFFFF;
  --ink: #0F2339;
  --muted: #526579;
  --line: #D8E2EB;
  --tint: #E6EEF6;
  --link: #1C5E92;
  --shadow: 0 1px 2px rgba(10,35,66,.06), 0 12px 32px -8px rgba(10,35,66,.18);

  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --gutter: clamp(1.25rem, 5vw, 4rem);
  --max: 76rem;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0B1726; --surface: #12243A; --ink: #E8EEF4; --muted: #A3B4C5;
    --line: #26405C; --tint: #183552; --link: #8CC0EA;
    --shadow: 0 1px 2px rgba(0,0,0,.4), 0 12px 32px -8px rgba(0,0,0,.6);
  }
}
:root[data-theme="dark"] {
  --bg: #0B1726; --surface: #12243A; --ink: #E8EEF4; --muted: #A3B4C5;
  --line: #26405C; --tint: #183552; --link: #8CC0EA;
  --shadow: 0 1px 2px rgba(0,0,0,.4), 0 12px 32px -8px rgba(0,0,0,.6);
}

*, *::before, *::after { box-sizing: border-box; }
:root { padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); }
html { scroll-padding-top: calc(env(safe-area-inset-top, 0px) + 5rem); scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 1.0625rem; line-height: 1.65; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.1; margin: 0; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.6rem, 6.2vw, 4.75rem); }
h2 { font-size: clamp(2rem, 3.8vw, 3rem); }
h3 { font-size: 1.45rem; }
p { margin: 0; }
a { color: var(--link); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 3px; }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -9999px; top: 0; background: var(--navy); color: #fff; padding: .75rem 1rem; z-index: 100; }
.skip:focus { left: 0; }
svg.i { width: 1.5rem; height: 1.5rem; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: .5rem; background: var(--maple); color: #fff; font: 700 1rem/1 var(--sans); padding: 1rem 1.5rem; border: 0; border-radius: 6px; text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--maple-hover); }
.btn.outline { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.55); }
.btn.outline:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn.small { padding: .8rem 1.1rem; font-size: .95rem; }

/* Top bar + header */
.topbar { background: var(--navy-deep); color: var(--sky); font-size: .9rem; }
.topbar .wrap { display: flex; justify-content: space-between; gap: .5rem 1.5rem; flex-wrap: wrap; padding-block: .55rem; }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { text-decoration: underline; }
.topbar .group { display: flex; gap: .4rem 1.5rem; flex-wrap: wrap; }
header.site { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 30; }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-block: .85rem; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--ink); }
.brand .mark { width: 2.5rem; height: 2.5rem; border-radius: 8px; background: var(--navy); color: #fff; display: grid; place-items: center; font: 700 1.05rem/1 var(--serif); letter-spacing: .02em; }
.brand .name { font: 600 1.35rem/1 var(--serif); letter-spacing: -0.01em; }
.brand .name small { display: block; font: 500 .72rem/1.3 var(--sans); color: var(--muted); letter-spacing: .01em; margin-top: .25rem; }
.nav { display: flex; gap: 1.75rem; align-items: center; flex-wrap: wrap; }
.nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .96rem; padding-block: .3rem; border-bottom: 2px solid transparent; }
.nav a:not(.btn):hover { border-bottom-color: var(--maple); }

/* Hero */
.hero { position: relative; color: #fff; background: radial-gradient(120% 90% at 85% 10%, var(--navy-2) 0%, var(--navy) 55%, var(--navy-deep) 100%); overflow: hidden; padding-block: clamp(1.75rem, 3.5vw, 3rem) 5.5rem; }
.hero .topo { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .5; pointer-events: none; }
.hero-grid { position: relative; display: grid; gap: 2.5rem; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 62rem) { .hero-grid { grid-template-columns: 1.05fr .95fr; gap: 3rem; } }
.hero h1 { font-size: clamp(2rem, 3.8vw, 3.1rem); max-width: 20ch; }
.hero h1 em { font-style: italic; color: var(--coral); font-weight: 400; }
.hero .lede { margin-top: 1rem; font-size: 1.05rem; color: #D5E3F0; max-width: 33rem; }
.hero .actions { margin-top: 1.4rem; display: flex; gap: .85rem; flex-wrap: wrap; }
.hero .lic { margin-top: 1.1rem; display: flex; align-items: center; gap: .6rem; color: var(--sky); font-size: .92rem; }
.hero .lic svg { color: var(--coral); width: 1.4rem; height: 1.4rem; }
/* Finder card overlapping hero */
.finder-wrap { position: relative; margin-top: -3.5rem; z-index: 5; }
.finder { background: var(--surface); border-radius: 12px; box-shadow: var(--shadow); border: 1px solid var(--line); overflow: hidden; }
.finder-head { padding: 1.5rem 1.75rem; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; align-items: baseline; }
.finder-head h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.finder-head p { color: var(--muted); }
.finder-body { display: grid; grid-template-columns: 1fr; }
@media (min-width: 52rem) { .finder-body { grid-template-columns: 19rem 1fr; } }
.tabs { display: flex; flex-direction: column; border-bottom: 1px solid var(--line); background: var(--bg); }
@media (min-width: 52rem) { .tabs { border-bottom: 0; border-right: 1px solid var(--line); } }
.tab { display: flex; align-items: center; gap: .85rem; text-align: left; background: none; border: 0; border-left: 4px solid transparent; border-bottom: 1px solid var(--line); padding: .8rem 1.25rem; font: 600 .98rem/1.3 var(--sans); color: var(--ink); cursor: pointer; }
.tab:last-child { border-bottom: 0; }
.tab svg { color: var(--link); }
.tab:hover { background: var(--tint); }
.tab[aria-selected="true"] { background: var(--surface); border-left-color: var(--maple); }
@media (min-width: 52rem) { .tab[aria-selected="true"] { margin-right: -1px; } }
.panel { padding: clamp(1.5rem, 3vw, 2.5rem); }
.panel[hidden] { display: none; }
.panel .for { color: var(--muted); margin-top: .75rem; max-width: 38rem; font-size: 1.05rem; }
.panel h3 { font-size: clamp(1.8rem, 3vw, 2.3rem); }
.panel ul { list-style: none; padding: 0; margin: 1.75rem 0; display: grid; gap: .6rem 2rem; grid-template-columns: 1fr; }
@media (min-width: 40rem) { .panel ul { grid-template-columns: 1fr 1fr; } }
.panel li { display: flex; gap: .65rem; align-items: baseline; padding: .55rem 0; border-bottom: 1px solid var(--line); font-weight: 500; }
.panel li::before { content: ""; width: .5rem; height: .5rem; background: var(--maple); border-radius: 50%; flex: none; transform: translateY(-.1rem); }
.panel li a { font-weight: 600; }

/* Sections */
section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.section-head { max-width: 42rem; margin-bottom: 3rem; }
.section-head p { margin-top: 1rem; color: var(--muted); font-size: 1.12rem; }

/* Why */
.why-grid { display: grid; gap: 2.5rem; grid-template-columns: 1fr; }
@media (min-width: 48rem) { .why-grid { grid-template-columns: repeat(3, 1fr); gap: 3rem; } }
.why-grid .ico { width: 3.25rem; height: 3.25rem; border-radius: 10px; background: var(--tint); color: var(--link); display: grid; place-items: center; margin-bottom: 1.1rem; }
.why-grid .ico svg { width: 1.6rem; height: 1.6rem; }
.why-grid h3 { margin-bottom: .6rem; }
.why-grid p { color: var(--muted); }

/* Stats strip */
.strip { background: var(--navy); color: #fff; padding-block: 2.75rem; }
.strip .wrap { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
@media (min-width: 48rem) { .strip .wrap { grid-template-columns: repeat(4, 1fr); } }
.strip dt { font: 500 clamp(2.2rem, 4vw, 3rem)/1 var(--serif); color: #fff; }
.strip dd { margin: .5rem 0 0; color: var(--sky); font-size: .98rem; }
.strip dl { margin: 0; } .strip .stat { border-left: 2px solid var(--coral); padding-left: 1.1rem; }

/* Process */
.timeline { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; gap: 2rem; grid-template-columns: 1fr; position: relative; }
@media (min-width: 52rem) {
  .timeline { grid-template-columns: repeat(4, 1fr); gap: 2rem; }
  .timeline::before { content: ""; position: absolute; top: 1.6rem; left: 1.6rem; right: 1.6rem; height: 2px; background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 14px); }
}
.timeline li { counter-increment: s; position: relative; }
.timeline li::before { content: counter(s); position: relative; z-index: 1; width: 3.2rem; height: 3.2rem; display: grid; place-items: center; border-radius: 50%; background: var(--navy); color: #fff; font: 500 1.4rem/1 var(--serif); margin-bottom: 1.1rem; box-shadow: 0 0 0 6px var(--bg); }
.timeline h3 { font-size: 1.3rem; margin-bottom: .45rem; }
.timeline p { color: var(--muted); }
.band { background: var(--surface); border-block: 1px solid var(--line); }

/* About */
.about-grid { display: grid; gap: 3rem; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 56rem) { .about-grid { grid-template-columns: 16rem 1fr; gap: 4.5rem; align-items: start; } }
.portrait { margin: 0; max-width: 16rem; }
.portrait .frame { aspect-ratio: 172 / 244; border-radius: 12px; background: linear-gradient(160deg, var(--navy-2), var(--navy-deep)); color: #fff; display: grid; place-items: center; position: relative; overflow: hidden; box-shadow: var(--shadow); }
.portrait .frame span { font: 500 4rem/1 var(--serif); letter-spacing: .02em; }
.portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.portrait figcaption { margin-top: .9rem; font-size: .92rem; color: var(--muted); }
.portrait figcaption strong { display: block; color: var(--ink); font-size: 1rem; }
.about-copy h3 { font-size: 1.6rem; margin-top: 2.5rem; }
.about-copy .role { font-family: var(--sans); font-size: 1.02rem; color: var(--muted); margin-top: .4rem; }
.about-copy .promise p, .about-copy .bio p { font-size: 1.18rem; }
.divider { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0 0; max-width: 40rem; }
.about-copy p { font-family: var(--serif); font-size: 1.3rem; line-height: 1.6; max-width: 40rem; }
.about-copy p + p { margin-top: 1.1rem; }
.creds { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.75rem; padding: 0; list-style: none; }
.creds li { border: 1px solid var(--line); background: var(--bg); border-radius: 999px; padding: .45rem 1rem; font-size: .93rem; font-weight: 600; }

/* Testimonial */
.quote { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%); color: #fff; }
.quote blockquote { margin: 0; max-width: 52rem; position: relative; padding-left: clamp(0rem, 5vw, 4.5rem); }
.quote blockquote::before { content: "\201C"; position: absolute; left: 0; top: -1.2rem; font: 500 8rem/1 var(--serif); color: var(--coral); }
@media (max-width: 40rem) { .quote blockquote::before { position: static; display: block; height: 4rem; } }
.quote p { font: 400 clamp(1.45rem, 2.8vw, 2.1rem)/1.4 var(--serif); }
.quote footer { margin-top: 1.5rem; color: var(--sky); font-weight: 600; }

/* FAQ */
.faq { max-width: 52rem; }
details { border-bottom: 1px solid var(--line); }
details:first-of-type { border-top: 1px solid var(--line); }
summary { list-style: none; cursor: pointer; padding: 1.35rem 3rem 1.35rem 0; position: relative; font: 500 1.35rem/1.3 var(--serif); }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: .25rem; top: 50%; transform: translateY(-50%); font: 400 1.9rem/1 var(--sans); color: var(--maple); }
details[open] summary::after { content: "\2212"; }
details p { padding: 0 3rem 1.5rem 0; color: var(--muted); }

/* Contact */
.contact { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%); color: #fff; }
.contact-grid { display: grid; gap: 3rem; grid-template-columns: 1fr; }
@media (min-width: 56rem) { .contact-grid { grid-template-columns: .85fr 1.15fr; gap: 5rem; } }
.contact .lede { margin-top: 1rem; color: #D5E3F0; font-size: 1.12rem; max-width: 30rem; }
.contact-list { margin: 2.25rem 0 0; padding: 0; list-style: none; display: grid; gap: 1.1rem; }
.contact-list li { display: flex; gap: 1rem; align-items: flex-start; }
.contact-list svg { color: var(--coral); margin-top: .15rem; }
.contact-list strong { display: block; font-weight: 700; }
.contact-list a, .contact-list span { color: #D5E3F0; text-decoration: none; }
.contact-list a:hover { color: #fff; text-decoration: underline; }
.form-card { background: var(--surface); color: var(--ink); border-radius: 12px; padding: clamp(1.5rem, 3vw, 2.5rem); box-shadow: 0 20px 50px -12px rgba(0,0,0,.45); }
form { display: grid; gap: 1.1rem; }
.row { display: grid; gap: 1.1rem; grid-template-columns: 1fr; }
@media (min-width: 36rem) { .row { grid-template-columns: 1fr 1fr; } }
label { display: grid; gap: .4rem; font-weight: 600; font-size: .95rem; }
input, select, textarea { font: 500 1rem/1.4 var(--sans); color: var(--ink); background: var(--bg); border: 1.5px solid var(--line); border-radius: 6px; padding: .85rem .95rem; width: 100%; }
input:hover, select:hover, textarea:hover { border-color: var(--link); }
textarea { min-height: 8.5rem; resize: vertical; }
.form-note { color: var(--muted); font-size: .9rem; }
.form-status { font-weight: 600; min-height: 1.4rem; color: var(--link); }

/* Footer */
footer.site { background: var(--navy-deep); color: var(--sky); padding-block: 3rem 2.5rem; font-size: .95rem; }
footer.site .wrap { display: grid; gap: 1.75rem; }
footer.site .top { display: flex; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; align-items: center; }
footer.site nav { display: flex; gap: 1.5rem; flex-wrap: wrap; }
footer.site a { color: #fff; }
footer.site .brand { color: #fff; } footer.site .brand .mark { background: #fff; color: var(--navy); } footer.site .brand .name small { color: var(--sky); }
.disclaimer { max-width: 46rem; border-top: 1px solid rgba(255,255,255,.15); padding-top: 1.5rem; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Services (grouped) */
.panel h4.grp { font: 600 1.2rem/1.2 var(--serif); margin: 1.75rem 0 .4rem; color: var(--ink); }
.panel ul.svc { list-style: none; padding: 0; margin: 0 0 .5rem; display: grid; grid-template-columns: 1fr; gap: 0 2.5rem; }
@media (min-width: 40rem) { .panel ul.svc { grid-template-columns: 1fr 1fr; } }
.panel ul.svc li { display: block; padding: .75rem 0; border-bottom: 1px solid var(--line); font-weight: 400; }
.panel ul.svc li::before { display: none; }
.panel ul.svc li strong { display: block; font-weight: 700; line-height: 1.35; }
.panel ul.svc li span { display: block; color: var(--muted); font-size: .95rem; margin-top: .15rem; }
.panel .pick { margin-top: 1.5rem; }

/* Fees */
.fee-group { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; margin-bottom: .85rem; overflow: hidden; }
.fee-group:first-of-type { border-top: 1px solid var(--line); }
.fee-group summary { font: 500 1.3rem/1.3 var(--serif); padding: 1.1rem 3.25rem 1.1rem 1.4rem; }
.fee-group summary::after { right: 1.25rem; }
.fee-table { width: 100%; border-collapse: collapse; }
.fee-table th, .fee-table td { padding: .85rem 1.4rem; text-align: left; border-top: 1px solid var(--line); vertical-align: top; }
.fee-table thead th { font-size: .9rem; font-weight: 700; color: var(--muted); background: var(--bg); }
.fee-table tbody th { font-weight: 600; width: 38%; }
.fee-table .note { color: var(--muted); font-size: .95rem; }
.fee-table .price { text-align: right; white-space: nowrap; font-weight: 700; }
.fee-table tbody .price { color: var(--ink); }
@media (max-width: 40rem) {
  .fee-table thead { display: none; }
  .fee-table, .fee-table tbody { display: block; }
  .fee-table tr { display: grid; grid-template-columns: 1fr auto; gap: .2rem 1rem; padding: .85rem 1.1rem; border-top: 1px solid var(--line); }
  .fee-table th, .fee-table td { display: block; padding: 0; border: 0; width: auto; }
  .fee-table tbody th { grid-column: 1; grid-row: 1; }
  .fee-table .price { grid-column: 2; grid-row: 1; }
  .fee-table .note { grid-column: 1 / -1; grid-row: 2; }
}
.fee-notes { margin-top: 2.5rem; max-width: 50rem; }
.fee-notes h3 { margin-bottom: 1rem; }
.fee-notes ul { padding-left: 1.2rem; margin: 0 0 1.75rem; }
.fee-notes li { margin-bottom: .6rem; color: var(--muted); }
.fee-notes li strong { color: var(--ink); }

/* FAQ categories */
.faq .cat + .cat { margin-top: 2.75rem; }
.faq .cat h3 { font-size: 1.6rem; margin-bottom: .75rem; }

/* Licence bar (RCIC insignia, per CICC Logo Use Regulation 2021-001) */
.licbar { background: var(--surface); border-bottom: 1px solid var(--line); font-size: .86rem; }
.licbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: .9rem; padding-block: .4rem; }
.lic-right { display: flex; align-items: center; gap: .9rem; }
.ircc-link { font-weight: 600; color: var(--link); text-underline-offset: 3px; white-space: nowrap; }
.licbar p { margin: 0; text-align: right; line-height: 1.35; color: var(--muted); }
.licbar strong { color: var(--ink); }
.rcic-badge { display: block; flex: none; line-height: 0; background: #fff; border-radius: 4px; padding: 2px 4px; }
.rcic-badge img { display: block; height: 2.4rem; width: auto; }
/* Logo: white maple leaf with SAY inside, on a navy square (header) or on its own (navy footer) */
.brand .mark { width: 3.25rem; height: 3.25rem; border-radius: 9px; background: var(--navy); flex: none; }
.brand .mark svg { display: block; width: 3.15rem; height: 3.15rem; }
.brand .mark .lf { fill: #fff; }
.brand .mark .tx { fill: var(--navy); }
footer.site .brand .mark { background: none; width: 3.45rem; height: 3.45rem; }
footer.site .brand .mark svg { width: 3.45rem; height: 3.45rem; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) header.site .brand .mark { box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); } }
:root[data-theme="dark"] header.site .brand .mark { box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); }
.brand .name { font-size: 1.5rem; }
@media (max-width: 40rem) { .licbar { font-size: .78rem; } .rcic-badge img { height: 2.2rem; } }

/* Hero licence row */
.hero .lic { align-items: center; gap: .9rem; }
.hero .lic .rcic-badge img { height: 2.6rem; }
.hero .lic a:not(.rcic-badge) { color: #fff; text-underline-offset: 3px; }
.lic .lic-text { display: grid; gap: .2rem; line-height: 1.35; }
.lic .lic-video { display: inline-flex; align-items: center; gap: .4rem; justify-self: start; font-size: .86rem; font-weight: 600; text-underline-offset: 3px; }
.lic .lic-video svg { width: 1rem; height: 1rem; flex: none; color: var(--coral); }
/* Same RCIC logo, licence and video link under the photo on the About page */
.portrait .cap-name { display: block; color: var(--ink); font-size: .95rem; line-height: 1.45; }
.portrait .cap-name strong { display: inline; font-size: 1rem; }
.lic.lic-photo { display: grid; justify-items: start; gap: .65rem; margin-top: .7rem; font-size: .92rem; color: var(--ink); }
.lic.lic-photo .rcic-badge { border: 1px solid var(--line); }
.lic.lic-photo .rcic-badge img { position: static; inset: auto; width: auto; height: 2.6rem; object-fit: contain; }  /* undo the portrait photo rule */
.lic.lic-photo .lic-video { color: var(--link); }
.lic.lic-photo .lic-video svg { color: var(--maple); }

/* Hero globe (desktop only, so the top stays short on phones) */
.hero-globe { display: none; min-width: 0; }
@media (min-width: 62rem) { .hero-globe { display: block; justify-self: end; width: 100%; max-width: 31rem; aspect-ratio: 1 / 1; margin-block: -3rem; } }
.hero-globe canvas { display: block; width: 100%; height: 100%; cursor: grab; touch-action: pan-y; -webkit-tap-highlight-color: transparent; }
.hero-globe canvas.dragging { cursor: grabbing; }

/* Testimonial on a light band so it does not sit against the dark contact band */
.quote { background: var(--tint); color: var(--ink); }
.quote blockquote::before { color: var(--maple); }
.quote footer { color: var(--muted); }

/* Sub-pages */
.page-hero { color: #fff; background: radial-gradient(120% 120% at 85% 0%, var(--navy-2) 0%, var(--navy) 60%, var(--navy-deep) 100%); padding-block: clamp(2.25rem, 5vw, 3.75rem); }
.page-hero h1 { font-size: clamp(2.1rem, 4.4vw, 3.3rem); }
.page-hero p { margin-top: .85rem; color: #D5E3F0; font-size: 1.1rem; max-width: 42rem; }
/* Resources */
.res-group + .res-group { margin-top: 3.25rem; }
.res-group h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
.res-group > p { color: var(--muted); max-width: 44rem; margin-top: .5rem; }
.res-list { list-style: none; padding: 0; margin: 1.25rem 0 0; display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 46rem) { .res-list { grid-template-columns: 1fr 1fr; } }
.res-card { display: flex; }
.res-card a { display: block; width: 100%; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 1.1rem 1.25rem; text-decoration: none; color: var(--ink); }
.res-card a:hover { border-color: var(--link); box-shadow: var(--shadow); }
.res-card strong { display: block; font-size: 1.05rem; color: var(--link); line-height: 1.35; }
.res-card span { display: block; color: var(--muted); font-size: .95rem; margin-top: .3rem; }
.res-card small { display: block; margin-top: .6rem; color: var(--muted); font-size: .82rem; }
.res-note { margin-top: 3rem; max-width: 46rem; color: var(--muted); font-size: .95rem; border-top: 1px solid var(--line); padding-top: 1.25rem; }
/* Forms (shared) */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.check { display: flex; gap: .7rem; align-items: flex-start; font-weight: 500; line-height: 1.5; }
.check input { width: auto; padding: 0; margin-top: .3rem; flex: none; }
.hint { color: var(--muted); font-weight: 400; font-size: .9rem; }
.lt { display: block; }
.assess-form .row, .page-form .row { align-items: end; }
.assess-grid { display: grid; gap: 2.5rem; grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 62rem) { .assess-grid { grid-template-columns: minmax(0, 1fr) 20rem; gap: 3rem; } }
.assess-form fieldset { border: 0; padding: 0; margin: 0 0 2.25rem; display: grid; gap: 1.1rem; min-width: 0; }
.assess-form legend { font: 500 1.5rem/1.2 var(--serif); padding: 0; margin-bottom: .9rem; color: var(--ink); }
.page-form.form-card { border: 1px solid var(--line); box-shadow: var(--shadow); }
.side-card { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 1.5rem; }
.side-card h2 { font-size: 1.35rem; margin-bottom: .75rem; }
.side-card ol { padding-left: 1.2rem; margin: 0 0 1rem; color: var(--muted); }
.side-card li { margin-bottom: .5rem; }
.side-card p { color: var(--muted); font-size: .95rem; }
.side-card p + p { margin-top: .75rem; }
@media (min-width: 62rem) { .side-card.sticky { position: sticky; top: 1.5rem; } }
.form-status { scroll-margin-top: 6rem; }
.form-status:focus { outline: none; }

/* Reviews */
.review-card { background: var(--tint); border-radius: 14px; padding: clamp(1.5rem, 3vw, 2.5rem); max-width: 52rem; }
.review-card blockquote { margin: 0; }
.review-card blockquote p { font: 400 clamp(1.25rem, 2.2vw, 1.6rem)/1.5 var(--serif); }
.review-card footer { margin-top: 1rem; color: var(--muted); font-weight: 600; }
.section-sub { font-size: clamp(1.6rem, 3vw, 2.1rem); margin: 3rem 0 1rem; }

/* Legal pages */
.legal { max-width: 46rem; }
.legal .updated { color: var(--muted); margin-bottom: 1.5rem; }
.legal h2 { font-size: 1.55rem; margin: 2.5rem 0 .75rem; }
.legal p + p { margin-top: .9rem; }
.legal ul { padding-left: 1.25rem; margin: .75rem 0; }
.legal li { margin-bottom: .45rem; }
.legal .note { background: var(--tint); border-radius: 10px; padding: 1rem 1.25rem; margin: 1.5rem 0; font-size: .98rem; }
.page-hero + section { padding-top: clamp(1.75rem, 4vw, 3rem); }
.cta-band { background: var(--navy); color: #fff; padding-block: clamp(2.5rem, 5vw, 3.5rem); }
.cta-band .wrap { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.cta-band h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.cta-band p { color: #D5E3F0; margin-top: .4rem; }
.nav a[aria-current="page"]:not(.btn) { border-bottom-color: var(--maple); }
@media (max-width: 52rem) {
  header.site { position: static; }
  .nav { gap: .5rem 1.1rem; }
}
}
footer.site nav a { text-decoration: underline; text-underline-offset: 3px; }
