:root {
  color-scheme: dark;
  --background: #0c0a09;
  --panel: #171412;
  --text: #f5f1e8;
  --muted: #c9c0b5;
  --accent: #c5975c;
  --line: #332b24;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

.site-header,
.site-footer {
  border-color: var(--line);
  border-style: solid;
  border-width: 0 0 1px;
  padding: 24px;
}

.site-footer {
  border-width: 1px 0 0;
}

.brand {
  color: var(--text);
  font-size: 20px;
  font-weight: 700;
  text-decoration: none;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 16px;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
}

.container {
  margin: 0 auto;
  max-width: 920px;
  padding: 48px 24px;
}

.eyebrow {
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2 {
  line-height: 1.2;
}

h1 {
  font-size: clamp(36px, 7vw, 64px);
  margin: 12px 0 20px;
}

h2 {
  border-top: 1px solid var(--line);
  margin-top: 40px;
  padding-top: 28px;
}

.lead {
  color: var(--muted);
  font-size: 20px;
  max-width: 760px;
}

.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  margin: 28px 0;
  padding: 24px;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  align-items: center;
  background: var(--accent);
  border-radius: 6px;
  color: #17120c;
  display: inline-flex;
  font-weight: 700;
  min-height: 44px;
  padding: 10px 16px;
  text-decoration: none;
}

.button.secondary {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--text);
}

li + li {
  margin-top: 8px;
}

code {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--text);
  padding: 2px 6px;
}

.auth-action-page {
  max-width: 760px;
}

.auth-action-panel h2 {
  border-top: 0;
  margin-top: 0;
  padding-top: 0;
}

.field-label {
  color: var(--muted);
  display: block;
  font-weight: 700;
  margin-bottom: 8px;
}

.text-field {
  background: #0f0d0b;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--text);
  display: block;
  font: inherit;
  margin-bottom: 16px;
  min-height: 48px;
  padding: 10px 12px;
  width: 100%;
}

@media (min-width: 720px) {
  .site-header {
    align-items: center;
    display: flex;
    justify-content: space-between;
  }

  .nav {
    margin-top: 0;
  }
}
