:root {
  --ink: #202421;
  --muted: #626864;
  --paper: #ffffff;
  --desk: #ffffff;
  --orange: #178447;
  --green: #178447;
  --line: #202421;
  --tile: #535b57;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--desk);
  font-family: Archivo, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

.info-header {
  display: grid;
  width: min(calc(100% - 32px), 920px);
  align-items: center;
  grid-template-columns: minmax(0, auto) minmax(0, 1fr);
  gap: 12px;
  margin: 16px auto 0;
  padding: 12px;
  border: 2.5px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.97);
}

.brand {
  display: inline-flex;
  min-width: 0;
  min-height: 44px;
  align-items: center;
  gap: 9px;
  font-size: 16px;
  font-weight: 900;
}

.brand-mark {
  display: block;
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.brand-word {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand-word span {
  color: var(--orange);
}

.info-header nav {
  display: none;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
}

.info-header nav a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  border: 2px solid transparent;
  border-radius: 999px;
  padding: 0 11px;
  line-height: 1.05;
}

.info-header nav a[aria-current="page"] {
  color: #ffffff;
  background: var(--ink);
}

.site-menu-button {
  display: none;
  width: 48px;
  height: 46px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  color: var(--ink);
  background: #ffffff;
  box-shadow: 3px 3px 0 var(--ink);
  cursor: pointer;
}

.site-menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 160ms ease, opacity 160ms ease;
}

.site-menu-button[aria-expanded="true"] span:first-child {
  transform: translateY(7px) rotate(45deg);
}

.site-menu-button[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.site-menu-button[aria-expanded="true"] span:last-child {
  transform: translateY(-7px) rotate(-45deg);
}

.global-search {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
}

.global-search input,
.global-search button {
  min-height: 48px;
  border: 2px solid var(--ink);
  border-radius: 7px;
  font-size: 16px;
  font-weight: 800;
}

.global-search input {
  min-width: 0;
  width: 100%;
  padding: 0 14px;
  color: var(--ink);
  background: #ffffff;
}

.global-search button {
  padding: 0 14px;
  color: #ffffff;
  background: var(--orange);
}

main {
  display: grid;
  gap: 20px;
  width: min(100%, 920px);
  margin: 0 auto;
  padding: 30px 16px 54px;
}

.hero,
.power-card,
.flow-section,
.why-section,
.states-section,
.unknown-section,
.cta-section,
.sources-section {
  border: 2.5px solid var(--line);
  border-radius: 10px;
  padding: 18px;
  background: rgba(246, 248, 247, 0.76);
}

.hero {
  display: grid;
  gap: 14px;
  border-color: transparent;
  padding: 8px 0 10px;
  background: transparent;
}

.eyebrow {
  margin: 0;
  color: var(--orange);
  font-family: "Space Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 11ch;
  margin-bottom: 0;
  font-size: 48px;
  font-weight: 900;
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: 32px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: 0;
}

p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.48;
}

.hero p {
  max-width: 48rem;
  font-size: 18px;
}

.power-card {
  display: grid;
  gap: 14px;
  color: var(--paper);
  background: var(--ink);
}

.power-card p {
  color: var(--paper);
}

.card-number,
.steps span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 8px;
  color: var(--white);
  background: var(--orange);
  font-family: "Space Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  font-weight: 700;
}

.section-heading,
.why-copy,
.unknown-section,
.cta-section,
.sources-section {
  display: grid;
  gap: 12px;
}

.steps,
.state-grid,
.reason-grid {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.steps article,
.state-grid article,
.reason-grid article {
  border: 2px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: var(--white);
}

.steps article {
  display: grid;
  gap: 10px;
}

.why-section {
  display: grid;
  gap: 16px;
}

.quote-card {
  display: grid;
  min-height: 180px;
  place-items: center;
  border-radius: 8px;
  color: var(--white);
  background: var(--tile);
  text-align: center;
}

.quote-card span {
  max-width: 9ch;
  font-size: 44px;
  font-weight: 900;
  line-height: 0.95;
}

.state-grid a,
.cta-actions a,
.sources-section a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: var(--orange);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.state-grid a {
  margin-top: 14px;
}

.cta-section {
  color: var(--paper);
  background: var(--ink);
}

.cta-section p {
  color: var(--paper);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}

.cta-actions a {
  border: 2px solid var(--line);
  border-radius: 999px;
  padding: 0 14px;
  color: var(--ink);
  background: var(--orange);
  text-decoration: none;
}

.cta-actions a:last-child {
  background: var(--paper);
}

.sources-section ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 18px;
}

.sources-section li {
  color: var(--muted);
  font-weight: 800;
  line-height: 1.35;
}

.mobile-bottom-nav {
  position: fixed;
  right: 10px;
  bottom: 10px;
  left: 10px;
  z-index: 30;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 4px;
  width: auto;
  margin: 0;
  border: 2px solid var(--ink);
  border-radius: 18px;
  padding: 6px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 5px 5px 0 rgba(32, 36, 33, 0.32);
}

.mobile-bottom-nav a {
  display: grid;
  min-height: 48px;
  place-items: center;
  border-radius: 999px;
  padding: 4px 3px;
  color: var(--ink);
  font-size: 0.62rem;
  font-weight: 900;
  line-height: 1.05;
  text-align: center;
}


.mobile-bottom-nav a[aria-current="page"] {
  color: #ffffff;
  background: var(--ink);
}

@media (max-width: 759px) {
  .info-header {
    position: relative;
    grid-template-columns: minmax(0, 1fr) auto;
    width: 100%;
    margin-top: 0;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .site-menu-button {
    display: inline-flex;
    justify-self: end;
  }

  .info-header nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 14px;
    left: 14px;
    z-index: 40;
    display: none;
    grid-column: 1 / -1;
    grid-template-columns: 1fr;
    gap: 6px;
    border: 2px solid var(--ink);
    border-radius: 18px;
    padding: 8px;
    background: #ffffff;
    box-shadow: 4px 4px 0 var(--ink);
  }

  .info-header nav a {
    min-width: 0;
    justify-content: space-between;
    border-radius: 12px;
    padding-inline: 12px;
    font-size: 0.92rem;
  }

  .info-header nav.is-open {
    display: grid;
  }

  .mobile-bottom-nav {
    display: none;
  }

  main {
    padding-bottom: 40px;
  }

  h1 {
    font-size: 34px;
  }

  h2 {
    font-size: 28px;
  }
}

@media (min-width: 760px) {
  .info-header {
    grid-template-columns: auto minmax(0, 1fr) minmax(320px, 0.42fr);
  }

  .info-header nav {
    display: inline-flex;
  }

  .global-search {
    grid-column: auto;
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .mobile-bottom-nav {
    display: none;
  }

  main {
    gap: 24px;
    padding-top: 46px;
  }

  .hero,
  .power-card,
  .flow-section,
  .why-section,
  .states-section,
  .unknown-section,
  .cta-section,
  .sources-section {
    padding: 24px;
  }

  .hero {
    padding: 18px 0 16px;
  }

  h1 {
    font-size: 72px;
  }

  h2 {
    font-size: 44px;
  }

  .power-card,
  .why-section {
    grid-template-columns: minmax(0, 0.9fr) minmax(260px, 0.7fr);
    align-items: center;
  }

  .steps {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .state-grid,
  .reason-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
