@font-face {
  font-family: "Archivo";
  src: url(/assets/archivo.woff2) format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}
:root {
  --paper: #FFFFFF;
  --ink: #141A33;
  --muted: #5A6076;
  --rule: #D9DCE5;
  --blue: #2633C4;
  --blue-dark: #1A2390;
  --ok: #17804A;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1200px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--paper); color: var(--ink); -webkit-text-size-adjust: 100%; }
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font: 400 16px/1.55 "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-variation-settings: "wdth" 100;
  -webkit-font-smoothing: antialiased;
}
main { flex: 1; }
a { color: var(--blue); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--blue-dark); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 2px; }
.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.muted { color: var(--muted); }
.small { font-size: 14px; }

/* nav */
.nav {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding-top: 20px; padding-bottom: 20px;
  border-bottom: 1px solid var(--rule);
}
.mark { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 17px; letter-spacing: -.005em; }
.mark:hover { color: var(--ink); }
.mark-sq { width: 14px; height: 14px; background: var(--blue); }
.nav nav { display: flex; align-items: center; gap: 24px; }
.nav nav a { color: var(--ink); text-decoration: none; font-size: 15px; }
.nav nav a[aria-current="page"] { color: var(--blue); }
.nav-btn { border: 1px solid var(--ink); padding: 7px 14px; }
.nav-btn:hover { background: var(--ink); color: var(--paper) !important; }

/* hero */
.hero { padding-top: clamp(40px, 9vh, 104px); padding-bottom: clamp(40px, 7vh, 80px); }
.fit {
  font-weight: 800;
  line-height: .9;
  letter-spacing: -.012em;
  font-size: clamp(48px, 12vw, 200px);
  font-variation-settings: "wdth" var(--w, 100);
  white-space: nowrap;
  width: max-content;
  max-width: 100%;
  margin-left: -.04em;
}
.fit.ready { max-width: none; }
.hero-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px 48px;
  margin-top: clamp(28px, 5vh, 56px);
  padding-top: 24px;
  border-top: 2px solid var(--ink);
}
.lead { font-size: clamp(22px, 2.3vw, 30px); line-height: 1.22; font-weight: 500; letter-spacing: -.01em; max-width: 20ch; }
.hero-side { max-width: 46ch; color: var(--muted); font-size: 17px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 24px; }
.btn {
  display: inline-block; border: 0; cursor: pointer;
  background: var(--blue); color: var(--paper); text-decoration: none;
  font: 600 15px/1 "Archivo", system-ui, sans-serif;
  padding: 14px 20px;
}
.btn:hover { background: var(--blue-dark); color: var(--paper); }
.link { font-size: 15px; font-weight: 600; }

/* sections: heading in the left column, content in the right */
.block {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 3fr);
  gap: 16px 48px;
  padding-top: 28px; padding-bottom: 56px;
  border-top: 1px solid var(--rule);
}
.block h2 { font-size: 15px; font-weight: 600; line-height: 1.4; }
.block > p { max-width: 62ch; }

.spec { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 48px; }
.spec dt { font-weight: 600; font-size: 17px; margin-bottom: 6px; }
.spec dd { color: var(--muted); max-width: 40ch; }

.regions { width: 100%; border-collapse: collapse; font-size: 15px; }
.regions th { text-align: left; font-weight: 500; color: var(--muted); padding: 0 16px 10px 0; border-bottom: 1px solid var(--ink); }
.regions td { padding: 12px 16px 12px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.regions td:nth-child(2) { font-variant-numeric: tabular-nums; letter-spacing: .04em; }
.ok { display: inline-flex; align-items: center; gap: 8px; color: var(--ok); white-space: nowrap; }
.ok::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }

/* status */
.status-head { padding-top: clamp(40px, 8vh, 88px); padding-bottom: 40px; }
.status-head h1, .login-box h1, .notfound h1 { font-size: clamp(30px, 4vw, 44px); line-height: 1.1; font-weight: 700; letter-spacing: -.015em; }
.state-all { margin-top: 20px; font-size: 19px; font-weight: 600; }
.status-head .muted { margin-top: 6px; font-size: 14px; }

/* login */
.login { display: grid; place-items: start center; padding-top: clamp(40px, 10vh, 112px); padding-bottom: 80px; }
.login-box { width: 100%; max-width: 400px; }
.login-box > .muted { margin-top: 10px; }
.form { display: grid; gap: 8px; margin: 32px 0 24px; }
.form label { font-size: 14px; font-weight: 600; margin-top: 10px; }
.form input {
  font: inherit; color: var(--ink); background: var(--paper);
  border: 1px solid #A9AEBF; border-radius: 0; padding: 11px 12px; width: 100%;
}
.form input:focus { outline: 2px solid var(--blue); outline-offset: -1px; border-color: var(--blue); }
.form .btn { margin-top: 20px; width: 100%; padding: 15px 20px; }
.form .btn[disabled] { opacity: .6; cursor: progress; }
.form-error { border-left: 3px solid #B42318; background: #FDF1F0; color: #8A1C12; padding: 10px 12px; font-size: 15px; }
.form-error[hidden] { display: none; }

/* 404 */
.notfound { padding-top: clamp(48px, 12vh, 128px); padding-bottom: 96px; }
.notfound .code { font-weight: 800; font-size: clamp(96px, 18vw, 220px); line-height: .85; font-variation-settings: "wdth" 125; color: var(--blue); margin-bottom: 32px; }
.notfound .muted { margin-top: 14px; max-width: 52ch; }

/* footer */
.foot {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px 40px; align-items: baseline;
  padding-top: 24px; padding-bottom: 32px; margin-top: 24px;
  border-top: 1px solid var(--rule);
  color: var(--muted); font-size: 14px;
}
.foot nav { display: flex; gap: 20px; }
.foot nav a { color: var(--muted); }

@media (max-width: 760px) {
  .hero-body, .block, .spec { grid-template-columns: minmax(0, 1fr); }
  .block { gap: 16px; padding-bottom: 40px; }
  .foot { grid-template-columns: minmax(0, 1fr); }
  .regions th:nth-child(3), .regions td:nth-child(3) { display: none; }
  .page-status .regions th:nth-child(3), .page-status .regions td:nth-child(3) { display: table-cell; }
}
