/* FSD Care public website.
   Layout: a light sticky header, a reading column (max 76rem) with photo-led
   sections, one full-bleed photo band, and a navy footer.
   Colours follow the Care Hub app: deep navy with a gold accent. Gold is only
   used as text where contrast passes WCAG AA (gold-text on paper, gold on
   navy). Headings are Plus Jakarta Sans; Fraunces italic marks a few words. */

@font-face {
  font-family: "Fraunces";
  src: url("/assets/fonts/fraunces-italic-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("/assets/fonts/jakarta-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #f7f7fb;
  --surface: #ffffff;
  --tint: #eef0f9;
  --ink: #10142e;
  --ink-soft: #4a5070;
  --line: #e2e5f0;
  --royal: #3340a8;
  --navy: #161c46;
  --navy-ink: #f1f2fa;
  --navy-soft: #bcc1de;
  --gold: #e7b13a;
  --gold-text: #7f6100;
  --gold-wash: #fbf1d8;
  --focus: #d99a16;
  --danger: #a3212f;
  --shadow:
    0 30px 60px -30px rgba(16, 20, 46, 0.35),
    0 8px 20px -12px rgba(16, 20, 46, 0.18);
  --header-bg: rgba(247, 247, 251, 0.88);

  --font-display: "Fraunces", Georgia, Cambria, "Times New Roman", serif;
  --font-body:
    "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI",
    Roboto, Arial, sans-serif;

  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: 1.6rem;
  --step-3: clamp(2rem, 1.4rem + 2.2vw, 2.85rem);
  --step-4: clamp(2.5rem, 1.6rem + 3.6vw, 4.1rem);

  --radius: 22px;
  --radius-lg: 32px;
  --wrap: 76rem;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0c1026;
    --surface: #151a37;
    --tint: #111631;
    --ink: #eef0fa;
    --ink-soft: #b5bad6;
    --line: #262d58;
    --royal: #a7b0ff;
    --navy: #080b1d;
    --navy-ink: #eef0fa;
    --navy-soft: #aab0d0;
    --gold: #f0bd4a;
    --gold-text: #f0bd4a;
    --gold-wash: #2a2513;
    --focus: #f0bd4a;
    --danger: #ff8f99;
    --shadow:
      0 30px 60px -30px rgba(0, 0, 0, 0.7), 0 8px 20px -12px rgba(0, 0, 0, 0.5);
    --header-bg: rgba(12, 16, 38, 0.88);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #0c1026;
  --surface: #151a37;
  --tint: #111631;
  --ink: #eef0fa;
  --ink-soft: #b5bad6;
  --line: #262d58;
  --royal: #a7b0ff;
  --navy: #080b1d;
  --navy-ink: #eef0fa;
  --navy-soft: #aab0d0;
  --gold: #f0bd4a;
  --gold-text: #f0bd4a;
  --gold-wash: #2a2513;
  --focus: #f0bd4a;
  --danger: #ff8f99;
  --shadow:
    0 30px 60px -30px rgba(0, 0, 0, 0.7), 0 8px 20px -12px rgba(0, 0, 0, 0.5);
  --header-bg: rgba(12, 16, 38, 0.88);
  color-scheme: dark;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

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

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

a {
  color: var(--royal);
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
}
a:hover {
  text-decoration-thickness: 2px;
}

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

h1,
h2,
h3 {
  font-family: var(--font-body);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  text-wrap: balance;
  margin: 0;
}
h1 {
  font-size: var(--step-4);
}
h2 {
  font-size: var(--step-3);
}
h3 {
  font-size: var(--step-1);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.25;
}
h1 em,
h2 em {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--gold-text);
}
p {
  margin: 0;
}

.wrap {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
@media (min-width: 48rem) {
  .wrap {
    padding-left: max(32px, env(safe-area-inset-left, 0px));
    padding-right: max(32px, env(safe-area-inset-right, 0px));
  }
}

/* Long email addresses wrap rather than push the page sideways on phones. */
a[href^="mailto:"] {
  overflow-wrap: anywhere;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 100;
  background: var(--surface);
  color: var(--ink);
  padding: 0.6rem 1rem;
  border-radius: 8px;
  font-weight: 700;
}
.skip-link:focus {
  top: 12px;
}

/* Header */
body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px);
  z-index: 60;
  background: var(--paper);
}
.site-header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 50;
  background: var(--header-bg);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.2s ease;
}
.site-header.is-scrolled {
  box-shadow: 0 10px 30px -18px rgba(16, 20, 46, 0.45);
}
.site-header .wrap {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1.25rem;
  min-height: 4.25rem;
  padding-block: 0.6rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 2.75rem;
  color: inherit;
  text-decoration: none;
}
.brand-mark {
  width: 2rem;
  height: auto;
  flex: none;
}
.brand-mark path {
  fill: var(--gold-text);
}
.brand-name {
  display: grid;
  line-height: 1.1;
}
.brand-name strong {
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.brand-name span {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* Call and Menu buttons, shown on narrow screens */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.call-button,
.menu-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 2.75rem;
  min-width: 2.75rem;
  padding: 0 0.95rem;
  border-radius: 999px;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}
.menu-button[hidden] {
  display: none;
}
.call-button {
  color: var(--ink);
  background: var(--surface);
  border: 1.5px solid var(--line);
}
.call-button svg {
  width: 1.1rem;
  height: 1.1rem;
  fill: currentColor;
}
.menu-button {
  color: var(--navy-ink);
  background: var(--navy);
  border: 0;
}
:root[data-theme="dark"] .menu-button {
  background: var(--gold);
  color: #10142e;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .menu-button {
    background: var(--gold);
    color: #10142e;
  }
}
.call-button:focus-visible,
.menu-button:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}
.menu-icon {
  position: relative;
  width: 1.1rem;
  height: 0.8rem;
}
.menu-icon::before,
.menu-icon::after,
.menu-icon span {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}
.menu-icon::before {
  top: 0;
}
.menu-icon span {
  top: calc(50% - 1px);
}
.menu-icon::after {
  bottom: 0;
}
[data-open] .menu-icon::before {
  transform: translateY(calc(0.4rem - 1px)) rotate(45deg);
}
[data-open] .menu-icon span {
  opacity: 0;
}
[data-open] .menu-icon::after {
  transform: translateY(calc(-0.4rem + 1px)) rotate(-45deg);
}

