:root {
  --paper: #e9eaec;
  --paper-2: #dcdee1;
  --card: #f6f7f8;
  --ink: #26292e;
  --muted: #5b6068;
  --signal: #f5b400;
  --stripe: #f5b400;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; margin: 0; }
html { -webkit-font-smoothing: antialiased; }
body { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 17px; }
.wrap { width: 100%; max-width: 72rem; margin: 0 auto; padding: 0 1rem; }
@media (min-width: 768px) { .wrap { padding: 0 2.5rem; } }

header { border-bottom: 3px solid var(--ink); }
.brand { display: inline-flex; align-items: center; gap: 0.7rem; text-decoration: none; }
.brand .mark { display: block; width: 2.9rem; height: 2.9rem; margin: -0.3rem 0; }
header .wrap { display: flex; align-items: center; justify-content: space-between; padding-top: 1rem; padding-bottom: 1rem; }
.logo { display: inline-flex; align-items: stretch; border: 3px solid var(--ink); background: var(--paper); text-decoration: none; color: var(--ink); font-family: var(--display); font-weight: 800; text-transform: uppercase; line-height: 1; }
/* Munja means lightning: the edge between the two words is a bolt. */
.logo .box { position: relative; z-index: 1; margin: -1px 0 -1px -1px; background: var(--ink); color: var(--paper); padding: 0.3rem 1.7rem 0.2rem 0.6rem; font-size: 1.6rem; letter-spacing: 0.04em;
  clip-path: polygon(0 0, 100% 0, calc(100% - 15px) 60%, calc(100% - 3px) 40%, calc(100% - 21px) 100%, 0 100%); }
.logo .word { margin-left: -14px; padding: 0.3rem 0.65rem 0.2rem 1.2rem; font-size: 1.6rem; letter-spacing: 0.08em; display: flex; align-items: center; }
.call { font-family: var(--display); font-weight: 700; font-size: 1rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink); text-decoration: none; border-bottom: 3px solid var(--signal); padding-bottom: 2px; }
.call:hover { border-color: var(--ink); }

