:root {
  --bg: #f5f7f4;
  --bg-deep: #f5f7f4;
  --bg-soft: #eaf3f2;
  --panel: #ffffff;
  --panel-strong: #ffffff;
  --line: #d9e1df;
  --line-strong: #aebfbc;
  --text: #17232d;
  --muted: #5f6d77;
  --cyan: #137f96;
  --blue: #5865f2;
  --gold: #d99b24;
  --gold-strong: #c47b17;
  --coral: #e86e54;
  --shadow: 0 18px 50px rgba(25, 42, 48, .12);
  --radius-xl: 8px;
  --radius-lg: 8px;
  --radius-md: 6px;
  --max: 1160px;
  --site-header-height: 72px;
}

* {
  letter-spacing: 0 !important;
}

html {
  color-scheme: light;
  background: var(--bg);
}

body {
  color: var(--text);
  background: var(--bg);
  font-family: Inter, Aptos, "Segoe UI", system-ui, -apple-system, sans-serif;
}

::selection {
  color: #ffffff;
  background: #2f6f79;
}

a,
button {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(88, 101, 242, .28);
  outline-offset: 3px;
}

.site-bg {
  background: var(--bg);
}

.site-bg::before,
.site-bg::after,
.aurora,
.cursor-glow,
.wave-line {
  display: none;
}

