/*
 * draftedleads.com, in the Postmark brand (docs/BRAND.md): every lead is a
 * letter, not a blast. Same token names as the app (src/app/globals.css);
 * no build step. Fonts are served from /fonts (CSP allows only 'self').
 */

@font-face {
  font-family: "Besley";
  src: url("/fonts/Besley-Variable.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Besley";
  src: url("/fonts/Besley-Italic-Variable.woff2") format("woff2");
  font-weight: 400 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Public Sans";
  src: url("/fonts/PublicSans-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Public Sans";
  src: url("/fonts/PublicSans-Italic-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

:root {
  color-scheme: light dark;
  --canvas: #f4f0e6;
  --surface: #fffcf5;
  --sunken: #ede7da;
  --line: #ddd3c1;
  --ink: #1b1a17;
  --muted: #5d564a;
  --faint: #8a8272;
  --accent: #0f3b2e;
  --accent-strong: #1a4f3e;
  --accent-soft: #dfe8e1;
  --accent-ink: #0f3b2e;
  --field: #0f3b2e;
  --vermilion: #cc3d23;
  --vermilion-ink: #b3341b;
  --airmail: #24489b;
  --good: #276b45;
  --good-soft: #e2f0e6;
  --warn: #94600a;
  --warn-soft: #f8ecd2;
  --bad: #b3341b;
  --bad-soft: #fadfd8;
  /* The envelope and stamps are paper objects: the same in light and dark. */
  --paper: #fffcf5;
  --paper-ink: #1b1a17;
  --paper-muted: #5d564a;
  --paper-line: #ddd3c1;
  --serif: "Besley", "Iowan Old Style", Georgia, serif;
  --sans: "Public Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 0.75rem;
  --shadow-card: 0 1px 2px rgb(27 26 23 / 0.04), 0 6px 18px -8px rgb(27 26 23 / 0.08);
  --gutter: 1rem;
  --section: 4.5rem;
}

@media (prefers-color-scheme: dark) {
  :root {
    --canvas: #0f1613;
    --surface: #17201c;
    --sunken: #131b17;
    --line: #2a3530;
    --ink: #f2eee4;
    --muted: #b3bab2;
    --faint: #7d877f;
    --accent: #2f6e55;
    --accent-strong: #387f63;
    --accent-soft: #1c2e26;
    --accent-ink: #a8d5bd;
    --field: #0c2a20;
    --vermilion-ink: #f28b74;
    --good: #7fcb9c;
    --good-soft: #193126;
    --warn: #e7b661;
    --warn-soft: #33280f;
    --bad: #f08a73;
    --bad-soft: #3a1c16;
    --shadow-card: 0 1px 2px rgb(0 0 0 / 0.3);
  }
}

@media (min-width: 640px) {
  :root {
    --gutter: 1.5rem;
  }
}
@media (min-width: 1024px) {
  :root {
    --gutter: 2.5rem;
    --section: 6.5rem;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
/* "hidden" always hides, even on elements whose class sets a display. */
[hidden] {
  display: none !important;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1,
h2,
h3,
p,
ul,
ol,
figure,
dl,
dd {
  margin: 0;
}
ul,
ol {
  padding: 0;
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
}
img,
svg {
  display: block;
  flex-shrink: 0;
}
::selection {
  background: var(--accent-soft);
  color: var(--accent-ink);
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}
.sprite {
  position: absolute;
  overflow: hidden;
}
.icon {
  width: 1.125rem;
  height: 1.125rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.skip {
  position: absolute;
  top: -3rem;
  left: 1rem;
  z-index: 50;
  padding: 0.625rem 1rem;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
}
.skip:focus {
  top: 0.75rem;
}
.container {
  width: 100%;
  max-width: 72rem;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* The airmail border: a frame for things worth sending. */
.air {
  height: 0.5rem;
  background: repeating-linear-gradient(-45deg, var(--vermilion) 0 14px, var(--paper) 14px 22px, var(--airmail) 22px 36px, var(--paper) 36px 44px);
}

/* Type */
h1,
h2 {
  font-family: var(--serif);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
h2 {
  font-size: clamp(2rem, 4.2vw, 3.25rem);
  line-height: 1.06;
}
h3 {
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.35;
}
.lead {
  color: var(--muted);
  font-size: 1.125rem;
  line-height: 1.6;
  text-wrap: pretty;
}

/* Buttons: pills, at least 44px tall */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  padding: 0 1.25rem;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background-color 150ms,
    border-color 150ms,
    color 150ms,
    transform 150ms;
}
.btn:active {
  transform: scale(0.98);
}
.btn-lg {
  min-height: 3rem;
  padding: 0 1.5rem;
  font-size: 1rem;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover {
  background: var(--accent-strong);
}
.btn-secondary {
  border-color: var(--line);
  background: var(--surface);
  color: var(--ink);
}
.btn-secondary:hover {
  border-color: var(--faint);
}
.btn-ghost {
  color: var(--muted);
}
.btn-ghost:hover {
  color: var(--ink);
  background: var(--sunken);
}
.btn-cream {
  background: var(--paper);
  color: #0f3b2e;
}
.btn-cream:hover {
  background: #fff;
}
.btn-outline-cream {
  border-color: rgb(244 240 230 / 0.45);
  color: #f4f0e6;
}
.btn-outline-cream:hover {
  border-color: #f4f0e6;
}
.btn-stamp {
  align-self: flex-start;
  min-height: 2.75rem;
  background: #fff8ee;
  color: var(--paper-ink);
  font-size: 0.875rem;
}
.btn-stamp:hover {
  background: #fff;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--canvas) 90%, transparent);
  -webkit-backdrop-filter: saturate(1.3) blur(12px);
  backdrop-filter: saturate(1.3) blur(12px);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 4.5rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--serif);
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
}
.nav-links {
  display: none;
  gap: 0.25rem;
}
.nav-links a {
  padding: 0.5rem 0.875rem;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.9375rem;
  font-weight: 600;
}
.nav-links a:hover {
  color: var(--ink);
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.nav-actions .signin {
  display: none;
}
@media (min-width: 480px) {
  .nav-actions .signin {
    display: inline-flex;
  }
}
@media (min-width: 900px) {
  .nav-links {
    display: flex;
  }
}

/* Sections */
section {
  padding-block: var(--section);
}
.section-paper {
  background: var(--surface);
  border-block: 1px solid var(--line);
}
.intro {
  max-width: 44rem;
  margin-bottom: 2.5rem;
}
.intro .lead {
  margin-top: 1rem;
}
@media (min-width: 1024px) {
  .intro {
    margin-bottom: 3.5rem;
  }
}

/* Hero: the post-green field and the envelope */
.hero {
  background: var(--field);
  color: #f4f0e6;
  padding-block: clamp(3.5rem, 8vw, 7rem);
}
.hero-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 960px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    gap: 4.5rem;
  }
}
.hero h1 {
  font-size: clamp(2.75rem, 5.2vw, 4.25rem);
  line-height: 1.02;
}
.hero .lead {
  margin-top: 1.5rem;
  max-width: 34rem;
  color: #d9e2d9;
  font-size: 1.1875rem;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2.25rem;
}
.hero-note {
  margin-top: 1.75rem;
  color: #c7d3ca;
  font-size: 0.9375rem;
}
@media (max-width: 559px) {
  .cta-row .btn {
    flex: 1 1 100%;
  }
}
/* Hero: ask who they sell to, and open the free search with it filled in. */
.hero-ask {
  max-width: 36rem;
  margin-top: 2.25rem;
}
.hero-ask-label {
  display: block;
  font-size: 1.0625rem;
  font-weight: 700;
}
.hero-ask-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.75rem;
}
.hero-ask-input {
  flex: 1 1 15rem;
  min-width: 0;
  min-height: 3rem;
  padding: 0 1.25rem;
  border: 1.5px solid color-mix(in srgb, var(--paper) 45%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--paper) 8%, transparent);
  color: var(--paper);
  font: inherit;
  font-size: 1rem;
}
.hero-ask-input::placeholder {
  color: color-mix(in srgb, var(--paper) 62%, transparent);
}
.hero-ask-input:focus {
  border-color: var(--paper);
  outline: none;
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--paper) 22%, transparent);
}
.hero-ask-hint {
  margin-top: 0.75rem;
  color: color-mix(in srgb, var(--paper) 78%, transparent);
  font-size: 0.9375rem;
}
@media (max-width: 559px) {
  .hero-ask-row .btn {
    flex: 1 1 100%;
  }
}

.envelope {
  position: relative;
  padding: 1.5rem 1.25rem 1.375rem;
  background: var(--paper);
  color: var(--paper-ink);
  transform: rotate(-1.5deg);
  box-shadow:
    0 2px 0 rgb(0 0 0 / 0.06),
    0 40px 60px -30px rgb(0 0 0 / 0.55);
}
@media (min-width: 560px) {
  .envelope {
    padding: 1.75rem 1.875rem 1.625rem;
    transform: rotate(-2deg);
  }
}
.env-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  padding-bottom: 1.125rem;
  border-bottom: 1.5px dashed var(--paper-line);
}
.address {
  display: grid;
  gap: 0.125rem;
  font-size: 0.9375rem;
}
.address dt {
  margin-top: 0.625rem;
  color: var(--paper-muted);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.address dt:first-child {
  margin-top: 0;
}
.address strong {
  font-weight: 700;
}
.verified {
  color: #276b45;
  font-weight: 700;
}
.postmark {
  position: absolute;
  top: 6.25rem;
  right: 0.5rem;
  transform: scale(0.62);
  transform-origin: top right;
  pointer-events: none;
  opacity: 0.85;
}
@media (min-width: 560px) {
  .postmark {
    top: 5.25rem;
    right: 1rem;
    transform: none;
  }
}
/* Rubber-stamp ink: a little paper shows through, as on a real postmark (the same mask as the app's ink utility). */
.postmark {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' seed='7'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -4 3.2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' seed='7'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -4 3.2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  -webkit-mask-size: 160px 160px;
  mask-size: 160px 160px;
}
.postmark circle,
.postmark .pm-wave,
.postmark .pm-check {
  fill: none;
  stroke: var(--paper-ink);
}
.postmark circle:first-of-type {
  stroke-width: 2;
}
.postmark circle + circle {
  stroke-width: 1.2;
}
.postmark .pm-wave,
.postmark .pm-check {
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.postmark .pm-sign path {
  fill: none;
  stroke: var(--paper-ink);
  /* About 1.9 units of the postmark, in the signature's own 300-wide box. */
  stroke-width: 6.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.pm-ring {
  fill: var(--paper-ink);
  font-family: var(--sans);
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 1.6px;
}
.env-body {
  display: grid;
  gap: 0.75rem;
  padding-top: 1.125rem;
  font-family: var(--serif);
  font-size: 1.0625rem;
  line-height: 1.55;
}
.env-body .subject {
  font-family: var(--sans);
  font-size: 0.875rem;
  color: var(--paper-muted);
}
.env-body .subject span {
  margin-right: 0.5rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.env-foot {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.25rem;
  color: var(--paper-muted);
  font-size: 0.8125rem;
}
.sample figcaption {
  margin-top: 1.75rem;
  color: #b9c7bd;
  font-size: 0.8125rem;
  text-align: center;
}

/*
 * Stamps. The perforations are circles painted in the colour behind the
 * stamp, so --hole has to name that colour wherever a stamp sits.
 */
.stamp {
  --hole: var(--canvas);
  position: relative;
  display: flex;
  flex-direction: column;
  background-color: var(--vermilion);
  color: #fff8ee;
  background-image:
    radial-gradient(circle at 50% 0, var(--hole) 3.6px, transparent 4.2px), radial-gradient(circle at 50% 100%, var(--hole) 3.6px, transparent 4.2px),
    radial-gradient(circle at 0 50%, var(--hole) 3.6px, transparent 4.2px), radial-gradient(circle at 100% 50%, var(--hole) 3.6px, transparent 4.2px);
  background-size:
    12px 8px,
    12px 8px,
    8px 12px,
    8px 12px;
  background-position:
    0 0,
    0 100%,
    0 0,
    100% 0;
  background-repeat: repeat-x, repeat-x, repeat-y, repeat-y;
}
.envelope .stamp {
  --hole: var(--paper);
}
.section-paper .stamp {
  --hole: var(--surface);
}
.stamp-in {
  display: flex;
  flex: 1;
  flex-direction: column;
  margin: 0.5625rem;
  border: 1.5px solid rgb(255 248 238 / 0.6);
}
.stamp-sm {
  flex: none;
  width: 5.5rem;
  height: 6.75rem;
}
.stamp-sm .stamp-in {
  align-items: center;
  justify-content: center;
  gap: 0.125rem;
}
.stamp-price {
  font-family: var(--serif);
  font-size: 1.875rem;
  font-weight: 800;
  line-height: 1;
}
.stamp-caps {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.stamp-sm .stamp-caps {
  font-size: 0.625rem;
}

/* Who it's for */
.audiences {
  display: grid;
  border-top: 1.5px dashed var(--line);
}
.audiences li {
  padding: 1.5rem 0;
  border-bottom: 1.5px dashed var(--line);
}
.audiences h3 {
  font-family: var(--serif);
  font-size: 1.625rem;
  letter-spacing: -0.015em;
  line-height: 1.15;
}
.audiences p {
  margin-top: 0.625rem;
  color: var(--muted);
}
@media (min-width: 860px) {
  .audiences {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-bottom: 1.5px dashed var(--line);
  }
  .audiences li {
    padding: 2rem 2rem 2.25rem;
    border-bottom: 0;
  }
  .audiences li:first-child {
    padding-left: 0;
  }
  .audiences li:last-child {
    padding-right: 0;
  }
  .audiences li + li {
    border-left: 1.5px dashed var(--line);
  }
}

/* "Already know who?": the other way in, under the route. */
.known {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  margin-top: 2.5rem;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-card);
}
.known p {
  margin-top: 0.375rem;
  color: var(--muted);
  font-size: 0.9375rem;
}
@media (min-width: 640px) {
  .known {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 1.5rem;
  }
  .known .btn {
    flex-shrink: 0;
  }
}

/* How it works: a route of postmarks */
.route {
  position: relative;
  display: grid;
  gap: 2rem;
}
.route li {
  display: grid;
  grid-template-columns: 4rem minmax(0, 1fr);
  gap: 0.25rem 1.25rem;
  align-items: start;
}
.route h3 {
  margin-top: 0.375rem;
}
.route p {
  grid-column: 2;
  color: var(--muted);
  font-size: 0.9375rem;
}
.pmk {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 4rem;
  height: 4rem;
  border: 2px solid var(--accent-ink);
  border-radius: 999px;
  background: var(--surface);
  color: var(--accent-ink);
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 800;
  box-shadow:
    0 0 0 4px var(--surface),
    0 0 0 5.5px var(--accent-ink);
}
.pmk-done {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  box-shadow:
    0 0 0 4px var(--surface),
    0 0 0 5.5px var(--accent);
}
@media (min-width: 900px) {
  .route {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2rem;
  }
  .route::before {
    content: "";
    position: absolute;
    top: 2.75rem;
    left: 2.75rem;
    right: calc((100% - 6rem) / 4 - 2.75rem);
    border-top: 2px dashed var(--line);
  }
  .route li {
    position: relative;
    display: block;
  }
  .pmk {
    width: 5.5rem;
    height: 5.5rem;
    font-size: 2rem;
    box-shadow:
      0 0 0 6px var(--surface),
      0 0 0 7.5px var(--accent-ink);
  }
  .pmk-done {
    box-shadow:
      0 0 0 6px var(--surface),
      0 0 0 7.5px var(--accent);
  }
  .route h3 {
    margin-top: 1.75rem;
  }
  .route p {
    margin-top: 0.5rem;
  }
}

/* Why it's different */
.features {
  display: grid;
  gap: 1rem;
}
@media (min-width: 640px) {
  .features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
  }
}
@media (min-width: 1024px) {
  .features {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.feature {
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-card);
}
.feature h3 {
  margin-top: 1.125rem;
}
.feature p {
  margin-top: 0.5rem;
  color: var(--muted);
  font-size: 0.9375rem;
}
.ring {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1.5px solid var(--accent-ink);
  border-radius: 999px;
  color: var(--accent-ink);
  box-shadow:
    0 0 0 3px var(--surface),
    0 0 0 4px var(--accent-ink);
}

/* Pricing: a sheet of stamps */
.pricing-head {
  display: grid;
  gap: 1.25rem 4rem;
  align-items: end;
  margin-bottom: 2.5rem;
}
@media (min-width: 960px) {
  .pricing-head {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}
.sheet {
  display: grid;
  gap: 1.25rem;
  margin-top: 1.25rem;
}
@media (min-width: 860px) {
  .sheet {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.free {
  display: grid;
  gap: 1.25rem 3rem;
  padding: 1.5rem;
  border: 1.5px dashed var(--line);
  border-radius: 2px;
}
@media (min-width: 860px) {
  .free {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    align-items: center;
    padding: 1.75rem 2rem;
  }
}
.free-note {
  margin-top: 0.375rem;
  color: var(--muted);
  font-size: 0.9375rem;
}
.free-price {
  color: var(--accent-ink);
  font-family: var(--serif);
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1;
}
.free h3 {
  margin-top: 0.75rem;
}
.free-cta {
  margin-top: 1.25rem;
}

/* "Coming soon": a promise we haven't built yet, said plainly. */
.soon {
  display: inline-flex;
  align-items: center;
  height: 1.5rem;
  padding: 0 0.625rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-ink);
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1;
  vertical-align: middle;
  white-space: nowrap;
}
.soon-note {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.6;
}
.soon-note .soon {
  margin-right: 0.5rem;
}
.checks {
  display: grid;
  gap: 0.5rem 1.5rem;
  color: var(--muted);
  font-size: 0.875rem;
}
@media (min-width: 560px) {
  .checks {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.checks li {
  display: flex;
  gap: 0.5rem;
}
.checks .icon {
  width: 1rem;
  height: 1rem;
  margin-top: 0.1875rem;
  color: var(--good);
}
.pack {
  min-height: 17.5rem;
}
.pack .stamp-in {
  padding: 1.375rem;
  gap: 0.75rem;
}
.pack-blue {
  background-color: var(--airmail);
}
.pack-green {
  background-color: #0f3b2e;
}
.pack-top {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  white-space: nowrap;
}
.tag {
  padding: 0.125rem 0.5rem;
  background: #fff8ee;
  color: var(--vermilion);
}
.pack-price {
  margin-top: auto;
  font-family: var(--serif);
  font-size: 3.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
}
.pack-note {
  color: rgb(255 248 238 / 0.9);
  font-size: 0.875rem;
  line-height: 1.5;
}

.compare {
  margin-top: 2.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--canvas);
  overflow: hidden;
}
.compare-head {
  padding: 1.5rem;
  border-bottom: 1px solid var(--line);
}
.compare-head h3 {
  font-family: var(--serif);
  font-size: 1.5rem;
  letter-spacing: -0.015em;
}
.compare-head p {
  margin-top: 0.375rem;
  color: var(--muted);
}
.compare-labels {
  display: none;
}
.compare-rows li {
  display: grid;
  gap: 0.375rem;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--line);
}
.compare-rows li:last-child {
  border-bottom: 0;
}
.compare .theirs,
.compare .ours {
  display: flex;
  gap: 0.625rem;
  align-items: flex-start;
}
.compare .theirs {
  color: var(--muted);
}
.compare .theirs .icon {
  color: var(--faint);
}
.compare .ours {
  font-weight: 600;
}
.compare .ours .icon {
  color: var(--good);
}
.compare .icon {
  margin-top: 0.1875rem;
}
@media (min-width: 760px) {
  .compare-labels,
  .compare-rows li {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
  }
  .compare-labels {
    padding: 0.75rem 1.5rem;
    border-bottom: 1px solid var(--line);
    color: var(--muted);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }
  .compare-labels span {
    display: flex;
    gap: 0.5rem;
    align-items: center;
  }
  .compare-labels .icon {
    width: 1rem;
    height: 1rem;
  }
}

.pilot {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 2.5rem;
  padding: 1.75rem 1.5rem;
  border-radius: var(--radius);
  background: var(--field);
  color: #f4f0e6;
}
.pilot h3 {
  font-family: var(--serif);
  font-size: 1.625rem;
  letter-spacing: -0.015em;
}
.pilot p {
  margin-top: 0.5rem;
  max-width: 40rem;
  color: #d9e2d9;
}
@media (min-width: 760px) {
  .pilot {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 2rem 2.25rem;
  }
}
.fine {
  margin-top: 1.5rem;
  color: var(--muted);
  font-size: 0.875rem;
}

/* Questions */
.faq {
  max-width: 48rem;
  border-top: 1px solid var(--line);
}
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3.75rem;
  padding: 1rem 0;
  font-weight: 700;
  font-size: 1.0625rem;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary .icon {
  color: var(--faint);
  transition: transform 150ms;
}
.faq details[open] summary .icon {
  transform: rotate(180deg);
}
.faq details p {
  padding-bottom: 1.25rem;
  max-width: 42rem;
  color: var(--muted);
}

/* Closing */
.closing {
  border-top: 1px solid var(--line);
}
.closing-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.closing h2 {
  margin-top: 1.5rem;
}
.closing .lead {
  margin-top: 0.75rem;
}
.closing .cta-row {
  justify-content: center;
}

/* Footer */
.site-footer {
  padding-block: 2.25rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.875rem;
}
.site-footer .brand {
  flex: none;
  color: var(--ink);
  font-size: 1.125rem;
}
.footer-row {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
@media (min-width: 900px) {
  .footer-row {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
}
.footer-links a:hover,
.footer-links a[aria-current="page"] {
  color: var(--ink);
}
/* Free tools and guides get a row of their own, so the company links stay short. */
.footer-guides {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem 1.5rem;
  margin-top: 1.75rem;
}
.footer-label {
  flex-basis: 100%;
  color: var(--faint);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.footer-guides a:hover,
.footer-guides a[aria-current="page"] {
  color: var(--ink);
}

/* 404 */
.notfound {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100svh;
  padding-block: 3rem;
}
.notfound h1 {
  margin-top: 3rem;
  font-size: clamp(2.25rem, 7vw, 3.5rem);
  line-height: 1.05;
}
.notfound .lead {
  margin-top: 1rem;
}

/* Privacy and terms: one readable column, the summary and contents first. */
.legal {
  padding-block: 3rem var(--section);
}
.legal-head,
/* The privacy page's ad-features switch (google-tag.js runs it). */
.ad-choice {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  margin-top: 1rem;
  padding: 1rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.prose .ad-choice p {
  flex: 1 1 16rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.9375rem;
}

.legal-summary,
.legal-toc,
.prose {
  max-width: 44rem;
  margin-inline: auto;
}
.legal-kicker {
  color: var(--vermilion-ink);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.legal-head h1 {
  margin-top: 0.75rem;
  font-size: clamp(2.25rem, 5.5vw, 3rem);
  line-height: 1.08;
}
.legal-meta {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.9375rem;
}
.legal-summary {
  margin-top: 2.5rem;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-card);
}
@media (min-width: 640px) {
  .legal-summary {
    padding: 1.5rem;
  }
}
.legal-summary h2 {
  font-size: 1.25rem;
  line-height: 1.3;
}
.legal-summary ul {
  display: grid;
  gap: 0.625rem;
  margin-top: 0.875rem;
}
.legal-summary li {
  position: relative;
  padding-left: 1.25rem;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.55;
}
.legal-summary li::before {
  content: "";
  position: absolute;
  top: 0.6em;
  left: 0.125rem;
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 999px;
  background: var(--vermilion);
}
.legal-toc {
  margin-top: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--line);
}
.legal-toc p {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.legal-toc ol {
  display: grid;
  gap: 0.25rem 1.5rem;
  margin-top: 0.75rem;
  list-style: decimal inside;
  color: var(--faint);
  font-size: 0.9375rem;
}
@media (min-width: 640px) {
  .legal-toc ol {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.legal-toc li {
  padding-block: 0.25rem;
}
.legal-toc a {
  color: var(--ink);
}
.legal-toc a:hover {
  color: var(--accent-ink);
}
.prose {
  font-size: 1rem;
  line-height: 1.7;
}
.prose h2 {
  margin-top: 3rem;
  font-size: 1.625rem;
  line-height: 1.25;
  scroll-margin-top: 5.5rem;
}
.prose > :first-child {
  margin-top: 2.5rem;
}
.prose h3 {
  margin-top: 1.75rem;
}
.prose p,
.prose > ul {
  margin-top: 1rem;
}
.prose p,
.prose li {
  text-wrap: pretty;
}
.prose ul {
  padding-left: 1.25rem;
  list-style: disc;
}
.prose ul ul {
  margin-top: 0.5rem;
  list-style: circle;
}
.prose li + li {
  margin-top: 0.5rem;
}
.prose li::marker {
  color: var(--faint);
}
.prose strong {
  font-weight: 700;
}
.prose a,
.legal-summary a {
  color: var(--accent-ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.prose a:hover {
  text-decoration-thickness: 2px;
}
.legal-table {
  margin-top: 1.25rem;
  border-top: 1px solid var(--line);
}
.legal-table div {
  display: grid;
  gap: 0.25rem;
  padding-block: 0.875rem;
  border-bottom: 1px solid var(--line);
}
@media (min-width: 640px) {
  .legal-table div {
    grid-template-columns: 12rem minmax(0, 1fr);
    gap: 1.5rem;
  }
}
.legal-table dt {
  font-weight: 700;
}
.legal-table dd {
  color: var(--muted);
}

/* Free tools (the domain checker): one readable column, a form, a result card. */
.tool {
  padding-block: 3rem var(--section);
}
.tool-head,
.tool-form,
.tool-result,
.tool .prose,
.tool-cta {
  max-width: 44rem;
  margin-inline: auto;
}
.tool-head .lead {
  margin-top: 1rem;
}
.tool-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 2rem;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-card);
}
.tool-form label {
  font-weight: 700;
  font-size: 0.9375rem;
}
.tool-row {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.tool-input {
  width: 100%;
  min-height: 2.75rem;
  padding: 0 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--canvas);
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
}
.tool-input:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}
.tool-hint {
  color: var(--muted);
  font-size: 0.875rem;
}
@media (min-width: 640px) {
  .tool-form {
    padding: 1.5rem;
  }
  .tool-row {
    flex-direction: row;
  }
  .tool-row .btn {
    flex: none;
  }
}
.tool-result {
  margin-top: 1.5rem;
}
.tool-result:empty {
  display: none;
}
.tool-error {
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  background: var(--bad-soft);
  color: var(--bad);
  font-size: 0.9375rem;
}
.verdict {
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-card);
}
@media (min-width: 640px) {
  .verdict {
    padding: 1.5rem;
  }
}
.verdict-domain {
  color: var(--muted);
  font-size: 0.875rem;
  word-break: break-all;
}
.verdict h2 {
  margin-top: 0.25rem;
  font-size: 1.5rem;
  line-height: 1.25;
}
.verdict > p {
  margin-top: 0.5rem;
  color: var(--muted);
}
.verdict.is-ready h2 {
  color: var(--good);
}
.verdict.is-almost h2 {
  color: var(--warn);
}
.verdict.is-not_ready h2 {
  color: var(--bad);
}
.check-list {
  margin-top: 1.25rem;
  border-top: 1px solid var(--line);
}
.check-list li {
  display: grid;
  grid-template-columns: 1.75rem minmax(0, 1fr);
  gap: 0.75rem;
  padding-block: 0.875rem;
  border-bottom: 1px solid var(--line);
}
.check-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 700;
}
.is-ok .check-mark {
  background: var(--good-soft);
  color: var(--good);
}
.is-warn .check-mark {
  background: var(--warn-soft);
  color: var(--warn);
}
.is-missing .check-mark {
  background: var(--bad-soft);
  color: var(--bad);
}
.is-unknown .check-mark {
  background: var(--sunken);
  color: var(--faint);
}
.check-label {
  font-weight: 700;
}
.check-detail {
  margin-top: 0.125rem;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.55;
}
.check-fix {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
}
.check-fix code {
  padding: 0.375rem 0.625rem;
  border-radius: 0.5rem;
  background: var(--sunken);
  font-size: 0.875rem;
  word-break: break-all;
}
.tool-cta {
  margin-top: 2rem;
  padding: 1.25rem;
  border-radius: var(--radius);
  background: var(--accent-soft);
}
@media (min-width: 640px) {
  .tool-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.5rem;
  }
}
.tool-cta p {
  color: var(--ink);
}
.tool-cta .btn {
  margin-top: 1rem;
}
@media (min-width: 640px) {
  .tool-cta .btn {
    margin-top: 0;
    flex: none;
  }
}
.tool-faq {
  max-width: 44rem;
  margin: 1.25rem auto 0;
}
.prose code {
  padding: 0.125rem 0.375rem;
  border-radius: 0.375rem;
  background: var(--sunken);
  font-size: 0.875em;
}
/* Guides: a plain table that fits a phone without scrolling the page. */
.price-table {
  width: 100%;
  margin-top: 1.25rem;
  border-collapse: collapse;
  font-size: 0.9375rem;
}
.price-table caption {
  padding-bottom: 0.5rem;
  color: var(--muted);
  font-size: 0.875rem;
  text-align: left;
}
.price-table th,
.price-table td {
  padding: 0.75rem 0.5rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.price-table th:first-child,
.price-table td:first-child {
  padding-left: 0;
}
.price-table thead th {
  color: var(--muted);
  font-size: 0.8125rem;
  font-weight: 700;
}
.price-table tbody th {
  font-weight: 700;
}
.price-table .num {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.guide-note {
  margin-top: 2.5rem;
  color: var(--faint);
  font-size: 0.875rem;
}
.template {
  margin-top: 0.75rem;
  padding: 1rem 1.25rem;
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: 0.5rem;
  background: var(--surface);
  font-size: 0.9375rem;
}
.prose .template p {
  margin-top: 0.5rem;
}
.prose .template p:first-child {
  margin-top: 0;
}
.guide-sources {
  margin-top: 1rem;
}
/* Two products side by side: equal columns, so neither is squeezed on a phone. */
.price-table.is-compare {
  table-layout: fixed;
}
.price-table.is-compare th:first-child {
  width: 26%;
}
