/* Five primary destinations, with generous tap height on small screens. */
@media(max-width:700px){
 .header>nav{gap:2px;padding:4px 6px;width:100%;max-width:100%;justify-content:space-between}
 .header>nav>a,.header>nav>a.nav-contact,.header>nav .home-section-trigger{font-size:clamp(13px,3.5vw,18px);padding-inline:clamp(4px,1vw,8px);min-width:0;flex:1 1 auto;height:44px;min-height:44px;letter-spacing:0}
 .header>nav>.home-section-dropdown{display:flex;flex:1 1 auto;min-width:0}
 .header>nav .home-section-trigger{width:100%;justify-content:center}
 .header>nav .nav-contact{padding-inline:8px}
}
.discord-intro{padding-top:64px;padding-bottom:52px;border-bottom:1px solid var(--line);background:#fff}
.discord-intro h1{font-family:var(--display);font-size:clamp(70px,9vw,144px);font-weight:700;line-height:1;letter-spacing:-.02em;margin-top:22px}
.discord-community{display:grid;grid-template-columns:1.1fr 1fr;gap:clamp(36px,7vw,100px);align-items:center;padding-block:80px 100px}
.community-kicker{font-family:var(--display);font-size:14px;letter-spacing:.12em;font-weight:600}
.community-copy h2{font-size:clamp(27px,3vw,42px);line-height:1.55;margin:24px 0 30px;max-width:16em;word-break:normal}
.community-copy>p:not(.community-kicker){font-size:16px;line-height:2;max-width:36em;color:var(--muted)}
.community-copy>.community-lead{color:#f1f3ff;margin-bottom:18px}
.creative-fields{display:flex;flex-wrap:wrap;gap:8px;margin-top:32px}
.creative-fields span{font-family:var(--display);font-size:14px;letter-spacing:.06em;border:1px solid var(--line);padding:7px 13px;border-radius:4px}
.community-invite{background:var(--ink);color:#fff;border-radius:28px;padding:32px;position:relative;overflow:hidden}
.community-art{width:100%;max-width:320px;height:130px;color:var(--pink);margin:0 auto 24px}
.community-signal{transform-origin:center;animation:community-pulse 7s ease-in-out infinite}
@keyframes community-pulse{50%{opacity:.4;transform:scale(.94)}}
.community-invite .community-kicker{color:var(--pink)}
.community-invite h2{font-size:24px;line-height:1.5;margin:12px 0}
.community-invite>p:not(.community-kicker){font-size:14px;line-height:1.9;color:#d2d2da}
.community-join{display:flex;align-items:center;justify-content:space-between;gap:16px;background:var(--pink);color:var(--ink);padding:18px 22px;min-height:60px;border-radius:40px;margin:28px 0 14px;font-size:16px;font-weight:600;transition:background .2s,transform .2s}
.community-join:hover{background:#ff8cbd;transform:translateY(-2px)}
.community-join:focus-visible{outline-color:#fff}
.community-invite .invite-note{font-size:12px!important}
@media(max-width:700px){
 .discord-intro{padding-top:28px;padding-bottom:26px}
 .discord-intro h1{font-size:clamp(54px,13.5vw,80px);margin-top:18px}
 .discord-community{grid-template-columns:1fr;gap:32px;padding-block:36px 48px}
 .community-copy h2{font-size:26px;margin:18px 0 22px}
 .community-copy>p:not(.community-kicker){font-size:15px;line-height:1.9}
 .community-invite{padding:24px;border-radius:22px}
 .community-invite h2{font-size:22px}
 .community-art{height:100px;margin-bottom:18px}
 .community-join{font-size:15px;padding-inline:18px}
}
@media(prefers-reduced-motion:reduce){.community-signal{animation:none}.community-join{transition:none}}

/* Discord community: deep navy surfaces and clear blue-violet accents. */
.page-discord{--pink:#929bff;--pink-light:#343a72;--muted:#bbc5e1;--line:#354366;background:#101a33;color:#f3f5ff;background-image:none}
.page-discord .header{background:#101a33f5;border-bottom-color:#344263;color:#f3f5ff}
.page-discord .header .brand-logo{filter:brightness(0) invert(1)}
.page-discord .header>nav{background:#192541;border-color:#3c4b6e}
.page-discord .header nav .nav-contact{background:#5865f2;color:white}
.page-discord .header nav .nav-contact:hover{background:#4752c4}
.page-discord .header nav a:not(.nav-contact):hover{color:#b6bdff}
.page-discord .language-picker{color:#f3f5ff}
.page-discord .language-picker summary{background:#192541;border-color:#7381a3}
.page-discord .language-options{background:#192541;border-color:#7381a3}
.page-discord .language-options a{color:#f3f5ff}
.page-discord .language-options a:hover,.page-discord .language-options a[aria-current]{background:#35406c}
.page-discord .more-links{background:#192541;border:1px solid #7381a3}
.page-discord .more-links a:hover{background:#35406c;color:white}
.page-discord .discord-intro{background:radial-gradient(ellipse at 90% 0,#2c3960 0,transparent 62%),#131f3c;border-bottom-color:#354366}
.discord-heading{display:flex;align-items:center;gap:28px;margin-top:22px}
.discord-heading h1{margin:0}
.discord-brand-icon{width:clamp(64px,8vw,112px);height:auto;flex:none;color:#a6aeff}
.page-discord .community-kicker,.page-discord .discord-intro .eyebrow{color:#aeb7ff}
.page-discord .creative-fields span{background:#1c2947;color:#d4dbf2}
.page-discord .community-invite{background:linear-gradient(145deg,#263660,#1c294b);border:1px solid #435682;box-shadow:0 20px 60px #050b1c40}
.page-discord .community-art{color:#a6aeff;max-width:140px;height:100px;margin-bottom:30px}
.page-discord .community-invite>p:not(.community-kicker){color:#c6cfe7}
.page-discord .community-join{background:#5865f2;color:#fff}
.page-discord .community-join:hover{background:#4752c4}
.page-discord footer{background:#0c1429;border-top:1px solid #354366}
.page-discord .footer-bottom{border-color:#354366;color:#b2bedc}
.page-discord .social-project{border-color:#354366}
.page-discord .social-icons a,.page-discord .social-icons button{border-color:#7381a3}
.page-discord dialog{color:#202126;background:#fff}
.page-discord :is(a,button,summary):focus-visible{outline-color:#b6bdff}
@media(max-width:700px){.discord-heading{gap:18px;margin-top:18px}.discord-brand-icon{width:56px}.discord-heading h1{margin:0}.page-discord .community-art{height:80px;margin-bottom:22px}}

/* Keep the server name and introductory phrases readable at desktop widths. */
.community-copy #community-title{font-family:var(--display);font-size:clamp(38px,4.4vw,64px);font-weight:600;line-height:1.15;letter-spacing:-.01em;text-wrap:balance}
.community-copy>p:not(.community-kicker){text-wrap:pretty}
.community-invite .community-screening{margin-top:10px}
@media(min-width:1100px){.community-copy-line{display:block}}
@media(max-width:700px){.community-copy #community-title{font-size:clamp(36px,10vw,46px)}}

/* Compact invitation: an accessible icon-only link beside the heading. */
.community-invite-heading{display:flex;align-items:center;gap:16px}
.community-invite-heading h2{flex:1;min-width:0;margin:0;font-size:clamp(18px,1.7vw,22px);line-height:1.6}
.community-invite .community-join-icon-only{flex:0 0 52px;width:52px;height:52px;min-height:52px;padding:12px;margin:0;justify-content:center;border-radius:50%}
.community-join-icon{display:block;width:28px;height:28px;flex:none}
.community-invite-heading+.community-screening{margin-top:16px}
