:root {
  color-scheme: light dark;
  --bg: #f4f7fa;
  --fg: #0f1b2d;
  --muted: #5b6b7f;
  --card: #ffffff;
  --edge: #dde4ec;
  --primary: #0b4f9c;
  --primary-ink: #ffffff;
  --accent: #0f766e;
  --ok: #176b3a;
  --bad: #a52a2a;
  --ring: rgba(11, 79, 156, 0.18);
  --shadow: 0 10px 30px rgba(15, 27, 45, 0.06);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b1220;
    --fg: #eef3f8;
    --muted: rgba(238, 243, 248, 0.66);
    --card: #121c2c;
    --edge: #22314a;
    --primary: #7fb0ff;
    --primary-ink: #0b1220;
    --accent: #5fd3c6;
    --ok: #62d08c;
    --bad: #ff8a80;
    --ring: rgba(127, 176, 255, 0.22);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  }
}
* {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family:
    'Inter',
    system-ui,
    -apple-system,
    'Segoe UI',
    Roboto,
    sans-serif;
  font-size: 19px;
  line-height: 1.5;
  color: var(--fg);
  background: var(--bg);
  min-height: 100vh;
}
main {
  max-width: 720px;
  margin: 0 auto;
  padding: 28px max(16px, env(safe-area-inset-left, 0px)) 64px
    max(16px, env(safe-area-inset-right, 0px));
  display: grid;
  gap: 18px;
}
.brand {
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
}
h1 {
  margin: 0;
  font-size: clamp(28px, 5vw, 40px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
p {
  margin: 0;
  max-width: 60ch;
}
.eyebrow {
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
}
.big {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.muted {
  color: var(--muted);
  font-size: 16px;
}
.card {
  padding: 26px 28px;
  border-radius: 18px;
  background: var(--card);
  border: 1px solid var(--edge);
  box-shadow: var(--shadow);
  display: grid;
  gap: 10px;
}
.mail {
  font-size: clamp(22px, 5vw, 32px);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--fg);
  text-decoration: none;
  line-height: 1.15;
  overflow-wrap: anywhere;
}
.mail:hover {
  color: var(--primary);
}
form {
  display: grid;
  gap: 10px;
  margin: 4px 0;
}
label {
  font-weight: 600;
  font-size: 15px;
  color: var(--muted);
}
input {
  width: 100%;
  font: inherit;
  font-size: 20px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1.5px solid var(--edge);
  background: var(--bg);
  color: var(--fg);
}
input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--ring);
}
button {
  font: inherit;
  font-size: 21px;
  font-weight: 700;
  padding: 18px;
  border-radius: 12px;
  border: 0;
  background: var(--primary);
  color: var(--primary-ink);
  cursor: pointer;
}
button:hover {
  filter: brightness(1.06);
}
button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}
button[disabled] {
  opacity: 0.6;
  cursor: default;
}
.code {
  font-size: clamp(48px, 13vw, 76px);
  font-weight: 700;
  letter-spacing: 0.14em;
  font-variant-numeric: tabular-nums;
  margin: 6px 0 0;
  line-height: 1;
}
.status {
  min-height: 1.5em;
  font-weight: 600;
}
.status.ok {
  color: var(--ok);
}
.status.bad {
  color: var(--bad);
}
a {
  color: var(--primary);
}
footer {
  padding: 6px 4px;
  color: var(--muted);
  font-size: 15px;
}
@media (max-width: 480px) {
  .card {
    padding: 22px 18px;
  }
  body {
    font-size: 18px;
  }
}

.steps {
  margin: 0 0 12px;
  padding-left: 20px;
  display: grid;
  gap: 6px;
}

