:root { color-scheme: light; --ink: #251d56; --accent: #ff5061; --blue: #4b47fc; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 26px; }
body { margin: 0; color: #292738; background: #fff; font-family: Arial, Helvetica, sans-serif; font-size: 16px; line-height: 1.65; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; cursor: pointer; }
a { color: #4635b1; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
img { max-width: 100%; }
button:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid #ff9c21; outline-offset: 4px; }
[hidden] { display: none !important; }
.wrap { width: min(1120px, calc(100% - 48px)); margin-inline: auto; }
.skip { position: fixed; z-index: 100; top: 8px; left: 8px; padding: 12px 18px; color: #fff; background: #251d56; transform: translateY(-150%); }
.skip:focus { transform: none; }
#guide:focus { outline: none; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.icon-definitions { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { display: inline-block; width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; vertical-align: middle; }
.guide-main { border-top: 1px solid #e8e5f0; background: linear-gradient(#f5f3fc 0, #fff 610px); padding: 72px 0 64px; }
.eyebrow { color: #6b5c98; font-size: 12px; letter-spacing: 2px; font-weight: 700; }
h1 { color: #251d56; font-size: clamp(32px, 4vw, 48px); letter-spacing: -1.4px; line-height: 1.15; margin: 14px 0 22px; }
.guide-hero { max-width: 830px; }
.lead { font-size: 20px; line-height: 1.6; color: #514b67; }
.guide-status { margin: 28px 0; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 14px; }
.guide-status strong, .status-inline { padding: 4px 10px; border-radius: 4px; color: #9c390e; background: #ffecda; font-size: 12px; letter-spacing: .5px; white-space: nowrap; }
.guide-status a { margin-left: auto; }
.guide-nav { display: flex; gap: 8px 24px; flex-wrap: wrap; border-block: 1px solid #ded9ed; padding: 18px 0; margin: 32px 0 44px; font-size: 14px; }
.guide-columns { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 64px; align-items: start; }
.guide-article section { margin-bottom: 44px; scroll-margin-top: 28px; }
.guide-article h2, .document-page h2 { color: #251d56; font-size: 25px; letter-spacing: -.5px; line-height: 1.3; margin: 0 0 18px; }
.guide-article h3 { font-size: 17px; line-height: 1.4; color: #251d56; margin: 0 0 10px; }
.guide-article p { margin: 12px 0; }
.checklist { padding-left: 22px; }
.checklist li { padding-left: 8px; margin-bottom: 17px; }
.checklist li::marker { color: #6c58c5; font-weight: 700; }
.advice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.advice-grid > div { border-top: 2px solid #eee9f8; padding-top: 16px; }
.advice-grid p { font-size: 15px; }
.help-box { margin: 24px 0; background: #f0f6f5; border-left: 3px solid #648b7b; padding: 24px; }
.guide-article details { border-bottom: 1px solid #e4dfef; padding: 17px 0; }
.guide-article summary { font-weight: 700; cursor: pointer; color: #3d315f; }
.guide-article details p { padding: 2px 0 0 17px; }
.guide-aside { position: sticky; top: 24px; }
.aside-card { padding: 28px; background: #f6f4fb; border: 1px solid #eae6f3; border-radius: 8px; margin-bottom: 24px; font-size: 14px; }
.aside-card h2 { font-size: 24px; color: #251d56; margin: 10px 0; }
.aside-icon .icon { width: 34px; height: 34px; color: #6b56bb; }
.aside-card ul { padding-left: 18px; }
.aside-card li { padding-bottom: 5px; }
.site-footer { color: #d8d2ed; background: #251d56; padding: 44px 0 26px; font-size: 14px; }
.site-footer p { max-width: 920px; }
.site-footer a { color: #e8e3ff; }
.footer-brand { display: flex; align-items: center; gap: 24px; margin-bottom: 24px; }
.footer-brand img { display: block; }
.age-badge { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid #aba0cd; border-radius: 50%; color: #fff; font-weight: 700; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 10px 28px; border-top: 1px solid #494075; padding-top: 24px; margin-top: 26px; }
.site-footer .copyright { color: #b2a9cf; font-size: 12px; margin-top: 28px; }
.simple-header { color: #fff; background: #251d56; }
.simple-header > .wrap { display: flex; min-height: 96px; align-items: center; justify-content: space-between; }
.simple-header nav { display: flex; gap: 24px; }
.simple-header a { color: #fff; }
.simple-header > p { margin: 0; padding: 6px 16px; font-size: 12px; text-align: center; background: #443b79; }
.simple-brand img { display: block; }
.document-page { max-width: 850px; margin-block: 60px 80px; }
.document-page h2 { margin: 34px 0 12px; }
.document-page code { font-size: 13px; overflow-wrap: anywhere; background: #f3f0f9; padding: 2px 4px; }
.error-page { min-height: 390px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; font-size: 14px; }
.page-intro { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); align-items: start; gap: 36px; margin-bottom: 40px; }
.page-art { order: 2; margin: 0; }
.page-art img { display: block; width: 100%; height: auto; border-radius: 8px; }
.page-art figcaption { margin-top: 8px; color: #625b78; font-size: 12px; }
.page-intro .lead { font-size: 18px; }
.page-intro h1 { font-size: clamp(30px, 3.3vw, 42px); }
.page-status { border-left: 3px solid #b77746; background: #fff3e8; padding: 12px 18px; font-size: 14px; }
.guide-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.guide-card { padding: 20px; background: #f6f4fb; border: 1px solid #eae6f3; border-radius: 8px; }
.guide-card p { font-size: 14px; }
.guide-cta { border-top: 1px solid #ded9ed; padding-top: 24px; margin-top: 30px; }
.guide-cta p { font-size: 14px; }
.guide-cta .join-link { display: inline-block; padding: 12px 20px; border-radius: 12px; color: #fff; background: #b62640; font-weight: 700; text-decoration: none; }
.guide-cta .join-link:hover { background: #962038; }
.simple-header nav { flex-wrap: wrap; justify-content: flex-end; }
.content-page .simple-header > .wrap { gap: 24px; }
.content-page .guide-article section { scroll-margin-top: 28px; }
.site-footer [aria-current="page"] { color: #fff; font-weight: 700; }
@media (max-width: 899px) {
  .page-intro { grid-template-columns: 1fr; gap: 24px; }
  .page-art { order: 0; max-width: 600px; }
  .content-page .guide-aside { margin-top: 32px; }
}
@media (max-width: 540px) {
  .guide-cards { grid-template-columns: 1fr; }
  .content-page .simple-header > .wrap { gap: 16px; }
  .content-page .simple-header nav { gap: 8px 16px; }
}
@media (max-width: 899px) {
  html { scroll-padding-top: 150px; }
  .wrap { width: calc(100% - 36px); }
  .guide-main { padding: 42px 0 28px; }
  .guide-hero .lead { font-size: 18px; }
  .guide-status { gap: 10px; }
  .guide-status a { margin-left: 0; }
  .guide-nav { gap: 10px 20px; margin-bottom: 32px; }
  .guide-columns { display: block; }
  .guide-aside { display: grid; position: static; grid-template-columns: 1fr 1fr; gap: 16px; }
  .aside-card { padding: 20px; }
  .guide-article section { scroll-margin-top: 148px; }
  .site-footer { padding-bottom: 34px; }
  .lobby-page .site-footer { padding-bottom: 100px; }
  .simple-header nav { gap: 16px; font-size: 14px; }
  .document-page { margin-block: 36px 48px; }
}
@media (max-width: 540px) {
  .advice-grid, .guide-aside { grid-template-columns: 1fr; }
  .guide-article h2 { font-size: 23px; }
  .help-box { padding: 20px; }
  .simple-header .simple-brand img { width: 110px; height: auto; }
  .simple-header > .wrap { min-height: 80px; }
  .guide-article { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
