/* Bowserly — marketing site styles */
:root {
  --ink: #0d1f16;
  --ink-soft: #3c4f45;
  --muted: #66786d;
  --green: #127a57;
  --green-600: #0e6347;
  --green-700: #0a4d38;
  --mint: #e8f7ef;
  --mint-200: #d4f0e0;
  --bg: #ffffff;
  --bg-alt: #f5faf7;
  --line: #e2ece6;
  --shadow: 0 20px 50px rgba(13, 31, 22, 0.12);
  --radius: 18px;
  --maxw: 1120px;
  font-synthesis: none;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; }

a { color: var(--green-600); text-decoration: none; }
a:hover { text-decoration: underline; }

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

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; letter-spacing: -0.02em; }
.brand .logo { width: 32px; height: 32px; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { color: var(--ink-soft); font-weight: 600; font-size: 15px; }
.nav-cta {
  background: var(--green);
  color: #fff !important;
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 14px;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--green-600); text-decoration: none; }
@media (max-width: 720px) { .nav-links a:not(.nav-cta) { display: none; } }
@media (max-width: 480px) {
  .site-header .wrap { padding: 0 16px; }
  .brand { font-size: 17px; }
  .brand .logo { width: 28px; height: 28px; }
  .nav-cta { padding: 8px 13px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1200px 500px at 80% -10%, var(--mint) 0%, transparent 60%),
    linear-gradient(180deg, #ffffff 0%, var(--bg-alt) 100%);
}
.hero .wrap {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
  padding-top: 72px;
  padding-bottom: 72px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 100%;
  background: var(--mint);
  color: var(--green-700);
  font-weight: 700;
  font-size: 13px;
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(30px, 5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0 0 18px;
  font-weight: 850;
  overflow-wrap: break-word;
}
.hero h1 .accent { color: var(--green); }
.hero p.lead {
  font-size: 19px;
  color: var(--ink-soft);
  margin: 0 0 28px;
  max-width: 30em;
}
.store-badges { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-art { position: relative; display: flex; justify-content: center; }

/* ---------- Store badges ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--ink);
  color: #fff;
  padding: 11px 18px;
  border-radius: 14px;
  min-width: 178px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.badge:hover { text-decoration: none; transform: translateY(-2px); box-shadow: var(--shadow); }
.badge svg { width: 26px; height: 26px; flex: none; }
.badge .badge-text { display: flex; flex-direction: column; line-height: 1.15; }
.badge .badge-text small { font-size: 11px; opacity: 0.85; font-weight: 500; }
.badge .badge-text strong { font-size: 18px; font-weight: 700; letter-spacing: -0.01em; }
.badge.soon { position: relative; }
.badge.soon::after {
  content: "Soon";
  position: absolute;
  top: -8px; right: -8px;
  background: var(--green);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 999px;
}

/* ---------- Phone mockup ---------- */
.phone {
  position: relative;
  width: min(290px, 78vw);
  aspect-ratio: 1179 / 2556;
  background: #0d1f16;
  border-radius: 44px;
  padding: 11px;
  box-shadow: var(--shadow);
}
.phone::before {
  content: "";
  position: absolute;
  top: 16px; left: 50%; transform: translateX(-50%);
  width: 92px; height: 26px;
  background: #0d1f16;
  border-radius: 999px;
  z-index: 2;
}
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 34px; display: block; }
.phone.tilt { transform: rotate(-3deg); }

/* ---------- Section primitives ---------- */
section { padding: 80px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 52px; }
.section-head h2 { font-size: clamp(28px, 3.6vw, 40px); letter-spacing: -0.02em; margin: 0 0 14px; }
.section-head p { font-size: 18px; color: var(--ink-soft); margin: 0; }
.alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* ---------- Feature grid ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.feature {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
}
.feature .ico {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--mint);
  color: var(--green-600);
  display: grid; place-items: center;
  margin-bottom: 16px;
}
.feature .ico svg { width: 24px; height: 24px; }
.feature h3 { margin: 0 0 8px; font-size: 19px; letter-spacing: -0.01em; }
.feature p { margin: 0; color: var(--muted); font-size: 15px; }

/* ---------- Showcase ---------- */
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: start;
  justify-items: center;
}
.showcase-item { text-align: center; max-width: 320px; }
.showcase-item .cap { margin-top: 20px; }
.showcase-item .cap h4 { margin: 0 0 4px; font-size: 17px; }
.showcase-item .cap p { margin: 0; color: var(--muted); font-size: 14px; }

/* ---------- Coverage ---------- */
.coverage-states {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  max-width: 760px;
  margin: 0 auto;
}
.state-chip {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 20px;
  font-weight: 700;
  color: var(--ink-soft);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.state-chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.fuels { text-align: center; margin-top: 28px; color: var(--muted); font-size: 15px; }
.fuels strong { color: var(--ink-soft); }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-700) 100%);
  color: #fff;
  border-radius: 28px;
  padding: 56px 40px;
  text-align: center;
}
.cta-band h2 { font-size: clamp(28px, 3.6vw, 40px); margin: 0 0 12px; letter-spacing: -0.02em; }
.cta-band p { font-size: 18px; opacity: 0.92; margin: 0 0 28px; }
.cta-band .store-badges { justify-content: center; }
.cta-band .badge { background: #fff; color: var(--ink); }

/* ---------- Footer ---------- */
.site-footer {
  padding: 48px 0 64px;
  border-top: 1px solid var(--line);
  background: var(--bg-alt);
}
.site-footer .wrap { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: center; }
.site-footer .brand { font-size: 18px; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a { color: var(--ink-soft); font-weight: 600; font-size: 15px; }
.copyright { width: 100%; color: var(--muted); font-size: 13px; margin-top: 8px; }

/* ---------- Legal pages ---------- */
.legal { max-width: 760px; margin: 0 auto; padding: 56px 24px 96px; }
.legal h1 { font-size: 36px; letter-spacing: -0.02em; margin: 0 0 6px; }
.legal .updated { color: var(--muted); margin: 0 0 36px; font-size: 14px; }
.legal h2 { font-size: 22px; margin: 36px 0 10px; }
.legal p, .legal li { color: var(--ink-soft); font-size: 16px; }
.legal ul { padding-left: 22px; }
.legal .back { display: inline-block; margin-bottom: 28px; font-weight: 600; }
.note {
  background: var(--mint);
  border: 1px solid var(--mint-200);
  border-radius: 12px;
  padding: 14px 18px;
  color: var(--green-700);
  font-size: 14px;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; text-align: center; gap: 36px; }
  .hero p.lead { margin-left: auto; margin-right: auto; }
  .store-badges { justify-content: center; }
  .features { grid-template-columns: 1fr; }
  .showcase-grid { grid-template-columns: 1fr; }
}
