/* Voosh Parking — vooshgroup.com
   Navy + sky blue (Voosh), sign blue for the parking-sign panel, plate yellow only on number plates. */
:root {
  --navy: #0E2A4D;
  --navy-2: #1E3F6B;
  --sky: #3FA9F5;
  --sky-soft: #E8F4FD;
  --sign: #1D5BAA;
  --plate: #F7CF1D;
  --paper: #F6F8FB;
  --white: #FFFFFF;
  --ink: #0E2A4D;
  --muted: #56677C;
  --line: #DCE3EC;
  --ok: #1F8A57;
  --warn: #A86400;
  --bad: #C8372D;
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --display: "Overpass", system-ui, sans-serif;
  --body: "Public Sans", system-ui, sans-serif;
  --wrap: 1120px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 17px/1.55 var(--body); }
img, svg { display: block; max-width: 100%; }
a { color: var(--sign); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--display); color: var(--navy); line-height: 1.08; margin: 0; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.4rem, 5.4vw, 4.1rem); font-weight: 900; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 800; }
p { margin: 0; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.muted { color: var(--muted); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- header ---------- */
.site-head { border-bottom: 1px solid var(--line); background: var(--white); position: sticky; top: 0; z-index: 20; }
.site-head .wrap { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); font: 900 1.25rem/1 var(--display); }
.brand .p { width: 34px; height: 34px; border-radius: 7px; background: var(--sign); color: #fff; display: grid; place-items: center; font: 900 1.35rem/1 var(--display); box-shadow: inset 0 0 0 2px var(--sign), inset 0 0 0 4px #fff; }
.brand span small { display: block; font: 600 0.72rem/1.2 var(--body); color: var(--muted); letter-spacing: 0; }
.nav { display: flex; gap: 22px; margin-left: auto; align-items: center; }
.nav a { color: var(--navy); text-decoration: none; font-weight: 600; font-size: 0.97rem; }
.nav a:hover { color: var(--sign); }
.nav .cta { background: var(--navy); color: #fff; padding: 9px 16px; border-radius: 999px; }
.nav .cta:hover { background: var(--sign); color: #fff; }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; font: 600 0.95rem var(--body); color: var(--navy); }
@media (max-width: 820px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; gap: 0; border-bottom: 1px solid var(--line); padding: 8px 16px 16px; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 4px; border-bottom: 1px solid var(--line); }
  .nav .cta { text-align: center; margin-top: 12px; border: 0; }
}

.preview { background: var(--sky-soft); color: var(--navy); font-size: 0.93rem; padding: 10px 0; border-bottom: 1px solid #CFE6F8; }
.preview[hidden] { display: none; }

/* ---------- number plate ---------- */
.plate { display: inline-flex; align-items: stretch; background: var(--plate); border: 2px solid #1A1A1A; border-radius: 6px; overflow: hidden; font: 900 1rem/1 var(--display); color: #111; letter-spacing: 0.06em; }
.plate b { background: #1F4FA8; color: #fff; font-size: 0.6rem; padding: 0 5px; display: flex; align-items: flex-end; padding-bottom: 3px; }
.plate span { padding: 5px 9px 3px; }

/* ---------- buttons & forms ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 22px; border-radius: 12px; border: 2px solid var(--navy); background: var(--navy); color: #fff; font: 700 1rem var(--body); text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--navy-2); border-color: var(--navy-2); color: #fff; }
.btn.secondary { background: #fff; color: var(--navy); border-color: var(--line); }
.btn.secondary:hover { border-color: var(--navy); }
.btn.ghost { background: none; border-color: transparent; color: var(--sign); }
.btn.wide { width: 100%; }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; }
label { font-weight: 600; font-size: 0.95rem; display: block; margin-bottom: 6px; }
input[type=text], input[type=email], input[type=search], select {
  width: 100%; height: 52px; border: 1.5px solid var(--line); border-radius: 12px; padding: 0 14px; font: 500 1.05rem var(--body); color: var(--ink); background: #fff;
}
input:focus { outline: none; border-color: var(--sky); box-shadow: 0 0 0 3px rgba(63,169,245,0.25); }

/* ---------- home: hero with the parking sign ---------- */
.hero { padding: clamp(40px, 7vw, 96px) 0 clamp(56px, 8vw, 104px); background: var(--white); border-bottom: 1px solid var(--line); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { max-width: 12ch; }
.hero .lede { margin-top: 22px; font-size: 1.15rem; color: var(--muted); max-width: 46ch; }
.hero .facts { margin: 28px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.hero .facts li { display: flex; gap: 10px; align-items: baseline; font-weight: 500; }
.hero .facts li::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 2px; background: var(--sky); transform: translateY(-1px); }

/* The sign: blue panel, white inset border like a real UK parking sign */
.sign { background: var(--sign); color: #fff; border-radius: var(--r-lg); padding: clamp(22px, 3vw, 34px);
  box-shadow: inset 0 0 0 6px var(--sign), inset 0 0 0 9px #fff, 0 24px 48px -24px rgba(14,42,77,0.55); position: relative; }
.sign .top { display: flex; align-items: center; gap: 18px; }
.sign .bigp { width: 92px; height: 92px; flex: none; border: 4px solid #fff; border-radius: 12px; display: grid; place-items: center; font: 900 4.4rem/1 var(--display); padding-top: 8px; }
.sign .top p { font: 800 1.45rem/1.15 var(--display); }
.sign .top p small { display: block; font: 600 0.95rem/1.4 var(--body); opacity: 0.85; margin-top: 4px; }
.sign form { margin-top: 26px; }
.sign label { color: #fff; font-weight: 600; }
.sign .codebox { display: flex; gap: 10px; }
.sign .codebox input { height: 64px; border: 0; border-radius: 12px; font: 900 1.9rem/1 var(--display); letter-spacing: 0.08em; padding: 6px 16px 0; color: var(--navy); }
.sign .codebox input::placeholder { color: #A9B6C6; letter-spacing: 0.04em; }
.sign .codebox .btn { min-height: 64px; background: var(--navy); border-color: var(--navy); white-space: nowrap; }
.sign .codebox .btn:hover { background: #fff; color: var(--navy); border-color: #fff; }
.sign .alt { margin-top: 14px; font-size: 0.95rem; }
.sign .alt a { color: #fff; font-weight: 600; }
.sign .post { position: absolute; left: 50%; bottom: -40px; width: 14px; height: 40px; background: #8C98A6; transform: translateX(-50%); border-radius: 0 0 3px 3px; z-index: -1; }
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .sign .post { display: none; }
}
@media (max-width: 480px) {
  .sign .codebox { flex-direction: column; }
  .sign .bigp { width: 72px; height: 72px; font-size: 3.4rem; }
}

/* ---------- home: sections ---------- */
section.band { padding: clamp(56px, 8vw, 104px) 0; }
section.band.paper { background: var(--paper); }
section.band.navy { background: var(--navy); color: #fff; }
section.band.navy h2, section.band.navy h3 { color: #fff; }
.intro { max-width: 640px; }
.intro p { margin-top: 14px; color: var(--muted); font-size: 1.1rem; }
.navy .intro p { color: #B9CCE3; }

.steps { list-style: none; margin: 44px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 3px solid var(--navy); }
.steps li { padding: 26px 28px 0 0; counter-increment: step; }
.steps li::before { content: counter(step); display: block; font: 900 3rem/1 var(--display); color: var(--sky); margin-bottom: 14px; }
.steps p { margin-top: 8px; color: var(--muted); max-width: 32ch; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } .steps li { padding: 24px 0 8px; border-bottom: 1px solid var(--line); } }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.points { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 22px; }
.points h3 { font-size: 1.1rem; }
.points p { color: var(--muted); margin-top: 4px; }
.navy .points p { color: #B9CCE3; }

/* Lock screen with the live countdown */
.phone { width: min(330px, 100%); margin-inline: auto; aspect-ratio: 9 / 18.5; border-radius: 46px; background: linear-gradient(160deg, #2A4E7C, #0B1E38 70%); padding: 18px; box-shadow: 0 0 0 10px #0A1626, 0 30px 60px -20px rgba(0,0,0,0.6); display: flex; flex-direction: column; align-items: center; }
.phone .island { width: 120px; height: 32px; border-radius: 20px; background: #000; display: flex; align-items: center; justify-content: space-between; padding: 0 12px; color: #fff; font: 700 0.75rem var(--body); }
.phone .island i { width: 16px; height: 16px; border-radius: 50%; background: var(--sky); display: grid; place-items: center; font: 900 0.62rem var(--display); font-style: normal; color: #fff; }
.phone .clock { color: #fff; font: 300 4.2rem/1 var(--body); margin-top: 26px; letter-spacing: -0.02em; }
.phone .date { color: #D5E2F2; font-size: 0.9rem; margin-top: 4px; }
.activity { margin-top: auto; width: 100%; background: rgba(14,42,77,0.92); border-radius: 22px; padding: 14px 14px 12px; color: #fff; backdrop-filter: blur(8px); }
.activity .row { display: flex; justify-content: space-between; align-items: center; font-size: 0.75rem; color: #A9C4E4; font-weight: 600; }
.activity .plate { font-size: 0.72rem; }
.activity .count { font: 900 2.3rem/1 var(--display); margin-top: 8px; font-variant-numeric: tabular-nums; }
.activity .bar { height: 5px; background: rgba(255,255,255,0.18); border-radius: 3px; margin-top: 10px; overflow: hidden; }
.activity .bar span { display: block; height: 100%; background: var(--sky); width: 72%; }
.activity .place { font-size: 0.8rem; font-weight: 600; margin-top: 8px; }
.activity .acts { display: flex; gap: 6px; margin-top: 10px; }
.activity .acts span { flex: 1; text-align: center; background: var(--sky); color: var(--navy); border-radius: 999px; padding: 6px 0; font-weight: 800; font-size: 0.78rem; }
.activity .acts span.more { background: rgba(255,255,255,0.15); color: #fff; }
.phone .hint { color: #C6D6EA; font-size: 0.75rem; margin-top: 10px; }

.price-eg { margin-top: 28px; border: 1.5px solid var(--line); border-radius: var(--r-md); padding: 18px 20px; max-width: 420px; background: #fff; }
.price-eg div { display: flex; justify-content: space-between; padding: 4px 0; }
.price-eg div:last-child { border-top: 1.5px solid var(--line); margin-top: 6px; padding-top: 10px; font-weight: 800; }

.council-list { margin: 28px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 18px 40px; }
.council-list li { border-left: 3px solid var(--sky); padding-left: 14px; color: #D3E0F0; }
.council-list b { color: #fff; display: block; }
@media (max-width: 700px) { .council-list { grid-template-columns: 1fr; } }

.travel { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.travel p { color: var(--muted); margin-top: 6px; }

.site-foot { border-top: 1px solid var(--line); padding: 32px 0 44px; font-size: 0.93rem; color: var(--muted); }
.site-foot .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: space-between; }
.site-foot nav { display: flex; gap: 20px; flex-wrap: wrap; }

@media (prefers-reduced-motion: no-preference) {
  .sign { animation: rise 600ms cubic-bezier(.2,.8,.2,1) both; }
  @keyframes rise { from { transform: translateY(16px); opacity: 0; } to { transform: none; opacity: 1; } }
}

/* ---------- pay-for-parking web app ---------- */
.app-body { background: var(--paper); min-height: 100vh; }
.app { width: min(640px, 100% - 32px); margin: 0 auto; padding: 28px 0 80px; display: grid; gap: 18px; }
.app h1 { font-size: clamp(1.8rem, 5vw, 2.3rem); }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 20px; }
.panel.tight { padding: 0; overflow: hidden; }
.stack { display: grid; gap: 14px; }
.row { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; padding: 3px 0; }
.row.total { border-top: 1.5px solid var(--line); margin-top: 6px; padding-top: 10px; font-weight: 800; }
.tabs { display: flex; gap: 6px; overflow-x: auto; }
.tabs a { text-decoration: none; padding: 8px 14px; border-radius: 999px; font-weight: 600; color: var(--navy); background: #fff; border: 1px solid var(--line); white-space: nowrap; }
.tabs a[aria-current=page] { background: var(--navy); color: #fff; border-color: var(--navy); }
.list a.item { display: flex; gap: 14px; align-items: center; padding: 16px 18px; text-decoration: none; color: var(--ink); border-top: 1px solid var(--line); }
.list a.item:first-child { border-top: 0; }
.list a.item:hover { background: var(--sky-soft); }
.code { flex: none; min-width: 84px; text-align: center; background: var(--sign); color: #fff; border-radius: 8px; padding: 8px 8px 5px; font: 900 1rem/1 var(--display); letter-spacing: 0.04em; }
.item .name { font-weight: 700; }
.item .sub { color: var(--muted); font-size: 0.9rem; }
.item .now { margin-left: auto; text-align: right; font-weight: 700; white-space: nowrap; font-size: 0.95rem; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1.5px solid var(--line); background: #fff; border-radius: 12px; padding: 10px 14px; font: 700 1rem var(--body); color: var(--navy); cursor: pointer; text-align: left; }
.chip small { display: block; font-weight: 500; color: var(--muted); font-size: 0.85rem; }
.chip[aria-pressed=true] { background: var(--navy); border-color: var(--navy); color: #fff; }
.chip[aria-pressed=true] small { color: #B9CCE3; }
.note { border-radius: 12px; padding: 12px 14px; font-size: 0.95rem; }
.note.info { background: var(--sky-soft); color: var(--navy); }
.note.warn { background: #FFF4E0; color: var(--warn); }
.note.bad { background: #FDECEA; color: var(--bad); }
.note.ok { background: #E6F6EE; color: var(--ok); }
.timer { background: var(--navy); color: #fff; border-radius: var(--r-lg); padding: 24px; display: grid; gap: 10px; }
.timer.ended { background: var(--navy-2); }
.timer .big { font: 900 clamp(3rem, 12vw, 4.4rem)/1 var(--display); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.timer .bar { height: 6px; background: rgba(255,255,255,0.18); border-radius: 3px; overflow: hidden; }
.timer .bar span { display: block; height: 100%; background: var(--sky); }
.timer .meta { display: flex; justify-content: space-between; color: #A9C4E4; font-size: 0.93rem; }
.timer .meta b { color: #fff; }
.plate-input { display: flex; background: var(--plate); border: 2px solid #1A1A1A; border-radius: 8px; overflow: hidden; }
.plate-input b { width: 38px; background: #1F4FA8; color: #fff; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 8px; font: 800 0.8rem var(--body); }
.plate-input input { border: 0; border-radius: 0; background: transparent; height: 64px; text-align: center; font: 900 1.9rem/1 var(--display); letter-spacing: 0.1em; padding-top: 6px; }
.plate-input input:focus { box-shadow: none; }
.spinner { width: 22px; height: 22px; border: 3px solid var(--line); border-top-color: var(--navy); border-radius: 50%; animation: spin 0.8s linear infinite; display: inline-block; vertical-align: middle; }
@keyframes spin { to { transform: rotate(360deg); } }
.center { text-align: center; }
dialog.sheet { border: 0; border-radius: var(--r-lg); padding: 22px; width: min(520px, 100% - 24px); max-height: 92vh; overflow: auto; }
dialog.sheet::backdrop { background: rgba(14,42,77,0.5); }
#pay-element { margin: 6px 0 4px; min-height: 40px; }
