:root {
  color-scheme: light;
  --navy: #082532;
  --ink: #102b3b;
  --muted: #48606c;
  --teal: #006a60;
  --lime: #aee52d;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #f7faf9;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-size: 1rem; line-height: 1.6; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid #18a6ac; outline-offset: 4px; }
[hidden] { display: none !important; }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { position: absolute; top: 8px; left: 8px; z-index: 2; background: white; padding: 8px; }
.wrap { width: min(100% - 3rem, 74rem); margin-inline: auto; }
.site-header { background: var(--navy); color: #fff; border-bottom: 1px solid #34535d; }
.header-logo { width: clamp(12rem, 24vw, 18.125rem); }
.nav { min-height: 96px; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.nav nav { display: flex; align-items: center; gap: 1.5rem; }
.nav a { text-decoration: none; font-weight: 650; }
.nav nav a:hover { text-decoration: underline; }
.nav-button { border: 1px solid #658c89; border-radius: 8px; padding: .45rem .8rem; color: #c4f0e4; }
.hero { color: #fff; background: radial-gradient(ellipse at 85% 50%, #0c4947 0%, transparent 52%), var(--navy); }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; padding-block: clamp(3.2rem, 8vw, 7rem); }
.eyebrow, .section-tag { margin: 0 0 .65rem; font-weight: 750; font-size: .875rem; letter-spacing: .085em; text-transform: uppercase; }
.eyebrow { display: flex; align-items: center; gap: .65rem; color: #c4f0e4; }
.eyebrow span { width: 1.2rem; height: 3px; background: var(--lime); }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(2.75rem, 5.5vw, 5.15rem); letter-spacing: -.065em; line-height: .99; margin-bottom: 1.35rem; }
h1 em { color: var(--lime); font-style: normal; }
.hero-copy > p:not(.eyebrow) { color: #d4e5e7; max-width: 36ch; font-size: 1.125rem; }
.actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.5rem; }
.button { text-decoration: none; border-radius: 8px; padding: .65rem .9rem; font-weight: 750; }
.primary { color: #122d25; background: var(--lime); }
.primary:hover { background: #c1f455; }
.secondary { border: 1px solid #60818b; color: #fff; }
.secondary:hover { background: #ffffff16; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 1.4rem; margin-top: 1.6rem; color: #cbdfe1; font-size: .9rem; }
.hero-facts strong { color: #fff; font-size: 1.15rem; margin-right: .25rem; }
.demo { min-width: 0; background: #0b202c; border: 1px solid #557780; border-radius: 15px; box-shadow: 0 18px 50px #02131b67; }
.demo-top, .demo-bottom { display: flex; align-items: center; justify-content: space-between; gap: .7rem; }
.demo-top { padding: .75rem 1.15rem; border-bottom: 1px solid #324a53; }
.demo-brand { display: flex; align-items: center; gap: .5rem; font-weight: 750; }
.demo-badge { color: #cceae4; background: #24444b; padding: .15rem .45rem; border-radius: 5px; font-size: .85rem; }
.demo-content { padding: clamp(.95rem, 2.2vw, 1.65rem); }
.chart-head p, .demo-bottom span { color: #c0d7dc; font-size: .9rem; margin-bottom: .2rem; }
.chart-head h2 { font-size: clamp(1.4rem, 2.4vw, 2rem); line-height: 1.15; margin-bottom: 1.2rem; }
.filters { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin: 0 0 1rem; }
.filters label { font-weight: 650; font-size: .9rem; }
.filters select { appearance: none; font: inherit; color: #dfeced; background: #173742; border: 1px solid #60818b; padding: .35rem 2rem .35rem .65rem; border-radius: 6px; max-width: 100%; }
.filters { position: relative; }
.filters::after { content: ""; width: .42rem; height: .42rem; border: solid #c4f0e4; border-width: 0 2px 2px 0; transform: rotate(45deg); margin-left: -1.7rem; pointer-events: none; }
.chart { display: grid; gap: .45rem; min-height: 13.5rem; align-content: start; margin-bottom: 1rem; }
.bar-row { display: grid; grid-template-columns: minmax(6.5rem, 9rem) minmax(1rem, 1fr) 4.9rem; align-items: center; gap: .45rem; font-size: .9rem; }
.bar-row strong { text-align: right; font-variant-numeric: tabular-nums; }
.bar-track { background: #25414c; border-radius: 4px; overflow: hidden; }
.bar-track i { display: block; width: var(--width); height: .7rem; background: linear-gradient(90deg,#11b9ca,#9ee222); border-radius: inherit; }
.demo-bottom { border-top: 1px solid #324a53; padding-top: .8rem; }
.demo-bottom strong { font-size: 1.5rem; white-space: nowrap; }
.demo-bottom small { color: #addcd5; font-size: .9rem; }
.section { padding-block: clamp(3rem, 6vw, 5.2rem); }
.section-tag { color: var(--teal); }
.section h2 { font-size: clamp(2rem, 4vw, 3.6rem); letter-spacing: -.052em; line-height: 1.06; margin-bottom: 1.5rem; }
.feature-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; margin-top: 2rem; }
.feature-grid article { background: #fff; border: 1px solid #d7e6e1; border-radius: 12px; padding: 1.35rem; }
.feature-grid h3 { font-size: 1.15rem; margin: 0 0 .35rem; }
.feature-grid p, .system p, .system ol { color: var(--muted); margin-bottom: 0; }
.system { background: #e8f3ee; }
.system-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(1.5rem,5vw,4rem); align-items: center; }
.system .section-tag { color: var(--teal); margin-bottom: .65rem; }
.system ol { padding-left: 1.35rem; margin-top: 1.1rem; }
.system li + li { margin-top: .45rem; }
figure { margin: 0; }
figure img { border-radius: 10px; }
figcaption { font-size: .875rem; color: var(--muted); margin-top: .55rem; }
.site-footer { background: #fff; border-top: 1px solid #e3eeeb; }
.site-footer .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; min-height: 82px; padding-block: .8rem; }
.site-footer a { margin-left: auto; color: var(--teal); }
section[id] { scroll-margin-top: 1rem; }
@media (max-width: 850px) {
  .hero-grid, .system-grid { grid-template-columns: 1fr; }
  .hero-copy > p:not(.eyebrow) { max-width: 50ch; }
}
@media (max-width: 580px) {
  .wrap { width: calc(100% - 2rem); }
  .nav { align-items: flex-start; flex-direction: column; gap: .55rem; padding-block: .8rem; }
  .nav nav { flex-wrap: wrap; gap: .4rem .9rem; font-size: .9rem; }
  .nav-button { padding: .2rem .4rem; }
  .feature-grid { grid-template-columns: 1fr; }
  .site-footer a { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.advice-grid { display:grid; grid-template-columns: 1.2fr .8fr; gap: clamp(1.5rem,5vw,4rem); align-items: start; }
.advice-grid p { color: var(--muted); max-width: 58ch; }
.advice summary { cursor: pointer; color: var(--teal); font-weight: 700; }
.advice details p { margin-top: .75rem; }
.advice-result { margin: 0; padding: 1.4rem; background: var(--navy); color: white; border-radius: 12px; }
.advice-result div + div { margin-top: 1rem; border-top: 1px solid #41616a; padding-top: .8rem; }
.advice-result dt { color:#c4f0e4; font-size:.9rem; }
.advice-result dd { margin:0; font-size:1.25rem; font-weight:700; }
.advice-result div:first-child dd { font-size:clamp(1.75rem,4vw,2.7rem); color:var(--lime); line-height:1.2; }
@media (max-width: 850px) { .advice-grid { grid-template-columns: 1fr; } }
@media (max-width: 580px) { .bar-row { grid-template-columns: minmax(7.4rem, 8.4rem) minmax(1rem, 1fr) 4.35rem; font-size:.875rem; } }
