/* ==========================================================================
   GL : Discord growth community
   Design tokens pulled straight from the server logo (near-black to ember
   red gradient, gold-orange ring glow, cream wordmark).
   ========================================================================== */

:root{
  /* --- color: fire on void --- */
  --void:        #0a0603;
  --void-2:      #130b06;
  --void-3:      #1d120a;
  --ember:       #e2270c;
  --flame:       #fb5a12;
  --gold:        #fdb236;
  --gold-soft:   #ffd98a;
  --paper:       #fdf6ea;
  --ash:         #c4b6a9;
  --ash-dim:     #8a7a6c;
  --line:        rgba(253,178,54,.16);
  --line-strong: rgba(253,178,54,.42);

  --grad-fire:   linear-gradient(120deg, var(--ember) 0%, var(--flame) 55%, var(--gold) 100%);
  --grad-glow:   radial-gradient(ellipse at 50% 0%, rgba(226,39,12,.28), transparent 62%);

  /* --- type --- */
  --font-display: 'Unbounded', system-ui, sans-serif;
  --font-body:    'Manrope', system-ui, -apple-system, sans-serif;
  --font-mono:    'Space Grotesk', ui-monospace, monospace;

  /* --- layout --- */
  --wrap: 1180px;
  --pad: clamp(1.25rem, 4vw, 3rem);
  --radius: 10px;

  /* --- motion --- */
  --ease: cubic-bezier(.22,.85,.32,1);
  --fast: .25s;
  --med: .45s;
}

*, *::before, *::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; scrollbar-color:var(--void-3) var(--void); scrollbar-width:thin; }
::-webkit-scrollbar{ width:11px; height:11px; }
::-webkit-scrollbar-track{ background:var(--void); }
::-webkit-scrollbar-thumb{ background:var(--void-3); border-radius:8px; border:2px solid var(--void); }
::-webkit-scrollbar-thumb:hover{ background:var(--flame); }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *, *::before, *::after{ animation-duration:.001ms !important; animation-iteration-count:1 !important; transition-duration:.001ms !important; scroll-behavior:auto !important; }
}

main, section, article, nav, footer, header, figure{ display:block; }

body{
  margin:0;
  background:var(--void);
  color:var(--paper);
  font-family:var(--font-body);
  font-size:16px;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}

img{ max-width:100%; display:block; }
a{ color:inherit; }
h1,h2,h3,h4{ margin:0; font-family:var(--font-display); font-weight:800; letter-spacing:-.01em; }
p{ margin:0; }
button{ font:inherit; color:inherit; background:none; border:none; cursor:pointer; }
ul{ margin:0; padding:0; list-style:none; }

::selection{ background:var(--flame); color:var(--void); }

:focus-visible{
  outline:2px solid var(--gold);
  outline-offset:3px;
  border-radius:4px;
}

.skip-link{
  position:absolute; left:1rem; top:-4rem;
  background:var(--gold); color:var(--void);
  padding:.6rem 1rem; border-radius:6px; font-weight:700;
  z-index:200; transition:top var(--fast) var(--ease);
}
.skip-link:focus{ top:1rem; }

.container{ max-width:var(--wrap); margin-inline:auto; padding-inline:var(--pad); }

/* vertical stack of full-width blocks (used on /paid/). Deliberately plain
   block flow, not flexbox, since these children (.notice, .panel) are
   already full-width block elements; a simple sibling margin is all the
   spacing needs and there's no flex edge case to worry about. */
.stack-lg > * + *{ margin-top:2.2rem; }

