:root {
  --bg: #111111;
  --surface: #1a1a1a;
  --surface-2: #202020;
  --border: #2c2c2c;
  --border-hi: #444444;
  --accent: #34d399;
  --accent-soft: rgba(52, 211, 153, 0.11);
  --text: #e2e2e2;
  --text-2: #a0a0a0;
  --text-3: #6c6c6c;
  --warning: #fbbf24;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { min-height: 100%; background: var(--bg); }

body {
  margin: 0;
  min-height: 100%;
  color: var(--text);
  font: 14px/1.65 "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background:
    radial-gradient(circle at 76% 12%, rgba(52, 211, 153, 0.08), transparent 26rem),
    linear-gradient(180deg, #141414 0%, #101010 52%, #0e0e0e 100%);
}

a { color: inherit; }

.shell {
  width: min(980px, calc(100% - 32px));
  margin: 0 auto;
  padding: 22px 0 40px;
}

.topbar,
footer {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.topbar {
  align-items: center;
  min-height: 44px;
  border-bottom: 1px solid var(--border);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-decoration: none;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.nav-links a,
footer a {
  color: var(--text-2);
}

.nav-links a {
  text-decoration: none;
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 6px 10px;
  background: var(--surface);
}

.nav-links a:hover { color: var(--text); border-color: var(--border-hi); }

.hero {
  padding: 62px 0 34px;
  max-width: 820px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

h1 {
  margin: 0 0 16px;
  font-size: clamp(34px, 5.5vw, 62px);
  line-height: 1.02;
  font-weight: 750;
  letter-spacing: 0;
}

.lead {
  margin: 0;
  color: var(--text-2);
  font-size: 17px;
  line-height: 1.75;
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0;
}

.card,
.notice {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(26, 26, 26, 0.82);
}

.card { padding: 20px; }
.notice { padding: 20px; margin: 0 0 18px; }

.card h2,
.notice h2 {
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 650;
  letter-spacing: 0;
}

.card p,
.notice p,
.notice li {
  color: var(--text-2);
  margin: 0;
}

.card p + p { margin-top: 10px; }

.warning {
  border-color: rgba(251, 191, 36, 0.38);
  background: rgba(251, 191, 36, 0.07);
}

.warning h2 { color: var(--warning); }

.notice ul {
  margin: 8px 0 0;
  padding-left: 18px;
}

footer {
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  color: var(--text-3);
  font-size: 12px;
}

@media (max-width: 760px) {
  .shell { width: min(100% - 24px, 980px); padding-top: 16px; }
  .topbar { align-items: flex-start; flex-direction: column; padding-bottom: 12px; }
  .hero { padding: 42px 0 26px; }
  .grid { grid-template-columns: 1fr; }
  .lead { font-size: 16px; line-height: 1.65; }
}

@media (max-width: 520px) {
  .shell { width: min(100% - 20px, 980px); padding-top: 12px; }
  h1 { font-size: clamp(32px, 12vw, 46px); }
  .card,
  .notice { padding: 16px; }
}
