:root {
  --navy: #071827;
  --navy-light: #0c2942;
  --blue: #176bb5;
  --lime: #c9ee38;
  --paper: #f3f6f8;
  --line: #d9e1e7;
  --ink: #102235;
  --muted: #657582;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Arial, Helvetica, sans-serif; }
a { color: inherit; text-decoration: none; }
.skip-link { position: absolute; left: 18px; top: -60px; z-index: 30; padding: 12px 16px; background: #fff; color: var(--navy); font-weight: 800; }
.skip-link:focus { top: 12px; }
.fiction { min-height: 32px; padding: 8px 20px; display: flex; align-items: center; justify-content: center; gap: 8px; background: var(--lime); color: #253000; font: 700 10px/1.4 monospace; letter-spacing: .12em; text-align: center; text-transform: uppercase; }
.header { min-height: 88px; padding: 0 clamp(24px, 6vw, 96px); display: flex; align-items: center; justify-content: space-between; gap: 30px; background: #fff; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 14px; }
.brand-mark { width: 48px; height: 48px; display: grid; place-items: center; flex: 0 0 48px; border-radius: 50%; background: var(--navy); color: #fff; box-shadow: inset 0 0 0 4px #fff, 0 0 0 1px var(--navy); font: 800 14px monospace; }
.brand strong, .brand small { display: block; }
.brand strong { font-size: 18px; letter-spacing: .04em; }
.brand small { margin-top: 4px; color: var(--blue); font: 700 9px monospace; letter-spacing: .18em; }
.header-link { color: var(--blue); font-size: 13px; font-weight: 800; }
.header-link span { margin-left: 8px; color: var(--navy); }
.hero { min-height: 570px; padding: 84px clamp(24px, 8vw, 128px); display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(280px, .55fr); align-items: center; gap: clamp(48px, 8vw, 120px); color: #fff; background: radial-gradient(circle at 82% 18%, #194f7b 0, transparent 27%), linear-gradient(112deg, #04131f, var(--navy-light)); }
.eyebrow { margin: 0 0 18px; color: var(--blue); font: 700 11px monospace; letter-spacing: .15em; text-transform: uppercase; }
.hero .eyebrow { color: var(--lime); }
.hero h1 { margin: 0; max-width: 900px; font-size: clamp(58px, 7.2vw, 112px); line-height: .88; letter-spacing: -.065em; }
.lead { max-width: 720px; margin: 34px 0 0; color: #bfd0de; font-size: clamp(17px, 1.5vw, 21px); line-height: 1.65; }
.emergency { position: relative; padding: 30px; border: 1px solid #ffffff38; background: #020c1599; }
.emergency .live-dot { position: absolute; right: 24px; top: 24px; width: 9px; height: 9px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 5px #c9ee3822; }
.emergency p { margin: 0; color: #9eb3c4; font: 700 10px monospace; letter-spacing: .14em; }
.emergency strong { display: block; margin: 26px 0 12px; font: 800 clamp(20px, 2vw, 29px)/1.35 monospace; overflow-wrap: anywhere; }
.emergency small { color: #91a7b8; }
.portal-section { padding: 100px clamp(24px, 7vw, 110px); }
.section-heading { margin-bottom: 46px; display: flex; align-items: end; justify-content: space-between; gap: 40px; }
.section-heading h2 { margin: 0; font-size: clamp(44px, 5.2vw, 72px); line-height: .92; letter-spacing: -.055em; }
.section-heading > p { max-width: 430px; margin: 0; color: var(--muted); line-height: 1.65; }
.portal-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.portal-card { --card: var(--blue); min-height: 490px; padding: 26px; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-top: 5px solid var(--card); transition: transform .18s, box-shadow .18s; }
.portal-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px #0b223414; }
.portal-card.erfurth { --card: #2f7b58; }
.portal-card.kantalania { --card: #7b58aa; }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.portal-number { color: var(--muted); font: 700 10px monospace; }
.availability { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); font: 700 8px monospace; letter-spacing: .08em; }
.availability i { width: 7px; height: 7px; border-radius: 50%; background: #9ba7af; }
.availability.online { color: #4d7200; }
.availability.online i { background: #79a900; }
.portal-mark { width: 76px; height: 76px; margin-top: 45px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--card); box-shadow: inset 0 0 0 5px #fff, 0 0 0 1px var(--card); font: 800 19px monospace; }
.state-name { margin: 34px 0 8px; color: var(--card); font: 700 9px monospace; letter-spacing: .12em; text-transform: uppercase; }
.portal-card h3 { margin: 0; font-size: clamp(27px, 2.4vw, 37px); letter-spacing: -.04em; }
.description { margin: 18px 0 30px; color: var(--muted); line-height: 1.6; }
.card-actions { margin-top: auto; display: grid; gap: 9px; }
.primary-action, .secondary-action { min-height: 48px; padding: 0 16px; display: flex; align-items: center; justify-content: space-between; font-size: 13px; font-weight: 800; }
.primary-action { background: var(--card); color: #fff; }
.secondary-action { border: 1px solid var(--line); color: var(--muted); }
.primary-action:focus-visible, .secondary-action:focus-visible, .header-link:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }
.notice { margin: 0 clamp(24px, 7vw, 110px) 90px; padding: 24px 28px; display: grid; grid-template-columns: 100px 1fr; gap: 22px; border: 1px solid #e0c769; background: #fffbe9; }
.notice span { color: #806600; font: 800 10px monospace; letter-spacing: .13em; }
.notice p { margin: 0; color: #655d3b; line-height: 1.6; }
footer { min-height: 150px; padding: 40px clamp(24px, 6vw, 96px); display: grid; grid-template-columns: 1fr 1fr auto; align-items: center; gap: 35px; background: #fff; border-top: 1px solid var(--line); }
.brand.compact .brand-mark { width: 42px; height: 42px; flex-basis: 42px; font-size: 12px; }
footer p { color: var(--muted); font-size: 12px; }
footer > a { color: var(--blue); font-size: 12px; font-weight: 800; }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; }
  .portal-grid { grid-template-columns: 1fr; }
  .portal-card { min-height: 420px; }
}

@media (max-width: 680px) {
  .header { min-height: 78px; }
  .header-link { display: none; }
  .hero { min-height: 0; padding: 64px 24px; }
  .hero h1 { font-size: 54px; }
  .portal-section { padding: 72px 24px; }
  .section-heading { align-items: flex-start; flex-direction: column; }
  .notice { margin: 0 24px 72px; grid-template-columns: 1fr; }
  footer { grid-template-columns: 1fr; }
}