/* Main menu */
.site-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 1.6rem;
  margin: 0;
  padding: 0;
}
.site-nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.97rem;
  padding-block: 0.35rem;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] {
  border-bottom-color: var(--gold);
}
.site-nav .nav-phone {
  font-variant-numeric: tabular-nums;
  color: var(--ink-soft);
}
.site-nav .nav-cta {
  display: inline-block;
  color: var(--navy-ink);
  background: var(--navy);
  padding: 0.6rem 1.1rem;
  border-radius: 999px;
  border: 0;
}
:root[data-theme="dark"] .site-nav .nav-cta {
  background: var(--gold);
  color: #10142e;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .site-nav .nav-cta {
    background: var(--gold);
    color: #10142e;
  }
}
.site-nav .nav-cta:hover,
.site-nav .nav-cta[aria-current="page"] {
  border: 0;
  text-decoration: underline;
}
.nav-note {
  display: none;
}

/* Wide screens: one row, everything in view */
@media (min-width: 64rem) {
  .site-header .wrap {
    flex-wrap: nowrap;
  }
  .header-actions {
    display: none;
  }
}

/* Narrow screens */
@media (max-width: 63.99rem) {
  .brand-name strong {
    font-size: 1.15rem;
  }
  .brand-name span {
    font-size: 0.6rem;
  }
  /* Without JavaScript the menu wraps under the logo. */
  .site-nav {
    flex-basis: 100%;
  }
  .site-nav .nav-phone-item {
    display: none;
  }
  /* With JavaScript it folds behind the Menu button. */
  .has-menu .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: calc(100dvh - 4.25rem - env(safe-area-inset-top, 0px));
    overflow-y: auto;
    padding: 0.5rem max(16px, env(safe-area-inset-right, 0px)) 1.5rem
      max(16px, env(safe-area-inset-left, 0px));
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    z-index: 2;
    box-shadow: 0 24px 40px -24px rgba(16, 20, 46, 0.5);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-0.5rem);
    transition:
      opacity 0.18s ease,
      transform 0.18s ease,
      visibility 0s linear 0.18s;
  }
  .has-menu [data-open] .site-nav {
    visibility: visible;
    opacity: 1;
    transform: none;
    transition:
      opacity 0.18s ease,
      transform 0.18s ease;
  }
  .has-menu .site-header .wrap {
    flex-wrap: nowrap;
  }
  /* Dims the page under the open menu. */
  .has-menu .site-header[data-open]::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 100vh;
    z-index: 1;
    background: rgba(8, 11, 29, 0.4);
  }
  .has-menu .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    flex-wrap: nowrap;
    gap: 0;
  }
  .has-menu .site-nav li {
    border-bottom: 1px solid var(--line);
  }
  .has-menu .site-nav a {
    display: flex;
    align-items: center;
    min-height: 3.4rem;
    padding: 0.5rem 0.25rem;
    font-size: 1.15rem;
    border-bottom: 0;
  }
  .has-menu .site-nav a[aria-current="page"] {
    color: var(--gold-text);
    box-shadow: inset 3px 0 0 var(--gold);
    padding-left: 0.85rem;
  }
  .has-menu .site-nav .nav-phone-item {
    display: block;
  }
  .has-menu .site-nav .nav-phone {
    color: var(--ink);
  }
  .has-menu .site-nav .nav-cta-item {
    border-bottom: 0;
    padding-top: 1.1rem;
  }
  .has-menu .site-nav .nav-cta {
    justify-content: center;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    box-shadow: none;
  }
  .has-menu .site-nav .nav-cta[aria-current="page"] {
    padding-left: 1rem;
  }
  .has-menu .nav-note {
    display: block;
    margin: 1rem 0 0;
    font-size: 0.9rem;
    color: var(--ink-soft);
    text-align: center;
  }
  .menu-open {
    overflow: hidden;
  }
}
@media (min-width: 48rem) and (max-width: 63.99rem) {
  .has-menu .site-nav {
    padding-inline: max(32px, env(safe-area-inset-left, 0px));
  }
}
@media (max-width: 30rem) {
  .call-button span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
  .call-button {
    padding: 0;
  }
}
@media (max-width: 23rem) {
  .menu-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
  .menu-button {
    padding: 0;
  }
}

