:root {
  --bg-top: #0A0814;
  --bg-bottom: #16102E;
  --surface: rgba(255,255,255,0.04);
  --violet: #8C67F1;
  --violet-bright: #B49BFF;
  --gold: #E9C887;
  --text: #F6F4FF;
  --text-dim: #A9A3C7;
  --hairline: rgba(255,255,255,0.10);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, var(--bg-top), var(--bg-bottom));
  background-attachment: fixed;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--violet-bright); text-decoration: none; }
a:hover { text-decoration: underline; }

header.site {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 820px;
  margin: 0 auto;
  padding: 28px 24px 12px;
}
header.site .mark {
  width: 34px; height: 34px; border-radius: 9px;
  background: linear-gradient(135deg, #9B7BFF, #5BC8FF);
  display: grid; place-items: center; color: #fff; font-size: 16px;
  box-shadow: 0 6px 20px rgba(140,103,241,0.45);
}
header.site .name { font-weight: 700; font-size: 19px; letter-spacing: 0.2px; }

main {
  max-width: 820px;
  margin: 0 auto;
  padding: 20px 24px 80px;
}

.hero {
  text-align: center;
  padding: 64px 24px 40px;
}
.hero h1 { font-size: clamp(34px, 6vw, 56px); line-height: 1.1; margin: 0 0 14px; }
.hero p { font-size: 18px; color: var(--text-dim); max-width: 540px; margin: 0 auto 28px; }
.cta {
  display: inline-block; padding: 14px 26px; border-radius: 14px; font-weight: 600;
  color: #fff; background: linear-gradient(135deg, var(--violet), #6A47D8);
  box-shadow: 0 10px 30px rgba(140,103,241,0.4);
}

h1.doc { font-size: 34px; margin: 8px 0 4px; }
.updated { color: var(--text-dim); font-size: 14px; margin-bottom: 28px; }
h2 { font-size: 22px; margin: 36px 0 10px; }
h3 { font-size: 17px; margin: 22px 0 6px; color: var(--violet-bright); }
p, li { color: #E7E4F5; }
ul { padding-left: 22px; }
li { margin: 6px 0; }

.note {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 14px;
  padding: 16px 18px;
  color: var(--text-dim);
  font-size: 14px;
  margin: 24px 0;
}

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

footer.site {
  border-top: 1px solid var(--hairline);
  max-width: 820px; margin: 0 auto; padding: 24px;
  color: var(--text-dim); font-size: 14px;
  display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center;
}
footer.site nav { display: flex; flex-wrap: wrap; gap: 16px; }
