:root {
  color-scheme: dark;
  --background: #101a2b;
  --background-soft: #17243a;
  --ink: #f7f4ed;
  --muted: #b6c3d2;
  --accent: #ffb89e;
  --line: rgba(237, 243, 247, .16);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--background);
  color: var(--ink);
  font-family: "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

a:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

.page-shell {
  min-height: 100vh;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 clamp(24px, 5vw, 88px);
}

.site-header {
  min-height: 94px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: .1em;
}

.wordmark-icon { color: var(--accent); font-size: 24px; }
.wordmark-dot { color: var(--accent); }

.header-link {
  text-decoration: none;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.header-link:hover { color: var(--ink); }
.header-link span { padding-left: 5px; color: var(--accent); }

.hero {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(32px, 5vw, 88px);
  padding: clamp(60px, 7vw, 112px) 0 clamp(70px, 8vw, 120px);
}

.hero-copy { position: relative; z-index: 1; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 25px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .17em;
}

.eyebrow-line { display: block; width: 30px; height: 2px; background: var(--accent); }

h1 {
  margin: 0;
  font-size: clamp(62px, 6.4vw, 106px);
  line-height: .95;
  letter-spacing: -.07em;
  font-weight: 800;
}

h1 span { color: var(--accent); }
.title-star { display: inline-block; padding-left: .08em; font-size: .34em; vertical-align: top; letter-spacing: 0; }

.hero-description {
  max-width: 530px;
  margin: 32px 0 34px;
  color: var(--muted);
  font-size: clamp(17px, 1.35vw, 20px);
  line-height: 1.65;
}

.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 23px; }

.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 23px;
  border-radius: 8px;
  background: var(--accent);
  color: #152034;
  text-decoration: none;
  font-size: 15px;
  font-weight: 800;
  transition: transform .2s ease, background .2s ease;
}

.primary-button:hover { transform: translateY(-2px); background: #ffd0bd; }
.primary-button span { padding-left: 11px; }

.discord-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 23px;
  border-radius: 8px;
  background: #5865f2;
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 800;
  box-shadow: 0 10px 30px rgba(88, 101, 242, .35);
  transition: transform .2s ease, background .2s ease;
}

.discord-button:hover { transform: translateY(-2px); background: #6d78f5; }
.discord-button span { padding-left: 11px; }

.group-code { color: var(--muted); font-size: 13px; line-height: 1.5; }
.group-code strong { display: block; color: var(--ink); font-size: 16px; letter-spacing: .04em; }
.sign-in-note { margin: 17px 0 0; color: #94a6bb; font-size: 12px; }

.hero-visual {
  position: relative;
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 18px;
  background: var(--background-soft);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .26);
}

.hero-visual::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 55%;
  height: 45%;
  top: -25px;
  right: -22px;
  border-radius: 20px;
  background: rgba(255, 184, 158, .11);
}

.hero-visual img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border-radius: 17px;
}

.image-caption {
  position: absolute;
  left: 18px;
  bottom: 18px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 13px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 5px;
  background: rgba(16, 26, 43, .78);
  backdrop-filter: blur(12px);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .17em;
}

.caption-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }

.details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.detail { padding: 32px 28px 34px 0; }
.detail + .detail { padding-left: 28px; border-left: 1px solid var(--line); }
.detail-number { color: var(--accent); font-size: 12px; font-weight: 800; letter-spacing: .1em; }
.detail h2 { margin: 16px 0 10px; font-size: 19px; letter-spacing: -.025em; }
.detail p { max-width: 360px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.detail strong { color: var(--ink); }

.site-footer {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  padding: 28px 0 38px;
  color: #91a2b8;
  font-size: 12px;
}

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; }
  .hero-copy { max-width: 670px; }
  .hero-visual { max-width: 720px; }
}

@media (max-width: 660px) {
  .page-shell { padding: 0 22px; }
  .site-header { min-height: 78px; }
  .wordmark { font-size: 13px; }
  .header-link { font-size: 12px; white-space: normal; text-align: right; }
  .hero { padding: 58px 0 70px; gap: 42px; }
  h1 { font-size: clamp(58px, 13vw, 82px); }
  .hero-description { margin-top: 26px; }
  .hero-actions { gap: 14px; }
  .primary-button, .discord-button { width: 100%; }
  .group-code { margin-top: 6px; }
  .details { grid-template-columns: 1fr; }
  .detail, .detail + .detail { padding: 27px 0; border-left: 0; }
  .detail + .detail { border-top: 1px solid var(--line); }
  .site-footer { padding-bottom: 28px; }
}
