@font-face {
  font-family: Geist;
  src: url("./geist-latin-ext.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: Geist;
  src: url("./geist-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: light;
  --page: #f6f7f5;
  --surface: #fff;
  --ink: #152329;
  --muted: #465a61;
  --line: #dce3e0;
  --accent: #1b459b;
  --accent-hover: #133677;
  --accent-surface: #dce8ff;
  --warning-fill: #ffeaed;
  --warning-ink: #801422;
  --warning-red: #bd182d;
  --meter-fill: #82e1c6;
  --meter-track: #3b575e;
  font-family: Geist, system-ui, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--page);
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
h1, h2, p { margin: 0; }
img { display: block; }

.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.header-inner,
.page,
.site-footer {
  width: min(100%, 800px);
  margin-inline: auto;
  padding-inline: 16px;
}

.header-inner {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
}

.page-label,
.site-footer {
  font-size: 13px;
  color: var(--muted);
}

.page { padding-top: 15px; }

.overview {
  display: grid;
  gap: 12px;
}

.capacity-panel {
  min-width: 0;
  display: grid;
  gap: 17px;
  padding: 20px 17px;
  border-radius: 16px;
  background: radial-gradient(ellipse at right top, #254650, transparent 72%), #172d36;
  color: #f7fffb;
}

.intro {
  display: grid;
  align-content: center;
  min-width: 0;
  gap: 6px;
}

.visitor-name {
  font-size: 14px;
  font-weight: 600;
  color: #a5efdb;
  overflow-wrap: anywhere;
}

h1 {
  font-size: clamp(26px, 6.8vw, 42px);
  line-height: 1.08;
  letter-spacing: -.045em;
  font-weight: 720;
  text-wrap: balance;
}

.intro-note,
.usage-label {
  color: #c5dbdc;
  font-size: 14px;
}

.usage-label {
  display: flex;
  align-items: end;
  flex-wrap: wrap;
  gap: 4px 12px;
}

.usage-label strong {
  color: #f7fffb;
  font-size: clamp(49px, 12vw, 76px);
  font-variant-numeric: tabular-nums;
  font-weight: 720;
  letter-spacing: -.065em;
  line-height: .94;
}

.usage-label strong span {
  color: var(--meter-fill);
  font-size: .58em;
  letter-spacing: -.03em;
  margin-inline-start: .14em;
}

.usage meter {
  display: block;
  width: 100%;
  height: 8px;
  margin-top: 12px;
  appearance: none;
  border-radius: 99px;
  background: var(--meter-track);
}

.usage meter::-webkit-meter-bar {
  height: 100%;
  background: var(--meter-track);
  border: 0;
  border-radius: 99px;
}

.usage meter::-webkit-meter-optimum-value {
  background: var(--meter-fill);
  border-radius: 99px;
}

.usage meter::-moz-meter-bar {
  background: var(--meter-fill);
  border-radius: 99px;
}

.warning {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 9px;
  background: var(--warning-fill);
  border-left: 5px solid var(--warning-red);
  border-radius: 10px;
  padding: 12px;
  color: var(--warning-ink);
}

.warning-icon {
  display: grid;
  place-items: center;
  width: 17px;
  height: 17px;
  margin-top: 2px;
  background: var(--warning-red);
  border-radius: 50%;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

.warning h2,
.panel h2 {
  font-size: 16px;
  line-height: 1.35;
}

.warning p,
.answers p {
  font-size: 14px;
}

.warning p { margin-top: 3px; }

.actions, .details {
  display: grid;
  gap: 9px;
}

.button {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  min-height: 64px;
  min-width: 0;
  padding: 9px 12px;
  border: 1px solid transparent;
  border-radius: 11px;
  text-decoration: none;
}

.action-copy {
  display: grid;
  gap: 2px;
  line-height: 1.35;
}

.action-copy > span { font-size: 13px; }

.action-arrow {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--accent-surface);
  font: 19px/1 system-ui, sans-serif;
}

.primary {
  background: var(--accent);
  color: #fff;
}

.primary:hover { background: var(--accent-hover); }
.primary .action-copy > span { color: #e2ebff; }
.primary .action-arrow { background: #3763bd; }

.secondary {
  border-color: #9ab2e1;
  background: #edf3ff;
  color: #173b84;
}

.secondary:hover { background: #e1ebff; }
.secondary .action-copy > span { color: #334f81; }
.answers p { color: var(--muted); }

:is(a, summary):focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.details {
  margin-top: 22px;
  gap: 12px;
}

.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
  min-width: 0;
}

.services {
  margin: 6px 0 0;
  padding: 0;
  list-style: none;
}

.services li {
  min-height: 47px;
  padding-block: 8px;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  font-size: 14px;
}

.pause-icon {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  background: var(--warning-fill);
  color: var(--warning-ink);
  border-radius: 50%;
}

.pause-icon::before {
  content: "";
  width: 8px;
  height: 9px;
  border-inline: 2px solid currentColor;
  box-sizing: border-box;
}

.services li + li,
.answers details + details { border-top: 1px solid var(--line); }

.service-copy {
  display: grid;
  gap: 1px;
}

.service-copy > span {
  color: var(--muted);
  font-size: 13px;
}

.answers h2 { margin-bottom: 4px; }

.answers summary {
  min-height: 44px;
  padding-block: 11px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 650;
}

.answers p { padding: 0 0 12px 16px; }

.site-footer {
  padding-block: 18px 24px;
  text-align: center;
}

@media (min-width: 640px) {
  .header-inner,
  .page,
  .site-footer { padding-inline: 24px; }
  .header-inner { min-height: 66px; }
  .page { padding-top: 28px; }
  .overview { gap: 15px; }
  .capacity-panel {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, .9fr);
    align-items: end;
    gap: 24px;
    min-height: 188px;
    padding: 25px 28px;
  }
  h1 { text-wrap: initial; }
  .panel { padding: 17px 19px; }
  .warning { padding: 14px 16px; }
  .actions,
  .details {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
  .button { min-height: 72px; padding-inline: 15px; }
  .details { margin-top: 26px; }
}
