.feature-rich-page {
  background: #f8fafc;
  color: #334155;
}

html.theme-dark .feature-rich-page {
  background: #090d16;
  color: #cbd5e1;
}

.feature-rich-page .feature-hero {
  padding-top: 7rem;
  padding-bottom: 5rem;
  border-color: #e2e8f0 !important;
  background:
    radial-gradient(circle at 85% 12%, rgba(99, 102, 241, 0.16), transparent 34rem),
    linear-gradient(180deg, #eef2ff 0%, #f8fafc 58%, #f8fafc 100%);
}

html.theme-dark .feature-rich-page .feature-hero {
  border-color: rgba(30, 41, 59, 0.8) !important;
  background:
    radial-gradient(circle at 85% 10%, rgba(99, 102, 241, 0.28), transparent 34rem),
    linear-gradient(180deg, #0f172a 0%, #090d16 62%, #090d16 100%);
}

.feature-rich-page .feature-hero > .absolute {
  opacity: 0;
}

.feature-rich-page .feature-split-grid,
.feature-rich-page .feature-panel-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}

.feature-rich-page .feature-kicker {
  color: #4f46e5 !important;
  background: rgba(99, 102, 241, 0.1) !important;
  border-color: rgba(99, 102, 241, 0.22) !important;
}

html.theme-dark .feature-rich-page .feature-kicker {
  color: #a5b4fc !important;
}

.feature-rich-page .feature-section {
  background: #f8fafc !important;
  border-color: #e2e8f0 !important;
}

.feature-rich-page .feature-section-alt {
  background: #f1f5f9 !important;
  border-color: #e2e8f0 !important;
}

html.theme-dark .feature-rich-page .feature-section {
  background: #090d16 !important;
  border-color: #1e293b !important;
}

html.theme-dark .feature-rich-page .feature-section-alt {
  background: rgba(15, 23, 42, 0.62) !important;
  border-color: #1e293b !important;
}

.feature-rich-page .feature-card {
  background: #ffffff !important;
  border-color: #e2e8f0 !important;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05), 0 16px 34px rgba(15, 23, 42, 0.06) !important;
}

.feature-rich-page .feature-card:is(.p-4) {
  padding: 1.125rem !important;
}

.feature-rich-page .feature-card:is(.p-5) {
  padding: 1.375rem !important;
}

.feature-rich-page .feature-card:is(.p-6) {
  padding: 1.625rem !important;
}

.feature-rich-page .feature-card h3,
.feature-rich-page .feature-card h4,
.feature-rich-page .feature-card .text-white {
  color: #0f172a !important;
}

.feature-rich-page .feature-card p,
.feature-rich-page .feature-card .text-slate-300,
.feature-rich-page .feature-card .text-slate-400 {
  color: #475569 !important;
}

html.theme-dark .feature-rich-page .feature-card h3,
html.theme-dark .feature-rich-page .feature-card h4,
html.theme-dark .feature-rich-page .feature-card .text-white {
  color: #f8fafc !important;
}

html.theme-dark .feature-rich-page .feature-card p,
html.theme-dark .feature-rich-page .feature-card .text-slate-300 {
  color: #cbd5e1 !important;
}

html.theme-dark .feature-rich-page .feature-card .text-slate-400 {
  color: #94a3b8 !important;
}

.feature-rich-page .feature-card:hover {
  border-color: #c7d2fe !important;
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.08) !important;
}

html.theme-dark .feature-rich-page .feature-card {
  background: rgba(15, 23, 42, 0.88) !important;
  border-color: #263244 !important;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.24) !important;
}

html.theme-dark .feature-rich-page .feature-card:hover {
  border-color: rgba(99, 102, 241, 0.55) !important;
}

.feature-rich-page .step-number {
  width: 2.5rem !important;
  height: 2.5rem !important;
  border-radius: 0.75rem !important;
  font-size: 0.78rem !important;
  background: #eef2ff !important;
  color: #4f46e5 !important;
  border-color: #c7d2fe !important;
}

.feature-rich-page .feature-card .step-number {
  color: #4f46e5 !important;
}

.feature-rich-page .feature-card .step-number-emerald {
  color: #059669 !important;
}

html.theme-dark .feature-rich-page .feature-card .step-number {
  color: #a5b4fc !important;
}

html.theme-dark .feature-rich-page .feature-card .step-number-emerald {
  color: #6ee7b7 !important;
}

.feature-rich-page .step-number-emerald {
  background: #ecfdf5 !important;
  color: #059669 !important;
  border-color: #a7f3d0 !important;
}

html.theme-dark .feature-rich-page .step-number {
  background: rgba(99, 102, 241, 0.14) !important;
  color: #a5b4fc !important;
  border-color: rgba(99, 102, 241, 0.32) !important;
}