.site-header {
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.site-alert-banner {
  border-bottom-color: #edc2b9;
  background: #fff0ed;
  box-shadow: none;
  backdrop-filter: none;
}

.site-alert-banner-inner {
  color: #742f22;
}

.site-alert-banner-inner::before {
  color: #ffffff;
  background: var(--coral);
  border: 0;
  box-shadow: none;
}

.site-alert-label,
.site-alert-message {
  color: #742f22;
}

.nav {
  min-height: var(--site-header-height);
}

.brand {
  gap: 10px;
  color: var(--text);
  font-weight: 800;
}

.brand img {
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: 8px;
  background: #0c4e7b;
  box-shadow: none;
}

.brand span {
  line-height: 1.1;
}

.brand small {
  margin-top: 2px;
  color: #71808a;
  font-size: .7rem;
  font-weight: 700;
  text-transform: none;
}

.nav-panel {
  gap: 22px;
}

.nav-links {
  gap: 20px;
  color: #40505b;
  font-size: .92rem;
}

.nav-links a:not(.btn) {
  opacity: 1;
  transition: color 160ms ease;
}

.nav-links a:not(.btn):hover {
  color: var(--blue);
}

.nav-actions {
  gap: 10px;
}

.language-switch {
  padding: 2px;
  border-color: var(--line);
  border-radius: 6px;
  background: #edf1f0;
}

.lang-btn {
  min-width: 34px;
  height: 30px;
  border-radius: 4px;
  color: #687780;
  font-size: .78rem;
}

.lang-btn.is-active {
  color: var(--text);
  background: #ffffff;
  box-shadow: 0 1px 4px rgba(25, 42, 48, .12);
}

.nav-toggle {
  width: 40px;
  height: 40px;
  border-color: var(--line);
  border-radius: 6px;
  background: #ffffff;
}

.nav-toggle span {
  background: var(--text);
}

.btn {
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid #4e5be0;
  border-radius: 7px;
  color: #ffffff;
  background: var(--blue);
  box-shadow: none;
  font-weight: 800;
  overflow: visible;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.btn::after {
  display: none;
}

.btn:hover {
  color: #ffffff;
  background: #4652d4;
  border-color: #4652d4;
  box-shadow: none;
  filter: none;
  transform: translateY(-1px);
}

.btn-small {
  min-height: 40px;
  padding: 0 14px;
}

.btn.secondary {
  color: var(--text);
  background: #ffffff;
  border-color: #bcc8c6;
  box-shadow: none;
}

.btn.secondary:hover {
  color: var(--text);
  background: #edf2f0;
  border-color: #9caeaa;
}

h1,
h2,
h3 {
  color: var(--text);
  font-weight: 800;
}

.hero {
  width: min(var(--max), calc(100% - 40px));
  margin-top: 48px;
  grid-template-columns: minmax(0, .92fr) minmax(480px, 1.08fr);
  gap: 58px;
  align-items: center;
}

.kicker,
.eyebrow {
  display: block;
  color: #247382;
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.kicker::before,
.eyebrow::before {
  display: none;
}

h1 {
  max-width: 720px;
  margin-top: 14px;
  font-size: 4.25rem;
  line-height: 1.02;
}

.hero h1 span,
.hero h1 em {
  display: block;
  color: var(--text);
  background: none;
  filter: none;
}

.hero h1 span {
  color: #105e70;
}

.hero h1 em {
  margin-top: 8px;
  font-size: .72em;
  line-height: 1.08;
}

.lead {
  max-width: 610px;
  margin-top: 22px;
  color: #4f606b;
  font-size: 1.12rem;
  line-height: 1.65;
}

.hero-actions {
  gap: 10px;
  margin-top: 26px;
}

.hero-points {
  display: grid;
  gap: 8px;
  margin: 24px 0 0;
  padding: 0;
  color: #53636d;
  font-size: .92rem;
  list-style: none;
}

.hero-points li {
  position: relative;
  padding-left: 24px;
}

.hero-points li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #188260;
  font-weight: 900;
}

.hero-preview {
  padding: 12px;
  border: 1px solid #202227;
  border-radius: 8px;
  background: #25262b;
  box-shadow: var(--shadow);
  transform: none !important;
  will-change: auto;
  isolation: auto;
}

.hero-preview::before,
.hero-preview::after,
.discord-preview-stage::before,
.discord-capture::after,
.discord-banner-composite::before,
.discord-banner-composite::after {
  display: none;
}

.preview-topline {
  margin: 2px 4px 10px;
  color: #b5bac1;
  font-size: .72rem;
  font-weight: 700;
  text-transform: none;
}

.preview-live-meta {
  gap: 7px;
  color: #d7d9dd;
}

.dot,
.status-dot,
.preview-live-meta .status-dot {
  width: 7px;
  height: 7px;
  background: #35c98a;
  box-shadow: none;
}

.discord-preview-stage {
  margin: 0;
  padding: 0;
  overflow: visible;
  border-radius: 6px;
  perspective: none;
}

.preview-blur-stack {
  display: none;
}

.discord-capture {
  max-width: none;
  margin: 0;
  padding: 14px;
  border: 0;
  border-radius: 6px;
  background: #313338;
  box-shadow: none;
  filter: none;
  transform: none;
}

.discord-message-head {
  margin: 0 0 8px;
  color: #dbdee1;
}

.discord-message-head img {
  width: 32px;
  height: 32px;
  box-shadow: none;
}

.discord-message-head time {
  color: #949ba4;
}

.discord-embed {
  margin-left: 40px;
  padding: 12px;
  border: 0;
  border-left: 4px solid var(--preview-accent);
  border-radius: 4px;
  color: #dbdee1;
  background: #2b2d31;
}

.discord-embed h3,
.discord-stats strong {
  color: #f2f3f5;
}

.discord-stats span,
.discord-source {
  color: #b5bac1;
}

.discord-banner-composite {
  border: 0;
  border-radius: 4px;
  background: #1e1f22;
  box-shadow: none;
}

.discord-banner-art {
  filter: none;
  transform: none;
}

.discord-capture:hover .discord-banner-art {
  filter: none;
  transform: none;
}

.bot-banner {
  position: relative;
  display: grid;
  grid-template-columns: 55% 45%;
  width: 100%;
  aspect-ratio: 1040 / 367;
  overflow: hidden;
  isolation: isolate;
  container-type: inline-size;
  color: #f2f6f3;
  background-position: center;
  background-size: cover;
  font-family: "Segoe UI", Inter, system-ui, sans-serif;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
}

.discord-banner-art.bot-banner {
  position: absolute;
  inset: 0;
}

.bot-banner.is-next {
  --banner-accent: #65c9bf;
  --banner-accent-soft: #a2dfd8;
  background-image: url("../img/banner-bg-next-site.jpg");
}

.bot-banner.is-alert {
  --banner-accent: #eb775c;
  --banner-accent-soft: #ffb191;
  background-image: url("../img/banner-bg-alert-site.jpg");
}

.bot-banner-portraits {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 3cqi;
  padding: 6cqi 2cqi 6cqi 6cqi;
}

.bot-banner.is-alert .bot-banner-portraits {
  justify-content: center;
  padding-right: 5cqi;
}

.bot-boss-frame {
  display: grid;
  flex: 0 0 20cqi;
  place-items: center;
  aspect-ratio: 1;
  overflow: hidden;
  border: max(1px, .22cqi) solid var(--banner-accent);
  border-radius: 1.25cqi;
  background: rgba(7, 13, 14, .88);
  box-shadow: 0 1.2cqi 2.4cqi rgba(0, 0, 0, .4);
}

.bot-banner.is-alert .bot-boss-frame {
  flex-basis: 29cqi;
}

.bot-boss-frame img,
.output-shot .bot-boss-frame img {
  width: 94%;
  height: 94%;
  aspect-ratio: auto;
  object-fit: contain;
}

.bot-banner-copy {
  position: relative;
  z-index: 1;
  align-self: center;
  display: grid;
  justify-items: start;
  min-width: 0;
  padding: 0 4cqi 2cqi 1.8cqi;
  border-left: max(1px, .24cqi) solid color-mix(in srgb, var(--banner-accent) 72%, transparent);
}

.bot-banner-kicker {
  color: var(--banner-accent-soft);
  font-size: 2.05cqi;
  font-weight: 750;
  line-height: 1.1;
  text-transform: uppercase;
  white-space: nowrap;
}

.bot-banner-kicker::before {
  content: "";
  display: inline-block;
  width: 1.6cqi;
  aspect-ratio: 1;
  margin-right: 1.4cqi;
  background: var(--banner-accent);
}

.bot-banner-copy strong {
  display: grid;
  margin-top: 3.5cqi;
  color: #f1f4f2;
  font-size: 7.2cqi;
  font-weight: 760;
  line-height: .88;
  text-transform: uppercase;
}

.bot-banner-copy small {
  display: flex;
  align-items: center;
  gap: 1.8cqi;
  margin-top: 4.2cqi;
  color: var(--banner-accent-soft);
  font-size: 2.2cqi;
  font-weight: 750;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.bot-banner-copy small::before {
  content: "";
  width: 5.4cqi;
  height: max(1px, .32cqi);
  background: var(--banner-accent);
}

.bot-banner-brand {
  position: absolute;
  right: 3.4cqi;
  bottom: 2.8cqi;
  z-index: 1;
  color: rgba(224, 231, 227, .72);
  font-size: 1.55cqi;
  font-weight: 700;
  text-transform: uppercase;
}

@container (max-width: 640px) {
  .bot-banner-brand {
    display: none;
  }
}

.preview-carousel-controls {
  max-width: none;
  margin-top: 10px;
  gap: 6px;
}

.preview-tab {
  height: 34px;
  border-color: #3f4147;
  border-radius: 5px;
  color: #b5bac1;
  background: #2b2d31;
  font-size: .68rem;
  font-weight: 800;
}

.preview-tab:hover {
  color: #ffffff;
  border-color: #5c5f66;
  background: #35373c;
  transform: none;
}

.preview-tab.is-active {
  color: #ffffff;
  border-color: #5865f2;
  background: #5865f2;
  box-shadow: none;
}

.preview-progress {
  max-width: none;
  height: 2px;
  margin-top: 8px;
  background: #3f4147;
}

.preview-progress span {
  background: #8b93ff;
}

.quick-proof {
  width: min(var(--max), calc(100% - 40px));
  margin: 64px auto 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}

.quick-proof article {
  padding: 24px 28px;
}

.quick-proof article + article {
  border-left: 1px solid var(--line);
}

.quick-proof strong,
.quick-proof span {
  display: block;
}

.quick-proof strong {
  color: var(--text);
  font-size: 1rem;
}

.quick-proof span {
  margin-top: 5px;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.5;
}

.section {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 96px 0;
}

.section + .section {
  margin-top: 0;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(260px, .8fr) minmax(0, 1.2fr);
  gap: 18px 64px;
  align-items: end;
  margin-bottom: 44px;
}

.section-head .eyebrow {
  grid-column: 1 / -1;
}

.section-head h2,
.flow h2,
.cta h2 {
  color: var(--text);
  font-size: 2.65rem;
  line-height: 1.08;
}

.section-head p,
.flow p,
.cta p {
  max-width: 620px;
  color: var(--muted);
  line-height: 1.65;
}

.feature-list {
  border-top: 1px solid var(--line-strong);
}

.feature-row {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 20px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.feature-number,
.step-number {
  color: var(--coral);
  font-size: .82rem;
  font-weight: 900;
}

.feature-row h3 {
  font-size: 1.3rem;
}

.feature-row p {
  max-width: 760px;
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.output-section .section-head {
  margin-bottom: 30px;
}

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

.output-shot {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.output-shot > img {
  width: 100%;
  aspect-ratio: 1040 / 367;
  object-fit: cover;
}

.output-shot figcaption {
  display: grid;
  gap: 5px;
  padding: 18px;
  border-top: 1px solid var(--line);
}

.output-shot figcaption strong {
  color: var(--text);
  font-size: 1rem;
}

.output-shot figcaption span {
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.5;
}

.setup-section,
.proof-section {
  position: relative;
  isolation: isolate;
}

.setup-section::before,
.proof-section::before {
  content: "";
  position: absolute;
  inset: 0 calc(50% - 50vw);
  z-index: -1;
}

.setup-section::before {
  background: #e8f2f0;
}

.setup-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  border-top: 1px solid #afc7c2;
  list-style: none;
}

.setup-list li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  padding: 26px 24px 8px 0;
}

.setup-list li + li {
  padding-left: 24px;
  border-left: 1px solid #c2d5d1;
}

.setup-list h3 {
  font-size: 1.14rem;
}

.setup-list p {
  margin: 9px 0 0;
  color: #536b6d;
  line-height: 1.6;
}

.setup-list code {
  display: inline-block;
  max-width: 100%;
  padding: 7px 9px;
  border: 1px solid #adc4bf;
  border-radius: 5px;
  color: #174f58;
  background: #f8fbfa;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: .86rem;
  overflow-wrap: anywhere;
}

.setup-note {
  margin: 32px 0 0;
  color: #536b6d;
}

.setup-note a {
  color: #174f58;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.proof-section {
  color: #ffffff;
}

.proof-section::before {
  background: #173c40;
}

.proof-section .eyebrow {
  color: #8fd7d0;
}

.proof-section .section-head h2 {
  color: #ffffff;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, .26);
  border-left: 1px solid rgba(255, 255, 255, .26);
}

.proof-item {
  min-height: 0;
  padding: 24px;
  border-right: 1px solid rgba(255, 255, 255, .26);
  border-bottom: 1px solid rgba(255, 255, 255, .26);
  border-radius: 0;
  background: transparent;
}

.proof-item strong {
  color: #ffffff;
  font-size: 1.05rem;
}

.proof-item span {
  margin-top: 7px;
  color: #c5dcda;
  line-height: 1.55;
}

.faq-section .section-head {
  grid-template-columns: 1fr;
  max-width: 760px;
}

.faq-grid {
  display: block;
  border-top: 1px solid var(--line-strong);
}

.faq-item {
  min-height: 0;
  padding: 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
}

.faq-item summary {
  position: relative;
  padding: 22px 44px 22px 0;
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 6px;
  top: 50%;
  color: var(--blue);
  font-size: 1.4rem;
  transform: translateY(-50%);
}

.faq-item[open] summary::after {
  content: "-";
}

.faq-item p {
  max-width: 760px;
  margin: -4px 0 22px;
  color: var(--muted);
  line-height: 1.65;
}

.cta {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto 72px;
  padding: 42px;
  border: 0;
  border-radius: 8px;
  color: #ffffff;
  background: #20283a;
  box-shadow: none;
  transform: none !important;
}

.cta::before,
.cta::after {
  display: none;
}

.cta .eyebrow {
  color: #ffb29e;
}

.cta h2 {
  max-width: 720px;
  color: #ffffff;
}

.cta p {
  color: #cbd3e2;
}

.cta .btn {
  flex: 0 0 auto;
  color: #20283a;
  background: #ffffff;
  border-color: #ffffff;
}

.cta .btn:hover {
  color: #20283a;
  background: #e9edf7;
  border-color: #e9edf7;
}

.site-footer {
  width: min(var(--max), calc(100% - 40px));
  margin-top: 0;
  padding: 28px 0 34px;
  border-top: 1px solid var(--line);
  color: #687780;
}

.footer-links {
  gap: 18px;
}

.footer-links a {
  color: #465660;
  opacity: 1;
}

.footer-links a:hover {
  color: var(--blue);
}

.coffee-link {
  color: #a56216 !important;
}

.legal,
.redirect-page {
  margin-top: 54px;
}

.legal-hero {
  margin-bottom: 28px;
}

.legal-hero h1,
.redirect-card h1 {
  margin-top: 12px;
  color: var(--text);
  font-size: 3.5rem;
  line-height: 1.05;
}

.legal-hero p {
  max-width: 700px;
  color: var(--muted);
  line-height: 1.65;
}

.legal-card,
.redirect-card {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(25, 42, 48, .07);
  transform: none !important;
  will-change: auto;
}

.legal-card h2 {
  color: var(--text);
}

.legal-card p,
.legal-card li {
  color: #53636d;
}

.help-card {
  margin-top: 14px;
}

.command-list {
  gap: 0;
  border-top: 1px solid var(--line);
}

.command-item {
  padding: 18px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
}

.command-meta {
  border-color: #d8c596;
  color: #8a5c15;
  background: #fff8e8;
}

.doc-grid {
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.doc-grid > div {
  padding: 18px;
  border: 0;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
}

.help-card code {
  border-color: #c8d4d1;
  color: #174f58;
  background: #f4f8f7;
}

.support-actions .btn {
  max-width: 100%;
}

.redirect-page {
  min-height: calc(100vh - var(--site-header-height) - 150px);
}

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

@media (max-width: 980px) {
  .nav-panel {
    top: 72px;
    border-color: var(--line);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 20px 50px rgba(25, 42, 48, .16);
    backdrop-filter: none;
  }

  .nav-links,
  .nav-actions {
    gap: 12px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 36px;
    align-items: start;
  }

  .hero-copy {
    max-width: 720px;
  }

  .hero-preview {
    width: 100%;
    max-width: 720px;
  }

  .section-head {
    grid-template-columns: 1fr;
    max-width: 780px;
  }

  .section-head .eyebrow {
    grid-column: auto;
  }
}

@media (max-width: 700px) {
  .nav,
  .hero,
  .quick-proof,
  .section,
  .cta,
  .site-footer,
  .legal,
  .redirect-page {
    width: min(100% - 28px, var(--max));
  }

  .brand img {
    width: 40px;
    height: 40px;
  }

  .hero {
    margin-top: 28px;
    gap: 26px;
  }

  h1 {
    font-size: 2.55rem;
  }

  .hero h1 em {
    margin-top: 6px;
    font-size: .68em;
  }

  .lead {
    margin-top: 16px;
    font-size: 1rem;
    line-height: 1.55;
  }

  .hero-actions {
    margin-top: 20px;
  }

  .hero-actions .btn {
    flex: 1 1 160px;
  }

  .hero-points {
    margin-top: 18px;
    font-size: .85rem;
  }

  .hero-preview {
    padding: 8px;
  }

  .preview-topline {
    margin-bottom: 7px;
  }

  .discord-capture {
    max-width: none;
    padding: 10px 8px;
  }

  .discord-message-head img {
    width: 27px;
    height: 27px;
  }

  .discord-embed {
    margin-left: 24px;
    padding: 9px;
  }

  .discord-stats {
    gap: 8px;
    margin-bottom: 9px;
  }

  .discord-source {
    margin-top: 8px;
  }

  .quick-proof {
    margin-top: 42px;
    grid-template-columns: 1fr;
  }

  .quick-proof article {
    padding: 18px 0;
  }

  .quick-proof article + article {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .section {
    padding: 72px 0;
  }

  .section-head {
    gap: 12px;
    margin-bottom: 30px;
  }

  .section-head h2,
  .flow h2,
  .cta h2 {
    font-size: 2rem;
  }

  .feature-row {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 10px;
    padding: 24px 0;
  }

  .setup-list {
    grid-template-columns: 1fr;
  }

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

  .setup-list li,
  .setup-list li + li {
    padding: 22px 0;
    border-left: 0;
    border-bottom: 1px solid #c2d5d1;
  }

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

  .proof-item {
    padding: 20px;
  }

  .cta {
    margin-bottom: 48px;
    padding: 28px 22px;
    align-items: flex-start;
    flex-direction: column;
  }

  .cta .btn {
    width: 100%;
  }

  .site-footer {
    gap: 18px;
  }

  .legal,
  .redirect-page {
    margin-top: 38px;
  }

  .legal-hero h1,
  .redirect-card h1 {
    font-size: 2.45rem;
  }

  .legal-card,
  .redirect-card {
    padding: 22px 18px;
  }

  .command-item {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .command-meta {
    justify-self: start;
    white-space: normal;
  }

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

  .permission-list {
    columns: 1;
  }

  .support-actions .btn {
    width: 100%;
    overflow-wrap: anywhere;
  }
}

@media (prefers-reduced-motion: reduce) {
  .btn,
  .nav-links a {
    transition: none;
  }
}

/* Comfort theme: low-glare surfaces with distinct product and alert accents. */
:root {
  --bg: #111817;
  --bg-deep: #111817;
  --bg-soft: #182522;
  --panel: #18211f;
  --panel-strong: #1d2926;
  --line: #30413d;
  --line-strong: #47615b;
  --text: #e8eeea;
  --muted: #a4b2ac;
  --cyan: #5abeb5;
  --blue: #727cf5;
  --gold: #e2ae55;
  --gold-strong: #d99138;
  --coral: #eb775c;
  --shadow: 0 20px 56px rgba(0, 0, 0, .34);
}

html {
  color-scheme: dark;
  background: var(--bg);
}

body,
.site-bg {
  color: var(--text);
  background: var(--bg);
}

::selection {
  color: #0d1514;
  background: #7bd1c8;
}

.site-header {
  background: rgba(17, 24, 23, .94);
  border-bottom-color: var(--line);
}

.site-alert-banner {
  border-bottom-color: #73443a;
  background: #35231f;
}

.site-alert-banner-inner,
.site-alert-label,
.site-alert-message {
  color: #ffc7b8;
}

.brand,
.nav-toggle span,
h1,
h2,
h3,
.section-head h2,
.flow h2,
.cta h2,
.legal-card h2,
.faq-item summary {
  color: var(--text);
}

.brand img {
  background: transparent;
}

.brand small {
  color: #8fa09a;
}

.nav-links {
  color: #b0bdb7;
}

.nav-links a:not(.btn):hover,
.footer-links a:hover {
  color: #8fd7d0;
}

.language-switch {
  border-color: var(--line);
  background: #1a2422;
}

.lang-btn {
  color: #879690;
}

.lang-btn.is-active {
  color: #eaf0ec;
  background: #2a3734;
  box-shadow: none;
}

.nav-toggle {
  border-color: var(--line);
  background: #18211f;
}

.btn {
  border-color: #6873ed;
  color: #ffffff;
  background: #6670e8;
}

.btn:hover {
  border-color: #7d86f3;
  color: #ffffff;
  background: #747ef0;
}

.btn.secondary {
  color: var(--text);
  background: #192320;
  border-color: #4a5d58;
}

.btn.secondary:hover {
  color: #ffffff;
  background: #26332f;
  border-color: #647b75;
}

.kicker,
.eyebrow {
  color: #74c9c0;
}

.hero h1 span {
  color: #82d1c8;
}

.hero h1 em {
  color: var(--text);
}

.lead,
.section-head p,
.flow p,
.feature-row p,
.quick-proof span,
.faq-item p,
.legal-hero p,
.legal-card p,
.legal-card li,
.redirect-card p {
  color: var(--muted);
}

.hero-points {
  color: #b4c1bb;
}

.hero-points li::before {
  color: #64c39a;
}

.hero-preview {
  border-color: #414c49;
  background: #202421;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .42);
}

.quick-proof {
  border-color: var(--line-strong);
}

.quick-proof article + article,
.feature-list,
.feature-row,
.faq-grid,
.faq-item,
.site-footer {
  border-color: var(--line);
}

.quick-proof strong {
  color: var(--text);
}

.feature-section {
  position: relative;
  isolation: isolate;
}

.feature-section::before {
  content: "";
  position: absolute;
  inset: 0 calc(50% - 50vw);
  z-index: -1;
  background: #141d1b;
}

.feature-number,
.step-number {
  color: #ef8a72;
}

.setup-section::before {
  background: #182825;
}

.setup-list {
  border-top-color: #47645d;
}

.setup-list li + li,
.setup-list li {
  border-color: #334b45;
}

.setup-list p,
.setup-note {
  color: #a9bbb4;
}

.setup-list code,
.help-card code {
  color: #a5e2db;
  border-color: #3d5a54;
  background: #111a18;
}

.setup-note a {
  color: #8fd7d0;
}

.proof-section::before {
  background: #2b2621;
}

.proof-section .eyebrow {
  color: #f0a890;
}

.proof-item {
  border-color: rgba(255, 255, 255, .17);
}

.proof-item span {
  color: #d0c5ba;
}

.faq-item summary::after {
  color: #8992ff;
}

.cta {
  background: #29263b;
}

.cta .eyebrow {
  color: #f3a38f;
}

.cta p {
  color: #c8c7d5;
}

.cta .btn {
  color: #252237;
  background: #eef0ff;
  border-color: #eef0ff;
}

.cta .btn:hover {
  color: #252237;
  background: #dfe2ff;
  border-color: #dfe2ff;
}

.site-footer {
  color: #879690;
}

.footer-links a {
  color: #abb8b2;
}

.coffee-link {
  color: #e0ad65 !important;
}

.legal-card,
.redirect-card {
  color: var(--text);
  border-color: var(--line);
  background: #18211f;
  box-shadow: 0 12px 34px rgba(0, 0, 0, .22);
}

.command-list,
.command-item,
.doc-grid,
.doc-grid > div {
  border-color: var(--line);
}

.command-meta {
  border-color: #66583b;
  color: #e4bd72;
  background: #2b261b;
}

@media (max-width: 980px) {
  .nav-panel {
    border-color: var(--line);
    background: #18211f;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .38);
  }
}
