/* PinMap marketing site — brand: paper / navy / construction orange, Barlow type */

/* Barlow + Barlow Condensed, self-hosted (SIL Open Font License 1.1) so no
   visitor IP is sent to Google Fonts. Files in assets/fonts/. */
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 400; font-display: swap; src: url('assets/fonts/barlow-400.woff2') format('woff2'); }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 500; font-display: swap; src: url('assets/fonts/barlow-500.woff2') format('woff2'); }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 600; font-display: swap; src: url('assets/fonts/barlow-600.woff2') format('woff2'); }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 700; font-display: swap; src: url('assets/fonts/barlow-700.woff2') format('woff2'); }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 600; font-display: swap; src: url('assets/fonts/barlowcondensed-600.woff2') format('woff2'); }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 700; font-display: swap; src: url('assets/fonts/barlowcondensed-700.woff2') format('woff2'); }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 800; font-display: swap; src: url('assets/fonts/barlowcondensed-800.woff2') format('woff2'); }

:root {
  --paper: #FAFAF8;
  --tint: #F0F2F5;
  --tint2: #E4E8ED;
  --line: #D5DCE3;
  --ink: #141B22;
  --ink2: #4A5866;
  --ink3: #66737F;   /* 4.65:1 on paper (was #7C8A98, 3.38:1) */
  --navy: #141B22;
  --navy2: #1F2932;
  --navy-line: #2C3842;
  --navy-ink: #E8EDF2;
  --navy-ink2: #93A3B2;
  --orange: #E8630A;
  --orange-dk: #C9530A;
  --orange-text: #BF4E06; /* orange used AS SMALL TEXT on paper: 4.66:1 (brand orange is 3.23:1) */
  --orange-tint: #FCEEE3;
  --orange-tint2: #F8DCC6;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(20, 27, 34, .10);
  --shadow-lg: 0 30px 70px rgba(20, 27, 34, .22);
  --display: 'Barlow Condensed', 'Barlow', system-ui, sans-serif;
  --body: 'Barlow', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --wrap: 1180px;
  --pad: clamp(20px, 5vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  overflow-x: clip;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); line-height: 1.02; margin: 0; letter-spacing: -.005em; }
h1 { font-weight: 800; font-size: clamp(52px, 8.2vw, 96px); }
h2 { font-weight: 700; font-size: clamp(38px, 5.2vw, 60px); }
h3 { font-weight: 700; font-size: clamp(22px, 2.2vw, 27px); }
p { margin: 0; }

.wrap { width: min(var(--wrap), 100% - 2 * var(--pad)); margin-inline: auto; }

.skip {
  position: absolute; left: 8px; top: -60px; z-index: 100;
  background: var(--orange); color: #fff; padding: 10px 14px; border-radius: 8px; font-weight: 600;
}
.skip:focus { top: 8px; }