/* Sections */
main {
  display: block;
}
main:focus {
  outline: none;
}
.section {
  padding-block: clamp(3.5rem, 2rem + 5vw, 7rem);
}
.section-tint {
  background: var(--tint);
}
.section-head {
  display: grid;
  gap: 1rem;
  max-width: 46rem;
  margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-text);
}
.eyebrow::before {
  content: "";
  width: 1.6rem;
  height: 2px;
  background: currentColor;
}
.lede {
  font-size: var(--step-1);
  color: var(--ink-soft);
  max-width: 40rem;
}
.prose {
  max-width: 46rem;
  display: grid;
  gap: 1rem;
  align-content: start;
}
.prose h2 {
  font-size: var(--step-2);
  margin-top: 1.75rem;
}
.prose h3 {
  margin-top: 0.5rem;
}
.prose ul,
.prose ol {
  margin: 0;
  padding-left: 1.3rem;
  display: grid;
  gap: 0.45rem;
}

/* Buttons */
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 52px;
  padding: 0.8rem 1.6rem;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition:
    transform 0.15s ease,
    border-color 0.15s ease;
}
.button:hover {
  transform: translateY(-1px);
}
.button-primary {
  background: var(--navy);
  color: var(--navy-ink);
  box-shadow: 0 12px 24px -14px rgba(22, 28, 70, 0.8);
}
.button-gold {
  background: var(--gold);
  color: #10142e;
}
.button-quiet {
  border-color: var(--line);
  color: var(--ink);
  background: var(--surface);
}
.button-quiet:hover {
  border-color: var(--ink-soft);
}
:root[data-theme="dark"] .button-primary {
  background: var(--gold);
  color: #10142e;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .button-primary {
    background: var(--gold);
    color: #10142e;
  }
}
.button[disabled] {
  opacity: 0.6;
  cursor: progress;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(60rem 30rem at 85% -10%, var(--gold-wash), transparent 60%),
    radial-gradient(50rem 30rem at -10% 110%, var(--tint), transparent 60%),
    var(--paper);
}
.hero .wrap {
  display: grid;
  gap: 3rem;
  align-items: center;
  padding-block: clamp(2.5rem, 1.5rem + 4vw, 5.5rem)
    clamp(3rem, 2rem + 4vw, 6rem);
}
@media (min-width: 62rem) {
  .hero .wrap {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
    gap: 4.5rem;
  }
}
.hero-copy {
  display: grid;
  gap: 1.6rem;
  min-width: 0;
}
.photo {
  position: relative;
  margin: 0;
  min-width: 0;
}
.photo img {
  width: 100%;
  aspect-ratio: 4 / 4.4;
  object-fit: cover;
  object-position: 50% 50%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
@media (max-width: 61.99rem) {
  .photo img {
    aspect-ratio: 4 / 3;
  }
}
.badge {
  position: absolute;
  left: clamp(-2rem, -3vw, -0.75rem);
  bottom: 1.75rem;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 0.9rem 1.2rem 0.9rem 0.9rem;
  box-shadow: var(--shadow);
  max-width: calc(100% - 1.5rem);
}
@media (max-width: 61.99rem) {
  .badge {
    left: 0.75rem;
    bottom: 0.75rem;
  }
}
.badge .seal {
  display: grid;
  place-items: center;
  width: 2.9rem;
  height: 2.9rem;
  border-radius: 50%;
  background: var(--navy);
  flex: none;
}
.badge .seal svg {
  width: 1.35rem;
}
.badge .seal path {
  fill: var(--gold);
}
.badge p {
  display: grid;
  line-height: 1.3;
  font-size: 0.85rem;
  color: var(--ink-soft);
}
.badge strong {
  color: var(--ink);
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
}

.trust {
  list-style: none;
  margin: 0.5rem 0 0;
  padding: 1.4rem 0 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
  gap: 1rem 1.5rem;
}
.trust li {
  display: grid;
  gap: 0.15rem;
}
.trust strong {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.trust span {
  font-size: 0.9rem;
  color: var(--ink-soft);
}

/* Service cards */
.groups {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 48rem) {
  .groups {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.group {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr;
}
.group img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.group-body {
  padding: 1.6rem 1.6rem 1.2rem;
  display: grid;
  gap: 0.85rem;
  align-content: start;
}
.group h3 {
  font-size: var(--step-2);
  font-weight: 800;
  letter-spacing: -0.025em;
}
.group-body > p {
  color: var(--ink-soft);
}
.items {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
}
.items li {
  display: grid;
  grid-template-columns: 3.4rem minmax(0, 1fr);
  gap: 0.9rem;
  padding-block: 0.8rem;
  border-top: 1px solid var(--line);
}
.code {
  justify-self: start;
  align-self: start;
  margin-top: 0.15rem;
  font-size: 0.74rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
  color: var(--gold-text);
  background: var(--gold-wash);
  border-radius: 999px;
  padding: 0.15rem 0.5rem;
}
.items strong {
  display: block;
  font-weight: 700;
}
.items span {
  color: var(--ink-soft);
  font-size: 0.95rem;
}
.note {
  margin-top: 2rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
  max-width: 46rem;
}

/* Steps */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
  counter-reset: step;
}
@media (min-width: 48rem) {
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 70rem) {
  .steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.steps li {
  counter-increment: step;
  display: grid;
  gap: 0.6rem;
  align-content: start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem;
}
.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  font-weight: 800;
  margin-bottom: 0.4rem;
}
.steps p {
  color: var(--ink-soft);
}

/* Full-bleed photo band: always dark, whatever the theme. */
.photo-band {
  position: relative;
  color: #f4f5fb;
  background: #10142e;
  overflow: hidden;
}
.photo-band > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 35%;
}
.photo-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(12, 16, 40, 0.95) 0%,
    rgba(12, 16, 40, 0.84) 50%,
    rgba(12, 16, 40, 0.45) 100%
  );
}
.photo-band .wrap {
  position: relative;
  z-index: 1;
  padding-block: clamp(4rem, 3rem + 5vw, 7.5rem);
  display: grid;
  gap: 2.5rem;
}
.photo-band .section-head {
  margin: 0;
}
.photo-band .eyebrow,
.photo-band h2 em {
  color: #f0bd4a;
}
.photo-band .lede {
  color: #d0d4ea;
}
.reasons {
  display: grid;
  gap: 1rem;
  max-width: 64rem;
}
@media (min-width: 48rem) {
  .reasons {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.reasons div {
  display: grid;
  gap: 0.5rem;
  align-content: start;
  padding: 1.4rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.reasons p {
  color: #d0d4ea;
}

/* Callout panel */
.panel {
  background: var(--navy);
  color: var(--navy-ink);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 1.5rem + 3vw, 3.5rem);
  display: grid;
  gap: 1.5rem;
  position: relative;
  overflow: hidden;
}
.panel::after {
  content: "";
  position: absolute;
  right: -6rem;
  top: -6rem;
  width: 18rem;
  height: 18rem;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(231, 177, 58, 0.35),
    transparent 70%
  );
  pointer-events: none;
}
@media (min-width: 52rem) {
  .panel {
    grid-template-columns: 1.5fr auto;
    align-items: center;
  }
}
.panel > * {
  position: relative;
  z-index: 1;
}
.panel p {
  color: var(--navy-soft);
  max-width: 40rem;
}
.panel a:not(.button) {
  color: var(--navy-ink);
}

/* Registration card (About page) */
.reg-card {
  background: var(--navy);
  color: var(--navy-ink);
  border-radius: var(--radius);
  padding: 1.75rem;
  display: grid;
  gap: 1.25rem;
  box-shadow: var(--shadow);
  min-width: 0;
  align-self: start;
}
.reg-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  padding-bottom: 1rem;
}
.reg-card-top p {
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--gold);
}
.reg-card-top svg {
  width: 1.6rem;
}
.reg-card-top svg path {
  fill: var(--gold);
}
.reg-card dl {
  margin: 0;
  display: grid;
  gap: 0.9rem;
}
.reg-card dl div {
  display: grid;
  gap: 0.1rem;
}
.reg-card dt {
  font-size: 0.8rem;
  color: var(--navy-soft);
}
.reg-card dd {
  margin: 0;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.reg-card .reg-id {
  font-size: 1.9rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--gold);
}
.reg-card a {
  color: var(--navy-ink);
  font-weight: 600;
}

