:root {
  --ink: #050911;
  --ink-elevated: #0a0f1c;
  --accent: #47d19e;
  --accent-deep: #1f856b;
  --warmth: #f5ad52;
  --text: rgba(255, 255, 255, 0.92);
  --text-secondary: rgba(255, 255, 255, 0.62);
  --text-muted: rgba(255, 255, 255, 0.45);
  --border: rgba(255, 255, 255, 0.08);
  --max-width: 960px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(12px);
  background: rgba(5, 9, 17, 0.85);
  border-bottom: 1px solid var(--border);
}

.site-header-inner,
.site-footer-inner,
.page-shell {
  width: min(var(--max-width), calc(100% - 40px));
  margin: 0 auto;
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}

.wordmark {
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.wordmark-light {
  font-weight: 300;
}

.wordmark-bold {
  color: var(--accent);
  font-weight: 700;
}

.nav-cta {
  display: inline-block;
  background: var(--accent-deep);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 12px;
}

.hero {
  padding: 72px 0 48px;
  text-align: center;
}

.hero-mark {
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0 0 16px;
  font-weight: 600;
}

.hero .tagline {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 34rem;
  margin: 0 auto 28px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.button-primary,
.button-secondary {
  display: inline-block;
  text-decoration: none;
  font-weight: 600;
  padding: 14px 24px;
  border-radius: 12px;
}

.button-primary {
  background: var(--accent-deep);
  color: #fff;
}

.button-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid var(--border);
}

.section {
  padding: 24px 0 56px;
}

.section-title {
  text-align: center;
  font-size: 1.5rem;
  margin: 0 0 28px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.card {
  background: var(--ink-elevated);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.card p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.notice {
  margin: 0 auto;
  max-width: 42rem;
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 32px 0 48px;
  color: var(--text-muted);
  font-size: 0.875rem;
}

.site-footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
}

.page-shell {
  min-height: calc(100vh - 120px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 0;
}

.page-card {
  width: min(420px, 100%);
  background: var(--ink-elevated);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px 28px;
  text-align: center;
}

.page-card p {
  color: var(--text);
}

.page-card .muted {
  color: var(--text-muted);
  font-size: 0.8125rem;
  margin-top: 20px;
}

.hidden {
  opacity: 0;
  pointer-events: none;
}

.legal-page {
  padding: 48px 0 72px;
}

.legal-page h1 {
  margin-top: 0;
}

.legal-page h2 {
  margin-top: 2rem;
  font-size: 1.1rem;
}

.legal-page p,
.legal-page li {
  color: var(--text-secondary);
}
