:root {
  --bg: #07070a;
  --bg-2: #0f0f14;
  --line: #24242c;
  --text: #ecebe6;
  --muted: #9b9a94;
  --gold: #e8b931;
  --gold-2: #f6d365;
  --gold-dim: rgba(232, 185, 49, 0.12);
  --radius: 14px;
  --max: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-2); text-decoration: underline; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(7, 7, 10, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; font-size: 1.15rem; letter-spacing: 0.02em; }
.brand:hover { color: var(--text); text-decoration: none; }
.brand img { width: 34px; height: 34px; border-radius: 8px; }
.nav { display: flex; gap: 22px; font-size: 0.95rem; }
.nav a { color: var(--muted); }
.nav a:hover { color: var(--text); text-decoration: none; }

/* Hero */
.hero { padding: 96px 0 72px; text-align: center; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -40% -20% auto; height: 520px;
  background: radial-gradient(closest-side, rgba(232, 185, 49, 0.16), transparent);
  pointer-events: none;
}
.hero img.mark { width: 120px; height: 120px; border-radius: 24px; margin-bottom: 28px; position: relative; }
.hero h1 { font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1.15; margin: 0 0 18px; position: relative; }
.gold-text {
  background: linear-gradient(90deg, var(--gold), var(--gold-2), var(--gold));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.lead { font-size: clamp(1.05rem, 2.2vw, 1.25rem); color: var(--muted); max-width: 680px; margin: 0 auto 34px; position: relative; }
.badge {
  display: inline-block; padding: 6px 14px; margin-bottom: 22px;
  border: 1px solid var(--gold-dim); background: var(--gold-dim);
  color: var(--gold-2); border-radius: 999px; font-size: 0.85rem; position: relative;
}
.btn {
  display: inline-block; padding: 14px 26px; border-radius: 999px; font-weight: 600;
  background: linear-gradient(90deg, var(--gold), var(--gold-2)); color: #111; position: relative;
}
.btn:hover { color: #000; text-decoration: none; filter: brightness(1.05); }
.btn.ghost { background: transparent; color: var(--text); border: 1px solid var(--line); margin-left: 10px; }
.btn.ghost:hover { border-color: var(--gold); color: var(--text); }

/* Sections */
section { padding: 72px 0; border-top: 1px solid var(--line); }
section h2 { font-size: clamp(1.5rem, 3.4vw, 2.1rem); margin: 0 0 12px; text-align: center; }
section .sub { color: var(--muted); text-align: center; max-width: 640px; margin: 0 auto 44px; }

.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
}
.card .num {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  background: var(--gold-dim); color: var(--gold-2); font-weight: 700; margin-bottom: 14px;
}
.card h3 { margin: 0 0 8px; font-size: 1.1rem; }
.card p { margin: 0; color: var(--muted); font-size: 0.97rem; }

.risk-box {
  background: var(--bg-2); border: 1px solid var(--line); border-left: 3px solid var(--gold);
  border-radius: var(--radius); padding: 24px 26px; color: var(--muted); font-size: 0.95rem;
}
.risk-box strong { color: var(--text); }

.en { max-width: 760px; margin: 0 auto; color: var(--muted); font-size: 0.97rem; text-align: center; }

/* Legal pages */
.legal { padding: 56px 0 80px; }
.legal .wrap { max-width: 780px; }
.legal h1 { font-size: clamp(1.7rem, 4vw, 2.3rem); margin: 0 0 6px; }
.legal .updated { color: var(--muted); margin: 0 0 36px; font-size: 0.9rem; }
.legal h2 { font-size: 1.2rem; margin: 34px 0 10px; color: var(--gold-2); text-align: left; }
.legal p, .legal li { color: #cfcec8; }
.legal ul { padding-left: 22px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 34px 0; color: var(--muted); font-size: 0.88rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: space-between; align-items: center; }
.site-footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--gold); }

@media (max-width: 560px) {
  .nav { display: none; }
  .btn.ghost { margin: 12px 0 0; }
  .hero { padding: 72px 0 56px; }
}
