:root {
  color-scheme: light;
  --ink: #1f285c;
  --blue: #2e3b97;
  --teal: #007a68;
  --muted: #47516d;
  --lavender: #f2f3fc;
  --mint: #eaf7f2;
  --line: #dadeee;
  --white: #fff;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; }
a:focus-visible { outline: 3px solid var(--teal); outline-offset: 5px; }
figure, h1, h2, h3, p { margin: 0; }

.shell { width: min(100% - 7rem, 78rem); margin-inline: auto; }
.skip-link { position: absolute; top: 0.75rem; left: 0.75rem; z-index: 2; padding: 0.7rem 1rem; background: var(--white); transform: translateY(-200%); }
.skip-link:focus { transform: translateY(0); }

.site-header { background: var(--white); border-bottom: 1px solid var(--line); }
.header-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.header-inner { min-height: 5.375rem; }
.brand { display: inline-flex; flex-shrink: 0; padding-block: 0.3rem; }
.brand img { width: 10.55rem; height: auto; aspect-ratio: 169 / 56; object-fit: contain; }
.site-nav { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.6rem); }
.site-nav a, .site-footer a { font-size: 0.94rem; font-weight: 650; text-decoration: none; }
.site-nav a:hover, .site-footer a:hover { color: var(--teal); text-decoration: underline; text-underline-offset: 0.27em; }

.hero { background: var(--lavender); padding-block: clamp(2.75rem, 5.2vw, 5.4rem); }
.hero-grid { display: grid; grid-template-columns: 0.86fr 1.14fr; gap: clamp(2rem, 5vw, 5.5rem); align-items: center; }
.eyebrow { display: flex; align-items: center; gap: 0.55rem; margin-bottom: clamp(0.92rem, 2vw, 1.3rem); color: var(--teal); font-size: 0.91rem; font-weight: 750; letter-spacing: 0.14em; text-transform: uppercase; }
.eyebrow::before { display: block; width: 1.3rem; height: 2px; background: currentColor; content: ""; }
h1, h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; letter-spacing: -0.06em; }
h1 { font-size: clamp(4.2rem, 7.55vw, 7.65rem); line-height: 0.92; }
h1 em { color: var(--teal); }
.hero-lead { max-width: 30ch; margin-top: clamp(1.2rem, 2.8vw, 2rem); color: var(--muted); font-size: clamp(1.03rem, 1.45vw, 1.25rem); }
.button { display: inline-flex; align-items: center; min-height: 3rem; margin-top: 1.55rem; padding: 0.55rem 1.25rem; border-radius: 3rem; background: var(--blue); color: var(--white); font-weight: 700; text-decoration: none; }
.button:hover { background: var(--ink); }
.hero-figure { min-width: 0; }
.hero-figure img { width: 100%; height: auto; aspect-ratio: 5 / 4; object-fit: cover; object-position: center; border-radius: clamp(1.15rem, 2.4vw, 2.2rem); background: #dfe1f4; }
.hero-figure figcaption { margin-top: 0.55rem; text-align: right; color: var(--muted); font-size: 0.81rem; }

.about { display: grid; grid-template-columns: 0.86fr 1.14fr; gap: clamp(1rem, 5vw, 5.5rem); align-items: start; padding-block: clamp(3rem, 6vw, 5.75rem); }
h2 { font-size: clamp(2.5rem, 4.2vw, 4.4rem); line-height: 1.03; }
.about p { max-width: 56ch; margin-top: 0.16rem; color: var(--muted); font-size: clamp(1.03rem, 1.5vw, 1.19rem); }

.care { padding-block: clamp(2.7rem, 5.1vw, 5rem); background: var(--mint); }
.care-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(0.9rem, 2.6vw, 2rem); margin-top: clamp(1.25rem, 3vw, 2rem); }
.care-card { padding: clamp(1.1rem, 2.8vw, 2rem); border: 1px solid #c9e1d8; border-radius: 1rem; background: var(--white); }
.care-card h3 { margin-bottom: 0.35rem; font-size: clamp(1.08rem, 1.8vw, 1.35rem); line-height: 1.3; }
.care-card p { max-width: 48ch; color: var(--muted); }

.site-footer { border-top: 1px solid var(--line); }
.footer-inner { min-height: 5rem; }
.footer-inner p { color: var(--muted); }
.error-page { max-width: 45rem; padding-block: clamp(4rem, 12vw, 10rem); }
.error-page h1 { font-size: clamp(3rem, 7vw, 6rem); }
.error-page p { margin-top: 1rem; color: var(--muted); }

@media (max-width: 60rem) {
  .shell { width: min(100% - 4rem, 78rem); }
  h1 { font-size: clamp(3.5rem, 8.1vw, 5.75rem); }
}

@media (max-width: 47rem) {
  .shell { width: min(100% - 2.5rem, 78rem); }
  .header-inner { min-height: 4.55rem; }
  .brand img { width: 8.2rem; }
  .hero-grid, .about { grid-template-columns: 1fr; }
  .hero-grid { gap: 1.8rem; }
  h1 { font-size: clamp(3.65rem, 12vw, 6.4rem); }
  .hero-figure img { aspect-ratio: 4 / 3; }
}

@media (max-width: 34rem) {
  .care-grid { grid-template-columns: 1fr; }
}

@media (max-width: 22rem) {
  .shell { width: min(100% - 2rem, 78rem); }
  .brand img { width: 7.3rem; }
  .header-inner { gap: 0.7rem; }
  .site-nav { gap: 0.75rem; }
}