/* Info boxes */
.box {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.6rem;
  display: grid;
  gap: 0.6rem;
}
.box-alert {
  border-left: 6px solid var(--danger);
}
.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}
.contact-list strong {
  display: block;
  font-size: 0.85rem;
  color: var(--ink-soft);
  font-weight: 600;
}
.contact-list a,
.contact-list span {
  font-size: var(--step-1);
  font-weight: 700;
  overflow-wrap: anywhere;
}

.two-col {
  display: grid;
  gap: 2.5rem;
}
@media (min-width: 56rem) {
  .two-col {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 4rem;
  }
}
.stack {
  display: grid;
  gap: 1.25rem;
  align-content: start;
  min-width: 0;
}

/* Forms */
.form {
  position: relative;
  display: grid;
  gap: 1.35rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 1rem + 2.4vw, 2.5rem);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.form::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(
    90deg,
    var(--navy),
    var(--royal) 55%,
    var(--gold)
  );
}
.form-head {
  display: grid;
  gap: 0.35rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--line);
}
.form-head h2,
.form-head h3 {
  font-size: var(--step-2);
}
.form-head p {
  color: var(--ink-soft);
}
.field-row {
  display: grid;
  gap: 1.35rem;
}
@media (min-width: 40rem) {
  .field-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.field {
  display: grid;
  gap: 0.4rem;
  min-width: 0;
}
.field label,
.fieldset legend {
  font-weight: 700;
}
.hint {
  font-size: 0.92rem;
  color: var(--ink-soft);
  font-weight: 400;
}
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field select,
.field textarea {
  font: inherit;
  color: var(--ink);
  background: var(--paper);
  border: 1.5px solid #8b90ac;
  border-radius: 14px;
  padding: 0.8rem 1rem;
  min-height: 54px;
  width: 100%;
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease,
    background-color 0.15s ease;
}
.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: var(--ink-soft);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--royal);
  background: var(--surface);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--royal) 22%, transparent);
}
.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: var(--danger);
}
.field select {
  appearance: none;
  padding-right: 2.75rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%234a5070' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 8l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1.1rem;
}
.field textarea {
  min-height: 9rem;
  resize: vertical;
}
.fieldset {
  border: 0;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.6rem;
  min-width: 0;
}
.fieldset legend {
  padding: 0;
  margin-bottom: 0.6rem;
}
.choices {
  display: grid;
  gap: 0.75rem;
}
@media (min-width: 40rem) {
  .choices {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.choice {
  position: relative;
  display: grid;
  align-content: start;
  gap: 0.2rem;
  padding: 1rem 1.1rem 1rem 3.1rem;
  border: 1.5px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
  cursor: pointer;
  transition:
    border-color 0.15s ease,
    background-color 0.15s ease;
}
.choice:hover {
  border-color: var(--ink-soft);
}
.choice input {
  position: absolute;
  left: 1.1rem;
  top: 1.15rem;
  width: 1.25rem;
  height: 1.25rem;
  margin: 0;
  accent-color: var(--royal);
}
.choice strong {
  font-weight: 700;
}
.choice span {
  font-size: 0.9rem;
  color: var(--ink-soft);
}
.choice:has(input:checked) {
  border-color: var(--navy);
  background: var(--tint);
  box-shadow: inset 0 0 0 1px var(--navy);
}
.choice:has(input:focus-visible) {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}
:root[data-theme="dark"] .choice:has(input:checked) {
  border-color: var(--gold);
  box-shadow: inset 0 0 0 1px var(--gold);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .choice:has(input:checked) {
    border-color: var(--gold);
    box-shadow: inset 0 0 0 1px var(--gold);
  }
}
.check {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 1rem 1.1rem;
  border-radius: 14px;
  background: var(--tint);
}
.check input {
  width: 1.3rem;
  height: 1.3rem;
  margin-top: 0.15rem;
  flex: none;
  accent-color: var(--royal);
}
.check label {
  font-weight: 400;
}
.check-alert {
  background: var(--gold-wash);
  border-left: 4px solid var(--danger);
}
.check-alert input {
  accent-color: var(--danger);
}
.check-alert + .hint {
  margin-top: -0.5rem;
}
.contact-fields[hidden] {
  display: none;
}
.trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-status {
  font-weight: 600;
  padding: 0.9rem 1.1rem;
  border-radius: 14px;
  border-left: 5px solid var(--ink-soft);
  background: var(--tint);
}
.form-status:empty {
  display: none;
}
.form-status[data-state="error"] {
  color: var(--danger);
  border-left-color: var(--danger);
  background: color-mix(in srgb, var(--danger) 9%, var(--surface));
}
.form-status[data-state="done"] {
  color: #12653f;
  border-left-color: #1f9d6b;
  background: color-mix(in srgb, #1f9d6b 11%, var(--surface));
}
:root[data-theme="dark"] .form-status[data-state="done"] {
  color: #8fe0b8;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .form-status[data-state="done"] {
    color: #8fe0b8;
  }
}
.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
}
.form-actions .button {
  min-width: 13rem;
}
@media (max-width: 30rem) {
  .form-actions .button {
    width: 100%;
  }
}
.form-note {
  font-size: 0.9rem;
  color: var(--ink-soft);
}
.privacy-note {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 1rem 1.1rem;
  border-radius: 14px;
  background: var(--gold-wash);
  font-size: 0.95rem;
}
.privacy-note::before {
  content: "";
  flex: none;
  width: 1.2rem;
  height: 1.2rem;
  margin-top: 0.15rem;
  background: currentColor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='11' width='16' height='10' rx='2'/%3E%3Cpath d='M8 11V7a4 4 0 0 1 8 0v4'/%3E%3C/svg%3E")
    center / contain no-repeat;
}

/* Services page */
.services-list {
  display: grid;
  gap: clamp(3rem, 2rem + 3vw, 5rem);
}
.section-block {
  display: grid;
  gap: 1.5rem;
  align-items: start;
}
@media (min-width: 56rem) {
  .section-block {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.3fr);
    gap: 3.5rem;
  }
}
.block-head {
  display: grid;
  gap: 1rem;
}
.block-head img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--radius);
}
.section-block h2 {
  font-size: var(--step-2);
}
.section-block .items span {
  display: block;
}
.items .official {
  font-size: 0.85rem;
  font-style: italic;
  margin-top: 0.2rem;
}

