/*
  National WiFi hotspot design (the original common-area look: black logo bar, dark photo
  background, uppercase welcome, blue button). Used by the web1 pages and, via router/build.sh,
  by the router-local pages, so it must not load anything external. The photo and Lato live in
  site.css (web1 only) to keep the router copy small; routers fall back to a plain background.
*/
:root {
  --bg: #2a2e36;
  --bar: #000;
  --text: #fff;
  --text-soft: rgba(255, 255, 255, .88);
  --text-faint: rgba(255, 255, 255, .7);
  --accent: #1991ce;
  --accent-hover: #2aa3e0;
  --warning: #ff6b5e;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: var(--text);
  font-family: Lato, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 300;
  background: var(--bg);
}

.bar { background: var(--bar); text-align: center; padding: 10px 16px; }
.logo { display: inline-block; width: 200px; max-width: 60%; height: auto; vertical-align: middle; }

/* Content block sits in the middle of the space between the logo bar and the footer, both ways. */
.card {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  align-self: center;
  width: 100%;
  max-width: 640px;
  padding: 28px 16px 40px;
  text-align: center;
}

h1 {
  margin: 0 0 28px;
  font-size: clamp(28px, 8vw, 40px);
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
}
.sub { margin: 0 0 32px; font-size: 34px; font-weight: 300; }

.msg { margin: 0 auto 28px; max-width: 40ch; font-size: 16px; line-height: 1.45; color: var(--text-soft); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 210px;
  padding: 15px 28px;
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  background: var(--accent);
  border: 0;
  border-radius: 10px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .08);
  cursor: pointer;
}
.btn:hover, .btn:focus-visible { background: var(--accent-hover); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; fill: currentColor; }

a { color: var(--text); }
a:focus-visible, .btn:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

.alert {
  margin: 0 auto 24px;
  max-width: 40ch;
  padding: 10px 14px;
  border: 2px solid var(--warning);
  border-radius: 8px;
  font-size: 15px;
  font-weight: 400;
}

.terms { margin: 56px auto 0; max-width: 34ch; font-size: 14px; font-weight: 700; line-height: 1.45; }
.help, .detail { margin: 18px 0 0; font-size: 14px; line-height: 1.45; color: var(--text-soft); }
.service-id { font-family: ui-monospace, Menlo, Consolas, monospace; color: var(--text); letter-spacing: .5px; }

.stats { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 0 auto 24px; max-width: 300px; text-align: left; font-size: 15px; }
.stats dt { color: var(--text-faint); }
.stats dd { margin: 0; }

.foot { padding: 14px 16px; text-align: center; font-size: 12px; line-height: 1.6; color: var(--text-faint); background: rgba(0, 0, 0, .35); }
.foot a { color: var(--text-faint); }

[hidden] { display: none !important; }
