/* ==========================================================================
   Cognovo Pty Ltd — Site Styles
   Better Information. Better Mental Health Care.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */

:root {
  /* Brand palette */
  --navy-900: #071a2f;
  --navy-800: #0a2540;
  --navy-700: #113253;
  --blue-600: #1d6fa5;
  --blue-500: #2b8ac6;
  --teal-500: #12b5a5;
  --teal-400: #2fd0c0;

  /* Neutrals */
  --ink: #0e1c2b;
  --ink-soft: #40536b;
  --ink-muted: #6b7c93;
  --line: #e2e8f0;
  --surface: #ffffff;
  --surface-alt: #f5f8fb;
  --surface-tint: #eef4f9;

  /* Type */
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;

  /* Scale */
  --step--1: clamp(0.83rem, 0.8rem + 0.15vw, 0.9rem);
  --step-0: clamp(1rem, 0.96rem + 0.2vw, 1.08rem);
  --step-1: clamp(1.2rem, 1.1rem + 0.5vw, 1.4rem);
  --step-2: clamp(1.45rem, 1.25rem + 1vw, 1.95rem);
  --step-3: clamp(1.8rem, 1.4rem + 1.9vw, 2.6rem);
  --step-4: clamp(2.2rem, 1.5rem + 3.2vw, 3.6rem);

  /* Structure */
  --wrap: 1140px;
  --wrap-narrow: 780px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(10, 37, 64, 0.06),
    0 4px 12px rgba(10, 37, 64, 0.05);
  --shadow-md: 0 12px 32px rgba(10, 37, 64, 0.1);
  --shadow-lg: 0 24px 60px rgba(10, 37, 64, 0.14);
  --header-h: 76px;
}

/* --------------------------------------------------------------------------
   2. Reset & base
   -------------------------------------------------------------------------- */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.5em;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--navy-800);
  font-weight: 700;
}

h1 {
  font-size: var(--step-4);
  letter-spacing: -0.035em;
}
h2 {
  font-size: var(--step-3);
  letter-spacing: -0.028em;
}
h3 {
  font-size: var(--step-1);
}

p {
  margin: 0 0 1.15em;
}

a {
  color: var(--blue-600);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--navy-800);
}

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

ul,
ol {
  padding-left: 1.2em;
}

li {
  margin-bottom: 0.45em;
}

hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 2.5rem 0;
}

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

/* --------------------------------------------------------------------------
   3. Layout helpers
   -------------------------------------------------------------------------- */

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: clamp(1.15rem, 4vw, 2rem);
}

.wrap--narrow {
  max-width: var(--wrap-narrow);
}

.section {
  padding-block: clamp(3.5rem, 8vw, 6.5rem);
}

.section--tint {
  background: var(--surface-alt);
  border-block: 1px solid var(--line);
}

.section__head {
  max-width: 720px;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.section__head--center {
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  font-size: var(--step--1);
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-500);
  margin-bottom: 0.85rem;
}

.lede {
  font-size: var(--step-1);
  line-height: 1.55;
  color: var(--ink-soft);
  font-weight: 400;
}

.muted {
  color: var(--ink-muted);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--navy-800);
  color: #fff;
  padding: 0.75rem 1.25rem;
  border-radius: 0 0 8px 0;
}

.skip-link:focus {
  left: 0;
  color: #fff;
}

/* --------------------------------------------------------------------------
   4. Buttons
   -------------------------------------------------------------------------- */

.btn {
  --btn-bg: var(--navy-800);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.6rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font: inherit;
  font-weight: 600;
  font-size: var(--step-0);
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease,
    background-color 0.18s ease, border-color 0.18s ease;
}

.btn:hover {
  color: var(--btn-fg);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn:active {
  transform: translateY(0);
}

.btn--accent {
  --btn-bg: var(--teal-500);
  --btn-fg: #04231f;
}

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--navy-800);
  border-color: rgba(10, 37, 64, 0.2);
}

