/* MapFootprint website. Brand: navy ink, map blue, and the four rank colours from the app. */
:root {
  --ink: #0E1B2C; --ink2: #33445A; --muted: #55657A; --line: #DCE3EC; --bg: #F6F8FB; --card: #FFFFFF;
  --brand: #1E5BD8; --brand-dark: #0E3E9E; --soft: #EAF1FD;
  --g: #12935A; --y: #E3B21B; --o: #E8731B; --r: #CF3E3E;
  --head: 'Bricolage Grotesque', 'Public Sans', system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 'Public Sans', system-ui, sans-serif; }
a { color: var(--brand); } a:hover { color: var(--brand-dark); }
img, svg { max-width: 100%; }
h1, h2, h3 { font-family: var(--head); line-height: 1.12; margin: 0 0 12px; letter-spacing: -.01em; }
h1 { font-size: clamp(34px, 5vw, 54px); letter-spacing: -.02em; text-wrap: balance; }
h2 { font-size: clamp(26px, 3.4vw, 36px); }
h3 { font-size: 19px; }
p { margin: 0 0 12px; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 820px; }
.muted { color: var(--muted); } .small { font-size: 14px; } .center { text-align: center; }
.skip { position: absolute; left: -999px; } .skip:focus { left: 12px; top: 12px; background: #fff; padding: 8px 12px; z-index: 10; }
:focus-visible { outline: 3px solid #7FA6F0; outline-offset: 2px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 22px; border-radius: 12px;
  background: var(--brand); color: #fff; font-weight: 600; text-decoration: none; border: 1px solid transparent; }
.btn:hover { background: var(--brand-dark); color: #fff; }
.btn.sm { min-height: 42px; padding: 9px 16px; font-size: 15px; }
.btn.alt { background: #EEF3FB; color: var(--ink); } .btn.alt:hover { background: #DDE7F8; color: var(--ink); }
.btn.ghost { background: #fff; color: var(--ink); border-color: #C9D3DF; } .btn.ghost:hover { border-color: var(--brand); color: var(--brand-dark); }
.btn.light { background: #fff; color: var(--ink); } .btn.light:hover { background: var(--soft); color: var(--ink); }

/* header */
.top { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; }
.bar { display: flex; align-items: center; gap: 12px 28px; padding-top: 14px; padding-bottom: 14px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-family: var(--head); font-weight: 700; font-size: 21px; }
.links { display: flex; gap: 8px 24px; flex-wrap: wrap; }
.links a { color: var(--ink2); text-decoration: none; font-weight: 500; font-size: 15px; } .links a:hover { color: var(--brand); }
.acts { margin-left: auto; display: flex; gap: 12px; align-items: center; }
.login { color: var(--ink); text-decoration: none; font-weight: 600; }
.menu { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 10px; width: 44px; height: 44px; font-size: 20px; cursor: pointer; }

/* hero */
.hero { padding: 72px 0 64px; }
.hgrid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.eyebrow { color: var(--brand); font-weight: 600; margin-bottom: 14px; }
.lead { font-size: 19px; color: var(--ink2); max-width: 62ch; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 20px 0 14px; }
.sample { margin: 0; background: var(--ink); color: #fff; border-radius: 22px; padding: 22px; box-shadow: 0 20px 50px rgba(14, 27, 44, .18); }
.sample figcaption { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; font-size: 15px; }
.sample figcaption span { color: #9FB0C6; font-size: 13px; }
.pins { display: grid; grid-template-columns: repeat(7, 1fr); gap: 7px; }
.pin { aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: clamp(11px, 1.2vw, 14px); font-variant-numeric: tabular-nums; }
.pin.g { background: var(--g); color: #fff; } .pin.y { background: var(--y); color: var(--ink); }
.pin.o { background: var(--o); color: var(--ink); } .pin.r { background: var(--r); color: #fff; font-size: clamp(9px, 1vw, 12px); }
.pin.ctr { box-shadow: 0 0 0 3px var(--ink), 0 0 0 6px #fff; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 16px; }
.stats div { background: #17283E; border-radius: 12px; padding: 10px 12px; }
.stats span { display: block; color: #9FB0C6; font-size: 12.5px; } .stats b { font-size: 18px; }
.note { color: #9FB0C6; font-size: 12.5px; margin: 12px 0 0; }

/* sections */
.sec { padding: 72px 0; } .sec.alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sub { color: var(--muted); font-size: 17px; margin-bottom: 26px; }
.steps { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: s; }
.steps li { counter-increment: s; }
.steps li::before { content: "Step " counter(s); display: block; color: var(--brand); font-weight: 700; margin-bottom: 8px; }
.steps p, .card p, .feat p { color: var(--ink2); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 28px 0 22px; }
.cards.two { grid-template-columns: repeat(2, 1fr); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 22px; }
.sec.alt .card { background: var(--bg); }

/* pricing */
.toggle { display: inline-flex; background: var(--ink); border-radius: 12px; padding: 4px; gap: 4px; margin-bottom: 22px; }
.toggle button { font: inherit; font-weight: 600; font-size: 14px; border: 0; border-radius: 9px; padding: 10px 14px; min-height: 42px; cursor: pointer; background: transparent; color: #C3CFDE; }
.toggle button.on { background: #fff; color: var(--ink); }
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: start; margin-bottom: 18px; }
.plan { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.plan.pop { border: 3px solid var(--brand); }
.plan.dark { background: var(--ink); color: #fff; border-color: var(--ink); } .plan.dark .scope, .plan.dark .bill { color: #C3CFDE; }
.pname { display: flex; align-items: center; justify-content: space-between; gap: 8px; } .pname h3 { margin: 0; font-size: 22px; }
.tag { background: var(--soft); color: var(--brand-dark); font-size: 12.5px; font-weight: 700; padding: 3px 9px; border-radius: 99px; }
.scope { color: var(--muted); margin: 0; }
.price { margin: 4px 0 0; } .amt { font-family: var(--head); font-size: 34px; font-weight: 700; } .per { color: var(--muted); }
.plan.dark .per { color: #C3CFDE; }
.ticks { list-style: none; padding: 0; margin: 6px 0 0; display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.ticks li { padding-left: 24px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 7px; width: 11px; height: 6px; border-left: 2.5px solid var(--g); border-bottom: 2.5px solid var(--g); transform: rotate(-45deg); }

/* faq */
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 0 18px; margin-bottom: 10px; }
.sec.alt .faq details { background: var(--bg); }
.faq summary { cursor: pointer; font-weight: 600; padding: 16px 0; list-style-position: inside; }
.faq details p { color: var(--ink2); padding-bottom: 6px; }

/* features page */
.crumbs a { color: var(--muted); }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 8px; }
.toc a { background: #fff; border: 1px solid var(--line); border-radius: 99px; padding: 6px 14px; text-decoration: none; color: var(--ink2); font-size: 14.5px; }
.fsec { padding-top: 40px; scroll-margin-top: 80px; }
.fgrid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.feat { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; }
.fh { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.fh h3 { font-size: 17px; margin-bottom: 6px; }
.st { font-size: 12.5px; font-weight: 700; padding: 2px 9px; border-radius: 99px; white-space: nowrap; }
.st.ok { background: #E7F6EE; color: #0B6B41; } .st.soon { background: #F1F3F7; color: var(--muted); }

/* legal */
.legal h2 { font-size: 22px; margin-top: 30px; } .legal li { margin-bottom: 6px; color: var(--ink2); } .legal p { color: var(--ink2); }

/* closing band and footer */
.band { background: var(--brand); color: #fff; padding: 56px 0; }
.band-in { text-align: center; } .band-in p { color: #DCE7FB; font-size: 18px; }
.foot { background: var(--ink); color: #C9D3DF; padding: 48px 0 24px; }
.foot .brand { color: #fff; } .foot .brand svg path:first-child { fill: #fff; } .foot .brand svg path:nth-child(2) { fill: var(--ink); }
.foot .muted { color: #9FB0C6; }
.fgrid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 28px; }
.fgrid h3 { color: #fff; font-size: 15px; font-family: 'Public Sans', sans-serif; margin-bottom: 10px; }
.fgrid a:not(.brand) { display: block; color: #C9D3DF; text-decoration: none; margin-bottom: 6px; font-size: 15px; } .fgrid a:hover { color: #fff; }
.copy { border-top: 1px solid #22385A; margin-top: 28px; padding-top: 18px; }

@media (max-width: 1020px) {
  .plans { grid-template-columns: repeat(2, 1fr); }
  .hgrid { grid-template-columns: 1fr; }
  .sample { max-width: 560px; }
}
@media (max-width: 760px) {
  .menu { display: block; }
  .links, .acts { display: none; width: 100%; }
  .bar.open .links { display: flex; flex-direction: column; gap: 4px; }
  .bar.open .links a { padding: 10px 0; font-size: 17px; }
  .bar.open .acts { display: flex; margin: 6px 0 4px; }
  .hero { padding: 40px 0; } .sec { padding: 48px 0; }
  .steps, .cards, .cards.two, .plans, .fgrid2 { grid-template-columns: 1fr; }
  .fgrid { grid-template-columns: 1fr 1fr; }
  .fgrid > div:first-child { grid-column: 1 / -1; }
}
/* home: stat strip, feature icons, action plan, audiences */
.strip { background: var(--ink); color: #fff; }
.strip-in { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; padding-top: 26px; padding-bottom: 26px; }
.strip b { display: block; font-family: var(--head); font-size: 30px; line-height: 1.1; }
.strip span { color: #9FB0C6; font-size: 14.5px; }
.card.feature { display: flex; flex-direction: column; gap: 6px; }
.fic { width: 46px; height: 46px; border-radius: 12px; background: var(--soft); display: grid; place-items: center; margin-bottom: 6px; }
.fic svg { width: 24px; height: 24px; fill: none; stroke: var(--brand); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 48px; align-items: center; }
.ticks.big { font-size: 16px; gap: 10px; margin-top: 14px; }
.planbox { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 20px; box-shadow: 0 18px 44px rgba(14, 27, 44, .10); }
.planbox figcaption { display: flex; justify-content: space-between; margin-bottom: 8px; font-size: 16px; }
.planbox figcaption span { color: var(--muted); font-size: 13px; }
.planbox ol { list-style: none; margin: 0; padding: 0; }
.planbox li { display: grid; grid-template-columns: 28px 1fr auto; grid-template-areas: "n t i" "n w w"; gap: 2px 12px; padding: 12px 0; border-top: 1px solid var(--line); align-items: start; }
.pn { grid-area: n; width: 26px; height: 26px; border-radius: 50%; background: var(--soft); color: var(--brand-dark); font-weight: 700; font-size: 13px; display: grid; place-items: center; }
.pt { grid-area: t; font-weight: 600; font-size: 15px; line-height: 1.4; }
.pi { grid-area: i; font-size: 12px; font-weight: 700; padding: 2px 9px; border-radius: 99px; white-space: nowrap; }
.pi.high { background: #FBEBEB; color: #8E1F1F; } .pi.medium { background: #FBF1D6; color: #6B5300; }
.pw { grid-area: w; color: var(--muted); font-size: 13.5px; }
.pw::before { content: "Results in "; }
.audience .card { padding: 26px; } .audience .ticks { margin-top: 12px; }
.cards.why { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1020px) { .cards.why { grid-template-columns: repeat(2, 1fr); } .split { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .strip-in { grid-template-columns: 1fr 1fr; } .cards.why { grid-template-columns: 1fr; } .strip b { font-size: 24px; } }
/* answer-first content pages (features, answers, guides, glossary) */
.answer { background: #fff; border: 1px solid var(--line); border-left: 0; border-radius: 16px; padding: 18px 22px; margin: 18px 0 22px; box-shadow: 0 1px 0 var(--line), inset 0 4px 0 var(--brand); }
.answer-k { font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--brand); margin: 0 0 6px; }
.answer p:last-child { margin: 0; font-size: 18px; color: var(--ink); line-height: 1.55; }
.sec.alt .answer { background: var(--bg); }
.what { padding-top: 8px; padding-bottom: 48px; } .what h2 { margin-bottom: 0; }
.prose h1 { margin-top: 8px; } .prose h2 { font-size: 24px; margin: 34px 0 10px; scroll-margin-top: 80px; }
.prose p, .prose li { color: var(--ink2); font-size: 17px; } .prose ul { padding-left: 20px; } .prose li { margin-bottom: 6px; }
.byline { margin: -2px 0 0; }
.intoc { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 20px; margin: 0 0 8px; }
.intoc p { margin: 0 0 6px; } .intoc ol { margin: 0; padding-left: 20px; } .intoc li { margin: 4px 0; font-size: 15.5px; }
.related { margin: 36px 0 8px; border-top: 1px solid var(--line); padding-top: 18px; }
.related h2 { font-size: 18px; margin: 0 0 8px; } .related ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.related li { margin: 0; font-size: 16px; } .related a { font-weight: 600; }
.sources { margin-top: 28px; } .sources h2 { font-size: 18px; } .sources li { font-size: 15px; }
.ctaline { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 0; }
.gloss { margin: 8px 0 0; } .term { padding: 14px 0; border-top: 1px solid var(--line); scroll-margin-top: 80px; }
.term dt { font-weight: 700; font-size: 17.5px; } .term dd { margin: 4px 0 0; color: var(--ink2); }
h2.h3 { font-size: 19px; } .card h2 a, .card h3 a { color: var(--ink); text-decoration: none; } .card h2 a:hover, .card h3 a:hover { color: var(--brand); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.trialnote { margin: -2px 0 2px; text-align: center; }
