/* ParkSim website — asphalt, road paint and signage type. One dark look, set explicitly. */
:root {
  --asphalt: #121519;
  --asphalt-2: #191d22;
  --asphalt-3: #22272e;
  --paint: #ffd23f;        /* road-marking yellow, same as the in-game target bay */
  --paint-ink: #1b1600;
  --white-line: #eef0ea;
  --fg: #e9ecef;
  --muted: #a3abb5;
  --faint: #6f7883;
  --rule: rgba(238, 240, 234, 0.12);
  --good: #3ddc84;
  --radius: 14px;
  --display: 'Barlow Condensed', 'Arial Narrow', 'Roboto Condensed', system-ui, sans-serif;
  --body: 'Barlow', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--asphalt);
  /* faint aggregate texture */
  background-image: radial-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 5px 5px;
  color: var(--fg);
  font: 400 17px/1.6 var(--body);
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--paint); text-underline-offset: 3px; }
a:hover { color: #fff1b0; }
.wrap { width: min(1160px, 100%); margin: 0 auto; padding-inline: 20px; }
h1, h2, h3 { font-family: var(--display); line-height: 1.05; margin: 0; text-wrap: balance; letter-spacing: 0.005em; }
h1 { font-size: clamp(44px, 7vw, 84px); font-weight: 800; text-transform: uppercase; }
h2 { font-size: clamp(32px, 4.4vw, 50px); font-weight: 800; text-transform: uppercase; }
h3 { font-size: 24px; font-weight: 700; }
p { margin: 0; }
.lead { font-size: clamp(18px, 2vw, 21px); color: #cfd4da; max-width: 60ch; }
.muted { color: var(--muted); }
.eyebrow { font: 600 13px/1 var(--body); letter-spacing: 0.16em; text-transform: uppercase; color: var(--paint); }

/* buttons: painted like a bay marking */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font: 700 18px/1 var(--display); letter-spacing: 0.06em; text-transform: uppercase;
  padding: 16px 26px; border-radius: 10px; text-decoration: none; transition: transform 0.12s, background 0.12s;
}
.btn-paint { background: var(--paint); color: var(--paint-ink); box-shadow: 0 10px 30px -10px rgba(255, 210, 63, 0.55); }
.btn-paint:hover { background: #ffe07a; color: var(--paint-ink); transform: translateY(-2px); }
.btn-line { color: var(--fg); border: 2px solid var(--rule); }
.btn-line:hover { border-color: var(--paint); color: var(--fg); }
.btn svg { width: 18px; height: 18px; }

/* header */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: rgba(18, 21, 25, 0.86); backdrop-filter: blur(10px); border-bottom: 1px solid var(--rule); }
.top .wrap { display: flex; align-items: center; gap: 18px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--fg); text-decoration: none; font: 800 26px/1 var(--display); letter-spacing: 0.02em; text-transform: uppercase; }
.brand svg { width: 34px; height: 34px; flex: none; }
.nav { display: flex; gap: 22px; margin-left: auto; align-items: center; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 500; font-size: 15px; }
.nav a:hover { color: var(--fg); }
.nav .btn { padding: 10px 16px; font-size: 16px; }
.nav .lang { border: 1px solid var(--rule); border-radius: 8px; padding: 6px 10px; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; }
@media (max-width: 820px) { .nav a.opt { display: none; } .nav { gap: 12px; } }

/* hero */
.hero { padding-block: clamp(36px, 7vw, 84px) clamp(40px, 6vw, 72px); }
.hero .wrap { display: grid; grid-template-columns: 1.02fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.hero h1 .hl { color: var(--paint); }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.trust { display: flex; gap: 8px 20px; flex-wrap: wrap; list-style: none; padding: 0; margin: 0; color: var(--muted); font-size: 15px; }
.trust li::before { content: ''; display: inline-block; width: 14px; height: 3px; background: var(--paint); margin-right: 8px; vertical-align: middle; }
/* the screenshot sits in a painted parking bay */
.bay { position: relative; padding: 14px; min-width: 0; }
.bay::before { content: ''; position: absolute; inset: 0; border: 4px solid var(--paint); border-bottom: 0; border-radius: 6px 6px 0 0; opacity: 0.95; }
.bay img { border-radius: 8px; box-shadow: 0 30px 60px -25px rgba(0, 0, 0, 0.8); aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.bay .tag { position: absolute; left: 50%; bottom: -14px; transform: translateX(-50%); background: var(--paint); color: var(--paint-ink); font: 800 15px/1 var(--display); letter-spacing: 0.1em; text-transform: uppercase; padding: 7px 12px; border-radius: 6px; white-space: nowrap; }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; } }

/* dashed lane line between sections */
.lane { height: 4px; background: repeating-linear-gradient(90deg, var(--white-line) 0 46px, transparent 46px 84px); opacity: 0.22; margin-block: 0; }
section { padding-block: clamp(56px, 8vw, 96px); }
.sec-head { display: flex; flex-direction: column; gap: 14px; margin-bottom: 36px; max-width: 760px; }

