@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Space+Grotesk:wght@500;600;700&display=swap');

:root {
  --ink: #101416;
  --muted: #6d7778;
  --paper: #f4f5ef;
  --paper-2: #eaede3;
  --line: rgba(16, 20, 22, .12);
  --accent: #c9f25a;
  --cyan: #72d9dc;
  --orange: #f28a45;
  --shadow: 0 22px 55px rgba(25, 38, 36, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: 'DM Sans', sans-serif; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.container { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }

.site-header { position: relative; z-index: 5; padding: 22px 0; border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; font-family: 'Space Grotesk', sans-serif; font-weight: 700; letter-spacing: -.04em; }
.brand-mark { display: grid; place-items: center; width: 37px; height: 37px; color: var(--ink); background: var(--accent); border-radius: 11px; box-shadow: 4px 4px 0 var(--ink); font-size: 17px; }
.brand span { font-size: 19px; }
.nav-links { display: flex; align-items: center; gap: 26px; font-size: 14px; font-weight: 600; }
.nav-links a { color: #5e6867; transition: color .2s ease; }
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.discord-button, .dark-button, .lime-button { display: inline-flex; align-items: center; gap: 9px; border: 0; border-radius: 8px; cursor: pointer; font-weight: 700; transition: transform .2s ease, box-shadow .2s ease; }
.discord-button:hover, .dark-button:hover, .lime-button:hover { transform: translateY(-2px); }
.discord-button { padding: 11px 15px; color: white; background: var(--ink); font-size: 13px; }
.discord-button svg { width: 16px; }
.mobile-toggle { display: none; border: 0; background: transparent; font-size: 24px; cursor: pointer; }

.hero { position: relative; overflow: hidden; padding: 100px 0 110px; background: radial-gradient(circle at 82% 20%, rgba(114, 217, 220, .42), transparent 30%), radial-gradient(circle at 10% 100%, rgba(201, 242, 90, .3), transparent 32%), var(--paper); }
.hero:after { content: ''; position: absolute; right: -11%; bottom: -40%; width: 55%; height: 100%; border: 1px solid rgba(16,20,22,.11); border-radius: 50%; transform: rotate(-23deg); pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 80px; position: relative; z-index: 1; }
.kicker { display: flex; align-items: center; gap: 8px; margin: 0 0 20px; color: #5f6c69; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.kicker:before { content: ''; width: 28px; height: 2px; background: var(--orange); }
h1, h2, h3 { margin: 0; font-family: 'Space Grotesk', sans-serif; letter-spacing: -.055em; line-height: .98; }
h1 { max-width: 650px; font-size: clamp(52px, 7vw, 88px); }
h1 em { color: #3d8887; font-style: normal; }
.hero-copy { max-width: 570px; margin: 26px 0 30px; color: var(--muted); font-size: 17px; line-height: 1.65; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.lime-button { padding: 14px 19px; color: var(--ink); background: var(--accent); box-shadow: 4px 4px 0 var(--ink); }
.dark-button { padding: 14px 19px; color: white; background: var(--ink); }
.text-link { display: inline-flex; align-items: center; gap: 8px; padding: 13px 2px; color: var(--ink); font-size: 14px; font-weight: 700; }
.text-link span { transition: transform .2s ease; }
.text-link:hover span { transform: translateX(4px); }

.server-console { position: relative; padding: 26px; background: #17201f; color: white; border-radius: 13px; box-shadow: 18px 18px 0 rgba(16,20,22,.11); transform: rotate(2deg); }
.server-console:before { content: ''; position: absolute; top: -14px; right: -17px; width: 80px; height: 80px; border: 8px solid var(--orange); border-radius: 50%; }
.console-top { display: flex; align-items: center; justify-content: space-between; padding-bottom: 21px; border-bottom: 1px solid rgba(255,255,255,.13); }
.console-dots { display: flex; gap: 6px; }
.console-dots i { width: 8px; height: 8px; border-radius: 50%; background: #6f8581; }
.console-dots i:first-child { background: var(--orange); }
.live { display: flex; align-items: center; gap: 7px; color: var(--accent); font-size: 11px; font-weight: 700; letter-spacing: .13em; }
.live:before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px rgba(201,242,90,.12); }
.console-label { margin: 25px 0 8px; color: #8c9d98; font-size: 12px; }
.server-address { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 14px; color: var(--accent); background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); border-radius: 7px; font-family: 'Space Grotesk', sans-serif; font-size: 18px; }
.copy-button { flex: 0 0 auto; padding: 8px 10px; color: white; background: transparent; border: 1px solid rgba(255,255,255,.25); border-radius: 5px; cursor: pointer; font-size: 11px; }
.console-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 23px; }
.console-stat { padding: 15px; background: rgba(255,255,255,.06); border-radius: 7px; }
.console-stat strong { display: block; margin-bottom: 6px; font-family: 'Space Grotesk', sans-serif; font-size: 22px; }
.console-stat span { color: #8c9d98; font-size: 11px; }

.section { padding: 100px 0; }
.section.alt { background: var(--paper-2); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 42px; }
.section-heading h2 { max-width: 520px; font-size: clamp(34px, 5vw, 56px); }
.section-heading p { max-width: 400px; color: var(--muted); line-height: 1.6; }
.eyebrow { margin-bottom: 12px; color: #3d8887; font-size: 12px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.feature { min-height: 220px; padding: 26px; border: 1px solid var(--line); background: rgba(255,255,255,.35); border-radius: 8px; }
.feature:nth-child(2) { background: #d7f0e7; }
.feature:nth-child(3) { background: #ffe1c9; }
.icon-box { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 32px; color: var(--ink); background: var(--accent); border-radius: 8px; }
.feature h3 { margin-bottom: 13px; font-size: 23px; }
.feature p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }
.info-section { padding-top: 30px; }
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.info-panel { min-height: 250px; padding: 25px; background: var(--ink); color: white; border-radius: 8px; }
.info-panel:nth-child(2) { background: #3d8887; }
.info-panel:nth-child(3) { color: var(--ink); background: var(--accent); }
.info-index { display: block; margin-bottom: 55px; color: var(--orange); font-family: 'Space Grotesk', sans-serif; font-size: 13px; font-weight: 700; }
.info-panel:nth-child(2) .info-index { color: var(--accent); }
.info-panel:nth-child(3) .info-index { color: var(--ink); }
.info-panel h3 { margin-bottom: 13px; font-size: 23px; }
.info-panel p { margin: 0; color: #a4b3ad; font-size: 14px; line-height: 1.65; }
.info-panel:nth-child(2) p { color: #d8f0e8; }
.info-panel:nth-child(3) p { color: #33413e; }
.city-section { padding-top: 20px; }
.city-dashboard { display: grid; grid-template-columns: .85fr 1.15fr; gap: 55px; align-items: stretch; padding: 42px; background: #d7f0e7; border-radius: 10px; }
.dashboard-intro h2 { max-width: 420px; margin-bottom: 18px; font-size: clamp(34px, 4vw, 52px); }
.dashboard-intro > p:not(.eyebrow) { max-width: 410px; margin: 0 0 25px; color: #536461; line-height: 1.65; }
.dashboard-data { padding-left: 38px; border-left: 1px solid rgba(16,20,22,.15); }
.data-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 17px 0; border-bottom: 1px solid rgba(16,20,22,.13); }
.data-label { display: flex; align-items: center; gap: 9px; color: #536461; font-size: 13px; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: #61bd70; box-shadow: 0 0 0 5px rgba(97,189,112,.15); }
.data-value { font-family: 'Space Grotesk', sans-serif; font-size: 14px; }
.data-value.green { color: #31844c; }
.dashboard-note { display: flex; gap: 12px; align-items: flex-start; margin-top: 22px; padding: 16px; background: rgba(255,255,255,.45); border-radius: 6px; }
.dashboard-note span { color: var(--orange); }
.dashboard-note p { margin: 0; color: #536461; font-size: 13px; line-height: 1.5; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.step { padding: 26px 26px 0 0; border-right: 1px solid var(--line); }
.step + .step { padding-left: 26px; }
.step:last-child { border-right: 0; }
.step-number { margin-bottom: 25px; color: var(--orange); font-family: 'Space Grotesk', sans-serif; font-size: 14px; font-weight: 700; }
.step h3 { margin-bottom: 12px; font-size: 22px; }
.step p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }

.cta { display: flex; align-items: center; justify-content: space-between; gap: 35px; padding: 45px; color: white; background: var(--ink); border-radius: 12px; }
.cta h2 { max-width: 570px; font-size: clamp(32px, 4vw, 52px); }
.cta p { max-width: 420px; margin: 14px 0 0; color: #a4b3ad; line-height: 1.6; }

.page-hero { padding: 82px 0 72px; background: linear-gradient(120deg, #e1f0e6, var(--paper)); border-bottom: 1px solid var(--line); }
.page-hero h1 { max-width: 800px; font-size: clamp(48px, 7vw, 78px); }
.page-hero p { max-width: 580px; margin: 24px 0 0; color: var(--muted); line-height: 1.65; }
.content-narrow { max-width: 800px; }
.prose h2 { margin: 50px 0 16px; font-size: 30px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: #586462; line-height: 1.75; }
.prose ul { padding-left: 21px; }
.rule-card { margin: 14px 0; padding: 21px 23px; background: white; border: 1px solid var(--line); border-left: 4px solid var(--cyan); border-radius: 6px; }
.rule-card strong { display: block; margin-bottom: 7px; color: var(--ink); }
.rule-card p { margin: 0; font-size: 14px; }

.faq-list { max-width: 850px; }
details { padding: 22px 0; border-bottom: 1px solid var(--line); }
summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; cursor: pointer; font-family: 'Space Grotesk', sans-serif; font-size: 20px; font-weight: 600; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary:after { content: '+'; color: #3d8887; font-size: 25px; font-weight: 400; }
details[open] summary:after { content: '-'; }
details p { max-width: 720px; margin: 15px 0 0; color: var(--muted); line-height: 1.7; }
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 50px; }
.contact-card { padding: 30px; background: #d7f0e7; border-radius: 8px; }
.contact-card h3 { margin-bottom: 13px; font-size: 28px; }
.contact-card p { color: #536461; line-height: 1.6; }
.contact-row { display: flex; gap: 13px; align-items: center; padding: 16px 0; border-bottom: 1px solid rgba(16,20,22,.12); font-size: 14px; }
.contact-row strong { display: block; font-size: 11px; color: #6c7a76; letter-spacing: .1em; text-transform: uppercase; }
.contact-row span { display: block; margin-top: 4px; }
.form { padding: 30px; background: white; border: 1px solid var(--line); border-radius: 8px; }
.form label { display: block; margin-bottom: 7px; font-size: 13px; font-weight: 700; }
.form input, .form textarea { width: 100%; padding: 13px 14px; margin-bottom: 19px; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 5px; outline: none; font: inherit; }
.form textarea { min-height: 130px; resize: vertical; }
.form input:focus, .form textarea:focus { border-color: #3d8887; }

.site-footer { padding: 35px 0; border-top: 1px solid var(--line); }
.footer-inner { display: flex; justify-content: space-between; gap: 20px; align-items: center; }
.footer-inner p { margin: 0; color: var(--muted); font-size: 12px; }
.footer-inner .legal-note { margin-top: 7px; color: #88928f; font-size: 11px; }
.footer-links { display: flex; gap: 18px; color: var(--muted); font-size: 12px; }
.reveal { animation: rise .65s ease both; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 800px) {
  .container { width: min(100% - 32px, 600px); }
  .nav-links { display: none; position: absolute; top: 76px; left: 16px; right: 16px; padding: 19px; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow); flex-direction: column; align-items: flex-start; }
  .nav-links.open { display: flex; }
  .mobile-toggle { display: block; }
  .header-actions .discord-button { display: none; }
  .hero { padding: 70px 0 80px; }
  .hero-grid, .contact-grid { grid-template-columns: 1fr; gap: 55px; }
  .server-console { transform: none; }
  .feature-grid, .info-grid, .steps { grid-template-columns: 1fr; gap: 14px; }
  .city-dashboard { grid-template-columns: 1fr; gap: 32px; padding: 28px 23px; }
  .dashboard-data { padding: 25px 0 0; border-top: 1px solid rgba(16,20,22,.15); border-left: 0; }
  .step, .step + .step { padding: 24px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .step:last-child { border-bottom: 0; }
  .section-heading { display: block; }
  .section-heading p { margin-top: 18px; }
  .cta { display: block; padding: 32px 25px; }
  .cta .actions { margin-top: 24px; }
  .page-hero { padding: 60px 0; }
  .footer-inner { display: block; }
  .footer-links { margin-top: 15px; }
}