html.theme-dark .feature-rich-page .step-number-emerald {
  background: rgba(16, 185, 129, 0.14) !important;
  color: #6ee7b7 !important;
  border-color: rgba(16, 185, 129, 0.3) !important;
}

.feature-rich-page .feature-icon {
  width: 2.75rem !important;
  height: 2.75rem !important;
  border-radius: 0.75rem !important;
  font-size: 1rem !important;
  background: #eef2ff !important;
  color: #4f46e5 !important;
  flex: 0 0 2.75rem;
}

.feature-rich-page .feature-card .feature-icon {
  color: #4f46e5 !important;
}

.feature-rich-page .feature-card .feature-icon-emerald {
  color: #059669 !important;
}

html.theme-dark .feature-rich-page .feature-card .feature-icon {
  color: #a5b4fc !important;
}

html.theme-dark .feature-rich-page .feature-card .feature-icon-emerald {
  color: #6ee7b7 !important;
}

.feature-rich-page .feature-icon-emerald {
  background: #ecfdf5 !important;
  color: #059669 !important;
}

html.theme-dark .feature-rich-page .feature-icon {
  background: rgba(99, 102, 241, 0.14) !important;
  color: #a5b4fc !important;
}

html.theme-dark .feature-rich-page .feature-icon-emerald {
  background: rgba(16, 185, 129, 0.14) !important;
  color: #6ee7b7 !important;
}

.feature-rich-page .feature-code {
  background: #eef2ff !important;
  border-color: #c7d2fe !important;
  color: #4f46e5 !important;
  font-size: 0.6875rem !important;
  line-height: 1rem !important;
}

html.theme-dark .feature-rich-page .feature-code {
  background: rgba(30, 41, 59, 0.9) !important;
  border-color: #334155 !important;
  color: #a5b4fc !important;
}

.feature-rich-page .command-card button,
.feature-rich-page .feature-card > button {
  max-width: 100%;
  white-space: normal;
  text-align: left;
  overflow-wrap: anywhere;
}

.feature-rich-page .command-card button {
  background: #eef2ff !important;
  border-color: #c7d2fe !important;
  color: #4f46e5 !important;
  box-shadow: 0 8px 18px rgba(79, 70, 229, 0.08);
}

.feature-rich-page .command-card button:hover {
  background: #e0e7ff !important;
}

.feature-rich-page .command-card button svg {
  color: #6366f1 !important;
}

html.theme-dark .feature-rich-page .command-card button {
  background: rgba(49, 46, 129, 0.45) !important;
  border-color: rgba(99, 102, 241, 0.35) !important;
  color: #c7d2fe !important;
  box-shadow: none;
}

html.theme-dark .feature-rich-page .command-card button:hover {
  background: rgba(67, 56, 202, 0.48) !important;
}

.feature-rich-page .feature-panel {
  background: linear-gradient(90deg, #eef2ff, #ffffff, #ffffff) !important;
  border-color: #c7d2fe !important;
  box-shadow: 0 18px 45px rgba(79, 70, 229, 0.12) !important;
  border-radius: 1.25rem !important;
  padding: 2.25rem !important;
}

html.theme-dark .feature-rich-page .feature-panel {
  background: linear-gradient(90deg, rgba(49, 46, 129, 0.42), rgba(15, 23, 42, 0.94), rgba(15, 23, 42, 0.94)) !important;
  border-color: rgba(99, 102, 241, 0.35) !important;
}

.feature-rich-page .feature-panel-inner {
  background: #ffffff !important;
  border-color: #dbe4f0 !important;
  border-radius: 1rem !important;
  padding: 1.375rem !important;
  margin-left: auto;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.45), 0 14px 30px rgba(15, 23, 42, 0.08);
}

.feature-rich-page .feature-panel-inner > div:first-child {
  display: flex;
  justify-content: flex-end;
  color: #475569 !important;
  text-align: right;
}

html.theme-dark .feature-rich-page .feature-panel-inner {
  background: #0f172a !important;
  border-color: #263244 !important;
  box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.05), 0 18px 40px rgba(0, 0, 0, 0.25);
}

html.theme-dark .feature-rich-page .feature-panel-inner > div:first-child {
  color: #cbd5e1 !important;
}

.feature-rich-page .prefooter-cta {
  background: #111827 !important;
  border-color: #1f2937 !important;
}

html.theme-dark .feature-rich-page .prefooter-cta {
  background: #020617 !important;
  border-color: #1e293b !important;
}

html.theme-light .feature-rich-page :where(.text-white, .text-slate-200, .text-slate-300):not(.discord-preview *):not(.prefooter-cta *) {
  color: #0f172a !important;
}

html.theme-light .feature-rich-page :where(.text-slate-400, .text-slate-500):not(.discord-preview *):not(.prefooter-cta *) {
  color: #475569 !important;
}

