/* Virtual Mailbox Help™ — trust-first, boring-in-a-good-way */
:root {
  --ink: #1a2332;
  --muted: #5a6577;
  --line: #d8dee8;
  --bg: #f7f8fb;
  --card: #ffffff;
  --accent: #1e4d8c;
  --accent-hover: #163a6b;
  --soft: #e8eef6;
  --warn-bg: #fff8e6;
  --warn-border: #e6c35c;
  --ok-bg: #eef8f0;
  --radius: 10px;
  --shadow: 0 1px 3px rgba(26, 35, 50, 0.06);
  --max: 720px;
  --wide: 960px;
  --font: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
}

a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--accent-hover); }

img { max-width: 100%; height: auto; }

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}
.wrap-wide {
  width: min(100% - 2rem, var(--wide));
  margin-inline: auto;
}

/* Header / nav */
.site-header {
  background: var(--card);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 40;
}
.header-inner {
  width: min(100% - 2rem, var(--wide));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
  flex-wrap: wrap;
}
.brand {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.01em;
}
.brand span { color: var(--accent); font-weight: 600; }
.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  font-size: 0.92rem;
}
.nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
}
.nav a:hover, .nav a[aria-current="page"] {
  color: var(--accent);
}


/* Hero */
.hero {
  padding: 2.5rem 0 1.5rem;
}
.hero h1 {
  font-size: clamp(1.6rem, 4vw, 2.15rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
}
.hero .lede {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--ink);
  margin: 0 0 0.35rem;
  max-width: 38rem;
}

/* Cards / decision tree */
.tree {
  display: grid;
  gap: 0.85rem;
  margin: 1.5rem 0 2rem;
}
.tree-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem 1.25rem;
  box-shadow: var(--shadow);
  text-decoration: none;
  color: inherit;
  display: block;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.tree-card:hover {
  border-color: var(--accent);
  box-shadow: 0 2px 8px rgba(30, 77, 140, 0.12);
}
.tree-card h2 {
  margin: 0 0 0.35rem;
  font-size: 1.1rem;
  color: var(--accent);
}
.tree-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}
.tree-card .tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

/* Content pages */
main.page {
  padding: 2rem 0 3rem;
}
main.page h1 {
  font-size: clamp(1.5rem, 3.5vw, 1.95rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
}
main.page h2 {
  font-size: 1.25rem;
  margin: 2rem 0 0.65rem;
  letter-spacing: -0.01em;
}
main.page h3 {
  font-size: 1.05rem;
  margin: 1.35rem 0 0.45rem;
}
main.page p, main.page li { color: var(--ink); }
main.page .lede {
  color: var(--muted);
  font-size: 1.1rem;
  margin: 0 0 1.5rem;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}
.checklist li {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.9rem 1rem 0.9rem 2.6rem;
  margin-bottom: 0.55rem;
  position: relative;
  box-shadow: var(--shadow);
}
.checklist li::before {
  content: "☐";
  position: absolute;
  left: 0.9rem;
  top: 0.9rem;
  color: var(--accent);
  font-size: 1.1rem;
}

.callout {
  border-radius: var(--radius);
  padding: 1rem 1.15rem;
  margin: 1.25rem 0;
  border: 1px solid var(--line);
  background: var(--card);
}
.callout.warn {
  background: var(--warn-bg);
  border-color: var(--warn-border);
}
.callout.ok {
  background: var(--ok-bg);
  border-color: #a8d4b0;
}
.callout strong { display: block; margin-bottom: 0.25rem; }

.cta-row {
  display: grid;
  gap: 0.75rem;
  margin: 1.5rem 0;
}
@media (min-width: 640px) {
  .cta-row { grid-template-columns: repeat(3, 1fr); }
}
.cta {
  display: block;
  text-align: center;
  background: var(--accent);
  color: #fff !important;
  text-decoration: none;
  font-weight: 600;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  font-size: 0.95rem;
}
.cta:hover { background: var(--accent-hover); color: #fff !important; }
.cta.secondary {
  background: var(--card);
  color: var(--accent) !important;
  border: 1px solid var(--line);
}
.cta.secondary:hover { border-color: var(--accent); }
.cta .note {
  display: block;
  font-weight: 400;
  font-size: 0.75rem;
  opacity: 0.9;
  margin-top: 0.2rem;
}
.placeholder-note {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.35rem;
}

table.compare {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin: 1rem 0 1.5rem;
  display: block;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
table.compare thead, table.compare tbody, table.compare tr {
  display: table;
  width: 100%;
  table-layout: fixed;
}
table.compare th, table.compare td {
  padding: 0.7rem 0.75rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
table.compare th {
  background: var(--soft);
  font-weight: 600;
  font-size: 0.85rem;
}
table.compare tr:last-child td { border-bottom: none; }

.sources {
  font-size: 0.875rem;
  color: var(--muted);
}
.sources ul { padding-left: 1.2rem; }

.related {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.related ul { padding-left: 1.2rem; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--card);
  padding: 1.75rem 0 2.25rem;
  font-size: 0.875rem;
  color: var(--muted);
}
.site-footer .wrap-wide {
  width: min(100% - 2rem, var(--wide));
  margin-inline: auto;
}
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  margin-bottom: 1rem;
}
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--accent); }
.site-footer .fine { margin: 0.35rem 0 0; max-width: 40rem; }

.updated {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 1.25rem;
}

/* ——— Homepage (wireframe) ——— */
.hero {
  padding: 2.25rem 0 1.25rem;
}
.hero-line {
  font-weight: 600;
  font-size: clamp(1.85rem, 4.6vw, 2.55rem);
  line-height: 1.2;
  letter-spacing: -0.025em;
  margin: 0 0 1.5rem;
  max-width: none;
  width: 100%;
}
.hero-line em { font-style: italic; font-weight: 600; }
.hero-line .your {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.12em;
}

.hero-split {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.25rem 1.75rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 1.5rem 1.75rem;
}

.hero-copy {
  flex: 0 1 auto;
  max-width: none;
}

.hero-copy .lede {
  font-size: clamp(1.25rem, 2.4vw, 1.45rem);
  font-weight: 650;
  color: var(--ink);
  margin: 0 0 1rem;
  white-space: nowrap;
}

.easy-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}
.easy-list li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 1.05rem;
  font-weight: 500;
  white-space: nowrap;
}
.easy-list .n {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  flex-shrink: 0;
}

