
:root {
  --bg: #08111d;
  --panel: rgba(11, 19, 31, 0.92);
  --panel-soft: rgba(13, 24, 40, 0.78);
  --line: rgba(85, 123, 171, 0.26);
  --text: #edf4ff;
  --muted: #a9b7ca;
  --accent: #3dd6ff;
  --accent-strong: #85e6ff;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.36);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  background:
    radial-gradient(circle at top, rgba(30, 93, 144, 0.22), transparent 36%),
    linear-gradient(180deg, #050912 0%, #08111d 52%, #0a1320 100%);
  color: var(--text);
  line-height: 1.65;
}
body.nav-open {
  overflow: hidden;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { display: block; max-width: 100%; height: auto; }
.wrap { width: min(1160px, calc(100% - 32px)); margin: 0 auto; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(5, 9, 18, 0.84);
  border-bottom: 1px solid var(--line);
}
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  min-width: 0;
}
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: var(--shadow);
  flex: 0 0 auto;
}
.brand-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(11, 20, 32, 0.9);
  color: var(--text);
  box-shadow: var(--shadow);
}
.nav-toggle__line {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}
.main-nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.main-nav__inner,
.main-nav__links {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.main-nav__header {
  display: none;
}
.main-nav__close {
  border: 1px solid var(--line);
  border-radius: 12px;
  width: 40px;
  height: 40px;
  background: rgba(11, 20, 32, 0.9);
  color: var(--text);
  font-size: 1.35rem;
  line-height: 1;
}
.nav-backdrop {
  display: none;
}
.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  color: #dce9f8;
  border: 1px solid transparent;
}
.nav-link:hover {
  text-decoration: none;
  border-color: var(--line);
  background: rgba(16, 25, 39, 0.66);
}
.nav-link.is-active {
  color: #08111d;
  background: linear-gradient(90deg, #29c6f6, #8be8ff);
  font-weight: 700;
}
.site-main { padding-top: 22px; }
.hero, .section, .card-grid, .copy-grid { margin: 0 auto 24px; }
.hero-grid, .founder-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 24px;
  align-items: center;
}
.hero {
  padding: 28px 0 12px;
}
.hero-copy, .hero-visual, .section .wrap, .copy-block, .card {
  position: relative;
}
.hero-copy {
  padding: 8px 0;
}
.hero h1, .section h1 {
  font-size: clamp(2.2rem, 4.8vw, 4rem);
  line-height: 1.06;
  margin: 10px 0 16px;
  max-width: 12ch;
}
.section h1 { max-width: 14ch; }
.eyebrow {
  color: var(--accent-strong);
  text-transform: uppercase;
  letter-spacing: 0.11em;
  font-size: 0.78rem;
  font-weight: 700;
}
.lead {
  color: var(--muted);
  font-size: 1.06rem;
  max-width: 780px;
}
.card-grid, .copy-grid {
  width: min(1160px, calc(100% - 32px));
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}
.card, .copy-block, .hero-visual, .founder-visual {
  background: linear-gradient(180deg, rgba(13, 22, 35, 0.98), rgba(10, 18, 30, 0.92));
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 22px;
  box-shadow: var(--shadow);
}
.hero-visual, .founder-visual { padding: 10px; overflow: hidden; }
.hero-visual img, .founder-visual img {
  width: 100%;
  border-radius: 16px;
  object-fit: cover;
}
.cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(11, 20, 32, 0.9);
  color: var(--text);
}
.button:hover { text-decoration: none; }
.button.primary {
  border: none;
  color: #061018;
  font-weight: 800;
  background: linear-gradient(90deg, #1ba9d3, #89e8ff);
}
.card h2, .copy-block h2 {
  margin: 0 0 10px;
  font-size: 1.15rem;
}
.card p, .copy-block p { margin: 0; color: var(--muted); }
.status-note { color: var(--muted); }
.site-footer {
  margin-top: 48px;
  border-top: 1px solid var(--line);
  background: rgba(5, 9, 18, 0.88);
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  padding: 28px 0 34px;
}
.footer-title { font-weight: 800; margin-bottom: 10px; }
.site-footer p, .site-footer li, .site-footer a { color: var(--muted); }
.site-footer ul { margin: 0; padding-left: 18px; }
.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 999;
  padding: 10px 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, #1ba9d3, #89e8ff);
  color: #061018;
  font-weight: 800;
  transition: top 0.15s ease;
}
.skip-link:focus {
  top: 16px;
}
a:focus-visible,
button:focus-visible,
.button:focus-visible,
.nav-link:focus-visible {
  outline: 2px solid var(--accent-strong);
  outline-offset: 3px;
  text-decoration: none;
}
.footer-grid--compact {
  align-items: start;
  grid-template-columns: minmax(0, 1.2fr) minmax(220px, 0.8fr) minmax(220px, 0.9fr);
}
.footer-grid--compact p,
.footer-grid--compact li {
  margin-top: 0;
  margin-bottom: 10px;
}
.page-note {
  margin-top: 18px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(12, 22, 36, 0.68);
  color: var(--muted);
}
.signal-list {
  margin: 16px 0 0;
  padding-left: 18px;
  color: var(--muted);
}
.signal-list li + li {
  margin-top: 8px;
}
.timeline-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}
.timeline-step {
  padding: 20px 22px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(13, 22, 35, 0.98), rgba(10, 18, 30, 0.92));
  box-shadow: var(--shadow);
}
.timeline-label {
  margin-bottom: 10px;
  color: var(--accent-strong);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  font-weight: 800;
}
.timeline-step p {
  margin: 0;
  color: var(--muted);
}
.copy-block--model,
.copy-block--signals,
.faq-group {
  width: 100%;
}
.faq-groups {
  margin: 0 auto 24px;
}
.faq-groups-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}
.faq-item + .faq-item {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(85, 123, 171, 0.16);
}
.faq-item h3 {
  margin: 0 0 8px;
  font-size: 1rem;
}
.faq-item p {
  margin: 0;
}
.founder-signals {
  margin-top: 18px;
}
.card-grid--community .card:last-child {
  background: linear-gradient(180deg, rgba(9, 18, 30, 0.98), rgba(8, 16, 28, 0.92));
}
.copy-block--axis,
.copy-block--system-lane,
.copy-block--chronicle,
.copy-block--statement,
.copy-block--community-role {
  min-height: 100%;
}
.universe-axis-grid,
.gameplay-systems-grid,
.lore-chronicle-grid,
.community-role-grid,
.founder-statement-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}
.copy-block--axis {
  border-color: rgba(78, 165, 220, 0.34);
  background: linear-gradient(180deg, rgba(11, 29, 47, 0.98), rgba(8, 20, 34, 0.94));
}
.copy-block--system-lane {
  border-color: rgba(61, 214, 255, 0.28);
}
.copy-block--chronicle {
  border-color: rgba(120, 181, 233, 0.24);
  background: linear-gradient(180deg, rgba(14, 24, 39, 0.98), rgba(10, 18, 31, 0.94));
}
.copy-block--statement {
  border-color: rgba(105, 173, 223, 0.32);
}
.copy-block--community-role {
  border-color: rgba(99, 176, 232, 0.28);
}
.page-community .card-grid--community .card:last-child {
  border-style: dashed;
}

