:root {
  color-scheme: light;
  --ink: #123c47;
  --deep: #073b4c;
  --teal: #076e78;
  --mint: #b8f2e6;
  --gold: #ffcf56;
  --paper: #f6faf9;
  --muted: #526b73;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.7;
  -webkit-text-size-adjust: 100%;
}
a { color: var(--teal); text-underline-offset: .2em; }
a:hover { color: var(--deep); }
a:focus-visible { outline: 3px solid #08717d; outline-offset: 5px; border-radius: 3px; }
h1, h2, p { margin-top: 0; }
p { margin-bottom: 1rem; }
h2 { margin-bottom: 1rem; font-size: clamp(1.6rem, 3vw, 2.1rem); line-height: 1.2; letter-spacing: -.035em; }
.container { width: min(1120px, calc(100% - 64px)); margin-inline: auto; }
.skip-link { position: absolute; top: -100px; left: 1rem; padding: .7rem 1rem; color: var(--deep); background: #fff; z-index: 10; }
.skip-link:focus { top: .75rem; }
.site-header { background: #fff; border-bottom: 1px solid #e3ebe9; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 88px; }
.test-brand { color: var(--deep); font-size: 1.2rem; font-weight: 800; letter-spacing: -.035em; text-decoration: none; }
.test-brand span { color: var(--teal); }
.project-brand { display: flex; align-items: center; gap: .65rem; color: var(--muted); font-size: .85rem; text-decoration: none; }
.project-brand img { object-fit: contain; flex-shrink: 0; }
.project-brand strong { color: var(--deep); }
.eyebrow { margin-bottom: 1rem; color: var(--teal); font-size: .73rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.hero { padding: 78px 0 84px; color: #fff; background: linear-gradient(125deg, #062f3e, #075e69); }
.hero-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.hero .eyebrow { color: var(--mint); max-width: 31rem; }
h1 { margin-bottom: 1.5rem; font-size: clamp(3.3rem, 8vw, 6.1rem); font-weight: 800; line-height: .98; letter-spacing: -.065em; }
h1 span { color: var(--mint); }
.hero-copy { max-width: 31rem; margin-bottom: 1.8rem; color: #e0efef; font-size: 1.15rem; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 1.2rem; min-height: 52px; padding: .8rem 1.25rem; border-radius: .65rem; font-weight: 750; line-height: 1.35; text-align: center; text-decoration: none; }
.button-light { color: var(--deep); background: var(--mint); }
.button-light:hover { color: var(--deep); background: #dbfaf3; }
.hero a:focus-visible { outline-color: var(--gold); }
.test-result { padding: 2.1rem; color: var(--ink); background: #fff; border-top: 5px solid var(--gold); border-radius: 1rem; box-shadow: 0 18px 50px #00273140; }
.result-symbol { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; margin-bottom: 1rem; color: #815800; background: #fff2cb; border-radius: 50%; }
.result-label { margin-bottom: .55rem; color: #735300; font-size: .73rem; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; }
.test-result h2 { font-size: clamp(1.85rem, 4vw, 2.6rem); }
.test-result p { color: #415d65; }
.test-result .result-label { color: #735300; }
.result-note { margin: 1.4rem 0 0; padding-top: 1rem; border-top: 1px solid #e2ebe8; font-size: .85rem; }
.safe-section { padding: 42px 0; background: #edf8f4; border-bottom: 1px solid #dbeae5; }
.safe-inner { display: grid; grid-template-columns: 1fr 1.2fr; align-items: center; gap: 3rem; }
.safe-inner h2 { margin-bottom: 0; }
.safe-inner .eyebrow { margin-bottom: .6rem; }
.safe-copy p { margin-bottom: .9rem; }
.safety-points { display: flex; flex-wrap: wrap; gap: .45rem .75rem; margin: 0; padding: 0; list-style: none; }
.safety-points li { padding: .25rem .65rem; color: #285648; border: 1px solid #b9d7cb; border-radius: 2rem; font-size: .8rem; font-weight: 650; }
.explanation-section { padding: 72px 0; }
.explanation-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; }
.explanation-grid article:last-child { border-left: 1px solid #dfe8e5; padding-left: 3rem; }
.explanation-grid p:not(.eyebrow) { color: var(--muted); }
.text-link { display: inline-block; padding-block: .3rem; font-weight: 750; }
.support-section { padding: 58px 0; background: var(--paper); border-top: 1px solid #e2ebe8; border-bottom: 1px solid #e2ebe8; }
.support-inner { display: grid; grid-template-columns: 1.7fr 1fr; align-items: center; gap: 4rem; }
.support-copy p:not(.eyebrow) { color: var(--muted); }
.support-copy .support-note { margin-bottom: 0; font-size: .9rem; }
.support-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; }
.button-support { color: #fff; background: var(--deep); }
.button-support:hover { color: #fff; background: #075e69; }
.button-support span { color: var(--gold); }
.site-footer { padding: 28px 0; }
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; align-items: center; gap: .75rem 2rem; font-size: .83rem; color: var(--muted); }
.footer-inner p { margin: 0; }
.footer-inner nav { display: flex; flex-wrap: wrap; gap: .65rem 1.5rem; }
.footer-inner a { display: inline-block; padding-block: .35rem; }

@media (max-width: 800px) {
  .hero-grid, .safe-inner, .explanation-grid, .support-inner { grid-template-columns: 1fr; }
  .hero { padding: 54px 0; }
  .hero-grid { gap: 2.5rem; }
  .hero-copy { max-width: 38rem; }
  .safe-inner { gap: 1.5rem; }
  .explanation-grid { gap: 2.5rem; }
  .explanation-grid article:last-child { border-left: 0; border-top: 1px solid #dfe8e5; padding: 2.5rem 0 0; }
  .support-inner { gap: 1.8rem; }
  .support-actions { flex-direction: row; align-items: center; flex-wrap: wrap; }
}

@media (max-width: 480px) {
  .container { width: calc(100% - 40px); }
  .header-inner { min-height: 80px; gap: .6rem; }
  .test-brand { font-size: 1.02rem; }
  .project-brand { gap: .4rem; font-size: .7rem; line-height: 1.35; max-width: 145px; }
  .project-brand strong { display: block; }
  .project-brand img { width: 27px; height: 27px; }
  h1 { font-size: clamp(2.9rem, 13vw, 3.8rem); }
  .hero-copy { font-size: 1.05rem; }
  .test-result { padding: 1.5rem; }
  .safe-section { padding: 34px 0; }
  .explanation-section { padding: 46px 0; }
  .support-section { padding: 42px 0; }
  .support-actions { flex-direction: column; align-items: stretch; }
  .support-actions .text-link { text-align: center; }
}
