/* ParkShift marketing site — direction A ("road-sign blue"), matching the app. */
:root {
    --brand: #1546a0;
    --brand-dark: #0d2f6e;
    --brand-soft: #e3ecfa;
    --page: #f2f5fa;
    --ink: #10203a;
    --muted: #4f5d73;
    --line: #dbe3ef;
    --field: #b4c2d8;
    --danger: #b3261e;
    --danger-soft: #fde4e2;
    --ok: #1f7a4d;
    color-scheme: light;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--page); color: var(--ink); font: 400 16px/1.5 Rubik, system-ui, sans-serif; }
.wrap { max-width: 1040px; margin: 0 auto; padding-inline: max(16px, env(safe-area-inset-left)) max(16px, env(safe-area-inset-right)); }
.muted { color: var(--muted); font-weight: 400; }
a { color: var(--brand); }

.topbar { background: var(--brand); color: #fff; }
.topbar-in { display: flex; justify-content: space-between; align-items: center; padding-block: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 700; font-size: 18px; }
.brand-mark { display: flex; width: 36px; height: 36px; align-items: center; justify-content: center; border: 3px solid #fff; border-radius: 8px; font-size: 20px; }
.topbar-link { color: #fff; font-size: 15px; }

.intro { padding-block: 40px 8px; }
.intro h1 { margin: 0 0 8px; font-size: 32px; line-height: 1.2; text-wrap: balance; }
.intro p { margin: 0; max-width: 640px; color: var(--muted); }

.alert { margin-top: 20px; border: 1px solid var(--danger); background: var(--danger-soft); color: var(--danger); border-radius: 12px; padding: 12px 16px; font-size: 15px; }

.layout { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; padding-block: 24px 40px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 16px; }
.form { flex: 999 1 420px; min-width: 0; padding: 28px; display: flex; flex-direction: column; gap: 28px; }
.price { flex: 1 1 280px; padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.price h2 { margin: 0; font-size: 18px; }
.price p { margin: 0; font-size: 14px; }
.row { display: flex; justify-content: space-between; font-size: 15px; }
.row.total { border-top: 1px solid var(--line); padding-top: 12px; font-size: 20px; font-weight: 700; }

fieldset { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
legend { font-size: 18px; font-weight: 700; margin-bottom: 8px; padding: 0; }
.hint { margin: -8px 0 0; font-size: 14px; }
.grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field > label, .label { font-size: 14px; font-weight: 500; }
input, textarea { width: 100%; height: 48px; border: 1px solid var(--field); border-radius: 12px; padding: 0 12px; font: inherit; color: var(--ink); background: #fff; }
textarea { height: auto; padding: 10px 12px; resize: vertical; }
input:focus, textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgb(21 70 160 / 25%); }
input[dir="ltr"] { text-align: left; }
[aria-invalid="true"] { border-color: var(--danger); }
.field-error { margin: 0; color: var(--danger); font-size: 14px; }

.choices { display: flex; flex-wrap: wrap; gap: 12px; }
.choice { display: flex; align-items: center; gap: 8px; height: 48px; padding: 0 16px; border: 1px solid var(--field); border-radius: 12px; cursor: pointer; }
.choice input { width: auto; height: auto; accent-color: var(--brand); }
.choice:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); }

.consent { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; flex-wrap: wrap; }
.consent input { width: auto; height: auto; margin-top: 4px; accent-color: var(--brand); }
.consent .field-error { flex-basis: 100%; }

.submit { height: 52px; border: 0; border-radius: 12px; background: var(--brand); color: #fff; font: 700 18px Rubik, sans-serif; cursor: pointer; }
.submit:hover { background: var(--brand-dark); }
.submit:disabled { opacity: .7; cursor: wait; }
.submit:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

.honeypot { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }

.thanks { max-width: 560px; margin: 40px auto; padding: 32px; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.thanks h1 { margin: 0; font-size: 24px; }
.thanks p { margin: 0; }
.check { display: flex; width: 64px; height: 64px; align-items: center; justify-content: center; border-radius: 50%; background: var(--ok); color: #fff; }

.footer { padding-block: 0 40px; font-size: 14px; color: var(--muted); }