.btn--ghost:hover {
  border-color: var(--navy-800);
  background: rgba(10, 37, 64, 0.04);
}

.btn--on-dark {
  --btn-bg: rgba(255, 255, 255, 0.08);
  --btn-fg: #fff;
  border-color: rgba(255, 255, 255, 0.32);
}

.btn--on-dark:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.6);
}

.btn--block {
  width: 100%;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

/* --------------------------------------------------------------------------
   5. Header & navigation
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.site-header.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 4px 20px rgba(10, 37, 64, 0.05);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--navy-800);
  flex-shrink: 0;
}

.brand__mark {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand__name {
  font-size: 1.28rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.brand__tag {
  font-size: 0.63rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink-muted);
  font-weight: 600;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.nav a {
  padding: 0.55rem 0.9rem;
  border-radius: 8px;
  font-size: 0.97rem;
  font-weight: 550;
  color: var(--ink-soft);
  text-decoration: none;
  transition: color 0.15s ease, background-color 0.15s ease;
}

.nav a:hover {
  color: var(--navy-800);
  background: var(--surface-tint);
}

.nav a[aria-current="page"] {
  color: var(--navy-800);
  font-weight: 650;
}

.nav .btn {
  margin-left: 0.6rem;
  padding: 0.65rem 1.3rem;
  font-size: 0.95rem;
}

/* The CTA keeps its white label even when it is the current page. */
.nav .btn,
.nav .btn[aria-current="page"] {
  color: #fff;
}

.nav .btn:hover {
  background: var(--navy-700);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  cursor: pointer;
  color: var(--navy-800);
}

.nav-toggle svg {
  margin-inline: auto;
}

.nav-toggle .icon-close {
  display: none;
}

.nav-toggle[aria-expanded="true"] .icon-open {
  display: none;
}

.nav-toggle[aria-expanded="true"] .icon-close {
  display: block;
}

@media (max-width: 860px) {
  .nav-toggle {
    display: block;
  }

  .nav {
    position: absolute;
    inset: 100% 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
    padding: 0.75rem clamp(1.15rem, 4vw, 2rem) 1.4rem;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    display: none;
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 0.8rem 0.75rem;
    font-size: 1.05rem;
  }

  .nav .btn {
    margin: 0.5rem 0 0;
    padding: 0.85rem 1.3rem;
  }
}

/* --------------------------------------------------------------------------
   6. Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(155deg, var(--navy-900) 0%, var(--navy-800) 45%, #10456b 100%);
  color: #e8f1f8;
  padding-block: clamp(4rem, 10vw, 7.5rem);
  isolation: isolate;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  z-index: -1;
  pointer-events: none;
}

.hero::before {
  width: 520px;
  height: 520px;
  top: -180px;
  right: -120px;
  background: radial-gradient(circle, rgba(18, 181, 165, 0.42), transparent 68%);
}

.hero::after {
  width: 460px;
  height: 460px;
  bottom: -220px;
  left: -140px;
  background: radial-gradient(circle, rgba(45, 138, 198, 0.4), transparent 68%);
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2.5rem, 6vw, 4.5rem);
  align-items: center;
}

.hero h1 {
  color: #fff;
  margin-bottom: 1rem;
}

.hero__slogan {
  font-size: var(--step-2);
  font-weight: 600;
  color: var(--teal-400);
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: 1.4rem;
}

.hero__copy {
  font-size: var(--step-1);
  color: rgba(232, 241, 248, 0.82);
  line-height: 1.6;
  max-width: 46ch;
}

.hero .eyebrow {
  color: var(--teal-400);
}

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 2.2rem;
  padding-top: 1.8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  font-size: var(--step--1);
  font-weight: 550;
  color: rgba(232, 241, 248, 0.9);
  background: rgba(255, 255, 255, 0.05);
}

/* Hero visual — abstract data/network panel */
.hero__visual {
  position: relative;
  padding: 1.75rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(6px);
  box-shadow: var(--shadow-lg);
}

.hero__visual-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(232, 241, 248, 0.62);
  margin-bottom: 1.25rem;
}

