:root {
  --navy: #0e2a47;
  --navy-2: #163a5e;
  --magenta: #a8205f;
  --coral: #f2654a;
  --amber: #ffb547;
  --sea: #2b8fd6;
  --text: #1c2b3a;
  --muted: #5b6b7b;
  --line: #e2e6ea;
  --sunset: linear-gradient(180deg, var(--magenta), var(--amber));
  --sunset-x: linear-gradient(90deg, var(--magenta), var(--coral), var(--amber));
  --display: "Saira", "Bahnschrift", "DIN Alternate", system-ui, sans-serif;
  --sans: "Manrope", 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: #fff; color: var(--text); font-family: var(--sans); font-size: 16px; }
.wrap { width: 100%; max-width: 70rem; margin: 0 auto; padding: 0 1.25rem; }
@media (min-width: 768px) { .wrap { padding: 0 3rem; } }

/* thin sunset strip across the very top */
body::before { content: ""; display: block; height: 4px; background: var(--sunset-x); }

header .wrap { display: flex; align-items: center; justify-content: space-between; padding-top: 1.25rem; padding-bottom: 1.25rem; }
.brand { display: inline-flex; align-items: center; gap: 0.75rem; color: var(--navy); text-decoration: none; }
.brand img { width: 46px; height: 46px; display: block; }
.brand-name { display: flex; flex-direction: column; line-height: 1; }
.brand-name b { font-family: var(--display); font-weight: 500; font-size: 1.15rem; letter-spacing: 0.16em; }
.brand-name small { margin-top: 0.3rem; font-family: var(--display); font-weight: 500; font-size: 0.65rem; letter-spacing: 0.5em; color: var(--coral); }
.nav { font-family: var(--display); font-weight: 600; font-size: 0.85rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--navy); text-decoration: none; padding: 0.6rem 1.1rem; border: 1.5px solid var(--navy); border-radius: 999px; transition: background 0.2s, color 0.2s; }
.nav:hover { background: var(--navy); color: #fff; }

main { flex: 1; }
.hero .wrap { display: grid; gap: 2.5rem; align-items: center; padding-top: 2.5rem; padding-bottom: 3rem; }
@media (min-width: 900px) { .hero .wrap { grid-template-columns: 1.15fr 1fr; gap: 4rem; padding-top: 4rem; padding-bottom: 4.5rem; } }
.eyebrow { display: flex; align-items: center; gap: 0.75rem; font-family: var(--display); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.3em; text-transform: uppercase; color: var(--coral); margin-bottom: 1.25rem; }
.eyebrow::before { content: ""; width: 2rem; height: 3px; background: var(--sea); }
h1 { font-family: var(--display); font-weight: 600; font-size: clamp(2.6rem, 7vw, 4.6rem); line-height: 1.02; letter-spacing: -0.01em; color: var(--navy); }
h1 .glow { background: var(--sunset-x); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { margin-top: 1.5rem; max-width: 33rem; font-size: 1.1rem; line-height: 1.75; color: var(--muted); }
.actions { margin-top: 2rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.btn { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.95rem 1.6rem; border-radius: 999px; background: var(--coral); color: #fff; font-family: var(--display); font-weight: 600; font-size: 0.95rem; letter-spacing: 0.08em; text-decoration: none; box-shadow: 0 14px 30px -14px rgb(242 101 74 / 0.8); transition: transform 0.15s, background 0.2s; }
.btn:hover { background: var(--magenta); }
.btn:active { transform: scale(0.98); }
.soon { display: inline-flex; align-items: center; gap: 0.55rem; font-size: 0.9rem; font-weight: 600; color: var(--navy); }
.soon::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 4px rgb(255 181 71 / 0.25); }

.art { position: relative; justify-self: center; width: min(72%, 26rem); }
@media (min-width: 900px) { .art { width: min(100%, 26rem); } }
.art img { display: block; width: 100%; height: auto; }

.contact { position: relative; background: var(--navy); color: #e9eef4; }
.contact::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--sunset-x); }
.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.2fr; gap: 5rem; padding-top: 5rem; padding-bottom: 5rem; } }
h2 { font-family: var(--display); font-weight: 600; font-size: clamp(2rem, 4.5vw, 2.9rem); line-height: 1.08; color: #fff; }
.contact p.note { margin-top: 1rem; line-height: 1.7; color: rgb(233 238 244 / 0.75); max-width: 24rem; }
.contact .direct { margin-top: 1.75rem; font-size: 0.95rem; color: rgb(233 238 244 / 0.75); overflow-wrap: anywhere; }
.contact .direct a { color: #fff; font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--amber); }

form { background: var(--navy-2); border: 1px solid rgb(255 255 255 / 0.08); border-radius: 1.25rem; padding: 1.5rem; }
@media (min-width: 768px) { form { padding: 2rem; } }
label { display: block; margin-bottom: 1.25rem; font-family: var(--display); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: rgb(233 238 244 / 0.65); }
input, textarea { display: block; width: 100%; margin-top: 0.45rem; padding: 0.85rem 1rem; border: 1px solid rgb(255 255 255 / 0.18); border-radius: 0.7rem; background: rgb(255 255 255 / 0.06); color: #fff; font: 500 16px var(--sans); letter-spacing: normal; text-transform: none; }
input:focus, textarea:focus { outline: none; border-color: var(--amber); box-shadow: 0 0 0 3px rgb(255 181 71 / 0.3); }
textarea { resize: vertical; min-height: 7rem; }
.hp { position: absolute; left: -9999px; }
button { margin-top: 0.25rem; width: 100%; padding: 1rem; border: 0; border-radius: 999px; background: var(--sunset-x); color: #fff; font-family: var(--display); font-weight: 600; font-size: 1rem; letter-spacing: 0.1em; cursor: pointer; transition: filter 0.2s, transform 0.1s; }
button:hover { filter: brightness(1.08); }
button:active { transform: scale(0.99); }
button[disabled] { opacity: 0.6; cursor: wait; }
.status { margin-top: 1rem; min-height: 1.3rem; font-size: 0.95rem; font-weight: 600; }
.status.ok { color: #9fe0b5; }
.status.err { color: #ffb4a8; }

footer { background: var(--navy); border-top: 1px solid rgb(255 255 255 / 0.08); }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 1.5rem; padding-top: 1.4rem; padding-bottom: 1.4rem; font-size: 0.8rem; color: rgb(233 238 244 / 0.6); }

@keyframes fade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(24px) scale(0.98); } to { opacity: 1; transform: none; } }
.f { animation: fade 0.9s ease both; }
.f2 { animation-delay: 0.1s; } .f3 { animation-delay: 0.2s; } .f4 { animation-delay: 0.3s; }
.art img { animation: rise 1.1s cubic-bezier(0.2, 0.8, 0.2, 1) 0.15s both; }
@media (prefers-reduced-motion: reduce) { .f, .art img { animation: none; } }

/* ---- Header links ---- */
.links { display: flex; align-items: center; gap: 1.25rem; }
.navlink { font-family: var(--display); font-weight: 600; font-size: 0.85rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--navy); text-decoration: none; border-bottom: 2px solid transparent; }
.navlink:hover, .navlink[aria-current="page"] { border-color: var(--coral); }
.brand-name b { white-space: nowrap; }
@media (max-width: 440px) {
  .brand { gap: 0.55rem; }
  .brand img { width: 36px; height: 36px; }
  .brand-name b { font-size: 0.9rem; letter-spacing: 0.08em; }
  .brand-name small { letter-spacing: 0.4em; }
  .links { gap: 0.75rem; }
  .nav { padding: 0.45rem 0.7rem; font-size: 0.7rem; letter-spacing: 0.1em; }
  .navlink { font-size: 0.7rem; letter-spacing: 0.1em; }
}
.btn-ghost { display: inline-flex; align-items: center; font-family: var(--display); font-weight: 600; font-size: 0.95rem; letter-spacing: 0.08em; color: var(--navy); text-decoration: none; border-bottom: 2px solid var(--sea); padding-bottom: 2px; }
.btn-ghost:hover { border-color: var(--coral); }

/* ---- Driver application page (apply.html) ---- */
[hidden] { display: none !important; }
.page-intro .wrap { padding-top: 2.5rem; padding-bottom: 2.75rem; }
@media (min-width: 900px) { .page-intro .wrap { padding-top: 4rem; padding-bottom: 4rem; } }
.page-intro .lead { margin-top: 1.25rem; }

.apply { position: relative; flex: 1; background: var(--navy); color: #e9eef4; }
.apply::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--sunset-x); }
.apply .wrap { max-width: 54rem; padding-top: 3rem; padding-bottom: 4rem; }
@media (min-width: 768px) { .apply .wrap { padding-top: 4rem; padding-bottom: 5rem; } }
.apply form { color-scheme: dark; }

.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.75rem; margin: 1.25rem 0 1.25rem; font-family: var(--display); font-weight: 600; font-size: 1.1rem; letter-spacing: 0.14em; text-transform: uppercase; color: #fff; }
.form-section::before { content: ""; width: 1.5rem; height: 3px; background: var(--amber); }
.hp + .form-section { margin-top: 0; }
.opt { font-weight: 500; letter-spacing: 0.04em; text-transform: none; color: rgb(233 238 244 / 0.45); }

select { display: block; width: 100%; margin-top: 0.45rem; padding: 0.85rem 2.5rem 0.85rem 1rem; border: 1px solid rgb(255 255 255 / 0.18); border-radius: 0.7rem; background: rgb(255 255 255 / 0.06) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23ffb547' stroke-width='2'%3E%3Cpath d='m1 1 5 5 5-5'/%3E%3C/svg%3E") no-repeat right 1rem center; color: #fff; font: 500 16px var(--sans); letter-spacing: normal; text-transform: none; appearance: none; -webkit-appearance: none; }
select:focus { outline: none; border-color: var(--amber); box-shadow: 0 0 0 3px rgb(255 181 71 / 0.3); }
select option { color: var(--text); background: #fff; }

fieldset { min-width: 0; margin: 0 0 1.25rem; padding: 0; border: 0; }
legend { padding: 0; margin-bottom: 0.45rem; font-family: var(--display); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: rgb(233 238 244 / 0.65); }
.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.7rem 1.1rem; border: 1px solid rgb(255 255 255 / 0.18); border-radius: 999px; background: rgb(255 255 255 / 0.06); color: rgb(233 238 244 / 0.8); font-size: 0.78rem; letter-spacing: 0.14em; cursor: pointer; transition: background 0.15s, color 0.15s; }
.pills span:hover { border-color: rgb(255 255 255 / 0.4); }
.pills input:checked + span { background: #fff; border-color: #fff; color: var(--navy); }
.pills input:focus-visible + span { box-shadow: 0 0 0 3px rgb(255 181 71 / 0.5); }

.fine { margin-top: 1rem; font-size: 0.78rem; line-height: 1.65; color: rgb(233 238 244 / 0.5); }
.done { padding: 2.5rem 1.5rem; border-radius: 1.25rem; background: var(--navy-2); border: 1px solid rgb(255 255 255 / 0.08); text-align: center; }
.done:focus { outline: none; }
.done h2 { margin-bottom: 0.75rem; }
.done p { color: rgb(233 238 244 / 0.75); line-height: 1.7; }
.done .again { width: auto; margin-top: 1.5rem; padding: 0.75rem 1.5rem; background: transparent; border: 1.5px solid var(--amber); color: var(--amber); font-size: 0.85rem; }
.contact .direct + .direct { margin-top: 0.6rem; }

/* ---- 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; } }
.tags { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.75rem; }
.tags span { padding: 0.45rem 0.9rem; border: 1px solid var(--line); border-radius: 999px; background: #f4f6f9; color: var(--navy); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }

.section .wrap { padding-top: 3.5rem; padding-bottom: 4rem; }
@media (min-width: 900px) { .section .wrap { padding-top: 5rem; padding-bottom: 5.5rem; } }
.section.tint { background: #f4f6f9; }
.section h2 { color: var(--navy); }
.section h2 + .cards, .section .eyebrow + h2 + .cards { margin-top: 2.5rem; }
.sub { margin-top: 3.5rem; }

.cards { display: grid; gap: 1.25rem; margin-top: 1.5rem; }
@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.75rem; border: 1px solid var(--line); border-radius: 1.25rem; background: #fff; }
.card.dark { background: var(--navy); border-color: transparent; color: #e9eef4; }
.card .k { font-family: var(--display); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.25em; text-transform: uppercase; color: var(--muted); }
.card.dark .k { color: rgb(233 238 244 / 0.55); }
.card h3 { margin-top: 0.75rem; font-family: var(--display); font-weight: 600; font-size: 1.7rem; line-height: 1.05; color: var(--navy); }
.card.dark h3 { color: #fff; }
.card .big { font-family: var(--display); font-weight: 700; font-size: clamp(2rem, 2.6vw, 2.6rem); line-height: 1; background: var(--sunset-x); -webkit-background-clip: text; background-clip: text; color: transparent; }
.card p { margin-top: 0.75rem; line-height: 1.65; color: var(--muted); }
.card.dark p { color: rgb(233 238 244 / 0.72); }
.card ul { list-style: none; padding: 0; display: grid; gap: 0.6rem; font-size: 0.95rem; }
.card li { display: flex; align-items: center; gap: 0.6rem; }
.card li::before { content: ""; width: 7px; height: 7px; flex: none; background: var(--coral); transform: rotate(45deg); }
.card .btn { align-self: flex-start; white-space: nowrap; }
.card.dark .btn-ghost { color: #fff; }

.prose { max-width: 46rem; }
.prose h2 { margin: 2.25rem 0 0.75rem; font-size: 1.5rem; }
.prose p { margin-bottom: 0.8rem; line-height: 1.75; color: var(--muted); }
.prose a { color: var(--navy); font-weight: 600; }
.updated { margin-top: 1.25rem; font-family: var(--display); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.2em; 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: #fff; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: 0.06em; }
.fine a { color: inherit; }