html.theme-dark .feature-rich-page :where(.text-white):not(.discord-preview *) {
  color: #f8fafc !important;
}

html.theme-dark .feature-rich-page :where(.text-slate-300):not(.discord-preview *) {
  color: #cbd5e1 !important;
}

html.theme-dark .feature-rich-page :where(.text-slate-400):not(.discord-preview *) {
  color: #94a3b8 !important;
}

.feature-rich-page hr {
  border-color: #e2e8f0 !important;
}

html.theme-dark .feature-rich-page hr {
  border-color: #263244 !important;
}

.feature-rich-page .text-indigo-400:not(.discord-preview *) {
  color: #4f46e5 !important;
}

html.theme-dark .feature-rich-page .text-indigo-400:not(.discord-preview *) {
  color: #a5b4fc !important;
}

.feature-rich-page .prefooter-cta h2,
.feature-rich-page .prefooter-cta .text-white {
  color: #ffffff !important;
}

.feature-rich-page .prefooter-cta p,
.feature-rich-page .prefooter-cta .text-slate-300 {
  color: #cbd5e1 !important;
}

.feature-rich-page .discord-preview,
.feature-rich-page .discord-preview * {
  color-scheme: dark;
}

.feature-rich-page .discord-preview {
  color: #e5e7eb !important;
}

.feature-rich-page .discord-preview > div {
  background: rgba(15, 23, 42, 0.92) !important;
  border-color: #1e293b !important;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18), 0 0 35px -5px rgba(99, 102, 241, 0.2) !important;
}

.feature-rich-page .discord-preview .bg-discord-bg {
  background-color: #313338 !important;
}

.feature-rich-page .discord-preview .bg-discord-card {
  background-color: #2b2d31 !important;
}

.feature-rich-page .discord-preview .bg-discord-button {
  background-color: #383a40 !important;
}

.feature-rich-page .discord-preview .hover\:bg-discord-buttonHover:hover {
  background-color: #404249 !important;
}

.feature-rich-page .discord-preview .bg-discord-blurple {
  background-color: #5865f2 !important;
}

.feature-rich-page .discord-preview .text-white {
  color: #ffffff !important;
}

.feature-rich-page .discord-preview .text-slate-200 {
  color: #e5e7eb !important;
}

.feature-rich-page .discord-preview .text-slate-300 {
  color: #cbd5e1 !important;
}

.feature-rich-page .discord-preview .text-slate-400,
.feature-rich-page .discord-preview .text-slate-500 {
  color: #94a3b8 !important;
}

.feature-rich-page .discord-preview .bg-slate-950,
.feature-rich-page .discord-preview .bg-slate-950\/50,
.feature-rich-page .discord-preview .bg-slate-950\/80 {
  background-color: #0f172a !important;
}

.feature-rich-page .discord-preview .bg-indigo-950\/80 {
  background-color: rgba(49, 46, 129, 0.8) !important;
}

.feature-rich-page .discord-preview .bg-slate-900 {
  background-color: #111827 !important;
}

.feature-rich-page .discord-preview .bg-slate-900\/90 {
  background-color: rgba(15, 23, 42, 0.9) !important;
}

.feature-rich-page .discord-preview .border-slate-800 {
  border-color: #1e293b !important;
}

.feature-rich-page .discord-preview .border-slate-700\/60 {
  border-color: rgba(51, 65, 85, 0.6) !important;
}

.feature-rich-page .discord-preview .border-indigo-500\/30 {
  border-color: rgba(99, 102, 241, 0.3) !important;
}

.feature-rich-page .discord-preview .border-black\/30 {
  border-color: rgba(0, 0, 0, 0.3) !important;
}

.feature-rich-page .discord-preview button {
  color: inherit;
  white-space: nowrap;
}

.feature-rich-page .discord-preview button[disabled] {
  opacity: 1;
}

@media (min-width: 768px) {
  .feature-rich-page .feature-badges {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 36rem;
  }
}

@media (min-width: 1024px) {
  .feature-rich-page .feature-split-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }

  .feature-rich-page .feature-split-grid > :first-child,
  .feature-rich-page .feature-split-grid > .discord-preview,
  .feature-rich-page .feature-split-grid > .feature-card {
    grid-column: span 6 / span 6;
  }

  .feature-rich-page .feature-panel-grid {
    grid-template-columns: minmax(0, 2fr) minmax(18rem, 1fr);
  }

  .feature-rich-page .feature-panel-inner {
    justify-self: end;
    max-width: 24rem;
    width: 100%;
  }
}

@media (max-width: 640px) {
  .feature-rich-page .feature-hero {
    padding-top: 6rem;
    padding-bottom: 4rem;
  }

  .feature-rich-page .discord-preview > div {
    padding: 1rem !important;
  }
}