.dot-row {
  display: inline-flex;
  gap: 5px;
}

.dot-row span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
}

.dot-row span:first-child {
  background: var(--teal-400);
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.metric {
  padding: 1rem 1.1rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.metric__value {
  font-size: 1.7rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.metric__label {
  font-size: 0.78rem;
  color: rgba(232, 241, 248, 0.62);
  margin-top: 0.2rem;
}

.bar-chart {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 96px;
  margin-top: 1.1rem;
  padding: 1rem 1.1rem 0.9rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.bar-chart span {
  flex: 1;
  border-radius: 4px 4px 2px 2px;
  background: linear-gradient(180deg, var(--teal-400), rgba(45, 138, 198, 0.55));
  transform-origin: bottom;
  animation: bar-rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

@keyframes bar-rise {
  from {
    transform: scaleY(0.05);
    opacity: 0;
  }
}

@media (max-width: 900px) {
  .hero__grid {
    grid-template-columns: 1fr;
  }

  .hero__visual {
    order: -1;
  }
}

/* --------------------------------------------------------------------------
   7. Cards & grids
   -------------------------------------------------------------------------- */

.grid {
  display: grid;
  gap: clamp(1.1rem, 2.4vw, 1.75rem);
}

.grid--2 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid--3 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid--4 {
  grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
}

.card {
  display: flex;
  flex-direction: column;
  padding: clamp(1.5rem, 3vw, 2rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease,
    border-color 0.22s ease;
}

.card--hover:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(18, 181, 165, 0.45);
}

.card h3 {
  margin-bottom: 0.55rem;
}

.card p:last-child {
  margin-bottom: 0;
}

.card__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 1.15rem;
  border-radius: 14px;
  background: linear-gradient(140deg, var(--navy-800), var(--blue-600));
  color: #fff;
  box-shadow: 0 8px 18px rgba(10, 37, 64, 0.2);
}

.card__icon--accent {
  background: linear-gradient(140deg, var(--teal-500), #0d8f9c);
  box-shadow: 0 8px 18px rgba(18, 181, 165, 0.28);
}

.card__list {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  font-size: var(--step--1);
  color: var(--ink-soft);
}

.card__list li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 0.4rem;
}

.card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal-500);
}

/* Numbered process steps */
.step {
  position: relative;
  padding-top: 1.5rem;
  border-top: 3px solid var(--line);
  transition: border-color 0.22s ease;
}

.step:hover {
  border-top-color: var(--teal-500);
}

.step__num {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--teal-500);
  margin-bottom: 0.6rem;
}

.step h3 {
  font-size: 1.12rem;
}

.step p {
  font-size: var(--step--1);
  color: var(--ink-soft);
  margin-bottom: 0;
}

/* Split feature block */
.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.stat-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  padding: clamp(1.75rem, 4vw, 2.5rem);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--navy-800), #12456b);
  color: #fff;
  box-shadow: var(--shadow-md);
}

.stat-strip .metric__value {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  color: var(--teal-400);
}

.stat-strip .metric__label {
  color: rgba(232, 241, 248, 0.75);
  font-size: 0.9rem;
}

/* --------------------------------------------------------------------------
   8. Page header (interior pages)
   -------------------------------------------------------------------------- */

.page-head {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3rem, 7vw, 5rem);
  background: linear-gradient(150deg, var(--navy-900), var(--navy-700) 70%, #13496f);
  color: #e8f1f8;
}

.page-head::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  top: -200px;
  right: -100px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(18, 181, 165, 0.35), transparent 70%);
  filter: blur(60px);
}

.page-head h1 {
  color: #fff;
  max-width: 18ch;
}

.page-head .lede {
  color: rgba(232, 241, 248, 0.82);
  max-width: 58ch;
  margin-bottom: 0;
}

