/* ParkRadar — "Wayfinding" build.
   Light editorial / transit-signage aesthetic: paper ground, ink type, one
   confident parking-sign blue, monospaced labels, sharp corners, hairline grid.
   Deliberately the opposite of the dark glassmorphism build, for comparison. */

:root {
  --paper: #f4f1ea;        /* warm off-white ground */
  --paper-2: #ece8df;      /* alternating band */
  --ink: #16140f;          /* near-black text */
  --ink-2: #5b5750;        /* muted */
  --line: rgba(22, 20, 15, 0.14);
  --line-strong: rgba(22, 20, 15, 0.3);
  --blue: #1f44ff;         /* parking-sign blue — the one accent */
  --blue-ink: #ffffff;
  --free: #1e8f4e;         /* available green (semantic only) */
  --taken: #c8442f;        /* taken red (semantic only) */

  --display: "Archivo", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;

  --maxw: 1120px;
  --radius: 4px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

/* No accidental horizontal scroll on phones (offset shadows etc.). */
html, body { overflow-x: hidden; max-width: 100%; }

/* Anchored sections clear the sticky header when jumped to from the nav. */
section[id] { scroll-margin-top: 80px; }

body {
  margin: 0;
  -webkit-tap-highlight-color: transparent;
  background-color: var(--paper);
  /* Subtle blueprint dot-grid — a quiet "map" texture, no glow. */
  background-image: radial-gradient(rgba(22, 20, 15, 0.05) 1px, transparent 1.4px);
  background-size: 22px 22px;
  color: var(--ink);
  font-family: var(--display);
  font-weight: 500;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, ol { margin: 0; }

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

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: var(--paper); padding: 10px 16px; z-index: 100;
}
.skip:focus { left: 16px; top: 12px; }

/* ───────── Mark / brand ───────── */
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; }
.brand__mark {
  display: grid; place-items: center;
  width: 30px; height: 30px;
  background: var(--blue); color: var(--blue-ink);
  font-family: var(--display); font-weight: 900; font-size: 18px;
  border-radius: var(--radius);
}
.brand__word { font-size: 18px; letter-spacing: -0.01em; }
.brand__logo { display: block; width: 34px; height: 34px; border-radius: 9px; }
.foot__brand .brand__logo { width: 40px; height: 40px; border-radius: 11px; }

/* ───────── Buttons ───────── */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--display); font-weight: 700; font-size: 15px;
  padding: 13px 20px; border-radius: var(--radius);
  border: 1.5px solid var(--ink); cursor: pointer;
  transition: transform 0.12s ease, background 0.18s ease, color 0.18s ease;
}
.btn--solid { background: var(--ink); color: var(--paper); }
.btn--solid:hover { background: var(--blue); border-color: var(--blue); transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--sm { padding: 9px 15px; font-size: 13.5px; }
.btn--lg { padding: 16px 26px; font-size: 17px; }

/* ───────── Header ───────── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.bar { display: flex; align-items: center; gap: 24px; height: 66px; }
.nav { display: none; margin-left: auto; gap: 26px; font-weight: 600; font-size: 15px; }
.nav a { color: var(--ink-2); position: relative; padding: 4px 0; }
.nav a:hover { color: var(--ink); }
.nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 2px;
  background: var(--blue); transition: right 0.2s ease;
}
.nav a:hover::after { right: 0; }
.nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"]::after { right: 0; }
.bar .btn--sm { display: none; }

.nav-toggle {
  margin-left: auto; width: 42px; height: 42px;
  display: grid; place-content: center; gap: 5px;
  background: transparent; border: 1px solid var(--line-strong); border-radius: var(--radius);
}
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--ink); }
.mobile-nav { display: flex; flex-direction: column; border-bottom: 1px solid var(--line); background: var(--paper); }
/* The author `display:flex` above outranks the `hidden` attribute, so restore it explicitly. */
.mobile-nav[hidden] { display: none; }
.mobile-nav a { padding: 14px 24px; border-top: 1px solid var(--line); font-weight: 600; }

@media (min-width: 880px) {
  .nav { display: flex; }
  .bar .btn--sm { display: inline-flex; }
  .nav-toggle, .mobile-nav { display: none; }
}

/* ───────── Hero ───────── */
.hero { padding-bottom: 24px; }
@media (min-width: 980px) {
  .hero { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; }
}
.hero__art { display: flex; justify-content: center; margin-top: 44px; }
@media (min-width: 980px) { .hero__art { margin-top: 0; } }

/* Iconic parking-sign plate — flat, hard offset shadow = distinctive signature. */
.sign {
  position: relative;
  width: min(300px, 78vw);
  aspect-ratio: 1 / 1.12;
  background: var(--blue);
  color: #fff;
  border: 2px solid var(--ink);
  border-radius: 22px;
  box-shadow: 12px 12px 0 var(--ink);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 24px;
}
.sign__p { font-family: var(--display); font-weight: 900; font-size: clamp(7rem, 20vw, 11rem); line-height: 0.9; letter-spacing: -0.05em; }
.sign__plate {
  margin-top: 14px; background: #fff; color: var(--ink);
  font-family: var(--mono); font-size: 12px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; padding: 8px 14px; border-radius: 7px;
}
.sign__pin {
  position: absolute; top: -14px; right: -14px;
  background: var(--free); color: #fff; border: 2px solid var(--ink);
  font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: 0.06em;
  padding: 6px 11px; border-radius: 999px; box-shadow: 4px 4px 0 var(--ink);
}

/* Phone mockup — real app screenshots in a flat, hard-shadow frame. */
.phone {
  position: relative; width: min(280px, 76vw); margin: 0 auto;
  border: 2px solid var(--ink); border-radius: 36px; background: #fff;
  padding: 10px; box-shadow: 12px 12px 0 var(--ink);
}
.phone img { display: block; width: 100%; height: auto; border-radius: 27px; }
.phone__pin {
  position: absolute; top: -13px; right: -10px; z-index: 3;
  background: var(--free); color: #fff; border: 2px solid var(--ink);
  font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: 0.05em;
  padding: 6px 11px; border-radius: 999px; box-shadow: 4px 4px 0 var(--ink);
}

/* Screenshots gallery */
.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; }
.shots figure { margin: 0; }
.phone--sm { width: 100%; padding: 8px; border-radius: 30px; box-shadow: 8px 8px 0 var(--ink); }
.phone--sm img { border-radius: 23px; }
.shots figcaption { margin-top: 14px; text-align: center; font-family: var(--mono); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-2); }
@media (max-width: 740px) { .shots { grid-template-columns: repeat(2, 1fr); gap: 18px; } }
@media (max-width: 460px) { .shots { grid-template-columns: 1fr; max-width: 320px; margin-inline: auto; } }