/* Footer */
.site-footer {
  background: var(--navy);
  color: var(--navy-soft);
  font-size: 0.95rem;
}
.site-footer .wrap {
  display: grid;
  gap: 2rem;
  padding-block: 3.5rem 2rem;
}
.footer-grid {
  display: grid;
  gap: 2rem;
}
@media (min-width: 52rem) {
  .footer-grid {
    grid-template-columns: 1.3fr 1fr 1fr;
  }
}
.site-footer .brand-mark path {
  fill: var(--gold);
}
.site-footer .brand-name strong {
  color: var(--navy-ink);
}
.site-footer .brand-name span {
  color: var(--navy-soft);
}
.site-footer h2 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}
.site-footer a {
  color: var(--navy-ink);
  overflow-wrap: anywhere;
}
.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}
.acknowledgement {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 1.5rem;
  max-width: 52rem;
}
.legal {
  font-size: 0.85rem;
}

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

@media print {
  .site-header nav,
  .skip-link,
  .panel {
    display: none;
  }
  .site-header {
    position: static;
  }
}
.panel h2 em {
  color: var(--gold);
}

/* "Soon" tag in the menu */
.soon {
  display: inline-block;
  margin-left: 0.3rem;
  padding: 0.05rem 0.45rem;
  border-radius: 999px;
  background: var(--gold-wash);
  color: var(--gold-text);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  vertical-align: 0.1em;
}

