/* Dark charcoal is the only theme. Fonts are two variables so a pairing
   swap is one edit here (plus the Google Fonts link in each page). */
:root {
  color-scheme: dark;
  --bg: #1f1f23;
  --surface: #28282e;
  --ink: #eeedf3;
  --muted: #a7a5b2;
  --line: #36353e;
  --accent: #a693ff;
  --accent-ink: #1f1f23;
  --accent-soft: rgba(166, 147, 255, 0.14);
  --font-head: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 14px;
  --max: 1080px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.6 var(--font-body);
}
a { color: var(--accent); }
h1, h2, h3 { font-family: var(--font-head); font-weight: 600; line-height: 1.12; letter-spacing: -0.02em; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }

/* nav */
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 0; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 600; font-size: 1.25rem; color: var(--ink); text-decoration: none; }
.brand svg { width: 30px; height: 30px; flex: none; }
.nav-links { display: flex; align-items: center; gap: 20px; font-size: 0.95rem; }
.nav-links a { color: var(--muted); text-decoration: none; }
.nav-links a:hover { color: var(--ink); }
.nav-links .hide-sm { display: none; }
@media (min-width: 640px) { .nav-links .hide-sm { display: inline; } }

.btn { display: inline-block; padding: 12px 20px; border-radius: 999px; background: var(--accent); color: var(--accent-ink) !important; text-decoration: none; font-weight: 600; font-size: 0.95rem; }
.btn:hover { filter: brightness(1.08); }
.btn-ghost { background: transparent; color: var(--ink) !important; border: 1px solid var(--line); }

/* hero */
.hero { padding-top: 56px; padding-bottom: 72px; }
.eyebrow { display: inline-block; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); background: var(--accent-soft); padding: 6px 12px; border-radius: 999px; }
.hero h1 { font-weight: 700; letter-spacing: -0.03em; font-size: clamp(2.3rem, 6vw, 4rem); margin: 20px 0 18px; max-width: 23ch; text-wrap: balance; }
.hero p.lede { font-size: 1.2rem; color: var(--muted); max-width: 60ch; margin: 0 0 30px; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; }

/* sections */
section { padding: 56px 0; border-top: 1px solid var(--line); }
section h2 { font-size: clamp(1.7rem, 4vw, 2.4rem); margin: 0 0 12px; }
section p.sub { color: var(--muted); max-width: 62ch; margin: 0 0 32px; }

.steps { display: grid; gap: 16px; grid-template-columns: 1fr; counter-reset: step; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.steps .card::before { counter-increment: step; content: counter(step); display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-weight: 700; font-size: 0.9rem; margin-bottom: 12px; }
.card h3 { font-size: 1.2rem; margin: 0 0 8px; }
.card p { margin: 0; color: var(--muted); font-size: 0.97rem; }

.compare { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .compare { grid-template-columns: 1fr 1fr; } }
.compare ul { margin: 10px 0 0; padding-left: 20px; color: var(--muted); }
.compare li { margin: 6px 0; }
.compare .card.ours { border-color: var(--accent); }

.gmail { display: grid; gap: 24px; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 820px) { .gmail { grid-template-columns: 1.1fr 1fr; } }
.checks { list-style: none; padding: 0; margin: 0; }
.checks li { position: relative; padding: 0 0 12px 30px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 9px; border-left: 2.5px solid var(--accent); border-bottom: 2.5px solid var(--accent); transform: rotate(-45deg); }
code { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: 0.9em; background: var(--accent-soft); padding: 2px 6px; border-radius: 6px; }

.cta { text-align: center; padding: 72px 0; }
.cta p { color: var(--muted); max-width: 52ch; margin: 0 auto 26px; }

footer { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--muted); font-size: 0.9rem; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; }
footer a { color: var(--muted); }

/* legal pages */
.legal { max-width: 760px; padding-top: 24px; padding-bottom: 64px; }
.legal h1 { font-size: clamp(2rem, 5vw, 2.8rem); margin: 16px 0 12px; }
.legal h2 { font-size: 1.35rem; margin: 36px 0 10px; }
.legal p, .legal li { color: var(--ink); }
.legal table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 0.95rem; display: block; overflow-x: auto; }
.legal th, .legal td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal th { font-weight: 600; }

.hl { color: var(--accent); }
