:root {
  --bg: #160a1f;
  --surface: #241032;
  --pink: #ff4fb4;
  --cyan: #59e3ff;
  --text: #fbefff;
  --muted: #c9b5d6;
  --line: #3a2148;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

a { color: var(--cyan); }
a:hover { color: var(--pink); }

.wrap { max-width: 760px; margin: 0 auto; padding: 32px 16px 64px; }

header.site {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding-bottom: 24px; border-bottom: 1px solid var(--line); margin-bottom: 32px;
}
header.site .brand { display: flex; align-items: center; gap: 12px; color: var(--text); text-decoration: none; font-weight: 700; }
header.site .brand img { width: 40px; height: 40px; border-radius: 10px; }
header.site nav { display: flex; gap: 16px; font-size: 15px; }

h1, h2, h3 { font-family: "Poppins", "DM Sans", system-ui, sans-serif; line-height: 1.2; }
h1 { font-size: clamp(30px, 6vw, 44px); margin: 0 0 12px; }
h1 .accent { color: var(--pink); }
h2 { font-size: 22px; margin: 40px 0 8px; }
h3 { font-size: 18px; margin: 24px 0 4px; }

.lead { font-size: 19px; color: var(--muted); margin: 0 0 24px; }
.muted { color: var(--muted); }

.hero img { width: 100%; height: auto; border-radius: 16px; display: block; margin: 8px 0 24px; }

.button {
  display: inline-block; background: var(--pink); color: #1e0d27; font-weight: 700;
  padding: 12px 22px; border-radius: 999px; text-decoration: none;
}
.button:hover { color: #1e0d27; filter: brightness(1.08); }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin: 16px 0; }
.card { background: var(--surface); border-radius: 14px; padding: 16px 18px; }
.card h3 { margin-top: 0; }
.card p { margin: 0; color: var(--muted); }

table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 15px; }
th, td { text-align: left; vertical-align: top; padding: 8px 10px; border-bottom: 1px solid var(--line); }
th { color: var(--muted); font-weight: 600; }
.table-scroll { overflow-x: auto; }

details { background: var(--surface); border-radius: 12px; padding: 12px 16px; margin: 8px 0; }
summary { cursor: pointer; font-weight: 600; }

footer.site { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
