@font-face { font-family: "Inter"; src: url(fonts/InterVariable.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Inter Display"; src: url(fonts/InterDisplayVariable.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }

:root { --fill: #1c1c1e; --grey: #8a8a8f; --dim: #5a595f; }
* { box-sizing: border-box; margin: 0; }
html, body { height: 100%; background: #000; }
body { font: 400 15px/1.3 "Inter", system-ui, sans-serif; color: #fff; -webkit-font-smoothing: antialiased; }

/* Pure black, the globe on the right, the words in the bottom left: the app's home screen. */
.stage { position: relative; height: 100vh; height: 100dvh; min-height: 420px; overflow: hidden; }
#scene { position: absolute; inset: 0; width: 100%; height: 100%; }
.words { position: absolute; left: clamp(20px, 3.2vw, 48px); bottom: clamp(24px, 4.5vh, 48px); max-width: calc(100% - 40px); }
h1 { font-family: "Inter Display", "Inter", sans-serif; font-variation-settings: "opsz" 32; font-weight: 311;
  font-size: clamp(44px, 6vw, 76px); line-height: 1; letter-spacing: -.018em; }
h1 { display: flex; align-items: center; gap: .22em; }
.star { height: .86em; width: auto; flex: none; }

form { display: flex; gap: 8px; margin-top: 28px; width: 400px; max-width: 100%; }
input, button { font: inherit; height: 40px; border: 0; border-radius: 999px; outline: none; }
input { flex: 1; min-width: 0; padding: 0 16px; background: var(--fill); color: #fff; }
input::placeholder { color: var(--grey); }
input:focus-visible { box-shadow: 0 0 0 1px #4a4a4f; }
button { flex: none; padding: 0 18px; background: #fff; color: #000; font-weight: 500; cursor: pointer; }
button:hover { background: #e6e6e8; }
button:focus-visible { box-shadow: 0 0 0 2px #000, 0 0 0 3px #fff; }
button:disabled { opacity: .5; cursor: default; }
.note { min-height: 20px; margin-top: 12px; padding-left: 16px; color: var(--grey); }
.hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

@media (max-width: 560px) { form { flex-direction: column; } button { width: 100%; } }