.page-head .eyebrow {
  color: var(--teal-400);
}

.breadcrumb {
  font-size: var(--step--1);
  color: rgba(232, 241, 248, 0.6);
  margin-bottom: 1rem;
}

.breadcrumb a {
  color: rgba(232, 241, 248, 0.85);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: #fff;
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   9. Long-form content (privacy policy)
   -------------------------------------------------------------------------- */

.prose h2 {
  font-size: var(--step-2);
  margin-top: 2.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
}

.prose h2:first-of-type {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.prose h3 {
  font-size: 1.1rem;
  margin-top: 1.75rem;
}

.prose li {
  color: var(--ink-soft);
}

.prose ul {
  margin-bottom: 1.15em;
}

.callout {
  padding: 1.35rem 1.6rem;
  margin-bottom: 2.5rem;
  border-radius: var(--radius);
  border-left: 4px solid var(--teal-500);
  background: var(--surface-tint);
  font-size: var(--step--1);
  color: var(--ink-soft);
}

.callout p:last-child {
  margin-bottom: 0;
}

.callout strong {
  color: var(--navy-800);
}

.toc {
  padding: 1.4rem 1.6rem;
  margin-bottom: 2.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-alt);
}

.toc h2 {
  font-size: 0.78rem !important;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin: 0 0 0.85rem !important;
  padding: 0 !important;
  border: 0 !important;
}

.toc ol {
  margin: 0;
  padding-left: 1.25rem;
  columns: 2;
  column-gap: 2rem;
  font-size: var(--step--1);
}

.toc li {
  break-inside: avoid;
}

@media (max-width: 640px) {
  .toc ol {
    columns: 1;
  }
}

/* --------------------------------------------------------------------------
   10. Contact page
   -------------------------------------------------------------------------- */

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
}

@media (max-width: 900px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

.email-card {
  padding: clamp(1.6rem, 3.5vw, 2.75rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.email-card h2 {
  font-size: var(--step-2);
  max-width: 20ch;
}

.email-card h3 {
  font-size: 1.05rem;
}

.email-card hr {
  margin: 2rem 0 1.75rem;
}

/* The address itself is the primary call to action. */
.email-card__address {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: 1.25rem;
  padding: 1.1rem 1.5rem;
  border: 1px solid rgba(18, 181, 165, 0.35);
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--surface-tint), #eafaf7);
  color: var(--navy-800);
  font-size: clamp(1.05rem, 0.85rem + 1vw, 1.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
  word-break: break-word;
  transition: transform 0.18s ease, box-shadow 0.18s ease,
    border-color 0.18s ease;
}

.email-card__address svg {
  flex-shrink: 0;
  color: var(--teal-500);
}

.email-card__address:hover {
  transform: translateY(-2px);
  border-color: var(--teal-500);
  box-shadow: var(--shadow-md);
  color: var(--navy-800);
}

.contact-aside {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.info-card {
  padding: 1.5rem 1.6rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface-alt);
}

.info-card h3 {
  font-size: 1.02rem;
  margin-bottom: 0.75rem;
}

.info-card p {
  font-size: var(--step--1);
  color: var(--ink-soft);
  margin-bottom: 0.5rem;
}

.info-card p:last-child {
  margin-bottom: 0;
}

.info-card--urgent {
  background: #fff7ed;
  border-color: #fed7aa;
}

.info-card--urgent h3 {
  color: #9a3412;
}

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

.contact-list li {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  margin-bottom: 1rem;
  font-size: var(--step--1);
  color: var(--ink-soft);
}

.contact-list li:last-child {
  margin-bottom: 0;
}

.contact-list svg {
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--teal-500);
}

.contact-list strong {
  display: block;
  color: var(--navy-800);
  font-size: 0.9rem;
}

/* --------------------------------------------------------------------------
   11. About page extras
   -------------------------------------------------------------------------- */

.value-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.5rem;
}

.value-list li {
  padding-left: 3.6rem;
  position: relative;
  margin: 0;
}

.value-list .value__num {
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--surface-tint);
  color: var(--blue-600);
  font-weight: 700;
  font-size: 0.9rem;
}

