:root {
  color-scheme: dark;
  --background: #030711;
  --surface: #091426;
  --surface-soft: #0d1d35;
  --text: #f3f6ff;
  --muted: #afbdd4;
  --blue: #3a9bff;
  --blue-bright: #76c0ff;
  --gold: #d7a956;
  --gold-light: #f3d393;
  --border: rgba(215, 169, 86, 0.35);
  --shadow: rgba(0, 105, 255, 0.22);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 50% -10%, rgba(24, 111, 255, 0.28), transparent 38rem),
    linear-gradient(180deg, #06101f 0%, var(--background) 44%, #02040a 100%);
  line-height: 1.65;
}

a {
  color: var(--blue-bright);
}

a:hover {
  color: white;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(215, 169, 86, 0.22);
  background: rgba(3, 7, 17, 0.9);
  backdrop-filter: blur(14px);
}

.nav {
  width: min(1120px, calc(100% - 2rem));
  min-height: 68px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.brand {
  color: var(--gold-light);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 650;
}

.nav-links a:hover {
  color: var(--text);
}

main {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.hero {
  min-height: calc(100vh - 68px);
  padding: 5rem 0;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  align-items: center;
  gap: clamp(2.5rem, 7vw, 7rem);
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--blue-bright);
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.15;
}

h1 {
  margin: 0;
  font-size: clamp(3rem, 8vw, 6.5rem);
  color: var(--gold-light);
  text-wrap: balance;
}

.hero-copy {
  max-width: 710px;
  margin: 1.4rem 0 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.3rem);
}

.platform-list {
  margin-top: 1.35rem;
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.platform-list span {
  padding: 0.3rem 0.72rem;
  border: 1px solid rgba(118, 192, 255, 0.32);
  border-radius: 999px;
  color: #d9eaff;
  background: rgba(20, 77, 143, 0.2);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.actions {
  margin-top: 2rem;
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0.75rem 1.2rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text);
  background: rgba(12, 28, 50, 0.72);
  text-decoration: none;
  font-weight: 800;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.button.primary {
  color: #031020;
  border-color: var(--blue-bright);
  background: linear-gradient(135deg, var(--blue-bright), #2b82ff);
  box-shadow: 0 14px 44px var(--shadow);
}

.button:hover {
  transform: translateY(-1px);
}

.icon-wrap {
  position: relative;
  width: min(100%, 480px);
  margin-inline: auto;
}

.icon-wrap::before {
  content: "";
  position: absolute;
  inset: 7%;
  border-radius: 50%;
  background: rgba(18, 119, 255, 0.4);
  filter: blur(48px);
}

.bot-icon {
  position: relative;
  display: block;
  width: 100%;
  border-radius: 50%;
  border: 1px solid rgba(243, 211, 147, 0.5);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.65);
}

.section {
  padding: 5rem 0;
}

.section h2 {
  margin: 0 0 1rem;
  color: var(--gold-light);
  font-size: clamp(2rem, 5vw, 3.4rem);
}

.feature-grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.free-promise {
  margin-top: 1rem;
  padding: clamp(1.35rem, 4vw, 2.25rem);
  text-align: center;
}

.free-promise h3 {
  margin: 0;
  color: var(--gold-light);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
}

.free-promise p:last-child {
  max-width: 760px;
  margin: 0.8rem auto 0;
}

.card,
.legal {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(13, 29, 53, 0.9), rgba(5, 12, 25, 0.9));
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.25);
}

.card {
  padding: 1.35rem;
}

.card h3 {
  margin: 0 0 0.45rem;
  color: var(--blue-bright);
}

.card p {
  margin: 0;
  color: var(--muted);
}

.policy-page {
  width: min(880px, 100%);
  padding: 4rem 0 6rem;
}

.legal {
  padding: clamp(1.25rem, 5vw, 3.25rem);
}

.legal h1 {
  font-size: clamp(2.4rem, 7vw, 4.8rem);
}

.legal h2 {
  margin-top: 2.4rem;
  color: var(--gold-light);
  font-size: 1.55rem;
}

.legal h3 {
  margin-top: 1.5rem;
  color: var(--blue-bright);
  font-size: 1.15rem;
}

.legal p,
.legal li {
  color: #c6d1e4;
}

.updated {
  color: var(--muted);
}

.notice {
  padding: 1rem 1.1rem;
  border-left: 3px solid var(--blue);
  border-radius: 8px;
  background: rgba(23, 94, 175, 0.13);
}

.support-hero {
  padding: 4.5rem 0 2rem;
  text-align: center;
}

.support-hero h1 {
  font-size: clamp(2.7rem, 8vw, 5.5rem);
}

.support-hero p:not(.eyebrow) {
  max-width: 760px;
  margin: 1rem auto 0;
  color: var(--muted);
  font-size: 1.1rem;
}

.feature-notice {
  margin: 0 0 1.5rem;
  padding: 1rem 1.15rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  border: 1px solid rgba(118, 192, 255, 0.4);
  border-left: 4px solid var(--blue-bright);
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(24, 111, 255, 0.18), rgba(7, 19, 38, 0.92));
  box-shadow: 0 14px 44px rgba(0, 69, 170, 0.16);
}

