:root {
  --bg: #100b1f;
  --bg-2: #18122b;
  --panel: #1f1833;
  --gold: #d4af37;
  --gold-2: #f0d878;
  --text: #f3f1ea;
  --muted: #b8b2c8;
  --link: #f0d878;
  --danger: #ff6b6b;
  --radius: 14px;
  --max-width: 780px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
}

.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--gold);
  color: #000;
  padding: 8px 12px;
  z-index: 100;
  text-decoration: none;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { top: 0; }

header {
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
  background: rgba(16, 11, 31, 0.95);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(8px);
}

nav {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--gold);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.15rem;
}
.brand img { width: 36px; height: 36px; border-radius: 8px; }

.nav-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a { color: var(--muted); text-decoration: none; font-size: 0.92rem; }
.nav-links a:hover, .nav-links a:focus { color: var(--gold); text-decoration: underline; }

main { min-height: 60vh; }

.hero {
  text-align: center;
  padding: 64px 18px 48px;
  background: radial-gradient(circle at 50% 0%, rgba(212,175,55,0.08), transparent 60%);
}
.hero img { width: 120px; height: 120px; border-radius: 24px; margin-bottom: 22px; box-shadow: 0 12px 40px rgba(0,0,0,0.35); }
.hero h1 { font-size: clamp(2rem, 5vw, 2.9rem); margin: 0 0 14px; line-height: 1.15; }
.hero p { color: var(--muted); font-size: 1.15rem; max-width: 620px; margin: 0 auto 26px; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(212,175,55,0.12);
  color: var(--gold-2);
  border: 1px solid rgba(212,175,55,0.3);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover, .btn:focus { transform: translateY(-1px); }
.btn-primary { background: var(--gold); color: #18122b; }
.btn-primary[aria-disabled="true"] { opacity: .55; cursor: not-allowed; }
.btn-outline { background: transparent; color: var(--gold); border: 1px solid var(--gold); }

section { padding: 48px 18px; }
.wrap { max-width: var(--max-width); margin: 0 auto; }

h2 { font-size: 1.7rem; margin: 0 0 18px; color: var(--gold-2); }
h3 { font-size: 1.2rem; margin: 28px 0 10px; color: var(--gold); }
p, ul, ol { margin: 0 0 16px; }
a { color: var(--link); }
a:hover, a:focus { text-decoration: underline; }

.feature-grid, .link-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin-top: 22px;
}
.card {
  background: var(--panel);
  border: 1px solid rgba(212,175,55,0.12);
  border-radius: var(--radius);
  padding: 22px;
}
.card h4 { margin: 0 0 8px; color: var(--gold); font-size: 1.05rem; }
.card p { margin: 0; color: var(--muted); font-size: 0.95rem; }

.steps { counter-reset: step; list-style: none; padding: 0; display: grid; gap: 14px; }
.steps li { display: flex; gap: 14px; align-items: flex-start; }
.steps li::before {
  counter-increment: step;
  content: counter(step);
  flex: 0 0 30px;
  height: 30px;
  display: grid;
  place-items: center;
  background: var(--gold);
  color: #18122b;
  border-radius: 50%;
  font-weight: 700;
  font-size: .85rem;
}

.policy h2 { font-size: 1.4rem; border-bottom: 1px solid rgba(212,175,55,0.15); padding-bottom: 8px; margin-top: 36px; }
.policy h2:first-of-type { margin-top: 0; }
.policy ul { padding-left: 20px; }
.policy li { margin-bottom: 8px; }
.policy strong { color: var(--gold-2); }

footer {
  border-top: 1px solid rgba(212,175,55,0.12);
  padding: 28px 18px;
  text-align: center;
  color: var(--muted);
  font-size: 0.92rem;
}
footer a { color: var(--muted); }
footer a:hover { color: var(--gold); }

@media (max-width: 640px) {
  .nav-links { gap: 10px; }
  .nav-links a { font-size: 0.85rem; }
  .hero { padding-top: 44px; }
  .hero img { width: 90px; height: 90px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
