@font-face{font-family:"Inter";src:url(/fonts/inter.woff2) format("woff2");font-weight:100 900;font-style:normal;font-display:swap}
:root {
    /* the main number: as big as the screen allows, on phones and computers */
    --n: min(11.6vw, 15vh);
    --gap: max(3.5vh, calc(var(--n) * 0.42));
  }
  html, body {
    margin: 0; height: 100%; background: #000; color: #fff; overflow: hidden;
    -webkit-user-select: none; user-select: none;
    font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
    font-variant-numeric: tabular-nums;
  }

  /* The number sits dead center of the screen */
  #pop {
    position: fixed; left: 0; right: 0; top: 50%;
    transform: translateY(-50%);
    text-align: center; white-space: nowrap;
    font-size: var(--n); font-weight: 200; line-height: 1;
    letter-spacing: -0.035em;
    color: #ececec;
    transition: color 1.4s ease, text-shadow 1.4s ease;
  }
  #pop.up   { color: #fff; text-shadow: 0 0 0.28em rgba(255,255,255,0.28); transition: none; }
  #pop.down { color: #a3a3a3; text-shadow: none; transition: none; }

  /* Facts: below the number, about half its size */
  #fact {
    position: fixed; left: 50%; top: calc(50% + var(--n) * 0.5 + var(--gap));
    transform: translateX(-50%);
    width: min(88vw, 760px); text-align: center;
    opacity: 0; transition: opacity 1.8s ease;
  }
  #fact.on { opacity: 1; }
  #fact .big {
    font-size: calc(var(--n) * 0.5); font-weight: 200; line-height: 1.05;
    letter-spacing: -0.03em; color: #d6d6d6; white-space: nowrap;
  }
  #fact .small {
    margin-top: 0.9em;
    font-size: clamp(13px, calc(var(--n) * 0.15), 19px); font-weight: 300;
    line-height: 1.55; letter-spacing: 0.01em; color: #7c7c7c;
    text-wrap: balance;
  }


  /* Population alerts sign-up: corner on a computer, bottom center on a phone */
  #alerts {
    position: fixed; right: 28px; bottom: 26px; width: 300px;
    text-align: right; font-size: 13px; font-weight: 300; color: #8a8a8a;
  }
  #alerts .open-btn {
    background: none; border: 0; padding: 6px 0; font: inherit; color: #8a8a8a;
    letter-spacing: 0.02em; cursor: pointer; display: inline-flex; align-items: center; gap: 9px;
    transition: color .4s ease;
  }
  #alerts .open-btn:hover { color: #d6d6d6; }
  #alerts .dot { width: 6px; height: 6px; border-radius: 50%; background: #d6d6d6; opacity: .55; animation: breathe 4s ease-in-out infinite; }
  @keyframes breathe { 0%,100% { opacity: .25; } 50% { opacity: .8; } }
  #alerts .panel {
    text-align: left; padding: 18px 18px 16px; border: 1px solid #1e1e1e; border-radius: 12px;
    background: rgba(12,12,12,0.94); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
    opacity: 0; transform: translateY(6px); transition: opacity .6s ease, transform .6s ease;
  }
  #alerts.is-open .panel { opacity: 1; transform: none; }
  #alerts.is-open .open-btn { display: none; }
  #alerts .t { color: #e6e6e6; font-size: 14px; font-weight: 400; margin: 0 0 6px; }
  #alerts .d { margin: 0 0 14px; line-height: 1.55; color: #8a8a8a; }
  #alerts form { display: flex; gap: 8px; }
  #alerts input[type=email] {
    flex: 1 1 auto; min-width: 0; height: 40px; box-sizing: border-box; padding: 0 12px;
    background: #050505; border: 1px solid #2a2a2a; border-radius: 8px; color: #fff;
    font: 300 16px/1 "Inter", system-ui, sans-serif; outline: none; transition: border-color .3s ease;
  }
  #alerts input[type=email]:focus { border-color: #5a5a5a; }
  #alerts button.go {
    flex: 0 0 auto; height: 40px; padding: 0 14px; border-radius: 8px; border: 1px solid #e6e6e6;
    background: #e6e6e6; color: #000; font: 400 14px/1 "Inter", system-ui, sans-serif; cursor: pointer;
  }
  #alerts button.go:disabled { opacity: .5; cursor: default; }
  #alerts .msg:empty { display: none; }
  #alerts .msg { margin: 10px 0 0; font-size: 12px; color: #8a8a8a; }
  #alerts .msg.err { color: #d99a9a; }
  #alerts .close { position: absolute; top: 8px; right: 10px; background: none; border: 0; color: #6a6a6a; font-size: 18px; line-height: 1; padding: 6px; cursor: pointer; }
  #alerts .panel { position: relative; }
  #alerts .trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

  /* On a computer the facts are half the size, with more room above them (Corey, Nov 9 2026) */
  @media (min-width: 641px) {
    #fact { top: calc(50% + var(--n) * 0.5 + var(--gap) * 1.25); }
    #fact .big { font-size: calc(var(--n) * 0.25); }
    #fact .small { margin-top: 1.1em; font-size: clamp(12px, calc(var(--n) * 0.075), 13px); }
  }

  @media (max-width: 640px) {
    #alerts { left: 50%; right: auto; transform: translateX(-50%); bottom: 22px; width: min(92vw, 380px); text-align: center; }
  }

  @media (prefers-reduced-motion: reduce) {
    #alerts .dot { animation: none; }
    #pop, #pop.up, #pop.down { transition: none; text-shadow: none; }
    #fact { transition: opacity 0.4s linear; }
  }
.sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.nf{position:fixed;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:24px}
.nf .n{font-size:min(30vw,26vh);font-weight:200;line-height:1;letter-spacing:-.04em;color:#ececec}
.nf h1{margin:4vh 0 0;font-size:clamp(20px,3vw,30px);font-weight:200;letter-spacing:-.01em;color:#d6d6d6}
.nf p{margin:1.2em 0 0;font-size:15px;font-weight:300;color:#7c7c7c;max-width:30em;line-height:1.55}
.nf a{display:inline-block;margin-top:5vh;color:#e6e6e6;font-size:14px;font-weight:400;text-decoration:none;border:1px solid #3a3a3a;border-radius:8px;padding:12px 18px;transition:border-color .4s}
.nf a:hover{border-color:#8a8a8a}