/* Care Hub teaser on the home page */
.hub-teaser {
  padding-top: 0;
}
.hub-band {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 2rem;
  padding: clamp(2rem, 1.5rem + 3vw, 3.5rem);
  border-radius: var(--radius-lg);
  color: #f1f2fa;
  background:
    radial-gradient(
      40rem 20rem at 100% 0%,
      rgba(231, 177, 58, 0.28),
      transparent 60%
    ),
    linear-gradient(135deg, #1d2560 0%, #10142e 100%);
}
@media (min-width: 56rem) {
  .hub-band {
    grid-template-columns: 1.3fr 1fr;
    align-items: center;
  }
}
.hub-band .eyebrow,
.hub-band h2 em {
  color: #f0bd4a;
}
.hub-band p {
  color: #c9cde6;
  max-width: 38rem;
}
.button-ghost {
  border-color: rgba(255, 255, 255, 0.35);
  color: #f1f2fa;
  background: transparent;
}
.button-ghost:hover {
  border-color: #f1f2fa;
}
.hub-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}
.hub-points li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.9rem 1rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-weight: 600;
}
.hub-points li::before {
  content: "";
  flex: none;
  width: 0.6rem;
  height: 0.6rem;
  margin-top: 0.55rem;
  border-radius: 50%;
  background: #f0bd4a;
}

