:root {
  --paper: #F1F4F2;
  --card: #FFFFFF;
  --ink: #15233C;
  --slate: #55627A;
  --rule: #C7D0CB;
  --highlight: #F3E85A;
  --focus: #2F5FD0;

  --sans: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;

  /* Modular scale, ratio 1.25 from 18px */
  --step-0: 1.125rem;
  --step-1: 1.40625rem;
  --step-2: 1.758rem;
  --step-3: 2.197rem;
  --step-4: clamp(2.25rem, 1.4rem + 3.6vw, 3.9rem);

  --gutter: clamp(1rem, 4vw, 3rem);
  --measure: 38rem;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: var(--step-0);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 {
  font-family: var(--sans);
  line-height: 1.1;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0; }

a { color: inherit; }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 2px;
}

.wrap {
  width: 100%;
  max-width: 72rem;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: var(--paper);
  padding: .5rem 1rem;
  font-family: var(--sans);
}
.skip:focus { left: 1rem; top: 1rem; }

/* Header */
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  flex-wrap: wrap;
  padding-block: 1.5rem;
  font-family: var(--sans);
}
.wordmark {
  font-weight: 800;
  font-size: var(--step-1);
  letter-spacing: -0.02em;
  text-decoration: none;
}
.header-mail {
  font-size: 1rem;
  color: var(--slate);
  text-underline-offset: .2em;
}
.header-mail:hover { color: var(--ink); }

