:root {
  --paper: #f7f1e7;
  --ink: #171817;
  --accent: #244b5a;
  --line: rgba(23, 24, 23, 0.22);
  --soft-accent: rgba(36, 75, 90, 0.09);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: "Source Sans 3", system-ui, sans-serif;
  font-size: 20px;
  line-height: 1.55;
}

a {
  color: currentColor;
  text-underline-offset: 0.18em;
  text-decoration-thickness: 0.08em;
}

a:hover {
  text-decoration-thickness: 0.13em;
}

a:focus-visible {
  outline: 4px solid var(--accent);
  outline-offset: 5px;
  border-radius: 2px;
}

.skip-link {
  position: fixed;
  z-index: 10;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: var(--paper);
  background: var(--ink);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.shell {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  border-bottom: 2px solid var(--ink);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 92px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: "Permanent Marker", cursive;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  line-height: 1;
  text-decoration: none;
}

.brand-mark {
  width: 52px;
  height: auto;
  fill: none;
  stroke: var(--accent);
  stroke-width: 5;
  stroke-linecap: square;
  stroke-linejoin: bevel;
}

nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 30px);
  font-size: 0.9rem;
  font-weight: 700;
}

nav a {
  padding-block: 10px;
  text-decoration: none;
  border-bottom: 3px solid transparent;
}

nav a:hover,
nav a[aria-current="page"] {
  border-color: var(--accent);
}

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

h1,
h2,
h3 {
  line-height: 1.05;
  letter-spacing: -0.025em;
}

h1 {
  max-width: 850px;
  margin-bottom: 28px;
  font-size: clamp(3.25rem, 9vw, 7rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.6rem);
}

h3 {
  font-size: clamp(1.45rem, 2.4vw, 2rem);
}

.eyebrow,
.marker-note {
  margin-bottom: 18px;
  color: var(--accent);
  font-family: "Permanent Marker", cursive;
  letter-spacing: 0;
}

.eyebrow {
  font-size: 1.15rem;
}

.marker-note {
  font-size: 1.05rem;
}

.hero,
.page-intro {
  padding-block: clamp(76px, 12vw, 150px);
}

.hero-copy {
  max-width: 760px;
  margin-bottom: 38px;
  font-size: clamp(1.25rem, 2.6vw, 1.75rem);
  line-height: 1.4;
}

.button {
  display: inline-block;
  padding: 15px 22px;
  color: var(--paper);
  background: var(--accent);
  border: 3px solid var(--accent);
  box-shadow: 5px 5px 0 var(--ink);
  font-weight: 700;
  text-decoration: none;
  transition: transform 120ms ease, box-shadow 120ms ease;
}

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

.button-large {
  padding: 18px 28px;
  font-size: 1.1rem;
}

.outcomes {
  padding-block: 70px 110px;
  border-top: 2px solid var(--ink);
}

.section-heading {
  max-width: 700px;
  margin-bottom: 54px;
}

.outcome-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.outcome-grid article,
.fit-card,
.need-card {
  position: relative;
  padding: clamp(28px, 4vw, 44px);
  border: 2px solid var(--ink);
  background: var(--paper);
}

.outcome-grid article:nth-child(2) {
  transform: rotate(-0.7deg);
}

.outcome-tag {
  display: inline-block;
  margin-bottom: 32px;
  padding: 4px 11px;
  color: var(--paper);
  background: var(--accent);
  font-family: "Permanent Marker", cursive;
  transform: rotate(-2deg);
}

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

.briefing-inner {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 56px;
  padding-block: 72px;
}

.briefing-inner h2 {
  max-width: 770px;
  margin-bottom: 0;
}

.text-link {
  flex: 0 0 auto;
  color: var(--paper);
  font-weight: 700;
}

.fit-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  padding-bottom: 90px;
}

.fit-yes {
  box-shadow: 8px 8px 0 var(--accent);
}

.plain-section {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(40px, 8vw, 96px);
  align-items: start;
  padding-block: 90px;
  border-top: 2px solid var(--ink);
}

.need-card {
  background: var(--soft-accent);
  box-shadow: 8px 8px 0 var(--accent);
}

.need-card .button {
  margin-top: 16px;
}

.request-main,
.not-found-main {
  display: grid;
  min-height: 64vh;
  place-items: center;
  padding-block: 80px;
}

.request-card,
.not-found-card {
  position: relative;
  max-width: 900px;
  padding: clamp(38px, 7vw, 80px);
  border: 3px solid var(--ink);
  box-shadow: 10px 10px 0 var(--accent);
}

.request-card h1,
.not-found-card h1 {
  font-size: clamp(3rem, 7vw, 5.8rem);
}

.request-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 44px;
}

.request-actions p {
  margin-bottom: 0;
  font-weight: 700;
}

.privacy-note {
  margin: 38px 0 0;
  padding-top: 26px;
  border-top: 2px solid var(--line);
}

.not-found-card p:not(.marker-note) {
  max-width: 680px;
  margin-bottom: 32px;
  font-size: 1.2rem;
}

.site-footer {
  border-top: 2px solid var(--ink);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 28px;
  align-items: center;
  padding-block: 34px;
  font-size: 0.88rem;
}

.footer-inner p {
  margin-bottom: 0;
}

@media (max-width: 800px) {
  .header-inner,
  .briefing-inner,
  .request-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .header-inner {
    padding-block: 22px;
  }

  nav {
    width: 100%;
    justify-content: space-between;
    gap: 8px;
    font-size: 0.78rem;
  }

  .outcome-grid,
  .fit-grid,
  .plain-section,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    gap: 12px;
  }

  .outcome-grid article:nth-child(2) {
    transform: none;
  }
}

@media (max-width: 420px) {
  body {
    font-size: 19px;
  }

  .shell {
    width: min(100% - 28px, 1120px);
  }

  .brand-mark {
    width: 44px;
  }

  nav a {
    padding-block: 8px;
  }

  h1 {
    font-size: 3rem;
  }

  .request-card,
  .not-found-card {
    width: calc(100% - 28px);
    padding: 30px 22px;
    box-shadow: 6px 6px 0 var(--accent);
  }
}

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

  .button {
    transition: none;
  }
}

.briefing-band .eyebrow,
.briefing-band .marker-note {
  color: #a9cbd8;
}
