/* PitMap public home page */
:root {
  --navy: #0f2236;
  --navy-2: #172f48;
  --field: #f3f5f3;
  --ink: #16212b;
  --slate: #5b6875;
  --line: #d9dfdc;
  --orange: #d9622b;
  --orange-d: #bd4f1d;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--field); color: var(--ink);
  font-family: 'Archivo', system-ui, sans-serif; font-size: 1.0625rem; line-height: 1.6;
  font-variation-settings: 'wdth' 100; -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
a:focus-visible, .btn:focus-visible { outline: 3px solid #f2c14e; outline-offset: 3px; border-radius: 4px; }
img { max-width: 100%; height: auto; display: block; }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }

h1, h2, h3 { font-variation-settings: 'wdth' 82; font-weight: 750; letter-spacing: -.01em; line-height: 1.08; margin: 0; }
h1 { font-size: clamp(2.3rem, 4.6vw, 3.7rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); margin-bottom: 1rem; }
h3 { font-size: 1.3rem; margin-bottom: .45rem; }
p { margin: 0 0 1rem; }

/* buttons */
.btn {
  display: inline-block; padding: .85rem 1.5rem; border-radius: 6px; background: var(--orange); color: #fff;
  font-weight: 650; text-decoration: none; border: 2px solid var(--orange); transition: background .15s, border-color .15s;
}
.btn:hover { background: var(--orange-d); border-color: var(--orange-d); }
.btn-ghost { background: transparent; color: inherit; border-color: currentColor; }
.btn-ghost:hover { background: rgba(255, 255, 255, .08); border-color: currentColor; }
.btn-sm { padding: .45rem 1rem; font-size: .95rem; }
.cta { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; margin-top: 1.75rem; }

/* top bar */
.top { background: var(--navy); color: #fff; }
.top-in { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: .6rem; font-weight: 750; font-size: 1.3rem; text-decoration: none; font-variation-settings: 'wdth' 85; }
.logo { width: 34px; height: 34px; border-radius: 8px; background: var(--orange); display: grid; place-items: center; }
.logo svg { width: 20px; height: 20px; fill: #fff; }
.top-nav { display: flex; align-items: center; gap: 1.6rem; font-size: .98rem; }
.top-nav a { text-decoration: none; color: rgba(255, 255, 255, .78); }
.top-nav a:hover { color: #fff; }
.top-nav .signin { color: #fff; font-weight: 600; }
.top-nav .btn { color: #fff; }

/* hero: the map is the statement */
.hero { background: var(--navy); color: #fff; padding: 48px 0 72px; overflow: hidden; }
.hero-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.hero .lead { font-size: 1.2rem; color: rgba(255, 255, 255, .82); max-width: 34em; margin-top: 1.4rem; }
.assure { display: flex; gap: .55rem; align-items: center; margin-top: 1.6rem; font-size: .95rem; color: rgba(255, 255, 255, .7); }
.assure svg { width: 18px; height: 18px; fill: #f2c14e; flex: none; }
.hero-map { margin: 0; position: relative; }
.hero-map img { margin-right: -40px; filter: drop-shadow(0 30px 60px rgba(0, 0, 0, .45)); }
.hero-map figcaption { display: flex; gap: .8rem; align-items: center; margin-top: .5rem; font-size: .9rem; color: rgba(255, 255, 255, .7); max-width: 36em; }
.hero-map figcaption b { color: #fff; }
.scale { flex: none; width: 96px; height: 8px; border-radius: 2px;
  background: linear-gradient(90deg, #2c3e91, #2b83ba, #4fbfa5, #a6d96a, #ffffbf, #fdae61, #f46d43, #d7191c); }

/* sections */
section:not(.hero) { padding: 88px 0; }
.cost { background: #fff; border-bottom: 1px solid var(--line); }
.cost p { font-size: 1.15rem; color: #2e3b47; }

.steps { list-style: none; counter-reset: s; margin: 2.2rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.steps li { counter-increment: s; padding: 0 28px 0 0; position: relative; }
.steps li + li { padding-left: 28px; border-left: 1px solid var(--line); }
.steps li::before {
  content: counter(s); display: block; font-size: 3.4rem; font-weight: 800; line-height: 1; color: var(--orange);
  font-variation-settings: 'wdth' 75; margin-bottom: .9rem;
}
.steps p { color: var(--slate); }

.private { background: var(--navy-2); color: #fff; }
.private-in { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 56px; align-items: start; }
.private h2 { font-size: clamp(2rem, 4vw, 3.1rem); }
.facts { list-style: none; margin: 0; padding: 0; }
.facts li { padding: 1rem 0; border-top: 1px solid rgba(255, 255, 255, .14); color: rgba(255, 255, 255, .75); }
.facts li:last-child { border-bottom: 1px solid rgba(255, 255, 255, .14); }
.facts b { color: #fff; display: block; font-size: 1.1rem; margin-bottom: .15rem; }

.gives { margin: 2.2rem 0 0; display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 40px; row-gap: 2rem; }
.gives div { border-top: 3px solid var(--ink); padding-top: .9rem; }
.gives dt { font-weight: 700; font-size: 1.12rem; margin-bottom: .3rem; }
.gives dd { margin: 0; color: var(--slate); }

.prices { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.prices-in { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); gap: 56px; align-items: start; }
.prices p { color: var(--slate); }
.prices .launch { color: var(--ink); font-weight: 600; border-left: 4px solid var(--orange); padding-left: .9rem; }
.price-table { width: 100%; border-collapse: collapse; }
.price-table th, .price-table td { text-align: left; vertical-align: top; padding: .95rem 0; border-bottom: 1px solid var(--line); }
.price-table tr:first-child th, .price-table tr:first-child td { border-top: 2px solid var(--ink); }
.price-table th { font-weight: 600; padding-right: 24px; width: 46%; }
.price-table td { color: #2e3b47; }

.final h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); }
.final p { font-size: 1.15rem; color: var(--slate); }
.final .btn-ghost { color: var(--ink); }
.final .btn-ghost:hover { background: rgba(0, 0, 0, .04); }
.wa { display: inline-flex; align-items: center; gap: .45rem; font-weight: 600; text-decoration: none; padding: .85rem .5rem; color: #128c4a; }
.wa svg { width: 22px; height: 22px; fill: currentColor; }
.wa:hover { text-decoration: underline; }

.foot { background: var(--navy); color: rgba(255, 255, 255, .65); font-size: .92rem; }
.foot-in { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; padding: 28px 24px; }
.foot-links { display: flex; gap: 1.5rem; }
.foot a { text-decoration: none; }
.foot a:hover { color: #fff; }

/* phones and tablets */
@media (max-width: 900px) {
  .hero-in, .private-in, .prices-in { grid-template-columns: 1fr; gap: 32px; }
  .hero-map img { margin-right: 0; }
  .steps, .gives { grid-template-columns: 1fr; }
  .steps li, .steps li + li { padding: 1.4rem 0; border-left: 0; border-top: 1px solid var(--line); }
  .steps li::before { font-size: 2.6rem; margin-bottom: .5rem; }
  section:not(.hero) { padding: 60px 0; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .top-nav a:not(.signin):not(.btn) { display: none; }
  .hero { padding: 28px 0 48px; }
  .hero .lead { font-size: 1.08rem; }
  .cta .btn { flex: 1 1 auto; text-align: center; }
  .price-table th, .price-table td { display: block; width: auto; padding: .2rem 0; border: 0; }
  .price-table tr { display: block; padding: .8rem 0; border-bottom: 1px solid var(--line); }
  .price-table tr:first-child { border-top: 2px solid var(--ink); }
  .price-table tr:first-child th, .price-table tr:first-child td { border-top: 0; }
}

/* how many samples */
.density { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.density-lead { color: var(--slate); max-width: 46em; font-size: 1.1rem; }
.density-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 2.2rem; }
.density-item { margin: 0; }
.density-item svg { width: 100%; max-width: 320px; height: auto; display: block; margin-bottom: 1rem; }
.density-item .lic { fill: #f3f5f3; stroke: var(--ink); stroke-width: 2; }
.density-item .zone { fill: rgba(244, 109, 67, .28); stroke: #f46d43; stroke-width: 2; stroke-dasharray: 6 4; }
.density-item .d { fill: var(--slate); }
.density-item .d-hit { fill: #d7191c; stroke: #fff; stroke-width: 2.5; }
.density-item h3 { font-size: 1.2rem; }
.density-item h3 span { font-weight: 500; color: var(--slate); font-variation-settings: 'wdth' 100; font-size: 1rem; }
.density-item p { color: var(--slate); margin-bottom: .5rem; }
.density-item .hits { color: #b3161a; font-weight: 600; }
.density-item .hits.none { color: var(--ink); }
.density-tip { margin: 2.4rem 0 0; padding: 1rem 1.2rem; border-left: 4px solid var(--orange); background: var(--field); max-width: 52em; }
@media (max-width: 900px) {
  .density-grid { grid-template-columns: 1fr; gap: 32px; }
  .density-item { display: grid; grid-template-columns: 140px 1fr; gap: 18px; align-items: start; }
  .density-item svg { margin: 0; }
}

/* install button (PWA) */
[hidden] { display: none !important; }
.install-line { margin: 1.1rem 0 0; }
.install-line a { display: inline-flex; align-items: center; gap: .45rem; color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.install-line svg { width: 20px; height: 20px; fill: #f2c14e; }
