/* Rootout — the same visual language as the rest of the site, in its own colours.
 *
 * What the family shares is not a palette, it is a set of devices: a warm
 * paper ground, a heavy display face with real character, one word in the
 * headline carrying a highlight, and hard offset shadows instead of soft
 * blur. Krunch owns cream-and-honey, Goodbye owns purple. Rootout gets the
 * deep forest field and a warm ember accent — nobody else's ground, nobody
 * else's highlight, the same grammar.
 */
:root {
  /* family ground and ink */
  --paper: #FFFDF6;
  --card: #FFFFFF;
  --ink: #1B1A17;
  --soft: rgba(27, 26, 23, .66);
  --faint: rgba(27, 26, 23, .14);
  --line: rgba(27, 26, 23, .16);

  /* Rootout's own territory */
  --forest: #1C5732;
  --forest-deep: #123B22;
  --leaf: #3D9557;
  --leaf-soft: #DCEFE2;
  --ember: #FF6B3D;
  --ember-deep: #C4441C;
  --on-forest: #FFFDF6;

  --display: "Gabarito", ui-sans-serif, system-ui, sans-serif;
  --body: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* The family's shadow is an offset block, not a blur — it is what makes a
     card look printed rather than floated. */
  --hard: 5px 5px 0 var(--ink);
  --hard-sm: 3px 3px 0 var(--ink);
  --hard-leaf: 5px 5px 0 var(--forest);

  --wrap: 1140px;
  color-scheme: light;
}

