:root {
  --bg: #0b0d12;
  --bg-elevated: #131720;
  --border: #1f2531;
  --text: #e6e8ee;
  --text-muted: #9aa3b2;
  --accent: #ff3b5c;
  --accent-hover: #ff5470;
  --radius: 12px;
  --max-width: 760px;
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, sans-serif;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 120ms ease;
}

a:hover {
  color: var(--accent-hover);
  text-decoration: underline;
}

header.site {
  border-bottom: 1px solid var(--border);
  background: rgba(11, 13, 18, 0.85);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 10;
}

header.site .inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  font-weight: 700;
  font-size: 18px;
  color: var(--text);
  letter-spacing: -0.01em;
}

.brand span {
  color: var(--accent);
}

nav.site a {
  color: var(--text-muted);
  margin-left: 24px;
  font-size: 14px;
}

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

main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 56px 24px 96px;
}

h1 {
  font-size: 36px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}

h2 {
  font-size: 22px;
  letter-spacing: -0.01em;
  margin: 40px 0 12px;
}

h3 {
  font-size: 17px;
  margin: 24px 0 8px;
  color: var(--text);
}

p, li {
  color: var(--text);
}

.lede {
  font-size: 19px;
  color: var(--text-muted);
  max-width: 60ch;
}

.meta {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 32px;
}

.card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin: 32px 0;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: white;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: background 120ms ease, transform 80ms ease;
}

.button:hover {
  background: var(--accent-hover);
  text-decoration: none;
  color: white;
}

.button:active {
  transform: scale(0.98);
}

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

.button.secondary:hover {
  background: var(--bg-elevated);
}

ul {
  padding-left: 22px;
}

ul li {
  margin: 6px 0;
}

footer.site {
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 13px;
  margin-top: 64px;
}

footer.site .inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

footer.site a {
  color: var(--text-muted);
  margin-left: 16px;
}

footer.site a:hover {
  color: var(--text);
}

.hero-cta {
  display: flex;
  gap: 12px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 48px;
}

.feature {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}

.feature h3 {
  margin: 0 0 8px;
  font-size: 15px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.feature p {
  margin: 0;
  font-size: 14px;
  color: var(--text-muted);
}

.login-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 40px;
}

.login-wrap .card {
  width: 100%;
  max-width: 420px;
}

@media (max-width: 600px) {
  h1 { font-size: 28px; }
  main { padding: 40px 20px 64px; }
}
