:root {
  --green: #009440;
  --yellow: #FFCB00;
  --navy: #262485;
  --navy-deep: #1a1866;
  --ink: #262485;
  --muted: #5B5B78;
  --surface: #FFFFFF;
  --sand: #FFF8E1;
  --line: #E3E2EF;
  --danger: #B3261E;
  --display: "Anton", "Bebas Neue", Impact, sans-serif;
  --sans: "Inter", system-ui, -apple-system, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
:root { color-scheme: light; }
body {
  background: var(--surface);
  color: var(--ink);
  font: 16px/1.5 var(--sans);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--navy); }
button { font: inherit; cursor: pointer; }

/* Header */
.top {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 10px 16px;
  background: var(--surface); border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 700; color: var(--navy); }
.brand img { display: block; }
.top-right { display: flex; align-items: center; gap: 10px; }
.lang { display: inline-flex; border: 2px solid var(--navy); border-radius: 4px; overflow: hidden; }
.lang button {
  border: 0; background: var(--surface); color: var(--navy);
  font-weight: 700; padding: 6px 12px; font-size: 14px; letter-spacing: .04em;
}
.lang button[aria-pressed="true"] { background: var(--navy); color: #fff; }
.link-btn { background: none; border: 0; color: var(--navy); font-weight: 600; text-decoration: underline; padding: 6px 2px; }

main { max-width: 640px; margin: 0 auto; padding: 0 16px 48px; }

/* Hero */
.hero {
  margin: 0 -16px; padding: 40px 16px 32px;
  background: var(--navy); color: #fff; position: relative; overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; right: -60px; bottom: -60px; width: 220px; height: 220px;
  background: var(--yellow); transform: rotate(35deg); opacity: .95;
}
.hero::before {
  content: ""; position: absolute; right: 70px; bottom: -90px; width: 160px; height: 160px;
  background: var(--green); transform: rotate(35deg); z-index: 1;
}
.hero > * { position: relative; z-index: 2; }
.eyebrow { font-weight: 700; text-transform: uppercase; letter-spacing: .12em; font-size: 13px; color: var(--yellow); margin: 0 0 8px; }
h1, h2 { font-family: var(--display); font-weight: 400; text-transform: uppercase; line-height: 1; margin: 0; }
h1 { font-size: clamp(42px, 11vw, 64px); }
h2 { font-size: 32px; margin: 32px 0 12px; }
h3 { font-size: 18px; margin: 0 0 6px; }
.hero p { margin: 12px 0 0; max-width: 34ch; }
.hero .date { font-weight: 700; color: #fff; }

/* Countdown */
.countdown { margin: 24px 0 4px; }
.countdown .label { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; font-weight: 600; }
.cd-row { display: flex; gap: 8px; margin-top: 8px; }
.cd-cell { background: var(--yellow); color: var(--navy); min-width: 64px; padding: 8px 6px; text-align: center; border-radius: 4px; }
.cd-num { font-family: var(--display); font-size: 34px; line-height: 1; display: block; font-variant-numeric: tabular-nums; }
.cd-unit { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px; border-radius: 4px; border: 2px solid transparent;
  font-weight: 700; font-size: 16px; text-decoration: none;
}
.btn-primary { background: var(--yellow); color: var(--navy); }
.btn-primary:hover { background: #f2c000; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-green { background: var(--green); color: #fff; }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-danger { background: transparent; color: var(--danger); border-color: var(--danger); }
.btn-danger-solid { background: var(--danger); color: #fff; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.hero .btn { margin-top: 24px; }

/* Content blocks */
.list { margin: 0; padding: 0; list-style: none; }
.list li { padding: 10px 0 10px 22px; position: relative; border-bottom: 1px solid var(--line); }
.list li::before { content: ""; position: absolute; left: 0; top: 18px; width: 10px; height: 10px; background: var(--green); transform: rotate(45deg); }
.steps { counter-reset: s; margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: start; }
.steps li::before {
  content: counter(s); font-family: var(--display); font-size: 22px;
  width: 40px; height: 40px; display: grid; place-items: center; background: var(--navy); color: var(--yellow); border-radius: 4px;
}
.steps p { margin: 0; color: var(--muted); }

.card { border: 1px solid var(--line); border-radius: 8px; padding: 20px; margin-top: 20px; background: var(--surface); }
.card.sand { background: var(--sand); border-color: #F3E3A6; }
.card.navy { background: var(--navy); color: #fff; border-color: var(--navy); }
.card.navy a { color: #fff; }
.status-head { margin-top: 20px; padding-left: 14px; border-left: 6px solid var(--yellow); }
.status-head h2 { margin-top: 0; }
.status-head.good { border-color: var(--green); }
.status-head.bad { border-color: #C9C8DA; }
.status-head p { margin: 8px 0 0; }
.status-head .tag {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: 4px 8px; border-radius: 4px; background: var(--sand); color: var(--navy);
}
.tag.good { background: var(--green); color: #fff; }
.tag.wait { background: var(--yellow); color: var(--navy); }
.tag.bad { background: #EDEDF4; color: var(--muted); }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 8px 0 0; }
.kv dt { font-weight: 700; }
.kv dd { margin: 0; }

/* Forms */
.form { margin-top: 20px; display: grid; gap: 20px; }
.field > label, .field > legend { display: block; font-weight: 700; margin-bottom: 8px; padding: 0; }
.field .help { font-size: 14px; color: var(--muted); margin: 6px 0 0; }
.field input[type=text], .field input[type=email], .field input[type=tel], .field input.code {
  width: 100%; min-height: 48px; padding: 10px 12px; font: inherit; color: var(--ink);
  border: 2px solid var(--line); border-radius: 4px; background: #fff;
}
.field input:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(38,36,133,.18); }
input.code { font-size: 26px; letter-spacing: .4em; text-align: center; font-variant-numeric: tabular-nums; }
fieldset { border: 0; margin: 0; padding: 0; }
.choices { display: grid; gap: 8px; }
.choices.two { grid-template-columns: 1fr 1fr; }
.choice {
  display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 10px 14px;
  border: 2px solid var(--line); border-radius: 4px; cursor: pointer; font-weight: 600;
}
.choice input { accent-color: var(--navy); width: 18px; height: 18px; margin: 0; }
.choice:has(input:checked) { border-color: var(--navy); background: #F2F1FA; }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; font-size: 15px; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--navy); }
.err { color: var(--danger); font-size: 14px; font-weight: 600; margin: 6px 0 0; }
.field.has-err input, .field.has-err .choice { border-color: var(--danger); }
.alert { padding: 12px 14px; border-radius: 4px; background: #FCEDEC; color: var(--danger); font-weight: 600; }
.ok-note { color: var(--green); font-weight: 700; margin-left: 8px; }
.iti { width: 100%; }
.iti__search-input { min-height: 44px; font: inherit; }

.bringers { font-size: 14px; color: var(--muted); margin: 4px 0 0 32px; }
.divider { height: 1px; background: var(--line); margin: 24px 0; }

/* Footer */
.foot { border-top: 1px solid var(--line); padding: 20px 16px 40px; text-align: center; color: var(--muted); font-size: 14px; }
.foot img { opacity: .9; }

/* Preview controls */
#demo-bar {
  position: fixed; left: 8px; right: 8px; bottom: calc(8px + env(safe-area-inset-bottom, 0px)); z-index: 50;
  background: var(--navy-deep); color: #fff; border-radius: 8px; padding: 10px 12px;
  font-size: 13px; display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center;
  box-shadow: 0 6px 24px rgba(0,0,0,.25);
}
#demo-bar[hidden] { display: none; }
#demo-bar strong { color: var(--yellow); }
#demo-bar select { font: inherit; padding: 4px 6px; border-radius: 4px; border: 0; }
#demo-bar button { background: var(--yellow); color: var(--navy); border: 0; border-radius: 4px; padding: 4px 10px; font-weight: 700; }
body.demo .foot { padding-bottom: 120px; }

@media (min-width: 700px) {
  .hero { margin: 0; border-radius: 0 0 8px 8px; padding: 56px 40px 44px; }
}
.friend-tag { display: inline-block; margin-left: 6px; font-size: 12px; font-weight: 700; background: var(--green); color: #fff; padding: 2px 8px; border-radius: 4px; }
.community-note { margin-top: 16px; }
.community-note p { margin: 0 0 12px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 14px 28px 14px 0; font-weight: 600; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 10px; font-size: 22px; color: var(--green); font-weight: 700; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 0 0 14px; color: var(--muted); }
.field textarea { width: 100%; padding: 10px 12px; font: inherit; color: var(--ink); border: 2px solid var(--line); border-radius: 4px; resize: vertical; }
.field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(38,36,133,.18); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.qa { border-top: 1px solid var(--line); padding: 10px 0; }
.qa .q { margin: 0; font-weight: 600; }
.qa .a { margin: 6px 0 0; padding-left: 12px; border-left: 3px solid var(--green); }
.map { margin-top: 14px; border-radius: 4px; overflow: hidden; background: #fff; aspect-ratio: 4 / 3; max-width: 100%; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
.foot a { font-weight: 600; }
.legal { padding-top: 24px; max-width: 68ch; }
.legal-title { font-size: clamp(36px, 9vw, 52px); }
.legal h2 { font-family: var(--sans); text-transform: none; font-size: 19px; font-weight: 700; margin: 26px 0 8px; }
.legal p { margin: 0 0 10px; }
.check a { font-weight: 700; }