.feature-notice-label {
  flex: 0 0 auto;
  padding: 0.22rem 0.6rem;
  border: 1px solid rgba(243, 211, 147, 0.5);
  border-radius: 999px;
  color: #031020;
  background: var(--gold-light);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.feature-notice h2 {
  margin: 0;
  color: var(--gold-light);
  font-size: 1.2rem;
}

.feature-notice p {
  margin: 0.3rem 0 0;
  color: var(--muted);
}

.quick-start {
  margin: 1.5rem 0 3rem;
  padding: clamp(1.25rem, 4vw, 2rem);
}

.quick-start h2,
.command-section h2,
.help-panel h2 {
  margin-top: 0;
  color: var(--gold-light);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
}

.step-list {
  margin: 1.25rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  list-style: none;
  counter-reset: setup-step;
}

.step-list li {
  position: relative;
  min-height: 145px;
  padding: 1.15rem;
  border: 1px solid rgba(58, 155, 255, 0.28);
  border-radius: 12px;
  background: rgba(4, 13, 28, 0.65);
  counter-increment: setup-step;
}

.step-list li::before {
  content: counter(setup-step);
  display: grid;
  width: 2rem;
  height: 2rem;
  margin-bottom: 0.75rem;
  place-items: center;
  border-radius: 50%;
  color: #031020;
  background: var(--blue-bright);
  font-weight: 900;
}

.command-toolbar {
  position: sticky;
  top: 84px;
  z-index: 5;
  margin: 0 0 2rem;
  padding: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(3, 7, 17, 0.94);
  backdrop-filter: blur(12px);
}

.command-search {
  width: 100%;
  min-height: 46px;
  padding: 0.7rem 0.9rem;
  border: 1px solid rgba(118, 192, 255, 0.35);
  border-radius: 10px;
  outline: none;
  color: var(--text);
  background: #071326;
  font: inherit;
}

.command-search:focus {
  border-color: var(--blue-bright);
  box-shadow: 0 0 0 3px rgba(58, 155, 255, 0.18);
}

.command-section {
  padding: 1rem 0 3.25rem;
}

.section-intro {
  max-width: 780px;
  color: var(--muted);
}

.command-grid {
  margin-top: 1.25rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.command-card {
  padding: 1.3rem;
}

.command-card[hidden] {
  display: none;
}

.command-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.command-heading h3 {
  margin: 0;
  font-size: 1.35rem;
}

code,
.command-name {
  color: #a9d8ff;
  font-family: "Cascadia Code", "SFMono-Regular", Consolas, monospace;
}

.command-name {
  padding: 0.16rem 0.42rem;
  border: 1px solid rgba(118, 192, 255, 0.24);
  border-radius: 6px;
  background: rgba(32, 99, 175, 0.14);
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0.15rem 0.55rem;
  border: 1px solid rgba(118, 192, 255, 0.32);
  border-radius: 999px;
  color: var(--blue-bright);
  background: rgba(58, 155, 255, 0.1);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.badge.admin {
  color: var(--gold-light);
  border-color: rgba(215, 169, 86, 0.42);
  background: rgba(215, 169, 86, 0.1);
}

.command-card > p {
  color: var(--muted);
}

.usage {
  margin: 0.8rem 0;
  padding: 0.7rem 0.8rem;
  overflow-x: auto;
  border-left: 3px solid var(--blue);
  border-radius: 7px;
  color: #d9eaff;
  background: rgba(3, 10, 23, 0.75);
  font-family: "Cascadia Code", "SFMono-Regular", Consolas, monospace;
  white-space: nowrap;
}

.subcommands {
  margin: 0;
  padding: 0;
  list-style: none;
}

.subcommands li {
  padding: 0.75rem 0;
  color: var(--muted);
  border-top: 1px solid rgba(175, 189, 212, 0.13);
}

.subcommands li:first-child {
  border-top: 0;
}

.subcommands strong {
  display: block;
  margin-bottom: 0.18rem;
  color: var(--text);
}

.syntax-key {
  margin-top: 1.25rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.help-panel {
  margin-bottom: 5rem;
  padding: clamp(1.25rem, 4vw, 2rem);
}

.help-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.help-grid h3 {
  color: var(--blue-bright);
}

.empty-state {
  margin: 0 0 4rem;
  padding: 2rem;
  text-align: center;
  color: var(--muted);
}

footer {
  margin-top: 4rem;
  padding: 2rem 1rem;
  border-top: 1px solid rgba(215, 169, 86, 0.2);
  color: var(--muted);
  text-align: center;
}

footer a {
  margin: 0 0.45rem;
}

@media (max-width: 820px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 3rem;
  }

  .hero-copy {
    margin-inline: auto;
  }

  .actions {
    justify-content: center;
  }

  .platform-list {
    justify-content: center;
  }

  .icon-wrap {
    max-width: 390px;
    order: -1;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .step-list,
  .command-grid,
  .help-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 590px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 0.8rem 0;
  }

  .site-header {
    position: static;
  }

  .command-toolbar {
    position: static;
  }

  .feature-notice {
    flex-direction: column;
  }

  .hero {
    min-height: auto;
  }
}
