:root {
  --bg: #0b0d12;
  --bg-raise: #12151d;
  --bg-card: #161a24;
  --panel: #1e2128;
  --text: #eef0f4;
  --text-dim: #99a0b0;
  --gold: #ffc83d;
  --gold-deep: #e8a915;
  --blurple: #5865f2;
  --line: #232836;
  --radius: 14px;
  --max: 1040px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", system-ui, sans-serif;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: var(--gold); text-decoration: none; }
a:hover { opacity: .85; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ---------- header ---------- */
header.site {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 13, 18, .82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
header.site .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.logo { font-weight: 900; font-size: 1.1rem; color: var(--text); letter-spacing: .04em; display: flex; align-items: center; gap: 9px; }
.logo .mark {
  width: 26px; height: 26px; border-radius: 7px;
  background: conic-gradient(var(--gold) 0 76%, #2c3242 76% 100%);
  position: relative;
}
.logo .mark::after {
  content: ""; position: absolute; inset: 5px;
  border-radius: 4px; background: var(--bg);
}
header.site nav { display: flex; gap: 22px; font-size: .92rem; font-weight: 700; }
header.site nav a { color: var(--text-dim); }
header.site nav a.nav-cta { color: var(--gold); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding: 72px 0 84px;
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(720px 420px at 82% 30%, rgba(255, 200, 61, .10), transparent 65%),
    radial-gradient(560px 380px at 8% 86%, rgba(88, 101, 242, .08), transparent 65%);
}
.hero .wrap {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 48px;
  align-items: center;
}
.hero-copy .tag {
  display: inline-block;
  font-size: .8rem; font-weight: 700;
  color: var(--gold);
  background: rgba(255, 200, 61, .1);
  padding: 5px 14px; border-radius: 999px;
  margin-bottom: 20px;
  letter-spacing: .05em;
}
.hero-copy h1 {
  font-size: clamp(2rem, 4.6vw, 3.1rem);
  font-weight: 900;
  line-height: 1.32;
  letter-spacing: .01em;
}
.hero-copy h1 .em {
  color: var(--gold);
  text-shadow: 0 0 28px rgba(255, 200, 61, .45);
}
.hero-copy p.lead {
  margin-top: 20px;
  color: var(--text-dim);
  font-size: 1.02rem;
  max-width: 30em;
}
.hero-copy p.lead b { color: var(--text); }
.cta-row { margin-top: 32px; display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: 800;
  font-size: .98rem;
  transition: transform .12s ease, box-shadow .12s ease;
}
.btn:hover { transform: translateY(-2px); opacity: 1; }
.btn-primary {
  background: linear-gradient(180deg, var(--gold), var(--gold-deep));
  color: #221a02;
  box-shadow: 0 6px 24px rgba(255, 200, 61, .28);
}
.btn-primary:hover { box-shadow: 0 10px 30px rgba(255, 200, 61, .4); }
.btn-ghost { background: var(--bg-card); color: var(--text); border: 1px solid var(--line); }
.cta-note { margin-top: 14px; font-size: .82rem; color: var(--text-dim); }

.hero-art { position: relative; }
.hero-art img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 18px;
  display: block;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .55), 0 0 0 1px var(--line);
}
.hero-art::after {
  content: ""; position: absolute; inset: -6%;
  background: radial-gradient(closest-side, rgba(255, 200, 61, .12), transparent 72%);
  z-index: -1;
}

/* ---------- sections ---------- */
section { padding: 84px 0; position: relative; }
section.alt { background: var(--bg-raise); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-head { margin-bottom: 44px; }
.sec-head h2 {
  font-size: clamp(1.45rem, 3vw, 1.9rem);
  font-weight: 900;
  line-height: 1.4;
}
.sec-head h2 .accent { color: var(--gold); }
.sec-head p { color: var(--text-dim); margin-top: 10px; max-width: 38em; }

/* ---------- discord demo ---------- */
.demo-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 44px;
  align-items: center;
}
.discord {
  background: #313338;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .5);
  font-size: .92rem;
}
.discord .bar {
  background: #1e1f22;
  padding: 11px 16px;
  font-weight: 700;
  color: #dbdee1;
  font-size: .85rem;
  display: flex; align-items: center; gap: 8px;
}
.discord .bar svg { opacity: .7; }
.discord .body { padding: 18px 18px 22px; display: flex; flex-direction: column; gap: 16px; }
.msg { display: flex; gap: 12px; }
.avatar {
  flex-shrink: 0;
  width: 38px; height: 38px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: .8rem; color: #fff;
}
.avatar.p1 { background: #3ba55d; }
.avatar.bot { background: var(--blurple); }
.msg .meta { font-size: .82rem; color: #949ba4; margin-bottom: 1px; }
.msg .meta b { color: #f2f3f5; font-size: .92rem; margin-right: 8px; }
.msg .meta .bot-tag {
  background: var(--blurple); color: #fff;
  font-size: .62rem; font-weight: 700;
  padding: 1px 5px; border-radius: 4px;
  vertical-align: 1px; margin-right: 8px;
}
.msg .text { color: #dbdee1; line-height: 1.6; }
.msg .text.voice { color: #949ba4; font-style: italic; }
.msg .text .gold { color: var(--gold); font-weight: 700; font-style: normal; }
.demo-side h2 { font-size: clamp(1.45rem, 3vw, 1.9rem); font-weight: 900; line-height: 1.45; }
.demo-side h2 .accent { color: var(--gold); }
.demo-side p { color: var(--text-dim); margin-top: 16px; }
.demo-side p b { color: var(--text); }

/* ---------- features ---------- */
.feat-rows { display: flex; flex-direction: column; gap: 14px; }
.feat {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 18px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 26px;
  align-items: start;
}
.feat .ico {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: rgba(255, 200, 61, .1);
  display: flex; align-items: center; justify-content: center;
}
.feat h3 { font-size: 1.05rem; font-weight: 800; }
.feat p { color: var(--text-dim); font-size: .94rem; margin-top: 4px; }
.feat p code, .step-line code, .price-card code {
  background: #232838;
  padding: 1px 9px;
  border-radius: 6px;
  color: var(--gold);
  font-size: .9em;
  font-family: ui-monospace, "SF Mono", monospace;
}

/* ---------- steps ---------- */
.step-flow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: step; }
.step-line {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  position: relative;
}
.step-line::before {
  counter-increment: step;
  content: "0" counter(step);
  font-size: 1.9rem;
  font-weight: 900;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--gold);
  display: block;
  line-height: 1;
  margin-bottom: 14px;
  font-family: "Helvetica Neue", sans-serif;
}
.step-line b { display: block; font-size: 1.02rem; margin-bottom: 6px; }
.step-line span { color: var(--text-dim); font-size: .9rem; }

/* ---------- pricing ---------- */
.price-card {
  position: relative;
  max-width: 480px;
  margin: 0 auto;
  background: var(--bg-card);
  border-radius: 18px;
  padding: 42px 38px;
  border: 1px solid rgba(255, 200, 61, .35);
  box-shadow: 0 0 60px rgba(255, 200, 61, .07);
  text-align: left;
}
.price-card .plan {
  position: absolute; top: -14px; left: 34px;
  background: var(--gold); color: #221a02;
  font-size: .78rem; font-weight: 800;
  padding: 4px 16px; border-radius: 999px;
}
.price-card .price { font-size: 2.9rem; font-weight: 900; margin-top: 6px; }
.price-card .price small { font-size: 1rem; font-weight: 700; color: var(--text-dim); margin-left: 4px; }
.price-card .trial { color: var(--gold); font-weight: 800; margin-top: 2px; }
.price-card ul { list-style: none; margin: 24px 0 28px; }
.price-card li {
  padding: 8px 0 8px 32px; position: relative;
  color: var(--text-dim); font-size: .94rem;
  border-bottom: 1px dashed var(--line);
}
.price-card li:last-child { border-bottom: none; }
.price-card li::before {
  content: ""; position: absolute; left: 5px; top: 17px;
  width: 13px; height: 7px;
  border-left: 2.5px solid var(--gold);
  border-bottom: 2.5px solid var(--gold);
  transform: rotate(-45deg);
}
.price-card .btn { width: 100%; justify-content: center; }
.price-note { text-align: center; color: var(--text-dim); font-size: .85rem; margin-top: 20px; }

/* ---------- faq ---------- */
.faq { max-width: 760px; }
.faq details {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq summary {
  font-weight: 800; cursor: pointer;
  padding: 18px 22px;
  list-style: none;
  position: relative;
  padding-right: 52px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 24px; top: 24px;
  width: 9px; height: 9px;
  border-right: 2px solid var(--text-dim);
  border-bottom: 2px solid var(--text-dim);
  transform: rotate(45deg);
  transition: transform .15s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); top: 28px; }
.faq details p { padding: 0 22px 20px; color: var(--text-dim); font-size: .94rem; }

/* ---------- footer ---------- */
footer.site {
  border-top: 1px solid var(--line);
  padding: 40px 0 52px;
  color: var(--text-dim);
  font-size: .84rem;
}
footer.site nav { margin-bottom: 16px; display: flex; gap: 24px; flex-wrap: wrap; }
footer.site a { color: var(--text-dim); }
footer.site p { max-width: 56em; }

/* ---------- legal / status pages ---------- */
.legal { max-width: 720px; margin: 0 auto; padding: 56px 24px 80px; }
.legal h1 { font-size: 1.5rem; margin-bottom: 28px; font-weight: 900; }
.legal h2 { font-size: 1.08rem; margin: 32px 0 10px; font-weight: 800; }
.legal p, .legal li { color: var(--text-dim); font-size: .94rem; }
.legal ul, .legal ol { padding-left: 24px; margin: 8px 0; }
.legal table { width: 100%; border-collapse: collapse; margin: 16px 0; }
.legal th, .legal td { text-align: left; padding: 12px 14px; border: 1px solid var(--line); font-size: .92rem; }
.legal th { background: var(--bg-card); width: 34%; color: var(--text); font-weight: 700; }
.legal td { color: var(--text-dim); }
.back { display: inline-block; margin-top: 36px; }
.status-box {
  max-width: 480px; margin: 100px auto; text-align: center;
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: 18px; padding: 48px 32px;
}
.status-box h1 { font-size: 1.3rem; margin-bottom: 14px; font-weight: 900; }
.status-box p { color: var(--text-dim); font-size: .95rem; }

/* ---------- responsive ---------- */
@media (max-width: 820px) {
  .hero { padding: 48px 0 60px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 36px; }
  .hero-art { order: -1; max-width: 520px; }
  .demo-grid { grid-template-columns: 1fr; gap: 32px; }
  .step-flow { grid-template-columns: 1fr; }
  section { padding: 60px 0; }
}