/* Care Hub page */
.hub-hero-band {
  position: relative;
  overflow: hidden;
  color: #f1f2fa;
  background:
    radial-gradient(
      50rem 26rem at 100% 0%,
      rgba(231, 177, 58, 0.22),
      transparent 60%
    ),
    radial-gradient(
      40rem 30rem at 0% 100%,
      rgba(51, 64, 168, 0.45),
      transparent 60%
    ),
    linear-gradient(160deg, #1b2360 0%, #0d1130 100%);
}
.hub-hero-band .wrap {
  display: grid;
  gap: clamp(2.5rem, 2rem + 2vw, 3.5rem);
  padding-block: clamp(3rem, 2rem + 4vw, 6rem);
}
.hub-hero-copy {
  display: grid;
  gap: 1.5rem;
  max-width: 50rem;
  margin-inline: auto;
  text-align: center;
  justify-items: center;
}
.hub-hero-band .eyebrow,
.hub-hero-band h1 em {
  color: #f0bd4a;
}
.hub-hero-band h1 {
  font-size: var(--step-4);
}
.hub-hero-band .lede {
  color: #c9cde6;
  max-width: 44rem;
}
.hub-hero-copy .actions {
  justify-content: center;
}
.hub-proof {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
}
.hub-proof li {
  display: grid;
  gap: 0.2rem;
  padding: 1rem 1.1rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.hub-proof strong {
  color: #f0bd4a;
}
.hub-proof span {
  color: #c9cde6;
  font-size: 0.92rem;
}
.app-shot {
  margin: 0;
  min-width: 0;
  display: grid;
  gap: 0.9rem;
  position: relative;
}
.app-shot figcaption {
  font-size: 0.85rem;
  text-align: center;
  color: #aab0d0;
}
.app-shot-hero {
  max-width: 64rem;
  width: 100%;
  margin-inline: auto;
}
.app-frame {
  border-radius: 18px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(16, 20, 46, 0.12);
  box-shadow:
    0 40px 80px -40px rgba(5, 8, 30, 0.75),
    0 12px 30px -18px rgba(5, 8, 30, 0.5);
}
.app-frame img {
  display: block;
  width: 100%;
  height: auto;
}
.app-bar {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 0.9rem;
  background: #eef0f6;
  border-bottom: 1px solid #e0e3ee;
}
.app-bar span {
  width: 0.62rem;
  height: 0.62rem;
  border-radius: 50%;
  background: #cfd3e2;
}
.app-bar span:first-child {
  background: #f08c7f;
}
.app-bar span:nth-child(2) {
  background: #f0c46a;
}
.app-bar span:nth-child(3) {
  background: #79c99a;
}
.app-bar p {
  margin-left: 0.6rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: #4a5070;
}
.phone-frame {
  width: min(19rem, 80%);
  margin-inline: auto;
  border-radius: 2.4rem;
  padding: 0.6rem;
  background: #10142e;
  box-shadow: var(--shadow);
}
.phone-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 1.9rem;
}
.showcase {
  display: grid;
  gap: clamp(3.5rem, 2.5rem + 4vw, 6rem);
}
.showcase-row {
  display: grid;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 60rem) {
  .showcase-row {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.2fr);
    gap: 4rem;
  }
  .showcase-flip {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr);
  }
  .showcase-flip .showcase-copy {
    order: 2;
  }
}
.showcase-copy {
  display: grid;
  gap: 1rem;
  align-content: start;
}
.showcase-copy h3 {
  font-size: var(--step-2);
}
.showcase-copy > p:not(.tag) {
  color: var(--ink-soft);
  font-size: var(--step-1);
}
.tag {
  justify-self: start;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  background: var(--gold-wash);
  color: var(--gold-text);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.ticks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}
