/* CarPlateBook site v0.1.1 */
@font-face { font-family: "Plate"; src: url("/vendor/fonts/barlow-condensed-800.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Plate"; src: url("/vendor/fonts/barlow-condensed-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/vendor/fonts/inter-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/vendor/fonts/inter-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/vendor/fonts/inter-800.woff2") format("woff2"); font-weight: 800; font-display: swap; }

:root {
  --navy: #0B1426; --deep: #070D1A; --lift: #17284A; --plate: #F7C948; --ukblue: #1D4FA8;
  --text: #EEF2F8; --muted: #9AA7BD; --soft: #C9D2E0; --good: #3DDC97; --line: rgba(255,255,255,.10);
  --card: rgba(255,255,255,.05); --bg: var(--navy); color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { overflow-x: hidden; }
.hero > * { min-width: 0; }
html { scroll-behavior: smooth; }
body { margin: 0; background: radial-gradient(1200px 700px at 50% -10%, #17284A 0%, var(--bg) 55%, var(--deep) 100%) fixed; background-color: var(--bg);
  color: var(--text); font: 400 17px/1.55 Inter, system-ui, -apple-system, Segoe UI, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: var(--plate); text-decoration: none; } a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.1; margin: 0 0 .4em; letter-spacing: -.01em; }
h2 { font-size: clamp(28px, 4vw, 44px); font-weight: 800; }
.small { font-size: 14px; color: var(--muted); } .center { text-align: center; }
.kicker { font: 700 13px/1 Inter, sans-serif; letter-spacing: .14em; color: var(--plate); margin: 0 0 14px; }

.top { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 12px clamp(16px, 4vw, 48px); background: rgba(7,13,26,.72); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font: 700 20px/1 Plate, Inter, sans-serif; letter-spacing: .02em; }
.brand img { border-radius: 8px; } .brand b { color: var(--plate); }
.top nav { display: flex; gap: clamp(12px, 2.4vw, 28px); font-size: 15px; } .top nav a { color: var(--soft); }
@media (max-width: 640px) { .top nav a:not(:last-child) { display: none; } }

/* hero: real garage photo, the visitor's registration mapped onto its plate in perspective */
.hero { width: min(1240px, 100%); margin: 0 auto; padding: clamp(24px, 5vw, 64px) clamp(16px, 4vw, 48px) 0;
  display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
@media (max-width: 900px) { .hero { grid-template-columns: 1fr; } .photo { order: -1; } }
.photo { position: relative; aspect-ratio: 1; border-radius: 32px; overflow: hidden; border: 1px solid var(--line);
  box-shadow: 0 40px 120px rgba(0,0,0,.55), 0 0 0 1px rgba(247,201,72,.08); background: #111; perspective: 1200px; }
.photo .garage { width: 100%; height: 100%; display: block; object-fit: cover; transform-origin: 50% 70%; }
.photo canvas { position: absolute; left: 0; top: 0; transform-origin: 0 0; pointer-events: none; }
#plateRefl { opacity: .32; filter: blur(1.2px); }
.photo .headlights { position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: radial-gradient(18% 9% at 20% 47%, rgba(255,246,214,.9), transparent 70%), radial-gradient(18% 9% at 48% 47%, rgba(255,246,214,.9), transparent 70%), radial-gradient(18% 9% at 78% 47%, rgba(255,246,214,.9), transparent 70%); mix-blend-mode: screen; }
.photo.drive .garage { animation: dolly 1.9s cubic-bezier(.2,.7,.2,1) both; }
.photo.drive .headlights { animation: flash 1.9s ease-out both; }
@keyframes dolly { 0% { transform: scale(1.32) translateY(-5%); filter: brightness(.25) blur(5px); } 55% { filter: brightness(.9) blur(0); } 100% { transform: none; filter: none; } }
@keyframes flash { 0%, 35% { opacity: 0; } 55% { opacity: .9; } 100% { opacity: 0; } }
.photo.drive canvas { animation: platein 1.9s ease-out both; }
@keyframes platein { 0%, 40% { opacity: 0; } 70%, 100% { opacity: 1; } }
.photo.drive #plateRefl { animation: reflin 1.9s ease-out both; }
@keyframes reflin { 0%, 45% { opacity: 0; } 100% { opacity: .32; } }
.hero h1 { font: 800 clamp(40px, 6vw, 78px)/.98 Inter, sans-serif; letter-spacing: -.03em; }
.hero h1 span { color: var(--plate); }
.lead { font-size: clamp(18px, 2vw, 22px); color: var(--soft); margin: 0 0 18px; }
.plate-form { display: flex; flex-wrap: wrap; gap: 12px; align-items: stretch; }
.plate { display: flex; align-items: stretch; height: 64px; width: min(360px, 100%); background: var(--plate); border: 3px solid #0c0c0c; border-radius: 10px; overflow: hidden;
  box-shadow: 0 10px 40px rgba(247,201,72,.25); }
.plate .band { width: 44px; background: var(--ukblue); color: #fff; font: 700 15px/1 Inter, sans-serif; display: grid; place-items: end center; padding-bottom: 8px; }
.plate input { flex: 1; min-width: 0; border: 0; background: transparent; font: 800 44px/1 Plate, sans-serif; letter-spacing: .04em; text-align: center; color: #0c0c0c; text-transform: uppercase; outline: none; }
.plate input::placeholder { color: rgba(0,0,0,.28); }
.btn { height: 64px; padding: 0 28px; border: 0; border-radius: 999px; background: var(--plate); color: var(--navy); font: 800 18px/1 Inter, sans-serif; cursor: pointer; }
.btn:hover { filter: brightness(1.06); } .btn:focus-visible, .plate:focus-within { outline: 3px solid #fff; outline-offset: 3px; }
.note { font-size: 13px; color: var(--muted); margin: 10px 0 18px; }
.stores { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.badge-soon { padding: 10px 16px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.06); font-weight: 600; font-size: 15px; }
.ghost { color: var(--soft); }

/* sections */
.band-section, .split, .legal main { width: min(1100px, 100%); margin: 0 auto; padding: clamp(56px, 9vw, 110px) clamp(16px, 4vw, 48px) 0; }
.grid3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin-top: 28px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 24px; }
.card h3 { font-size: 20px; } .card p { color: var(--soft); margin: 0; font-size: 16px; }
.ico { font-size: 28px; margin-bottom: 10px; }
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.split-img img { width: 100%; height: auto; border-radius: 28px; border: 1px solid var(--line); display: block; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }
.ticks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 14px; }
.ticks li { padding-left: 32px; position: relative; color: var(--soft); }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%; background: rgba(61,220,151,.18); color: var(--good); font-weight: 800; display: grid; place-items: center; font-size: 13px; }
.ticks b { color: var(--text); }
.price { text-align: left; } .card .amount { font: 800 44px/1 Inter, sans-serif; color: var(--text) !important; margin: 6px 0 12px !important; }
.price.hi { border-color: rgba(247,201,72,.6); background: linear-gradient(160deg, rgba(247,201,72,.16), rgba(247,201,72,.04)); }
.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; } .faq summary { cursor: pointer; font-weight: 600; font-size: 18px; }
.faq details p { color: var(--soft); }

.foot { margin-top: clamp(64px, 10vw, 120px); padding: 32px clamp(16px, 4vw, 48px) 40px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; text-align: center; }
.foot nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; margin-bottom: 14px; } .foot a { color: var(--soft); }

.phones { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, 1fr); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 28px 2px 8px; }
.phones figure { margin: 0; scroll-snap-align: center; text-align: center; }
.phones img { width: 100%; height: auto; border-radius: 34px; border: 6px solid #1c2537; box-shadow: 0 24px 60px rgba(0,0,0,.45); display: block; }
.phones figcaption { margin-top: 12px; color: var(--soft); font-weight: 600; font-size: 15px; }
@media (max-width: 700px) { .phones { grid-auto-columns: 68%; } }

/* legal pages */
.legal main { max-width: 820px; padding-top: 48px; }
.legal h1 { font: 800 clamp(32px, 5vw, 48px)/1.05 Inter, sans-serif; }
.legal h2 { font-size: 22px; margin-top: 2em; } .legal p, .legal li { color: var(--soft); }
.legal .meta { color: var(--muted); font-size: 14px; }
.legal table { border-collapse: collapse; width: 100%; font-size: 15px; } .legal td, .legal th { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.legal .top { background: rgba(7,13,26,.85); }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
