:root {
  color-scheme: dark;
  --page: #160822;
  --ink: #faf7ff;
  --muted: #c4b9d4;
  --dark: #300651;
  --surface: #231033;
  --accent: #ffe019;
  --gold: #c99aff;
  --line: #49315f;
  --width: 1040px;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 100px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(ellipse 80% 50% at 78% 0%, rgba(139, 31, 205, 0.22), transparent 54%),
    var(--page);
  font: 1.0625rem/1.75 Arial, Helvetica, sans-serif;
}
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: #fff39a; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
.container { width: min(calc(100% - 48px), var(--width)); margin-inline: auto; }
.skip { position: fixed; top: -80px; left: 16px; z-index: 30; padding: 10px 18px; background: #fff; color: #222; }
.skip:focus { top: 12px; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--dark);
  border-bottom: 1px solid var(--line);
}
.header-inner { min-height: 76px; padding-block: 14px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.logo { display: inline-flex; flex-shrink: 0; }
.logo img { display: block; width: 150px; height: auto; }
.account-nav { display: flex; flex-wrap: wrap; gap: 10px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 23px;
  border-radius: 5px 14px 5px 14px;
  color: white;
  font-size: .9375rem;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: none;
  border: 1px solid transparent;
}
.login { background: #1c0e27; color: var(--ink); border-color: #562c77; }
.signup { background: var(--accent); color: #25043a; border-color: var(--accent); }
.login:hover { background: #281537; border-color: #7a3ea8; color: #fff; }
.signup:hover { background: #ffed69; border-color: #ffed69; color: #25043a; }
article { padding-block: 38px 60px; }
h1, h2, h3 { color: #fff7ff; line-height: 1.35; letter-spacing: -.015em; }
h1 { margin: 0 0 21px; font-size: clamp(1.875rem, 3vw, 2.25rem); }
h2 { margin: 38px 0 17px; font-size: 1.625rem; }
h3 { margin: 28px 0 13px; font-size: 1.3125rem; }
p { margin: 0 0 18px; color: var(--muted); }
article a { font-weight: 700; }
.hero-media,
.content-media {
  margin: 0 0 24px;
  padding: 0;
}
.hero-media { margin-bottom: 28px; }
.hero-media img,
.content-media img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #12081c;
}
.hero-media .button,
.content-media .button {
  margin-top: 16px;
}
.hero-media .button + *,
.content-media .button + *,
.hero-media + p,
.content-media + p,
.content-media + .table-block {
  margin-top: 0;
}
.warning {
  margin: 0 0 18px;
  padding: 16px 18px 16px 20px;
  border-left: 3px solid var(--accent);
  border-radius: 0 8px 8px 0;
  background: #190d22;
  color: #efe6ff;
  box-shadow: inset 0 0 0 1px #3d2158;
}
.contents { margin: 28px 0 32px; border: 1px solid var(--line); border-radius: 9px; background: #140a1c; }
.contents summary { display: flex; align-items: center; gap: 11px; padding: 17px 20px; list-style: none; cursor: pointer; font-weight: 700; color: #efe8ff; }
.contents summary::-webkit-details-marker { display: none; }
.contents summary img { flex-shrink: 0; opacity: .85; color: var(--accent); }
.contents-chevron { margin-left: auto; }
.contents:not([open]) .contents-chevron { transform: rotate(-90deg); }
.contents[open] summary { border-bottom: 1px solid var(--line); }
.contents nav { padding: 20px; }
.contents ol { margin: 0; padding-left: 24px; columns: 2; column-gap: 36px; }
.contents li { margin: 0 0 8px; padding-left: 3px; break-inside: avoid; font-size: .9375rem; line-height: 1.6; color: var(--muted); }
.contents a { color: #dfd3fc; font-weight: 400; }
.contents a:hover { color: var(--accent); }
article > ol,
article > ul {
  margin: 0 0 18px;
  padding-left: 0;
  list-style: none;
  counter-reset: steps;
  display: grid;
  gap: 10px;
}
article > ol li,
article > ul li {
  position: relative;
  padding: 12px 14px 12px 52px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #140a1c;
  color: var(--muted);
}
article > ol li {
  counter-increment: steps;
}
article > ol li::before {
  content: counter(steps);
  position: absolute;
  left: 14px;
  top: 12px;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #472160;
  color: var(--accent);
  font-size: .75rem;
  font-weight: 700;
}
.faq { display: grid; gap: 12px; margin-block: 24px 36px; }
.faq details { border: 1px solid var(--line); border-radius: 9px; background: #140a1c; }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px; border-radius: 9px; background: #1e0f29; color: #efe8ff; font-weight: 600; line-height: 1.5; list-style: none; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { background: #281538; }
.faq summary img { flex-shrink: 0; opacity: .85; color: var(--accent); }
.faq details[open] summary { border-radius: 9px 9px 0 0; border-bottom: 1px solid var(--line); }
.faq details[open] summary img { transform: rotate(180deg); }
.faq-answer { padding: 18px 20px 20px; }
.faq-answer p { margin: 0; }
.table-block { margin-block: 24px; }
.table-hint { display: none; }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: 9px; background: #120a1a; }
.table-scroll:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
table { width: 100%; min-width: 520px; border-collapse: separate; border-spacing: 0; table-layout: fixed; font-size: 1rem; line-height: 1.45; }
.table-label { width: 28%; }
th, td { padding: 12px 14px; text-align: left; vertical-align: middle; overflow-wrap: break-word; border-bottom: 1px solid var(--line); }
th + th, th + td, td + td { border-left: 1px solid var(--line); }
thead th { padding-block: 12px; background: #1e0f29; color: #ffe019; font-weight: 600; border-color: #4d2a68; }
tbody th { font-weight: 600; background: #1a0d24; color: #dfd3fc; }
tbody td { background: #140a1c; color: var(--muted); }
tbody tr:nth-child(even) td { background: #180c22; }
tbody tr:nth-child(even) th { background: #1d1029; }
tbody tr:last-child > * { border-bottom: 0; }
.site-footer { background: #10061a; color: #b5abcd; border-top: 1px solid var(--line); }
.footer-inner { min-height: 84px; padding-block: 23px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 15px; font-size: .875rem; }
.footer-inner p { margin: 0; color: #b5abcd; }
.age {
  display: inline-grid;
  place-items: center;
  min-width: 35px;
  height: 35px;
  margin-right: 8px;
  border: 1px solid #948ca7;
  border-radius: 50%;
  color: var(--accent);
  font-weight: 700;
}
@media (max-width: 808px) {
  .table-hint { display: block; margin-bottom: 10px; color: var(--muted); font-size: .9375rem; }
  tbody th, thead th:first-child { position: sticky; left: 0; z-index: 1; }
}
@media (max-width: 680px) {
  .container { width: calc(100% - 36px); }
  body { font-size: 1rem; line-height: 1.72; }
  .header-inner { min-height: 68px; padding-block: 12px; gap: 10px; }
  .logo img { width: 118px; }
  .account-nav { gap: 7px; }
  .button { padding: 8px 14px; font-size: .875rem; }
  article { padding-block: 28px 40px; }
  h1 { font-size: 25px; }
  h2 { font-size: 1.4375rem; margin-top: 32px; }
  h3 { font-size: 1.1875rem; }
  .contents ol { columns: 1; }
  table { font-size: .9375rem; min-width: 460px; }
  th, td { padding: 10px; }
  .hero-media { margin-bottom: 22px; }
  .hero-media img,
  .content-media img { border-radius: 8px; }
}
@media (max-width: 520px) {
  .hero-media .button,
  .content-media .button { width: 100%; }
}
@media (max-width: 359px) {
  h1 { letter-spacing: -.04em; }
  .logo img { width: 102px; }
  .button { padding-inline: 11px; }
}
@media print {
  .site-header, .contents, .site-footer, .skip, .hero-media .button, .content-media .button { display: none; }
  .container { width: 100%; }
  article { padding: 0; }
  h1, h2, h3 { break-after: avoid; }
  p { orphans: 3; widows: 3; }
  body { background: #fff; color: #111; }
}
