:root {
  color-scheme: light dark;
  --page: #f4f6f2;
  --surface: #ffffff;
  --surface-soft: #e8efea;
  --surface-accent: #dceee9;
  --ink: #18383d;
  --muted: #52696b;
  --accent: #168c92;
  --accent-deep: #0f6d72;
  --accent-ink: #074e52;
  --line: #cbd9d5;
  --line-strong: #9ebbb5;
  --shadow: rgba(37, 92, 91, 0.12);
  --content: 1120px;
  --reading: 760px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system,
    BlinkMacSystemFont, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}

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

a:hover {
  color: var(--accent-ink);
}

a:focus-visible {
  border-radius: 5px;
  outline: 3px solid color-mix(in srgb, var(--accent) 46%, transparent);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 20;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--page);
  font-weight: 700;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.shell {
  width: min(100% - 40px, var(--content));
  margin: 0 auto;
}

.site-nav {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-size: 20px;
  font-weight: 780;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.wordmark img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-links a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 680;
  text-decoration: none;
}

.nav-links a[aria-current="page"] {
  color: var(--accent-deep);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 32px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.breadcrumb a {
  color: var(--muted);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(270px, 0.65fr);
  gap: clamp(36px, 7vw, 88px);
  align-items: center;
  padding: 72px 0 78px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--accent-deep);
  font-size: 13px;
  font-weight: 780;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin-top: 0;
  color: var(--ink);
  letter-spacing: -0.04em;
  text-wrap: balance;
}

h1 {
  max-width: 850px;
  margin-bottom: 24px;
  font-size: clamp(44px, 7vw, 76px);
  font-weight: 790;
  line-height: 1;
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(32px, 4.8vw, 50px);
  font-weight: 760;
  line-height: 1.06;
}

h3 {
  margin-bottom: 8px;
  font-size: 23px;
  font-weight: 730;
  line-height: 1.2;
}

p {
  margin-top: 0;
}

.lede {
  max-width: 780px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: clamp(20px, 2.5vw, 25px);
  line-height: 1.48;
}

.meta {
  color: var(--muted);
  font-size: 14px;
}

.hero-icon {
  display: grid;
  min-height: 290px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--surface-accent);
  box-shadow: 0 22px 60px var(--shadow);
}

.hero-icon img {
  width: min(62%, 190px);
  height: auto;
  filter: drop-shadow(0 18px 24px rgba(15, 109, 114, 0.2));
}

.answer-box,
.note,
.product-callout {
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  background: var(--surface-accent);
}

.answer-box {
  max-width: var(--reading);
  margin: 0 auto 72px;
  padding: clamp(24px, 5vw, 38px);
}

.answer-box strong {
  color: var(--accent-ink);
}

.content-section {
  padding: 72px 0;
  border-top: 1px solid var(--line);
}

.reading {
  max-width: var(--reading);
  margin: 0 auto;
}

.reading p,
.reading li {
  color: var(--muted);
}

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

.reading h2:not(:first-child) {
  margin-top: 64px;
}

.reading h3 {
  margin-top: 34px;
}

.reading ul,
.reading ol {
  padding-left: 24px;
}

.reading li + li {
  margin-top: 10px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.card {
  display: flex;
  min-height: 260px;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  color: var(--ink);
  text-decoration: none;
  transition:
    border-color 160ms ease,
    transform 160ms ease,
    box-shadow 160ms ease;
}

.card:hover {
  border-color: var(--accent);
  color: var(--ink);
  transform: translateY(-3px);
  box-shadow: 0 16px 40px var(--shadow);
}

.card p {
  color: var(--muted);
}

.card .card-link {
  margin-top: auto;
  color: var(--accent-deep);
  font-weight: 750;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 34px 0;
}

.feature {
  padding: 24px;
  border-left: 4px solid var(--accent);
  background: var(--surface-soft);
}

.feature h3 {
  font-size: 20px;
  letter-spacing: -0.025em;
}

.feature p {
  margin-bottom: 0;
}

.schedule {
  width: 100%;
  margin: 28px 0;
  border-collapse: collapse;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
}

.schedule th,
.schedule td {
  padding: 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.schedule th {
  color: var(--ink);
  font-size: 14px;
}

.schedule td {
  color: var(--muted);
}

.note {
  margin: 32px 0;
  padding: 22px 24px;
}

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

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  border: 1px solid var(--line-strong);
  border-radius: 11px;
  background: var(--surface);
  color: var(--ink);
  font-weight: 740;
  text-decoration: none;
}

.button-primary {
  border-color: var(--accent-deep);
  background: var(--accent-deep);
  color: #ffffff;
}

.button-primary:hover {
  background: var(--accent-ink);
  color: #ffffff;
}

.product-callout {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  margin-top: 48px;
  padding: clamp(26px, 5vw, 42px);
}

.product-callout img {
  width: 82px;
  height: 82px;
  object-fit: contain;
}

.product-callout h2 {
  font-size: clamp(28px, 4vw, 40px);
}

.sources {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}

.sources h2 {
  font-size: 26px;
}

.sources li {
  font-size: 15px;
}

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

.faq summary {
  color: var(--ink);
  cursor: pointer;
  font-size: 20px;
  font-weight: 730;
}

.faq details p {
  margin: 14px 0 0;
}

footer {
  margin-top: 72px;
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  align-items: center;
  justify-content: space-between;
  padding: 34px 0 46px;
  color: var(--muted);
  font-size: 14px;
}

.footer-inner p {
  margin: 0;
}

@media (max-width: 820px) {
  .site-nav {
    align-items: flex-start;
    padding: 18px 0;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px 18px;
  }

  .hero {
    grid-template-columns: 1fr;
    padding: 54px 0 60px;
  }

  .hero-icon {
    display: none;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .card {
    min-height: 0;
  }
}

@media (max-width: 620px) {
  body {
    font-size: 16px;
  }

  .shell {
    width: min(100% - 28px, var(--content));
  }

  .site-nav,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    justify-content: flex-start;
  }

  h1 {
    font-size: clamp(40px, 13vw, 58px);
  }

  .content-section {
    padding: 56px 0;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .schedule {
    display: block;
    overflow-x: auto;
  }

  .product-callout {
    grid-template-columns: 1fr;
  }
}

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

  .card {
    transition: none;
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    --page: #102629;
    --surface: #163236;
    --surface-soft: #19393c;
    --surface-accent: #1d4445;
    --ink: #edf8f4;
    --muted: #bed1cd;
    --accent: #58c4c5;
    --accent-deep: #7bd3d0;
    --accent-ink: #b5eeea;
    --line: #315054;
    --line-strong: #4f7778;
    --shadow: rgba(0, 0, 0, 0.24);
  }

  .button-primary {
    border-color: #7bd3d0;
    background: #7bd3d0;
    color: #0b2427;
  }

  .button-primary:hover {
    background: #b5eeea;
    color: #0b2427;
  }
}
