@import url("https://fonts.googleapis.com/css2?family=Roboto+Mono:wght@400;500;600&family=Roboto:wght@400;500;600;700&display=swap");

:root,
html[data-theme="dark"] {
  color-scheme: dark;
  --surface-page: #141414;
  --surface-card: #1b1b1d;
  --surface-sunken: #111113;
  --border-default: #2c2c30;
  --border-soft: #242428;
  --text-heading: #e9ecf2;
  --text-body: #9aa4b8;
  --text-dim: #6f7a8a;
  --state-good: #2ecc63;
  --font-ui: "Roboto", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "Roboto Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  --shadow-card: 0 1px 2px rgba(0, 0, 0, 0.25), 0 12px 30px rgba(0, 0, 0, 0.18);
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
  background: var(--surface-page);
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--surface-page);
  color: var(--text-body);
  font-family: var(--font-ui);
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button,
input,
select,
textarea {
  font: inherit;
}

::selection {
  background: color-mix(in srgb, var(--state-good) 30%, transparent);
  color: var(--text-heading);
}

:focus-visible {
  outline: 2px solid var(--state-good);
  outline-offset: 3px;
}

.wd-wordmark {
  color: var(--text-heading);
  font-family: var(--font-mono);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.wd-eyebrow {
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.wd-eyebrow::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--state-good);
  content: "";
}

.wd-btn {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--accent);
  border-radius: 6px;
  background: var(--accent);
  color: #07130b;
  font-family: var(--font-ui);
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease, transform 150ms ease;
}

.wd-btn:hover {
  border-color: #55d97e;
  background: #55d97e;
  color: #07130b;
  transform: translateY(-1px);
}

.wd-btn.ghost {
  border-color: var(--border-default);
  background: transparent;
  color: var(--text-heading);
}

.wd-btn.ghost:hover {
  border-color: var(--text-dim);
  background: color-mix(in srgb, var(--text-heading) 5%, transparent);
  color: var(--text-heading);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .wd-btn { transition: none; }
}
