:root {
  color-scheme: light;
  --page: #FBF3E2;
  --sand: #F3E3C2;
  --line: #E6D6B4;
  --card: #FFFCF4;
  --ink: #4A3B2A;
  --muted: #907A5E;
  --outline: #2A1E12;
  --gold: #F8B72E;
  --gold-deep: #C98A12;
  --sky: #86C3E4;
  --glass: rgba(27, 20, 70, .82);
  --discord: #5865F2;
  --night: #1B1446;
  --night-ink: #CFC8F0;
  --white: #FFFFFF;
  --ok: #2F8A3B;
  --ok-bg: #E5F4DF;
  --err: #B5382B;
  --err-bg: #FBE3DD;
  --font-display: "Montserrat Alternates", var(--font-script, "Nunito"), "Nunito", "Trebuchet MS", sans-serif;
  --font-body: "Nunito", var(--font-script, "Segoe UI"), "Segoe UI", system-ui, sans-serif;
  --gutter: clamp(16px, 4vw, 40px);
  --wrap: 1160px;
}
* { box-sizing: border-box; }
html, body { background: var(--page); }
body { margin: 0; color: var(--ink); font: 600 17px/1.6 var(--font-body); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }

.top { background: var(--sky) url("img/sky.jpg") center top / cover no-repeat; border-radius: 0 0 50% 50% / 0 0 48px 48px; padding-bottom: clamp(56px, 7vw, 88px); text-align: center; }
.topbar { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding: 16px var(--gutter) 0; display: flex; align-items: center; justify-content: space-between; text-align: left; }
.logo { display: block; width: 92px; filter: drop-shadow(0 8px 12px rgba(27, 20, 70, .28)); }
.logo img { width: 100%; }
.discord { flex: none; display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--discord); color: var(--white); box-shadow: 0 5px 0 rgba(0, 0, 0, .18); transition: transform .15s ease; }
.top-side { display: flex; align-items: center; gap: 12px; min-width: 0; }
.lang { position: relative; display: inline-flex; align-items: center; gap: 6px; height: 34px; padding-inline: 10px 24px; border-radius: 999px; background: var(--glass); color: var(--white); box-shadow: 0 3px 0 rgba(0, 0, 0, .18); }
.lang svg { flex: none; width: 15px; height: 15px; }
.lang::after { content: ""; position: absolute; inset-inline-end: 11px; top: 50%; width: 5px; height: 5px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.lang select { appearance: none; min-width: 0; max-width: 150px; border: 0; background: transparent; color: inherit; font: 800 13px/1 var(--font-body); cursor: pointer; text-overflow: ellipsis; }
.lang select:focus-visible { outline: none; }
.lang:focus-within { outline: 3px solid var(--gold); outline-offset: 3px; }
.lang option { color: #1B1446; background: #FFFFFF; }
.discord:hover { transform: translateY(-2px); }
.discord svg { width: 28px; height: 28px; }
.page-title { margin: clamp(8px, 2vw, 24px) auto 0; padding-inline: var(--gutter); max-width: 22ch; font: 900 clamp(32px, 4vw, 52px)/1.08 var(--font-display); color: var(--white); letter-spacing: .01em; text-wrap: balance;
  -webkit-text-stroke: 7px var(--outline); paint-order: stroke fill; filter: drop-shadow(0 5px 0 var(--outline)); }
.page-lead { display: inline-block; margin: 22px var(--gutter) 0; max-width: 46ch; padding: 10px 22px; border-radius: 999px; background: var(--glass); color: var(--white); font: 800 17px/1.35 var(--font-body); }

.doc { padding-block: clamp(48px, 6vw, 80px) clamp(64px, 8vw, 112px); }
.card { max-width: 780px; margin-inline: auto; background: var(--card); border: 2px solid var(--line); border-radius: 28px; box-shadow: 0 6px 0 var(--sand); padding: clamp(24px, 4vw, 48px); }
.card > :first-child { margin-top: 0; }
.card > :last-child { margin-bottom: 0; }
.card h2 { margin: 36px 0 10px; font: 900 22px/1.25 var(--font-body); color: var(--outline); }
.card h3 { margin: 22px 0 8px; font: 900 18px/1.3 var(--font-body); color: var(--ink); }
.card p { margin: 0 0 14px; }
.card ul, .card ol { margin: 0 0 14px; padding-inline-start: 1.3em; }
.card li { margin-bottom: 6px; }
.card li::marker { color: var(--gold-deep); font-weight: 900; }
.card a { color: #2E6FB0; font-weight: 800; }
.note { margin: 0 0 14px; padding: 14px 18px; border-radius: 16px; background: var(--sand); }
.muted { color: var(--muted); font-size: 15px; }
.form + .muted { margin-top: 20px; }

.form { display: grid; gap: 8px; }
.form label { font-weight: 900; color: var(--outline); margin-top: 10px; }
.form input { width: 100%; font: 800 20px/1.2 var(--font-body); letter-spacing: .06em; text-transform: uppercase; color: var(--ink); padding: 14px 18px; border: 2px solid var(--line); border-radius: 16px; background: var(--white); }
.form input:focus { border-color: var(--gold); outline: none; }
.form .hint { margin: 0; color: var(--muted); font-size: 15px; }
.btn { justify-self: start; margin-top: 18px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 0 34px; border: 0; border-radius: 999px; background: var(--gold); color: var(--outline); font: 900 19px/1 var(--font-body); text-decoration: none; cursor: pointer; box-shadow: 0 5px 0 var(--gold-deep); transition: transform .12s ease, box-shadow .12s ease; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 7px 0 var(--gold-deep); }
.btn:active { transform: translateY(3px); box-shadow: 0 2px 0 var(--gold-deep); }
.btn:disabled { opacity: .6; cursor: default; transform: none; }
.card .btn { color: var(--outline); text-decoration: none; }
.card .btn.blue, .btn.blue { background: var(--discord); color: var(--white); box-shadow: 0 5px 0 #3C45A5; }
.btn.blue svg { width: 24px; height: 24px; }
.msg { margin: 12px 0 0; padding: 12px 16px; border-radius: 14px; font-weight: 800; }
.msg:empty { display: none; }
.msg.ok { background: var(--ok-bg); color: var(--ok); }
.msg.err { background: var(--err-bg); color: var(--err); }
.msg.info { background: var(--sand); color: var(--ink); }

.ways { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 0 0 14px; }
.way { display: grid; gap: 6px; align-content: start; padding: 22px; border-radius: 20px; background: var(--sand); }
.card .way h2 { margin: 0; }
.way p { margin: 0 0 6px; }
.way .btn { margin-top: 6px; }

.foot { background: var(--night); color: var(--night-ink); padding-block: 56px 40px; font: 600 15px/1.5 var(--font-body); }
.foot .cols { display: grid; grid-template-columns: auto auto; align-items: center; justify-content: space-between; gap: 28px; }
.foot .mark { width: 88px; }
.foot-side { display: flex; align-items: center; gap: 16px; justify-self: end; }
.foot .discord { box-shadow: none; width: 48px; height: 48px; }
.foot nav { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 10px 28px; }
.foot nav a { text-decoration: none; }
.foot nav a:hover, .foot nav a[aria-current] { color: var(--white); text-decoration: underline; }
.foot .legal { margin-top: 32px; padding-top: 22px; border-top: 1px solid rgba(207, 200, 240, .18); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; opacity: .8; }
.soon { margin: 0; display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 10px; padding: 12px 22px; border-radius: 999px; background: var(--glass); color: var(--white); font: 800 18px/1.2 var(--font-body); }
.soon .pf { display: inline-flex; align-items: center; gap: 6px; }
.soon svg { width: 22px; height: 22px; }

@media (max-width: 900px) {
  .logo { width: 64px; }
  .topbar { padding-top: 12px; }
  .top { border-radius: 0 0 50% 50% / 0 0 28px 28px; }
  .page-title { font-size: 25px; -webkit-text-stroke-width: 6px; }
  .page-lead { font-size: 15px; border-radius: 20px; padding: 10px 16px; }
  .card { border-radius: 22px; }
  .card h2 { font-size: 20px; margin-top: 28px; }
  .ways { grid-template-columns: minmax(0, 1fr); }
  .btn { justify-self: stretch; }
  .foot .cols { grid-template-columns: minmax(0, 1fr); justify-items: start; }
  .foot-side { justify-self: start; flex-wrap: wrap; gap: 12px; }
  .discord { width: 44px; height: 44px; }
  .lang { height: 32px; padding-inline: 9px 22px; }
  .lang::after { inset-inline-end: 10px; }
  .lang select { max-width: 30vw; font-size: 12px; }
  .discord svg { width: 24px; height: 24px; }
  .soon { font-size: 15px; padding: 10px 16px; gap: 4px 7px; flex-wrap: wrap; border-radius: 22px; max-width: 100%; }
  .soon .pf { white-space: nowrap; }
  .soon .pf { gap: 4px; }
  .soon svg { width: 18px; height: 18px; }
}
