:root {
  --navy: #072969;
  --gold: #E7BA25;
  --sky: #1B7FBE;
  --deep-gold: #C3922D;
  --ink: #0B1A33;
  --slate: #52647E;
  --mist: #E3EAF3;
  --paper: #F6F8FB;
  --white: #FFFFFF;
  --head: 'Urbanist', 'Segoe UI', system-ui, sans-serif;
  --body: 'Figtree', 'Segoe UI', system-ui, sans-serif;
  --radius: 14px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
}
h1, h2, h3 { font-family: var(--head); line-height: 1.15; margin: 0; }
button, input, textarea { font: inherit; }

.il-mark { display: inline-block; flex: none; }
.il-mark rect.n { fill: var(--navy); }
.il-mark rect.g { fill: var(--gold); }
.on-navy .il-mark rect.n { fill: #fff; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 56px; padding: 0 24px; border-radius: 12px; border: 0;
  font-family: var(--head); font-weight: 700; font-size: 18px;
  cursor: pointer; text-decoration: none; -webkit-tap-highlight-color: transparent;
  transition: transform .08s ease, background .15s ease;
}
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: #0a3482; }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-ghost { background: transparent; color: var(--navy); border: 2px solid var(--mist); }
.btn[disabled] { opacity: .5; cursor: default; transform: none; }
.btn-block { width: 100%; }

.field { display: block; margin-bottom: 14px; }
.field span { display: block; font-weight: 600; font-size: 15px; margin-bottom: 6px; color: var(--ink); }
.field span em { font-style: normal; font-weight: 400; color: var(--slate); }
.field input, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 14px; border-radius: 10px;
  border: 2px solid var(--mist); background: #fff; color: var(--ink); font-size: 17px;
}
.field textarea { min-height: 80px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--sky); }

.sky { color: var(--sky); }
.gold { color: var(--gold); } /* only ever on navy */
.muted { color: var(--slate); }

.pin-gate {
  position: fixed; inset: 0; z-index: 100; overflow-y: auto;
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  background: var(--navy); color: #fff; padding: 24px;
}
.pin-gate form { width: 100%; max-width: 360px; text-align: center; }
.pin-gate h1 { font-size: 28px; margin: 18px 0 8px; }
.pin-gate input {
  width: 100%; min-height: 60px; text-align: center; font-size: 28px; letter-spacing: .3em;
  border-radius: 12px; border: 0; margin: 16px 0; color: var(--ink);
}
.pin-gate .err { color: var(--gold); min-height: 24px; }
