@font-face {
  font-family: "Geist Sans";
  src: url("/fwd-assets/fonts/geist-sans.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Geist Sans";
  src: url("/fwd-assets/fonts/geist-sans-italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Geist Mono";
  src: url("/fwd-assets/fonts/geist-mono.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --font-sans: "Geist Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --bg: #080808;
  --surface: #171719;
  --raised: #252527;
  --edge: #ffffff20;
  --fg: #f2f2f4;
  --sub: #a6a6ac;
  --dim: #85858b;
  --selected: #444446;
  --line: #ffffff17;
  --accent: #f2f2f3;
  --onaccent: #0d0d0e;
  --red: #ff6369;
  --radius: 12px;
  color-scheme: dark;
}
* {
  box-sizing: border-box;
  overscroll-behavior: none;
}
html,
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 16px / 1.6 var(--font-sans);
}
main {
  max-width: 680px;
  margin: 0 auto;
  padding: 32px 16px 64px;
}
header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
}
header img {
  height: 28px;
}
h1 {
  font-weight: 500;
  font-size: 28px;
  line-height: 1.25;
  margin: 0 0 8px;
}
h2 {
  font-weight: 500;
  font-size: 18px;
  margin: 32px 0 8px;
}
p,
li {
  color: var(--fg);
}
.sub {
  color: var(--sub);
}
a {
  color: var(--accent);
}
.card {
  background: var(--surface);
  border: 1px solid var(--edge);
  border-radius: var(--radius);
  padding: 20px;
  margin: 20px 0;
}
label {
  display: block;
  font-size: 14px;
  color: var(--sub);
  margin-bottom: 6px;
}
input {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius);
  border: 1px solid var(--edge);
  background: var(--raised);
  color: var(--fg);
  font: inherit;
}
input:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}
button {
  margin-top: 14px;
  padding: 12px 18px;
  border: 0;
  border-radius: 20px;
  background: var(--accent);
  color: var(--onaccent);
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
}
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
/* Destructive actions are secondary pills with red text, never filled. */
button.destructive {
  background: var(--surface);
  border: 1px solid var(--edge);
  color: var(--red);
}
button:disabled {
  opacity: 0.5;
  cursor: default;
}
.error {
  color: var(--red);
  min-height: 1.6em;
}
.hidden {
  display: none;
}
code {
  font-family: var(--font-mono);
  font-size: 14px;
  background: var(--raised);
  padding: 2px 6px;
  border-radius: 6px;
  word-break: break-all;
}
footer {
  margin-top: 48px;
  color: var(--sub);
  font-size: 14px;
}

/* Anchor navigation stays instant when reduced motion is requested. */
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

strong,
b {
  font-weight: 600;
}