/* film-grain texture, keeps the flat gradient from feeling too clean/flat */
.grain{
  position:fixed; inset:0; pointer-events:none; z-index:1;
  opacity:.05; mix-blend-mode:overlay;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* thin fire-gradient bar tracking how far down the page you are */
.scroll-progress{
  position:fixed; top:0; left:0; height:2.5px; width:0%;
  background:var(--grad-fire); z-index:150; pointer-events:none;
}

/* soft ember glow that follows the cursor, desktop only (see script.js) */
.cursor-glow{
  position:fixed; top:0; left:0; width:480px; height:480px;
  border-radius:50%; pointer-events:none; z-index:1;
  background:radial-gradient(circle, rgba(251,90,18,.10), rgba(226,39,12,.05) 45%, transparent 70%);
  opacity:0; transition:opacity .4s ease;
}
.cursor-glow.active{ opacity:1; }

/* ==========================================================================
   Eyebrow / labels / badges
   ========================================================================== */
.eyebrow{
  display:inline-flex; align-items:center; gap:.5rem;
  font-family:var(--font-mono);
  font-size:.72rem; font-weight:600;
  letter-spacing:.16em; text-transform:uppercase;
  color:var(--gold);
}
.eyebrow::before{
  content:''; width:7px; height:7px; border-radius:50%;
  background:var(--gold); box-shadow:0 0 10px 2px var(--gold);
}

.badge{
  display:inline-flex; align-items:center; gap:.45rem;
  padding:.5rem .9rem;
  font-size:.82rem; font-weight:600; color:var(--ash);
  border:1px solid var(--line); border-radius:999px;
  background:rgba(253,178,54,.04);
  white-space:nowrap;
}
.badge svg{ width:15px; height:15px; color:var(--gold); flex-shrink:0; }

.live-dot{
  width:8px; height:8px; border-radius:50%; background:#39d97a; flex-shrink:0;
  box-shadow:0 0 0 0 rgba(57,217,122,.6);
  animation:pulseDot 2.2s ease-out infinite;
}
@keyframes pulseDot{
  0%{ box-shadow:0 0 0 0 rgba(57,217,122,.55); }
  70%{ box-shadow:0 0 0 8px rgba(57,217,122,0); }
  100%{ box-shadow:0 0 0 0 rgba(57,217,122,0); }
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn{
  position:relative; overflow:hidden;
  display:inline-flex; align-items:center; justify-content:center; gap:.55rem;
  padding:.95rem 1.7rem;
  border-radius:999px;
  font-family:var(--font-body); font-weight:700; font-size:.95rem;
  text-decoration:none;
  border:1px solid transparent;
  transition:transform var(--med) var(--ease), box-shadow var(--med) var(--ease), border-color var(--fast), background var(--fast), color var(--fast);
  white-space:nowrap;
}
.btn svg{ width:18px; height:18px; transition:transform var(--med) var(--ease); }
.btn:hover svg{ transform:translateX(3px); }

.btn-primary{ background:var(--grad-fire); color:var(--void); }
.btn-primary::before{
  content:''; position:absolute; inset:0;
  background:linear-gradient(115deg, transparent 30%, rgba(255,255,255,.4) 50%, transparent 70%);
  transform:translateX(-130%);
  animation:btnSweep 4.5s ease-in-out infinite;
  pointer-events:none;
}
@keyframes btnSweep{
  0%, 45%{ transform:translateX(-130%); }
  65%, 100%{ transform:translateX(130%); }
}
.btn-primary:hover{ transform:translateY(-3px); box-shadow:0 14px 34px -10px rgba(251,90,18,.6); }
.btn-primary:active{ transform:translateY(-1px); }

.btn-secondary{ background:transparent; border-color:var(--line-strong); color:var(--paper); }
.btn-secondary:hover{ border-color:var(--gold); background:rgba(253,178,54,.08); transform:translateY(-3px); }

.btn-ghost{ background:transparent; color:var(--ash); padding:.6rem .3rem; }
.btn-ghost:hover{ color:var(--gold); }
.btn-sm{ padding:.55rem 1.05rem; font-size:.82rem; }

.ripple{
  position:absolute; border-radius:50%; background:rgba(255,255,255,.45);
  transform:scale(0); animation:rippleAnim .6s ease-out forwards;
  pointer-events:none;
}
@keyframes rippleAnim{ to{ transform:scale(3.2); opacity:0; } }

/* ==========================================================================
   Nav
   ========================================================================== */
.site-nav{
  position:fixed; top:0; left:0; right:0; z-index:100;
  padding:1.15rem 0;
  transition:padding var(--med) var(--ease), background var(--med) var(--ease), border-color var(--med) var(--ease);
  border-bottom:1px solid transparent;
}
.site-nav.scrolled{
  padding:.7rem 0;
  background:rgba(10,6,3,.78);
  backdrop-filter:blur(14px) saturate(140%);
  -webkit-backdrop-filter:blur(14px) saturate(140%);
  border-bottom-color:var(--line);
}
.nav-inner{ display:flex; align-items:center; justify-content:space-between; gap:1.5rem; }

.brand{ display:flex; align-items:center; gap:.65rem; text-decoration:none; }
.brand img{ width:36px; height:36px; border-radius:50%; }
.brand-word{ font-family:var(--font-display); font-weight:800; font-size:1.1rem; letter-spacing:.02em; }

.nav-links{ position:relative; display:flex; align-items:center; gap:1.6rem; }
.nav-links a{
  position:relative; text-decoration:none; font-weight:600; font-size:.92rem; color:var(--ash);
  padding:.3rem 0; transition:color var(--fast);
}
.nav-links a:hover{ color:var(--paper); }
.nav-links a.active{ color:var(--gold); }

.nav-indicator{
  position:absolute; bottom:-2px; left:0; height:1px; width:0;
  background:var(--gold); box-shadow:0 0 8px 1px rgba(253,178,54,.55);
  opacity:0; pointer-events:none;
  transition:transform .35s var(--ease), width .35s var(--ease), opacity .3s ease;
}

.nav-cta{ display:flex; align-items:center; gap:1rem; }
.nav-toggle{ display:none; width:40px; height:40px; align-items:center; justify-content:center; border:1px solid var(--line); border-radius:8px; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after{
  content:''; display:block; width:18px; height:2px; background:var(--paper); position:relative; transition:all var(--fast);
}
.nav-toggle span::before{ position:absolute; top:-6px; }
.nav-toggle span::after{ position:absolute; top:6px; }

.mobile-panel{
  display:none;
  position:fixed; inset:0; z-index:99;
  background:rgba(10,6,3,.97);
  backdrop-filter:blur(10px);
  padding:6.5rem 1.5rem 2rem;
  flex-direction:column; gap:1.6rem;
  transform:translateY(-8px); opacity:0; pointer-events:none;
  transition:opacity var(--med) var(--ease), transform var(--med) var(--ease);
}
.mobile-panel.open{ display:flex; opacity:1; transform:translateY(0); pointer-events:auto; }
.mobile-panel a{ text-decoration:none; font-family:var(--font-display); font-size:1.4rem; color:var(--paper); }
.mobile-panel a.active{ color:var(--gold); }
.mobile-panel .btn{ width:100%; margin-top:.5rem; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero{
  position:relative; min-height:100svh;
  display:flex; align-items:center;
  padding:9rem 0 5rem;
  overflow:hidden;
}
.hero::before{
  content:''; position:absolute; inset:0; background:var(--grad-glow); pointer-events:none;
}
#embers{ position:absolute; inset:0; width:100%; height:100%; z-index:0; }

.hero-inner{
  position:relative; z-index:2;
  display:grid; grid-template-columns:1.15fr .85fr; gap:3.5rem; align-items:center;
}

.hero-copy .eyebrow{ margin-bottom:1.4rem; }

.hero h1{
  font-size:clamp(2.5rem, 5.6vw, 4.4rem);
  line-height:1.02;
}
.hero h1 .line-mask{ display:block; overflow:hidden; padding-bottom:.08em; }
.hero h1 .line-inner{
  display:inline-block;
  transform:translateY(115%); opacity:0;
  animation:lineUp .85s var(--ease) forwards;
}
.hero h1 .line-mask:nth-child(1) .line-inner{ animation-delay:.1s; }
.hero h1 .line-mask:nth-child(2) .line-inner{ animation-delay:.28s; }
@keyframes lineUp{ to{ transform:translateY(0); opacity:1; } }
.hero h1 .fire-text{
  background:var(--grad-fire);
  -webkit-background-clip:text; background-clip:text; color:transparent;
}

.hero-sub{
  margin-top:1.4rem; max-width:34rem;
  color:var(--ash); font-size:1.08rem; line-height:1.7;
}

.hero-actions{ display:flex; flex-wrap:wrap; gap:1rem; margin-top:2.2rem; }

.hero-badges{ display:flex; flex-wrap:wrap; gap:.65rem; margin-top:2.4rem; }
.hero-badges .badge{ opacity:0; transform:translateY(8px); animation:badgeIn .6s var(--ease) forwards; }
.hero-badges .badge:nth-child(1){ animation-delay:.15s; }
.hero-badges .badge:nth-child(2){ animation-delay:.3s; }
.hero-badges .badge:nth-child(3){ animation-delay:.45s; }
.hero-badges .badge:nth-child(4){ animation-delay:.6s; }
@keyframes badgeIn{ to{ opacity:1; transform:translateY(0); } }

/* hero mark: logo + parallax rings, our AR/VR-ish depth moment */
.hero-mark{
  position:relative; display:flex; align-items:center; justify-content:center;
  perspective:900px;
}
.mark-stage{
  position:relative; width:min(360px, 80vw); aspect-ratio:1/1;
  transform-style:preserve-3d;
  transition:transform .25s var(--ease);
}
.mark-ring{
  position:absolute; inset:0; border-radius:50%;
  border:1px solid var(--line-strong);
  transform:translateZ(0);
}
.mark-ring.r2{ inset:12%; border-color:rgba(253,178,54,.28); }
.mark-ring.r3{ inset:24%; border-color:rgba(253,178,54,.18); }
.mark-ring.pulse{
  animation:ringPulse 3.2s ease-out infinite;
}
@keyframes ringPulse{
  0%{ transform:scale(.94); opacity:.9; }
  70%{ transform:scale(1.14); opacity:0; }
  100%{ opacity:0; }
}
.mark-logo{
  position:absolute; inset:18%;
  border-radius:50%; overflow:hidden;
  box-shadow:0 0 60px -8px rgba(251,90,18,.55);
  transform:translateZ(40px);
}
.mark-logo img{ width:100%; height:100%; object-fit:cover; }

/* ==========================================================================
   Sections (generic)
   ========================================================================== */
section{ position:relative; padding:6.5rem 0; z-index:2; scroll-margin-top:90px; }
.section-head{ max-width:40rem; margin-bottom:3.2rem; }
.section-head h2{ margin-top:.9rem; font-size:clamp(1.7rem, 3.4vw, 2.5rem); }
.section-head p{ margin-top:1rem; color:var(--ash); font-size:1.02rem; line-height:1.7; }

.reveal{ opacity:0; transform:translateY(22px); transition:opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in-view{ opacity:1; transform:translateY(0); }

.about-grid{ display:grid; grid-template-columns:.9fr 1.1fr; gap:3rem; align-items:start; }
.about-copy p + p{ margin-top:1.1rem; }
.about-copy{ color:var(--ash); font-size:1.05rem; line-height:1.8; }
.about-copy strong{ color:var(--paper); }

/* ==========================================================================
   Panels w/ HUD corner brackets (signature repeated element)
   ========================================================================== */
.panel{
  position:relative;
  background:linear-gradient(175deg, var(--void-2), var(--void-3));
  border:1px solid var(--line);
  border-radius:var(--radius);
}
.corner{
  position:absolute; width:14px; height:14px; border:2px solid var(--gold);
  opacity:.45; transition:all var(--med) var(--ease); pointer-events:none;
}
.corner.tl{ top:-1px; left:-1px; border-right:none; border-bottom:none; border-top-left-radius:4px; }
.corner.tr{ top:-1px; right:-1px; border-left:none; border-bottom:none; border-top-right-radius:4px; }
.corner.bl{ bottom:-1px; left:-1px; border-right:none; border-top:none; border-bottom-left-radius:4px; }
.corner.br{ bottom:-1px; right:-1px; border-left:none; border-top:none; border-bottom-right-radius:4px; }
.panel:hover .corner{ opacity:1; width:20px; height:20px; }

/* ==========================================================================
   Features
   ========================================================================== */
.feature-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:1.25rem; }
.feature-card{
  padding:1.9rem 1.6rem 2.1rem;
  transform-style:preserve-3d;
  will-change:transform;
}
.feature-icon{
  width:46px; height:46px; border-radius:9px;
  display:flex; align-items:center; justify-content:center;
  background:rgba(253,178,54,.08); border:1px solid var(--line);
  color:var(--gold); margin-bottom:1.3rem;
  transition:transform var(--med) var(--ease), background var(--fast), color var(--fast);
  animation:iconBreathe 3.4s ease-in-out infinite;
}
@keyframes iconBreathe{
  0%,100%{ box-shadow:0 0 0 0 rgba(253,178,54,0); }
  50%{ box-shadow:0 0 16px 1px rgba(253,178,54,.22); }
}
.feature-icon svg{ width:22px; height:22px; }
.feature-card:hover .feature-icon{ background:var(--grad-fire); color:var(--void); transform:rotate(-6deg) scale(1.08); }
.feature-card h3{ font-size:1.08rem; margin-bottom:.6rem; }
.feature-card p{ color:var(--ash); font-size:.93rem; line-height:1.65; }

/* stagger the cards so they cascade in and breathe slightly out of sync,
   which reads as more alive than four identical cards moving in lockstep */
.feature-grid .feature-card:nth-child(1){ transition-delay:0s; }
.feature-grid .feature-card:nth-child(2){ transition-delay:.08s; }
.feature-grid .feature-card:nth-child(3){ transition-delay:.16s; }
.feature-grid .feature-card:nth-child(4){ transition-delay:.24s; }
.feature-grid .feature-card:nth-child(1) .feature-icon{ animation-delay:0s; }
.feature-grid .feature-card:nth-child(2) .feature-icon{ animation-delay:.5s; }
.feature-grid .feature-card:nth-child(3) .feature-icon{ animation-delay:1s; }
.feature-grid .feature-card:nth-child(4) .feature-icon{ animation-delay:1.5s; }

/* ==========================================================================
   Live / widget skeleton
   ========================================================================== */
.live-wrap{ display:grid; grid-template-columns:1fr auto; gap:3rem; align-items:center; }
.widget-frame{
  position:relative; width:350px; max-width:100%; height:500px;
  border-radius:14px; overflow:hidden;
  border:1px solid var(--line-strong);
  box-shadow:0 30px 60px -20px rgba(226,39,12,.35);
  background:var(--void-2);
}
.widget-frame iframe{
  width:100%; height:100%; border:0; position:relative; z-index:2;
  opacity:0; transition:opacity .6s var(--ease);
}
.widget-frame iframe.loaded{ opacity:1; }

.widget-frame.live{ animation:widgetLivePulse 2.2s ease-out 3; }
@keyframes widgetLivePulse{
  0%{ box-shadow:0 30px 60px -20px rgba(226,39,12,.35), 0 0 0 0 rgba(57,217,122,.5); }
  60%{ box-shadow:0 30px 60px -20px rgba(226,39,12,.35), 0 0 0 16px rgba(57,217,122,0); }
  100%{ box-shadow:0 30px 60px -20px rgba(226,39,12,.35), 0 0 0 0 rgba(57,217,122,0); }
}

.skeleton{
  position:absolute; inset:0; z-index:3; padding:1.2rem;
  display:flex; flex-direction:column; gap:.9rem;
  transition:opacity .5s var(--ease), visibility .5s;
}
.skeleton.hide{ opacity:0; visibility:hidden; }
.sk-bar{
  border-radius:6px;
  background:linear-gradient(90deg, var(--void-3) 25%, rgba(253,178,54,.14) 50%, var(--void-3) 75%);
  background-size:200% 100%;
  animation:shimmer 1.5s ease-in-out infinite;
}
.sk-bar.title{ width:55%; height:16px; margin-bottom:.4rem; }
.sk-row{ display:flex; align-items:center; gap:.7rem; }
.sk-avatar{ width:34px; height:34px; border-radius:50%; flex-shrink:0;
  background:linear-gradient(90deg, var(--void-3) 25%, rgba(253,178,54,.14) 50%, var(--void-3) 75%);
  background-size:200% 100%; animation:shimmer 1.5s ease-in-out infinite; }
.sk-line{ height:11px; border-radius:5px; flex:1;
  background:linear-gradient(90deg, var(--void-3) 25%, rgba(253,178,54,.14) 50%, var(--void-3) 75%);
  background-size:200% 100%; animation:shimmer 1.5s ease-in-out infinite; }
@keyframes shimmer{ 0%{ background-position:200% 0; } 100%{ background-position:-200% 0; } }

.live-copy{ max-width:26rem; }

/* ==========================================================================
   Bumpin' bot section
   ========================================================================== */
.bumpin-wrap{ display:grid; grid-template-columns:1fr .8fr; gap:3.5rem; align-items:center; }
.bumpin-copy p{ color:var(--ash); font-size:1.05rem; line-height:1.8; }
.bumpin-copy .hero-actions{ margin-top:2rem; }

.ring-visual{ display:flex; flex-direction:column; align-items:center; gap:1.4rem; padding:2.6rem 1.6rem; }
.cooldown-ring{ position:relative; width:200px; height:200px; }
.cooldown-ring svg{ width:100%; height:100%; transform:rotate(-90deg); }
.cooldown-ring .track{ fill:none; stroke:var(--line); stroke-width:8; }
.cooldown-ring .progress{
  fill:none; stroke:url(#ringGrad); stroke-width:8; stroke-linecap:round;
  stroke-dasharray:339.29; stroke-dashoffset:339.29;
  animation:fillRing 6s linear infinite;
  animation-play-state:paused;
}
.reveal.in-view .cooldown-ring .progress,
.reveal.in-view .ring-label .counting,
.reveal.in-view .ring-label .ready{ animation-play-state:running; }
@keyframes fillRing{
  0%{ stroke-dashoffset:339.29; }
  88%{ stroke-dashoffset:0; }
  100%{ stroke-dashoffset:0; }
}
.ring-label{ position:absolute; inset:0; text-align:center; }
.ring-label .counting, .ring-label .ready{
  position:absolute; inset:0; display:flex; flex-direction:column; align-items:center; justify-content:center;
}
.ring-label .counting{ animation:showCount 6s linear infinite; animation-play-state:paused; }
.ring-label .ready{ animation:showReady 6s linear infinite; opacity:0; animation-play-state:paused; }
@keyframes showCount{ 0%,85%{ opacity:1; } 88%,100%{ opacity:0; } }
@keyframes showReady{ 0%,85%{ opacity:0; } 90%,100%{ opacity:1; } }
.ring-label .num{ font-family:var(--font-mono); font-weight:600; color:var(--paper); padding-inline:.75rem; }
.ring-label .counting .num{ font-size:1.05rem; }
.ring-label .ready .num{ font-size:1.7rem; }
.ring-label .cap{ font-family:var(--font-mono); font-size:.68rem; letter-spacing:.14em; text-transform:uppercase; color:var(--ash-dim); margin-top:.35rem; }
.ring-label .ready .cap{ color:var(--gold); }
.ring-caption{ font-size:.85rem; color:var(--ash-dim); text-align:center; max-width:16rem; }

/* ==========================================================================
   Final CTA band
   ========================================================================== */
.cta-band{
  position:relative; padding:5.5rem 0; text-align:center;
  background:radial-gradient(ellipse at 50% 120%, rgba(226,39,12,.32), transparent 65%);
  border-top:1px solid var(--line); border-bottom:1px solid var(--line);
}
.cta-band h2{ font-size:clamp(1.8rem, 4vw, 2.8rem); }
.cta-band p{ margin-top:.9rem; color:var(--ash); font-size:1.05rem; }
.cta-band .btn{ margin-top:2rem; }

/* ==========================================================================
   Subpage header (used by /paid/ and /network/): a compact version of the
   hero treatment: same ambient glow, no canvas/parallax.
   ========================================================================== */
.page-hero{ position:relative; padding:9rem 0 3.5rem; overflow:hidden; }
.page-hero::before{ content:''; position:absolute; inset:0; background:var(--grad-glow); pointer-events:none; }
.page-hero-inner{ position:relative; z-index:2; max-width:38rem; }
.page-hero h1{ font-size:clamp(2.1rem, 4.4vw, 3.2rem); line-height:1.06; }
.page-hero p{ margin-top:1.1rem; color:var(--ash); font-size:1.05rem; line-height:1.75; }

/* ==========================================================================
   Notice callout (payment status, etc)
   ========================================================================== */
.notice{
  display:flex; gap:1rem; align-items:flex-start;
  padding:1.3rem 1.5rem; border-radius:var(--radius);
  background:rgba(253,178,54,.06); border:1px solid var(--line-strong);
}
.notice svg{ width:22px; height:22px; color:var(--gold); flex-shrink:0; margin-top:.15rem; }
.notice strong{ display:block; margin-bottom:.35rem; font-size:1rem; }
.notice p{ color:var(--ash); font-size:.92rem; line-height:1.65; }
.notice p + p{ margin-top:.5rem; }

/* ==========================================================================
   Order steps (how to buy)
   ========================================================================== */
.order-steps{ display:flex; flex-direction:column; gap:1.3rem; margin-bottom:1.6rem; }
.order-step{ display:flex; gap:1rem; }
.order-step .num{ font-family:var(--font-mono); color:var(--gold); font-weight:600; flex-shrink:0; }
.order-step strong{ display:block; margin-bottom:.15rem; font-size:.98rem; }
.order-step span{ color:var(--ash); font-size:.9rem; line-height:1.6; }

/* ==========================================================================
   Pricing plan panels (/paid/)
   ========================================================================== */
.plan-panel{ padding:1.9rem; }
.plan-panel h2{ font-size:1.25rem; }
.plan-panel .plan-note{ color:var(--ash-dim); font-size:.85rem; margin-top:.35rem; margin-bottom:1.5rem; }

.tier-grid{ display:grid; grid-template-columns:repeat(auto-fit, minmax(210px,1fr)); gap:1rem; }
.tier{
  background:var(--void); border:1px solid var(--line); border-radius:8px;
  padding:1.2rem 1.3rem;
  transition:border-color var(--fast), transform var(--fast);
}
.tier:hover{ border-color:var(--line-strong); transform:translateY(-2px); }
.tier-head{ display:flex; align-items:center; justify-content:space-between; gap:.6rem; margin-bottom:.7rem; }
.tier-name{
  font-family:var(--font-mono); font-size:.7rem; font-weight:700; letter-spacing:.08em; text-transform:uppercase;
  color:var(--gold-soft); background:rgba(253,178,54,.1); padding:.28rem .6rem; border-radius:999px;
}
.tier-price{ font-family:var(--font-mono); font-size:1.4rem; font-weight:600; color:var(--paper); white-space:nowrap; }
.tier-price sup{ font-size:.7rem; color:var(--ash-dim); font-weight:500; }
.tier-desc{ color:var(--ash); font-size:.88rem; line-height:1.6; }

.addons{ margin-top:1.4rem; padding-top:1.2rem; border-top:1px solid var(--line); display:flex; flex-wrap:wrap; align-items:center; gap:.6rem; }
.addons-label{ font-family:var(--font-mono); font-size:.7rem; text-transform:uppercase; letter-spacing:.1em; color:var(--ash-dim); margin-right:.2rem; }
.addon-chip{ display:inline-flex; align-items:center; gap:.4rem; padding:.4rem .8rem; border-radius:999px; border:1px solid var(--line); font-size:.82rem; color:var(--ash); background:rgba(253,178,54,.04); }
.addon-chip strong{ color:var(--gold-soft); font-weight:700; }
.addons-hint{ width:100%; margin-top:.6rem; font-size:.78rem; color:var(--ash-dim); }

/* ==========================================================================
   Network page
   ========================================================================== */
.network-diagram-wrap{ max-width:640px; margin:1rem auto 0; }
.network-diagram .diagram-line{
  fill:none; stroke:url(#networkLineGrad); stroke-width:2;
  stroke-dasharray:6 10; opacity:.75;
  animation:diagramFlow 2.6s linear infinite;
}
@keyframes diagramFlow{ to{ stroke-dashoffset:-32; } }
.network-diagram .node-ring{ fill:var(--void-2); stroke:var(--line-strong); stroke-width:1.5; }
.network-diagram .node-hub-glow{ fill:rgba(253,178,54,.12); }
.network-diagram text{ font-family:var(--font-mono); font-size:13px; font-weight:600; fill:var(--gold-soft); text-anchor:middle; dominant-baseline:middle; }

.network-grid{ display:grid; grid-template-columns:repeat(2, 1fr); gap:1.25rem; }
.network-card{
  display:flex; align-items:center; gap:1.1rem; padding:1.5rem 1.6rem;
  text-decoration:none; transition:transform var(--fast), border-color var(--fast);
}
.network-card:hover{ transform:translateY(-3px); border-color:var(--line-strong); }
.network-card:hover .corner{ opacity:1; width:20px; height:20px; }
.network-avatar{
  width:52px; height:52px; border-radius:50%; flex-shrink:0;
  display:flex; align-items:center; justify-content:center;
  background:var(--grad-fire); color:var(--void);
  font-family:var(--font-display); font-weight:800; font-size:1.15rem;
  overflow:hidden;
}
.network-avatar img{ width:100%; height:100%; object-fit:cover; border-radius:50%; }
.network-card .info{ min-width:0; }
.network-card h3{ font-size:1.02rem; margin-bottom:.2rem; }
.network-card .tag{ font-size:.78rem; color:var(--ash-dim); }
.network-card .btn{ margin-left:auto; flex-shrink:0; }

/* ==========================================================================
   Footer
   ========================================================================== */
footer{ padding:3.5rem 0 2.5rem; }
.footer-inner{ display:flex; flex-wrap:wrap; justify-content:space-between; gap:2rem; align-items:flex-start; }
.footer-brand{ display:flex; align-items:center; gap:.6rem; }
.footer-brand img{ width:30px; height:30px; border-radius:50%; }
.footer-brand span{ font-family:var(--font-display); font-weight:800; }
.footer-links{ display:flex; gap:2.2rem; flex-wrap:wrap; }
.footer-links a{ text-decoration:none; color:var(--ash); font-size:.9rem; font-weight:600; }
.footer-links a:hover{ color:var(--gold); }
.footer-bottom{
  margin-top:2.4rem; padding-top:1.6rem; border-top:1px solid var(--line);
  display:flex; flex-wrap:wrap; justify-content:space-between; gap:.6rem;
  color:var(--ash-dim); font-size:.8rem;
}

/* ==========================================================================
   /join/ redirect screen
   ========================================================================== */
.redirect-screen{
  min-height:100svh; display:flex; align-items:center; justify-content:center;
  text-align:center; padding:2rem; position:relative; overflow:hidden;
}
.redirect-screen::before{ content:''; position:absolute; inset:0; background:var(--grad-glow); pointer-events:none; }
.redirect-card{ position:relative; z-index:2; display:flex; flex-direction:column; align-items:center; gap:1.5rem; max-width:24rem; }

.redirect-back{
  position:fixed; top:1.5rem; left:1.5rem; z-index:5;
  display:inline-flex; align-items:center; gap:.5rem;
  text-decoration:none; color:var(--ash); font-size:.85rem; font-weight:600;
}
.redirect-back:hover{ color:var(--gold); }

.mark-stage.small{ width:150px; }

.spinner-ring{ position:absolute; inset:-16px; z-index:1; }
.spinner-ring svg{ width:100%; height:100%; animation:spin 1.1s linear infinite; }
.spinner-ring circle{
  fill:none; stroke:url(#joinRingGrad); stroke-width:3.5; stroke-linecap:round;
  stroke-dasharray:60 220;
}
@keyframes spin{ to{ transform:rotate(360deg); } }

.redirect-title{ font-size:clamp(1.5rem, 4vw, 2rem); }
.redirect-sub{ color:var(--ash); font-size:.98rem; line-height:1.6; }
.redirect-actions{ display:flex; flex-direction:column; align-items:center; gap:.9rem; margin-top:.4rem; }

/* ==========================================================================
   Fallback spacing for engines without flexbox `gap` support.
   Modern browsers use the `gap` rules above and never see this block.
   ========================================================================== */
@supports not (gap: 1px){
  .eyebrow::before{ margin-right:.5rem; }
  .badge svg{ margin-right:.45rem; }
  .btn svg{ margin-left:.55rem; }
  .nav-inner > * + *{ margin-left:1.5rem; }
  .brand-word{ margin-left:.65rem; }
  .nav-links a + a{ margin-left:1.6rem; }
  .nav-cta > * + *{ margin-left:1rem; }
  .mobile-panel > * + *{ margin-top:1.6rem; }
  .hero-actions > * + *{ margin-left:1rem; }
  .hero-badges > *{ margin:.33rem; }
  .skeleton > * + *{ margin-top:.9rem; }
  .sk-row > * + *{ margin-left:.7rem; }
  .ring-visual > * + *{ margin-top:1.4rem; }
  .footer-inner > * + *{ margin-left:2rem; }
  .footer-brand span{ margin-left:.6rem; }
  .footer-links a + a{ margin-left:2.2rem; }
  .footer-bottom > * + *{ margin-left:.6rem; }
  .redirect-card > * + *{ margin-top:1.5rem; }
  .redirect-back svg{ margin-right:.5rem; }
  .redirect-actions > * + *{ margin-top:.9rem; }
  .notice svg{ margin-right:1rem; }
  .order-step svg, .order-step .num{ margin-right:1rem; }
  .order-steps > * + *{ margin-top:1.3rem; }
  .tier-grid > * + *{ margin-top:1rem; }
  .addons > * + *{ margin-left:.6rem; }
  .network-grid > * + *{ margin-top:1.25rem; }
  .network-card > .info{ margin-left:1.1rem; }
}

/* ==========================================================================
   Back-to-top: small HUD ring button, fills with scroll progress,
   reusing the same ring language as the logo mark and cooldown ring.
   ========================================================================== */
.back-to-top{
  position:fixed; right:1.4rem; bottom:1.4rem; z-index:120;
  width:52px; height:52px; border-radius:50%;
  background:rgba(19,11,6,.85); backdrop-filter:blur(10px); -webkit-backdrop-filter:blur(10px);
  border:1px solid var(--line-strong);
  display:flex; align-items:center; justify-content:center;
  opacity:0; transform:translateY(12px) scale(.9); pointer-events:none;
  transition:opacity .35s var(--ease), transform .35s var(--ease), border-color var(--fast);
  cursor:pointer;
}
.back-to-top.show{ opacity:1; transform:translateY(0) scale(1); pointer-events:auto; }
.back-to-top:hover{ border-color:var(--gold); }
.back-to-top .progress-ring{ position:absolute; inset:0; width:100%; height:100%; transform:rotate(-90deg); }
.back-to-top .progress-ring .track{ fill:none; stroke:var(--line); stroke-width:2.5; }
.back-to-top .progress-ring .fill{
  fill:none; stroke:var(--gold); stroke-width:2.5; stroke-linecap:round;
  stroke-dasharray:138.23; stroke-dashoffset:138.23;
}
.back-to-top .chevron{ width:18px; height:18px; color:var(--gold); position:relative; z-index:2; transition:transform var(--fast); }
.back-to-top:hover .chevron{ transform:translateY(-2px); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width:1080px){
  .nav-links, .nav-cta .btn-secondary{ display:none; }
  .nav-toggle{ display:flex; }
  .hero-inner{ grid-template-columns:1fr; }
  .hero-mark{ order:-1; margin-bottom:1rem; }
  .mark-stage{ width:min(260px, 60vw); }
  .about-grid{ grid-template-columns:1fr; }
  .feature-grid{ grid-template-columns:repeat(2,1fr); }
  .live-wrap{ grid-template-columns:1fr; justify-items:center; text-align:center; }
  .bumpin-wrap{ grid-template-columns:1fr; }
  .bumpin-wrap .ring-visual{ order:-1; }
  .network-grid{ grid-template-columns:1fr; }
}

@media (pointer:coarse){
  .cursor-glow{ display:none; }
}

@media (max-width:600px){
  .feature-grid{ grid-template-columns:1fr; }
  .hero{ padding-top:7.5rem; }
  .page-hero{ padding-top:7.5rem; }
  section{ padding:4.5rem 0; }
  .hero-actions .btn{ width:100%; }
  .back-to-top{ width:44px; height:44px; right:1rem; bottom:1rem; }
  .network-card{ flex-wrap:wrap; }
  .network-card .btn{ margin-left:0; width:100%; justify-content:center; }
  .tier-head{ flex-wrap:wrap; }
}
