/* Tokens shared with the print piece (somuch-card-v1.html) so card and site
   read as one brand. */
:root {
  --ink: #1a1a1a;
  --body: #333;
  --muted: #999;
  --hairline: #e5e5e5;
  --tracking: -0.02em;
  --gutter: 1.5rem;
  --measure: 34rem;
  --shell: 44rem;
  /* Lines the full-bleed header and footer up with the centered main
     column, without wrapping either in an extra element. */
  --shell-inset: max(var(--gutter), calc((100% - var(--shell)) / 2 + var(--gutter)));
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  color: var(--body);
  background: #fff;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

/* Wordmark — always lowercase, always tight. */
.wordmark {
  font-weight: 800;
  letter-spacing: var(--tracking);
  color: var(--ink);
  text-decoration: none;
  font-size: 1.5rem;
  display: inline-block;
}
.wordmark-sm { font-size: 1.125rem; margin: 0 0 0.25rem; }

.site-header {
  padding: var(--gutter) var(--shell-inset);
  border-bottom: 1px solid var(--hairline);
}

main {
  padding: 0 var(--gutter);
  max-width: var(--shell);
  margin: 0 auto;
}
main.narrow { max-width: 34rem; }

/* Hero — the completing-a-sentence mechanic carries the page. */
.hero { padding: 4rem 0 3rem; }
.hero-tight { padding: 3rem 0 2rem; }

.hero-lines {
  margin: 0;
  font-weight: 800;
  letter-spacing: var(--tracking);
  color: var(--ink);
  font-size: 2rem;
  line-height: 1.15;
}
.hero-lines span { display: block; }
.hero-blank em {
  display: inline-block;
  width: 4.5em;
  border-bottom: 3px solid var(--ink);
  font-style: normal;
}

.hero-sub {
  margin: 1.5rem 0 0;
  font-size: 1.0625rem;
  max-width: var(--measure);
}

.band {
  padding: 2rem 0;
  border-top: 1px solid var(--hairline);
}
/* The rule spans the full column; only the prose is held to the measure. */
.band > * { max-width: var(--measure); }
.band h2 {
  margin: 0 0 0.75rem;
  font-weight: 800;
  letter-spacing: var(--tracking);
  color: var(--ink);
  font-size: 1.25rem;
}
.band p { margin: 0 0 1rem; }
.band p:last-child { margin-bottom: 0; }

.link-arrow {
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 1px;
}
.link-arrow::after { content: " \2192"; }

a:focus, button:focus, .button:focus {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

button, .button {
  display: inline-block;
  font: inherit;
  font-weight: 600;
  letter-spacing: var(--tracking);
  color: #fff;
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 0;
  padding: 0.875rem 1.75rem;
  cursor: pointer;
  text-decoration: none;
}
button:hover, .button:hover { background: #000; }

/* Counter — "N of 100 thank-yous sent" */
.counter {
  padding: 2rem 0;
  border-top: 1px solid var(--hairline);
}
.counter > * { max-width: var(--measure); }
.counter-label {
  margin: 0 0 0.75rem;
  font-size: 1.0625rem;
}
.counter-label strong {
  font-weight: 800;
  letter-spacing: var(--tracking);
  color: var(--ink);
}
.counter-track {
  height: 6px;
  background: var(--hairline);
  overflow: hidden;
}
.counter-bar {
  height: 100%;
  width: 0;
  background: var(--ink);
}
.counter-note { margin: 0.75rem 0 0; }

/* Pricing */
.pricing {
  padding: 2rem 0;
  border-top: 1px solid var(--hairline);
}
.pricing h2 {
  margin: 0 0 0.5rem;
  font-weight: 800;
  letter-spacing: var(--tracking);
  color: var(--ink);
  font-size: 1.25rem;
}
.pricing-sub {
  margin: 0 0 2rem;
  max-width: var(--measure);
}

.tiers {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.tier {
  border: 1px solid var(--hairline);
  padding: 1.75rem 1.5rem;
  text-align: center;
}
.tier p { margin: 0 0 0.375rem; }
.tier .button { margin-top: 1rem; width: 100%; }

.tier-name {
  font-weight: 800;
  letter-spacing: var(--tracking);
  color: var(--ink);
  font-size: 1.125rem;
}
.tier-count {
  color: var(--muted);
  font-size: 0.875rem;
}
.tier-price {
  font-weight: 800;
  letter-spacing: var(--tracking);
  color: var(--ink);
  font-size: 2.25rem;
  line-height: 1.1;
}

/* Claim block on the pass-it-forward page */
.claim {
  padding: 2rem 0;
  border-top: 1px solid var(--hairline);
}
.claim > * { max-width: var(--measure); }
.claim h2 {
  margin: 0 0 0.5rem;
  font-weight: 800;
  letter-spacing: var(--tracking);
  color: var(--ink);
  font-size: 1.25rem;
}
.claim p { margin: 0 0 1.5rem; }

.muted { color: var(--muted); }
.small { font-size: 0.875rem; }

.site-footer {
  margin-top: 4rem;
  padding: 2rem var(--shell-inset) 3rem;
  border-top: 1px solid var(--hairline);
}
.site-footer p { margin: 0; font-size: 0.875rem; }

@media (min-width: 640px) {
  :root { --gutter: 2.5rem; }
  .wordmark { font-size: 1.75rem; }
  .hero { padding: 6rem 0 4rem; }
  .hero-lines { font-size: 3.25rem; }
  .hero-sub { font-size: 1.125rem; }
  .band, .claim, .counter, .pricing { padding: 3rem 0; }
  .tiers { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; align-items: stretch; }
}

/* Large screens. The 44rem column reads as a confined strip on a 27"
   monitor, so the shell, the type, and the vertical rhythm all scale up. */
@media (min-width: 1100px) {
  :root {
    --gutter: 3rem;
    --measure: 38rem;
    --shell: 68rem;
  }
  .wordmark { font-size: 2rem; }
  .hero { padding: 9rem 0 5rem; }
  .hero-tight { padding: 6rem 0 3rem; }
  .hero-lines { font-size: 5rem; }
  .hero-sub { font-size: 1.25rem; margin-top: 2rem; }
  .band, .claim, .counter, .pricing { padding: 4rem 0; }
  .band h2, .claim h2, .pricing h2 { font-size: 1.5rem; }
  .tiers { gap: 2rem; }
  .tier { padding: 2.25rem 2rem; }
  .tier-price { font-size: 2.75rem; }
  .site-footer { margin-top: 6rem; }

  /* The pass-it-forward page stays deliberately narrow, so its hero
     scales less than the homepage's. */
  main.narrow { max-width: 42rem; }
  main.narrow .hero-lines { font-size: 3.25rem; }
}