.ticks li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}
.ticks li::before {
  content: "✓";
  flex: none;
  display: grid;
  place-items: center;
  width: 1.5rem;
  height: 1.5rem;
  margin-top: 0.1rem;
  border-radius: 50%;
  background: var(--navy);
  color: #f0bd4a;
  font-size: 0.8rem;
  font-weight: 800;
}
.features {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 48rem) {
  .features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 70rem) {
  .features {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.features article {
  display: grid;
  gap: 0.5rem;
  align-content: start;
  padding: 1.6rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
}
.features article::before {
  content: "";
  width: 2.2rem;
  height: 4px;
  border-radius: 2px;
  background: var(--gold);
  margin-bottom: 0.5rem;
}
.features p {
  color: var(--ink-soft);
}

/* Questions and answers */
.faq {
  display: grid;
  gap: 0.75rem;
  max-width: 52rem;
}
.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 1.4rem;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-block: 1.15rem;
  font-weight: 700;
  font-size: var(--step-0);
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  flex: none;
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--gold-wash);
  color: var(--gold-text);
  font-size: 1.3rem;
  line-height: 1;
}
.faq details[open] summary::after {
  content: "−";
}
.faq details p {
  color: var(--ink-soft);
  padding-bottom: 1.25rem;
  max-width: 44rem;
}

.wrap.narrow {
  max-width: 54rem;
}
