:root {
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #f4f5fb;
  background: #0a0c12;
  font-synthesis: none;
  font-optical-sizing: auto;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  --surface: #11141d;
  --surface-raised: #171a25;
  --line: rgba(255, 255, 255, .08);
  --muted: #9198a9;
  --accent: #9094ff;
  --accent-strong: #7379fa;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  background:
    radial-gradient(ellipse at 75% 14%, rgba(87, 91, 214, .15), transparent 30rem),
    radial-gradient(ellipse at 12% 65%, rgba(51, 61, 120, .09), transparent 34rem),
    #0a0c12;
}
body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .018) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .018) 1px, transparent 1px);
  background-size: 64px 64px;
  content: "";
  mask-image: linear-gradient(to bottom, black, transparent 76%);
  pointer-events: none;
}
a { color: inherit; text-decoration: none; }
button, select { font: inherit; }
.shell { max-width: 1180px; margin: 0 auto; padding: 0 34px; }
.topbar {
  display: flex;
  height: 82px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, .065);
}
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand-mark { display: grid; width: 35px; height: 35px; place-items: center; border: 1px solid rgba(145, 149, 255, .26); border-radius: 11px; color: #a4a8ff; background: linear-gradient(145deg, rgba(114, 120, 255, .2), rgba(114, 120, 255, .04)); }
.brand-mark svg { width: 21px; height: 21px; }
.brand-name { font-size: 16px; font-weight: 780; letter-spacing: -.5px; }
.brand-name > span { color: #a2a5ff; }
.topbar-right { display: flex; align-items: center; gap: 20px; }
.secure-label { display: inline-flex; align-items: center; gap: 8px; color: #a1a7b6; font-size: 11px; font-weight: 570; }
.status-dot, .caption-dot { width: 7px; height: 7px; border-radius: 50%; background: #67d6a5; box-shadow: 0 0 12px rgba(103, 214, 165, .62); }
.hero { padding: 92px 0 58px; }
.loading-state { display: flex; min-height: calc(100vh - 155px); align-items: center; justify-content: center; gap: 12px; color: #9ba2b4; font-size: 12px; }
.loading-spinner { width: 18px; height: 18px; border: 2px solid rgba(148, 153, 255, .18); border-top-color: #9b9fff; border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero-grid { display: grid; min-height: 390px; align-items: center; grid-template-columns: 1.03fr .97fr; gap: 58px; }
.hero-copy { padding: 5px 0 0; }
.eyebrow { display: flex; align-items: center; gap: 10px; color: #a6a8ff; font-size: 10px; font-weight: 800; letter-spacing: 1.8px; }
.eyebrow-line { display: inline-block; width: 19px; height: 1px; background: #858aff; }
h1 { margin: 22px 0 20px; font-size: clamp(42px, 5.3vw, 65px); font-weight: 730; line-height: 1.045; letter-spacing: -3.2px; }
.hero h1 span { color: #979bff; }
.hero-description { max-width: 480px; margin: 0 0 28px; color: #a5abba; font-size: 15px; line-height: 1.8; }
.button { display: inline-flex; min-height: 42px; align-items: center; justify-content: center; gap: 9px; padding: 0 15px; border: 1px solid transparent; border-radius: 9px; font-size: 12px; font-weight: 720; cursor: pointer; transition: background .18s, border-color .18s, box-shadow .18s, transform .18s; }
.button:hover { transform: translateY(-1px); }
.button:focus-visible, .control:focus-visible { outline: 2px solid #aeb1ff; outline-offset: 3px; }
.button-primary { color: #fff; background: linear-gradient(110deg, #7076f2, #6269e4); box-shadow: 0 8px 24px rgba(88, 97, 234, .2), inset 0 1px rgba(255, 255, 255, .18); }
.button-primary:hover { background: linear-gradient(110deg, #8187ff, #7077f0); box-shadow: 0 11px 30px rgba(88, 97, 234, .3); }
.button-primary svg { width: 17px; height: 17px; }
.button-large { min-height: 48px; padding: 0 17px; font-size: 13px; }
.button-arrow { margin-left: 9px; font-size: 17px; font-weight: 400; }
.button-secondary { color: #d7d9ff; border-color: rgba(135, 140, 255, .18); background: rgba(105, 110, 211, .11); }
.button-secondary:hover { border-color: rgba(135, 140, 255, .36); background: rgba(105, 110, 211, .18); }
.button-quiet { color: #c5c9d6; border-color: var(--line); background: rgba(255, 255, 255, .035); }
.button-quiet:hover { border-color: rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .07); }
.privacy-note { display: flex; align-items: center; gap: 9px; margin-top: 21px; color: #80889b; font-size: 10px; }
.privacy-note i, footer i { display: inline-block; width: 3px; height: 3px; margin: 0 6px 2px; border-radius: 50%; background: #72798a; }
.privacy-icon { display: grid; width: 17px; height: 17px; place-items: center; border: 1px solid rgba(92, 207, 151, .35); border-radius: 50%; color: #75daa9; font-size: 10px; }
.preview-message { max-width: 465px; margin-top: 18px; padding: 11px 13px; border: 1px solid rgba(255, 191, 108, .22); border-radius: 9px; color: #f1c888; background: rgba(180, 122, 39, .09); font-size: 12px; line-height: 1.55; }
.hero-art { position: relative; display: grid; min-height: 390px; place-items: center; }
.glow { position: absolute; border-radius: 50%; filter: blur(1px); pointer-events: none; }
.glow-one { top: 12%; right: 12%; width: 170px; height: 170px; background: rgba(99, 101, 240, .13); filter: blur(44px); }
.glow-two { bottom: 8%; left: 10%; width: 120px; height: 120px; background: rgba(76, 182, 199, .08); filter: blur(38px); }
.preview-card { position: relative; width: min(100%, 440px); padding: 16px 16px 13px; border: 1px solid rgba(255, 255, 255, .105); border-radius: 16px; background: linear-gradient(145deg, rgba(28, 31, 45, .97), rgba(18, 20, 30, .98)); box-shadow: 0 32px 85px rgba(0, 0, 0, .4), 0 0 60px rgba(84, 88, 211, .09), inset 0 1px rgba(255, 255, 255, .06); transform: rotate(1deg); }
.preview-card-top { display: flex; align-items: center; gap: 10px; padding: 0 3px 15px; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.preview-logo { display: grid; width: 31px; height: 31px; place-items: center; border: 1px solid rgba(146, 151, 255, .2); border-radius: 9px; color: #b7baff; background: rgba(118, 124, 255, .13); font-size: 20px; }
.preview-card-top b { display: block; color: #e7e9f2; font-size: 10px; font-weight: 690; }
.preview-card-top small { display: block; margin-top: 3px; color: #737b8f; font-size: 7px; font-weight: 720; letter-spacing: .9px; }
.preview-menu { margin-left: auto; color: #8a91a2; font-size: 11px; letter-spacing: 2px; }
.discord-message { display: flex; gap: 11px; padding: 18px 4px 11px; }
.bot-avatar { display: grid; width: 31px; height: 31px; flex: 0 0 31px; place-items: center; border-radius: 50%; color: #b3b6ff; background: linear-gradient(145deg, #555bc0, #31365d); }
.bot-avatar svg { width: 19px; height: 19px; }
.message-content { min-width: 0; flex: 1; }
.message-author { display: flex; align-items: center; gap: 6px; margin: 1px 0 9px; color: #e3e5ee; font-size: 9px; font-weight: 700; }
.message-author > span { padding: 2px 3px; border-radius: 3px; color: white; background: #6269e8; font-size: 6px; letter-spacing: .4px; }
.message-author time { margin-left: 2px; color: #737b8c; font-size: 8px; font-weight: 450; }
.embed-preview { padding: 14px 14px 13px; border-left: 2px solid #7d82fc; border-radius: 0 7px 7px 0; background: rgba(7, 9, 15, .55); }
.embed-title { margin-bottom: 6px; color: #f1f2f7; font-size: 11px; font-weight: 720; }
.embed-preview p { max-width: 290px; margin: 0; color: #a5abba; font-size: 9px; line-height: 1.65; }
.fake-verify { display: inline-flex; min-height: 30px; align-items: center; margin-top: 14px; padding: 0 11px; border: 1px solid rgba(168, 172, 255, .18); border-radius: 6px; color: #f3f3ff; background: #6269df; box-shadow: 0 4px 12px rgba(82, 88, 218, .19); font-size: 8px; font-weight: 700; }
.floating-badge { position: absolute; right: -15px; bottom: 72px; display: flex; align-items: center; gap: 9px; padding: 10px 13px; border: 1px solid rgba(255, 255, 255, .12); border-radius: 11px; background: rgba(29, 34, 44, .96); box-shadow: 0 14px 35px rgba(0, 0, 0, .34); transform: rotate(-1deg); }
.floating-badge > span { display: grid; width: 23px; height: 23px; place-items: center; border-radius: 50%; color: #9af0c1; background: rgba(75, 181, 125, .16); font-size: 12px; }
.floating-badge b, .floating-badge small { display: block; }
.floating-badge b { color: #e2e8e7; font-size: 9px; }
.floating-badge small { margin-top: 3px; color: #849092; font-size: 8px; }
.preview-caption { display: flex; align-items: center; gap: 7px; padding: 12px 4px 0; color: #727a8c; font-size: 8px; letter-spacing: .1px; }
.caption-dot { width: 5px; height: 5px; }
.feature-row { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 42px; padding: 24px 0 0; border-top: 1px solid rgba(255, 255, 255, .07); }
.feature { display: flex; align-items: center; gap: 12px; padding: 0 24px; border-right: 1px solid rgba(255, 255, 255, .075); }
.feature:first-child { padding-left: 0; }
.feature:last-child { border-right: 0; }
.feature-icon { display: grid; width: 32px; height: 32px; flex: 0 0 32px; place-items: center; border: 1px solid rgba(147, 151, 255, .19); border-radius: 9px; color: #aeb1ff; background: rgba(119, 124, 245, .08); font-size: 9px; font-weight: 750; }
.feature b, .feature small { display: block; }
.feature b { color: #d9dce6; font-size: 10px; font-weight: 690; }
.feature small { margin-top: 5px; color: #7e8698; font-size: 9px; }
.dashboard { max-width: 1080px; min-height: calc(100vh - 154px); margin: 0 auto; padding: 65px 0 75px; }
.dashboard-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.dashboard-heading h1 { margin: 13px 0 8px; font-size: 39px; letter-spacing: -1.8px; }
.muted { margin: 0; color: #969daf; font-size: 13px; }
.add-icon { font-size: 17px; font-weight: 400; }
.dashboard-grid { display: grid; align-items: start; grid-template-columns: minmax(0, 1.4fr) minmax(260px, .75fr); gap: 15px; }
.panel { overflow: hidden; padding: 27px 29px; border: 1px solid rgba(255, 255, 255, .09); border-radius: 15px; background: linear-gradient(145deg, rgba(20, 23, 33, .95), rgba(15, 17, 25, .97)); box-shadow: 0 18px 50px rgba(0, 0, 0, .17), inset 0 1px rgba(255, 255, 255, .025); }
.panel-heading, .section-divider { display: flex; align-items: flex-start; gap: 13px; }
.step-number { display: grid; width: 27px; height: 27px; flex: 0 0 27px; place-items: center; border: 1px solid rgba(144, 148, 255, .23); border-radius: 8px; color: #aaaefe; background: rgba(121, 126, 244, .1); font-size: 9px; font-weight: 800; }
.panel-heading h2, .section-divider h2 { margin: 2px 0 5px; color: #e9eaf1; font-size: 14px; font-weight: 720; letter-spacing: -.2px; }
.panel-heading p, .section-divider p { margin: 0; color: #8991a4; font-size: 11px; line-height: 1.6; }
.server-select-wrap { max-width: 480px; margin: 26px 0 0 40px; }
.field-label { display: block; margin: 0 0 8px; color: #cbd0dd; font-size: 11px; font-weight: 690; }
.select-frame { position: relative; display: flex; align-items: center; }
.control { width: 100%; min-height: 43px; padding: 0 37px 0 37px; appearance: none; color: #e8eaf2; border: 1px solid rgba(255, 255, 255, .105); border-radius: 8px; outline: none; background: #12151e; font-size: 11px; transition: border-color .18s, background .18s; }
.control:hover { border-color: rgba(255, 255, 255, .17); }
.control:focus { border-color: rgba(145, 149, 255, .62); background: #151823; }
.control option { color: #eceef6; background: #171a24; }
.server-select-icon, .channel-hash, .role-dot, .select-chevron { position: absolute; z-index: 1; pointer-events: none; }
.server-select-icon { left: 13px; color: #999eff; font-size: 11px; }
.channel-hash { left: 13px; color: #858d9f; font-size: 15px; }
.role-dot { left: 14px; width: 9px; height: 9px; border-radius: 50%; background: #9196ff; box-shadow: 0 0 10px rgba(145, 150, 255, .45); }
.select-chevron { right: 13px; top: 10px; color: #81899a; font-size: 14px; }
.invite { display: flex; align-items: center; gap: 13px; margin: 22px 0 0 40px; padding: 15px; border: 1px solid rgba(255, 255, 255, .08); border-radius: 10px; background: rgba(255, 255, 255, .025); }
.invite-icon { display: grid; width: 34px; height: 34px; flex: 0 0 34px; place-items: center; border: 1px solid rgba(144, 148, 255, .2); border-radius: 10px; color: #a9adff; background: rgba(114, 120, 240, .1); font-size: 18px; }
.invite-copy { flex: 1; }
.invite-copy b { display: block; color: #e5e7ee; font-size: 11px; }
.invite-copy p { margin: 5px 0 0; color: #8c94a7; font-size: 10px; }
.empty-state { display: grid; justify-items: center; margin: 23px 0 0 40px; padding: 25px 18px; border: 1px dashed rgba(255, 255, 255, .1); border-radius: 10px; text-align: center; background: rgba(255, 255, 255, .015); }
.empty-icon { display: grid; width: 34px; height: 34px; margin-bottom: 11px; place-items: center; border: 1px solid rgba(145, 149, 255, .2); border-radius: 11px; color: #a7abff; background: rgba(114, 120, 240, .08); font-size: 20px; }
.empty-state b { color: #dfe1ea; font-size: 11px; }
.empty-state p { max-width: 265px; margin: 7px 0 0; color: #868ea1; font-size: 10px; line-height: 1.6; }
.dashboard-aside { display: grid; gap: 13px; }
.side-card { padding: 17px; border: 1px solid rgba(255, 255, 255, .085); border-radius: 13px; background: linear-gradient(145deg, rgba(20, 23, 34, .96), rgba(15, 17, 25, .97)); box-shadow: 0 13px 36px rgba(0, 0, 0, .14); }
.side-card-heading { display: flex; align-items: center; justify-content: space-between; color: #8c94a8; font-size: 8px; font-weight: 800; letter-spacing: 1.1px; }
.status-pulse { width: 6px; height: 6px; border-radius: 50%; background: #8086f2; box-shadow: 0 0 9px rgba(128, 134, 242, .55); }
.status-summary { display: flex; align-items: center; gap: 10px; margin: 19px 0 17px; }
.setup-indicator { width: 9px; height: 9px; flex: 0 0 9px; border-radius: 50%; background: #9096a8; box-shadow: 0 0 10px rgba(144, 150, 168, .18); }
.setup-indicator[data-state="ready"] { background: #66d6a1; box-shadow: 0 0 11px rgba(102, 214, 161, .45); }
.setup-indicator[data-state="missing"], .setup-indicator[data-state="setup"], .setup-indicator[data-state="unsaved"] { background: #edbd6c; box-shadow: 0 0 10px rgba(237, 189, 108, .35); }
.setup-indicator[data-state="error"] { background: #f27b8b; box-shadow: 0 0 10px rgba(242, 123, 139, .35); }
.setup-indicator[data-state="loading"] { background: #9298ff; animation: pulse 1s ease-in-out infinite alternate; }
@keyframes pulse { to { opacity: .35; } }
.status-summary b { display: block; color: #e4e6ef; font-size: 11px; font-weight: 700; }
.status-summary p { margin: 4px 0 0; color: #858da0; font-size: 9px; line-height: 1.5; }
.summary-list { padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, .065); }
.summary-list > div { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 6px 0; }
.summary-list span { color: #7f8799; font-size: 9px; }
.summary-list b { overflow: hidden; max-width: 62%; color: #cbd0dc; font-size: 9px; font-weight: 600; text-align: right; text-overflow: ellipsis; white-space: nowrap; }
.preview-live { display: inline-flex; align-items: center; gap: 5px; color: #7bd5a5; font-size: 7px; letter-spacing: .6px; }
.preview-live i { width: 5px; height: 5px; border-radius: 50%; background: #71d6a3; }
.mini-discord { display: flex; gap: 9px; margin-top: 15px; }
.mini-bot-avatar { display: grid; width: 25px; height: 25px; flex: 0 0 25px; place-items: center; border-radius: 50%; color: #c4c6ff; background: linear-gradient(145deg, #555bc0, #31365d); font-size: 11px; }
.mini-message { min-width: 0; flex: 1; }
.mini-author { display: flex; align-items: center; gap: 5px; margin: 2px 0 7px; color: #dfe1e9; font-size: 9px; font-weight: 700; }
.mini-author span { padding: 2px 3px; border-radius: 3px; color: white; background: #6269e8; font-size: 6px; letter-spacing: .3px; }
.mini-embed { padding: 11px; border-left: 2px solid #7d82fc; border-radius: 0 6px 6px 0; background: rgba(7, 9, 15, .55); }
.mini-embed b { color: #e9eaf2; font-size: 9px; }
.mini-embed p { margin: 5px 0 9px; color: #969daf; font-size: 8px; line-height: 1.5; }
.mini-button { display: inline-flex; min-height: 25px; align-items: center; padding: 0 8px; border-radius: 5px; color: #fff; background: #6269df; font-size: 7px; font-weight: 700; }
.mini-message > small { display: block; overflow: hidden; margin-top: 9px; color: #727a8d; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.privacy-card { display: flex; align-items: flex-start; gap: 9px; padding: 12px; border: 1px solid rgba(119, 124, 245, .12); border-radius: 10px; background: rgba(113, 119, 238, .055); }
.privacy-card > span { color: #a8adff; font-size: 13px; }
.privacy-card p { margin: 0; color: #9097a9; font-size: 9px; line-height: 1.55; }
.privacy-card b { color: #d3d5e0; font-weight: 650; }
.settings-form { margin-top: 31px; padding-top: 27px; border-top: 1px solid rgba(255, 255, 255, .07); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; margin: 21px 0 0 40px; }
.field-card { padding: 15px; border: 1px solid rgba(255, 255, 255, .065); border-radius: 10px; background: rgba(255, 255, 255, .018); }
.field-description { min-height: 14px; margin: -3px 0 11px; color: #828a9c; font-size: 9px; }
.hint { display: flex; align-items: center; gap: 9px; margin: 15px 0 19px 40px; color: #898fa1; font-size: 10px; line-height: 1.5; }
.hint-icon { display: grid; width: 15px; height: 15px; flex: 0 0 15px; place-items: center; border: 1px solid rgba(142, 147, 255, .3); border-radius: 50%; color: #a2a6ff; font-size: 9px; font-weight: 700; }
.actions { display: flex; flex-wrap: wrap; gap: 9px; margin-left: 40px; }
.notice { margin: 0 0 15px; padding: 12px 15px; border: 1px solid rgba(91, 207, 151, .22); border-radius: 9px; color: #a9efc8; background: rgba(35, 122, 82, .1); font-size: 11px; line-height: 1.5; }
.notice.error { border-color: rgba(255, 119, 137, .24); color: #ffc0ca; background: rgba(150, 49, 66, .12); }
.button:disabled { opacity: .62; cursor: wait; transform: none; }
.hidden { display: none !important; }
footer { display: flex; min-height: 72px; align-items: center; justify-content: space-between; gap: 15px; border-top: 1px solid rgba(255, 255, 255, .06); color: #697184; font-size: 9px; }
.footer-brand { color: #a1a6b5; font-size: 10px; font-weight: 750; }

@media (max-width: 850px) {
  .shell { padding: 0 23px; }
  .hero { padding-top: 70px; }
  .hero-grid { gap: 24px; }
  h1 { font-size: clamp(42px, 6vw, 56px); }
  .floating-badge { right: -8px; }
}
@media (max-width: 900px) {
  .dashboard-grid { grid-template-columns: 1fr; }
  .dashboard-aside { grid-template-columns: 1fr 1fr; }
  .privacy-card { grid-column: 1 / -1; }
}
@media (max-width: 650px) {
  .shell { padding: 0 17px; }
  .topbar { height: 68px; }
  .secure-label { display: none; }
  .hero { padding: 58px 0 42px; }
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  h1 { margin: 18px 0 15px; font-size: clamp(39px, 11vw, 52px); letter-spacing: -2.6px; }
  .hero-description { font-size: 13px; }
  .hero-art { min-height: 285px; }
  .preview-card { width: calc(100% - 13px); padding: 13px 12px 11px; }
  .floating-badge { right: -7px; bottom: 57px; padding: 8px 10px; }
  .feature-row { grid-template-columns: 1fr; gap: 14px; margin-top: 29px; padding-top: 20px; }
  .feature, .feature:first-child { padding: 0; border-right: 0; }
  .dashboard { min-height: calc(100vh - 130px); padding: 48px 0 55px; }
  .dashboard-heading { align-items: flex-start; flex-direction: column; margin-bottom: 20px; }
  .dashboard-heading h1 { font-size: 33px; }
  .dashboard-aside { grid-template-columns: 1fr; }
  .privacy-card { grid-column: auto; }
  .panel { padding: 20px 16px; }
  .server-select-wrap, .invite, .form-grid, .hint, .actions { margin-left: 0; }
  .empty-state { margin-left: 0; }
  .invite { align-items: flex-start; flex-wrap: wrap; }
  .invite-copy { min-width: calc(100% - 54px); }
  .invite .button { margin-left: 47px; }
  .form-grid { grid-template-columns: 1fr; gap: 10px; }
  .settings-form { margin-top: 25px; padding-top: 22px; }
  .section-divider { gap: 10px; }
  .actions { align-items: stretch; flex-direction: column; }
  .actions .button { width: 100%; }
  footer { align-items: flex-start; flex-direction: column; justify-content: center; gap: 7px; padding: 16px 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
