/* ============================================================
   Simple Merge — landing + legal pages
   Self-contained. No external fonts, scripts, or trackers (deliberate:
   fewer dependencies, faster, and nothing to disclose in the privacy policy).
   Scoped entirely to this folder; touches nothing in the parent site.
   ============================================================ */

:root {
  --blue: #1a73e8;
  --blue-dark: #1765cc;
  --ink: #202124;
  --muted: #5f6368;
  --faint: #80868b;
  --line: #e8eaed;
  --bg: #ffffff;
  --bg-soft: #f8f9fa;
  --bg-accent: #e8f0fe;
  --good: #137333;
  --good-bg: #e6f4ea;
  --warn-bg: #fef7e0;
  --warn-ink: #7a5900;
  --radius: 12px;
  --maxw: 1080px;
  --font: 'Google Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ── Header ── */
header.site {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
}
header.site .wrap { display: flex; align-items: center; gap: 20px; height: 62px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 16px; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand .mark {
  width: 30px; height: 30px; border-radius: 8px; flex: none;
  background: var(--blue); color: #fff; display: grid; place-items: center;
}
.brand .mark svg { width: 18px; height: 18px; fill: #fff; }
header.site nav { margin-left: auto; display: flex; align-items: center; gap: 22px; }
header.site nav a { color: var(--muted); font-size: 14px; }
header.site nav a:hover { color: var(--ink); text-decoration: none; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--blue); color: #fff; font-weight: 600; font-size: 14px;
  padding: 10px 18px; border-radius: 8px; border: none; cursor: pointer;
}
.btn:hover { background: var(--blue-dark); text-decoration: none; color: #fff; }
.btn.ghost { background: transparent; color: var(--blue); border: 1px solid #dadce0; }
.btn.ghost:hover { background: var(--bg-soft); }
.btn svg { width: 18px; height: 18px; fill: currentColor; }

/* ── Hero ── */
.hero { padding: 84px 0 64px; text-align: center; }
.hero .eyebrow {
  display: inline-block; font-size: 12.5px; font-weight: 600; letter-spacing: .5px;
  text-transform: uppercase; color: var(--blue); background: var(--bg-accent);
  padding: 5px 12px; border-radius: 999px; margin-bottom: 20px;
}
.hero h1 { font-size: clamp(30px, 5vw, 46px); line-height: 1.15; letter-spacing: -0.5px; }
.hero p.lead { font-size: clamp(16px, 2.4vw, 19px); color: var(--muted); max-width: 640px; margin: 18px auto 30px; }
.hero .cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero .note { margin-top: 16px; font-size: 13px; color: var(--faint); }

/* ── Sections ── */
section { padding: 56px 0; }
section.soft { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 40px; }
.section-head h2 { font-size: clamp(24px, 3.4vw, 32px); letter-spacing: -0.3px; }
.section-head p { color: var(--muted); margin-top: 12px; font-size: 16px; }

/* ── Feature grid ── */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px;
}
section.soft .card { background: #fff; }
.card .ic {
  width: 40px; height: 40px; border-radius: 10px; background: var(--bg-accent);
  display: grid; place-items: center; margin-bottom: 14px;
}
.card .ic svg { width: 22px; height: 22px; fill: var(--blue); }
.card h3 { font-size: 16px; margin-bottom: 6px; }
.card p { font-size: 14px; color: var(--muted); }

/* ── Steps ── */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step { text-align: center; }
.step .num {
  width: 44px; height: 44px; border-radius: 50%; background: var(--blue); color: #fff;
  display: grid; place-items: center; font-weight: 600; font-size: 18px; margin: 0 auto 14px;
}
.step h3 { font-size: 15px; margin-bottom: 6px; }
.step p { font-size: 13.5px; color: var(--muted); }

/* ── Format chips ── */
.chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; max-width: 720px; margin: 0 auto; }
.chip {
  background: #fff; border: 1px solid #dadce0; border-radius: 999px;
  padding: 8px 16px; font-size: 14px; font-weight: 500; color: var(--ink);
}
.chip b { color: var(--blue); }

/* ── Privacy highlights ── */
.pill-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; max-width: 820px; margin: 0 auto; }
.pill {
  display: flex; gap: 12px; background: var(--good-bg); border-radius: var(--radius); padding: 16px 18px;
}
.pill svg { width: 22px; height: 22px; fill: var(--good); flex: none; margin-top: 2px; }
.pill b { display: block; color: var(--ink); font-size: 15px; }
.pill span { font-size: 13.5px; color: var(--ink); }

/* ── FAQ ── */
.faq { max-width: 760px; margin: 0 auto; }
details {
  border: 1px solid var(--line); border-radius: 10px; padding: 4px 18px; margin-bottom: 12px; background: #fff;
}
details summary {
  cursor: pointer; padding: 14px 0; font-weight: 600; font-size: 15px; list-style: none;
  display: flex; justify-content: space-between; align-items: center;
}
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; color: var(--blue); font-size: 22px; font-weight: 400; }
details[open] summary::after { content: "\2013"; }
details p { padding: 0 0 16px; color: var(--muted); font-size: 14.5px; }

/* ── Footer ── */
footer.site { border-top: 1px solid var(--line); padding: 40px 0; background: var(--bg-soft); }
footer.site .wrap { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; }
footer.site .brand { font-size: 15px; }
footer.site nav { margin-left: auto; display: flex; gap: 22px; flex-wrap: wrap; }
footer.site nav a { color: var(--muted); font-size: 14px; }
footer.site .copy { width: 100%; color: var(--faint); font-size: 13px; padding-top: 8px; border-top: 1px solid var(--line); margin-top: 8px; }

/* ── Legal (privacy / terms) ── */
.legal { padding: 56px 0 72px; }
.legal .doc { max-width: 780px; margin: 0 auto; }
.legal h1 { font-size: clamp(26px, 4vw, 34px); letter-spacing: -0.3px; }
.legal .updated { color: var(--faint); font-size: 14px; margin: 8px 0 32px; }
.legal h2 { font-size: 20px; margin: 34px 0 10px; }
.legal h3 { font-size: 16px; margin: 22px 0 8px; }
.legal p, .legal li { color: var(--ink); font-size: 15px; margin-bottom: 12px; }
.legal ul { padding-left: 22px; }
.legal li { margin-bottom: 8px; }
.legal .callout {
  background: var(--bg-accent); border-left: 4px solid var(--blue);
  border-radius: 8px; padding: 16px 18px; margin: 20px 0;
}
.legal .callout p:last-child { margin-bottom: 0; }
.legal .toc {
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: 10px;
  padding: 18px 22px; margin-bottom: 32px;
}
.legal .toc strong { display: block; margin-bottom: 8px; font-size: 14px; color: var(--ink); }
.legal .toc a { display: block; font-size: 14px; padding: 3px 0; }
.legal table { width: 100%; border-collapse: collapse; margin: 14px 0 20px; font-size: 14px; }
.legal th, .legal td { text-align: left; padding: 10px 12px; border: 1px solid var(--line); vertical-align: top; color: var(--ink); }
.legal th { background: var(--bg-soft); font-weight: 600; width: 40%; }

/* ── Responsive ── */
@media (max-width: 860px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .pill-list { grid-template-columns: 1fr; }
  header.site nav a:not(.btn) { display: none; }
}
@media (max-width: 560px) {
  .grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
}

/* ── Dark mode ── */
@media (prefers-color-scheme: dark) {
  :root {
    --ink: #e8eaed; --muted: #9aa0a6; --faint: #80868b;
    --line: #303134; --bg: #202124; --bg-soft: #292a2d; --bg-accent: #1e3a5f;
    --good-bg: #1e3a2a;
  }
  header.site { background: rgba(32, 33, 36, 0.92); }
  .brand, header.site nav a:hover { color: var(--ink); }
  .card, section.soft .card, .chip, details { background: #292a2d; }
  .btn.ghost { border-color: #3c4043; }
}
