:root {
  color-scheme: dark;
  --ink: #11161d;
  --ink-soft: #171e27;
  --panel: #1a232d;
  --panel-bright: #202d38;
  --line: rgba(170, 200, 213, .15);
  --text: #f2f4ed;
  --muted: #a7b1b4;
  --teal: #35d7d9;
  --teal-deep: #1b9fa9;
  --amber: #ffae47;
  --pink: #f65cac;
  --display: "Arial Black", "Trebuchet MS", sans-serif;
  --body: "Trebuchet MS", Arial, sans-serif;
  --page-width: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background-color: var(--ink);
  background-image: radial-gradient(ellipse at 18% 12%, rgba(53, 215, 217, .075), transparent 28%), radial-gradient(ellipse at 85% 36%, rgba(246, 92, 172, .065), transparent 24%), linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: auto, auto, 54px 54px, 54px 54px;
  font-family: var(--body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body::before { position: fixed; z-index: -1; inset: 0; content: ""; pointer-events: none; opacity: .24; background: radial-gradient(1.5px 1.5px at 20% 29%, #ffe5b9 50%, transparent 100%), radial-gradient(1px 1px at 74% 14%, #fff 50%, transparent 100%), radial-gradient(1.5px 1.5px at 88% 67%, #ffb858 50%, transparent 100%), radial-gradient(1px 1px at 41% 83%, #fff 50%, transparent 100%); }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { display: block; max-width: 100%; }
::selection { color: var(--ink); background: var(--teal); }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 4px; }
.page-shell { width: min(var(--page-width), calc(100% - 48px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; z-index: 60; top: 12px; left: 12px; padding: 10px 14px; color: var(--ink); background: var(--amber); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--line); background: rgba(17, 22, 29, .9); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.site-header__inner { display: flex; align-items: center; gap: 30px; width: min(1340px, calc(100% - 48px)); min-height: 82px; margin: auto; }
.brand { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 12px; }
.brand__mark { position: relative; display: grid; width: 39px; height: 39px; place-items: center; border: 1px solid rgba(255,174,71,.74); transform: rotate(45deg); background: linear-gradient(135deg, rgba(255,174,71,.2), rgba(53,215,217,.1)); box-shadow: 0 0 20px rgba(255,174,71,.12); }
.brand__mark::before, .brand__mark::after { position: absolute; content: ""; background: var(--teal); }
.brand__mark::before { width: 14px; height: 14px; border: 2px solid var(--ink); }
.brand__mark::after { width: 5px; height: 5px; transform: translate(9px,-9px); background: var(--amber); }
.brand__mark > span { position: absolute; width: 5px; height: 5px; transform: translate(-9px,9px); background: var(--pink); }
.brand__copy { display: grid; line-height: 1.1; }
.brand__eyebrow { color: var(--muted); font-family: var(--display); font-size: 8px; letter-spacing: .22em; }
.brand__name, .footer-brand { color: var(--text); font-family: var(--display); font-size: 15px; letter-spacing: .065em; }
.brand__name span, .footer-brand span { color: var(--teal); }
.site-nav { display: flex; align-items: center; justify-content: center; gap: clamp(14px, 2vw, 30px); margin-left: auto; }
.site-nav a { position: relative; padding: 31px 0 29px; color: #bec7c8; font-size: 12px; font-weight: 700; transition: color .18s ease; }
.site-nav a::after { position: absolute; right: 0; bottom: 20px; left: 0; height: 2px; content: ""; background: var(--teal); transform: scaleX(0); transform-origin: left; transition: transform .18s ease; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--text); }
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after { transform: scaleX(1); }
.header-discord { display: inline-flex; align-items: center; gap: 10px; padding: 10px 15px; border: 1px solid rgba(53,215,217,.43); color: var(--teal); font-family: var(--display); font-size: 10px; letter-spacing: .06em; transition: background .2s, color .2s; }
.header-discord:hover { color: var(--ink); background: var(--teal); }
.nav-toggle { display: none; }

.hero { position: relative; display: grid; min-height: 635px; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 30px; padding-block: 48px 60px; }
.hero__copy { position: relative; z-index: 2; max-width: 620px; padding-block: 18px; }
.eyebrow { display: flex; align-items: center; gap: 11px; margin: 0 0 20px; color: var(--teal); font-family: var(--display); font-size: 10px; letter-spacing: .2em; }
.eyebrow__line { display: inline-block; width: 29px; height: 2px; background: var(--amber); box-shadow: 0 0 10px rgba(255,174,71,.5); }
.eyebrow--amber { color: var(--amber); }
.hero h1, .page-intro h1, .not-found h1 { margin: 0; font-family: var(--display); font-size: clamp(43px, 6vw, 77px); font-weight: 900; letter-spacing: -.06em; line-height: .99; }
.hero h1 { max-width: 720px; }
.text-glow, .page-intro h1 span, .not-found h1 span { color: var(--teal); text-shadow: 0 0 30px rgba(53,215,217,.2); }
.hero__lead { max-width: 530px; margin: 25px 0 28px; color: #c2cccb; font-size: 16px; line-height: 1.8; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 48px; padding: 12px 18px; border: 1px solid transparent; font-family: var(--display); font-size: 11px; letter-spacing: .045em; transition: transform .18s ease, background .18s ease, border-color .18s ease, color .18s ease; }
.button:hover { transform: translateY(-2px); }
.button--primary { color: #071316; background: var(--teal); box-shadow: 0 8px 30px rgba(53,215,217,.14); }
.button--primary:hover { background: #70f0ed; }
.button--outline { border-color: rgba(221,235,232,.3); color: var(--text); background: rgba(255,255,255,.02); }
.button--outline:hover { border-color: var(--amber); color: var(--amber); }
.button--discord { color: #11161d; background: var(--amber); box-shadow: 0 8px 30px rgba(255,174,71,.13); }
.button--discord:hover { background: #ffd08a; }
.hero__motto { margin: 30px 0 0; color: var(--muted); font-family: var(--display); font-size: 9px; letter-spacing: .18em; }
.hero__visual { position: relative; display: grid; min-height: 485px; place-items: center; isolation: isolate; }
.hero__visual::before { position: absolute; z-index: -1; width: min(84%, 390px); aspect-ratio: 1; border: 1px solid rgba(53,215,217,.14); border-radius: 50%; content: ""; box-shadow: 0 0 95px rgba(35,157,167,.1), inset 0 0 80px rgba(35,157,167,.08); }
.hero__visual::after { position: absolute; z-index: -2; width: 78%; aspect-ratio: 1; border: 1px solid rgba(255,174,71,.14); content: ""; transform: rotate(45deg); }
.hero__logo-frame { position: relative; width: min(96%, 485px); padding: 4px; background: linear-gradient(145deg, rgba(255,174,71,.8), rgba(53,215,217,.55) 52%, rgba(246,92,172,.6)); clip-path: polygon(50% 0, 100% 16%, 100% 86%, 50% 100%, 0 86%, 0 16%); filter: drop-shadow(0 16px 48px rgba(0,0,0,.5)); }
.hero__logo { width: 100%; aspect-ratio: 1; object-fit: cover; clip-path: polygon(50% 0, 100% 16%, 100% 86%, 50% 100%, 0 86%, 0 16%); }
.hero__orbit { position: absolute; z-index: -1; border: 1px dashed rgba(255,174,71,.3); border-radius: 50%; }
.hero__orbit--one { width: 88%; height: 41%; transform: rotate(-28deg); }
.hero__orbit--two { width: 92%; height: 32%; transform: rotate(28deg); }
.spark { position: absolute; color: var(--amber); text-shadow: 0 0 16px rgba(255,174,71,.6); }
.spark--one { top: 13%; right: 7%; font-size: 27px; }
.spark--two { bottom: 16%; left: 4%; color: var(--pink); font-size: 31px; }

.join-section { padding-block: 40px 94px; }
.join-panel { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 36px; padding: 34px 40px; border: 1px solid rgba(53,215,217,.23); background: linear-gradient(105deg, rgba(26,35,45,.94), rgba(24,37,43,.88)); box-shadow: 0 25px 70px rgba(0,0,0,.15); }
.join-panel::before { position: absolute; top: -1px; left: 40px; width: 90px; height: 3px; content: ""; background: var(--amber); }
.join-panel h2, .section-heading h2, .community-band h2, .changelog-heading h2 { margin: 0; font-family: var(--display); font-size: clamp(24px, 3.3vw, 39px); letter-spacing: -.04em; line-height: 1.1; }
.join-panel h2 span, .section-heading h2 span, .community-band h2 span, .changelog-heading h2 span { color: var(--teal); }
.join-panel p:not(.eyebrow) { margin: 10px 0 0; color: var(--muted); font-size: 14px; }
.server-address { position: relative; display: grid; min-width: min(330px, 100%); grid-template-columns: 1fr auto; align-items: center; gap: 8px 12px; padding: 15px 18px; border: 1px solid rgba(255,174,71,.3); background: rgba(10,15,21,.62); }
.server-address__label { display: flex; align-items: center; gap: 8px; grid-column: 1 / -1; color: var(--muted); font-family: var(--display); font-size: 9px; letter-spacing: .15em; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 10px rgba(53,215,217,.8); }
.server-address code { color: var(--text); font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: clamp(15px, 2vw, 19px); letter-spacing: .03em; }
.copy-button { padding: 7px 9px; border: 1px solid rgba(53,215,217,.35); color: var(--teal); background: transparent; cursor: pointer; font-size: 10px; }
.copy-button:hover { color: var(--ink); background: var(--teal); }
.copy-status { position: absolute; top: calc(100% + 4px); right: 0; color: var(--teal); font-size: 11px; }
.ways-section { padding-block: 6px 100px; }
.section-heading { max-width: 720px; margin-bottom: 34px; }
.section-heading > p:last-child { max-width: 540px; margin: 13px 0 0; color: var(--muted); }
.ways-list { display: grid; gap: 12px; }
.way-card { position: relative; display: grid; grid-template-columns: 66px 1fr 62px; align-items: center; gap: 20px; min-height: 150px; padding: 25px 30px; overflow: hidden; border: 1px solid var(--line); background: linear-gradient(100deg, rgba(26,35,45,.92), rgba(26,35,45,.57)); transition: border-color .2s, transform .2s; }
.way-card:hover { transform: translateX(5px); border-color: rgba(53,215,217,.44); }
.way-card::after { position: absolute; top: -40px; right: 85px; width: 150px; height: 220px; content: ""; border: 1px solid rgba(53,215,217,.08); transform: rotate(32deg); }
.way-card--accent { margin-left: 7%; border-color: rgba(255,174,71,.17); }
.way-card--pink { margin-left: 14%; border-color: rgba(246,92,172,.17); }
.way-card__number { align-self: start; color: rgba(53,215,217,.54); font-family: var(--display); font-size: 18px; }
.way-card--accent .way-card__number { color: var(--amber); }
.way-card--pink .way-card__number { color: var(--pink); }
.way-card__tag { margin: 0 0 4px; color: var(--teal); font-family: var(--display); font-size: 9px; letter-spacing: .16em; }
.way-card--accent .way-card__tag { color: var(--amber); }
.way-card--pink .way-card__tag { color: var(--pink); }
.way-card h3 { margin: 0; font-family: var(--display); font-size: 21px; letter-spacing: -.02em; }
.way-card__icon { position: relative; z-index: 1; display: grid; width: 48px; height: 48px; place-items: center; border: 1px solid rgba(53,215,217,.28); color: var(--teal); font-size: 21px; transform: rotate(45deg); }
.way-card__icon::first-letter { transform: rotate(-45deg); }
.way-card p:last-child { max-width: 680px; margin: 7px 0 0; color: var(--muted); font-size: 13px; }
.community-band { padding-block: 0 100px; }
.community-band__inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 30px; min-height: 225px; padding: 38px 48px; overflow: hidden; border: 1px solid rgba(246,92,172,.24); background: radial-gradient(ellipse at 78% 20%, rgba(246,92,172,.11), transparent 35%), linear-gradient(110deg, #1a232d, #17232b); }
.community-band__inner::after { position: absolute; right: 27%; bottom: -117px; width: 225px; height: 225px; content: ""; border: 1px solid rgba(246,92,172,.2); transform: rotate(45deg); }
.community-band h2 span { color: var(--pink); }

.inner-page { min-height: 62vh; padding-top: 70px; padding-bottom: 100px; }
.page-intro { position: relative; max-width: 790px; padding: 17px 0 49px; }
.page-intro h1 { font-size: clamp(46px, 7vw, 78px); }
.page-intro > p:last-child { max-width: 670px; margin: 21px 0 0; color: var(--muted); font-size: 16px; }
.page-intro::after { position: absolute; right: 2%; bottom: 27px; width: 110px; height: 1px; content: ""; background: linear-gradient(90deg, transparent, var(--amber)); }
.group-heading { display: flex; align-items: center; gap: 15px; margin: 0 0 20px; padding-bottom: 13px; border-bottom: 1px solid var(--line); }
.group-heading__index { color: var(--amber); font-family: var(--display); font-size: 11px; letter-spacing: .12em; }
.group-heading h2 { margin: 0; font-family: var(--display); font-size: clamp(20px, 3vw, 27px); letter-spacing: -.03em; }
.team-group { margin-top: 30px; }
.team-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.team-grid--featured { grid-template-columns: minmax(235px, 360px); }
.team-card { position: relative; overflow: hidden; border: 1px solid var(--line); background: rgba(26,35,45,.9); transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.team-card:hover { transform: translateY(-5px); border-color: rgba(53,215,217,.38); box-shadow: 0 20px 45px rgba(0,0,0,.22); }
.team-card__photo { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: linear-gradient(135deg, #182832, #253544); }
.team-card__photo::after { position: absolute; inset: 55% 0 0; content: ""; background: linear-gradient(transparent, rgba(17,22,29,.38)); pointer-events: none; }
.team-card__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; transition: transform .35s ease; }
.team-card:hover .team-card__photo img { transform: scale(1.035); }
.team-card--featured .team-card__photo { aspect-ratio: 1 / 1; }
.team-card__photo--fallback { display: grid; place-items: center; background: radial-gradient(circle at 50% 42%, rgba(53,215,217,.17), transparent 46%), repeating-linear-gradient(135deg, #1a2933 0 18px, #1c3037 18px 36px); }
.team-card__photo--fallback::before { position: absolute; width: 38%; aspect-ratio: 1; content: ""; border: 1px solid rgba(255,174,71,.45); transform: rotate(45deg); }
.team-card__photo--fallback > span:not(.sr-only) { z-index: 1; color: var(--amber); font-family: var(--display); font-size: 50px; text-shadow: 0 0 22px rgba(255,174,71,.22); }
.team-card__info { position: relative; padding: 16px 18px 19px; }
.team-card__role { display: inline-block; margin-bottom: 5px; color: var(--teal); font-family: var(--display); font-size: 9px; letter-spacing: .14em; }
.team-card__role--amber { color: var(--amber); }
.team-card__role--pink { color: var(--pink); }
.team-card h3 { margin: 0; font-family: var(--display); font-size: 21px; letter-spacing: -.025em; }
.team-note { display: flex; align-items: center; gap: 14px; margin-top: 43px; padding: 19px 22px; border-left: 2px solid var(--pink); background: rgba(246,92,172,.055); }
.team-note__symbol { color: var(--pink); font-size: 22px; }
.team-note p { margin: 0; color: var(--muted); font-size: 13px; }
.team-note a, .text-link { color: var(--teal); }
.team-note a:hover, .text-link:hover { color: var(--amber); }
.changelog-wrap { padding-top: 14px; }
.changelog-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 23px; }
.changelog-heading .eyebrow { margin-bottom: 9px; }
.text-link { flex: 0 0 auto; font-family: var(--display); font-size: 11px; }
.changelog-feed { display: grid; gap: 13px; }
.feed-state { display: flex; align-items: center; gap: 14px; min-height: 120px; padding: 24px; border: 1px solid var(--line); background: rgba(26,35,45,.8); color: var(--muted); }
.feed-state p { margin: 0; }
.feed-state--error { align-items: flex-start; flex-direction: column; }
.feed-state--error strong { color: var(--amber); }
.loading-mark { width: 20px; height: 20px; border: 2px solid rgba(53,215,217,.2); border-top-color: var(--teal); border-radius: 50%; animation: spin .8s linear infinite; }
.changelog-item { display: grid; grid-template-columns: 190px 1fr; gap: 22px; padding: 22px; border: 1px solid var(--line); background: linear-gradient(105deg, rgba(26,35,45,.96), rgba(23,32,41,.82)); }
.changelog-item__author { display: flex; align-items: center; gap: 12px; }
.changelog-item__avatar { width: 48px; height: 48px; flex: 0 0 48px; border: 1px solid rgba(53,215,217,.32); border-radius: 50%; object-fit: cover; background: var(--panel-bright); }
.changelog-item__author-name { display: block; color: var(--text); font-family: var(--display); font-size: 11px; overflow-wrap: anywhere; }
.changelog-item__date { display: block; margin-top: 4px; color: var(--muted); font-size: 10px; }
.changelog-item__body { min-width: 0; color: #dbe2df; font-size: 14px; white-space: pre-wrap; overflow-wrap: anywhere; }
.changelog-item__images { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 14px; }
.changelog-item__images a { display: block; width: min(230px, 100%); border: 1px solid var(--line); }
.changelog-item__images img { width: 100%; max-height: 190px; object-fit: cover; }
.changelog-empty { padding: 26px; border: 1px dashed rgba(255,174,71,.35); background: rgba(255,174,71,.045); }
.changelog-empty h3 { margin: 0 0 7px; color: var(--amber); font-family: var(--display); font-size: 16px; }
.changelog-empty p { margin: 0; color: var(--muted); font-size: 13px; }

.placeholder-panel { position: relative; max-width: 800px; margin: 10px auto 0; padding: 45px clamp(24px, 6vw, 60px); border: 1px solid rgba(255,174,71,.26); background: radial-gradient(ellipse at 50% 0%, rgba(255,174,71,.08), transparent 55%), rgba(26,35,45,.86); text-align: center; }
.placeholder-panel__stamp { display: inline-block; padding: 6px 10px; border: 1px solid rgba(255,174,71,.36); color: var(--amber); font-family: var(--display); font-size: 9px; letter-spacing: .15em; }
.placeholder-panel__icon { width: 64px; height: 64px; display: grid; place-items: center; margin: 25px auto 16px; border: 1px solid rgba(53,215,217,.28); color: var(--teal); font-family: Georgia, serif; font-size: 34px; transform: rotate(45deg); }
.placeholder-panel__icon::first-letter { transform: rotate(-45deg); }
.placeholder-panel h2 { margin: 0; font-family: var(--display); font-size: clamp(21px, 3vw, 29px); }
.placeholder-panel p { max-width: 630px; margin: 16px auto 23px; color: var(--muted); font-size: 14px; }
.placeholder-panel strong { color: var(--text); }
.legal-page .page-intro { max-width: 900px; }
.legal-page .page-intro h1 { font-size: clamp(40px, 6vw, 70px); }
.legal-page .page-intro h1 span { color: var(--teal); }
.legal-alert { margin: 0 0 36px; padding: 15px 19px; border-left: 3px solid var(--amber); color: var(--muted); background: rgba(255,174,71,.065); font-size: 13px; }
.legal-alert strong { color: var(--amber); }
.legal-block { max-width: 870px; margin-top: 28px; padding: clamp(23px, 4vw, 38px); border: 1px solid var(--line); background: rgba(26,35,45,.74); }
.legal-block__index { margin-bottom: 8px; color: var(--teal); font-family: var(--display); font-size: 9px; letter-spacing: .17em; }
.legal-block h2 { margin: 0 0 10px; font-family: var(--display); font-size: 29px; }
.legal-placeholder { color: var(--muted); font-size: 13px; }
.legal-fields { margin: 22px 0 0; }
.legal-fields div { display: grid; grid-template-columns: minmax(180px, .65fr) 1.35fr; gap: 16px; padding: 13px 0; border-top: 1px solid var(--line); }
.legal-fields dt { color: var(--text); font-weight: 700; font-size: 13px; }
.legal-fields dd { margin: 0; color: var(--muted); font-size: 13px; }
.not-found { display: grid; min-height: 72vh; align-content: center; justify-items: start; }
.not-found h1 { margin-bottom: 15px; }
.not-found > p:not(.eyebrow) { max-width: 560px; margin: 0 0 25px; color: var(--muted); }

.site-footer { border-top: 1px solid var(--line); background: rgba(11,15,20,.7); }
.site-footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; width: min(1340px, calc(100% - 48px)); min-height: 95px; margin: auto; }
.site-footer__inner > p { margin: 0; color: #899497; font-size: 11px; }
.footer-brand { flex: 0 0 auto; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: end; gap: 14px; }
.footer-links a { color: #a6b0b1; font-size: 10px; }
.footer-links a:hover { color: var(--teal); }

@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 1120px) {
  .site-header__inner { gap: 20px; }
  .site-nav { gap: 15px; }
  .site-nav a { font-size: 11px; }
}
@media (max-width: 920px) {
  .site-header__inner { min-height: 74px; }
  .nav-toggle { display: flex; flex-direction: column; gap: 5px; width: 42px; height: 42px; align-items: center; justify-content: center; margin-left: auto; border: 1px solid var(--line); color: var(--text); background: transparent; cursor: pointer; }
  .nav-toggle span { width: 18px; height: 2px; background: var(--teal); transition: transform .2s; }
  .nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-7px) rotate(-45deg); }
  .site-nav { position: absolute; top: 100%; right: 0; left: 0; display: none; align-items: stretch; gap: 0; padding: 8px 24px 16px; border-bottom: 1px solid var(--line); background: #121820; }
  .site-nav.is-open { display: flex; flex-direction: column; }
  .site-nav a { padding: 12px 6px; border-bottom: 1px solid rgba(255,255,255,.05); font-size: 13px; }
  .site-nav a::after { display: none; }
  .header-discord { margin-left: 0; }
  .hero { min-height: 560px; grid-template-columns: 1.1fr .9fr; gap: 12px; }
  .hero__visual { min-height: 390px; }
  .hero__logo-frame { width: min(100%, 390px); }
  .join-panel { align-items: flex-start; flex-direction: column; }
  .server-address { width: 100%; }
  .site-footer__inner { flex-wrap: wrap; justify-content: space-between; padding-block: 23px; }
  .site-footer__inner > p { order: 3; width: 100%; }
}
@media (max-width: 650px) {
  .page-shell { width: min(var(--page-width), calc(100% - 36px)); }
  .site-header__inner { width: calc(100% - 36px); gap: 10px; }
  .brand__mark { width: 33px; height: 33px; }
  .brand__eyebrow { font-size: 7px; }
  .brand__name { font-size: 13px; }
  .header-discord { padding: 9px 10px; font-size: 9px; }
  .nav-toggle { width: 38px; height: 38px; }
  .site-nav { padding-inline: 18px; }
  .hero { min-height: auto; grid-template-columns: 1fr; gap: 5px; padding-top: 56px; padding-bottom: 25px; }
  .hero__copy { padding: 0; }
  .hero h1 { font-size: clamp(41px, 13vw, 65px); }
  .hero__lead { margin-block: 20px; font-size: 14px; }
  .hero__motto { margin-top: 21px; font-size: 8px; }
  .hero__visual { min-height: auto; margin: 16px 0 0; }
  .hero__logo-frame { width: min(83vw, 365px); }
  .hero__visual::before { width: 70%; }
  .join-section { padding-block: 31px 72px; }
  .join-panel { gap: 22px; padding: 25px 20px; }
  .join-panel::before { left: 20px; }
  .join-panel h2, .section-heading h2, .community-band h2 { font-size: 27px; }
  .server-address { min-width: 0; padding: 13px; }
  .server-address code { font-size: 14px; }
  .copy-button { font-size: 9px; }
  .ways-section { padding-bottom: 75px; }
  .way-card { grid-template-columns: 32px 1fr 34px; gap: 10px; min-height: 132px; padding: 18px 14px; }
  .way-card--accent { margin-left: 4%; }
  .way-card--pink { margin-left: 8%; }
  .way-card__number { font-size: 13px; }
  .way-card h3 { font-size: 17px; }
  .way-card p:last-child { font-size: 12px; }
  .way-card__icon { width: 29px; height: 29px; font-size: 15px; }
  .community-band { padding-bottom: 68px; }
  .community-band__inner { align-items: flex-start; flex-direction: column; min-height: 0; padding: 26px 20px; }
  .community-band .button { font-size: 10px; }
  .inner-page { padding-top: 48px; padding-bottom: 72px; }
  .page-intro { padding-bottom: 32px; }
  .page-intro h1 { font-size: clamp(45px, 13vw, 66px); }
  .page-intro > p:last-child { font-size: 14px; }
  .page-intro::after { bottom: 16px; width: 70px; }
  .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
  .team-grid--featured { grid-template-columns: minmax(0, 1fr); }
  .team-card__photo { aspect-ratio: .9 / 1; }
  .team-card--featured .team-card__photo { aspect-ratio: .9 / 1; }
  .team-card__info { padding: 12px 12px 14px; }
  .team-card__role { font-size: 8px; letter-spacing: .09em; }
  .team-card h3 { font-size: 16px; }
  .team-note { align-items: flex-start; padding: 15px; }
  .changelog-heading { align-items: flex-start; flex-direction: column; }
  .changelog-item { grid-template-columns: 1fr; gap: 14px; padding: 16px; }
  .changelog-item__author { align-items: center; }
  .legal-fields div { grid-template-columns: 1fr; gap: 4px; }
  .legal-block { padding: 22px 18px; }
  .legal-block h2 { font-size: 24px; }
  .site-footer__inner { width: calc(100% - 36px); }
  .footer-links { justify-content: start; gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}


/* Regelwerk: lange Regeln in zugänglichen, aufklappbaren Abschnitten */
.rule-shortcut { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.rule-shortcut a { padding: 8px 12px; border: 1px solid rgba(53,215,217,.28); color: var(--teal); background: rgba(53,215,217,.045); font-family: var(--display); font-size: 10px; letter-spacing: .04em; }
.rule-shortcut a:hover { border-color: var(--amber); color: var(--amber); }
.rule-source-note { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 8px 22px; margin: 4px 0 43px; padding: 17px 20px; border-left: 3px solid var(--amber); background: rgba(255,174,71,.055); }
.rule-source-note p { margin: 0; color: var(--muted); font-size: 12px; }
.rule-source-note strong { color: var(--amber); }
.rule-source-note a { grid-column: 2; grid-row: 1 / span 2; color: var(--teal); font-family: var(--display); font-size: 10px; }
.rule-source-note a:hover { color: var(--amber); }
.rule-section { margin-top: 54px; scroll-margin-top: 34px; }
.rule-section__heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 24px; padding-bottom: 17px; border-bottom: 1px solid var(--line); }
.rule-section__heading .eyebrow { margin-bottom: 8px; }
.rule-section__heading h2 { margin: 0; font-family: var(--display); font-size: clamp(25px, 4vw, 40px); letter-spacing: -.04em; }
.rule-section__heading h2 span { color: var(--teal); }
.rule-section__heading > p { max-width: 390px; margin: 0; color: var(--muted); font-size: 12px; text-align: right; }
.rule-group { margin-top: 24px; }
.rule-group__heading { display: flex; align-items: center; gap: 12px; margin: 0 0 12px; padding: 0 2px 10px; border-bottom: 1px solid var(--line); }
.rule-group__heading h3 { margin: 0; color: #dce7e4; font-family: var(--display); font-size: 15px; letter-spacing: -.01em; }
.rule-group__meta { margin-left: auto; color: var(--muted); font-size: 10px; white-space: nowrap; }
.rule-list { display: grid; gap: 9px; }
.rule-card { overflow: hidden; border: 1px solid var(--line); background: linear-gradient(100deg, rgba(26,35,45,.91), rgba(24,32,41,.82)); transition: border-color .18s ease, background .18s ease; }
.rule-card:hover, .rule-card[open] { border-color: rgba(53,215,217,.36); }
.rule-card[open] { background: rgba(26,35,45,.96); }
.rule-card > summary { display: grid; min-height: 55px; grid-template-columns: 75px minmax(0,1fr) 20px; align-items: center; gap: 13px; padding: 11px 17px; cursor: pointer; list-style: none; }
.rule-card > summary::-webkit-details-marker { display: none; }
.rule-card__number { color: var(--amber); font-family: var(--display); font-size: 11px; letter-spacing: .02em; }
.rule-card__title { color: var(--text); font-family: var(--display); font-size: 13px; line-height: 1.45; }
.rule-card__chevron { display: grid; width: 18px; height: 18px; place-items: center; border: 1px solid rgba(53,215,217,.28); color: var(--teal); font-size: 12px; transform: rotate(0); transition: transform .18s ease; }
.rule-card[open] .rule-card__chevron { transform: rotate(180deg); }
.rule-card__body { padding: 0 22px 19px 105px; color: #c1cdca; font-size: 13px; line-height: 1.75; }
.rule-card__body p { margin: 0 0 12px; }
.rule-card__body p:last-child { margin-bottom: 0; }
.rule-card__body strong { color: var(--teal); font-weight: 700; }
.rule-card__body ul { display: grid; gap: 7px; margin: 0 0 12px; padding-left: 18px; }
.rule-card__body li { padding-left: 3px; }
.rule-card__body li::marker { color: var(--amber); }
.rule-source-footer { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 34px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; }
.rule-source-footer a { color: var(--teal); }
.rule-source-footer a:hover { color: var(--amber); }
@media (max-width: 650px) {
  .rule-source-note { grid-template-columns: 1fr; gap: 10px; margin-bottom: 32px; padding: 15px; }
  .rule-source-note a { grid-column: auto; grid-row: auto; }
  .rule-section { margin-top: 40px; }
  .rule-section__heading { align-items: flex-start; flex-direction: column; }
  .rule-section__heading > p { max-width: none; text-align: left; }
  .rule-group__heading { flex-wrap: wrap; gap: 8px; }
  .rule-group__heading h3 { flex: 1 1 100%; }
  .rule-group__meta { margin-left: 0; }
  .rule-card > summary { grid-template-columns: 60px minmax(0,1fr) 18px; gap: 9px; padding: 10px 12px; }
  .rule-card__number { font-size: 10px; }
  .rule-card__title { font-size: 12px; }
  .rule-card__body { padding: 0 14px 16px 81px; font-size: 12px; }
  .rule-source-footer { align-items: flex-start; flex-direction: column; }
}


/* Rechtliche Inhalte: klare Adresse, Navigation und kompakte Kapitel */
.legal-shortcut { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 23px; }
.legal-shortcut a { padding: 9px 12px; border: 1px solid rgba(53,215,217,.25); color: var(--teal); background: rgba(53,215,217,.045); font-family: var(--display); font-size: 10px; }
.legal-shortcut a:hover { border-color: var(--amber); color: var(--amber); }
.legal-address { margin: 22px 0 0; color: var(--muted); font-size: 14px; font-style: normal; line-height: 1.9; }
.legal-address strong { color: var(--text); font-family: var(--display); font-size: 17px; }
.legal-address a { color: var(--teal); }
.legal-address a:hover { color: var(--amber); }
.legal-copy-intro { margin: 20px 0 0; padding-top: 17px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; line-height: 1.75; }
.legal-block--privacy { max-width: 1000px; }
.privacy-sections { display: grid; gap: 10px; margin-top: 22px; }
.privacy-section { overflow: hidden; border: 1px solid var(--line); background: rgba(17,22,29,.5); }
.privacy-section[open] { border-color: rgba(53,215,217,.32); }
.privacy-section > summary { display: grid; grid-template-columns: 34px minmax(0,1fr) 20px; align-items: center; gap: 14px; padding: 16px 18px; cursor: pointer; list-style: none; }
.privacy-section > summary::-webkit-details-marker { display: none; }
.privacy-section__number { color: var(--amber); font-family: var(--display); font-size: 11px; }
.privacy-section__title { color: var(--text); font-family: var(--display); font-size: 14px; line-height: 1.5; }
.privacy-section__chevron { display: grid; width: 18px; height: 18px; place-items: center; border: 1px solid rgba(53,215,217,.28); color: var(--teal); transition: transform .18s ease; }
.privacy-section[open] .privacy-section__chevron { transform: rotate(180deg); }
.privacy-section__content { padding: 0 22px 21px 66px; color: #c1cdca; font-size: 13px; line-height: 1.8; overflow-wrap: anywhere; }
.privacy-section__content h4 { margin: 22px 0 8px; color: var(--teal); font-family: var(--display); font-size: 13px; line-height: 1.55; }
.privacy-section__content h4:first-child { margin-top: 8px; }
.privacy-section__content p { margin: 0 0 14px; }
.privacy-section__content p:last-child { margin-bottom: 0; }
@media (max-width: 650px) {
  .legal-shortcut { gap: 8px; }
  .privacy-section > summary { grid-template-columns: 27px minmax(0,1fr) 18px; gap: 9px; padding: 13px 12px; }
  .privacy-section__title { font-size: 12px; }
  .privacy-section__content { padding: 0 14px 17px 48px; font-size: 12px; }
  .privacy-section__content h4 { font-size: 12px; }
}

.legal-page .page-intro > p { max-width: 670px; margin: 21px 0 0; color: var(--muted); font-size: 16px; }
