/* Public Policy Support — static one-page
   Slate + white + teal. System-fast, print-sensible, no framework. */

:root {
  --ink: #0f172a;
  --ink-soft: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --paper: #f8fafc;
  --white: #ffffff;
  --teal: #0f766e;
  --teal-ink: #115e59;
  --teal-soft: #f0fdfa;
  --teal-line: #99f6e4;
  --shadow: 0 16px 40px -24px rgba(15, 23, 42, 0.35);
  --radius: 14px;
  --wrap: 70rem;
  --font: "Source Sans 3", "Segoe UI", system-ui, -apple-system, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--teal-ink); text-underline-offset: 0.18em; }

a:hover { color: var(--teal); }

:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  background: var(--ink);
  color: var(--white);
  padding: 0.5rem 0.8rem;
  z-index: 20;
}

.skip-link:focus { top: 0.75rem; }

.wrap {
  width: min(100% - 2rem, var(--wrap));
  margin-inline: auto;
}

.eyebrow {
  margin: 0 0 0.65rem;
  color: var(--teal-ink);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1, h2, h3 {
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0 0 0.75rem;
}

h1 { font-size: clamp(2.1rem, 4.2vw, 3.35rem); font-weight: 700; }

h2 { font-size: clamp(1.65rem, 3vw, 2.25rem); }

h3 { font-size: 1.15rem; }

.lead,
.section-lead {
  font-size: 1.125rem;
  color: var(--ink-soft);
  max-width: 46rem;
}

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.25rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
  min-width: 0;
}

.brand-mark {
  width: 40px;
  height: 40px;
  object-fit: contain;
  flex: none;
}

.brand-name {
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.site-nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

.site-nav a:hover { color: var(--teal-ink); }

.nav-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 8px;
  cursor: pointer;
}

.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  display: block;
  width: 1rem;
  height: 2px;
  background: var(--ink);
  margin: 0 auto;
  position: relative;
  content: "";
}

.nav-toggle-bar::before { top: -5px; position: absolute; }
.nav-toggle-bar::after { top: 5px; position: absolute; }

/* Hero */
.hero {
  padding: clamp(2.5rem, 6vw, 5.5rem) 0 4rem;
  background:
    linear-gradient(180deg, #f0fdfa 0%, #ffffff 42%, #ffffff 100%);
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(16rem, 0.75fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: start;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.6rem 0 1.1rem;
}

.hero-email {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  font-size: 0.95rem;
}

.hero-email a {
  font-weight: 650;
  text-decoration: none;
  color: var(--ink);
}

.hero-email a:hover { color: var(--teal-ink); }

.hero-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--teal);
  border-radius: var(--radius);
  padding: 1.35rem 1.4rem 1.2rem;
  box-shadow: var(--shadow);
}

.panel-kicker {
  margin: 0 0 0.75rem;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--teal-ink);
}

.panel-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.panel-list li {
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--line);
  font-weight: 600;
}

.panel-list li:last-child { border-bottom: 0; }

.panel-note {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  font-weight: 650;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;
}

.btn-primary {
  background: var(--teal);
  color: var(--white);
}

.btn-primary:hover { background: var(--teal-ink); color: var(--white); }

.btn-ghost {
  background: var(--white);
  color: var(--ink);
  border-color: var(--line);
}

.btn-ghost:hover { border-color: var(--teal); color: var(--teal-ink); }

/* Sections */
.section { padding: clamp(3rem, 6vw, 5rem) 0; }

.section-alt { background: var(--paper); border-block: 1px solid var(--line); }

.section-head { margin-bottom: 2rem; }

.card-grid,
.framework-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem;
}

.card,
.framework {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem 1.3rem 1.2rem;
}

.card { box-shadow: 0 1px 0 rgba(15,23,42,0.02); }

.card h3 { color: var(--ink); }

.card p,
.framework p { margin: 0; color: var(--ink-soft); }

.framework { background: var(--teal-soft); border-color: #ccfbf1; }

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  counter-reset: step;
}

.steps li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.3rem 1.15rem 1.2rem;
  counter-increment: step;
  position: relative;
}

.steps li::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  font-weight: 700;
  color: var(--teal);
  letter-spacing: 0.06em;
  margin-bottom: 0.7rem;
  font-size: 0.85rem;
}

.steps p { margin: 0; color: var(--ink-soft); }

/* Contact */
.section-contact {
  background:
    linear-gradient(180deg, var(--white) 0%, var(--teal-soft) 100%);
}

.contact-panel {
  background: var(--ink);
  color: #e2e8f0;
  border-radius: 20px;
  padding: clamp(1.6rem, 4vw, 3rem);
  box-shadow: var(--shadow);
}

.contact-panel .eyebrow { color: #5eead4; }

.contact-panel h2 { color: var(--white); max-width: 20ch; }

.contact-panel p { max-width: 40rem; }

.email-display {
  display: inline-block;
  margin: 1.1rem 0 1.2rem;
  color: var(--white);
  font-size: clamp(1.2rem, 3vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.email-display:hover { color: #99f6e4; }

.contact-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; }

.section-contact .btn-primary {
  background: #14b8a6;
  color: var(--ink);
}

.section-contact .btn-primary:hover { background: #99f6e4; color: var(--ink); }

.section-contact .btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: #334155;
}

.section-contact .btn-ghost:hover { border-color: #99f6e4; color: #99f6e4; }

.fineprint {
  margin: 1.2rem 0 0;
  color: #94a3b8;
  font-size: 0.92rem;
}

/* Footer */
.site-footer {
  padding: 2rem 0 2.4rem;
  background: var(--white);
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.footer-inner { display: grid; gap: 1rem; }

.footer-brand {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.footer-brand p { margin: 0; }

.footer-name {
  font-weight: 700;
  color: var(--ink);
}

.footer-disclaimer { margin: 0; max-width: 46rem; }

.footer-meta { margin: 0; color: var(--muted); }

.toast {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  background: var(--ink);
  color: var(--white);
  padding: 0.7rem 0.95rem;
  border-radius: 10px;
  font-size: 0.9rem;
  box-shadow: var(--shadow);
}

@media (max-width: 880px) {
  .hero-grid,
  .steps,
  .card-grid,
  .framework-grid { grid-template-columns: 1fr; }

  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }

  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 4.25rem;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 0.6rem 1rem 1rem;
    gap: 0;
  }

  .site-nav a { padding: 0.7rem 0.2rem; border-bottom: 1px solid var(--line); }

  .site-nav.is-open { display: flex; }

  .brand-name { font-size: 0.95rem; }
}

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

@media print {
  .site-header, .nav-toggle, .hero-actions, .contact-actions, .toast { display: none !important; }
  body { background: white; color: black; }
  a { color: black; }
}