.stop {
  margin-top: 8px;
  width: 100%;
  padding: 14px;
  border: 2px solid #b42318;
  border-radius: 12px;
  background: transparent;
  color: #b42318;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.topics {
  margin: 8px 0 12px;
}
.topics dt {
  font-weight: 700;
  margin-top: 12px;
}
.topics dd {
  margin: 4px 0 0;
}
.guide h2 {
  font-size: 1.05em;
  margin: 16px 0 6px;
}
.ready {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 4px;
}
.brand {
  font-weight: 700;
  color: var(--primary);
}

.share-bar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 16px;
  background: #b42318;
  color: #ffffff;
  font-weight: 700;
}
.share-bar[hidden] {
  display: none;
}
.share-bar button {
  padding: 8px 14px;
  border: 2px solid #ffffff;
  border-radius: 999px;
  background: #ffffff;
  color: #b42318;
  font: inherit;
  cursor: pointer;
}

/* Night map hero: the same identity as the desk sign-in, kept dark in both schemes. */
.hero {
  position: relative;
  display: grid;
  place-items: center;
  padding: 40px max(16px, env(safe-area-inset-left, 0px)) 48px
    max(16px, env(safe-area-inset-right, 0px));
  overflow: hidden;
  isolation: isolate;
  color: #eef4ff;
  background: radial-gradient(120% 90% at 50% 40%, #0a1426 0%, #050a14 60%, #02050b 100%);
}
.hero .map {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 15% 50%;
  opacity: 0.95;
}
.glass {
  position: relative;
  width: min(460px, 100%);
  display: grid;
  gap: 12px;
  justify-items: center;
  text-align: center;
  padding: 32px 28px;
  border-radius: 26px;
  background: linear-gradient(160deg, rgb(255 255 255 / 0.1), rgb(255 255 255 / 0.03));
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
  border: 1px solid rgb(170 215 255 / 0.24);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.22),
    0 30px 80px rgb(0 0 0 / 0.5),
    0 0 100px rgb(56 225 255 / 0.1);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass {
    background: rgb(10 20 38 / 0.94);
  }
}
.glass .logo {
  width: 180px;
  max-width: 60vw;
  height: auto;
  filter: brightness(0) invert(1);
}
.glass p {
  max-width: none;
}
.kicker {
  margin-top: 6px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #9af0ff;
}
.glass h1 {
  font-size: clamp(34px, 8vw, 46px);
  color: #ffffff;
}
.typed {
  display: inline-block;
  padding-right: 4px;
  border-right: 3px solid #38e1ff;
  animation:
    type 1.1s steps(12, end) 0.2s both,
    caret 0.9s step-end 1.3s 4 forwards;
}
@keyframes type {
  from {
    clip-path: inset(0 100% 0 0);
  }
  to {
    clip-path: inset(0 0 0 0);
  }
}
@keyframes caret {
  50% {
    border-right-color: transparent;
  }
  to {
    border-right-color: transparent;
  }
}
.tagline {
  font-size: 17px;
  font-weight: 600;
  color: #c9d8ee;
}
.call {
  display: grid;
  gap: 2px;
  width: 100%;
  margin-top: 8px;
  padding: 14px 18px;
  border-radius: 16px;
  background: linear-gradient(180deg, #38e1ff, #1fb6e0);
  color: #04111f;
  text-decoration: none;
  box-shadow: 0 10px 30px rgb(56 225 255 / 0.25);
}
.call:hover {
  filter: brightness(1.06);
}
.call-label {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.call-number {
  font-size: clamp(30px, 8vw, 38px);
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.hours {
  font-size: 16px;
  color: #c9d8ee;
}
.hours b {
  color: #ffffff;
}
.lang {
  display: inline-block;
  margin-top: 6px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgb(170 215 255 / 0.5);
  color: #ffffff;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
}
.lang:hover {
  background: rgb(255 255 255 / 0.08);
}
.hero a:focus-visible {
  outline-color: #ffd58a;
}
@media (max-width: 480px) {
  .glass {
    padding: 26px 18px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .typed {
    animation: none;
    border-right-color: transparent;
  }
}