.kicker {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--mono); font-size: 12.5px; font-weight: 700;
  letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-2);
  border: 1px solid var(--line); border-radius: 999px; padding: 7px 13px;
  margin-top: 56px;
}
.dot { width: 8px; height: 8px; border-radius: 999px; background: var(--free); box-shadow: 0 0 0 4px color-mix(in srgb, var(--free) 22%, transparent); }

.hero__title {
  font-family: var(--display); font-weight: 900;
  font-size: clamp(2.6rem, 7vw, 5.4rem); line-height: 0.97;
  letter-spacing: -0.035em; margin-top: 22px; max-width: 16ch;
}
.ink-accent { color: var(--blue); }
.hero__lede { margin-top: 22px; max-width: 56ch; font-size: clamp(1rem, 1.6vw, 1.18rem); color: var(--ink-2); font-weight: 500; }

.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.hero__proof {
  display: flex; flex-wrap: wrap; gap: 10px 26px; list-style: none; padding: 0;
  margin-top: 26px; font-family: var(--mono); font-size: 12.5px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink-2);
}
.hero__proof li { display: flex; align-items: center; gap: 8px; }
.hero__proof li::before { content: ""; width: 14px; height: 2px; background: var(--blue); }

/* ───────── Stats ───────── */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink);
  margin-top: 72px;
}
.stat { padding: 26px 18px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: none; }
.stat__num { display: block; font-family: var(--mono); font-weight: 700; font-size: clamp(1.7rem, 3.4vw, 2.6rem); letter-spacing: -0.02em; }
.stat__label { font-size: 13.5px; color: var(--ink-2); font-weight: 500; }
@media (max-width: 720px) { .stats { grid-template-columns: repeat(2, 1fr); } .stat:nth-child(3) { border-left: none; } }

/* ───────── Sections ───────── */
.section { padding-block: 84px; }
.section--alt { background: var(--paper-2); border-block: 1px solid var(--line); }
.section__head { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 40px; }
.section__index {
  display: inline-grid; place-items: center; flex: none;
  width: 34px; height: 34px; margin-top: 2px;
  border: 1.5px solid var(--blue); border-radius: 999px;
  font-family: var(--mono); font-weight: 700; font-size: 13px; color: var(--blue);
}
.section__title { font-family: var(--display); font-weight: 800; font-size: clamp(1.7rem, 3.6vw, 2.6rem); letter-spacing: -0.025em; }
.section__sub { margin-top: 12px; max-width: 60ch; color: var(--ink-2); font-size: 1.02rem; font-weight: 500; }