@media (max-width: 980px) {
  .hero-grid,
  .founder-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual,
  .founder-visual {
    max-width: 760px;
  }

  .hero h1,
  .section h1 {
    max-width: none;
  }
}

@media (max-width: 860px) {
  .site-header {
    position: sticky;
  }

  .header-row {
    gap: 12px;
    padding: 12px 0;
  }

  .brand {
    font-size: 1rem;
    max-width: calc(100% - 64px);
  }

  .brand-mark {
    width: 38px;
    height: 38px;
    border-radius: 10px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .main-nav {
    position: fixed;
    inset: 0 auto 0 0;
    width: min(340px, calc(100vw - 24px));
    transform: translateX(-105%);
    transition: transform 0.22s ease;
    z-index: 70;
    display: block;
  }

  .nav-open .main-nav {
    transform: translateX(0);
  }

  .main-nav__inner {
    height: 100dvh;
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 18px;
    background: rgba(6, 12, 20, 0.98);
    border-right: 1px solid var(--line);
    box-shadow: var(--shadow);
    flex-wrap: nowrap;
    justify-content: flex-start;
  }

  .main-nav__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }

  .main-nav__title {
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent-strong);
  }

  .main-nav__links {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    flex-wrap: nowrap;
  }

  .nav-link {
    justify-content: flex-start;
    min-height: 46px;
    padding: 0 16px;
    border-radius: 14px;
    background: rgba(12, 21, 34, 0.9);
    border-color: rgba(85, 123, 171, 0.18);
  }

  .nav-link.is-active {
    color: #061018;
  }

  .nav-backdrop {
    position: fixed;
    inset: 0;
    display: block;
    background: rgba(2, 6, 12, 0.68);
    z-index: 60;
  }

  .nav-backdrop[hidden] {
    display: none;
  }

  .site-main {
    padding-top: 18px;
  }

  .hero {
    padding-top: 18px;
  }

  .hero h1,
  .section h1 {
    font-size: clamp(2rem, 8vw, 3rem);
    line-height: 1.08;
  }

  .lead {
    font-size: 1rem;
  }

  .footer-grid--compact {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

@media (max-width: 640px) {
  .wrap,
  .card-grid,
  .copy-grid {
    width: min(100% - 20px, 1160px);
  }

  .card-grid,
  .copy-grid,
  .timeline-strip,
  .faq-groups-grid,
  .universe-axis-grid,
  .gameplay-systems-grid,
  .lore-chronicle-grid,
  .community-role-grid,
  .founder-statement-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .card,
  .copy-block,
  .hero-visual,
  .founder-visual,
  .timeline-step {
    border-radius: 18px;
    padding: 18px;
  }

  .hero-visual,
  .founder-visual {
    padding: 8px;
  }

  .cta-row {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .signal-list {
    padding-left: 16px;
  }

  .site-footer {
    margin-top: 36px;
  }
}

@media (max-width: 420px) {
  .header-row {
    padding: 10px 0;
  }

  .brand {
    gap: 10px;
  }

  .brand-text {
    font-size: 0.94rem;
  }

  .hero h1,
  .section h1 {
    font-size: clamp(1.8rem, 8.2vw, 2.35rem);
  }

  .eyebrow {
    font-size: 0.72rem;
    letter-spacing: 0.1em;
  }

  .lead,
  .card p,
  .copy-block p,
  .status-note,
  .timeline-step p,
  .faq-item p {
    font-size: 0.96rem;
  }

  .nav-toggle {
    width: 42px;
    height: 42px;
    border-radius: 12px;
  }

  .main-nav {
    width: min(320px, calc(100vw - 16px));
  }
}
