/* Agent Master Key — marketing site styles.
   Self-contained: no external fonts, scripts, or trackers (matches the product's
   local-first, privacy-first promise). Fully static; works with no broker. */

:root {
  --ink: #16181d;
  --ink-soft: #3a3f4a;
  --muted: #6b7280;
  --line: #e5e7eb;
  --bg: #ffffff;
  --bg-soft: #f7f8fa;
  --pewter: #5b6470;
  --accent: #b23b3b;       /* AMK red, used sparingly for CTAs */
  --accent-dark: #8f2d2d;
  --radius: 14px;
  --maxw: 1080px;
  --shadow: 0 1px 2px rgba(16, 24, 40, .06), 0 8px 24px rgba(16, 24, 40, .06);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.01em; color: var(--ink); }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); margin: 0 0 .5rem; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin: 0 0 .75rem; }
p { color: var(--ink-soft); }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.center { text-align: center; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255,255,255,.85); backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--ink); }
.brand img { width: 28px; height: 28px; border-radius: 6px; }
.nav-links { display: flex; gap: 22px; align-items: center; }
.nav-links a { color: var(--ink-soft); font-weight: 500; }
.nav-links a:hover { color: var(--ink); text-decoration: none; }
@media (max-width: 720px) { .nav-links a:not(.btn) { display: none; } }

/* Buttons */
.btn {
  display: inline-block; padding: 11px 20px; border-radius: 10px;
  font-weight: 600; font-size: .98rem; cursor: pointer; border: 1px solid transparent;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); text-decoration: none; color: #fff; }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--pewter); text-decoration: none; }

/* Hero */
.hero { padding: 84px 0 56px; }
.hero .eyebrow {
  display: inline-block; font-size: .82rem; font-weight: 600; letter-spacing: .04em;
  text-transform: uppercase; color: var(--pewter);
  background: var(--bg-soft); border: 1px solid var(--line);
  padding: 5px 12px; border-radius: 999px; margin-bottom: 18px;
}
.hero p.lead { font-size: 1.2rem; max-width: 620px; }
.hero .cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.fineprint { font-size: .9rem; }
.hero .fineprint { margin-top: 14px; }

/* Sections */
section { padding: 56px 0; }
section.alt { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 640px; margin-bottom: 32px; }

/* Cards grid */
.grid { display: grid; gap: 18px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 860px) { .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; } }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow);
}
.card h3 { font-size: 1.1rem; margin: 0 0 6px; }
.card p { margin: 0; font-size: .96rem; }
.card .ic { font-size: 1.4rem; margin-bottom: 10px; }

/* Steps */
.steps { counter-reset: step; display: grid; gap: 14px; }
.step { display: flex; gap: 14px; align-items: flex-start; }
.step .num {
  counter-increment: step; flex: 0 0 auto;
  width: 30px; height: 30px; border-radius: 999px; background: var(--ink); color: #fff;
  display: grid; place-items: center; font-weight: 700; font-size: .9rem;
}
.step .num::before { content: counter(step); }
.step h3 { font-size: 1.02rem; margin: 2px 0 2px; }
.step p { margin: 0; font-size: .95rem; }

/* Connector chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  border: 1px solid var(--line); background: #fff; border-radius: 999px;
  padding: 8px 14px; font-weight: 600; font-size: .92rem; color: var(--ink-soft);
}
.chip.soon { color: var(--muted); border-style: dashed; }

/* FAQ */
details {
  border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; background: #fff;
  margin-bottom: 10px;
}
details summary { font-weight: 600; cursor: pointer; color: var(--ink); }
details[open] summary { margin-bottom: 8px; }
details p { margin: 0; }

/* Pricing note */
.note {
  border: 1px dashed var(--pewter); background: var(--bg-soft);
  border-radius: var(--radius); padding: 22px; text-align: center;
}

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 36px 0; background: var(--bg-soft); }
.foot { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.foot a { color: var(--ink-soft); margin-right: 16px; }
.foot .copy { color: var(--muted); font-size: .9rem; }

/* Legal/doc pages */
.doc { padding-top: 56px; padding-bottom: 56px; max-width: 760px; }
.doc h1 { font-size: 2rem; }
.doc h2 { font-size: 1.3rem; margin-top: 2rem; }
.doc .draft {
  background: #fff7ed; border: 1px solid #fed7aa; color: #9a3412;
  border-radius: 10px; padding: 12px 16px; font-size: .92rem; margin: 18px 0;
}
.doc a.back { font-weight: 600; }
