/* Landing page (/): the parts only it has. The palette, art layer, top bar, buttons,
   cards, forms and footer are shared with the dashboard in style.css. System fonts,
   no external requests, and no inline styles (the CSP forbids them). */
body.landing { color: var(--text); }

/* --- layout ------------------------------------------------------------------- */
main.l-main { padding: 0 1.2rem 3rem; }
body.landing section { background: none; border: 0; box-shadow: none; border-radius: 0; padding: 0; margin: 0; }
body.landing h1, body.landing h2, body.landing h3 { border: 0; padding: 0; }
.fine { color: var(--soft); font-size: 0.92rem; margin: 0.8rem 0 0; }

/* --- hero ---------------------------------------------------------------- */
body.landing section.hero {
  display: flex; align-items: center; min-height: min(88vh, 800px); padding: 3rem 0 3rem;
}
.hero-copy { max-width: 36rem; }
.hero h1 {
  font-size: clamp(2.3rem, 6vw, 4.1rem); margin: 0 0 1rem; letter-spacing: -0.01em;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.7);
}
.glow {
  color: var(--cyan);
  text-shadow: 0 0 18px rgba(56, 232, 214, 0.65), 0 0 46px rgba(56, 232, 214, 0.35);
  animation: pulse 5s ease-in-out infinite;
}
@keyframes pulse {
  50% { text-shadow: 0 0 10px rgba(56, 232, 214, 0.45), 0 0 26px rgba(56, 232, 214, 0.2); }
}
.cta { display: flex; gap: 0.8rem; flex-wrap: wrap; margin: 1.4rem 0 0; }
/* What members see: copy beside a sample Discord message */
body.landing section.members {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2.5rem; align-items: center;
}
.members h2 { margin-bottom: 1rem; }
.sample { margin: 0; }
.d-card {
  background: #313338; color: #dbdee1; border-radius: 12px; padding: 1rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.55), 0 0 0 1px var(--line), 0 0 60px rgba(56, 232, 214, 0.12);
  font-size: 0.95rem;
}
.d-msg { display: flex; gap: 0.8rem; }
.d-avatar {
  flex: none; width: 2.5rem; height: 2.5rem; border-radius: 50%;
  display: grid; place-items: center; font-family: var(--mono); font-weight: 800;
  color: #03201d; background: linear-gradient(135deg, #3df0dd, #148a7f);
}
.d-body { min-width: 0; }
.d-body p { margin: 0 0 0.45rem; }
.d-who strong { color: #fff; }
.d-app {
  font-size: 0.65rem; font-weight: 700; background: #5865f2; color: #fff;
  padding: 0.05rem 0.3rem; border-radius: 4px; vertical-align: 0.1em;
}
.d-post { line-height: 1.5; }
.d-post strong { color: #fff; }
.d-btns { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: 0.6rem; }
.d-btn {
  background: #4e5058; color: #fff; padding: 0.4rem 0.9rem; border-radius: 6px;
  font-size: 0.9rem; font-weight: 600;
}
.d-btn.blurple { background: #5865f2; }
.sample figcaption { margin-top: 0.7rem; color: var(--soft); font-size: 0.88rem; text-align: center; }

/* --- facts strip ------------------------------------------------------------ */
.facts ul {
  list-style: none; margin: 0 0 3.5rem; padding: 1.1rem 1.2rem;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 1rem;
  background: var(--glass); border: 1px solid var(--line); border-radius: 14px;
  backdrop-filter: blur(6px);
}
.facts li { display: flex; flex-direction: column; gap: 0.15rem; }
.facts .big { font-family: var(--mono); font-weight: 800; font-size: 1.3rem; color: var(--cyan); }
.facts .label { color: var(--soft); font-size: 0.93rem; }

/* --- sections ----------------------------------------------------------------- */
body.landing section.l-section { margin: 0 0 4rem; scroll-margin-top: 4.5rem; }
.l-section h2 { font-size: clamp(1.5rem, 3.4vw, 2.2rem); margin: 0 0 1.4rem; max-width: 40rem; }

.grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 1.1rem;
}
body.landing .card, body.landing .guilds li {
  background: var(--glass); border: 1px solid var(--line); border-radius: 14px;
  padding: 1.3rem; margin: 0; box-shadow: none; backdrop-filter: blur(6px);
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.card:hover { border-color: var(--cyan); box-shadow: 0 0 28px rgba(56, 232, 214, 0.16); transform: translateY(-2px); }
.card h3 { font-size: 1.1rem; margin: 0.7rem 0 0.4rem; }
.card p { margin: 0; color: var(--soft); }

.steps {
  list-style: none; margin: 0; padding: 0; counter-reset: step;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.1rem;
}
.steps li {
  background: var(--glass); border: 1px solid var(--line); border-radius: 14px; padding: 1.3rem;
  position: relative;
}
.steps .n {
  display: grid; place-items: center; width: 2.3rem; height: 2.3rem; border-radius: 50%;
  font-family: var(--mono); font-weight: 800; color: #03201d; background: var(--cyan);
  box-shadow: 0 0 18px rgba(56, 232, 214, 0.5);
}
.steps h3 { margin: 0.8rem 0 0.4rem; font-size: 1.1rem; }
.steps p { margin: 0; color: var(--soft); }

body.landing section.final {
  text-align: center; padding: 2.6rem 1.2rem; background: var(--glass);
  border: 1px solid var(--line); border-radius: 18px; margin-bottom: 2rem;
  box-shadow: 0 0 80px rgba(56, 232, 214, 0.1);
}
.final h2 { margin-left: auto; margin-right: auto; }
.final .lead { margin: 0 auto; }
.final .cta { justify-content: center; }

/* The signed-in server list keeps the dashboard's cream cards, on a panel. */

/* --- small screens ------------------------------------------------------------ */
@media (max-width: 860px) {
  /* Text and buttons stay in the calm top half; the golem fills the rest. */
  body.landing section.hero {
    min-height: calc(100svh - 4.5rem); align-items: flex-start; padding: 1.5rem 0 2rem;
  }
  .hero h1 { font-size: clamp(2rem, 9vw, 2.6rem); margin-bottom: 0.7rem; }
  .hero .lead { font-size: 1rem; }
  .hero .cta { margin-top: 1rem; }
  body.landing section.members { grid-template-columns: 1fr; gap: 1.5rem; }
}
@media (max-width: 480px) {
  .cta .l-btn { flex: 1 1 100%; text-align: center; }
  header.top nav { gap: 0.8rem; justify-content: center; }
}
