:root {
  color-scheme: dark;
  --bg: #070b14;
  --panel: rgba(17, 27, 46, 0.78);
  --text: #f6f8fc;
  --muted: #b7c1d4;
  --accent: #91c8ff;
  --line: rgba(255,255,255,.14);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  min-height: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: Inter, "Segoe UI", "Microsoft YaHei", Arial, sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 20% 15%, #18315a 0, var(--bg) 48%, #03050a 100%);
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem clamp(1.25rem, 5vw, 4rem);
}

.brand {
  color: var(--text);
  font-weight: 800;
  letter-spacing: .18em;
  text-decoration: none;
}

.account-actions {
  display: flex;
  gap: .75rem;
}

.account-actions button {
  min-width: 4.5rem;
  padding: .6rem 1rem;
  border: 1px solid var(--line);
  border-radius: .65rem;
  color: var(--text);
  background: transparent;
  opacity: 1;
  cursor: default;
}

.account-actions .primary {
  color: #07111f;
  border-color: var(--accent);
  background: var(--accent);
}

.page {
  flex: 1;
  display: grid;
  place-items: center;
  padding: 3rem 1.25rem;
}

.hero {
  width: min(52rem, 100%);
  padding: clamp(2.5rem, 8vw, 5rem) clamp(1.5rem, 6vw, 4.5rem);
  text-align: center;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  box-shadow: 0 2rem 6rem rgba(0,0,0,.38);
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: .24em;
}

h1 {
  margin: 0;
  font-size: clamp(3rem, 10vw, 6rem);
  line-height: 1;
  letter-spacing: .08em;
}

.subtitle {
  margin: 1.5rem 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 3vw, 1.35rem);
  letter-spacing: .06em;
}

.description {
  margin: 1rem 0 0;
  color: var(--muted);
}

.site-footer {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: .75rem;
  padding: 1.25rem;
  color: var(--muted);
  font-size: .85rem;
}

.site-footer a {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  color: inherit;
  text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--text);
  text-decoration: underline;
}

.site-footer img {
  width: 18px;
  height: 18px;
}

@media (max-width: 36rem) {
  .site-header { padding: 1rem; }
  .subtitle { line-height: 1.7; }
  .site-footer { flex-direction: column; }
  .site-footer > span { display: none; }
}
