html[data-theme="dark"] {
  --ryven-ink: #F3F0FF;
  --ryven-deep: #0B0A1A;
  --ryven-violet: #6555E8;
  --ryven-lavender: #C7BCFF;
  --ryven-paper: #141326;
  --ryven-line: #39364F;
  --ryven-muted: #C6C2D7;
  --ryven-white: #1A192D;
  --ryven-shadow: 0 22px 65px rgba(0, 0, 0, .32);
}

html[data-theme="dark"] body.ryven-page {
  color-scheme: dark;
  background: #0F0E1D !important;
  color: #F3F0FF !important;
}

html[data-theme="dark"] body.ryven-page :is(h1, h2, h3, h4, h5, h6),
html[data-theme="dark"] body.ryven-page :is(.ryven-wordmark, .ryven-navigation > a, .ryven-nav-dropdown > summary) {
  color: #F3F0FF !important;
}

html[data-theme="dark"] body.ryven-page p,
html[data-theme="dark"] body.ryven-page li,
html[data-theme="dark"] body.ryven-page label,
html[data-theme="dark"] body.ryven-page .ryven-detail-lead,
html[data-theme="dark"] body.ryven-page .ryven-detail-section-heading > p:last-child {
  color: #C6C2D7;
}

html[data-theme="dark"] body.ryven-page :is(.ryven-hero, .ryven-detail-hero, .ryven-web-audience, .ryven-contact, .ryven-opinions-hero) {
  background-color: #141326 !important;
  background-image: radial-gradient(ellipse at 85% 15%, rgba(101, 85, 232, .2), transparent 48%), linear-gradient(120deg, #141326, #18162F) !important;
}

html[data-theme="dark"] body.ryven-page :is(.ryven-section, .ryven-detail-section, .ryven-opinions, .ryven-pricing, .ryven-solutions) {
  background-color: #0F0E1D !important;
  background-image: none !important;
}

html[data-theme="dark"] body.ryven-page :is(.ryven-process, .ryven-detail-cta, .ryven-intro-strip) {
  background: #19172F !important;
  color: #F3F0FF !important;
}

html[data-theme="dark"] body.ryven-page :is(.ryven-header, .ryven-navigation, .ryven-dropdown-panel, .ryven-mega-panel) {
  background: #17162A !important;
  border-color: #39364F !important;
}

html[data-theme="dark"] body.ryven-page :is(.ryven-dropdown-panel a, .ryven-mega-panel a) {
  color: #E4E0F4 !important;
}

html[data-theme="dark"] body.ryven-page .ryven-menu-toggle {
  background: #211F39 !important;
  border-color: #494565 !important;
}

html[data-theme="dark"] body.ryven-page .ryven-menu-toggle > span:not(.visually-hidden) {
  background: #F3F0FF !important;
}

html[data-theme="dark"] body.ryven-page .ryven-topbar {
  background: #090817 !important;
  color: #F3F0FF !important;
}

html[data-theme="dark"] body.ryven-page :is(.ryven-solution-card, .ryven-plan-card, .ryven-reference-card, .ryven-includes-grid article, .ryven-agent-steps article, .ryven-process-steps article, .ryven-detail-plan, .ryven-opinion-card, .ryven-opinion-empty, .ryven-opinion-form, .ryven-contact-form, .ryven-audience-points article, .ryven-package-dialog, .ryven-opinions-empty, .ryven-product-switch) {
  background-color: #1A192D !important;
  border-color: #39364F !important;
  color: #F3F0FF !important;
  box-shadow: 0 18px 48px rgba(0, 0, 0, .2);
}

html[data-theme="dark"] body.ryven-page .ryven-plan-card-featured {
  background: #5142C9 !important;
  border-color: #897DFF !important;
}

html[data-theme="dark"] body.ryven-page :is(.ryven-plan-tier, .ryven-agent-steps article > span, .ryven-includes-grid article > span, .ryven-card-number) {
  background-color: #302B50;
  color: #D2CAFF !important;
}

html[data-theme="dark"] body.ryven-page :is(.ryven-eyebrow, .ryven-solution-copy .ryven-card-kicker, .ryven-reference-open, .ryven-inline-link, .ryven-opinions-back, .ryven-navigation a:hover, .ryven-dropdown-panel a:hover) {
  color: #C7BCFF !important;
}

html[data-theme="dark"] body.ryven-page :is(.ryven-nav-cta, .ryven-button-primary, .ryven-plan-card .ryven-plan-cta, .ryven-contact-form button) {
  color: #FFFFFF !important;
}

html[data-theme="dark"] body.ryven-page :is(.ryven-package-details, .ryven-package-details summary, .ryven-package-details-body, .ryven-package-modal-content, .ryven-package-modal-content p, .ryven-package-modal-content li) {
  border-color: #39364F !important;
  color: #E0DDED !important;
}

html[data-theme="dark"] body.ryven-page :is(.ryven-detail-plan .ryven-package-details-body li::before, .ryven-package-modal-content li::before, .ryven-package-details-body li::before, .ryven-nav-dropdown > summary::after) {
  color: #C7BCFF !important;
}

html[data-theme="dark"] body.ryven-page :is(.ryven-contact-form input, .ryven-contact-form textarea, .ryven-contact-form select, .ryven-page input, .ryven-page textarea, .ryven-page select) {
  background-color: #111020 !important;
  border-color: #45415E !important;
  color: #F3F0FF !important;
  caret-color: #C7BCFF;
}

html[data-theme="dark"] body.ryven-page :is(input, textarea, select)::placeholder {
  color: #AAA6BC !important;
  opacity: 1;
}

html[data-theme="dark"] body.ryven-page select option {
  background: #17162A;
  color: #F3F0FF;
}

html[data-theme="dark"] body.ryven-page .ryven-contact-form select[name="product"] {
  appearance: none !important;
  -webkit-appearance: none !important;
  color-scheme: dark;
  background-color: #111020 !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%23C6C2D7' stroke-width='1.8'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 14px center !important;
  background-size: 12px 8px !important;
  padding-right: 40px !important;
  color: #F3F0FF !important;
}

html[data-theme="dark"] body.ryven-page .ryven-contact-form select[name="product"] option {
  background: #17162A !important;
  color: #F3F0FF !important;
}

html[data-theme="dark"] body.ryven-page .ryven-opinion-empty {
  background: #1A192D !important;
  border-color: #39364F !important;
  color: #F3F0FF !important;
}

html[data-theme="dark"] body.ryven-page .ryven-opinion-empty-mark {
  background: #302B50 !important;
  color: #D2CAFF !important;
}

html[data-theme="dark"] body.ryven-page .ryven-opinion-empty p {
  color: #C6C2D7 !important;
}

html[data-theme="dark"] body.ryven-page :is(.ryven-plan-price, .ryven-plan-capacity, .ryven-detail-plan .ryven-plan-price, .ryven-detail-plan .ryven-plan-capacity, .ryven-contact-form label) {
  color: #E2DFF0 !important;
}

html[data-theme="dark"] body.ryven-page .ryven-plan-card-featured :is(p, li, .ryven-plan-price, .ryven-plan-capacity, .ryven-plan-tier) {
  color: #FFFFFF !important;
}

html[data-theme="dark"] body.ryven-page :is(.ryven-footer, .ryven-footer-main, .ryven-footer-bottom) {
  background: #090817 !important;
  border-color: #343149 !important;
}

html[data-theme="dark"] body.ryven-page :is(.ryven-package-dialog, .ryven-image-dialog) {
  background: #1A192D !important;
  border-color: #45415E !important;
  color: #F3F0FF !important;
}

html[data-theme="dark"] body.ryven-page :is(.ryven-package-dialog, .ryven-image-dialog)::backdrop {
  background: rgba(3, 3, 12, .82) !important;
}

html[data-theme="dark"] body.ryven-page :is(.ryven-package-modal-close, .ryven-image-dialog-close) {
  background: #282541 !important;
  border-color: #4A4569 !important;
  color: #E5E0FF !important;
}

html[data-theme="dark"] body.ryven-page .ryven-opinion-stars {
  color: #FFD36A !important;
}

html[data-theme="dark"] body.ryven-page :focus-visible {
  outline-color: #C7BCFF !important;
}

html[data-theme="dark"] body.ryven-page ::selection {
  background: #6555E8;
  color: #FFFFFF;
}

.ryven-theme-toggle {
  display: inline-grid;
  flex: 0 0 34px;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .38);
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  color: #FFFFFF;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.ryven-theme-toggle:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, .17);
  border-color: rgba(255, 255, 255, .72);
}

