:root {
  --ink: #12121a;
  --muted: #656577;
  --paper: #f5f3ef;
  --white: #fff;
  --purple: #8b5cf6;
  --purple-dark: #6941d9;
  --orange: #ff7a45;
  --cyan: #57d4d0;
  --line: rgba(18, 18, 26, .12);
  --display: "Manrope", sans-serif;
  --body: "DM Sans", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--body); overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

.page-glow { position: absolute; inset: 0 0 auto; height: 800px; pointer-events: none; background: radial-gradient(circle at 74% 22%, rgba(139,92,246,.15), transparent 30%), radial-gradient(circle at 14% 12%, rgba(255,122,69,.09), transparent 22%); }
.site-header { position: relative; z-index: 5; width: min(1180px, calc(100% - 48px)); margin: 0 auto; padding: 28px 0; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-size: 18px; font-weight: 800; letter-spacing: -.6px; }
.brand-accent { color: var(--purple); }
.brand-mark { position: relative; display: grid; place-items: center; width: 29px; height: 29px; border: 2px solid var(--ink); border-radius: 9px 9px 9px 3px; transform: rotate(-8deg); }
.brand-mark span { width: 9px; height: 9px; border-radius: 50%; background: var(--purple); box-shadow: 6px -3px 0 var(--orange); }
nav { display: flex; gap: 34px; color: #4f4f5d; font-size: 14px; font-weight: 600; }
nav a { transition: color .2s ease; }
nav a:hover { color: var(--purple-dark); }

.button { min-height: 50px; padding: 0 22px; border: 1px solid transparent; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; gap: 14px; font-weight: 700; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-compact { min-height: 40px; padding: 0 16px; font-size: 13px; border-radius: 8px; }
.button-ghost { border-color: var(--line); background: rgba(255,255,255,.45); }
.button-primary { color: white; background: var(--ink); box-shadow: 0 12px 30px rgba(18,18,26,.2); }
.button-primary span { color: #c4b5fd; }
.button-secondary { background: transparent; border-color: var(--line); color: var(--ink); }

.hero { position: relative; width: min(1180px, calc(100% - 48px)); min-height: 690px; margin: 56px auto 65px; display: grid; grid-template-columns: .82fr 1.18fr; gap: 44px; align-items: center; }
.hero-copy { position: relative; z-index: 2; padding-bottom: 36px; }
.eyebrow { display: flex; align-items: center; gap: 9px; color: #605e6a; font-size: 11px; font-weight: 800; letter-spacing: 1.8px; text-transform: uppercase; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: #42c97c; box-shadow: 0 0 0 5px rgba(66,201,124,.12); }
h1, h2, h3 { font-family: var(--display); margin: 0; letter-spacing: -.045em; }
h1 { max-width: 580px; margin-top: 23px; font-size: clamp(50px, 5.35vw, 76px); line-height: .98; }
h1 span { position: relative; color: var(--purple); }
h1 span::after { content: ""; position: absolute; left: 4%; right: 0; bottom: -7px; height: 8px; border-top: 3px solid var(--orange); border-radius: 50%; transform: rotate(-2deg); }
.hero-lede { max-width: 530px; margin: 30px 0 28px; color: #595866; font-size: 18px; line-height: 1.65; }
.hero-actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.microcopy { color: #767482; font-size: 12px; margin: 17px 0 0 4px; }
.microcopy span { margin-right: 6px; color: #36a76a; }

.hero-visual { position: relative; min-width: 0; padding: 60px 0; }
.ambient { position: absolute; border-radius: 50%; filter: blur(6px); }
.ambient-one { width: 360px; height: 360px; right: -80px; top: -10px; background: rgba(139,92,246,.16); }
.ambient-two { width: 250px; height: 250px; left: 20px; bottom: 0; background: rgba(255,122,69,.12); }
.discord-window { position: relative; z-index: 2; overflow: hidden; border: 1px solid rgba(255,255,255,.12); border-radius: 18px; color: #f2f3f5; background: #313338; box-shadow: 0 38px 80px rgba(18,18,26,.32), 0 2px 4px rgba(0,0,0,.25); transform: rotate(1.2deg); }
.window-bar { height: 70px; padding: 0 18px; display: flex; align-items: center; gap: 12px; border-bottom: 1px solid #202225; background: #2b2d31; }
.server-icon { width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; color: white; background: linear-gradient(135deg, #8b5cf6, #6541ce); font: 800 16px var(--display); }
.window-bar strong { display: block; font-size: 13px; }
.window-bar span { display: block; margin-top: 3px; color: #949ba4; font-size: 10px; }
.window-actions { margin-left: auto; display: flex; gap: 7px; }
.window-actions i { display: block; width: 6px; height: 6px; border-radius: 50%; background: #686d75; }
.chat-area { min-height: 440px; padding: 36px 28px 35px; display: flex; align-items: flex-start; gap: 14px; background: linear-gradient(150deg, #313338 60%, #2d2f35); }
.avatar { flex: 0 0 auto; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: #34231b; background: #f6b089; font: 700 11px var(--display); }
.message { min-width: 0; flex: 1; }
.message-meta { display: flex; align-items: center; gap: 8px; }
.message-meta strong { color: #f2f3f5; font-size: 13px; }
.message-meta span { color: #949ba4; font-size: 9px; }
.message > p { margin: 4px 0 3px; color: #dbdee1; font-size: 12px; }
.shared-link { display: block; margin-bottom: 8px; color: #00a8fc; font-size: 11px; }
.component-card { position: relative; overflow: hidden; max-width: 465px; border: 1px solid #41434a; border-radius: 5px; background: #2b2d31; transition: opacity .18s ease, transform .18s ease; }
.component-card.is-updating { opacity: .3; transform: scale(.985); }
.accent-line { position: absolute; inset: 0 auto 0 0; width: 4px; background: var(--purple); }
.card-section { padding: 18px 17px 13px 20px; display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: center; }
.card-kicker { color: #b5bac1; font-size: 8px; font-weight: 800; letter-spacing: 1.2px; }
.card-section h2 { max-width: 320px; margin: 6px 0 5px; color: #f2f3f5; font-family: var(--body); font-size: 16px; line-height: 1.2; letter-spacing: -.01em; }
.card-section p, .card-note { margin: 0; color: #b5bac1; font-size: 10px; line-height: 1.5; }
.discord-button { display: inline-flex; align-items: center; justify-content: center; min-height: 30px; padding: 0 12px; border-radius: 3px; color: #fff; background: #4e5058; font-size: 10px; font-weight: 600; transition: background .2s; }
.discord-button:hover { background: #5d6069; }
.card-divider { height: 1px; margin: 0 16px 0 20px; background: #41434a; }
.card-note { padding: 13px 20px; }
.card-note strong { color: #f2f3f5; }
.card-actions { padding: 13px 16px 16px 20px; display: flex; gap: 7px; }
.float-chip { position: absolute; z-index: 3; padding: 11px 15px; border: 1px solid rgba(255,255,255,.55); border-radius: 10px; background: rgba(255,255,255,.9); box-shadow: 0 15px 32px rgba(18,18,26,.14); backdrop-filter: blur(12px); color: #5d5c68; font-size: 11px; transform: rotate(-2deg); }
.float-chip span { color: var(--purple); margin-right: 6px; }
.float-chip strong { color: var(--ink); font-size: 16px; }
.chip-top { top: 25px; right: -22px; }
.chip-bottom { left: -22px; bottom: 31px; transform: rotate(2deg); }

.trust-strip { width: min(1180px, calc(100% - 48px)); margin: 0 auto; padding: 24px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; color: #5f5e69; font-size: 13px; font-weight: 600; }
.trust-strip > span { color: #9a98a1; font-size: 10px; text-transform: uppercase; letter-spacing: 1.6px; }
.mini-icon { display: inline-grid; place-items: center; width: 27px; height: 27px; margin-right: 8px; border-radius: 8px; color: var(--purple-dark); background: #e9e1fb; font-style: normal; }

.story-section { width: min(1180px, calc(100% - 48px)); margin: 150px auto; }
.section-heading { max-width: 690px; margin: 0 auto 60px; text-align: center; }
.section-heading .eyebrow { justify-content: center; }
.section-heading h2 { margin: 17px 0 18px; font-size: clamp(38px, 4vw, 58px); }
.section-heading p { color: var(--muted); font-size: 17px; line-height: 1.6; }
.feature-grid { display: grid; grid-template-columns: 1.08fr .92fr .92fr; gap: 18px; }
.feature-card { position: relative; min-height: 350px; overflow: hidden; padding: 32px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.62); }
.feature-number { position: absolute; right: 24px; top: 22px; color: #aaa8b0; font: 700 11px var(--display); }
.feature-icon { width: 44px; height: 44px; margin-bottom: 48px; border-radius: 13px; display: grid; place-items: center; font-size: 20px; }
.feature-icon.purple { color: #7144d8; background: #e8ddff; }.feature-icon.orange { color: #d85928; background: #ffe0d3; }.feature-icon.cyan { color: #188b87; background: #d6f5f3; }
.feature-card h3 { font-size: 23px; }
.feature-card > p { max-width: 310px; color: var(--muted); line-height: 1.55; }
.markdown-demo, .fallback-demo, .mini-buttons { position: absolute; left: 32px; right: 32px; bottom: 27px; }
.markdown-demo { padding: 16px; border-radius: 9px; background: #292b30; color: white; font-size: 12px; line-height: 1.6; box-shadow: 0 10px 25px rgba(20,20,28,.15); }
.markdown-demo span { color: #aeb1b7; }
.mini-buttons { display: flex; gap: 7px; }
.mini-buttons span { padding: 10px 13px; border-radius: 5px; color: white; background: #4e5058; font-size: 10px; font-weight: 700; }
.fallback-demo { display: flex; align-items: center; gap: 12px; padding: 12px; border-left: 3px solid var(--purple); background: #292b30; color: white; }
.fallback-demo i { width: 42px; height: 34px; border-radius: 4px; background: linear-gradient(140deg, var(--purple), var(--orange)); }
.fallback-demo b, .fallback-demo small { display: block; font-size: 10px; }.fallback-demo small { margin-top: 3px; color: #a7a9af; }

.how-section { padding: 130px max(24px, calc((100vw - 1180px) / 2)); display: grid; grid-template-columns: 1fr 1fr; gap: 100px; color: white; background: #12131a; }
.how-copy h2 { margin: 18px 0 24px; font-size: clamp(40px, 4vw, 58px); }
.how-copy p { max-width: 480px; color: #a5a6af; font-size: 16px; line-height: 1.7; }
.how-copy a { display: inline-block; margin-top: 22px; padding-bottom: 4px; border-bottom: 1px solid #777983; color: #d9d9de; font-size: 13px; font-weight: 700; }
.how-copy a span { color: #a78bfa; margin-left: 8px; }
.how-section .eyebrow { color: #9d82ed; }
.steps { margin: 0; padding: 0; list-style: none; }
.steps li { padding: 25px 0; border-bottom: 1px solid rgba(255,255,255,.11); display: grid; grid-template-columns: 48px 1fr; gap: 20px; }
.steps li:first-child { padding-top: 0; }
.steps li > span { width: 35px; height: 35px; display: grid; place-items: center; border: 1px solid #555763; border-radius: 50%; color: #b9a7f7; font: 700 11px var(--display); }
.steps strong { font: 700 17px var(--display); }.steps p { margin: 8px 0 0; color: #9597a1; line-height: 1.5; font-size: 13px; }

.try-section { width: min(1180px, calc(100% - 48px)); margin: 110px auto 55px; display: flex; align-items: flex-end; justify-content: space-between; }
.try-section h2 { max-width: 600px; margin-top: 14px; font-size: clamp(34px, 4vw, 51px); }
.campaign-switcher { padding: 5px; border: 1px solid var(--line); border-radius: 10px; background: rgba(255,255,255,.45); display: flex; }
.campaign-switcher button { min-width: 78px; padding: 10px 14px; border: 0; border-radius: 7px; color: #73717b; background: transparent; font-size: 12px; font-weight: 700; cursor: pointer; }
.campaign-switcher button.active { color: white; background: var(--ink); box-shadow: 0 6px 15px rgba(18,18,26,.17); }

.final-cta { position: relative; width: min(1180px, calc(100% - 48px)); min-height: 480px; margin: 0 auto 36px; overflow: hidden; padding: 80px 24px; border-radius: 22px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; color: white; background: linear-gradient(135deg, #7547dd, #8e5df1 55%, #7650dc); }
.final-cta .eyebrow { color: #e1d8fb; }.final-cta h2 { position: relative; z-index: 1; margin: 18px 0; font-size: clamp(44px, 5vw, 68px); line-height: 1; }.final-cta > p { position: relative; z-index: 1; max-width: 560px; margin: 0 0 28px; color: #e4dcf8; line-height: 1.6; }
.centered { position: relative; z-index: 1; justify-content: center; }.button-light { color: var(--ink); background: white; }.button-outline-light { color: white; border-color: rgba(255,255,255,.35); background: transparent; }
.cta-orbit { position: absolute; border: 1px solid rgba(255,255,255,.13); border-radius: 50%; }.orbit-one { width: 670px; height: 670px; }.orbit-two { width: 920px; height: 480px; transform: rotate(-18deg); }.spark { position: absolute; color: #ffb596; font-size: 22px; }.spark-one { left: 16%; top: 21%; }.spark-two { right: 15%; bottom: 19%; font-size: 14px; }

footer { width: min(1180px, calc(100% - 48px)); margin: 0 auto; padding: 30px 0 40px; display: grid; grid-template-columns: 1fr 2fr 1fr; align-items: center; gap: 30px; color: #86848e; font-size: 10px; }
footer p { text-align: center; } footer > span { text-align: right; }
.toast { position: fixed; z-index: 20; left: 50%; bottom: 25px; padding: 12px 18px; border-radius: 9px; color: white; background: var(--ink); box-shadow: 0 12px 35px rgba(0,0,0,.25); font-size: 13px; font-weight: 700; opacity: 0; transform: translate(-50%, 25px); pointer-events: none; transition: .25s ease; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 900px) {
  nav { display: none; }
  .hero { grid-template-columns: 1fr; margin-top: 55px; }
  .hero-copy { max-width: 690px; }
  .hero-visual { width: min(680px, 100%); margin: 0 auto; }
  .trust-strip { flex-wrap: wrap; gap: 22px; justify-content: flex-start; }.trust-strip > span { width: 100%; }
  .feature-grid { grid-template-columns: 1fr 1fr; }.feature-large { grid-column: 1 / -1; }
  .how-section { grid-template-columns: 1fr; gap: 65px; }
  .try-section { align-items: flex-start; flex-direction: column; gap: 30px; }
}

@media (max-width: 600px) {
  .site-header, .hero, .trust-strip, .story-section, .try-section, .final-cta, footer { width: min(100% - 30px, 1180px); }
  .site-header .button { display: none; }
  .hero { min-height: auto; margin-top: 38px; }.hero-lede { font-size: 16px; }.hero-actions .button { width: 100%; }
  .hero-visual { padding: 35px 0; }.chat-area { padding: 25px 14px 30px; }.avatar { display: none; }.card-section { grid-template-columns: 1fr; }.card-section .discord-button { justify-self: flex-start; }.card-actions { flex-wrap: wrap; }.float-chip { display: none; }
  .trust-strip > div { width: calc(50% - 12px); font-size: 11px; }
  .story-section { margin: 100px auto; }.feature-grid { grid-template-columns: 1fr; }.feature-large { grid-column: auto; }
  .how-section { padding-top: 90px; padding-bottom: 90px; }
  .campaign-switcher { width: 100%; }.campaign-switcher button { flex: 1; min-width: 0; }
  .final-cta { min-height: 520px; padding-inline: 20px; }.final-cta .button { width: 100%; }
  footer { grid-template-columns: 1fr; text-align: center; } footer .brand { justify-content: center; } footer p, footer > span { text-align: center; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition-duration: .01ms !important; } }
