/* ==========================================================================
   Aurora — Studio finish layer
   A quieter, editorial design pass. Loaded after the theme layers and before
   the admin colour block, so every accent still comes from Admin settings.
   No markup, no behaviour, no backend changes.
   ========================================================================== */

:root,
[data-theme="light"] {
  --ui-page: #fbfbfc;
  --ui-surface: #ffffff;
  --ui-surface-2: #f5f7fa;
  --ui-ink: #101828;
  --ui-ink-2: #344054;
  --ui-muted: #667085;
  --ui-line: #e6e9ee;
  --ui-line-strong: #d3d9e2;
  --ui-brand: var(--a-brand, #437bd4);
  --ui-brand-deep: var(--a-brand-2, #1e33a7);
  --ui-tint: rgba(var(--a-brand-rgb, 67, 123, 212), .07);
  --ui-tint-2: rgba(var(--a-brand-rgb, 67, 123, 212), .12);
  --ui-line-brand: rgba(var(--a-brand-rgb, 67, 123, 212), .28);
  --ui-radius: 14px;
  --ui-radius-sm: 9px;
  --ui-shadow-sm: 0 1px 2px rgba(16, 24, 40, .04);
  --ui-shadow: 0 10px 30px rgba(16, 24, 40, .07);
  --ui-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --ui-display: 'Plus Jakarta Sans', 'Inter', sans-serif;
  --ui-label: 'Space Grotesk', 'Inter', sans-serif;
}

[data-theme="dark"] {
  --ui-page: #0c1118;
  --ui-surface: #131a23;
  --ui-surface-2: #18212c;
  --ui-ink: #e8eef6;
  --ui-ink-2: #c2ccd9;
  --ui-muted: #94a1b2;
  --ui-line: rgba(255, 255, 255, .1);
  --ui-line-strong: rgba(255, 255, 255, .18);
  --ui-tint: rgba(var(--a-brand-rgb, 67, 123, 212), .16);
  --ui-tint-2: rgba(var(--a-brand-rgb, 67, 123, 212), .24);
  --ui-shadow-sm: 0 1px 2px rgba(0, 0, 0, .2);
  --ui-shadow: 0 12px 32px rgba(0, 0, 0, .28);
}

/* --------------------------------------------------------------------------
   1. Typography and canvas
   -------------------------------------------------------------------------- */
html {
  scroll-behavior: smooth;
}

body {
  background: var(--ui-page);
  color: var(--ui-ink);
  font-family: var(--ui-font);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--ui-ink);
  font-family: var(--ui-display);
  font-weight: 700;
  letter-spacing: -.038em;
  line-height: 1.14;
  margin: 0 0 12px;
}

h1 { font-size: clamp(38px, 5vw, 64px); }
h2 { font-size: clamp(28px, 3.4vw, 44px); }
h3 { font-size: clamp(20px, 2vw, 26px); }
h4 { font-size: 18px; }

p { color: var(--ui-muted); margin: 0 0 16px; }

a { color: var(--ui-brand-deep); text-decoration: none; }
a:hover { color: var(--ui-brand); }

::selection {
  background: rgba(var(--a-brand-rgb, 67, 123, 212), .16);
  color: var(--ui-ink);
}

:focus-visible {
  outline: 2px solid var(--ui-brand);
  outline-offset: 3px;
}

.aurora-container,
.hero__container {
  width: min(1200px, calc(100% - 40px));
  margin-inline: auto;
}

/* Eyebrows and section headers */
.aurora-eyebrow,
.services__label,
.videos__label,
.wwd__label,
.tech__label,
.reviews__label,
.portfolio__label,
.team__label,
.why__eyebrow {
  color: var(--ui-muted);
  font-family: var(--ui-label);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  line-height: 1.4;
  text-transform: uppercase;
}

.aurora-section-title,
.videos__heading,
.wwd__heading,
.tech__heading,
.reviews__heading,
.portfolio__heading,
.team__heading,
.why__title,
.hero__title {
  color: var(--ui-ink);
  font-family: var(--ui-display);
  font-weight: 750;
  letter-spacing: -.045em;
  line-height: 1.1;
}

.aurora-section-sub,
.videos__sub,
.wwd__sub,
.tech__sub,
.reviews__sub,
.portfolio__sub,
.team__sub,
.aurora-hero__subtitle,
.hero__subtitle {
  color: var(--ui-muted);
  font-size: 16px;
  line-height: 1.7;
  max-width: 62ch;
}

.aurora-section-head,
.videos__head,
.wwd__head,
.tech__head,
.reviews__head,
.portfolio__head,
.team__head {
  margin-bottom: 28px;
}

/* --------------------------------------------------------------------------
   2. Buttons, controls, inputs
   -------------------------------------------------------------------------- */
.aurora-btn,
.hero__cta,
.nav__cta,
.aurora-backtop,
.rs-cta__btn {
  align-items: center;
  border: 1px solid transparent;
  border-radius: var(--ui-radius-sm);
  box-shadow: none;
  display: inline-flex;
  font-family: var(--ui-font);
  font-size: 14px;
  font-weight: 600;
  gap: 8px;
  justify-content: center;
  line-height: 1.2;
  min-height: 44px;
  padding: 11px 18px;
  text-decoration: none;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}

.aurora-btn:hover,
.aurora-btn:focus-visible,
.hero__cta:hover,
.hero__cta:focus-visible {
  transform: none;
}

.aurora-btn--primary,
.hero__cta--primary,
.rs-cta__btn--primary {
  background: var(--ui-brand);
  border-color: var(--ui-brand);
  color: #fff;
}

.aurora-btn--primary:hover,
.aurora-btn--primary:focus-visible,
.hero__cta--primary:hover,
.hero__cta--primary:focus-visible,
.rs-cta__btn--primary:hover {
  background: var(--ui-brand-deep);
  border-color: var(--ui-brand-deep);
  color: #fff;
}

.aurora-btn--ghost,
.hero__cta--secondary {
  background: var(--ui-surface);
  border-color: var(--ui-line-strong);
  color: var(--ui-ink);
}

.aurora-btn--ghost:hover,
.hero__cta--secondary:hover {
  background: var(--ui-surface-2);
  border-color: var(--ui-line-brand);
  color: var(--ui-ink);
}

.aurora-btn--light {
  background: var(--ui-surface);
  border-color: var(--ui-line);
  color: var(--ui-ink);
}

.aurora-btn--sm {
  min-height: 38px;
  padding: 8px 14px;
}

.aurora-input,
.form-control,
.drawer-search input,
.aurora-products-search input {
  background: var(--ui-surface);
  border: 1px solid var(--ui-line-strong);
  border-radius: var(--ui-radius-sm);
  color: var(--ui-ink);
  font-family: var(--ui-font);
  font-size: 14px;
}

.aurora-input::placeholder,
.form-control::placeholder,
.drawer-search input::placeholder {
  color: var(--ui-muted);
}

.aurora-input:focus,
.form-control:focus,
.drawer-search input:focus {
  border-color: var(--ui-brand);
  box-shadow: 0 0 0 3px rgba(var(--a-brand-rgb, 67, 123, 212), .12);
  outline: none;
}

.aurora-badge,
.hero__badge,
.portfolio__badge,
.reviews__tag {
  border: 1px solid var(--ui-line);
  border-radius: 999px;
  background: var(--ui-surface);
  color: var(--ui-muted);
  font-family: var(--ui-label);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.aurora-badge__dot,
.hero__badge-dot,
.portfolio__badge::before {
  background: var(--ui-brand);
}

/* --------------------------------------------------------------------------
   3. Header, mega menu and mobile drawer
   -------------------------------------------------------------------------- */
.site-header {
  background: var(--ui-surface);
  border-bottom: 1px solid var(--ui-line);
}

.site-header.is-scrolled {
  background: var(--ui-surface);
  border-bottom-color: var(--ui-line);
  box-shadow: var(--ui-shadow-sm);
}

.site-header__wrap {
  max-width: 1200px;
}

.brand__logo {
  max-height: 34px;
}

.primary-nav__list {
  gap: 4px;
}

.nav__link {
  color: var(--ui-ink-2);
  font-family: var(--ui-font);
  font-size: 14px;
  font-weight: 550;
  letter-spacing: -.005em;
}

.nav__link:hover,
.nav__link:focus-visible,
.nav__link.is-active {
  color: var(--ui-brand-deep);
}

.nav__link::after {
  background: var(--ui-brand);
  border-radius: 2px;
  height: 2px;
}

.tool,
.aurora-icon-btn {
  background: var(--ui-surface);
  border: 1px solid var(--ui-line);
  border-radius: 10px;
  color: var(--ui-ink-2);
}

.tool:hover,
.tool[aria-expanded="true"],
.aurora-icon-btn:hover {
  background: var(--ui-surface-2);
  border-color: var(--ui-line-strong);
  color: var(--ui-brand-deep);
}

.header-tools__divider {
  background: var(--ui-line);
}

.mega__panel {
  background: var(--ui-surface);
  border: 1px solid var(--ui-line);
  border-radius: var(--ui-radius);
  box-shadow: 0 18px 48px rgba(16, 24, 40, .12);
}

.mega__eyebrow {
  color: var(--ui-brand-deep);
  font-family: var(--ui-label);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.mega__lead {
  color: var(--ui-muted);
  font-size: 14px;
}

.mega__card {
  background: var(--ui-surface);
  border: 1px solid var(--ui-line);
  border-radius: 11px;
}

.mega__card-link:hover,
.mega__card-link:focus-visible {
  background: var(--ui-tint);
  border-color: var(--ui-line-brand);
}

.mega__icon {
  background: var(--ui-tint);
  border-radius: 9px;
  color: var(--ui-brand-deep);
}

.mega__title { color: var(--ui-ink); font-weight: 600; }
.mega__desc { color: var(--ui-muted); font-size: 12.5px; }
.mega__arrow { color: var(--ui-brand); }
.mega__foot { border-top: 1px solid var(--ui-line); }
.mega__foot a { color: var(--ui-brand-deep); font-weight: 600; }

.nav__cta::before {
  display: none;
}

.drawer-backdrop {
  background: rgba(16, 24, 40, .46);
}

.mobile-menu {
  background: var(--ui-surface);
  border-inline-end: 1px solid var(--ui-line);
  box-shadow: 14px 0 40px rgba(16, 24, 40, .14);
}

.mobile-menu__head {
  border-bottom: 1px solid var(--ui-line);
}

.mobile-menu__close {
  border-radius: 9px;
  color: var(--ui-muted);
}

.drawer-search {
  background: var(--ui-surface-2);
  border-color: var(--ui-line);
  border-radius: 10px;
}

.drawer-nav__link,
.drawer-nav__toggle {
  border-radius: 10px;
  color: var(--ui-ink);
  font-family: var(--ui-font);
  font-size: 15px;
  font-weight: 550;
}

.drawer-nav__link:hover,
.drawer-nav__toggle:hover,
.drawer-nav__link.is-active,
.drawer-nav__toggle.is-active {
  background: var(--ui-tint);
  color: var(--ui-brand-deep);
}

.drawer-nav__icon,
.drawer-sub__icon {
  color: var(--ui-brand-deep);
}

.drawer-sub {
  background: var(--ui-surface-2);
  border-radius: 10px;
}

.drawer-sub a { border-radius: 9px; }
.drawer-sub__title { color: var(--ui-ink); font-weight: 600; }
.drawer-sub__desc { color: var(--ui-muted); }
.drawer-account { border-top: 1px solid var(--ui-line); padding-top: 16px; }

/* --------------------------------------------------------------------------
   4. Hero
   -------------------------------------------------------------------------- */
.hero,
.aurora-hero {
  padding-block: 64px;
}

.hero__title,
.aurora-hero__title {
  font-size: clamp(42px, 5.2vw, 66px);
  letter-spacing: -.05em;
  line-height: 1.06;
  max-width: 15ch;
}

.hero__title-mark,
.aurora-gradient-text {
  -webkit-text-fill-color: var(--ui-brand-deep);
  background: none;
  color: var(--ui-brand-deep);
}

.hero__subtitle,
.aurora-hero__subtitle {
  margin-top: 18px;
  max-width: 54ch;
}

.hero__actions,
.aurora-hero__actions {
  gap: 12px;
  margin-top: 26px;
}

.hero__badge,
.aurora-badge {
  padding: 7px 13px;
}

.hero__stats,
.aurora-hero__stats {
  border-top: 1px solid var(--ui-line);
  gap: 26px;
  margin-top: 30px;
  padding-top: 18px;
}

.hero__stat strong,
.aurora-stat strong {
  color: var(--ui-ink);
  font-family: var(--ui-display);
  font-size: 21px;
  font-weight: 750;
  letter-spacing: -.03em;
}

.hero__stat span,
.aurora-stat span {
  color: var(--ui-muted);
  font-size: 12px;
}

.hero__float-card,
.aurora-float-card {
  background: var(--ui-surface);
  border: 1px solid var(--ui-line);
  border-radius: 12px;
  box-shadow: var(--ui-shadow-sm);
}

/* Hero platform cards — real icons with admin-controlled accents. */
.hero__float-icon {
  font-size: 18px;
  line-height: 1;
}

.hero__float-icon svg,
.hero__float-icon i {
  display: inline-block;
  height: 18px;
  line-height: 18px;
  width: 18px;
}

.hero__float-card[data-accent="green"] .hero__float-icon,
.hero__float-card[data-accent="cyan"] .hero__float-icon,
[data-theme="light"] .hero__float-card[data-accent="green"] .hero__float-icon,
[data-theme="light"] .hero__float-card[data-accent="cyan"] .hero__float-icon {
  background: rgba(var(--a-brand-rgb), .12);
  border-color: rgba(var(--a-brand-rgb), .28);
  color: var(--a-brand);
}

.hero__float-card[data-accent="brand"] .hero__float-icon,
.hero__float-card[data-accent="amber"] .hero__float-icon,
[data-theme="light"] .hero__float-card[data-accent="brand"] .hero__float-icon,
[data-theme="light"] .hero__float-card[data-accent="amber"] .hero__float-icon {
  background: rgba(var(--a-brand-2-rgb), .12);
  border-color: rgba(var(--a-brand-2-rgb), .28);
  color: var(--a-brand-2);
}

.hero__media-frame,
.hero__stage {
  border: 1px solid var(--ui-line);
  border-radius: 18px;
  box-shadow: var(--ui-shadow);
  overflow: hidden;
}

/* --------------------------------------------------------------------------
   5. Home sections
   -------------------------------------------------------------------------- */
.aurora-home-sections .aurora-section {
  padding-block: 56px;
}

.aurora-home-sections .aurora-section--tight {
  padding-block: 40px;
}

.clients__heading {
  color: var(--ui-muted);
  font-family: var(--ui-label);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.clients__logo,
.clients__wordmark {
  color: var(--ui-muted);
  filter: grayscale(1);
  opacity: .78;
}

.clients__item:hover .clients__logo,
.clients__item:hover .clients__wordmark {
  filter: none;
  opacity: 1;
}

.videos__playlist-head {
  color: var(--ui-muted);
  font-family: var(--ui-label);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.videos__stage,
.videos__video,
.videos__player {
  border: 1px solid var(--ui-line);
  border-radius: 16px;
}

.videos__item,
.videos__list {
  border-color: var(--ui-line);
}

.videos__item {
  background: var(--ui-surface);
  border-radius: 11px;
}

.videos__item.is-active,
.videos__item:hover {
  border-color: var(--ui-line-brand);
  background: var(--ui-tint);
}

.wwd__card,
.reviews__card,
.tech__item,
.team__card,
.portfolio__card,
.aurora-card,
.aurora-product {
  background: var(--ui-surface);
  border: 1px solid var(--ui-line);
  border-radius: var(--ui-radius);
  box-shadow: var(--ui-shadow-sm);
  color: var(--ui-ink);
}

.wwd__card:hover,
.reviews__card:hover,
.tech__item:hover,
.team__card:hover,
.portfolio__card:hover,
.aurora-card:hover,
.aurora-product:hover {
  border-color: var(--ui-line-brand);
  box-shadow: var(--ui-shadow);
}

.wwd__icon,
.team__chip,
.portfolio__badge {
  background: var(--ui-tint);
  border-color: var(--ui-line-brand);
  color: var(--ui-brand-deep);
}

.wwd__card-title,
.aurora-product__title,
.team__card-name,
.reviews__name {
  color: var(--ui-ink);
  font-family: var(--ui-display);
  font-weight: 650;
  letter-spacing: -.02em;
}

.wwd__price,
.aurora-product__price {
  color: var(--ui-brand-deep);
  font-family: var(--ui-display);
  font-weight: 750;
  letter-spacing: -.03em;
}

.tech__name {
  color: var(--ui-ink-2);
  font-family: var(--ui-label);
}

.tech__item:hover .tech__name {
  color: var(--ui-brand-deep);
}

.reviews__text,
.wwd__desc,
.team__card-role,
.aurora-product__meta {
  color: var(--ui-muted);
}

.reviews__star-fill { fill: #e8a53c; }
.reviews__star-base { fill: var(--ui-line); }

.why__td,
.why__th {
  border-bottom: 1px solid var(--ui-line);
}

.why__mark {
  background: var(--ui-tint);
  color: var(--ui-brand-deep);
}

/* --------------------------------------------------------------------------
   6. Products, search and detail
   -------------------------------------------------------------------------- */
.aurora-products-search,
.aurora-products-search form {
  background: var(--ui-surface);
  border: 1px solid var(--ui-line);
  border-radius: var(--ui-radius);
}

.aurora-products-search input {
  min-height: 46px;
}

.aurora-product__thumb,
.aurora-detail__media,
.aurora-detail__thumb {
  border-radius: 11px;
}

.aurora-product__badge {
  background: var(--ui-surface);
  border: 1px solid var(--ui-line);
  color: var(--ui-brand-deep);
  font-family: var(--ui-label);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.license-card,
.price-license-card,
[data-license-option] {
  background: var(--ui-surface);
  border: 1px solid var(--ui-line);
  border-radius: var(--ui-radius);
}

.license-card.is-selected,
.price-license-card.is-selected,
[data-license-option].is-selected,
[data-license-option][aria-checked="true"] {
  border-color: var(--ui-brand);
  background: var(--ui-tint);
  box-shadow: 0 0 0 3px rgba(var(--a-brand-rgb, 67, 123, 212), .1);
}

.license-card li,
.price-license-card li,
[data-license-option] li {
  color: var(--ui-ink-2);
}

.aurors-detail__title,
.aurora-detail__title {
  font-size: clamp(30px, 3.6vw, 46px);
}

/* --------------------------------------------------------------------------
   7. CTA, newsletter, footer
   -------------------------------------------------------------------------- */
.cta-band {
  background: var(--ui-surface);
  border: 1px solid var(--ui-line);
  border-radius: var(--ui-radius);
  box-shadow: var(--ui-shadow-sm);
}

.cta-band::before {
  background: var(--ui-brand);
  width: 3px;
}

.rs-cta {
  border-radius: 18px;
}

.rs-cta__copy h2 {
  letter-spacing: -.04em;
}

.rs-cta__btn--ghost {
  border-color: rgba(255, 255, 255, .42);
  color: #fff;
}

.rs-cta__btn--ghost:hover {
  background: rgba(255, 255, 255, .12);
  color: #fff;
}

.aurora-home-sections .aurora-newsletter {
  background: var(--ui-surface);
  border: 1px solid var(--ui-line);
  border-radius: var(--ui-radius);
}

.aurora-newsletter h2 {
  color: var(--ui-ink);
  letter-spacing: -.035em;
}

.aurora-footer {
  background: var(--ui-surface);
  border-top: 1px solid var(--ui-line);
  margin-top: 40px;
}

.aurora-footer__top {
  padding-block: 40px 28px;
}

.aurora-footer__col h5 {
  color: var(--ui-ink);
  font-family: var(--ui-label);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.aurora-footer__col a,
.aurora-footer__bottom a {
  color: var(--ui-muted);
  font-size: 14px;
}

.aurora-footer__col a:hover,
.aurora-footer__bottom a:hover {
  color: var(--ui-brand-deep);
}

.aurora-footer__socials a {
  background: var(--ui-surface-2);
  border: 1px solid var(--ui-line);
  border-radius: 9px;
  color: var(--ui-muted);
}

.aurora-footer__socials a:hover {
  border-color: var(--ui-line-brand);
  color: var(--ui-brand-deep);
}

.aurora-footer__bottom {
  border-top: 1px solid var(--ui-line);
}

/* --------------------------------------------------------------------------
   8. Auth, user pages and reseller sidebar
   -------------------------------------------------------------------------- */
.aurora-auth__card,
.rs-auth__card,
.rs-apply__card,
.rs-pay__card {
  background: var(--ui-surface);
  border: 1px solid var(--ui-line);
  border-radius: 18px;
  box-shadow: var(--ui-shadow);
}

.aurora-auth h1,
.aurora-auth h2,
.rs-auth h1,
.rs-auth h2,
.rs-apply h1,
.rs-apply h2 {
  font-family: var(--ui-display);
  letter-spacing: -.04em;
}

.rs-sidebar {
  background: var(--ui-surface);
  border-inline-end: 1px solid var(--ui-line);
}

.rs-sidebar__brand {
  border-bottom: 1px solid var(--ui-line);
}

.rs-sidebar__brand-text strong {
  color: var(--ui-ink);
  font-family: var(--ui-display);
  letter-spacing: -.02em;
}

.rs-sidebar__brand-text small { color: var(--ui-muted); }

.rs-sidebar__footer {
  border-top: 1px solid var(--ui-line);
}

.rs-sidebar__logout {
  border-radius: 9px;
  color: var(--ui-muted);
}

.rs-sidebar__logout:hover {
  background: var(--ui-surface-2);
  color: var(--ui-ink);
}

/* --------------------------------------------------------------------------
   9. Responsive finishing
   -------------------------------------------------------------------------- */
@media (min-width: 992px) {
  .hero__grid,
  .aurora-hero__grid {
    gap: 56px;
  }

  .hero__content,
  .aurora-hero__content {
    max-width: 620px;
  }
}

@media (max-width: 991px) {
  .site-header__wrap {
    gap: 16px;
  }

  .aurora-footer__grid {
    gap: 28px;
  }
}

@media (max-width: 767px) {
  .aurora-container,
  .hero__container {
    width: min(100% - 32px, 720px);
  }

  body {
    font-size: 14.5px;
  }

  h2,
  .aurora-section-title,
  .videos__heading,
  .wwd__heading,
  .tech__heading,
  .reviews__heading,
  .portfolio__heading,
  .team__heading {
    font-size: clamp(26px, 7vw, 34px);
  }

  .hero__title,
  .aurora-hero__title {
    font-size: clamp(36px, 9vw, 48px);
    max-width: none;
  }

  .hero__subtitle,
  .aurora-hero__subtitle,
  .aurora-section-sub,
  .videos__sub,
  .wwd__sub,
  .tech__sub,
  .reviews__sub {
    font-size: 14.5px;
    max-width: none;
  }

  .aurora-btn,
  .hero__cta {
    min-height: 42px;
    padding: 10px 15px;
  }

  .aurora-home-sections .aurora-section {
    padding-block: 36px;
  }

  .aurora-home-sections .aurora-section--tight {
    padding-block: 28px;
  }

  .aurora-section-head,
  .videos__head,
  .wwd__head,
  .tech__head,
  .reviews__head,
  .portfolio__head,
  .team__head {
    margin-bottom: 20px;
  }

  .aurora-footer__top {
    padding-block: 28px 20px;
  }

  .rs-cta {
    border-radius: 14px;
  }
}

@media (max-width: 575px) {
  .aurora-container,
  .hero__container {
    width: calc(100% - 28px);
  }

  .hero__actions,
  .aurora-hero__actions {
    gap: 10px;
  }

  .hero__stats,
  .aurora-hero__stats {
    gap: 16px 20px;
  }
}

/* --------------------------------------------------------------------------
   10. Inner pages — products, detail, blog, dashboard, every page
   -------------------------------------------------------------------------- */
.aurora-page-hero {
  background: var(--ui-surface);
  border-bottom: 1px solid var(--ui-line);
  padding-block: 44px;
  text-align: start;
}

.aurora-page-hero h1 {
  font-size: clamp(30px, 3.4vw, 42px);
  font-weight: 750;
  letter-spacing: -.045em;
}

.aurora-page-hero p {
  font-size: 15px;
  line-height: 1.65;
  margin: 6px 0 0;
  max-width: 62ch;
}

.aurora-page-hero.products-hero {
  padding-block: 36px;
}

.products-hero__inner {
  gap: 18px 28px;
}

.products-hero__copy .aurora-eyebrow {
  color: var(--ui-brand-deep);
  font-family: var(--ui-label);
  font-size: 11px;
  letter-spacing: .14em;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.products-hero__tools {
  gap: 12px;
}

.aurora-products-search {
  background: var(--ui-surface);
  border: 1px solid var(--ui-line);
  border-radius: 12px;
  box-shadow: var(--ui-shadow-sm);
  gap: 6px;
  max-width: 440px;
  padding: 4px;
}

.aurora-products-search .aurora-input {
  min-height: 40px;
  padding-inline-start: 34px;
}

.aurora-products-search .aurora-btn {
  min-height: 38px;
}

.aurora-products-search-clear {
  color: var(--ui-brand-deep);
  font-family: var(--ui-label);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.products-section {
  padding-block: 28px 40px;
}

.products-section .aurora-products {
  --bs-gutter-y: 20px;
}

.products-section .aurora-card {
  border: 1px solid var(--ui-line);
  border-radius: 16px;
  box-shadow: var(--ui-shadow-sm);
  transition: border-color .18s ease, box-shadow .18s ease;
}

.products-section .aurora-card:hover {
  border-color: var(--ui-line-brand);
  box-shadow: var(--ui-shadow);
}

.products-section .aurora-product__thumb {
  border-radius: 12px;
}

.products-section .aurora-product__body {
  gap: 10px;
  padding: 16px;
}

.products-section .aurora-product__badge,
.products-section .aurora-product__discount {
  border: 1px solid var(--ui-line);
  border-radius: 999px;
  font-family: var(--ui-label);
  font-size: 10px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.products-section .aurora-product__meta,
.products-section .aurora-product__sales {
  color: var(--ui-muted);
  font-family: var(--ui-label);
  font-size: 11px;
}

.products-section .aurora-product__title {
  font-size: 15px;
  font-weight: 650;
  min-height: 2.8em;
}

.products-section .aurora-product__price strong {
  color: var(--ui-brand-deep);
  font-size: 19px;
}

.products-section .aurora-product__cta {
  border: 1px solid var(--ui-line);
  border-radius: 9px;
  color: var(--ui-brand-deep);
}

.products-section .aurora-product__cta:hover {
  background: var(--ui-tint);
  border-color: var(--ui-line-brand);
}

.aurora-pagination {
  margin-top: 28px;
}

.aurora-pagination .page-link {
  border-color: var(--ui-line);
  border-radius: 9px;
  color: var(--ui-muted);
  font-size: 13px;
  font-weight: 600;
  min-width: 38px;
}

.aurora-pagination .page-item.active .page-link {
  background: var(--ui-brand);
  border-color: var(--ui-brand);
  box-shadow: none;
  color: #fff;
}

.aurora-breadcrumb {
  font-family: var(--ui-label);
  font-size: 12px;
}

.aurora-breadcrumb a { color: var(--ui-muted); }
.aurora-breadcrumb a:hover { color: var(--ui-brand-deep); }

.aurora-empty {
  background: var(--ui-surface);
  border: 1px dashed var(--ui-line-strong);
  border-radius: var(--ui-radius);
  padding: 32px 20px;
  text-align: center;
}

.aurora-empty h4 {
  color: var(--ui-ink);
  font-family: var(--ui-display);
}

/* Product detail */
.aurora-detail__grid {
  gap: 32px;
}

.aurora-detail__media {
  background: var(--ui-surface);
  border: 1px solid var(--ui-line);
  border-radius: 16px;
  padding: 12px;
}

.aurora-detail__media img {
  border-radius: 11px;
}

.aurora-detail__title {
  font-size: clamp(30px, 3.6vw, 44px);
  font-weight: 750;
  letter-spacing: -.045em;
}

.aurora-panel {
  background: var(--ui-surface);
  border: 1px solid var(--ui-line);
  border-radius: var(--ui-radius);
  padding: 20px;
}

.aurora-panel__title {
  color: var(--ui-ink);
  font-family: var(--ui-display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -.02em;
}

.aurora-tabs .nav-link {
  border-radius: 9px;
  color: var(--ui-muted);
  font-size: 14px;
  font-weight: 600;
}

.aurora-tabs .nav-link.active {
  background: var(--ui-tint);
  color: var(--ui-brand-deep);
}

.aurora-field > label,
.aurora-field__label {
  color: var(--ui-ink-2);
  font-size: 13px;
  font-weight: 600;
}

.aurora-license__options {
  gap: 12px;
}

.aurora-license__option {
  background: var(--ui-surface);
  border: 1px solid var(--ui-line);
  border-radius: var(--ui-radius);
  padding: 18px;
  transition: border-color .18s ease, background-color .18s ease;
}

.aurora-license__option:hover {
  border-color: var(--ui-line-brand);
}

.aurora-license__option.is-selected {
  background: var(--ui-tint);
  border-color: var(--ui-brand);
  box-shadow: 0 0 0 3px rgba(var(--a-brand-rgb, 67, 123, 212), .1);
}

.aurora-license__option-title {
  color: var(--ui-ink);
  font-family: var(--ui-display);
  font-weight: 700;
}

.aurora-license__option-price {
  color: var(--ui-brand-deep);
  font-family: var(--ui-display);
  font-size: 22px;
  font-weight: 750;
  letter-spacing: -.03em;
}

.aurora-license__features-label {
  color: var(--ui-muted);
  font-family: var(--ui-label);
  font-size: 10.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.aurora-license__features li {
  color: var(--ui-ink-2);
}

.aurora-review {
  background: var(--ui-surface);
  border: 1px solid var(--ui-line);
  border-radius: 12px;
  padding: 16px;
}

/* Blog and content pages */
.aurora-blog {
  background: var(--ui-surface);
  border: 1px solid var(--ui-line);
  border-radius: var(--ui-radius);
  overflow: hidden;
}

.aurora-blog:hover {
  border-color: var(--ui-line-brand);
  box-shadow: var(--ui-shadow);
}

.aurora-blog__body {
  padding: 18px;
}

.aurora-blog__body h3 a {
  color: var(--ui-ink);
  font-family: var(--ui-display);
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -.025em;
}

.aurora-blog__excerpt {
  color: var(--ui-muted);
  font-size: 14px;
}

.aurora-blog-search {
  background: var(--ui-surface);
  border: 1px solid var(--ui-line);
  border-radius: 11px;
}

.aurora-article__content {
  color: var(--ui-ink-2);
  font-size: 16px;
  line-height: 1.8;
  max-width: 72ch;
}

.aurora-article__content h2,
.aurora-article__content h3 {
  color: var(--ui-ink);
  margin-top: 28px;
}

.aurora-sidecard {
  background: var(--ui-surface);
  border: 1px solid var(--ui-line);
  border-radius: var(--ui-radius);
  padding: 18px;
}

/* User dashboard panels (frontend account area) */
.dash__panel {
  background: var(--ui-surface);
  border-color: var(--ui-line);
  border-radius: 12px;
  padding: 20px;
}

.dash__title,
.dash__panel-title {
  color: var(--ui-ink);
  font-family: var(--ui-display);
  letter-spacing: -.03em;
}

.dash__table th {
  color: var(--ui-muted);
  font-family: var(--ui-label);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.dash__table td {
  color: var(--ui-ink-2);
}

.dash__field > span,
.dash__field label {
  color: var(--ui-muted);
  font-size: 12px;
}

@media (max-width: 767px) {
  .aurora-page-hero,
  .aurora-page-hero.products-hero {
    padding-block: 24px;
  }

  .aurora-page-hero h1 {
    font-size: clamp(27px, 7vw, 34px);
  }

  .products-section {
    padding-block: 18px 24px;
  }

  .products-section .aurora-product__body {
    padding: 12px;
  }

  .aurora-detail__grid {
    gap: 20px;
  }

  .aurora-panel,
  .aurora-license__option,
  .aurora-sidecard {
    padding: 16px;
  }

  .aurora-article__content {
    font-size: 15px;
  }
}

@media (max-width: 575px) {
  .aurora-products-search {
    max-width: none;
    width: 100%;
  }

  .products-hero__tools {
    width: 100%;
  }
}

/* From Uiverse.io by Yaseen549 - https://uiverse.io/Yaseen549/wise-elephant-58
   MIT License, Copyright (c) Yaseen549 (Yaseen) */
.aurora-btn--primary,
.aurora-btn--ghost,
.hero__cta--primary,
.hero__cta--secondary,
.nav__cta,
.cta-band__button,
.why__button,
.wwd__expert-btn,
.wwd__expert-btn--ghost,
.team__button,
.portfolio-detail__aside-link,
.member-profile__side-cta a,
.rs-cta__btn--primary,
.rs-cta__btn--ghost,
.rs-apply__btn--primary,
.rs-apply__btn--ghost,
.aurora-blog-search__submit,
.dash__btn--solid,
.dash__btn--ghost {
  --smash-primary: var(--a-brand, #437bd4);
  --smash-on: var(--ui-surface, #fff);

  align-self: flex-start;
  background: var(--smash-primary);
  border: 0;
  border-bottom: 6px solid color-mix(in srgb, var(--smash-primary) 70%, black);
  border-radius: 12px;
  box-shadow: 0 10px 18px -8px color-mix(in srgb, var(--smash-primary) 80%, transparent);
  color: var(--smash-on);
  font-family: var(--ui-font, 'Inter', sans-serif);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .07em;
  line-height: 1.25;
  min-height: 38px;
  overflow: hidden;
  padding: 8px 16px;
  position: relative;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  isolation: isolate;
  transition: transform .1s ease, border-bottom-width .1s ease, box-shadow .1s ease,
              background-color .18s ease;
}

[data-theme="dark"] .aurora-btn--primary,
[data-theme="dark"] .aurora-btn--ghost,
[data-theme="dark"] .hero__cta--primary,
[data-theme="dark"] .hero__cta--secondary,
[data-theme="dark"] .nav__cta,
[data-theme="dark"] .cta-band__button,
[data-theme="dark"] .why__button,
[data-theme="dark"] .wwd__expert-btn,
[data-theme="dark"] .wwd__expert-btn--ghost,
[data-theme="dark"] .team__button,
[data-theme="dark"] .portfolio-detail__aside-link,
[data-theme="dark"] .member-profile__side-cta a,
[data-theme="dark"] .rs-cta__btn--primary,
[data-theme="dark"] .rs-cta__btn--ghost,
[data-theme="dark"] .rs-apply__btn--primary,
[data-theme="dark"] .rs-apply__btn--ghost,
[data-theme="dark"] .aurora-blog-search__submit,
[data-theme="dark"] .dash__btn--solid,
[data-theme="dark"] .dash__btn--ghost {
  --smash-on: var(--a-text, #e8eef6);
}

.aurora-btn--primary::before,
.aurora-btn--ghost::before,
.hero__cta--primary::before,
.hero__cta--secondary::before,
.nav__cta::before,
.cta-band__button::before,
.why__button::before,
.wwd__expert-btn::before,
.wwd__expert-btn--ghost::before,
.team__button::before,
.portfolio-detail__aside-link::before,
.member-profile__side-cta a::before,
.rs-cta__btn--primary::before,
.rs-cta__btn--ghost::before,
.rs-apply__btn--primary::before,
.rs-apply__btn--ghost::before,
.aurora-blog-search__submit::before,
.dash__btn--solid::before,
.dash__btn--ghost::before {
  background: linear-gradient(to top, color-mix(in srgb, black 20%, transparent), transparent);
  border-radius: inherit;
  content: "";
  display: block;
  inset: 0;
  pointer-events: none;
  position: absolute;
  transform: none;
  transition: none;
  z-index: -1;
}

.hero__cta--primary:hover::before,
.nav__cta:hover::before {
  transform: none;
}

.aurora-btn--primary::after,
.aurora-btn--ghost::after,
.hero__cta--primary::after,
.hero__cta--secondary::after,
.nav__cta::after,
.cta-band__button::after,
.why__button::after,
.wwd__expert-btn::after,
.wwd__expert-btn--ghost::after,
.team__button::after,
.portfolio-detail__aside-link::after,
.member-profile__side-cta a::after,
.rs-cta__btn--primary::after,
.rs-cta__btn--ghost::after,
.rs-apply__btn--primary::after,
.rs-apply__btn--ghost::after,
.aurora-blog-search__submit::after,
.dash__btn--solid::after,
.dash__btn--ghost::after {
  background: color-mix(in srgb, var(--smash-on) 40%, transparent);
  border-radius: 999px;
  content: "";
  filter: blur(2px);
  height: 10px;
  left: 10px;
  pointer-events: none;
  position: absolute;
  top: 6px;
  width: 20px;
  z-index: -1;
}

.aurora-btn--primary:hover,
.aurora-btn--ghost:hover,
.hero__cta--primary:hover,
.hero__cta--secondary:hover,
.nav__cta:hover,
.cta-band__button:hover,
.why__button:hover,
.wwd__expert-btn:hover,
.wwd__expert-btn--ghost:hover,
.team__button:hover,
.portfolio-detail__aside-link:hover,
.member-profile__side-cta a:hover,
.rs-cta__btn--primary:hover,
.rs-cta__btn--ghost:hover,
.rs-apply__btn--primary:hover,
.rs-apply__btn--ghost:hover,
.aurora-blog-search__submit:hover,
.dash__btn--solid:hover,
.dash__btn--ghost:hover,
.aurora-btn--primary:focus-visible,
.aurora-btn--ghost:focus-visible,
.hero__cta--primary:focus-visible,
.hero__cta--secondary:focus-visible,
.nav__cta:focus-visible,
.cta-band__button:focus-visible,
.why__button:focus-visible,
.wwd__expert-btn:focus-visible,
.wwd__expert-btn--ghost:focus-visible,
.team__button:focus-visible,
.portfolio-detail__aside-link:focus-visible,
.member-profile__side-cta a:focus-visible,
.rs-cta__btn--primary:focus-visible,
.rs-cta__btn--ghost:focus-visible,
.rs-apply__btn--primary:focus-visible,
.rs-apply__btn--ghost:focus-visible,
.aurora-blog-search__submit:focus-visible,
.dash__btn--solid:focus-visible,
.dash__btn--ghost:focus-visible {
  background: var(--smash-primary);
  color: var(--smash-on);
  transform: none;
}

.aurora-btn--primary:focus-visible,
.aurora-btn--ghost:focus-visible,
.hero__cta--primary:focus-visible,
.hero__cta--secondary:focus-visible,
.nav__cta:focus-visible,
.cta-band__button:focus-visible,
.why__button:focus-visible,
.wwd__expert-btn:focus-visible,
.wwd__expert-btn--ghost:focus-visible,
.team__button:focus-visible,
.portfolio-detail__aside-link:focus-visible,
.member-profile__side-cta a:focus-visible,
.rs-cta__btn--primary:focus-visible,
.rs-cta__btn--ghost:focus-visible,
.rs-apply__btn--primary:focus-visible,
.rs-apply__btn--ghost:focus-visible,
.aurora-blog-search__submit:focus-visible,
.dash__btn--solid:focus-visible,
.dash__btn--ghost:focus-visible {
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--smash-primary) 45%, transparent),
              0 10px 18px -8px color-mix(in srgb, var(--smash-primary) 80%, transparent);
  outline: none;
}

.aurora-btn--primary:active,
.aurora-btn--ghost:active,
.hero__cta--primary:active,
.hero__cta--secondary:active,
.nav__cta:active,
.cta-band__button:active,
.why__button:active,
.wwd__expert-btn:active,
.wwd__expert-btn--ghost:active,
.team__button:active,
.portfolio-detail__aside-link:active,
.member-profile__side-cta a:active,
.rs-cta__btn--primary:active,
.rs-cta__btn--ghost:active,
.rs-apply__btn--primary:active,
.rs-apply__btn--ghost:active,
.aurora-blog-search__submit:active,
.dash__btn--solid:active,
.dash__btn--ghost:active {
  border-bottom-width: 0;
  box-shadow: 0 5px 10px -6px color-mix(in srgb, var(--smash-primary) 70%, transparent);
  transform: translateY(6px);
}

.aurora-btn--primary svg,
.aurora-btn--ghost svg,
.hero__cta--primary svg,
.hero__cta--secondary svg,
.nav__cta svg,
.cta-band__button svg,
.why__button svg,
.wwd__expert-btn svg,
.team__button svg,
.portfolio-detail__aside-link svg,
.member-profile__side-cta a svg,
.rs-cta__btn--primary svg,
.rs-cta__btn--ghost svg,
.rs-apply__btn--primary svg,
.rs-apply__btn--ghost svg,
.aurora-blog-search__submit svg,
.dash__btn--solid svg,
.dash__btn--ghost svg {
  animation: aurora-smash-pulse 1.8s ease-in-out infinite;
  flex: none;
  height: 16px;
  width: 16px;
}

@keyframes aurora-smash-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .6; transform: scale(.9); }
}

@media (prefers-reduced-motion: reduce) {
  .aurora-btn--primary svg,
  .aurora-btn--ghost svg,
  .hero__cta--primary svg,
  .hero__cta--secondary svg,
  .nav__cta svg,
  .cta-band__button svg,
  .why__button svg,
  .wwd__expert-btn svg,
  .team__button svg,
  .portfolio-detail__aside-link svg,
  .member-profile__side-cta a svg,
  .rs-cta__btn--primary svg,
  .rs-cta__btn--ghost svg,
  .rs-apply__btn--primary svg,
  .rs-apply__btn--ghost svg,
  .aurora-blog-search__submit svg,
  .dash__btn--solid svg,
  .dash__btn--ghost svg {
    animation: none;
  }
}

@media (max-width: 575px) {
  .aurora-btn--primary,
  .aurora-btn--ghost,
  .hero__cta--primary,
  .hero__cta--secondary,
  .nav__cta,
  .cta-band__button,
  .why__button,
  .wwd__expert-btn,
  .wwd__expert-btn--ghost,
  .team__button,
  .portfolio-detail__aside-link,
  .member-profile__side-cta a,
  .rs-cta__btn--primary,
  .rs-cta__btn--ghost,
  .rs-apply__btn--primary,
  .rs-apply__btn--ghost,
  .aurora-blog-search__submit,
  .dash__btn--solid,
  .dash__btn--ghost,
  [data-theme="dark"] .aurora-btn--primary,
  [data-theme="dark"] .aurora-btn--ghost,
  [data-theme="dark"] .hero__cta--primary,
  [data-theme="dark"] .hero__cta--secondary,
  [data-theme="dark"] .nav__cta,
  [data-theme="dark"] .cta-band__button,
  [data-theme="dark"] .why__button,
  [data-theme="dark"] .wwd__expert-btn,
  [data-theme="dark"] .wwd__expert-btn--ghost,
  [data-theme="dark"] .team__button,
  [data-theme="dark"] .portfolio-detail__aside-link,
  [data-theme="dark"] .member-profile__side-cta a,
  [data-theme="dark"] .rs-cta__btn--primary,
  [data-theme="dark"] .rs-cta__btn--ghost,
  [data-theme="dark"] .rs-apply__btn--primary,
  [data-theme="dark"] .rs-apply__btn--ghost,
  [data-theme="dark"] .aurora-blog-search__submit,
  [data-theme="dark"] .dash__btn--solid,
  [data-theme="dark"] .dash__btn--ghost {
    border-bottom-width: 5px;
    font-size: 10px;
    min-height: 34px;
    padding: 7px 12px;
  }

  .aurora-btn--primary:active,
  .aurora-btn--ghost:active,
  .hero__cta--primary:active,
  .hero__cta--secondary:active,
  .nav__cta:active,
  .cta-band__button:active,
  .why__button:active,
  .wwd__expert-btn:active,
  .wwd__expert-btn--ghost:active,
  .team__button:active,
  .portfolio-detail__aside-link:active,
  .member-profile__side-cta a:active,
  .rs-cta__btn--primary:active,
  .rs-cta__btn--ghost:active,
  .rs-apply__btn--primary:active,
  .rs-apply__btn--ghost:active,
  .aurora-blog-search__submit:active,
  .dash__btn--solid:active,
  .dash__btn--ghost:active {
    transform: translateY(5px);
  }
}

/* Back-to-top stays a floating control, not one of the CTA buttons. */
.aurora-backtop {
  align-self: auto;
  background: var(--ui-surface);
  border: 1px solid var(--ui-line-strong);
  border-bottom-width: 1px;
  border-radius: 12px;
  bottom: 20px;
  box-shadow: var(--ui-shadow);
  color: var(--ui-brand-deep);
  font-size: 16px;
  height: 40px;
  inset-inline-end: 20px;
  letter-spacing: 0;
  min-height: 0;
  overflow: visible;
  padding: 0;
  position: fixed;
  text-transform: none;
  transition: opacity .25s ease, transform .25s var(--a-ease), background-color .18s ease,
              border-color .18s ease, box-shadow .18s ease;
  width: 40px;
  z-index: 900;
}

.aurora-backtop::before,
.aurora-backtop::after {
  display: none;
}

.aurora-backtop:hover,
.aurora-backtop:focus-visible {
  background: var(--ui-tint);
  border-color: var(--ui-line-brand);
  box-shadow: var(--ui-shadow);
  color: var(--ui-brand-deep);
  transform: translateY(-2px);
}

.aurora-backtop:active {
  box-shadow: var(--ui-shadow-sm);
  transform: translateY(0) scale(.96);
}

[data-theme="dark"] .aurora-backtop {
  background: var(--ui-surface);
  border-color: var(--ui-line-strong);
  color: var(--a-text, #e8eef6);
}

@media (max-width: 575px) {
  .aurora-backtop {
    bottom: 16px;
    height: 38px;
    inset-inline-end: 16px;
    width: 38px;
  }
}

/* Mobile drawer search — one clean field, no double border. */
.drawer-search {
  background: var(--ui-surface);
  border: 1px solid var(--ui-line-strong);
  border-radius: 12px;
  min-height: 44px;
  overflow: hidden;
  padding: 3px;
  transition: border-color .18s ease, box-shadow .18s ease;
}

.drawer-search:focus-within {
  border-color: var(--ui-brand);
  box-shadow: 0 0 0 3px rgba(var(--a-brand-rgb, 67, 123, 212), .12);
}

.drawer-search__icon {
  color: var(--ui-brand-deep);
  height: 17px;
  margin-inline-start: 10px;
  width: 17px;
}

.drawer-search input,
.drawer-search input:focus {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  color: var(--ui-ink);
  font-size: 13px;
  min-height: 36px;
  outline: none;
  padding: 8px;
}

.drawer-search input::placeholder {
  color: var(--ui-muted);
}

.drawer-search button {
  align-items: center;
  background: var(--a-brand);
  border: 0;
  border-radius: 9px;
  color: var(--ui-surface);
  display: inline-flex;
  flex: 0 0 38px;
  height: 36px;
  justify-content: center;
  padding: 0;
  transition: background-color .18s ease, color .18s ease;
  width: 38px;
}

.drawer-search button:hover {
  background: var(--a-brand-2);
  color: var(--ui-surface);
}

.drawer-search button svg {
  height: 17px;
  width: 17px;
}

[data-theme="dark"] .drawer-search button,
[data-theme="dark"] .drawer-search button:hover {
  color: var(--a-text, #e8eef6);
}

/* Password recovery buttons — same compact CTA UI as the rest of the site. */
.base--card .btn--base {
  --smash-primary: var(--a-brand);
  --smash-on: var(--ui-surface);

  align-self: flex-start;
  background: var(--smash-primary);
  border: 0;
  border-bottom: 6px solid color-mix(in srgb, var(--smash-primary) 70%, black);
  border-radius: 12px;
  box-shadow: 0 10px 18px -8px color-mix(in srgb, var(--smash-primary) 80%, transparent);
  color: var(--smash-on);
  font-family: var(--ui-font, 'Inter', sans-serif);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .07em;
  line-height: 1.25;
  min-height: 38px;
  overflow: hidden;
  padding: 8px 16px;
  position: relative;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  isolation: isolate;
  transition: transform .1s ease, border-bottom-width .1s ease, box-shadow .1s ease,
              background-color .18s ease;
}

[data-theme="dark"] .base--card .btn--base {
  --smash-on: var(--a-text, #e8eef6);
}

.base--card .btn--base::before {
  background: linear-gradient(to top, color-mix(in srgb, black 20%, transparent), transparent);
  border-radius: inherit;
  content: "";
  display: block;
  inset: 0;
  pointer-events: none;
  position: absolute;
  transform: none;
  transition: none;
  z-index: -1;
}

.base--card .btn--base::after {
  background: color-mix(in srgb, var(--smash-on) 40%, transparent);
  border-radius: 999px;
  content: "";
  filter: blur(2px);
  height: 10px;
  left: 10px;
  pointer-events: none;
  position: absolute;
  top: 6px;
  width: 20px;
  z-index: -1;
}

.base--card .btn--base:hover,
.base--card .btn--base:focus-visible {
  background: var(--smash-primary);
  color: var(--smash-on);
  transform: none;
}

.base--card .btn--base:focus-visible {
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--smash-primary) 45%, transparent),
              0 10px 18px -8px color-mix(in srgb, var(--smash-primary) 80%, transparent);
  outline: none;
}

.base--card .btn--base:active {
  border-bottom-width: 0;
  box-shadow: 0 5px 10px -6px color-mix(in srgb, var(--smash-primary) 70%, transparent);
  transform: translateY(6px);
}

.base--card .btn--base svg {
  animation: aurora-smash-pulse 1.8s ease-in-out infinite;
  flex: none;
  height: 16px;
  width: 16px;
}

@media (prefers-reduced-motion: reduce) {
  .base--card .btn--base svg {
    animation: none;
  }
}

@media (max-width: 575px) {
  .base--card .btn--base {
    border-bottom-width: 5px;
    font-size: 10px;
    min-height: 34px;
    padding: 7px 12px;
  }

  .base--card .btn--base:active {
    transform: translateY(5px);
  }
}