/* real measurements: dimension lines */
.specs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.spec { background: var(--asphalt-2); border: 1px solid var(--rule); border-radius: var(--radius); padding: 22px 18px 18px; display: flex; flex-direction: column; gap: 10px; }
.spec .dim { position: relative; height: 12px; }
.spec .dim::before { content: ''; position: absolute; left: 0; right: 0; top: 5px; height: 2px; background: var(--paint); }
.spec .dim::after { content: ''; position: absolute; inset: 0; border-left: 2px solid var(--paint); border-right: 2px solid var(--paint); }
.spec b { font: 800 50px/1 var(--display); font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.spec b small { font-size: 22px; color: var(--muted); margin-left: 4px; font-weight: 700; }
.spec span { color: var(--muted); font-size: 15px; line-height: 1.35; }
@media (max-width: 980px) { .specs { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .specs { grid-template-columns: repeat(2, minmax(0, 1fr)); } .spec b { font-size: 40px; } }

/* scenes */
.scenes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.scene { display: flex; flex-direction: column; gap: 12px; }
.scene img { border-radius: 10px; aspect-ratio: 16 / 10; object-fit: cover; width: 100%; border: 1px solid var(--rule); }
.scene h3 { font-size: 26px; text-transform: uppercase; }
.scene p { color: var(--muted); font-size: 16px; }
@media (max-width: 900px) { .scenes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .scenes { grid-template-columns: 1fr; } }

/* learning path: numbered like painted bays */
.path { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; counter-reset: ch; }
.path li { display: grid; grid-template-columns: 58px 1fr; gap: 16px; align-items: start; padding: 18px 0; border-top: 1px solid var(--rule); counter-increment: ch; min-width: 0; }
.path li::before { content: counter(ch, decimal-leading-zero); font: 800 30px/1 var(--display); color: var(--paint); border: 2px solid var(--paint); border-bottom: 0; text-align: center; padding: 8px 0 6px; border-radius: 4px 4px 0 0; }
.path h3 { font-size: 22px; text-transform: uppercase; }
.path p { color: var(--muted); font-size: 15px; margin-top: 4px; }
@media (max-width: 760px) { .path { grid-template-columns: 1fr; } }

/* features */
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 36px; }
.feature { border-left: 3px solid var(--paint); padding-left: 18px; display: flex; flex-direction: column; gap: 6px; }
.feature p { color: var(--muted); font-size: 16px; }
@media (max-width: 900px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }

/* driving schools */
.schools { background: var(--asphalt-2); border: 1px solid var(--rule); border-radius: 20px; padding: clamp(28px, 5vw, 56px); display: grid; grid-template-columns: 1.1fr 1fr; gap: 36px; align-items: center; position: relative; overflow: hidden; }
.schools::after { content: 'P'; position: absolute; right: -10px; bottom: -70px; font: 800 300px/1 var(--display); color: rgba(255, 210, 63, 0.05); pointer-events: none; }
.schools ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.schools li { display: flex; gap: 12px; align-items: baseline; }
.schools li::before { content: ''; width: 16px; height: 3px; background: var(--paint); flex: none; transform: translateY(-4px); }
.schools .contact { font-size: 15px; color: var(--muted); margin-top: 6px; }
@media (max-width: 860px) { .schools { grid-template-columns: 1fr; } }

/* guide cards */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.card { background: var(--asphalt-2); border: 1px solid var(--rule); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--fg); display: flex; flex-direction: column; transition: border-color 0.12s, transform 0.12s; }
.card:hover { border-color: var(--paint); color: var(--fg); transform: translateY(-3px); }
.card img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.card div { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 8px; }
.card h3 { font-size: 23px; text-transform: uppercase; }
.card p { color: var(--muted); font-size: 15px; }
@media (max-width: 900px) { .cards { grid-template-columns: 1fr; } }

/* FAQ */
.faq { display: flex; flex-direction: column; max-width: 860px; }
.faq details { border-top: 1px solid var(--rule); padding: 18px 0; }
.faq details:last-child { border-bottom: 1px solid var(--rule); }
.faq summary { cursor: pointer; font: 700 23px/1.2 var(--display); text-transform: uppercase; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--paint); font-size: 30px; line-height: 0.8; }
.faq details[open] summary::after { content: '–'; }
.faq p { color: #c8ced5; margin-top: 10px; max-width: 70ch; }

/* final call to action */
.final { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 22px; }

/* footer */
footer { border-top: 1px solid var(--rule); padding-block: 36px 48px; color: var(--muted); font-size: 15px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; }
footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--fg); }

/* articles (guides, privacy) */
.crumbs { font-size: 14px; color: var(--faint); display: flex; gap: 8px; flex-wrap: wrap; padding-top: 28px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.article { max-width: 760px; padding-block: 18px 40px; display: flex; flex-direction: column; gap: 24px; }
.article h1 { font-size: clamp(40px, 6vw, 66px); }
.article h2 { font-size: clamp(28px, 3.6vw, 38px); margin-top: 18px; }
.article p, .article li { color: #d3d8de; }
.article .figure img { border-radius: 12px; border: 1px solid var(--rule); aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.steps { list-style: none; padding: 0; margin: 0; counter-reset: st; display: flex; flex-direction: column; gap: 18px; }
.steps li { display: grid; grid-template-columns: 52px 1fr; gap: 16px; counter-increment: st; }
.steps li::before { content: counter(st); font: 800 30px/52px var(--display); text-align: center; width: 52px; height: 52px; border-radius: 10px; background: var(--paint); color: var(--paint-ink); }
.steps h3 { font-size: 23px; text-transform: uppercase; margin-bottom: 4px; }
.mistakes { padding-left: 20px; display: flex; flex-direction: column; gap: 10px; }
.mistakes li::marker { color: var(--paint); }
.practice { background: var(--asphalt-2); border: 1px solid var(--rule); border-left: 4px solid var(--paint); border-radius: 12px; padding: 22px 24px; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.related { display: flex; flex-direction: column; gap: 8px; }
.ad { margin-block: 12px; min-height: 0; }
