/* BackOnMaps — premium utility brand system (mobile-first, non-sticky header) */
:root {
  --navy: #0B1B33;
  --navy-2: #142E59;
  --navy-light: #1E3A66;
  --teal: #0E8C8A;
  --teal-dark: #0A6362;
  --teal-bright: #17B8B0;
  --gold: #E8A020;
  --gold-deep: #C77F0E;
  --gold-soft: #F6C453;
  --gold-light: #FDF3E0;
  --bg: #F6F8FC;
  --card: #ffffff;
  --text: #16233B;
  --text-muted: #5B6B85;
  --border: #E3E9F2;
  --red: #C0392B;
  --red-light: #FDECEA;
  --green: #1E7E34;
  --green-light: #E9F7EF;
  --radius: 14px;
  --shadow-sm: 0 2px 8px rgba(11,27,51,.07);
  --shadow-md: 0 8px 24px rgba(11,27,51,.10);
  --shadow-lg: 0 16px 40px rgba(11,27,51,.14);
  --font-display: 'Sora', -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.wrap { max-width: 880px; margin: 0 auto; padding: 0 20px; }

/* ---------- Header — deliberately NOT sticky: scrolls away naturally ---------- */
.site-header { background: var(--navy); color: #fff; padding: 14px 0; }
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-mark { width: 32px; height: 32px; flex-shrink: 0; filter: drop-shadow(0 2px 6px rgba(23,184,176,.35)); }
.brand .wordmark, .brand {
  font-family: var(--font-display); font-weight: 800; font-size: 1.22rem;
  letter-spacing: -0.02em; color: #fff;
}
.brand .brand-word {
  background: linear-gradient(100deg, #ffffff 0%, #ffffff 45%, var(--gold-soft) 70%, var(--gold) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.main-nav { display: flex; gap: 4px 20px; flex-wrap: wrap; }
.main-nav a { color: #B9C6DE; text-decoration: none; font-size: .92rem; font-weight: 500; transition: color .15s ease; }
.main-nav a:hover { color: #fff; }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(900px 320px at 85% -10%, rgba(23,184,176,.16), transparent 60%),
    radial-gradient(700px 300px at 10% 110%, rgba(232,160,32,.10), transparent 60%),
    linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #fff; padding: 56px 0 60px; position: relative; overflow: hidden;
}
.hero h1 {
  font-family: var(--font-display); font-weight: 800; letter-spacing: -0.025em;
  font-size: 2.15rem; line-height: 1.18; margin-bottom: 14px; color: #fff;
  max-width: 640px;
}
.hero h1 .accent {
  background: linear-gradient(120deg, var(--gold-soft), var(--gold));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.lede { font-size: 1.1rem; color: #C3CFE6; max-width: 620px; line-height: 1.6; }
.hero-badges { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: .83rem; font-weight: 600; color: #DCE5F5;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14);
  padding: 7px 13px; border-radius: 99px; backdrop-filter: blur(4px);
}
.hero-badge svg { width: 14px; height: 14px; stroke: var(--teal-bright); }

/* ---------- Content ---------- */
main.page { padding: 36px 0 64px; }
main.page h1 {
  font-family: var(--font-display); font-weight: 800; letter-spacing: -0.02em;
  font-size: 1.8rem; line-height: 1.28; color: var(--navy); margin-bottom: 14px;
}
main.page h2 {
  font-family: var(--font-display); font-weight: 700; letter-spacing: -0.015em;
  font-size: 1.38rem; color: var(--navy); margin: 32px 0 10px;
}
main.page h3 { font-size: 1.08rem; color: var(--navy); margin: 22px 0 8px; font-weight: 600; }
main.page p { margin-bottom: 13px; }
main.page ul, main.page ol { margin: 0 0 14px 22px; }
main.page li { margin-bottom: 7px; }
.crumb { font-size: .85rem; color: var(--text-muted); margin-bottom: 18px; }
.crumb a { color: var(--teal); font-weight: 500; }

/* ---------- Honest-framing box ---------- */
.honest-box {
  background: var(--gold-light);
  border: 1px solid #F0D9A8;
  border-left: 4px solid var(--gold);
  border-radius: 10px;
  padding: 18px 20px;
  margin: 24px 0;
  box-shadow: var(--shadow-sm);
}
.honest-box strong { color: var(--navy); }

/* ---------- Steps ---------- */
.steps { display: grid; gap: 14px; margin: 22px 0; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px;
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease;
}
.step:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.step .num {
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--teal-bright), var(--teal-dark));
  color: #fff; width: 34px; height: 34px; border-radius: 50%;
  font-weight: 700; font-family: var(--font-display); margin-bottom: 12px;
  box-shadow: 0 4px 12px rgba(14,140,138,.35);
}
.step h3 { margin: 0 0 6px; font-size: 1rem; color: var(--navy); }
.step p { font-size: .93rem; color: var(--text-muted); margin: 0; }

/* ---------- Card grids ---------- */
.grid { display: grid; gap: 14px; margin: 22px 0; }
@media (min-width: 640px) { .grid.two { grid-template-columns: repeat(2, 1fr); } .grid.three { grid-template-columns: repeat(3, 1fr); } .grid.four { grid-template-columns: repeat(4, 1fr); } }
.card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px; text-decoration: none; color: var(--text);
  display: block; box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #CBD6E8; }
.card h3 { margin: 0 0 6px; font-size: 1.02rem; color: var(--navy); font-weight: 600; }
.card p { font-size: .9rem; color: var(--text-muted); margin: 0; }
.card .kicker {
  font-size: .76rem; text-transform: uppercase; letter-spacing: .8px;
  color: var(--teal); font-weight: 700; margin-bottom: 8px;
}

/* ---------- Buttons ---------- */
.btn-kit {
  display: inline-block;
  background: linear-gradient(135deg, var(--gold-soft), var(--gold) 55%, var(--gold-deep));
  color: #0B1B33; font-family: var(--font-display);
  font-weight: 800; font-size: 1.08rem; letter-spacing: -0.01em;
  padding: 16px 34px; border-radius: 12px; text-decoration: none;
  box-shadow: 0 8px 22px rgba(232,160,32,.40), inset 0 1px 0 rgba(255,255,255,.35);
  transition: transform .16s ease, box-shadow .16s ease;
}
.btn-kit:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(232,160,32,.48), inset 0 1px 0 rgba(255,255,255,.35); }
.btn-kit:active { transform: translateY(0); }
.btn-ghost {
  display: inline-block; border: 2px solid var(--teal); color: var(--teal);
  font-weight: 600; padding: 11px 24px; border-radius: 10px; text-decoration: none;
  transition: background .15s ease, color .15s ease, transform .15s ease;
}
.btn-ghost:hover { background: var(--teal); color: #fff; transform: translateY(-1px); }

/* ---------- CTA band (compact, used on guide/trade pages) ---------- */
.cta-band {
  background: linear-gradient(150deg, #0E2242 0%, var(--navy) 60%, #0A1730 100%);
  color: #fff; border-radius: 18px; padding: 36px 30px; margin: 36px 0;
  text-align: center; box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(500px 200px at 85% 0%, rgba(23,184,176,.14), transparent 60%);
}
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; margin: 0 0 10px; font-size: 1.4rem; font-family: var(--font-display); font-weight: 800; letter-spacing: -0.02em; }
.cta-band p { color: #B9C6DE; max-width: 560px; margin: 0 auto 20px; }

/* ---------- Value stack (kit offer) ---------- */
.value-stack { margin: 40px 0; }
.vs-card {
  background: linear-gradient(160deg, #0E2242 0%, var(--navy) 55%, #0A1730 100%);
  border-radius: 20px; padding: 44px 36px; color: #fff;
  box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}
.vs-card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(600px 240px at 90% 0%, rgba(23,184,176,.14), transparent 60%),
    radial-gradient(500px 240px at 5% 100%, rgba(232,160,32,.10), transparent 60%);
}
.vs-card > * { position: relative; }
.vs-kicker {
  display: inline-block; font-size: .78rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.2px; color: var(--gold-soft);
  background: rgba(232,160,32,.14); border: 1px solid rgba(232,160,32,.35);
  padding: 6px 14px; border-radius: 99px; margin-bottom: 16px;
}
.vs-card h2 {
  font-family: var(--font-display); font-weight: 800; letter-spacing: -0.02em;
  font-size: 1.65rem; line-height: 1.3; color: #fff; margin: 0 0 8px; max-width: 560px;
}
.vs-sub { color: #B9C6DE; max-width: 560px; margin-bottom: 6px; }
.vs-list { list-style: none; margin: 26px 0; display: grid; gap: 14px; }
@media (min-width: 640px) { .vs-list { grid-template-columns: 1fr 1fr; } }
.vs-list li {
  display: flex; gap: 14px; align-items: flex-start;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.10);
  border-radius: 12px; padding: 16px;
  transition: transform .16s ease, background .16s ease;
}
.vs-list li:hover { transform: translateY(-2px); background: rgba(255,255,255,.08); }
.vs-ico {
  flex-shrink: 0; width: 40px; height: 40px; border-radius: 10px;
  background: linear-gradient(135deg, rgba(23,184,176,.25), rgba(23,184,176,.08));
  border: 1px solid rgba(23,184,176,.35);
  display: inline-flex; align-items: center; justify-content: center;
}
.vs-ico svg { width: 20px; height: 20px; stroke: var(--teal-bright); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.vs-list strong { display: block; color: #fff; font-size: .98rem; margin-bottom: 3px; }
.vs-list span { display: block; color: #A9B8D4; font-size: .87rem; line-height: 1.5; }
.vs-buy { text-align: center; margin-top: 30px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.10); }
.vs-anchor { color: #8FA0BE; font-size: .95rem; margin-bottom: 6px; }
.vs-anchor s { color: #6E7F9E; }
.vs-price { margin-bottom: 18px; }
.vs-price strong {
  font-family: var(--font-display); font-weight: 800; font-size: 2.6rem;
  letter-spacing: -0.03em; color: #fff; margin-right: 10px;
}
.vs-price span { color: #A9B8D4; font-size: .95rem; }
.vs-note { margin-top: 14px; color: #8FA0BE; font-size: .85rem; }

/* ---------- Related links ---------- */
.related { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; margin-top: 36px; box-shadow: var(--shadow-sm); }
.related h3 { margin: 0 0 10px; font-size: 1.05rem; color: var(--navy); font-family: var(--font-display); font-weight: 700; }
.related ul { margin: 0 0 0 20px; }
.related a { color: var(--teal); font-weight: 500; }

/* ---------- Checklist ---------- */
.checklist { list-style: none; margin-left: 0 !important; }
.checklist li { padding-left: 30px; position: relative; margin-bottom: 10px; }
.checklist li::before { content: "☐"; position: absolute; left: 2px; color: var(--teal); font-weight: 700; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #9FB0C9; padding: 36px 0; font-size: .88rem; }
.site-footer p { margin-bottom: 10px; max-width: 720px; }
.site-footer strong { color: #fff; }
.site-footer .disc { border-top: 1px solid var(--navy-light); padding-top: 14px; }
.site-footer .copy { font-size: .8rem; color: #7D8EA9; }

/* ---------- Focus visibility (keyboard users) ---------- */
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--teal-bright); outline-offset: 2px; border-radius: 6px;
}

/* ---------- Reduced motion: respect users who prefer it ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

@media (max-width: 520px) {
  .hero { padding: 44px 0 48px; }
  .hero h1 { font-size: 1.65rem; }
  main.page h1 { font-size: 1.45rem; }
  .header-in { flex-direction: column; align-items: flex-start; }
  .vs-card { padding: 32px 22px; }
  .vs-card h2 { font-size: 1.35rem; }
  .vs-price strong { font-size: 2.1rem; }
}
