@font-face {
  font-family: Geist;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/brand/fonts/geist-latin.woff2) format('woff2');
  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+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD
}

@font-face {
  font-family: Geist;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/brand/fonts/geist-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20C0, U+A720-A7FF
}

:root {
  --bg: #0e0e10;
  --line: #26262b;
  --fg: #e9e9ec;
  --dim: #85858f;
  --acid: #f42c7f;
  --ok: #3fcf74;
  --font: Geist, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --serif: Charter, "Bitstream Charter", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color-scheme: dark
}

@media (prefers-color-scheme:light) {
  :root {
    --bg: #fbfbf9;
    --line: #e0e0da;
    --fg: #16161a;
    --dim: #6b6b73;
    --acid: #c4006e;
    --ok: #17914b;
    color-scheme: light
  }
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box
}

html,
body {
  height: 100%
}

body {
  background: var(--bg);
  color: var(--fg);
  font: 14.5px/1.6 var(--font);
  display: flex;
  flex-direction: column
}

a {
  color: inherit
}

.wrap {
  width: 100%;
  max-width: 620px;
  margin: 0 auto;
  padding: 0 22px;
  flex: 1;
  display: flex;
  flex-direction: column
}

.top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-top: 20px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--dim)
}

.top .dot {
  color: var(--ok)
}

.top.bad .dot {
  color: var(--acid)
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px 0 64px
}

h1 {
  font-family: var(--serif);
  font-size: clamp(38px, 8vw, 54px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -.015em
}

h1 .dot {
  color: var(--acid)
}

.tag {
  margin-top: 4px;
  color: var(--dim)
}

.tag b {
  font-family: var(--serif);
  font-size: 1.15em;
  font-weight: 400;
  font-style: italic;
  color: var(--fg)
}

.tag a {
  text-decoration: none
}

.box {
  margin-top: 28px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px 16px;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--dim);
  overflow-wrap: anywhere
}

.box .k {
  color: var(--fg)
}

.box .a {
  color: var(--acid)
}

p.note {
  margin-top: 18px;
  color: var(--dim);
  max-width: 46ch
}

footer {
  padding: 0 0 22px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--dim);
  display: flex;
  justify-content: space-between;
  gap: 12px
}

footer a {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--line)
}

footer a:hover {
  color: var(--fg);
  text-decoration-color: var(--acid)
}
form.box {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 8px 8px 16px;
  transition: border-color .15s
}

form.box:focus-within {
  border-color: var(--acid)
}

form.box label {
  color: var(--fg);
  white-space: nowrap
}

form.box input {
  flex: 1;
  min-width: 0;
  background: none;
  border: 0;
  outline: 0;
  font: inherit;
  color: var(--acid)
}

form.box input::placeholder {
  color: var(--dim);
  opacity: .6
}

form.box button {
  flex: none;
  border: 0;
  border-radius: 7px;
  padding: 8px 14px;
  background: var(--acid);
  color: var(--bg);
  font: 600 13px/1 var(--font);
  cursor: pointer
}

form.box button:hover {
  filter: brightness(1.12)
}

.how {
  margin-top: 26px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 14px;
  color: var(--dim);
  max-width: 52ch
}

.how span:nth-child(odd) {
  font-family: var(--mono);
  font-size: 11px;
  line-height: 2.1;
  color: var(--acid)
}

@media (max-width:420px) {
  form.box label {
    display: none
  }
}

.lang-btn {
  background: none;
  border: 1px solid var(--line);
  border-radius: 3px;
  color: var(--dim);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .14em;
  padding: 5px 9px;
  line-height: 1;
  cursor: pointer
}

.lang-btn:hover {
  border-color: var(--dim);
  color: var(--fg)
}
