/* CardMaps landing — brand-matched, map-first, professional.
   Palette from the logo: green #34A853, blue #4285F4, red #EA4335, yellow #FBBC05
   on white/near-white, dark neutral text #202124. Red is the primary action. */

:root {
  --green: #34a853;
  --blue: #4285f4;
  --red: #ea4335;
  --yellow: #fbbc05;
  --bg: #ffffff;
  --bg-alt: #f8f9fa;
  --text: #202124;
  --muted: #5f6368;
  --border: #e6e9ec;
  --shadow: 0 1px 2px rgba(60, 64, 67, 0.08), 0 4px 20px rgba(60, 64, 67, 0.08);
  --radius: 14px;
  --maxw: 1080px;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); border: 0; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--text); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 12px; top: 12px; }

/* Wordmark */
.wordmark { font-weight: 800; font-size: 26px; letter-spacing: -0.5px; text-decoration: none; display: inline-flex; }
.wordmark-sm { font-size: 22px; }
.c-green { color: var(--green); } .c-blue { color: var(--blue); } .c-red { color: var(--red); } .c-yellow { color: var(--yellow); }

/* Buttons */
.btn { font: inherit; font-weight: 600; border: 1px solid transparent; border-radius: 10px; padding: 13px 22px; cursor: pointer; text-decoration: none; display: inline-block; transition: background .15s, box-shadow .15s, transform .05s; white-space: nowrap; }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: #d33426; box-shadow: var(--shadow); }
.btn-primary:active { transform: translateY(1px); }
.btn-sm { padding: 9px 16px; font-size: 15px; }
a.btn:focus-visible, button:focus-visible, input:focus-visible, a:focus-visible { outline: 3px solid rgba(66, 133, 244, .5); outline-offset: 2px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.9); backdrop-filter: saturate(180%) blur(8px); border-bottom: 1px solid var(--border); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 15px; }
.site-nav a:hover { color: var(--text); }
.site-nav a.btn-primary { color: #fff; }

/* Hero */
.hero { padding: 64px 0 40px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
.eyebrow { color: var(--blue); font-weight: 700; font-size: 14px; letter-spacing: .4px; text-transform: uppercase; margin: 0 0 14px; }
.hero h1 { font-size: clamp(34px, 5vw, 52px); line-height: 1.08; letter-spacing: -1.2px; font-weight: 800; margin: 0 0 18px; }
.lede { font-size: 20px; color: var(--muted); margin: 0 0 28px; max-width: 32ch; }
.hero-visual img { width: 100%; height: auto; border-radius: var(--radius); }

/* Waitlist form */
.waitlist { display: flex; gap: 10px; max-width: 460px; }
.waitlist-center { margin: 0 auto; }
.waitlist input { flex: 1; font: inherit; padding: 13px 16px; border: 1px solid var(--border); border-radius: 10px; background: #fff; color: var(--text); min-width: 0; }
.waitlist input::placeholder { color: #9aa0a6; }
.waitlist input[aria-invalid="true"] { border-color: var(--red); }
.form-note { font-size: 14px; color: var(--muted); margin: 12px 0 0; }
.form-note.is-success { color: var(--green); font-weight: 600; }
.form-note.is-error { color: var(--red); font-weight: 600; }

.trust-row { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 0; margin: 26px 0 0; color: var(--muted); font-size: 15px; font-weight: 600; }
.trust-row li { display: flex; align-items: center; gap: 8px; }
.dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.dot-green { background: var(--green); } .dot-blue { background: var(--blue); } .dot-yellow { background: var(--yellow); }

/* Sections */
.section { padding: 72px 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-title { font-size: clamp(26px, 3.4vw, 36px); line-height: 1.15; letter-spacing: -0.6px; font-weight: 800; text-align: center; margin: 0 0 12px; }
.section-sub { text-align: center; color: var(--muted); font-size: 18px; max-width: 52ch; margin: 0 auto 40px; }
.section-sub.small { font-size: 15px; margin-top: 28px; margin-bottom: 0; }

/* Cards */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cards-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; max-width: 760px; margin: 0 auto; }
.card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px 26px; }
.card h3 { font-size: 20px; margin: 16px 0 8px; font-weight: 700; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }

/* Map pin marks */
.pin { width: 26px; height: 26px; display: inline-block; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); position: relative; }
.pin::after { content: ""; position: absolute; top: 7px; left: 7px; width: 12px; height: 12px; background: #fff; border-radius: 50%; }
.pin-red { background: var(--red); } .pin-blue { background: var(--blue); } .pin-green { background: var(--green); }

/* Features */
.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px 40px; max-width: 900px; margin: 0 auto; }
.feature h3 { font-size: 19px; margin: 0 0 8px; font-weight: 700; }
.feature h3::before { content: ""; display: inline-block; width: 22px; height: 4px; border-radius: 2px; background: var(--red); vertical-align: middle; margin-right: 10px; }
.feature p { margin: 0; color: var(--muted); font-size: 16px; }

/* Pricing cards */
.price-card { display: flex; flex-direction: column; }
.price-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-bottom: 16px; margin-bottom: 16px; border-bottom: 1px solid var(--border); }
.price-head h3 { margin: 0; font-size: 22px; }
.price { margin: 0; font-weight: 500; color: var(--muted); }
.price span { font-size: 28px; font-weight: 800; color: var(--text); }
.checklist { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.checklist li { position: relative; padding-left: 30px; color: var(--text); font-size: 16px; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--green); }
.checklist li::after { content: ""; position: absolute; left: 6px; top: 7px; width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }

/* Values strip */
.values { background: var(--text); color: #fff; padding: 30px 0; }
.values-row { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 32px; padding: 0; margin: 0; font-weight: 700; font-size: 16px; }
.values-row li { position: relative; }
.values-row li + li::before { content: "·"; position: absolute; left: -18px; color: rgba(255,255,255,.4); }

/* CTA */
.cta { padding: 84px 0; text-align: center; }
.cta-inner { max-width: 640px; }
.cta h2 { font-size: clamp(28px, 3.6vw, 40px); letter-spacing: -0.6px; font-weight: 800; margin: 0 0 14px; }
.cta p { color: var(--muted); font-size: 18px; margin: 0 0 28px; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 36px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-tag { color: var(--muted); font-size: 15px; margin: 0; }
.footer-legal { color: #9aa0a6; font-size: 14px; margin: 0; }

/* Responsive */
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-visual { order: -1; max-width: 440px; margin: 0 auto; }
  .lede { max-width: none; }
  .cards-3 { grid-template-columns: 1fr; }
  .cards-2 { grid-template-columns: 1fr; max-width: 460px; }
  .features { grid-template-columns: 1fr; gap: 26px; }
}
@media (max-width: 620px) {
  .site-nav a:not(.btn) { display: none; }
  .waitlist { flex-direction: column; }
  .waitlist .btn { width: 100%; }
}