.ryven-theme-toggle:focus-visible {
  outline: 2px solid #C7BCFF;
  outline-offset: 3px;
}

.ryven-theme-toggle svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.ryven-theme-toggle [data-theme-sun] {
  display: none;
}

html[data-theme="dark"] .ryven-theme-toggle [data-theme-moon] {
  display: none;
}

html[data-theme="dark"] .ryven-theme-toggle [data-theme-sun] {
  display: block;
}

@media (max-width: 540px) {
  .ryven-theme-toggle {
    width: 31px;
    height: 31px;
    flex-basis: 31px;
  }
}

@media (max-width: 360px) {
  body.ryven-page .ryven-topbar-inner {
    justify-content: flex-end;
  }

  body.ryven-page .ryven-topbar-inner > p {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ryven-theme-toggle {
    transition: none;
  }
}

.ryven-header .ryven-theme-toggle {
  background: #F8F7FC;
  border-color: #E7E4F2;
  color: #11142D;
}

.ryven-header .ryven-theme-toggle:hover {
  background: #EFEDFB;
  border-color: #6555E8;
}

html[data-theme="dark"] body.ryven-page .ryven-header .ryven-theme-toggle {
  background: #282541;
  border-color: #4A4569;
  color: #F3F0FF;
}

@media (max-width: 800px) {
  body.ryven-page .ryven-wordmark { order: 1; }
  body.ryven-page .ryven-nav-cta { order: 2; }
  body.ryven-page .ryven-theme-toggle { order: 3; }
  body.ryven-page .ryven-menu-toggle { order: 4; }
}

@media (max-width: 360px) {
  body.ryven-page .ryven-nav-wrap { gap: 7px; }
  body.ryven-page .ryven-wordmark { gap: 6px; font-size: 19px; }
  body.ryven-page .ryven-nav-cta { display: none; }
  body.ryven-page .ryven-menu-toggle { width: 36px; height: 36px; }
}@media (min-width: 801px) {
  body.ryven-page .ryven-nav-wrap > .ryven-theme-toggle {
    margin-left: auto;
  }
}
html[data-theme="dark"] body.ryven-page .ryven-product-switch button:not(.is-active) {
  color: #E7E3F5 !important;
}

html[data-theme="dark"] body.ryven-page .ryven-product-switch button.is-active {
  background: #6555E8 !important;
  color: #FFFFFF !important;
}

html[data-theme="dark"] body.ryven-page .ryven-plan-grid .ryven-plan-card .ryven-plan-price .ryven-price-value,
html[data-theme="dark"] body.ryven-page .ryven-plan-grid .ryven-plan-card .ryven-plan-price .ryven-price-period,
html[data-theme="dark"] body.ryven-page .ryven-plan-grid .ryven-plan-card .ryven-plan-capacity,
html[data-theme="dark"] body.ryven-page .ryven-plan-grid .ryven-plan-card ul li {
  color: #F3F0FF !important;
}

html[data-theme="dark"] body.ryven-page .ryven-plan-grid .ryven-plan-card ul li::before {
  color: #C7BCFF !important;
}

html[data-theme="dark"] body.ryven-page .ryven-plan-card-featured {
  background: #5142C9 !important;
  border-color: #9B8DFF !important;
}

html[data-theme="dark"] body.ryven-page .ryven-detail-plan .ryven-plan-price .ryven-price-value,
html[data-theme="dark"] body.ryven-page .ryven-detail-plan .ryven-plan-price .ryven-price-period,
html[data-theme="dark"] body.ryven-page .ryven-detail-plan .ryven-plan-capacity,
html[data-theme="dark"] body.ryven-page .ryven-detail-plan ul li {
  color: #F3F0FF !important;
}

html[data-theme="dark"] body.ryven-page .ryven-detail-plan ul li::before {
  color: #C7BCFF !important;
}

/* The showcase section is also the width-limited content shell. Extend its
   surface to the viewport edges while keeping its content aligned to the grid. */
html[data-theme="dark"] body.ryven-page #muestrario.ryven-detail-section {
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding-inline: max(24px, calc((100vw - 1200px) / 2));
  background: #0F0E1D !important;
}