* { 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: 17px;
  line-height: 1.6;
  font-weight: 450;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

h1, h2, h3, .display {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.04;
  margin: 0;
}
/* 1.04 is fine for plain headlines and too tight for a highlighted one: the
   marker box is taller than the line box, so it bled into the line above and
   overlapped the lede below by 7.5px. */
h1 { font-size: clamp(2.5rem, 6.2vw, 4.4rem); line-height: 1.28; }
.hero h1 { margin-bottom: 24px; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.15rem; line-height: 1.25; }
p { margin: 0 0 1rem; }

.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.wrap-3 { max-width: 760px; }
.wrap-4 { max-width: 940px; }
.wrap-5 { max-width: 1040px; }
.center { text-align: center; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- the highlight ---------- */
/* One word, marked. Goodbye and Krunch do it in yellow; this is the same
   gesture in Rootout's ember, which nothing else on the site uses. */
.hl {
  background: var(--ember);
  color: var(--ink);
  padding: .04em .18em .08em;
  border-radius: .22em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.hero .hl { color: var(--ink); }

/* ---------- header ---------- */
header.bar {
  background: var(--paper);
  border-bottom: 2px solid var(--ink);
  position: sticky; top: 0; z-index: 10;
}
header.bar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 14px 0; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
/* Goodbye and idk round theirs to 9px — a bare square reads as a cropped
   image next to them, which is exactly how it looked. */
.mark { width: 34px; height: 34px; border-radius: 9px; }
.mark-sm { width: 26px; height: 26px; }
.wordmark { font-family: var(--display); font-weight: 700; font-size: 1.22rem; letter-spacing: -.01em; }
nav.main { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; font-size: .95rem; font-weight: 600; }
nav.main a { text-decoration: none; color: var(--soft); }
nav.main a:hover { color: var(--ink); }

/* On a phone the bar wrapped with the nav above the wordmark, which reads as
   two unrelated rows. Stacked deliberately instead, brand first. */
@media (max-width: 560px) {
  header.bar .wrap { flex-direction: column; align-items: flex-start; gap: 8px; }
  nav.main { gap: 14px; font-size: .9rem; }
}

/* ---------- hero: the field that is Rootout's alone ---------- */
.hero {
  background: var(--forest);
  color: var(--on-forest);
  border-bottom: 2px solid var(--ink);
  padding: 76px 0 84px;
}
.hero h1 { color: var(--on-forest); }
.hero .lede { color: rgba(255, 253, 246, .82); font-size: 1.1rem; max-width: 56ch; margin-inline: auto; }
.hero .quiet { color: rgba(255, 253, 246, .6); }

.actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin: 28px 0 0; }

/* ---------- buttons: printed, and they press ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--display); font-weight: 700; font-size: 1.02rem;
  padding: 13px 24px;
  border: 2px solid var(--ink);
  border-radius: 14px;
  background: var(--ember);
  color: var(--ink);
  text-decoration: none;
  box-shadow: var(--hard);
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--ink); }
.btn:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--ink); }
.btn-ghost { background: var(--paper); }
.btn-light { background: var(--paper); }
@media (prefers-reduced-motion: reduce) {
  .btn, .btn:hover, .btn:active { transition: none; transform: none; }
}

/* ---------- the product still ---------- */
.preview-hold { padding: 56px 0; background: var(--paper); }
.preview {
  background: var(--card);
  border: 2px solid var(--ink);
  border-radius: 18px;
  box-shadow: var(--hard);
  overflow: hidden;
}
.preview-top {
  display: flex; align-items: center; gap: 7px;
  padding: 11px 16px;
  border-bottom: 2px solid var(--ink);
  background: var(--leaf-soft);
  font-size: .8rem; font-weight: 600; color: var(--soft);
}
.preview-top i { width: 10px; height: 10px; border-radius: 50%; background: var(--ink); opacity: .22; }
.preview-top span { margin-left: 8px; }
.preview table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.preview th {
  text-align: left; font-size: .7rem; letter-spacing: .07em; text-transform: uppercase;
  color: var(--soft); font-weight: 700; padding: 10px 16px; border-bottom: 2px solid var(--line);
}
.preview td { padding: 12px 16px; border-bottom: 1px solid var(--faint); vertical-align: middle; }
.preview tr:last-child td { border-bottom: 0; }
.preview .name { font-weight: 650; }
.preview .addr { font-size: .78rem; color: var(--soft); }
.preview .num { text-align: right; font-variant-numeric: tabular-nums; }
.preview .dim { color: var(--soft); }
.preview-foot { padding: 12px 16px; border-top: 2px solid var(--line); font-size: .82rem; color: var(--soft); background: var(--paper); }

.badge {
  display: inline-block; font-size: .72rem; font-weight: 700;
  padding: 4px 9px; border-radius: 999px; border: 1.5px solid var(--ink);
}
.badge.instant { background: var(--leaf); color: var(--on-forest); }
.badge.mail { background: var(--leaf-soft); color: var(--forest-deep); }
.badge.site { background: var(--ember); color: var(--ink); }

/* ---------- sections ---------- */
.border-t { border-top: 2px solid var(--ink); }
.border-b { border-bottom: 2px solid var(--ink); }
.tint { background: var(--leaf-soft); }
.white { background: var(--card); }
.dark { background: var(--forest-deep); color: var(--on-forest); }
.dark h2 { color: var(--on-forest); }
.dark p, .dark li { color: rgba(255, 253, 246, .82); }
section { padding: 62px 0; }

.stats { padding: 40px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
@media (min-width: 720px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }
/* <div class="stat"><b>625</b><span>senders found</span></div> — the number
   is the display element, the label underneath is not. Styling the wrapper
   instead ran them together as one line of green. */
.stat b {
  display: block;
  font-family: var(--display); font-weight: 800;
  font-size: clamp(1.9rem, 4vw, 2.6rem); line-height: 1.05;
  color: var(--forest);
}
.stat span { display: block; margin-top: 6px; font-size: .86rem; color: var(--soft); }

.steps-grid { display: grid; gap: 30px; }
@media (min-width: 760px) { .steps-grid { grid-template-columns: repeat(3, 1fr); } }
.step-n {
  display: grid; place-items: center;
  width: 42px; height: 42px; margin-bottom: 14px;
  border: 2px solid var(--ink); border-radius: 12px;
  background: var(--ember); box-shadow: var(--hard-sm);
  font-family: var(--display); font-weight: 700;
}

/* <dl class="kinds"><div><dt>…</dt><dd>…</dd></div></dl> */
.kinds { display: grid; gap: 16px; padding: 0; margin: 0; list-style: none; }
.kinds > div, .kinds > li {
  background: var(--card); border: 2px solid var(--ink); border-radius: 16px;
  padding: 20px; box-shadow: var(--hard-sm);
}
.kinds dt {
  font-family: var(--display); font-weight: 700; font-size: 1.05rem;
  margin-bottom: 6px;
}
.kinds dd { margin: 0; color: var(--soft); font-size: .95rem; }

/* The step cards get the same printed treatment as everything else. */
.step h3 { margin-bottom: 8px; }
.step p { color: var(--soft); font-size: .95rem; }

/* A dark section still needs its own card and list colours. */
.dark .kinds > div { background: rgba(255,253,246,.06); border-color: rgba(255,253,246,.3); box-shadow: none; }
.dark ul { padding-left: 1.1em; }
.dark .btn { box-shadow: 5px 5px 0 rgba(0,0,0,.45); }
.dark .btn:hover { box-shadow: 7px 7px 0 rgba(0,0,0,.45); }
.dark .btn:active { box-shadow: 1px 1px 0 rgba(0,0,0,.45); }
.claims { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.claims li { display: flex; gap: 12px; align-items: flex-start; }

/* .prose sits on the <section>, which also carries the background. Capping
   its width here cut the tint and the dark block short of the viewport — the
   inner .wrap-3 is what holds the measure, so only the text needs limiting. */
.prose p, .prose li, .prose dd { max-width: 70ch; }
.doc { padding: 46px 0 70px; }
.muted, .quiet, .small { color: var(--soft); }
.small { font-size: .86rem; }
.quiet { font-size: .9rem; }

/* ---------- footer ---------- */
footer.foot { border-top: 2px solid var(--ink); background: var(--paper); padding: 26px 0; }
footer.foot .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
footer.foot .brand { gap: 8px; font-weight: 600; }
footer.foot nav { display: flex; flex-wrap: wrap; gap: 16px; font-size: .9rem; }
footer.foot nav a { color: var(--soft); text-decoration: none; }
footer.foot nav a:hover { color: var(--ink); }

/* Policy sections are paragraphs of one page, not page bands. */
.doc section { padding: 0; margin-bottom: 40px; border: 0; background: none; }
.doc section h2 { margin-bottom: 12px; }