/* Hero */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  padding-block: clamp(3rem, 9vw, 7rem) clamp(3.5rem, 9vw, 7rem);
  border-bottom: 1px solid var(--rule);
}
.hero h1 {
  font-size: var(--step-4);
  font-weight: 800;
  letter-spacing: -0.03em;
  max-width: 14ch;
}
.lede {
  margin-top: 1.5rem;
  max-width: var(--measure);
  font-size: var(--step-1);
  line-height: 1.5;
  color: var(--slate);
}
.button {
  display: inline-block;
  margin-top: 2rem;
  padding: .85rem 1.4rem;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border-radius: 4px;
}
.button:hover { background: #24375C; }

/* Evidence card, styled after a policy-debate card: tag, cite, highlighted body */
.card {
  margin: 0;
  background: var(--card);
  border: 1px solid var(--rule);
  border-left: 6px solid var(--ink);
  padding: clamp(1.25rem, 3vw, 2rem);
}
.card-tag {
  font-family: var(--sans);
  font-weight: 800;
  font-size: var(--step-1);
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.card-cite {
  margin-top: .6rem;
  font-size: 1rem;
  color: var(--slate);
}
.card-cite strong { color: var(--ink); font-weight: 600; }
.card-body {
  margin: 1.1rem 0 0;
  padding-top: 1.1rem;
  border-top: 1px dashed var(--rule);
  font-size: 1.0625rem;
  line-height: 1.7;
}
.card-body mark {
  color: inherit;
  background-image: linear-gradient(var(--highlight), var(--highlight));
  background-color: transparent;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .18em;
  padding-inline: .08em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

/* The page's one ambient motion: the highlighter sweeps across the evidence */
@media (prefers-reduced-motion: no-preference) {
  .card-body mark {
    background-size: 0% 100%;
    animation: sweep .55s cubic-bezier(.3, .7, .4, 1) forwards;
  }
  .card-body mark:nth-of-type(1) { animation-delay: .5s; }
  .card-body mark:nth-of-type(2) { animation-delay: 1.05s; }
  .card-body mark:nth-of-type(3) { animation-delay: 1.6s; }
}
@keyframes sweep { to { background-size: 100% 100%; } }

/* Sections */
.practice,
.process,
.contact {
  padding-block: clamp(3rem, 7vw, 5.5rem);
}
.practice h2,
.process h2,
.contact h2 {
  font-size: var(--step-3);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.areas {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(2rem, 5vw, 4rem);
  margin: 2.25rem 0 0;
}
.areas > div {
  padding-block: 1.5rem;
  border-top: 1px solid var(--rule);
}
.areas dt {
  font-family: var(--sans);
  font-weight: 600;
  font-size: var(--step-1);
}
.areas dd {
  margin: .5rem 0 0;
  max-width: 34ch;
  color: var(--slate);
}

.process { border-top: 1px solid var(--rule); }
.steps {
  list-style: none;
  counter-reset: step;
  margin: 2.25rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
}
.steps li {
  counter-increment: step;
  border-top: 3px solid var(--ink);
  padding-top: 1rem;
}
.steps li::before {
  content: counter(step);
  display: block;
  font-family: var(--sans);
  font-weight: 800;
  font-size: var(--step-2);
  line-height: 1;
  margin-bottom: .9rem;
  color: var(--slate);
}
.steps h3 {
  font-size: var(--step-0);
  font-weight: 600;
  margin-bottom: .5rem;
}
.steps p {
  font-size: 1rem;
  color: var(--slate);
}

.contact {
  border-top: 1px solid var(--rule);
}
.contact p {
  margin-top: 1rem;
  max-width: var(--measure);
  color: var(--slate);
}
.contact-mail {
  display: inline-block;
  margin-top: 1.5rem;
  font-family: var(--sans);
  font-weight: 800;
  font-size: clamp(1.4rem, 1rem + 2.6vw, 2.6rem);
  letter-spacing: -0.02em;
  text-decoration-thickness: 3px;
  text-underline-offset: .18em;
  text-decoration-color: var(--highlight);
  overflow-wrap: anywhere;
}
.contact-mail:hover { text-decoration-color: var(--ink); }

/* Footer */
.site-footer {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .5rem 2rem;
  padding-block: 2rem 2.5rem;
  border-top: 1px solid var(--rule);
  font-family: var(--sans);
  font-size: .9rem;
  color: var(--slate);
}

/* Responsive */
@media (max-width: 960px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; }
  .hero h1 { max-width: 16ch; }
}
@media (max-width: 600px) {
  .areas,
  .steps { grid-template-columns: 1fr; }
  .header-mail { display: none; }
}

.notfound {
  font-size: var(--step-3);
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* ---- Multi-page additions (launch v1) ---- */
.nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .25rem 1.25rem;
  font-size: 1rem;
}
.nav a {
  color: var(--slate);
  text-decoration: none;
  padding-block: .35rem;
  display: inline-block;
}
.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--highlight);
  text-decoration-thickness: 3px;
  text-underline-offset: .3em;
}

.actions { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: .75rem; }
.actions .button { margin-top: 0; }
.button-quiet {
  background: transparent;
  color: var(--ink);
  border: 2px solid var(--ink);
  padding: calc(.85rem - 2px) calc(1.4rem - 2px);
}
.button-quiet:hover { background: var(--card); }

.section-lede {
  margin-top: 1rem;
  max-width: var(--measure);
  color: var(--slate);
}
.more {
  margin-top: 1.5rem;
  font-family: var(--sans);
  font-weight: 600;
}
.fine {
  margin-top: .75rem;
  font-size: 1rem;
  color: var(--slate);
}

.page-intro {
  padding-block: clamp(2.5rem, 7vw, 5rem) clamp(2rem, 5vw, 3.5rem);
  border-bottom: 1px solid var(--rule);
}
.page-intro h1 {
  font-size: var(--step-4);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.offers,
.offers-more,
.samples,
.prose {
  padding-block: clamp(2.5rem, 6vw, 4.5rem);
}
.offers-more,
.prose { border-top: 1px solid var(--rule); }
.offers-more h2,
.prose h2 {
  font-size: var(--step-2);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.prose h2 + p,
.prose h2 + ul,
.prose h2 + dl { margin-top: .9rem; }
.prose h2:not(:first-child) { margin-top: 2.5rem; }
.prose p { max-width: var(--measure); }

.offer {
  background: var(--card);
  border: 1px solid var(--rule);
  border-left: 6px solid var(--ink);
  padding: clamp(1.25rem, 3vw, 2rem);
}
.offer + .offer { margin-top: 2rem; }
.offer > p { margin-top: .9rem; max-width: 46rem; }
.offer-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: .25rem 1.5rem;
}
.offer-head h2 { font-size: var(--step-2); font-weight: 800; letter-spacing: -0.02em; }
.offer-head h3 { font-size: var(--step-1); font-weight: 600; }
.price {
  font-family: var(--sans);
  font-weight: 800;
  font-size: var(--step-1);
  white-space: nowrap;
}
.turnaround { font-family: var(--sans); font-size: 1rem; }
.offer .button { margin-top: .5rem; }
.offer-small { border-left-width: 3px; }
.offer-small .offer-head .price { font-size: 1rem; color: var(--slate); }
.text-link { font-family: var(--sans); font-weight: 600; }

.table-wrap { margin-top: 1.25rem; overflow-x: auto; }
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1rem;
  line-height: 1.5;
}
th, td {
  text-align: left;
  vertical-align: top;
  padding: .6rem .75rem .6rem 0;
  border-top: 1px solid var(--rule);
}
thead th {
  font-family: var(--sans);
  font-weight: 600;
  font-size: .9rem;
  color: var(--slate);
  border-top: 0;
}
tbody th { font-family: var(--sans); font-weight: 600; white-space: nowrap; }
td:nth-child(2), td:nth-child(3) { white-space: nowrap; }

.ticks {
  margin: 1rem 0 0;
  padding-left: 1.25rem;
  max-width: 46rem;
}
.ticks li + li { margin-top: .4rem; }
.plain-list {
  margin: 1rem 0 0;
  padding-left: 1.4rem;
  max-width: var(--measure);
  color: var(--slate);
}
.plain-list li + li { margin-top: .4rem; }

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.grid-2 .offer + .offer { margin-top: 0; }

.samples {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem clamp(2rem, 5vw, 4rem);
}
.sample {
  border-top: 3px solid var(--ink);
  padding-top: 1rem;
}
.sample h2 { font-size: var(--step-1); font-weight: 800; margin-top: .4rem; }
.sample > p:not(.sample-label) { margin-top: .75rem; }
.sample-label {
  font-family: var(--sans);
  font-weight: 600;
  font-size: .9rem;
  color: var(--slate);
  text-transform: uppercase;
  letter-spacing: .04em;
}
.sample-org { font-size: 1rem; }
.sample-org strong {
  background: var(--highlight);
  padding-inline: .15em;
}
.placeholder { font-style: italic; }

.facts { margin: 0; max-width: 46rem; }
.facts > div {
  display: grid;
  grid-template-columns: 10rem minmax(0, 1fr);
  gap: 1rem;
  padding-block: .6rem;
  border-top: 1px solid var(--rule);
}
.facts dt { font-family: var(--sans); font-weight: 600; }
.facts dd { margin: 0; }

@media (max-width: 760px) {
  .grid-2,
  .samples { grid-template-columns: 1fr; }
  .facts > div { grid-template-columns: 1fr; gap: .1rem; }
  table, thead, tbody, tr, th, td { display: block; }
  thead { position: absolute; left: -9999px; }
  tbody tr { border-top: 1px solid var(--rule); padding-block: .6rem; }
  tbody th, td { border-top: 0; padding: .1rem 0; white-space: normal; }
  td:nth-child(2), td:nth-child(3) { white-space: normal; display: inline-block; margin-right: 1rem; font-family: var(--sans); font-weight: 600; }
}
