:root {
    color-scheme: dark;
    --ink: #09131d;
    --ink-soft: #101e29;
    --ink-lift: #142633;
    --paper: #f2f6f3;
    --paper-muted: #dce7e4;
    --text: #eff7f5;
    --muted: #a3b6ba;
    --deep-muted: #597073;
    --green: #a5f35a;
    --cyan: #45d8e3;
    --line: rgba(215, 241, 238, .13);
    --page-width: 1160px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 92px; }

body {
    margin: 0;
    background: var(--ink);
    color: var(--text);
    font-family: 'Segoe UI', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
::selection { color: var(--ink); background: var(--green); }

.page-width { width: min(var(--page-width), calc(100% - 64px)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 1000; top: 12px; left: 12px; padding: 10px 16px; transform: translateY(-160%); color: var(--ink); background: var(--green); border-radius: 5px; font-weight: 700; }
.skip-link:focus { transform: translateY(0); }

.site-header { position: absolute; z-index: 20; inset: 0 0 auto; border-bottom: 1px solid rgba(225, 248, 244, .12); background: rgba(4, 13, 22, .42); backdrop-filter: blur(16px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; width: min(1340px, calc(100% - 64px)); min-height: 88px; margin: 0 auto; }
.brand { width: 205px; flex: 0 0 205px; }
.brand img { width: 100%; height: 68px; object-fit: contain; }
.primary-nav { display: flex; align-items: center; gap: 37px; }
.nav-link { position: relative; padding: 10px 0; color: #d0ddde; font-size: 13px; font-weight: 600; transition: color .2s ease; }
.nav-link::after { position: absolute; right: 100%; bottom: 3px; left: 0; height: 1px; background: var(--green); content: ''; transition: right .2s ease; }
.nav-link:hover, .nav-link.is-active { color: #fff; }
.nav-link:hover::after, .nav-link.is-active::after { right: 0; }
.menu-toggle { display: none; }

.button { display: inline-flex; min-height: 54px; align-items: center; justify-content: center; gap: 15px; padding: 0 22px; border: 1px solid transparent; border-radius: 4px; font-size: 13px; font-weight: 700; letter-spacing: .01em; transition: transform .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-2px); }
.button span { font-size: 17px; line-height: 1; }
.button-primary { color: #09131d; background: linear-gradient(105deg, var(--green), #78e7b7 72%, #64dcea); box-shadow: 0 9px 27px rgba(91, 225, 174, .12); }
.button-primary:hover { box-shadow: 0 11px 30px rgba(91, 225, 174, .23); }
.button-small { min-height: 42px; padding-inline: 17px; font-size: 12px; }
.button-outline { color: #eff7f5; border-color: rgba(218, 241, 238, .38); background: rgba(255, 255, 255, .035); }
.button-outline:hover { border-color: var(--green); background: rgba(165, 243, 90, .08); }
.button-quiet { padding-inline: 4px; color: #e9f0ef; }
.button-quiet:hover { color: var(--green); }

.hero { position: relative; display: flex; min-height: min(790px, 100svh); align-items: center; overflow: hidden; isolation: isolate; background: #071521 url('/assets/background.png') center 55% / cover no-repeat; }
.hero::before, .page-hero::before { position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, rgba(3, 12, 20, .91) 0%, rgba(4, 15, 24, .77) 38%, rgba(4, 16, 26, .24) 75%, rgba(4, 14, 23, .32) 100%), linear-gradient(0deg, rgba(5, 15, 23, .72), transparent 35%, rgba(4, 12, 20, .28)); content: ''; }
.hero::after { position: absolute; z-index: -1; right: 8%; bottom: 0; left: 8%; height: 1px; background: linear-gradient(90deg, transparent, rgba(137, 230, 203, .52), transparent); content: ''; }
.hero-content { position: relative; z-index: 1; padding-top: 108px; padding-bottom: 96px; }
.eyebrow { display: flex; align-items: center; gap: 11px; margin: 0 0 24px; color: #b7c9c8; font-size: 10px; font-weight: 700; letter-spacing: .19em; line-height: 1.5; }
.eyebrow-mark { display: inline-block; width: 7px; height: 7px; transform: rotate(45deg); background: var(--green); box-shadow: 0 0 12px rgba(165, 243, 90, .7); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: 'Segoe UI', Arial, sans-serif; }
.hero h1, .page-hero h1, .not-found h1 { max-width: 880px; margin: 0; font-size: clamp(56px, 7.2vw, 104px); font-weight: 700; letter-spacing: -.075em; line-height: .99; }
.hero h1 span, .page-hero h1 span, .not-found h1 span, .join-copy h2 span { color: transparent; background: linear-gradient(104deg, #b5f673 7%, #77e4bd 57%, #60d7ec 100%); -webkit-background-clip: text; background-clip: text; }
.hero-copy { max-width: 500px; margin: 25px 0 30px; color: #cad7d6; font-size: 16px; line-height: 1.75; }
.hero-actions { display: flex; align-items: center; gap: 23px; }
.hero-note { display: flex; align-items: center; gap: 11px; margin-top: 50px; color: #b5c7c7; font-size: 11px; letter-spacing: .04em; }
.note-line { width: 27px; height: 1px; background: var(--green); }
.scroll-cue { position: absolute; right: max(32px, calc((100% - var(--page-width)) / 2)); bottom: 31px; display: grid; width: 32px; height: 47px; place-items: start center; padding-top: 9px; border: 1px solid rgba(230, 246, 242, .4); border-radius: 20px; }
.scroll-cue span { width: 2px; height: 8px; border-radius: 2px; background: var(--green); animation: scroll-down 1.5s ease-in-out infinite; }
@keyframes scroll-down { 0%, 100% { transform: translateY(0); opacity: 1; } 75% { transform: translateY(12px); opacity: 0; } }

.section-pad { padding-block: 112px; }
.intro-section { color: #14252a; background: var(--paper); }
.intro-grid { display: grid; grid-template-columns: 1.1fr .9fr; align-items: start; gap: 100px; }
.eyebrow-dark { color: #5b7776; }
.eyebrow-dark .eyebrow-mark { background: #4fae9b; box-shadow: none; }
.intro-grid h2, .section-heading-row h2 { margin: 0; font-size: clamp(39px, 4.8vw, 64px); font-weight: 700; letter-spacing: -.065em; line-height: 1.05; }
.intro-grid h2 span { color: #568e82; }
.intro-copy { padding-top: 42px; }
.lead-copy { margin-bottom: 13px; color: #182b2e; font-family: 'Segoe UI', Arial, sans-serif; font-size: 21px; font-weight: 600; letter-spacing: -.03em; line-height: 1.45; }
.intro-copy > p:not(.lead-copy) { max-width: 470px; margin-bottom: 22px; color: #647879; font-size: 14px; }
.text-link { display: inline-flex; align-items: center; gap: 12px; color: #1d7468; font-size: 12px; font-weight: 700; }
.text-link span { font-size: 17px; transition: transform .2s ease; }
.text-link:hover span { transform: translateX(4px); }

.values-section { position: relative; background: linear-gradient(115deg, #0a151f 10%, #0d1d27 100%); }
.values-section::before { position: absolute; top: 0; right: 8%; width: 32%; height: 1px; background: linear-gradient(90deg, transparent, rgba(70, 214, 211, .4), transparent); content: ''; }
.section-heading-row { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 47px; }
.section-heading-row .eyebrow { margin-bottom: 14px; }
.section-heading-row h2 { color: #f0f7f5; font-size: clamp(38px, 4.1vw, 54px); }
.section-aside { max-width: 190px; margin: 0 0 7px; color: #8ca0a4; font-size: 12px; }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.value-card { position: relative; min-height: 287px; padding: 30px 31px 35px 0; }
.value-card + .value-card { padding-left: 31px; border-left: 1px solid var(--line); }
.card-index { color: #7d9699; font-size: 10px; font-weight: 700; letter-spacing: .13em; }
.value-icon { position: relative; display: flex; width: 43px; height: 42px; align-items: end; justify-content: center; gap: 3px; margin: 27px 0 22px; color: var(--green); }
.icon-build span { width: 10px; border: 1px solid rgba(165, 243, 90, .73); background: rgba(165, 243, 90, .09); }
.icon-build span:nth-child(1) { height: 17px; }
.icon-build span:nth-child(2) { height: 27px; }
.icon-build span:nth-child(3) { height: 35px; }
.icon-explore span { width: 27px; height: 27px; margin-bottom: 3px; border: 1px solid var(--cyan); border-radius: 50%; box-shadow: inset 6px -5px 0 -5px var(--cyan); }
.icon-explore::after { position: absolute; top: 5px; left: 23px; width: 1px; height: 34px; transform: rotate(45deg); background: var(--cyan); content: ''; }
.icon-community span { width: 10px; height: 10px; border: 1px solid #6edfd5; border-radius: 50%; }
.icon-community span:nth-child(2) { width: 13px; height: 13px; margin-bottom: 3px; border-color: var(--green); }
.icon-community::after { position: absolute; right: 5px; bottom: 0; left: 5px; height: 13px; border: 1px solid rgba(110, 223, 213, .7); border-bottom: 0; border-radius: 12px 12px 0 0; content: ''; }
.value-card h3 { margin-bottom: 9px; color: #eff6f3; font-size: 17px; font-weight: 600; letter-spacing: -.025em; }
.value-card p { max-width: 300px; margin-bottom: 0; color: #91a5a7; font-size: 12px; line-height: 1.8; }
.card-rule { position: absolute; right: 31px; bottom: 0; left: 0; height: 1px; background: linear-gradient(90deg, rgba(165, 243, 90, .58), transparent 76%); }
.value-card + .value-card .card-rule { left: 31px; }

.join-section { padding-top: 24px; background: #0a151f; }
.join-panel { position: relative; display: grid; grid-template-columns: 1fr 345px; align-items: center; gap: 64px; min-height: 365px; overflow: hidden; padding: 58px 74px; border: 1px solid rgba(131, 199, 189, .23); background: linear-gradient(110deg, #11252c 0%, #122832 53%, #10222e 100%); }
.join-panel::before { position: absolute; top: -186px; right: -97px; width: 545px; height: 545px; border: 1px solid rgba(91, 219, 203, .14); border-radius: 50%; box-shadow: 0 0 0 42px rgba(91, 219, 203, .025), 0 0 0 90px rgba(91, 219, 203, .018); content: ''; }
.join-glow { position: absolute; top: -91px; right: 17%; width: 290px; height: 320px; background: rgba(81, 220, 191, .09); filter: blur(80px); }
.join-copy, .server-card { position: relative; z-index: 1; }
.join-copy .eyebrow { margin-bottom: 20px; }
.join-copy h2 { margin: 0 0 15px; font-size: clamp(43px, 5vw, 65px); letter-spacing: -.07em; line-height: .98; }
.join-copy > p:last-child { max-width: 400px; margin-bottom: 0; color: #a8bcbd; font-size: 13px; }
.server-card { padding: 25px; border: 1px solid rgba(201, 237, 224, .18); background: rgba(6, 17, 25, .52); box-shadow: 0 15px 45px rgba(0, 0, 0, .11); }
.server-label { display: flex; align-items: center; gap: 9px; color: #92aaad; font-size: 9px; font-weight: 700; letter-spacing: .15em; }
.server-card code { display: block; margin: 15px 0 19px; color: #f3f8f5; font-family: 'Segoe UI', Arial, sans-serif; font-size: 20px; font-weight: 600; letter-spacing: -.02em; }
.copy-button { width: 100%; min-height: 47px; cursor: pointer; }
.copy-feedback { display: block; min-height: 18px; margin-top: 8px; color: var(--green); font-size: 10px; text-align: center; }
.server-edition { margin: 0; color: #81989b; font-size: 10px; text-align: center; }
.discord-link { display: flex; justify-content: center; gap: 7px; margin-top: 13px; color: #bdcfce; font-size: 11px; font-weight: 600; }
.discord-link:hover { color: var(--green); }

.site-footer { border-top: 1px solid rgba(209, 233, 229, .11); background: #07111a; }
.footer-main { display: grid; grid-template-columns: minmax(280px, 1fr) 180px 180px; gap: 65px; padding-block: 54px 47px; }
.footer-brand { display: block; width: 185px; margin: -7px 0 7px -3px; }
.footer-brand img { width: 100%; height: 65px; object-fit: contain; }
.footer-brand-block p { max-width: 260px; margin: 4px 0 0; color: #859a9d; font-size: 11px; }
.footer-column { display: flex; flex-direction: column; align-items: start; gap: 8px; }
.footer-heading { margin-bottom: 7px; color: #e3ece8; font-family: Manrope, sans-serif; font-size: 12px; font-weight: 700; }
.footer-column a { color: #8da1a3; font-size: 11px; transition: color .2s ease; }
.footer-column a:hover { color: var(--green); }
.footer-bottom { display: flex; min-height: 58px; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid rgba(209, 233, 229, .1); color: #72898d; font-size: 10px; }
.footer-bottom p { margin: 0; }
.footer-meta { text-align: right; }
.footer-separator { padding-inline: 9px; color: #a3f15e; }

.page-hero { position: relative; display: flex; min-height: 454px; align-items: end; overflow: hidden; isolation: isolate; background: #071521 url('/assets/background.png') center 47% / cover no-repeat; }
.page-hero::before { background: linear-gradient(90deg, rgba(3, 12, 20, .86), rgba(4, 15, 24, .45) 65%, rgba(4, 14, 23, .38)), linear-gradient(0deg, rgba(4, 14, 22, .78), transparent 82%); }
.page-hero-content { position: relative; z-index: 1; padding-top: 160px; padding-bottom: 62px; }
.page-hero .eyebrow { margin-bottom: 20px; }
.page-hero h1 { font-size: clamp(50px, 6.2vw, 77px); }
.page-hero-content > p:last-child { max-width: 520px; margin: 19px 0 0; color: #bdcccb; font-size: 14px; }
.page-hero-compact { min-height: 425px; }
.page-hero-legal { min-height: 375px; }
.page-hero-legal .page-hero-content { padding-bottom: 53px; }
.page-hero-legal h1 { font-size: clamp(48px, 5.7vw, 68px); }

.content-section { color: #14252a; background: var(--paper); }
.content-grid, .rules-layout { display: grid; grid-template-columns: 250px minmax(0, 690px); justify-content: space-between; gap: 65px; }
.content-aside, .rules-aside { padding-top: 8px; }
.aside-number { color: #70908b; font-size: 9px; font-weight: 700; letter-spacing: .16em; }
.aside-line { display: block; width: 40px; height: 1px; margin: 18px 0 17px; background: #70b49d; }
.content-aside p, .rules-aside p { color: #466560; font-family: 'Segoe UI', Arial, sans-serif; font-size: 18px; font-weight: 600; line-height: 1.7; }
.prose h2 { margin: 36px 0 12px; color: #14252a; font-size: 21px; font-weight: 700; letter-spacing: -.04em; line-height: 1.3; }
.prose h2:first-of-type { margin-top: 0; }
.prose p { margin-bottom: 19px; color: #657979; font-size: 14px; line-height: 1.9; }
.prose .eyebrow { margin-bottom: 15px; }
.prose:not(.legal-prose) > h2:first-of-type:not(:only-child) { font-size: clamp(31px, 3.4vw, 44px); letter-spacing: -.06em; }
.prose > .lead-copy { max-width: 630px; color: #233b3a; font-size: 20px; line-height: 1.55; }
.prose a:not(.button) { color: #247b6c; text-decoration: underline; text-underline-offset: 3px; }
.content-cta { margin-top: 11px; }
.rules-aside p { margin-top: 24px; font-size: 20px; }
.rules-aside .text-link { margin-top: 9px; }
.rules-list { border-top: 1px solid #d3dfdb; }
.rule-item { display: grid; grid-template-columns: 45px 1fr; gap: 15px; padding: 23px 0 22px; border-bottom: 1px solid #d3dfdb; }
.rule-number { padding-top: 5px; color: #65a891; font-size: 10px; font-weight: 700; letter-spacing: .12em; }
.rule-item h2 { margin: 0 0 6px; color: #17292d; font-size: 16px; font-weight: 700; letter-spacing: -.025em; }
.rule-item p { margin: 0; color: #667b7b; font-size: 12px; line-height: 1.8; }
.rules-note { display: flex; gap: 15px; margin-top: 25px; padding: 18px 20px; border-left: 2px solid #6db99e; background: #e6efea; }
.rules-note p { margin: 0; color: #586e6d; font-size: 11px; line-height: 1.8; }
.note-star { color: #4d9c83; font-size: 17px; }

.legal-layout { display: grid; grid-template-columns: 185px minmax(0, 720px); justify-content: space-between; gap: 70px; }
.legal-nav { display: flex; flex-direction: column; align-items: stretch; gap: 5px; }
.legal-nav a { padding: 11px 14px; border-left: 2px solid transparent; color: #6b8180; font-size: 12px; }
.legal-nav a:hover, .legal-nav a.is-current { border-left-color: #4ea489; color: #183630; background: #e6efea; }
.legal-prose h2 { margin-top: 29px; font-size: 18px; }
.legal-prose h2:first-child { margin-top: 0; }
.legal-prose p { font-size: 13px; }

.not-found { min-height: 74vh; display: flex; flex-direction: column; align-items: start; justify-content: center; padding-top: 100px; padding-bottom: 70px; color: #17272b; }
.not-found-code { margin-bottom: 13px; color: #6b9a8b; font-family: 'Segoe UI', Arial, sans-serif; font-size: 13px; font-weight: 800; letter-spacing: .25em; }
.not-found .eyebrow { margin-bottom: 12px; }
.not-found h1 { font-size: clamp(46px, 6vw, 74px); }
.not-found > p:not(.eyebrow) { margin: 17px 0 24px; color: #647879; font-size: 14px; }

@media (max-width: 900px) {
    .page-width { width: min(var(--page-width), calc(100% - 48px)); }
    .header-inner { width: calc(100% - 48px); }
    .primary-nav { gap: 22px; }
    .brand { width: 176px; flex-basis: 176px; }
    .intro-grid { gap: 55px; }
    .join-panel { grid-template-columns: 1fr 310px; gap: 35px; padding-inline: 44px; }
    .content-grid, .rules-layout { grid-template-columns: 190px minmax(0, 1fr); gap: 45px; }
}

@media (max-width: 680px) {
    html { scroll-padding-top: 74px; }
    .page-width { width: calc(100% - 40px); }
    .site-header { background: rgba(4, 13, 22, .76); }
    .header-inner { width: calc(100% - 40px); min-height: 72px; }
    .brand { width: 160px; flex-basis: 160px; }
    .brand img { height: 55px; }
    .menu-toggle { display: flex; width: 42px; height: 42px; flex-direction: column; justify-content: center; gap: 5px; padding: 10px; border: 1px solid rgba(218, 241, 238, .25); border-radius: 4px; background: rgba(255, 255, 255, .04); cursor: pointer; }
    .menu-toggle span { width: 100%; height: 1px; background: #edf6f1; transition: transform .2s ease, opacity .2s ease; }
    .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(6px) rotate(45deg); }
    .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
    .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-6px) rotate(-45deg); }
    .primary-nav { position: absolute; top: 72px; right: 0; left: 0; display: none; align-items: stretch; gap: 0; padding: 10px 20px 21px; border-bottom: 1px solid rgba(225, 248, 244, .12); background: rgba(5, 16, 25, .97); }
    .primary-nav.is-open { display: flex; flex-direction: column; }
    .nav-link { padding: 13px 4px; border-bottom: 1px solid rgba(225, 248, 244, .09); }
    .nav-link::after { display: none; }
    .nav-join { align-self: start; margin-top: 14px; }
    .hero { min-height: 710px; min-height: max(680px, 100svh); align-items: center; background-position: 57% center; }
    .hero::before { background: linear-gradient(90deg, rgba(3, 12, 20, .89), rgba(4, 15, 24, .55)), linear-gradient(0deg, rgba(5, 15, 23, .76), transparent 70%); }
    .hero-content { padding-top: 80px; padding-bottom: 75px; }
    .eyebrow { font-size: 9px; letter-spacing: .14em; }
    .hero h1 { font-size: clamp(53px, 14vw, 78px); }
    .hero-copy { max-width: 410px; font-size: 14px; }
    .hero-actions { align-items: flex-start; flex-direction: column; gap: 8px; }
    .hero-note { margin-top: 32px; }
    .scroll-cue { display: none; }
    .section-pad { padding-block: 77px; }
    .intro-grid { grid-template-columns: 1fr; gap: 15px; }
    .intro-grid h2 { font-size: 45px; }
    .intro-copy { padding-top: 10px; }
    .lead-copy { font-size: 19px; }
    .section-heading-row { align-items: start; flex-direction: column; gap: 13px; margin-bottom: 30px; }
    .section-heading-row h2 { font-size: 42px; }
    .section-aside { max-width: none; margin: 0; }
    .value-grid { grid-template-columns: 1fr; }
    .value-card, .value-card + .value-card { min-height: auto; padding: 23px 0 24px; border-left: 0; }
    .value-icon { margin: 18px 0 15px; }
    .value-card p { max-width: 420px; }
    .card-rule, .value-card + .value-card .card-rule { right: 0; left: 0; }
    .join-section { padding-top: 12px; }
    .join-panel { grid-template-columns: 1fr; gap: 31px; padding: 36px 24px 31px; }
    .join-copy h2 { font-size: 54px; }
    .server-card { padding: 21px; }
    .server-card code { font-size: clamp(17px, 5vw, 21px); }
    .footer-main { grid-template-columns: 1fr 1fr; gap: 34px 24px; padding-block: 38px 32px; }
    .footer-brand-block { grid-column: 1 / -1; }
    .footer-brand { width: 165px; }
    .footer-brand img { height: 58px; }
    .footer-bottom { align-items: flex-start; flex-direction: column; justify-content: center; gap: 2px; padding-block: 14px; font-size: 9px; }
    .footer-meta { text-align: left; }
    .footer-separator { padding-inline: 6px; }
    .page-hero, .page-hero-compact { min-height: 390px; background-position: 58% center; }
    .page-hero-content { padding-top: 135px; padding-bottom: 46px; }
    .page-hero h1 { font-size: clamp(46px, 11vw, 64px); }
    .page-hero-content > p:last-child { font-size: 13px; }
    .page-hero-legal { min-height: 340px; }
    .content-grid, .rules-layout, .legal-layout { grid-template-columns: 1fr; gap: 30px; }
    .content-aside, .rules-aside { padding-bottom: 17px; border-bottom: 1px solid #d3dfdb; }
    .content-aside p { margin-bottom: 0; }
    .rules-aside p { margin: 12px 0 0; }
    .rules-aside .text-link { margin-top: 16px; }
    .prose h2 { font-size: 19px; }
    .prose:not(.legal-prose) > h2:first-of-type:not(:only-child) { font-size: 34px; }
    .rule-item { grid-template-columns: 34px 1fr; gap: 10px; }
    .legal-nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
    .legal-nav a { padding: 9px 8px; text-align: center; }
    .not-found { min-height: 78vh; padding-top: 115px; }
    .not-found h1 { font-size: 47px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* EvolvedSMP dark gaming theme */
:root {
    color-scheme: dark;
    --ink: #040c13;
    --ink-soft: #07131c;
    --ink-lift: #0b1b26;
    --paper: #091720;
    --paper-muted: #0d202a;
    --text: #eff8f5;
    --muted: #a4b9ba;
    --deep-muted: #718b90;
    --green: #b4f44f;
    --cyan: #34d9ee;
    --line: rgba(150, 213, 214, .17);
}

body {
    color: var(--text);
    background-color: var(--ink);
    background-image: radial-gradient(ellipse at 85% 12%, rgba(15, 100, 106, .1), transparent 34%);
}

::selection { color: #031018; background: var(--green); }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 4px; }

.site-header {
    border-bottom-color: rgba(86, 202, 209, .22);
    background: linear-gradient(180deg, rgba(3, 10, 16, .94), rgba(4, 12, 19, .76));
}
.nav-link { color: #b6cacc; }
.nav-link:hover, .nav-link.is-active { color: #fff; }
.button-primary {
    color: #06120f;
    background: linear-gradient(105deg, #b8f44e 0%, #79e7a9 59%, #39d8ec 100%);
    box-shadow: 0 8px 30px rgba(66, 231, 199, .18), inset 0 1px rgba(255, 255, 255, .27);
}
.button-primary:hover { box-shadow: 0 11px 36px rgba(66, 231, 199, .3), inset 0 1px rgba(255, 255, 255, .3); }
.button-outline { border-color: rgba(123, 214, 208, .45); background: rgba(5, 18, 26, .68); }
.button-outline:hover { border-color: var(--green); background: rgba(167, 239, 83, .1); }

.hero {
    background-color: #06121b;
    background-position: center 54%;
}
.hero::before {
    background: linear-gradient(90deg, rgba(2, 9, 15, .9) 0%, rgba(3, 12, 19, .72) 39%, rgba(3, 15, 22, .2) 78%, rgba(3, 13, 20, .26) 100%), linear-gradient(0deg, rgba(3, 11, 17, .78), transparent 42%, rgba(3, 10, 17, .27));
}
.hero-content::before {
    position: absolute;
    top: 178px;
    left: -22px;
    width: 2px;
    height: 94px;
    background: linear-gradient(var(--green), var(--cyan), transparent);
    box-shadow: 0 0 16px rgba(52, 217, 238, .55);
    content: '';
}
.hero h1 { text-shadow: 0 8px 48px rgba(0, 0, 0, .4); }
.hero-copy { color: #c4d6d6; }
.hero-note { color: #c2d3d3; }
.eyebrow { color: #bfd1d0; }
.eyebrow-mark { box-shadow: 0 0 14px rgba(180, 244, 79, .8); }

.intro-section {
    position: relative;
    overflow: hidden;
    color: var(--text);
    border-top: 1px solid rgba(52, 217, 238, .14);
    border-bottom: 1px solid rgba(52, 217, 238, .12);
    background: radial-gradient(ellipse at 88% 50%, rgba(24, 113, 109, .15), transparent 39%), linear-gradient(115deg, #08141d, #0a1a24 70%, #08161e);
}
.intro-section::before {
    position: absolute;
    top: 0;
    right: 0;
    width: min(34vw, 430px);
    height: 100%;
    background: repeating-linear-gradient(135deg, transparent 0 35px, rgba(81, 196, 194, .035) 36px 37px, transparent 38px 72px);
    mask-image: linear-gradient(90deg, transparent, #000);
    content: '';
    pointer-events: none;
}
.intro-grid { position: relative; z-index: 1; }
.eyebrow-dark { color: #94b9b3; }
.eyebrow-dark .eyebrow-mark { background: var(--green); box-shadow: 0 0 12px rgba(180, 244, 79, .6); }
.intro-grid h2 { color: #eff8f5; }
.intro-grid h2 span { color: #7ce0c8; }
.intro-copy .lead-copy { color: #e4f1ed; }
.intro-copy > p:not(.lead-copy) { color: #a1b7b9; }
.text-link { color: #a8ed73; }
.text-link:hover { color: var(--cyan); }

.values-section {
    background: radial-gradient(ellipse at 12% 78%, rgba(17, 77, 91, .15), transparent 38%), linear-gradient(130deg, #06111a, #081720 64%, #07131d);
}
.values-section::before { background: linear-gradient(90deg, transparent, rgba(52, 217, 238, .63), rgba(180, 244, 79, .52), transparent); }
.value-grid { gap: 15px; border: 0; }
.value-card, .value-card + .value-card {
    min-height: 290px;
    padding: 25px 24px 36px;
    border: 1px solid rgba(122, 193, 193, .17);
    background: linear-gradient(145deg, rgba(15, 36, 46, .87), rgba(7, 21, 30, .9));
    box-shadow: inset 0 1px rgba(208, 252, 232, .025), 0 15px 35px rgba(0, 0, 0, .13);
    transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.value-card { overflow: hidden; }
.value-card::before {
    position: absolute;
    top: 0;
    left: 24px;
    width: 67px;
    height: 2px;
    background: linear-gradient(90deg, var(--green), var(--cyan));
    box-shadow: 0 0 15px rgba(52, 217, 238, .55);
    content: '';
}
.value-card:hover {
    transform: translateY(-5px);
    border-color: rgba(100, 221, 204, .48);
    box-shadow: inset 0 1px rgba(208, 252, 232, .05), 0 18px 42px rgba(0, 0, 0, .28), 0 0 25px rgba(52, 217, 238, .06);
}
.value-card + .value-card .card-rule, .card-rule {
    right: 24px;
    left: 24px;
    background: linear-gradient(90deg, rgba(180, 244, 79, .74), rgba(52, 217, 238, .18), transparent);
}
.card-index { color: #829fa2; }
.value-card h3 { color: #edf7f3; font-size: 18px; }
.value-card p { color: #9bb1b3; }
.icon-build span { border-color: rgba(180, 244, 79, .78); background: rgba(180, 244, 79, .08); }
.icon-explore span { border-color: var(--cyan); }
.icon-community span { border-color: #73e2d7; }
.icon-community span:nth-child(2) { border-color: var(--green); }

.join-section { background: #06111a; }
.join-panel {
    border-color: rgba(101, 205, 199, .31);
    background: radial-gradient(ellipse at 82% 45%, rgba(28, 122, 113, .2), transparent 39%), linear-gradient(115deg, #0d2029, #0b1b26 58%, #10242c);
    box-shadow: 0 24px 75px rgba(0, 0, 0, .2), inset 0 1px rgba(215, 252, 235, .04);
}
.join-panel::after {
    position: absolute;
    inset: 10px;
    border: 1px solid rgba(90, 197, 198, .09);
    content: '';
    pointer-events: none;
}
.join-panel::before { border-color: rgba(88, 224, 208, .22); box-shadow: 0 0 0 42px rgba(91, 219, 203, .035), 0 0 0 90px rgba(91, 219, 203, .023); }
.join-copy h2 { color: #f1f8f4; text-shadow: 0 6px 32px rgba(0, 0, 0, .35); }
.join-copy > p:last-child { color: #aec3c3; }
.server-card { border-color: rgba(124, 213, 202, .29); background: rgba(3, 13, 20, .73); box-shadow: 0 16px 48px rgba(0, 0, 0, .3), inset 0 1px rgba(205, 250, 233, .04); }
.server-label { color: #a0bcbd; }
.server-card code { color: #f2faf6; }
.server-edition { color: #91a8aa; }
.discord-link { color: #c0d5d2; }
.discord-link:hover { color: var(--green); }

.site-footer { border-top-color: rgba(67, 168, 176, .2); background: #030b11; }
.footer-main { border-bottom-color: rgba(120, 188, 189, .1); }
.footer-brand-block p, .footer-column a { color: #91a6a9; }
.footer-heading { color: #dce9e6; }
.footer-column a:hover { color: var(--green); }
.footer-bottom { border-top-color: rgba(120, 188, 189, .12); color: #7e979a; }
.footer-separator { color: var(--green); }

.page-hero { background-color: #06121b; }
.page-hero::before { background: linear-gradient(90deg, rgba(2, 9, 15, .88), rgba(3, 12, 19, .52) 66%, rgba(3, 12, 19, .28)), linear-gradient(0deg, rgba(3, 11, 18, .84), transparent 86%); }
.page-hero h1 { text-shadow: 0 7px 42px rgba(0, 0, 0, .35); }
.page-hero-content > p:last-child { color: #bdd0d0; }

.content-section { color: var(--text); background: radial-gradient(ellipse at 92% 18%, rgba(18, 95, 100, .12), transparent 32%), linear-gradient(135deg, #08151e, #0a1b24 62%, #08151e); }
.content-aside, .rules-aside { color: var(--text); }
.aside-number { color: #83b5aa; }
.aside-line { background: linear-gradient(90deg, var(--green), var(--cyan)); }
.content-aside p, .rules-aside p { color: #b5d0ca; }
.prose h2 { color: #edf7f3; }
.prose p { color: #a1b5b8; }
.prose .lead-copy { color: #d9e9e4; }
.prose a:not(.button) { color: #a9ed75; }
.prose a:not(.button):hover { color: var(--cyan); }
.rule-item { border-color: rgba(129, 182, 181, .18); }
.rules-list { border-top-color: rgba(129, 208, 198, .32); }
.rule-number { color: var(--green); }
.rule-item h2 { color: #ecf6f2; }
.rule-item p { color: #a0b5b7; }
.rules-note { border-left-color: var(--green); background: linear-gradient(110deg, rgba(18, 49, 54, .9), rgba(11, 30, 39, .9)); }
.rules-note p { color: #b1c5c4; }
.note-star { color: var(--cyan); }
.legal-nav a { color: #a0b6b8; }
.legal-nav a:hover, .legal-nav a.is-current { border-left-color: var(--green); color: #edfaf4; background: rgba(32, 77, 75, .36); }
.not-found { color: #eff8f4; }
.not-found-code { color: var(--green); }
.not-found > p:not(.eyebrow) { color: #a0b5b7; }

@media (max-width: 680px) {
    .hero h1 { font-size: clamp(45px, 12.5vw, 72px); }
    .page-hero h1 { font-size: clamp(39px, 10.2vw, 58px); }
    .hero-content::before { top: 150px; left: -12px; height: 68px; }
    .value-card, .value-card + .value-card { min-height: 0; padding: 22px 20px 34px; }
    .value-card::before { left: 20px; }
    .value-card + .value-card .card-rule, .card-rule { right: 20px; left: 20px; }
    .join-panel { border-radius: 2px; }
}