/* Feature cards — bordered, not glassy. 6 cards, 3-up. */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.card { padding: 24px 22px 28px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: border-color 0.18s ease, transform 0.12s ease; }
.card:hover { border-color: var(--ink); transform: translateY(-2px); }
.card__no { font-family: var(--mono); font-weight: 700; font-size: 13px; color: var(--blue); }
.card h3 { font-size: 1.2rem; font-weight: 800; letter-spacing: -0.01em; margin-top: 18px; }
.card p { margin-top: 10px; font-size: 14.5px; color: var(--ink-2); }
@media (max-width: 820px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .cards { grid-template-columns: 1fr; } }

/* Reward metrics */
.metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.metric { padding: 24px 22px 26px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.metric__num { display: block; font-family: var(--mono); font-weight: 700; font-size: clamp(1.8rem, 3.6vw, 2.5rem); letter-spacing: -0.02em; color: var(--blue); }
.metric h3 { margin-top: 12px; font-size: 1.1rem; font-weight: 800; }
.metric p { margin-top: 8px; font-size: 14px; color: var(--ink-2); }
@media (max-width: 820px) { .metrics { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .metrics { grid-template-columns: 1fr; } }

/* Trust grid */
.trust { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.trust__item { padding: 26px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); background: #fff; }
.trust__item:nth-child(-n+2) { border-top: none; }
.trust__item:nth-child(odd) { border-left: none; }
.trust__item h3 { font-size: 1.12rem; font-weight: 800; }
.trust__item h3::before { content: ""; display: inline-block; width: 16px; height: 3px; background: var(--blue); vertical-align: middle; margin-right: 10px; }
.trust__item p { margin-top: 8px; color: var(--ink-2); font-size: 14.5px; }
@media (max-width: 620px) { .trust { grid-template-columns: 1fr; } .trust__item { border-left: none; border-top: 1px solid var(--line); } .trust__item:first-child { border-top: none; } }

/* FAQ accordion */
.faq { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.faq details { border-top: 1px solid var(--line); }
.faq details:first-child { border-top: none; }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 22px; font-weight: 700; font-size: 1.02rem;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); font-size: 22px; color: var(--blue); transition: transform 0.2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details[open] summary { color: var(--blue); }
.faq p { padding: 0 22px 20px; color: var(--ink-2); font-size: 14.5px; max-width: 70ch; }

/* How it works */
.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: step; }
.steps li { padding-top: 22px; border-top: 3px solid var(--ink); }
.steps__no { display: inline-grid; place-items: center; width: 34px; height: 34px; background: var(--blue); color: #fff; font-family: var(--mono); font-weight: 700; border-radius: var(--radius); }
.steps h3 { margin-top: 16px; font-size: 1.18rem; font-weight: 800; }
.steps p { margin-top: 8px; color: var(--ink-2); font-size: 14.5px; }
@media (max-width: 740px) { .steps { grid-template-columns: 1fr; gap: 6px; } .steps li { padding-bottom: 18px; } }

/* Cities */
.cities { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.cities .city--live { grid-row: span 1; }
.city { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.city--live { border-color: var(--ink); border-width: 1.5px; }
.city__tag { font-family: var(--mono); font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-2); }
.city--live .city__tag { color: var(--free); }
.city h3 { font-size: 1.5rem; font-weight: 900; letter-spacing: -0.02em; margin-top: 10px; }
.city p { margin-top: 8px; color: var(--ink-2); font-size: 14.5px; }
@media (max-width: 900px) { .cities { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .cities { grid-template-columns: 1fr; } }

/* CTA */
.cta { padding-block: 90px; }
.cta__inner {
  border: 1.5px solid var(--ink); border-radius: var(--radius); background: var(--ink); color: var(--paper);
  padding: clamp(36px, 6vw, 64px); text-align: center; position: relative; overflow: hidden;
}
.cta__inner::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px;
  background: repeating-linear-gradient(90deg, var(--blue) 0 26px, transparent 26px 44px);
}
.cta__inner h2 { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 900; letter-spacing: -0.03em; }
.cta__inner p { margin-top: 14px; color: color-mix(in srgb, var(--paper) 72%, transparent); font-size: 1.1rem; }
.cta .btn--solid { background: var(--paper); color: var(--ink); border-color: var(--paper); margin-top: 28px; }
.cta .btn--solid:hover { background: var(--blue); color: #fff; border-color: var(--blue); }
.cta__meta { display: block; margin-top: 16px; font-family: var(--mono); font-size: 12px; color: color-mix(in srgb, var(--paper) 60%, transparent); text-transform: uppercase; letter-spacing: 0.06em; }
.cta__details {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; list-style: none; padding: 0;
  margin: 30px auto 0; max-width: 560px;
  border: 1px solid color-mix(in srgb, var(--paper) 22%, transparent); border-radius: var(--radius); overflow: hidden;
}
.cta__details li { padding: 14px 10px; border-left: 1px solid color-mix(in srgb, var(--paper) 14%, transparent); }
.cta__details li:first-child { border-left: none; }
.cta__details span { display: block; font-family: var(--mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.06em; color: color-mix(in srgb, var(--paper) 55%, transparent); }
.cta__details b { display: block; margin-top: 4px; font-weight: 700; font-size: 14px; }
.cta__tip { margin-top: 22px !important; font-size: 13px !important; color: color-mix(in srgb, var(--paper) 60%, transparent) !important; max-width: 52ch; margin-inline: auto; }
@media (max-width: 520px) { .cta__details { grid-template-columns: repeat(2, 1fr); } .cta__details li:nth-child(3) { border-left: none; border-top: 1px solid color-mix(in srgb, var(--paper) 14%, transparent); } .cta__details li:nth-child(4) { border-top: 1px solid color-mix(in srgb, var(--paper) 14%, transparent); } }

/* Footer */
.site-footer { border-top: 1.5px solid var(--ink); }
.foot { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 24px 32px; align-items: start; padding-block: 40px; }
.foot__brand { display: flex; gap: 12px; }
.foot__brand strong { font-weight: 800; }
.foot__brand p { color: var(--ink-2); font-size: 14px; margin-top: 2px; max-width: 30ch; }
.foot__col { display: flex; flex-direction: column; gap: 9px; font-weight: 600; color: var(--ink-2); }
.foot__h { font-family: var(--mono); font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink); margin-bottom: 2px; }
.foot__col a:hover { color: var(--ink); }
.foot__legal { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 20px; margin-top: 4px; font-family: var(--mono); font-size: 12px; color: var(--ink-2); }
@media (max-width: 740px) { .foot { grid-template-columns: 1fr 1fr; } .foot__brand { grid-column: 1 / -1; } }

/* ───────── Phone optimisation (≤640px) ───────── */
@media (max-width: 640px) {
  .container { padding-inline: 16px; }

  /* Header */
  .bar { height: 58px; gap: 14px; }
  .brand__word { font-size: 17px; }
  .brand__logo { width: 32px; height: 32px; }
  .nav-toggle { width: 44px; height: 44px; }
  .mobile-nav a { padding: 15px 16px; font-size: 16px; }

  /* Hero — tighter rhythm, full-width tappable buttons, lighter sign shadow */
  .kicker { margin-top: 28px; font-size: 11.5px; padding: 6px 11px; }
  .hero__title { margin-top: 16px; line-height: 1.0; }
  .hero__lede { margin-top: 16px; font-size: 1.02rem; line-height: 1.55; }
  .hero__actions { margin-top: 22px; flex-direction: column; align-items: stretch; gap: 10px; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .hero__proof { margin-top: 20px; gap: 8px 18px; }
  .hero__art { margin-top: 30px; }
  .sign { width: min(280px, 82vw); box-shadow: 8px 8px 0 var(--ink); border-radius: 18px; }
  .sign__pin { top: -12px; right: -8px; }
  .phone { box-shadow: 8px 8px 0 var(--ink); }
  .phone--sm { box-shadow: 6px 6px 0 var(--ink); }

  /* Stats */
  .stats { margin-top: 44px; }
  .stat { padding: 18px 14px; }
  .stat__label { font-size: 13px; }

  /* Sections */
  .section { padding-block: 54px; }
  .section__head { margin-bottom: 28px; gap: 12px; }
  .section__index { width: 30px; height: 30px; font-size: 12px; }
  .section__sub { font-size: 0.98rem; }

  /* Cards / metrics / trust / cities / faq padding */
  .card { padding: 20px 18px 24px; }
  .metric { padding: 20px 18px; }
  .trust__item { padding: 20px; }
  .city { padding: 20px; }
  .faq summary { padding: 16px; font-size: 1rem; gap: 12px; }
  .faq p { padding: 0 16px 18px; }
  .steps { gap: 4px; }

  /* CTA */
  .cta { padding-block: 56px; }
  .cta__inner p { font-size: 1.02rem; }
  .cta .btn--lg { width: 100%; justify-content: center; }

  /* Footer */
  .foot { padding-block: 32px; gap: 22px 24px; }
}

/* Extra-small phones (≤380px) */
@media (max-width: 380px) {
  .hero__title { font-size: 2.35rem; }
  .sign__p { font-size: clamp(6rem, 30vw, 8rem); }
  .nav-toggle { gap: 4px; }
}