.hero-globe {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}
.hero-globe img {
  width: 200px;
  height: 200px;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 6px 20px rgba(26, 35, 50, 0.1);
}

@media (max-width: 640px) {
  .hero-copy .lede,
  .easy-list li { white-space: normal; }
  .hero-globe img { width: 160px; height: 160px; }
}


.process {
  margin: 1.75rem auto 1rem;
  display: grid;
  gap: 0.85rem;
}
.process-bar {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.1rem 1.2rem;
  box-shadow: var(--shadow);
}
.process-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  height: 2rem;
  border-radius: 8px;
  background: var(--soft);
  color: var(--accent);
  font-weight: 800;
  font-size: 1rem;
}
.process-body { flex: 1; min-width: 0; }
.process-body h2,
.process-bar-cta h2 {
  margin: 0.15rem 0 0.75rem;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}
.process-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
}
.process-row h2 { margin: 0; }
.process-help {
  margin: 0;
  color: var(--muted);
  flex: 1 1 12rem;
  font-size: 0.95rem;
}
.start-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.9rem;
  border-radius: 8px;
  background: var(--accent);
  color: #fff !important;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-decoration: none;
}
.start-pill:hover { background: var(--accent-hover); color: #fff !important; }
.process-bar-cta {
  align-items: center;
  background: var(--soft);
  border-color: #c5d4e8;
}
.process-bar-cta h2 {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 1rem;
}

.process .tree {
  margin: 0.5rem 0 0;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}
.process .tree-card h3 {
  margin: 0.1rem 0 0.3rem;
  font-size: 1rem;
  color: var(--accent);
}

.vendors {
  margin: 0.5rem auto 3rem;
  display: grid;
  gap: 0.75rem;
}
.vendor-row {
  display: grid;
  grid-template-columns: minmax(8rem, 11rem) 1fr auto;
  gap: 0.75rem 1.25rem;
  align-items: center;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.05rem 1.25rem;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow);
}
.vendor-row:hover { border-color: var(--accent); }
.vendor-row strong { font-size: 1.05rem; color: var(--accent); }
.vendor-row span { color: var(--muted); font-size: 0.95rem; }
.vendor-note {
  font-size: 0.75rem !important;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  white-space: nowrap;
}
@media (max-width: 640px) {
  .vendor-row {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }
  .vendor-note { white-space: normal; }
}