/* Eyebrow / section heads */
.eyebrow {
  font-family: var(--display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--orange-text);
  margin-bottom: 14px;
}
.section-head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-sub { color: var(--ink2); font-size: 19px; margin-top: 16px; max-width: 600px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--display); font-weight: 700; font-size: 19px; letter-spacing: .02em; /* 19px bold = WCAG large text, so 3.38:1 white-on-orange passes AA */
  padding: 12px 22px; border-radius: 10px; text-decoration: none; white-space: nowrap;
  border: 2px solid transparent; cursor: pointer;
  transition: transform .12s ease, background-color .15s ease, color .15s ease, box-shadow .15s ease;
}
.btn--lg { font-size: 21px; padding: 15px 28px; }
.btn--primary { background: var(--orange); color: #fff; border-color: var(--orange); box-shadow: 0 6px 0 var(--orange-dk); }
.btn--primary:hover { background: #F06E15; }
.btn--primary:active { transform: translateY(4px); box-shadow: 0 2px 0 var(--orange-dk); }
.btn--outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: #fff; }
.btn--ghost { background: transparent; color: var(--navy-ink); border-color: var(--navy-ink2); }
.btn--ghost:hover { border-color: #fff; color: #fff; }
.btn:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 250, 248, .86);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav__in { display: flex; align-items: center; gap: 32px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.brand__pin { width: 26px; height: 26px; fill: var(--orange); }
.brand__word { font-family: var(--display); font-weight: 800; font-size: 30px; letter-spacing: -.01em; line-height: 1; color: var(--ink); }
.brand__word em { font-style: normal; color: var(--orange); }
.brand--light .brand__word { color: #fff; }
.nav__links { display: flex; gap: 28px; margin-left: 12px; }
.nav__links a { text-decoration: none; font-weight: 600; font-size: 16px; color: var(--ink2); white-space: nowrap; }
@media (max-width: 1100px) { .nav__links { gap: 14px; } .nav__links a { font-size: 14.5px; } }
.nav__links a:hover { color: var(--ink); }
.nav__cta { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.nav__burger {
  display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer;
  flex-direction: column; justify-content: center; align-items: center; gap: 5px; border-radius: 8px;
}
.nav__burger span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobilenav { display: none; flex-direction: column; gap: 6px; padding: 8px var(--pad) 20px; border-top: 1px solid var(--line); background: var(--paper); }
.mobilenav a { padding: 12px 4px; text-decoration: none; font-weight: 600; font-size: 18px; }
.mobilenav .btn { margin-top: 8px; align-self: flex-start; }
.mobilenav:not([hidden]) { display: flex; }

@media (max-width: 860px) {
  .nav__links { display: none; }
  .nav__cta .btn { display: none; }
  .nav__burger { display: flex; }
}

/* Hero */
.hero {
  position: relative;
  padding: clamp(48px, 8vw, 104px) 0 clamp(56px, 8vw, 120px);
  overflow: clip;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to right, rgba(20,27,34,.06) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(to bottom, rgba(20,27,34,.06) 1px, transparent 1px) 0 0 / 56px 56px;
  mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 70%);
}
.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.hero__copy .lede { font-size: clamp(19px, 2vw, 23px); color: var(--ink2); max-width: 560px; margin-top: 26px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero__note { color: var(--ink3); font-size: 15.5px; max-width: 520px; margin-top: 22px; }
.legend { list-style: none; display: flex; flex-wrap: wrap; gap: 18px; padding: 0; margin: 28px 0 0; font-size: 14.5px; font-weight: 600; color: var(--ink2); }
.legend li, .float__v { display: inline-flex; align-items: center; gap: 8px; }
.legend i, .float__v i { width: 10px; height: 10px; border-radius: 50%; background: var(--dot); display: inline-block; }

.hero__visual { position: relative; justify-self: center; }
.phone {
  position: relative; width: min(340px, 78vw);
  border-radius: 44px; padding: 12px; background: #0C1116;
  box-shadow: var(--shadow-lg), inset 0 0 0 2px #2A333C;
}
.phone::before {
  content: ""; position: absolute; top: 24px; left: 50%; transform: translateX(-50%);
  width: 34%; height: 26px; border-radius: 20px; background: #0C1116; z-index: 2;
}
.phone img { border-radius: 34px; width: 100%; }
.phone--sm { width: min(300px, 74vw); }

.float {
  position: absolute; background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 10px 14px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 3px;
  font-size: 13.5px; color: var(--ink2); white-space: nowrap;
}
.float__k { font-family: var(--display); font-weight: 700; font-size: 17px; color: var(--ink); }
.float--a { left: -78px; top: 34%; }
.float--b { right: -66px; bottom: 22%; }

@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { margin-top: 12px; }
  .float--a { left: -8px; }
  .float--b { right: -8px; }
}
@media (max-width: 480px) {
  .float { display: none; }
}

/* Steps */
.steps { padding: clamp(64px, 9vw, 120px) 0; background: var(--tint); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.steps__list {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px;
  background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.steps__list li { background: var(--paper); padding: 28px 26px 32px; }
.steps__n { font-family: var(--display); font-weight: 800; font-size: 44px; color: var(--orange); line-height: 1; display: block; margin-bottom: 18px; }
.steps__list h3 { margin-bottom: 10px; }
.steps__list p { color: var(--ink2); font-size: 16.5px; }
@media (max-width: 900px) { .steps__list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps__list { grid-template-columns: 1fr; } }

/* Features bento */
.features { padding: clamp(64px, 9vw, 120px) 0; }
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cell {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px 30px; display: flex; flex-direction: column; gap: 12px;
  transition: transform .18s ease, box-shadow .18s ease;
}
.cell:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.cell p { color: var(--ink2); font-size: 16.5px; }
.cell--wide { grid-column: span 2; }
.cell--navy { background: var(--navy); border-color: var(--navy); color: var(--navy-ink); }
.cell--navy p { color: var(--navy-ink2); }
.cell--orange { background: var(--orange-tint); border-color: var(--orange-tint2); }
.cell--pattern {
  background:
    linear-gradient(to right, rgba(20,27,34,.07) 1px, transparent 1px) 0 0 / 22px 22px,
    linear-gradient(to bottom, rgba(20,27,34,.07) 1px, transparent 1px) 0 0 / 22px 22px,
    #fff;
}
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 8px 0 0; }
.chips li {
  font-family: var(--display); font-weight: 700; font-size: 15px; letter-spacing: .03em;
  padding: 6px 12px; border-radius: 999px; border: 1.5px solid var(--navy); color: var(--navy);
}
.chips li:first-child { background: var(--navy); color: #fff; }
@media (max-width: 900px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .bento { grid-template-columns: 1fr; } .cell--wide { grid-column: auto; } }

/* Paperwork */
.paper { padding: clamp(64px, 9vw, 120px) 0; background: var(--tint); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: clip; }
.paper__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.paper__visual { justify-self: center; position: relative; isolation: isolate; }
.paper__visual::after {
  content: ""; position: absolute; inset: 10% -14% -10% 40%; z-index: -1;
  background: var(--orange); border-radius: 24px; transform: rotate(-4deg); opacity: .9;
}
.paper__card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(28px, 4vw, 48px); box-shadow: var(--shadow); }
.paper__card > p { color: var(--ink2); font-size: 18px; margin-top: 18px; }
.ticks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; }
.ticks li::before {
  content: ""; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 6px; background: var(--orange);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M9.5 16.2 5.3 12l-1.4 1.4 5.6 5.6 12-12L20.1 5.6z'/%3E%3C/svg%3E") center / 18px no-repeat, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M9.5 16.2 5.3 12l-1.4 1.4 5.6 5.6 12-12L20.1 5.6z'/%3E%3C/svg%3E") center / 18px no-repeat, linear-gradient(#000 0 0);
}
@media (max-width: 860px) {
  .paper__grid { grid-template-columns: 1fr; }
  .paper__visual { order: 2; margin-top: 8px; }
}

/* Who */
.who { padding: clamp(64px, 9vw, 120px) 0; }
.who__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.who__card { border-top: 4px solid var(--orange); padding: 22px 4px 0; }
.who__card p { color: var(--ink2); margin-top: 10px; }
@media (max-width: 760px) { .who__grid { grid-template-columns: 1fr; } }

/* Getting started */
.start { padding: clamp(64px, 9vw, 120px) 0; background: var(--tint); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.start__list { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.start__list li { counter-increment: s; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; position: relative; }
.start__list li::before {
  content: counter(s); position: absolute; top: -16px; left: 22px;
  width: 34px; height: 34px; border-radius: 50%; background: var(--navy); color: #fff;
  font-family: var(--display); font-weight: 800; font-size: 18px; display: grid; place-items: center;
}
.start__list h3 { margin-top: 6px; margin-bottom: 8px; }
.start__list p { color: var(--ink2); font-size: 16.5px; }
.start__list a { color: var(--orange-dk); font-weight: 600; }
@media (max-width: 760px) { .start__list { grid-template-columns: 1fr; gap: 28px; } }

/* FAQ */
.faq { padding: clamp(64px, 9vw, 120px) 0; }
.faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(24px, 5vw, 64px); align-items: start; }
.faq__list details { border-top: 1px solid var(--line); }
.faq__list details:last-child { border-bottom: 1px solid var(--line); }
.faq__list summary {
  list-style: none; cursor: pointer; padding: 18px 44px 18px 0; position: relative;
  font-family: var(--display); font-weight: 700; font-size: 23px;
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font-family: var(--display); font-weight: 700; font-size: 30px; color: var(--orange); line-height: 1;
}
.faq__list details[open] summary::after { content: "–"; }
.faq__list details p { color: var(--ink2); padding: 0 0 20px; max-width: 620px; }
.faq__list a { color: var(--orange-dk); font-weight: 600; }
@media (max-width: 860px) { .faq__grid { grid-template-columns: 1fr; } }

/* Closing band */
.band { background: var(--navy); color: #fff; padding: clamp(64px, 9vw, 120px) 0; }
.band__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.band h2 { font-size: clamp(44px, 6.5vw, 76px); color: #fff; }
.band__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* Footer */
.foot { background: var(--navy); color: var(--navy-ink2); border-top: 1px solid var(--navy-line); padding: 32px 0 40px; }
.foot__in { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px; }
.foot__line { font-size: 15px; }
.foot__line a { color: var(--navy-ink); text-decoration: none; }
.foot__line a:hover { text-decoration: underline; }
.foot__in .brand { margin-right: auto; }

/* Reveal on scroll (gated by reduced motion) */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .55s ease, transform .55s ease; }
.reveal--late { transition-delay: .12s; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .cell, .btn { transition: none; }
}

/* ---------- Footer links, legal pages, contact form ---------- */
.foot__links { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 22px; padding: 0; margin: 14px 0 0; }
.foot__links a { color: var(--navy-ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.foot__biz { color: var(--navy-ink2); font-size: 14.5px; line-height: 1.55; margin-top: 18px; max-width: 640px; }
.legal { padding: clamp(40px, 7vw, 80px) 0; }
.legal .wrap { max-width: 780px; }
.legal h1 { font-size: clamp(38px, 6vw, 60px); margin-bottom: 8px; }
.legal h2 { font-size: clamp(24px, 3vw, 30px); margin: 40px 0 12px; }
.legal h3 { font-size: 20px; margin: 26px 0 8px; }
.legal p, .legal li { font-size: 17px; line-height: 1.6; color: var(--ink); }
.legal ul, .legal ol { padding-left: 24px; }
.legal li { margin: 6px 0; }
.legal .meta { color: var(--ink2); font-size: 15.5px; margin-bottom: 28px; }
.legal table { border-collapse: collapse; width: 100%; margin: 14px 0; font-size: 15.5px; }
.legal th, .legal td { border: 1px solid var(--line); padding: 9px 11px; text-align: left; vertical-align: top; }
.legal th { background: var(--tint); }
.legal .tablewrap { overflow-x: auto; }
.legal .todo { background: #FFF4D6; border: 1px solid #E8C86A; border-radius: var(--radius-sm); padding: 12px 14px; margin: 16px 0; font-size: 15.5px; }
.legal .todo strong { color: #7A5300; }
.legal a { color: var(--orange-text); text-decoration: underline; text-underline-offset: 3px; }
.legal .legalnav { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 0 0 30px; padding: 0; list-style: none; font-size: 15.5px; }
.form { display: grid; gap: 16px; max-width: 560px; }
.form label { display: block; font-weight: 600; margin-bottom: 6px; }
.form input, .form textarea { width: 100%; font: inherit; padding: 12px 14px; border: 1.5px solid var(--ink2); border-radius: var(--radius-sm); background: #fff; color: var(--ink); }
.form textarea { min-height: 120px; resize: vertical; }
.form .hint { color: var(--ink2); font-size: 14.5px; margin-top: 6px; }
.form .consent { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; }
.form .consent input { width: 20px; height: 20px; margin-top: 3px; flex: 0 0 auto; }
.form .req { color: var(--orange-text); }

/* pricing */
.pricegrid { align-items: stretch; }
.price h3 { font-size: 26px; }
.price__big { font-family: var(--display); font-weight: 800; font-size: 46px; line-height: 1; margin: 12px 0 2px; color: var(--ink); }
.price__big span { font-size: 17px; font-weight: 600; color: var(--ink2); margin-left: 4px; }
.price__alt { color: var(--ink2); font-size: 15px; margin: 0 0 14px; }
.price .ticks { margin-top: 10px; }
.pricelist { list-style: none; padding: 0; margin: 6px 0 0; }
.pricelist li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 16px; }
.pricelist li b { font-family: var(--display); font-weight: 700; font-size: 20px; }
.pricelist li span { color: var(--ink2); text-align: right; }
.price--addons { background: var(--tint); }
