:root {
  --navy: #0a0f2a;
  --navy-2: #121a3d;
  --coral: #f4533b;
  --cream: #efe8da;
  --white: #ffffff;
  --muted: #a9b0cc;
  color-scheme: dark;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--navy); color: var(--white); font: 500 17px/1.5 Barlow, "Segoe UI", system-ui, sans-serif; }
.hero { display: block; width: 100%; height: auto; max-width: 1280px; margin: 0 auto; }
main { max-width: 960px; margin: 0 auto; padding: 40px 16px 56px; display: grid; gap: 28px; }
main.narrow { max-width: 560px; }
h1 { margin: 0; font: italic 800 clamp(28px, 6vw, 44px)/1.05 Kanit, Impact, sans-serif; text-transform: uppercase; text-align: center; }
h1 span { color: var(--coral); }
.lead { margin: -12px 0 0; text-align: center; color: var(--muted); }
/* Flex + centred wrap: 5 tiles sit in one row on desktop, and the odd tile on phones is centred, not stranded left. */
.tiles { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.tile { flex: 0 1 160px; display: grid; justify-items: center; gap: 10px; padding: 22px 12px; border-radius: 16px; background: var(--navy-2); border: 2px solid transparent; color: var(--white); text-decoration: none; transition: transform .15s, border-color .15s; }
.tile:hover, .tile:focus-visible { border-color: var(--coral); transform: translateY(-3px); outline: none; }
.tile svg { width: 44px; height: 44px; fill: var(--white); }
.tile:hover svg { fill: var(--coral); }
.tile b { font: italic 800 20px/1 Kanit, Impact, sans-serif; text-transform: uppercase; }
.tile small { color: var(--muted); font-size: 14px; }
.cta-row { display: grid; justify-items: center; gap: 12px; color: var(--cream); text-align: center; }
.btn { display: inline-block; border: 0; border-radius: 12px; padding: 14px 26px; background: var(--coral); color: var(--white); font: italic 800 20px/1 Kanit, Impact, sans-serif; text-transform: uppercase; text-decoration: none; cursor: pointer; }
.btn:hover, .btn:focus-visible { background: #ff6a52; outline: 2px solid var(--white); outline-offset: 2px; }
.btn:disabled { opacity: .5; cursor: progress; }
.bar { display: flex; justify-content: center; padding: 20px 16px 0; }
.form { display: grid; gap: 20px; }
.form label { display: grid; gap: 6px; font-weight: 600; }
.form small { color: var(--muted); font-weight: 500; }
.form input[type=text], .form input[type=file] { width: 100%; padding: 12px; border-radius: 10px; border: 2px solid var(--navy-2); background: var(--navy-2); color: var(--white); font: inherit; }
.form input:focus-visible { outline: none; border-color: var(--coral); }
.form .check { grid-template-columns: auto 1fr; align-items: start; gap: 12px; font-weight: 500; font-size: 14px; color: var(--cream); }
.form .check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--coral); }
progress { width: 100%; height: 10px; accent-color: var(--coral); }
#msg { margin: 0; text-align: center; min-height: 1.5em; color: var(--cream); }
footer { text-align: center; color: var(--muted); font-size: 13px; padding: 0 16px 32px; }
footer a { color: var(--muted); }
@media (prefers-reduced-motion: reduce) { .tile { transition: none; } }
