:root {
  --ink: #111111;
  --paper: #fff7e8;
  --cream: #ffe9b8;
  --gold: #ffc727;
  --orange: #ff5a1f;
  --red: #e02f1b;
  --blue: #1d4ed8;
  --green: #059669;
  --shadow: 6px 6px 0 var(--ink);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 1rem;
  z-index: 100;
  background: white;
  border: 2px solid var(--ink);
  padding: 0.75rem 1rem;
}

.skip-link:focus {
  left: 1rem;
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.08;
  background-image: radial-gradient(var(--ink) 0.7px, transparent 0.8px);
  background-size: 4px 4px;
  z-index: 1;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 0.9rem;
}

.nav {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: var(--cream);
  border: 3px solid var(--ink);
  box-shadow: var(--shadow);
  border-radius: 999px;
  padding: 0.65rem 0.8rem 0.65rem 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  background: var(--orange);
  border: 2px solid var(--ink);
  border-radius: 0.45rem;
  box-shadow: 3px 3px 0 var(--ink);
}

.nav-links {
  display: flex;
  gap: 1rem;
  align-items: center;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.nav-links a {
  text-decoration: none;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 44px;
  border: 3px solid var(--ink);
  box-shadow: var(--shadow);
  background: var(--gold);
  color: var(--ink);
  padding: 0.8rem 1rem;
  text-decoration: none;
  font-weight: 950;
  text-transform: uppercase;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.button:hover {
  transform: translate(2px, 2px);
  box-shadow: 4px 4px 0 var(--ink);
}

.button.secondary {
  background: white;
}

.button.dark {
  background: var(--ink);
  color: var(--paper);
  box-shadow: 6px 6px 0 rgba(17, 17, 17, 0.35);
}

.hero {
  position: relative;
  z-index: 2;
  background: var(--orange);
  border-bottom: 4px solid var(--ink);
  padding: 3.5rem 1.25rem 4rem;
}

.hero-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 0.72fr);
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  width: fit-content;
  background: var(--cream);
  border: 2px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  padding: 0.35rem 0.6rem;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 0.98;
  letter-spacing: 0;
}

h1 {
  margin-top: 1rem;
  max-width: 760px;
  font-size: clamp(3rem, 6.15vw, 5.95rem);
  font-weight: 1000;
  line-height: 0.93;
  text-transform: uppercase;
}

h2 {
  font-size: clamp(2.4rem, 5vw, 5rem);
  text-transform: uppercase;
}

h3 {
  font-size: 1.35rem;
  line-height: 1.05;
}

.hero-copy {
  max-width: 660px;
  margin: 1.1rem 0 0;
  font-size: clamp(1rem, 1.45vw, 1.22rem);
  font-weight: 650;
}

.hero-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.4rem;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.25rem;
}

.pill {
  display: inline-flex;
  border: 2px solid var(--ink);
  background: var(--paper);
  padding: 0.4rem 0.65rem;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.terminal-card {
  background: var(--ink);
  color: #d1fae5;
  border: 3px solid var(--ink);
  box-shadow: 10px 10px 0 rgba(17, 17, 17, 0.35);
  transform: rotate(1.2deg);
}

.terminal-top {
  display: flex;
  gap: 0.35rem;
  background: var(--cream);
  border-bottom: 3px solid var(--ink);
  padding: 0.65rem;
}

.dot {
  width: 0.75rem;
  height: 0.75rem;
  border: 2px solid var(--ink);
  border-radius: 50%;
}

.dot:nth-child(1) { background: var(--red); }
.dot:nth-child(2) { background: var(--gold); }
.dot:nth-child(3) { background: var(--green); }

.terminal-body {
  padding: 1rem;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.9rem;
}

.terminal-body p {
  margin: 0 0 0.65rem;
}

.terminal-body .prompt {
  color: var(--gold);
}

.wrap {
  position: relative;
  z-index: 2;
  max-width: 1180px;
  margin: 0 auto;
  padding: 4.5rem 1.25rem;
}

.band {
  border-bottom: 4px solid var(--ink);
}

.band.cream {
  background: var(--cream);
}

.band.white {
  background: #fffdf7;
}

.band.dark {
  background: var(--ink);
  color: var(--paper);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(280px, 0.45fr);
  gap: 1.5rem;
  align-items: end;
  margin-bottom: 2rem;
}

.section-head p,
.wide-copy {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 650;
}

.grid {
  display: grid;
  gap: 1rem;
}

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

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

.card {
  background: var(--paper);
  color: var(--ink);
  border: 3px solid var(--ink);
  box-shadow: var(--shadow);
  padding: 1.15rem;
}

.card.white {
  background: white;
}

.card.gold {
  background: var(--gold);
}

.card.orange {
  background: var(--orange);
}

.card h3 {
  margin-bottom: 0.65rem;
}

.card p {
  margin: 0;
  font-weight: 600;
}

.number {
  display: inline-grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  margin-bottom: 0.8rem;
  background: var(--ink);
  color: white;
  font-weight: 950;
}

.timeline {
  display: grid;
  gap: 0.75rem;
}

.timeline-item {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  background: white;
  color: var(--ink);
  border: 3px solid var(--ink);
  padding: 1rem;
}

.timeline-item strong {
  text-transform: uppercase;
}

.quote {
  font-size: 1.35rem;
  font-weight: 850;
  line-height: 1.15;
}

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

.article-card {
  min-height: 100%;
}

.article-card a {
  text-decoration: none;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.8rem;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.faq details {
  background: white;
  border: 3px solid var(--ink);
  padding: 1rem;
}

.faq details + details {
  margin-top: 0.75rem;
}

.faq summary {
  cursor: pointer;
  font-weight: 950;
  text-transform: uppercase;
}

.faq p {
  margin-bottom: 0;
  font-weight: 600;
}

.footer {
  background: var(--ink);
  color: var(--paper);
  position: relative;
  z-index: 2;
}

.footer .wrap {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 0.7fr;
  gap: 1.5rem;
}

.footer a {
  color: var(--paper);
  font-weight: 800;
}

.article-page .hero {
  padding-bottom: 3rem;
}

.article-layout {
  max-width: 860px;
}

.article-layout p {
  font-size: 1.08rem;
  font-weight: 560;
}

.article-layout h2 {
  margin-top: 2rem;
  font-size: clamp(1.9rem, 4vw, 3rem);
}

@media (max-width: 860px) {
  .nav {
    border-radius: 1rem;
    align-items: flex-start;
  }

  .nav-links {
    display: none;
  }

  .hero-grid,
  .section-head,
  .grid.three,
  .grid.two,
  .article-list,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .terminal-card {
    transform: none;
  }

  h1 {
    font-size: clamp(3rem, 15vw, 5rem);
  }

  .timeline-item {
    grid-template-columns: 1fr;
  }
}
