
:root {
  --navy: #132d57;
  --ink: #233d54;
  --muted: #5d7285;
  --teal: #087b9a;
  --line: #dce7ed;
  --canvas: #f4f9fb;
  --pale: #e9f5fa;
  --white: #fff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--canvas);
  font-family: Inter, system-ui, sans-serif;
  line-height: 1.65;
}

a { color: #087491; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, summary:focus-visible {
  outline: 3px solid #eea641;
  outline-offset: 4px;
}

h1, h2, h3 {
  color: var(--navy);
  line-height: 1.25;
}

h1 {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  letter-spacing: -.045em;
  margin: .5rem 0 1rem;
}
h2 { font-size: 1.65rem; letter-spacing: -.02em; margin: 0 0 .75rem; }
h3 { font-size: 1.1rem; margin: .15rem 0 .45rem; }
p { margin: .4rem 0 1rem; }

.info-page {
  max-width: 1110px;
  margin: auto;
  padding: 0 24px 60px;
}

.hero {
  padding: 74px 0 48px;
  max-width: 820px;
}
.eyebrow {
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .15em;
  color: var(--teal);
  text-transform: uppercase;
}
.lead {
  font-size: 1.15rem;
  color: #536b7c;
  max-width: 730px;
}
.hero-links {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 25px;
}
.jump {
  display: inline-block;
  border: 1px solid #c8dfe8;
  color: #194f69;
  background: white;
  padding: 9px 15px;
  border-radius: 999px;
  font-weight: 650;
  text-decoration: none;
  font-size: .88rem;
}
.jump:hover { background: var(--pale); }

.info-page section {
  scroll-margin-top: 28px;
  margin: 0 0 57px;
}
.section-intro {
  color: var(--muted);
  max-width: 790px;
  margin-bottom: 20px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
}
.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 21px;
  background: var(--white);
  box-shadow: 0 4px 16px rgba(29, 76, 101, .035);
}
.card p:last-child { margin-bottom: 0; }
.card small {
  display: block;
  color: var(--teal);
  font-weight: 700;
  margin-top: 5px;
}

.callout {
  background: #e7f4f8;
  border-left: 4px solid #1583a3;
  border-radius: 10px;
  padding: 18px 22px;
  margin: 18px 0 25px;
}
.callout strong { color: #16445c; }
.callout p:last-child { margin-bottom: 0; }

.definition {
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.definition .unit {
  color: #50718b;
  font-weight: 600;
  font-size: .86rem;
}
.tag {
  color: #22738a;
  background: #e3f3f8;
  padding: 2px 8px;
  border-radius: 7px;
  font-size: .76rem;
  font-weight: 750;
  white-space: nowrap;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  counter-reset: step;
}
.step {
  background: #fff;
  border: 1px solid var(--line);
  padding: 20px;
  border-radius: 14px;
}
.step::before {
  counter-increment: step;
  content: counter(step);
  background: var(--navy);
  color: #fff;
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  font-size: .84rem;
  border-radius: 50%;
  font-weight: 700;
  margin-bottom: 12px;
}

.details-list { display: grid; gap: 10px; }
details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0 17px;
}
summary {
  cursor: pointer;
  font-weight: 700;
  padding: 15px 0;
  color: var(--navy);
}
details p {
  padding: 0 0 12px;
  color: var(--muted);
}

.sources {
  background: #fff;
  border: 1px solid var(--line);
  padding: 23px;
  border-radius: 15px;
}
.sources ul { margin: .4rem 0; padding-left: 23px; }
.sources li { margin: .5rem 0; }

footer {
  border-top: 1px solid var(--line);
  padding: 25px;
  text-align: center;
  color: var(--muted);
  font-size: .85rem;
}

.info-target { scroll-margin-top: 22px; }
.info-target:target {
  outline: 3px solid #1285a2;
  outline-offset: 3px;
  background: #effaff;
}

.demo-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  max-width: 660px;
}
.demo-metric {
  display: block;
  text-decoration: none;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
}
.demo-metric:hover,
.demo-metric:focus-visible {
  border-color: #1285a2;
  background: #f3fbfe;
}
.demo-metric strong {
  display: block;
  color: #126b94;
  font-size: 1.5rem;
  margin-top: 3px;
}
.demo-metric span {
  font-size: .85rem;
  color: var(--muted);
}

/* Keep sidebar typography consistent with AquaNY */
#sidebar h1 {
  font-size: 2rem;
  letter-spacing: normal;
  margin: 0;
}
#sidebar h2 {
  font-size: inherit;
  letter-spacing: normal;
}

/* Scroll reveal */
.info-page .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .75s ease, transform .75s ease;
}
.info-page .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 760px) {
  .grid, .grid.two, .steps {
    grid-template-columns: 1fr;
  }
  .hero { padding: 47px 0 37px; }
  .card { padding: 18px; }
  .info-page section { margin-bottom: 40px; }
  .info-page { padding: 0 17px 45px; }
}

@media (max-width: 520px) {
  .demo-metrics { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .info-page .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
.info-back-button {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin: 0 0 22px;
  padding: 8px 0;

  color: #176c95;
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;

  background: transparent;
  border: none;
  box-shadow: none;
}

.info-back-button:hover {
  color: #0b4e70;
  text-decoration: underline;
  text-underline-offset: 3px;
}