/* Detail sections use a centered .ryven-shell as their section element.
   Paint a full-viewport backdrop so no white gutters remain at either side. */
html[data-theme="dark"] body.ryven-page .ryven-detail-section {
  position: relative;
  isolation: isolate;
}

html[data-theme="dark"] body.ryven-page .ryven-detail-section::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset-block: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  background: #0F0E1D;
  pointer-events: none;
}

html[data-theme="dark"] body.ryven-page .ryven-reference-open {
  background: #5142C9 !important;
  border-color: #897DFF !important;
  color: #FFFFFF !important;
}

html[data-theme="dark"] body.ryven-page .ryven-reference-open:hover,
html[data-theme="dark"] body.ryven-page .ryven-reference-open:focus-visible {
  background: #6555E8 !important;
  border-color: #B0A5FF !important;
  color: #FFFFFF !important;
}

@media (max-width: 540px) {
  html[data-theme="dark"] body.ryven-page #muestrario.ryven-detail-section {
    padding-inline: 16px;
  }
}

html[data-theme="dark"] body.ryven-page .ryven-detail-includes { background: #0F0E1D !important; color: #F3F0FF !important; }
html[data-theme="dark"] body.ryven-page .ryven-detail-includes .ryven-detail-section-heading h2 { color: #F3F0FF !important; }
