.site-entry-page {
  --bg: #0d0f13;
  --surface: #15181e;
  --surface-raised: #1c2027;
  --surface-hover: #242931;
  --line: #292d35;
  --line-strong: #424955;
  --orange: #ff8b3d;
  --mint: var(--orange);
  --mint-hover: #ffa86c;
}

.site-entry-page .site-header {
  background: #0d0f13f5;
}

.site-entry-page .button.secondary {
  background: var(--surface-raised);
  border-color: var(--line-strong);
}

.site-entry-page .button.secondary:hover {
  background: var(--surface-hover);
  border-color: var(--orange);
}

/* Public home */
body.bot-home .hero {
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 76px);
  padding-block: clamp(44px, 7vw, 90px);
}

body.bot-home .hero h1 {
  margin-bottom: 22px;
  font-size: clamp(2.3rem, 4.7vw, 4rem);
  line-height: 1.05;
  text-wrap: balance;
}

body.bot-home .hero-kicker {
  margin-bottom: 18px;
  font-size: .7rem;
  line-height: 1.5;
}

body.bot-home .hero-lead {
  max-width: 34rem;
  margin-bottom: 24px;
  color: var(--text-soft);
  font-size: clamp(.95rem, 1.7vw, 1.0625rem);
  line-height: 1.7;
}

.bot-home .hero-actions {
  gap: 12px;
}

body.bot-home .hero-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 16px;
  margin-block: 24px;
  font-size: .82rem;
  line-height: 1.5;
}

.bot-home .hero-facts .brand-icon {
  flex: none;
}

.bot-home .ai-start-note {
  margin: 0 0 10px;
  color: var(--text-soft);
  font-size: .84rem;
  font-weight: 650;
}

.bot-home .quick-objectives {
  gap: 8px;
  margin-top: 0;
}

.bot-home .quick-objectives .button {
  min-height: 44px;
  padding: 8px 12px;
}

.bot-home .quick-objectives .text-button {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.bot-home .install-note {
  margin-top: 8px;
}

.bot-home .install-note summary {
  min-height: 44px;
  padding-block: 12px;
}

.bot-home .install-note,
.bot-home .install-note p {
  font-size: .8rem;
}

body.bot-home .arena-preview-window {
  background: radial-gradient(ellipse at top right, #ff8b3d16, transparent 58%), var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  box-shadow: 0 24px 64px #0006;
}

.bot-home .preview-hero-arena {
  padding-top: 4px;
}

.bot-home .arena-preview-window .window-label,
.bot-home .arena-preview-window .preview-footer,
.bot-home .arena-live-badge,
.bot-home .hub-title {
  font-size: .625rem;
  line-height: 1.45;
}

.bot-home .arena-live-badge .live-dot {
  flex: none;
}

.bot-home .match-card-top {
  gap: 8px;
  flex-wrap: wrap;
}

.bot-home .metrics-bar {
  padding: 0 0 clamp(28px, 4vw, 44px);
  margin: 0;
  background: none;
  border: 0;
}

.bot-home .metrics-container {
  padding: 0;
  gap: 14px;
}

.bot-home .metric-card {
  min-width: 0;
  border-radius: 14px;
}

.bot-home .metric-num {
  font: 800 clamp(1.4rem, 2.75vw, 2.15rem)/1.15 var(--display);
  letter-spacing: -.05em;
}

.bot-home .metric-sub {
  font-size: .8rem;
}

body.bot-home .section-block {
  padding-block: clamp(42px, 7vw, 78px);
}

body.bot-home .section-heading {
  gap: 16px 28px;
  margin-bottom: 26px;
}

body.bot-home .section-heading h2 {
  font-size: clamp(1.8rem, 4vw, 2.65rem);
}

body.bot-home .section-heading > p {
  font-size: .9rem;
  line-height: 1.7;
}

.bot-home :is(.arena-card, .faq-card, .feature-card, .showcase-area) {
  padding: clamp(18px, 2.5vw, 26px);
  border-radius: 14px;
}

.bot-home .arena-card.featured-card {
  background: linear-gradient(145deg, #ff8b3d0a, transparent 65%), var(--surface);
  border-color: var(--line-strong);
}

body.bot-home :is(.arena-card, .faq-card, .feature-card, .showcase-head) p {
  min-height: 0;
  color: var(--text-soft);
  font-size: .875rem;
  line-height: 1.65;
}

body.bot-home .feature-card .module-icon {
  margin-bottom: 18px;
}

body.bot-home .feature-tags li {
  padding: 4px 8px;
  border-radius: 6px;
  font-size: .68rem;
}

body.bot-home .final-cta {
  border-color: var(--line-strong);
  background: radial-gradient(ellipse at top, #ff8b3d14, transparent 70%), var(--surface);
}

/* Server selection */
.servers-page .page-heading {
  align-items: center;
  padding-block: clamp(36px, 6vw, 76px) 24px;
}

.servers-page .page-heading h1 {
  font-size: clamp(2rem, 4vw, 3.25rem);
}

.servers-page .page-heading p,
.servers-page .information-banner p {
  font-size: .9rem;
}

.servers-page .information-banner {
  gap: 12px;
  padding: 12px 16px;
  margin-bottom: 24px;
}

.servers-page .server-grid {
  gap: 16px;
  margin-bottom: 24px;
}

.servers-page .server-card {
  min-width: 0;
  padding: clamp(18px, 2.5vw, 26px);
  border-radius: 16px;
}

.servers-page .server-card:focus-within {
  border-color: var(--line-strong);
}

.servers-page .server-card-top {
  align-items: center;
  margin-bottom: 18px;
}

.servers-page .server-card .badge {
  max-width: 12rem;
  padding: 4px 9px;
  font-size: .72rem;
  font-weight: 700;
}

.servers-page .server-card p {
  margin-bottom: 20px;
  color: var(--text-soft);
  font-size: .875rem;
}

.servers-page .server-actions .button {
  justify-content: space-between;
}

.servers-page .server-secondary-action {
  display: flex;
  align-items: center;
  width: fit-content;
  min-height: 44px;
  color: var(--text-soft);
  font-size: .8rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.servers-page .server-secondary-action:hover {
  color: var(--orange);
}

.servers-page :is(.empty-state, .server-help) {
  padding: clamp(20px, 3vw, 32px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.servers-page .empty-state {
  width: 100%;
  max-width: none;
  margin: 0;
}

.servers-page .empty-state p {
  max-width: 50ch;
  margin-inline: auto;
}

.servers-page .server-help {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 28px;
  max-width: none;
  margin-bottom: 64px;
}

.servers-page .server-help h2 {
  margin-bottom: 8px;
}

.servers-page .server-help p {
  margin: 0;
  font-size: .875rem;
}

.servers-page :is(.page-heading, .server-help) .button {
  flex-shrink: 0;
}

@media (max-width: 960px) {
  body.bot-home .hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .bot-home .hero-preview {
    width: 100%;
    max-width: 580px;
    margin-inline: auto;
  }

  .servers-page .server-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .servers-page :is(.page-heading, .server-help) {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .servers-page .server-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .bot-home .hero-actions {
    display: grid;
  }

  .bot-home .hero-actions .button {
    justify-content: space-between;
    font-size: .875rem;
  }

  .bot-home .arena-preview-window .preview-footer {
    flex-wrap: wrap;
  }

  .bot-home .metrics-container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .bot-home .metric-card {
    padding: 14px;
    overflow-wrap: anywhere;
  }
}
