:root{
  --bg: #100c0a;
  --bg-panel: #1a1310;
  --bg-panel-2: #241a15;
  --ember: #ff5a1f;
  --ember-deep: #c22a0e;
  --ember-dim: #7a2b12;
  --text: #f4ece3;
  --text-muted: #a8968a;
  --line: #33241d;
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  line-height:1.5;
  overflow-x:hidden;
}
h1,h2,h3,.display{
  font-family:'Big Shoulders Display', sans-serif;
  font-weight:800;
  letter-spacing:0.01em;
  margin:0;
}
a{ color:inherit; text-decoration:none; }
.wrap{ max-width:1080px; margin:0 auto; padding:0 28px; }

#embers{
  position:fixed; inset:0; z-index:0; pointer-events:none; opacity:0.55;
}

header{
  position:relative; z-index:2;
  display:flex; align-items:center; justify-content:space-between;
  padding:26px 28px;
  max-width:1080px; margin:0 auto;
}
.brand{
  font-family:'Big Shoulders Display', sans-serif;
  font-weight:800;
  font-size:1.5rem;
  display:flex; align-items:baseline; gap:2px;
}
.brand span:last-child{ color: var(--ember); }
nav a{
  color: var(--text-muted);
  font-size:0.95rem;
  margin-left:28px;
  transition: color 0.15s ease;
}
nav a:hover{ color: var(--text); }

.hero{
  position:relative; z-index:2;
  padding: 64px 28px 96px;
  max-width:1080px; margin:0 auto;
}
.kicker{
  color: var(--ember);
  font-size:1.05rem;
  font-weight:600;
  margin-bottom:14px;
}
.hero h1{
  font-size: clamp(3.2rem, 9vw, 6.4rem);
  line-height:0.92;
  color: var(--text);
}
.hero h1 em{
  font-style:normal;
  color: var(--ember);
}
.hero p.lede{
  max-width:520px;
  color: var(--text-muted);
  font-size:1.08rem;
  margin-top:22px;
}

.ip-box{
  margin-top:40px;
  display:inline-flex;
  align-items:stretch;
  background: var(--bg-panel);
  border:1px solid var(--line);
  border-radius:6px;
  overflow:hidden;
  box-shadow: 0 0 0 1px rgba(255,90,31,0.05);
}
.ip-box .ip-label{
  display:flex; flex-direction:column; justify-content:center;
  padding: 14px 20px;
  border-right:1px solid var(--line);
}
.ip-box .ip-label small{
  color: var(--text-muted);
  font-size:0.72rem;
  text-transform:uppercase;
  letter-spacing: 0.08em;
}
.ip-box .ip-label strong{
  font-family:'Big Shoulders Display', sans-serif;
  font-size:1.5rem;
  font-weight:700;
  color: var(--text);
}
.copy-btn{
  display:flex; align-items:center; gap:10px;
  background: var(--ember-deep);
  color:#fff;
  font-weight:600;
  font-size:0.95rem;
  padding: 0 24px;
  cursor:pointer;
  border:none;
  transition: background 0.15s ease;
}
.copy-btn:hover{ background: var(--ember); }
.copy-btn:active{ transform: translateY(1px); }
.copy-btn svg{ width:16px; height:16px; flex-shrink:0; }

.hero-meta{
  margin-top:28px;
  display:flex; gap:28px;
  color: var(--text-muted);
  font-size:0.88rem;
}
.hero-meta span strong{
  color: var(--text);
  display:block;
  font-family:'Big Shoulders Display', sans-serif;
  font-size:1.3rem;
  font-weight:700;
}

.divider{
  position:relative; z-index:2;
  height:34px;
  background: var(--bg-panel);
  clip-path: polygon(0% 100%, 3% 0%, 6% 100%, 9% 0%, 12% 100%, 15% 0%, 18% 100%, 21% 0%, 24% 100%, 27% 0%, 30% 100%, 33% 0%, 36% 100%, 39% 0%, 42% 100%, 45% 0%, 48% 100%, 51% 0%, 54% 100%, 57% 0%, 60% 100%, 63% 0%, 66% 100%, 69% 0%, 72% 100%, 75% 0%, 78% 100%, 81% 0%, 84% 100%, 87% 0%, 90% 100%, 93% 0%, 96% 100%, 99% 0%, 100% 100%);
}

.features{
  position:relative; z-index:2;
  background: var(--bg-panel);
  padding: 64px 28px 80px;
}
.features .head{
  max-width:1080px; margin:0 auto 40px;
  display:flex; justify-content:space-between; align-items:flex-end; gap:20px;
  flex-wrap:wrap;
}
.features h2{
  font-size: clamp(2rem, 5vw, 2.8rem);
}
.features .head p{
  color: var(--text-muted);
  max-width:340px;
  font-size:0.95rem;
}
.feature-grid{
  max-width:1080px; margin:0 auto;
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:1px;
  background: var(--line);
  border:1px solid var(--line);
}
.feature{
  background: var(--bg-panel);
  padding: 32px 28px;
}
.feature .num{
  color: var(--ember-dim);
  font-family:'Big Shoulders Display', sans-serif;
  font-weight:800;
  font-size:2.4rem;
  line-height:1;
  margin-bottom:16px;
}
.feature h3{
  font-size:1.25rem;
  margin-bottom:10px;
}
.feature p{
  color: var(--text-muted);
  font-size:0.92rem;
  margin:0;
}

.cta{
  position:relative; z-index:2;
  padding: 96px 28px;
  text-align:center;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(255,90,31,0.14), transparent 60%),
    var(--bg);
}
.cta h2{
  font-size: clamp(2.4rem, 7vw, 4rem);
  margin-bottom:18px;
}
.cta p{
  color: var(--text-muted);
  max-width:460px;
  margin:0 auto 34px;
}
.discord-btn{
  display:inline-flex; align-items:center; gap:12px;
  background: var(--ember);
  color:#140b07;
  font-weight:700;
  font-size:1.05rem;
  padding: 16px 34px;
  border-radius:6px;
  transition: transform 0.15s ease, background 0.15s ease;
}
.discord-btn:hover{ background:#ff7844; transform: translateY(-2px); }
.discord-btn svg{ width:22px; height:22px; }

footer{
  position:relative; z-index:2;
  border-top:1px solid var(--line);
  padding: 28px;
  text-align:center;
  color: var(--text-muted);
  font-size:0.85rem;
}

@media (max-width: 780px){
  .feature-grid{ grid-template-columns: 1fr; }
  nav{ display:none; }
  .ip-box{ flex-direction:column; width:100%; }
  .ip-box .ip-label{ border-right:none; border-bottom:1px solid var(--line); }
  .copy-btn{ padding: 14px 20px; justify-content:center; }
  .hero-meta{ flex-wrap:wrap; row-gap:14px; }
}

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
}
