/* Standalone Discord landing — reuses the site theme's look (no logo/name yet). */
@font-face {
  font-family: 'Oxanium';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/oxanium-700-latin.woff2) format('woff2');
}
@font-face {
  font-family: 'Oxanium';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(fonts/oxanium-800-latin.woff2) format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/inter-400-latin.woff2) format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/inter-600-latin.woff2) format('woff2');
}

:root {
  --teal: #00a89c;
  --teal-bright: #00c4b6;
  --bg: #0a0e11;
  --bg-2: #0d1418;
  --surface: #121a1f;
  --border: #233038;
  --ink: #f1f5f6;
  --ink-muted: #8da3a9;
  --glow: 0 0 18px rgba(0, 168, 156, 0.45);
  --clip: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  --clip-tag: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
  --font-display: 'Oxanium', system-ui, sans-serif;
  --font-base: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font-base);
  color: var(--ink);
  background:
    radial-gradient(ellipse at 50% -10%, rgba(0, 168, 156, 0.12), transparent 60%),
    linear-gradient(180deg, var(--bg-2), var(--bg));
  background-attachment: fixed;
}

.wrap {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem;
}

.hero {
  max-width: 680px;
  text-align: center;
}

/* Two-layer border so the clip doesn't slice the edge. */
.eyebrow {
  position: relative;
  isolation: isolate;
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal-bright);
  padding: 0.35rem 0.9rem;
  margin-bottom: 1.5rem;
  background: var(--border);
  clip-path: var(--clip-tag);
}

.eyebrow::before {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: -1;
  background: var(--surface);
  clip-path: var(--clip-tag);
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.4rem, 8vw, 4.5rem);
  line-height: 1.02;
  margin: 0 0 1rem;
  text-transform: uppercase;
}

.hero h1 .accent {
  color: var(--teal-bright);
  text-shadow: var(--glow);
}

.hero p {
  font-size: clamp(1rem, 2.4vw, 1.2rem);
  line-height: 1.6;
  color: var(--ink-muted);
  margin: 0 auto 2.25rem;
  max-width: 540px;
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-decoration: none;
  color: #00120f;
  background: var(--teal);
  padding: 0.9rem 1.6rem;
  clip-path: var(--clip);
  transition: background 0.18s ease, transform 0.18s ease;
}

.cta:hover {
  background: var(--teal-bright);
  transform: translateY(-1px);
}

.cta svg { width: 24px; height: 24px; }

/* Match the paragraph→CTA gap; outspecify `.hero p` which zeroes the top margin. */
.hero p.sub {
  margin-top: 2.25rem;
  font-size: 0.85rem;
  color: var(--ink-muted);
}

/* Scrolling marquee strip for flavour. */
.marquee {
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(18, 26, 31, 0.6);
  padding: 0.6rem 0;
}

.marquee__track {
  display: inline-flex;
  gap: 2.5rem;
  white-space: nowrap;
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.8rem;
  color: var(--ink-muted);
  animation: scroll 24s linear infinite;
}

.marquee__track span::after {
  content: '·';
  margin-left: 2.5rem;
  color: var(--teal);
}

@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
}

footer {
  text-align: center;
  padding: 1.5rem;
  font-size: 0.8rem;
  color: var(--ink-muted);
}
