@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/citybuild-0.ttf) format('truetype');
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/citybuild-1.ttf) format('truetype');
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/citybuild-2.ttf) format('truetype');
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/citybuild-3.ttf) format('truetype');
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(fonts/citybuild-4.ttf) format('truetype');
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/citybuild-5.ttf) format('truetype');
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/citybuild-6.ttf) format('truetype');
}

/* ZYBERSMP: additions to the shared Zybercraft CityBuild design. */
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { font-size: 16px; }
img { max-width: 100%; }
svg { width: 24px; height: 24px; flex-shrink: 0; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid #84d4ff; outline-offset: 5px; }
.skip { position: fixed; top: -100px; left: 16px; z-index: 100; padding: 14px 20px; border-radius: 12px; background: #4c78ff; color: white; }
.skip:focus { top: 12px; }
.brand { text-decoration: none; }
.brand-block { display: grid; gap: 5px; }
.smp-hero-mark { display: block; margin: 0 auto 24px; object-fit: contain; filter: drop-shadow(0 12px 30px #39874d33); }
.smp-badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 28px; }
.smp-badges span { padding: 8px 14px; font-size: 14px; font-weight: 600; color: #bcdfc8; background: #39d36d0c; border: 1px solid #39d36d30; border-radius: 999px; }
.button { gap: 10px; text-decoration: none; }
.eyebrow, .mini { font-size: 14px; letter-spacing: .15em; font-weight: 700; color: var(--accent-soft); }
.mini { display: block; }
.server-address { display: block; font-family: 'Space Grotesk', 'Segoe UI', sans-serif; font-size: 28px; line-height: 1.4; overflow-wrap: anywhere; }
.smp-address { display: flex; align-items: center; gap: 24px; padding: 28px 30px; border-radius: 28px; margin-bottom: 50px; }
.address-icon { display: grid; place-items: center; width: 60px; height: 60px; flex-shrink: 0; border-radius: 18px; color: #8ed8a6; background: #39d36d12; border: 1px solid #39d36d25; }
.address-icon svg { width: 30px; height: 30px; }
.smp-address p { margin-left: auto; color: var(--muted); line-height: 1.7; }
.smp-address .button { flex-shrink: 0; }
.smp-news { margin: 0 0 42px; }
.smp-news-heading h2 { font: 700 30px 'Space Grotesk', 'Segoe UI', sans-serif; margin: 0 0 22px; }
.smp-news-box { border-radius: 24px; padding: 22px 28px; color: var(--muted); line-height: 1.8; }
.smp-news-box p { margin: 5px 0; }
.text-link, .legal a, .help-grid a, .notice a { color: #93b3ff; text-underline-offset: 4px; }
.feature-card .mini { margin: 0 0 12px; }
.feature-card .feature-icon svg { width: 28px; height: 28px; }
.principles, .faq-section { display: grid; grid-template-columns: 1fr 1.2fr; gap: 52px; padding: 50px 0; border-top: 1px solid var(--line); }
.principles h2, .faq-section h2, .community-banner h2, .network-callout h2 { font: 700 36px/1.2 'Space Grotesk', 'Segoe UI', sans-serif; margin: 12px 0; }
.principles h2 span { color: #7c9cff; }
.principles p:not(.eyebrow), .faq-section p:not(.eyebrow), .community-banner p:not(.eyebrow), .network-callout p:not(.eyebrow) { color: var(--muted); line-height: 1.8; }
.faq details { padding: 20px 0; border-bottom: 1px solid var(--line); }
.faq details:first-child { padding-top: 0; }
.faq summary { cursor: pointer; font-weight: 700; line-height: 1.6; }
.faq details p { margin-bottom: 0; }
.community-banner, .network-callout { display: flex; justify-content: space-between; align-items: center; gap: 32px; padding: 30px; margin: 30px 0 48px; background: linear-gradient(110deg,#4c78ff14,#39d36d07); border: 1px solid var(--line); border-radius: 28px; }
.community-banner .button, .network-callout .button { flex: 0 0 auto; }
.smp-rule-summary { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 0 0 30px; }
.rule-yes, .rule-no { display: flex; align-items: center; gap: 14px; border: 1px solid var(--line); border-radius: 18px; padding: 18px 22px; background: #ffffff03; }
.rule-yes > svg { color: #74d799; }
.rule-no > svg { color: #f6b87c; }
.smp-rule-summary strong { display: block; margin-bottom: 5px; }
.smp-rule-summary p { margin: 0; color: var(--muted); line-height: 1.6; font-size: 14px; }
.rule-card { scroll-margin-top: 110px; }
.rule-date a { color: #93b3ff; text-underline-offset: 4px; }
.join-layout { display: grid; grid-template-columns: minmax(0,1.8fr) minmax(280px,1fr); gap: 24px; padding-bottom: 46px; }
.join-main, .join-aside { padding: 30px; border-radius: 28px; }
.edition-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 32px; }
.edition-tabs button { padding: 18px 14px; border-radius: 16px; color: var(--text); font-weight: 700; background: #ffffff04; border: 1px solid var(--line); text-align: left; }
.edition-tabs button[aria-selected=true] { background: #4c78ff22; border-color: #4c78ff80; }
.edition-tabs span { display: block; margin-top: 7px; font-weight: 400; font-size: 14px; color: var(--muted); }
.steps { list-style: none; padding: 0; margin: 0; counter-reset: join; display: grid; gap: 26px; }
.steps li { display: flex; gap: 18px; counter-increment: join; }
.steps li::before { content: counter(join); display: grid; place-items: center; background: #4c78ff18; color: #8faaff; border: 1px solid #4c78ff40; border-radius: 12px; width: 40px; height: 40px; flex-shrink: 0; font-weight: 700; }
.steps h2 { font-size: 19px; margin: 5px 0 8px; }
.steps p { margin: 0; color: var(--muted); line-height: 1.8; overflow-wrap: anywhere; }
.join-aside { text-align: center; }
.aside-logo img { object-fit: contain; }
.join-aside .button { margin-top: 20px; width: 100%; }
.join-aside dl { text-align: left; margin: 28px 0 20px; }
.join-aside dl div { display: flex; justify-content: space-between; gap: 10px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.join-aside dt, .join-aside dd span, .small, .notice { color: var(--muted); }
.join-aside dd { margin: 0; font-weight: 700; }
.small, .notice { font-size: 14px; line-height: 1.8; }
.notice { margin-top: 24px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 16px; background: #ffffff03; }
.section.compact { padding-bottom: 36px; }
.help-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; margin: 24px 0 40px; }
.help-grid article { padding: 26px; border: 1px solid var(--line); border-radius: 22px; background: #ffffff03; }
.help-grid h3 { margin: 0 0 12px; font-size: 20px; }
.help-grid p { color: var(--muted); line-height: 1.8; margin: 0; overflow-wrap: anywhere; }
.community-main { text-align: center; padding: 44px 32px; border-radius: 28px; }
.community-main .feature-icon { margin: 0 auto 22px; background: #4c78ff1a; color: #93b3ff; }
.community-main h2 { font: 700 32px 'Space Grotesk','Segoe UI',sans-serif; }
.community-main p { max-width: 660px; margin: 20px auto; color: var(--muted); line-height: 1.8; }
.community-main .button { width: fit-content; margin: 24px auto 0; }
.legal { padding: 30px; border-radius: 28px; max-width: 850px; margin: 0 auto 48px; line-height: 1.8; overflow-wrap: anywhere; }
.legal h2 { font-size: 24px; }
.legal h2:not(:first-child) { margin-top: 30px; }
.legal p { color: var(--muted); }
.footer a { text-decoration: none; }
.footer-ip a { color: #9cb4f0; }
.toast { position: fixed; z-index: 100; bottom: 24px; left: 50%; transform: translateX(-50%); width: max-content; max-width: calc(100% - 32px); padding: 16px 22px; background: #172239; color: white; border: 1px solid #ffffff30; border-radius: 18px; box-shadow: 0 8px 40px #0008; line-height: 1.6; }
.copy-fallback { position: fixed; top: -9999px; left: -9999px; }
@media (max-width:1080px) { .feature-strip { grid-template-columns: repeat(3,minmax(0,1fr)); } .feature-card { padding: 24px; } .feature-card h2 { font-size: 23px; } .smp-address { flex-wrap: wrap; } .smp-address p { display: none; } .smp-address .button { margin-left: auto; } }
@media (max-width:820px) { .feature-strip, .help-grid { grid-template-columns: 1fr; } .feature-card { min-height: 0; } .join-layout, .principles, .faq-section { grid-template-columns: 1fr; } .principles, .faq-section { gap: 20px; } .smp-rule-summary { grid-template-columns: 1fr; } .community-banner, .network-callout { flex-direction: column; align-items: flex-start; } .nav { justify-content: flex-start; } .topbar { position: relative; } }
@media (max-width:560px) { .hero { padding-top: 38px; } .smp-hero-mark { width: 90px; height: 90px; } .smp-address { padding: 22px; gap: 16px; } .smp-address .button { width: 100%; margin-left: 0; } .address-icon { display: none; } .server-address { font-size: 25px; } .rule-card { padding: 22px 18px; } .rule-card h2 { font-size: 26px; } .join-main, .join-aside, .legal { padding: 22px 18px; } .edition-tabs { gap: 8px; } .edition-tabs button { padding: 14px 10px; } .steps li { gap: 12px; } .section-header { padding: 38px 4px 30px; } .section-header p { overflow-wrap: anywhere; } .hero-kicker, .section-kicker { letter-spacing: .13em; } .brand-name { font-size: 27px; } .nav { gap: 3px; } .nav a { padding: 0 11px; font-size: 14px; } .community-banner, .network-callout { padding: 24px; } .community-banner h2, .network-callout h2, .principles h2, .faq-section h2 { font-size: 30px; } }
@media (prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } *, *::before, *::after { animation:none!important; transition:none!important; } }

.help-grid h2 { margin: 0 0 12px; font-size: 20px; }
.network-callout > img { flex-shrink:0; object-fit:contain; }