.value-list h3 {
  font-size: 1.08rem;
  margin-bottom: 0.3rem;
}

.value-list p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: var(--step--1);
}

/* --------------------------------------------------------------------------
   12. CTA band
   -------------------------------------------------------------------------- */

.cta-band {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3rem, 7vw, 5rem);
  background: linear-gradient(120deg, var(--navy-800), #10496f);
  color: #fff;
  text-align: center;
}

.cta-band::after {
  content: "";
  position: absolute;
  inset: auto -10% -60% -10%;
  height: 300px;
  background: radial-gradient(ellipse at center, rgba(18, 181, 165, 0.3), transparent 70%);
  filter: blur(50px);
  pointer-events: none;
}

.cta-band h2 {
  color: #fff;
  max-width: 20ch;
  margin-inline: auto;
}

.cta-band p {
  color: rgba(232, 241, 248, 0.82);
  max-width: 55ch;
  margin-inline: auto;
  font-size: var(--step-1);
}

.cta-band .btn-row {
  justify-content: center;
  position: relative;
  z-index: 1;
}

/* --------------------------------------------------------------------------
   13. Footer
   -------------------------------------------------------------------------- */

.site-footer {
  background: var(--navy-900);
  color: rgba(232, 241, 248, 0.72);
  padding-block: clamp(3rem, 6vw, 4.5rem) 2rem;
  font-size: var(--step--1);
}

.site-footer h4 {
  color: #fff;
  font-size: 0.78rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}

/* Explicit breakpoints rather than auto-fit: a fixed minmax() floor on the link
   columns would otherwise squeeze the brand column to nothing on narrow screens
   and let its content spill into the next column. */
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2.25rem;
  padding-bottom: 2.5rem;
}

/* Brand across the top, link columns in a row beneath it. */
@media (min-width: 600px) {
  .footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2.5rem clamp(1.5rem, 4vw, 3rem);
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

/* Everything on one row once there is genuinely room. */
@media (min-width: 940px) {
  .footer-grid {
    grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
    gap: clamp(2rem, 5vw, 3.5rem);
  }

  .footer-brand {
    grid-column: auto;
  }
}

.footer-brand .brand {
  color: #fff;
  margin-bottom: 1rem;
}

.footer-brand .brand__tag {
  color: rgba(232, 241, 248, 0.55);
}

.footer-brand p {
  max-width: 38ch;
  line-height: 1.65;
}

.footer-slogan {
  color: var(--teal-400);
  font-weight: 600;
}

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

.footer-links li {
  margin-bottom: 0.6rem;
  /* The email address is longer than a narrow column at small sizes. */
  overflow-wrap: break-word;
}

.footer-links a,
.site-footer a {
  color: rgba(232, 241, 248, 0.72);
  text-decoration: none;
}

.footer-links a:hover,
.site-footer a:hover {
  color: var(--teal-400);
  text-decoration: underline;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.85rem;
  color: rgba(232, 241, 248, 0.55);
}

.footer-bottom nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

/* --------------------------------------------------------------------------
   14. Scroll reveal
   -------------------------------------------------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* --------------------------------------------------------------------------
   15. Print
   -------------------------------------------------------------------------- */

@media print {
  .site-header,
  .cta-band,
  .site-footer,
  .btn-row,
  .nav-toggle {
    display: none !important;
  }

  body {
    color: #000;
    font-size: 11pt;
  }

  .page-head {
    background: none;
    color: #000;
    padding-block: 0 1.5rem;
  }

  .page-head h1,
  .page-head .lede {
    color: #000;
  }

  a::after {
    content: " (" attr(href) ")";
    font-size: 9pt;
    color: #555;
  }
}
