/* NanoPorter holding page. Tokens from Branding/BRAND-SPEC.md (light page set).
   The accent for small type is the derived #0D7C56, not the logo green, which
   fails 4.5:1 on this page colour. */

@font-face {
  font-family: 'Inter';
  src: url('assets/inter-var.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --page: #F1F7F5;
  --ink: #0E1618;
  --body: #28332F;
  --muted: #5C6E6A;
  --rule: #BCD4CB;
  --tint: #E7F1EC;
  --accent: #0D7C56;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--page);
  color: var(--body);
  font-family: 'Inter', -apple-system, 'Segoe UI', Arial, sans-serif;
  font-variant-numeric: tabular-nums;
  font-size: 1.0625rem;
  line-height: 1.65;
}

.site-header, main, .site-footer {
  max-width: 44rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.site-header {
  padding-top: 2.5rem;
  padding-bottom: 1.5rem;
}

.lockup {
  width: 240px;
  max-width: 70%;
  height: auto;
  display: block;
}

nav {
  margin-top: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--rule);
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.4rem;
  font-size: 0.95rem;
}

nav a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 550;
}

nav a:hover, nav a:focus { text-decoration: underline; }

main a { color: var(--accent); }

h1 {
  color: var(--ink);
  font-size: 1.9rem;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 2.2rem 0 0.8rem;
}

h2 {
  color: var(--ink);
  font-size: 1.35rem;
  font-weight: 650;
  margin: 0 0 0.6rem;
}

h3 {
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 650;
  margin: 1.4rem 0 0.3rem;
}

.lead {
  font-size: 1.15rem;
  color: var(--ink);
}

section {
  margin: 0 0 1rem;
  padding: 1.6rem 0;
  border-bottom: 1px solid var(--rule);
}

section:last-of-type { border-bottom: none; }

#what-it-is { padding-top: 0.4rem; }

p { margin: 0 0 0.9rem; }
ul { margin: 0 0 0.9rem; padding-left: 1.3rem; }
li { margin-bottom: 0.5rem; }

strong { color: var(--ink); font-weight: 650; }

.policy-date { color: var(--muted); font-size: 0.9rem; }

.site-footer {
  padding-top: 1.2rem;
  padding-bottom: 3rem;
  color: var(--muted);
  font-size: 0.9rem;
}

@media (max-width: 480px) {
  body { font-size: 1rem; }
  h1 { font-size: 1.55rem; }
}
