:root {
  --bg: #070b14;
  --panel: #0f1828;
  --line: #1f2c45;
  --text: #e8eef8;
  --muted: #9fb3d1;
  --yellow: #ffd23f;
  --red: #ff3b3b;
  --radius: 16px;
  font-family: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: radial-gradient(ellipse at 50% -10%, #142542 0%, var(--bg) 55%) fixed;
  color: var(--text);
  line-height: 1.6;
}

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

.wrap { max-width: 880px; margin: 0 auto; padding: 0 24px; }

header.top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 0;
}
header.top .brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); font-weight: 900; letter-spacing: .5px; }
header.top .brand img { width: 40px; height: 40px; border-radius: 50%; }
header.top nav a { color: var(--muted); text-decoration: none; margin-left: 18px; font-weight: 700; font-size: 14px; }
header.top nav a:hover { color: var(--text); }

.hero { text-align: center; padding: 56px 0 40px; }
.hero img { width: 160px; height: 160px; border-radius: 50%; box-shadow: 0 0 60px rgba(255, 59, 59, .35); }
.hero h1 { font-size: clamp(36px, 7vw, 64px); line-height: 1.05; margin: 24px 0 8px; font-weight: 900; letter-spacing: 1px; }
.hero h1 span { color: var(--yellow); }
.hero p.tag { color: var(--muted); font-weight: 800; letter-spacing: 3px; font-size: 13px; text-transform: uppercase; margin: 0 0 28px; }
.hero p.lead { font-size: 18px; max-width: 620px; margin: 0 auto 32px; }

.buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; border-radius: 999px; text-decoration: none;
  font-weight: 800; color: var(--bg); background: var(--yellow);
}
.btn.alt { background: transparent; color: var(--text); border: 2px solid var(--line); }
.btn:hover { filter: brightness(1.08); }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin: 40px 0; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card h3 { margin: 0 0 6px; font-size: 17px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }

article.doc { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; margin: 24px 0 48px; }
article.doc h1 { margin-top: 0; font-size: 30px; }
article.doc h2 { font-size: 19px; margin-top: 30px; color: var(--yellow); }
article.doc p, article.doc li { color: #d3dceb; }
article.doc .meta { color: var(--muted); font-size: 14px; }
article.doc hr { border: 0; border-top: 1px solid var(--line); margin: 36px 0; }

footer { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--muted); font-size: 14px; }
footer .links a { color: var(--muted); margin-right: 16px; text-decoration: none; }
footer .links a:hover { color: var(--text); }