.hero { padding: 3.5rem 0 3rem; }
@media (min-width: 768px) { .hero { padding: 5.5rem 0 4.5rem; } }
.kicker { display: inline-block; background: var(--signal); color: var(--ink); font-family: var(--display); font-weight: 700; font-size: 0.95rem; letter-spacing: 0.16em; text-transform: uppercase; padding: 0.35rem 0.75rem; margin-bottom: 1.5rem; }
h1 { font-family: var(--display); font-weight: 800; text-transform: uppercase; line-height: 0.88; letter-spacing: -0.005em; font-size: clamp(3.4rem, 13vw, 8.5rem); }
/* yellow is too light for text on grey, so the highlight is a marker stripe behind the words */
h1 .hl { background: linear-gradient(transparent 52%, var(--signal) 52% 90%, transparent 90%); padding: 0 0.06em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.hero .wrap { display: grid; align-items: center; gap: 2rem; }
.hero-mark { display: none; }
@media (min-width: 900px) { .hero .wrap { grid-template-columns: 1fr auto; } .hero-mark { display: block; width: clamp(15rem, 26vw, 21rem); height: auto; } }
.lead { margin-top: 1.75rem; max-width: 36rem; font-size: 1.15rem; line-height: 1.6; color: var(--muted); }

/* Hazard stripe band */
.band { height: 22px; background: repeating-linear-gradient(-45deg, var(--ink) 0 18px, var(--stripe) 18px 36px); border-top: 3px solid var(--ink); border-bottom: 3px solid var(--ink); }

.contact { background: var(--paper-2); flex: 1; }
.contact .wrap { display: grid; gap: 2.5rem; padding-top: 3.5rem; padding-bottom: 4rem; }
@media (min-width: 900px) { .contact .wrap { grid-template-columns: 1fr 1.3fr; gap: 4rem; } }
h2 { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(2.2rem, 6vw, 3.25rem); line-height: 0.95; }
.contact p.note { margin-top: 1rem; color: var(--muted); line-height: 1.6; max-width: 26rem; }
.facts { margin-top: 1.75rem; display: grid; gap: 0.75rem; }
.fact { display: flex; gap: 0.75rem; align-items: baseline; font-family: var(--display); font-weight: 700; font-size: 1.15rem; text-transform: uppercase; letter-spacing: 0.06em; }
.fact::before { content: ""; flex: none; width: 14px; height: 14px; background: var(--signal); transform: translateY(1px); }

form { background: var(--card); border: 3px solid var(--ink); box-shadow: 8px 8px 0 var(--ink); padding: 1.5rem; }
@media (min-width: 768px) { form { padding: 2rem; } }
@media (max-width: 420px) { .brand .mark { display: none; } }
.row { display: grid; gap: 0 1rem; }
@media (min-width: 600px) { .row { grid-template-columns: 1fr 1fr; } }
label { display: block; margin-bottom: 1.1rem; font-family: var(--display); font-weight: 700; font-size: 0.9rem; letter-spacing: 0.14em; text-transform: uppercase; }
input, textarea { display: block; width: 100%; margin-top: 0.4rem; padding: 0.8rem 0.9rem; border: 2px solid var(--ink); border-radius: 0; background: #fff; color: var(--ink); font: 500 16px var(--body); }
input:focus, textarea:focus { outline: 3px solid var(--signal); outline-offset: 0; }
textarea { resize: vertical; min-height: 7.5rem; }
.hp { position: absolute; left: -9999px; }
button { width: 100%; padding: 1rem; border: 0; background: var(--ink); color: var(--paper); font-family: var(--display); font-weight: 800; font-size: 1.15rem; letter-spacing: 0.18em; text-transform: uppercase; cursor: pointer; transition: background 0.2s; }
button:hover { background: var(--signal); color: var(--ink); }
button[disabled] { opacity: 0.6; cursor: wait; }
.status { margin-top: 0.9rem; min-height: 1.3rem; font-weight: 600; font-size: 15px; }
.status.ok { color: #2f7d32; }
.status.err { color: #c0261b; }

footer { background: var(--ink); color: rgb(243 238 228 / 0.7); }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 1.5rem; padding-top: 1.25rem; padding-bottom: 1.25rem; font-family: var(--display); font-weight: 600; font-size: 0.9rem; letter-spacing: 0.14em; text-transform: uppercase; }

@keyframes slide { from { opacity: 0; transform: translateX(-18px); } to { opacity: 1; transform: none; } }
.in { animation: slide 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.in2 { animation-delay: 0.1s; } .in3 { animation-delay: 0.2s; }
@media (prefers-reduced-motion: reduce) { .in { animation: none; } }

/* ---- Header links ---- */
.links { display: flex; align-items: center; gap: 1.25rem; }
.call[aria-current="page"] { border-color: var(--ink); }
@media (max-width: 440px) {
  .logo .box, .logo .word { font-size: 1.3rem; }
  .links { gap: 0.85rem; }
  .call { font-size: 0.85rem; letter-spacing: 0.08em; }
}
.fact a { color: inherit; text-decoration: none; border-bottom: 3px solid var(--signal); }
.fact a:hover { border-color: var(--ink); }

/* ---- Driver application page (apply.html) ---- */
[hidden] { display: none !important; }
.page-hero h1 { font-size: clamp(3rem, 10vw, 6.5rem); }
.apply { background: var(--paper-2); flex: 1; }
.apply .wrap { max-width: 56rem; padding-top: 3rem; padding-bottom: 4.5rem; }
@media (min-width: 768px) { .apply .wrap { padding-top: 4rem; padding-bottom: 5.5rem; } }

.grid { display: grid; gap: 0 1.25rem; }
@media (min-width: 640px) { .grid { grid-template-columns: 1fr 1fr; } .grid .full { grid-column: 1 / -1; } }
.form-section { grid-column: 1 / -1; display: flex; align-items: center; gap: 0.7rem; margin: 1.5rem 0 1.1rem; padding-top: 1.25rem; border-top: 2px solid var(--ink); font-family: var(--display); font-weight: 800; font-size: 1.5rem; line-height: 1; letter-spacing: 0.04em; text-transform: uppercase; }
.form-section::before { content: ""; flex: none; width: 14px; height: 14px; background: var(--signal); }
.hp + .form-section { margin-top: 0; padding-top: 0; border-top: 0; }
.opt { font-weight: 600; letter-spacing: 0.04em; text-transform: none; color: var(--muted); }

select { display: block; width: 100%; margin-top: 0.4rem; padding: 0.8rem 2.4rem 0.8rem 0.9rem; border: 2px solid var(--ink); border-radius: 0; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%2326292e' stroke-width='2.5'%3E%3Cpath d='m1 1 5 5 5-5'/%3E%3C/svg%3E") no-repeat right 0.9rem center; color: var(--ink); font: 500 16px var(--body); letter-spacing: normal; text-transform: none; appearance: none; -webkit-appearance: none; }
select:focus { outline: 3px solid var(--signal); outline-offset: 0; }

fieldset { min-width: 0; margin: 0 0 1.1rem; padding: 0; border: 0; }
legend { padding: 0; margin-bottom: 0.4rem; font-family: var(--display); font-weight: 700; font-size: 0.9rem; letter-spacing: 0.14em; text-transform: uppercase; }
.pills { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.pills label { position: relative; margin: 0; }
.pills input { position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; }
.pills span { display: inline-block; padding: 0.65rem 1rem; border: 2px solid var(--ink); background: #fff; font-size: 0.95rem; letter-spacing: 0.1em; cursor: pointer; transition: background 0.15s, color 0.15s; }
.pills span:hover { background: var(--paper); }
.pills input:checked + span { background: var(--ink); color: var(--paper); }
.pills input:focus-visible + span { outline: 3px solid var(--signal); }

.fine { margin-top: 1rem; font-size: 0.85rem; line-height: 1.6; color: var(--muted); }
.done { padding: 2.5rem 1.5rem; background: var(--card); border: 3px solid var(--ink); box-shadow: 8px 8px 0 var(--ink); text-align: center; }
.done:focus { outline: none; }
.done h2 { margin-bottom: 0.75rem; }
.done p { color: var(--muted); line-height: 1.6; }
.done .again { width: auto; margin-top: 1.5rem; padding: 0.8rem 1.5rem; font-size: 0.95rem; }

/* ---- Full site: nav, sections, cards, legal pages, footer ---- */
header .wrap { flex-wrap: wrap; gap: 0.75rem 1.5rem; }
@media (max-width: 600px) { .links { width: 100%; justify-content: space-between; } }
.actions { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 0.9rem; }
.btn { display: inline-block; white-space: nowrap; align-self: flex-start; padding: 0.85rem 1.4rem; border: 2px solid var(--ink); background: var(--signal); color: var(--ink); font-family: var(--display); font-weight: 800; font-size: 1rem; letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none; transition: background 0.2s, color 0.2s; }
.btn:hover { background: var(--ink); color: var(--paper); }
.btn.alt { background: var(--ink); color: var(--paper); }
.btn.alt:hover { background: var(--signal); color: var(--ink); }
.tags { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.5rem; }
.tags span { padding: 0.35rem 0.7rem; border: 2px solid var(--ink); background: var(--card); font-family: var(--display); font-weight: 700; font-size: 0.95rem; letter-spacing: 0.12em; text-transform: uppercase; }

.section .wrap { padding-top: 3.5rem; padding-bottom: 4rem; }
@media (min-width: 900px) { .section .wrap { padding-top: 4.5rem; padding-bottom: 5rem; } }
.section.alt { background: var(--paper-2); }
.sub { margin-top: 3.5rem; }

.cards { display: grid; gap: 1.5rem; margin-top: 2rem; }
@media (min-width: 640px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .cards.four { grid-template-columns: repeat(4, 1fr); } .cards.three { grid-template-columns: repeat(3, 1fr); } }
.card { display: flex; flex-direction: column; justify-content: space-between; gap: 1.5rem; min-height: 15rem; padding: 1.5rem; border: 3px solid var(--ink); background: var(--card); box-shadow: 6px 6px 0 var(--ink); }
.card.dark { background: var(--ink); color: var(--paper); }
.card .k { font-family: var(--display); font-weight: 700; font-size: 0.85rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.card.dark .k { color: rgb(233 234 236 / 0.6); }
.card h3 { margin-top: 0.6rem; font-family: var(--display); font-weight: 800; font-size: 2rem; line-height: 0.95; text-transform: uppercase; }
.card .big { font-family: var(--display); font-weight: 800; font-size: clamp(2.4rem, 3.2vw, 3rem); line-height: 0.9; text-transform: uppercase; }
.card .big .hl { background: linear-gradient(transparent 55%, var(--signal) 55% 92%, transparent 92%); }
.card p { margin-top: 0.7rem; line-height: 1.55; color: var(--muted); }
.card.dark p { color: rgb(233 234 236 / 0.75); }
.card ul { list-style: none; padding: 0; display: grid; gap: 0.6rem; font-family: var(--display); font-weight: 700; font-size: 1.05rem; letter-spacing: 0.06em; text-transform: uppercase; }
.card li { display: flex; align-items: center; gap: 0.6rem; }
.card li::before { content: ""; width: 10px; height: 10px; flex: none; background: var(--signal); }
.card.dark .btn:hover { background: var(--paper); color: var(--ink); }

.prose { max-width: 46rem; }
.prose h2 { margin: 2.25rem 0 0.75rem; font-size: 1.9rem; }
.prose p { margin-bottom: 0.8rem; line-height: 1.7; color: var(--muted); }
.prose a { color: var(--ink); font-weight: 600; }
.updated { margin-top: 1.25rem; font-family: var(--display); font-weight: 700; font-size: 0.9rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }

.foot-links { display: flex; flex-wrap: wrap; gap: 0.4rem 1.25rem; }
footer a { color: inherit; text-decoration: none; }
footer a:hover { color: var(--signal); }
.fine a { color: inherit; }
