:root {
  color-scheme: dark;
  --bg: #0f1419;
  --text: #e8edf2;
  --muted: #9aa8b5;
  --accent: #39d98a;
  --border: #2a3540;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 1rem;
}

.wrap {
  max-width: 42rem;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 3rem;
}

header {
  border-bottom: 1px solid var(--border);
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  text-decoration: none;
  margin-bottom: 1.5rem;
}

.brand-logo {
  display: block;
  width: 32px;
  height: 32px;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.4));
}

.brand-wordmark {
  margin: 0;
  font-size: 1rem;
  font-weight: 820;
  letter-spacing: -0.035em;
  line-height: 1;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0.12rem;
}

.brand-line {
  display: inline-flex;
  align-items: baseline;
}

.brand-goal {
  color: #f8fafc;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}

.brand-guess {
  color: #fbbf24;
}

.lang-switch {
  display: flex;
  justify-content: flex-start;
  margin-bottom: 1rem;
}

.lang-btn {
  background: none;
  border: 1px solid var(--accent);
  cursor: pointer;
  color: var(--accent);
  font-size: 0.8125rem;
  font-family: inherit;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1;
  padding: 0.3rem 0.75rem;
  transition: background 0.15s, color 0.15s;
}

.lang-btn:first-child {
  border-radius: 4px 0 0 4px;
  border-right: none;
}

.lang-btn:last-child {
  border-radius: 0 4px 4px 0;
}

.lang-btn:hover:not([aria-pressed="true"]) {
  background: rgba(57, 217, 138, 0.1);
}

.lang-btn[aria-pressed="true"] {
  background: var(--accent);
  color: var(--bg);
  cursor: default;
}

h1 {
  font-size: 1.5rem;
  line-height: 1.25;
  margin: 0 0 0.5rem;
}

.meta {
  color: var(--muted);
  font-size: 0.875rem;
  margin: 0;
}

h2 {
  font-size: 1.125rem;
  margin: 1.75rem 0 0.5rem;
}

p {
  margin: 0.5rem 0;
}

ul {
  margin: 0.5rem 0;
  padding-left: 1.25rem;
}

dl {
  margin: 0.75rem 0;
}

dt {
  font-weight: 600;
  margin-top: 0.75rem;
}

dd {
  margin: 0.25rem 0 0 0;
  color: var(--muted);
}

a {
  color: var(--accent);
}

footer {
  margin-top: 2.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  font-size: 0.875rem;
}

footer a {
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}
