:root {
  --ink:       #14120E;
  --paper:     #FBFAF7;
  --almanack:  #E9B824;
  --leather:   #8E2B1F;
  --rule:      #D9D5C9;
  --mute:      #6B665C;
  --ink-2:     #3B372E;
  --code-bg:   #17150F;
  --code-fg:   #E6E2D6;
  --code-mute: #8A8271;
  --bad:       #E8836F;
  --tint:      #F3EFE2;

  --display: "Zilla Slab", Georgia, serif;
  --body:    "Newsreader", Georgia, serif;
  --data:    "DM Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --measure: 40rem;
  --gutter:  clamp(1.25rem, 5vw, 3rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: clamp(1.05rem, 0.5vw + 1rem, 1.2rem);
  line-height: 1.6;
}

.wrap {
  max-width: var(--measure);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------------------------------------------------------------- hero */

.hero {
  background: var(--almanack);
  border-bottom: 3px solid var(--ink);
  padding: clamp(3rem, 9vw, 6rem) 0 clamp(2.5rem, 7vw, 4rem);
}

.eyebrow {
  font-family: var(--data);
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin: 0 0 1.5rem;
}

.hero h1 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2.4rem, 7vw, 4rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 0 0 1.5rem;
}

.lede { margin: 0 0 1rem; max-width: 34rem; }

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 2rem 0 1rem;
}

.micro {
  font-family: var(--data);
  font-size: 0.78rem;
  color: var(--ink-2);
  margin: 0;
  line-height: 1.5;
}

/* ---------------------------------------------------------------- buttons */

.btn {
  display: inline-block;
  font-family: var(--data);
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  padding: 0.85rem 1.4rem;
  text-decoration: none;
  border: 2px solid var(--ink);
  transition: transform 0.08s ease;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--ink); color: var(--paper); }
.btn--primary:hover { background: var(--leather); border-color: var(--leather); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }

/* ---------------------------------------------------------------- sections */

.section {
  padding: clamp(2.5rem, 7vw, 4.5rem) var(--gutter);
  border-bottom: 1px solid var(--rule);
}

h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.5rem, 3.5vw, 2.1rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 1.25rem;
}

h3 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.15rem;
  margin: 2rem 0 0.5rem;
}

p { margin: 0 0 1rem; }

code {
  font-family: var(--data);
  font-size: 0.86em;
  background: var(--tint);
  padding: 0.1em 0.35em;
}

a { color: var(--leather); text-underline-offset: 0.15em; }

/* ---------------------------------------------------------------- code blocks */

.code {
  background: var(--code-bg);
  color: var(--code-fg);
  font-family: var(--data);
  font-size: 0.8rem;
  line-height: 1.65;
  padding: 1.25rem;
  margin: 1.5rem 0;
  overflow-x: auto;
  white-space: pre;
}
.code .c { color: var(--code-mute); }
.code .bad { color: var(--bad); }

/* ---------------------------------------------------------------- table */

.drift {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  margin: 1.5rem 0;
}
.drift th, .drift td {
  text-align: left;
  padding: 0.6rem 0.75rem 0.6rem 0;
  border-bottom: 1px solid var(--rule);
  vertical-align: top;
}
.drift th {
  font-family: var(--data);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mute);
}

/* ---------------------------------------------------------------- grid */

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1.75rem 2rem;
  margin-top: 2rem;
}
.grid h3 { margin: 0 0 0.4rem; font-family: var(--data); font-size: 0.92rem; }
.grid p { font-size: 0.95rem; margin: 0; color: var(--ink-2); }

/* ---------------------------------------------------------------- honesty */

.honest {
  background: var(--tint);
}

/* ---------------------------------------------------------------- pricing */

.tiers {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin: 2rem 0 1.5rem;
}

@media (min-width: 36rem) {
  .tiers { grid-template-columns: 1fr 1fr; }
  /* The done-for-you tier is the one that matters most, so it takes the full
     width beneath the other two rather than sitting in a lonely third column. */
  .tier--wide { grid-column: 1 / -1; }
  .tier--wide ul { columns: 2; column-gap: 2rem; }
  .tier--wide li { break-inside: avoid; }
  .tier--wide .btn { align-self: start; padding-left: 3rem; padding-right: 3rem; }
}

.tier {
  border: 2px solid var(--ink);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
}
.tier h3 { margin: 0 0 0.25rem; font-size: 1.1rem; }
.tier .price {
  font-family: var(--display);
  font-weight: 700;
  font-size: 2.4rem;
  line-height: 1;
  margin: 0 0 1rem;
}
.tier ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  font-size: 0.95rem;
  flex: 1;
}
.tier li {
  padding: 0.35rem 0 0.35rem 1.1rem;
  position: relative;
  color: var(--ink-2);
}
.tier li::before {
  content: "\00b7";
  position: absolute;
  left: 0.25rem;
  color: var(--leather);
  font-weight: 700;
}
.tier .btn { text-align: center; }

.tier--wide {
  border-width: 3px;
  background: var(--tint);
}
.tier--wide .price { color: var(--leather); }

/* ---------------------------------------------------------------- footer */

.sitefoot {
  padding: 2.5rem 0 3.5rem;
  font-family: var(--data);
  font-size: 0.8rem;
  color: var(--mute);
}
