:root {
  --brand-primary: #2563eb;
  --brand-primary-strong: #1d4ed8;
  --brand-primary-soft: #bfdbfe;
  --brand-accent: #38bdf8;
  --brand-deep: #0f172a;
  --brand-surface: #ffffff;
  --brand-surface-muted: #f1f5f9;
  --brand-border: #d5deeb;
  --brand-text: #1f2937;
  --brand-text-muted: #64748b;
  --brand-shadow: 0 24px 55px rgba(15, 23, 42, 0.12);
}

:root[data-theme='dark'] {
  --brand-primary: #60a5fa;
  --brand-primary-strong: #3b82f6;
  --brand-primary-soft: rgba(96, 165, 250, 0.32);
  --brand-accent: #38bdf8;
  --brand-deep: #020617;
  --brand-surface: #111827;
  --brand-surface-muted: #0b1220;
  --brand-border: rgba(148, 163, 184, 0.4);
  --brand-text: #e2e8f0;
  --brand-text-muted: rgba(226, 232, 240, 0.78);
  --brand-shadow: 0 24px 55px rgba(2, 6, 23, 0.45);
}

html {
  scroll-behavior: smooth;
}

html,
body {
  min-height: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--brand-surface-muted);
  color: var(--brand-text);
  font-family: "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
}

a {
  color: var(--brand-primary);
}

a:hover,
a:focus {
  color: var(--brand-primary-strong);
}

[data-theme='dark'] .text-muted {
  color: rgba(226, 232, 240, 0.85) !important;
}

[data-theme='dark'] .form-label,
[data-theme='dark'] .form-check-label,
[data-theme='dark'] .form-floating > label {
  color: rgba(248, 250, 252, 0.92);
}

[data-theme='dark'] .form-text {
  color: rgba(226, 232, 240, 0.78);
}

[data-theme='dark'] .form-control,
[data-theme='dark'] .form-select,
[data-theme='dark'] textarea,
[data-theme='dark'] input[type="text"],
[data-theme='dark'] input[type="email"],
[data-theme='dark'] input[type="tel"],
[data-theme='dark'] input[type="number"],
[data-theme='dark'] input[type="password"] {
  background-color: rgba(15, 23, 42, 0.7);
  border-color: rgba(148, 163, 184, 0.5);
  color: var(--brand-text);
}

[data-theme='dark'] .form-control::placeholder,
[data-theme='dark'] textarea::placeholder,
[data-theme='dark'] input::placeholder {
  color: rgba(226, 232, 240, 0.6);
}

.promo-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 700;
  background: linear-gradient(135deg, #ef4444, #f97316);
  color: #fff;
  box-shadow: 0 12px 30px rgba(239, 68, 68, 0.35);
}

.promo-pill-inline {
  font-size: 0.6rem;
  padding: 0.2rem 0.6rem;
  letter-spacing: 0.16em;
  box-shadow: none;
}

.price-stack {
  display: grid;
  gap: 0.5rem;
}

.price-stack .promo-pill {
  margin-bottom: 0.25rem;
}

.price-stack .promo-banner {
  justify-self: start;
}

.promo-banner {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  border-radius: 999px;
  font-weight: 600;
  margin-top: 0.75rem;
}

.promo-banner-sm {
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
}

.promo-banner-md {
  padding: 0.65rem 1.1rem;
  font-size: 0.85rem;
}

.promo-banner-lg {
  padding: 0.85rem 1.3rem;
  font-size: 0.95rem;
  border-radius: 16px;
}

.promo-banner-dark {
  background: rgba(15, 23, 42, 0.85);
  color: #f8fafc;
  border: 1px solid rgba(248, 250, 252, 0.18);
  box-shadow: 0 16px 35px rgba(15, 23, 42, 0.35);
}

.promo-banner-surface {
  background: rgba(37, 99, 235, 0.12);
  color: var(--brand-primary-strong);
  border: 1px solid rgba(37, 99, 235, 0.25);
  box-shadow: 0 20px 40px rgba(37, 99, 235, 0.18);
}

.promo-banner-light {
  background: rgba(255, 255, 255, 0.78);
  color: var(--brand-deep);
  border: 1px solid rgba(148, 163, 184, 0.2);
  box-shadow: 0 14px 35px rgba(15, 23, 42, 0.14);
}

.promo-banner-label {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.65rem;
  opacity: 0.8;
}

.promo-banner-countdown {
  font-variant-numeric: tabular-nums;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.app-navbar {
  background: transparent;
  padding-block: 1.25rem;
  position: sticky;
  top: 0;
  z-index: 1050;
}

.bg-surface {
  background: var(--brand-surface-muted);
}

.test-syllabus-card {
  border-radius: 1.25rem;
}

.test-syllabus-card .card-body {
  border-radius: 1.25rem;
}

.syllabus-tree-wrapper {
  border-radius: 1rem;
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: rgba(255, 255, 255, 0.72);
  padding: 1.75rem;
  box-shadow: 0 30px 60px rgba(15, 23, 42, 0.08);
}

[data-theme='dark'] .syllabus-tree-wrapper {
  background: rgba(15, 23, 42, 0.55);
  border-color: rgba(148, 163, 184, 0.25);
  box-shadow: 0 30px 60px rgba(2, 6, 23, 0.45);
}

.syllabus-tree {
  list-style: none;
  margin: 0;
  padding-left: 1.5rem;
  border-left: 2px solid rgba(37, 99, 235, 0.25);
}

.syllabus-tree > li {
  margin-bottom: 0.75rem;
  position: relative;
}

.syllabus-tree > li::before {
  content: "";
  position: absolute;
  left: -1.5rem;
  top: 0.75rem;
  width: 1.5rem;
  border-top: 2px solid rgba(37, 99, 235, 0.25);
}

.syllabus-tree-item {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.35rem 0.6rem;
  border-radius: 0.75rem;
  transition: background 0.2s ease, transform 0.2s ease;
}

.syllabus-tree-item a {
  font-weight: 600;
  text-decoration: none;
}

.syllabus-tree-item:hover {
  background: rgba(37, 99, 235, 0.1);
  transform: translateX(4px);
}

.syllabus-tree-item.is-folder {
  background: rgba(37, 99, 235, 0.08);
}

.syllabus-tree-icon {
  font-size: 1.1rem;
  line-height: 1;
}

.syllabus-tree ul {
  margin-top: 0.35rem;
}

.app-navbar > .container-xxl {
  max-width: min(1280px, 100%);
}

@media (min-width: 1600px) {
  .app-navbar > .container-xxl {
    max-width: 1440px;
  }
}

.app-has-sidebar .app-navbar > .container-xxl {
  max-width: none;
}

.app-navbar-inner {
  background: var(--brand-surface);
  border-radius: 24px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  box-shadow: 0 22px 48px rgba(15, 23, 42, 0.12);
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  flex-wrap: nowrap;
  justify-content: space-between;
}

@keyframes app-navbar-reveal {
  from {
    opacity: 0;
    transform: translateY(-0.75rem);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.app-navbar .navbar-brand {
  color: var(--brand-deep);
  font-weight: 700;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  font-size: 1.1rem;
  line-height: 1.2;
  flex: 1 1 auto;
  min-width: 0;
}

.app-navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 1 1 auto;
  min-width: 0;
}

.navbar-brand-logo {
  max-height: 42px;
  width: auto;
  display: block;
  object-fit: contain;
  max-width: 180px;
}

.navbar-brand-wordmark {
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  color: var(--brand-deep);
  text-shadow: 0 1px 2px rgba(15, 23, 42, 0.14);
  font-size: inherit;
  flex: 1 1 auto;
  min-width: 0;
  word-break: keep-all;
}

[data-theme='dark'] .app-navbar .navbar-brand {
  color: var(--brand-text);
}

[data-theme='dark'] .navbar-brand-wordmark {
  color: var(--brand-text);
  text-shadow: 0 2px 6px rgba(2, 6, 23, 0.4);
}

.app-navbar-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-left: auto;
  flex: 0 0 auto;
}

.app-navbar-controls .navbar-toggler {
  flex-shrink: 0;
}

.app-navbar .navbar-brand:hover,
.app-navbar .navbar-brand:focus {
  color: var(--brand-primary-strong);
}

.app-navbar .navbar-toggler {
  border-color: rgba(148, 163, 184, 0.5);
  box-shadow: none;
}

.app-navbar .navbar-toggler:focus {
  box-shadow: 0 0 0 0.25rem rgba(37, 99, 235, 0.2);
}

.app-navbar .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(15, 23, 42, 0.8)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}


.app-navbar .navbar-collapse {
  flex-basis: 100%;
  margin-top: 0.75rem;
}

.app-navbar-main {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.75rem;
  width: 100%;
}

.app-navbar-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  width: 100%;
  justify-content: flex-start;
  padding-left: 0;
}

.app-navbar-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.app-navbar-cart {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.app-navbar-cart__toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(15, 23, 42, 0.02);
  color: var(--brand-text-muted);
  font-weight: 600;
  transition: all 0.2s ease;
}

.app-navbar-cart__toggle:hover,
.app-navbar-cart__toggle:focus {
  color: var(--brand-primary-strong);
  border-color: rgba(37, 99, 235, 0.45);
  background: rgba(37, 99, 235, 0.08);
  box-shadow: 0 16px 30px rgba(37, 99, 235, 0.18);
}

.app-navbar-cart__toggle.has-items {
  background: var(--brand-primary);
  color: #fff;
  border-color: var(--brand-primary);
  box-shadow: 0 18px 36px rgba(37, 99, 235, 0.28);
}

.app-navbar-cart__toggle.has-items:hover,
.app-navbar-cart__toggle.has-items:focus {
  background: var(--brand-primary-strong);
  border-color: var(--brand-primary-strong);
}

.app-navbar-cart__icon {
  width: 1.25rem;
  height: 1.25rem;
  fill: currentColor;
}

.app-navbar-cart__badge {
  position: absolute;
  top: -0.35rem;
  right: -0.1rem;
  min-width: 1.25rem;
  height: 1.25rem;
  border-radius: 999px;
  background: #ef4444;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.35rem;
  box-shadow: 0 6px 12px rgba(239, 68, 68, 0.35);
}

.app-navbar-cart__panel {
  position: absolute;
  top: calc(100% + 0.9rem);
  right: 0;
  width: min(320px, 85vw);
  background: var(--brand-surface);
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 20px;
  box-shadow: var(--brand-shadow);
  padding: 1rem;
  display: none;
  z-index: 1200;
}

.app-navbar-cart.is-open .app-navbar-cart__panel {
  display: block;
}

.cart-preview {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.cart-preview__message {
  margin: 0;
  font-size: 0.85rem;
  color: var(--brand-primary-strong);
}

.cart-preview__empty {
  margin: 0;
  font-size: 0.9rem;
  color: var(--brand-text-muted);
  text-align: center;
}

.cart-preview__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-height: 260px;
  overflow-y: auto;
  scrollbar-width: thin;
}

.cart-preview__item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
}

.cart-preview__item-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 0;
}

.cart-preview__item-name {
  font-weight: 600;
  color: var(--brand-text);
  text-decoration: none;
}

.cart-preview__item-name:hover,
.cart-preview__item-name:focus {
  color: var(--brand-primary-strong);
  text-decoration: underline;
}

.cart-preview__item-meta {
  font-size: 0.85rem;
  color: var(--brand-text-muted);
}

.cart-preview__item-total {
  font-weight: 600;
  white-space: nowrap;
}

.cart-preview__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  margin-top: 0.25rem;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 600;
  background: rgba(239, 68, 68, 0.12);
  color: #b91c1c;
}

.cart-preview__note {
  margin: 0;
  font-size: 0.8rem;
  color: #b91c1c;
  background: rgba(239, 68, 68, 0.12);
  border-radius: 12px;
  padding: 0.5rem 0.75rem;
}

.cart-preview__provider {
  margin: 0 0 0.35rem;
  font-size: 0.8rem;
  color: var(--brand-text-muted);
}

.cart-preview__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.cart-preview__summary {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.cart-preview__label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-text-muted);
}

.cart-preview__total {
  font-size: 1.05rem;
  color: var(--brand-text);
}

.cart-preview__checkout.disabled {
  pointer-events: none;
  opacity: 0.55;
}

.app-navbar-friends,
.app-navbar-auth {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.app-navbar-actions .nav-link,
.app-navbar-friends .nav-link,
.app-navbar-auth .nav-link {
  width: 100%;
}

.app-navbar-actions .theme-toggle {
  align-self: center;
}

.app-navbar .nav-link-friends {
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-primary-strong));
  border: 1px solid var(--brand-primary-strong);
  box-shadow: 0 16px 32px rgba(37, 99, 235, 0.25);
  color: #fff;
  font-weight: 600;
}

.app-navbar .nav-link-friends:hover,
.app-navbar .nav-link-friends:focus {
  background: var(--brand-primary-strong);
  border-color: var(--brand-primary-strong);
  color: #fff;
}

.app-navbar .nav-link {
  color: var(--brand-text-muted);
  font-weight: 500;
  transition: color 0.2s ease;
  padding-inline: 0.95rem;
  padding-block: 0.65rem;
  border-radius: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.app-navbar .nav-link:hover,
.app-navbar .nav-link:focus {
  color: var(--brand-primary-strong);
  background: rgba(37, 99, 235, 0.08);
}

.app-navbar .nav-link-outline {
  border: 1px solid rgba(37, 99, 235, 0.35);
  color: var(--brand-primary-strong);
  font-weight: 600;
}

.app-navbar .nav-link-outline:hover,
.app-navbar .nav-link-outline:focus {
  background: rgba(37, 99, 235, 0.08);
  color: var(--brand-primary-strong);
}

.app-navbar .nav-link-primary {
  background: var(--brand-primary);
  border: 1px solid var(--brand-primary);
  box-shadow: 0 12px 22px rgba(37, 99, 235, 0.25);
  color: #fff;
  font-weight: 600;
}

.app-navbar .nav-link-primary:hover,
.app-navbar .nav-link-primary:focus {
  background: var(--brand-primary-strong);
  border-color: var(--brand-primary-strong);
  color: #fff;
}

.app-navbar .nav-item.dropdown {
  position: relative;
}

.app-navbar .dropdown-toggle::after {
  margin-left: 0.5rem;
}

.app-navbar .dropdown-menu {
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.16);
  background: rgba(255, 255, 255, 0.96);
  padding: 0.35rem;
  min-width: 13rem;
}

.app-navbar .dropdown-item {
  font-weight: 500;
  color: var(--brand-text-muted);
  border-radius: 12px;
  padding: 0.6rem 0.85rem;
}

.app-navbar .dropdown-item-context {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-text-muted);
  margin-bottom: 0.1rem;
}

.app-navbar .dropdown-item-label {
  display: block;
  font-weight: 600;
  color: var(--brand-text);
}

.app-navbar .dropdown-item-parent {
  font-weight: 600;
}

.app-navbar .dropdown-item-nested {
  padding-left: 1.5rem;
}

.app-navbar .dropdown-header {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 700;
  color: var(--brand-text-muted);
  padding: 0.45rem 0.85rem 0.2rem;
}

.app-navbar .dropdown-item:hover,
.app-navbar .dropdown-item:focus {
  background: rgba(37, 99, 235, 0.12);
  color: var(--brand-primary-strong);
}

[data-theme='dark'] .app-navbar .dropdown-menu {
  background: rgba(15, 23, 42, 0.92);
  border: 1px solid rgba(148, 163, 184, 0.28);
  box-shadow: 0 22px 44px rgba(2, 6, 23, 0.5);
}

[data-theme='dark'] .app-navbar .dropdown-item {
  color: rgba(226, 232, 240, 0.88);
}

[data-theme='dark'] .app-navbar .dropdown-item-context {
  color: rgba(148, 163, 184, 0.85);
}

[data-theme='dark'] .app-navbar .dropdown-item-label,
[data-theme='dark'] .app-navbar .dropdown-item-parent {
  color: #e2e8f0;
}

[data-theme='dark'] .app-navbar .dropdown-header {
  color: rgba(203, 213, 225, 0.85);
}

[data-theme='dark'] .app-navbar .dropdown-item:hover,
[data-theme='dark'] .app-navbar .dropdown-item:focus {
  background: rgba(96, 165, 250, 0.18);
  color: #e0f2fe;
}

.mobile-auth-banner {
  display: none;
  background: linear-gradient(120deg, rgba(37, 99, 235, 0.92), rgba(14, 165, 233, 0.85));
  color: #f8fafc;
  padding: 0.55rem 1rem;
  position: sticky;
  top: 0;
  z-index: 1055;
  box-shadow: 0 16px 32px rgba(14, 116, 144, 0.25);
}

.mobile-auth-banner__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  max-width: 540px;
  margin: 0 auto;
}

.mobile-auth-banner__message {
  font-weight: 600;
  letter-spacing: 0.01em;
}

.mobile-auth-banner__actions {
  display: flex;
  gap: 0.5rem;
}

.mobile-auth-banner .btn {
  font-size: 0.85rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-weight: 600;
  box-shadow: none;
}

.mobile-auth-banner .btn-light {
  color: #0f172a;
}

.mobile-auth-banner .btn-outline-light {
  border-color: rgba(248, 250, 252, 0.75);
  color: #f8fafc;
}

.mobile-auth-banner .btn-outline-light:hover,
.mobile-auth-banner .btn-outline-light:focus-visible {
  color: #0f172a;
  background: rgba(248, 250, 252, 0.9);
}

@media (min-width: 992px) {
  .app-navbar-inner {
    flex-wrap: nowrap;
    padding: 0.75rem 2rem;
  }

  .app-navbar .navbar-collapse {
    flex-basis: auto;
    margin-top: 0;
    align-items: center;
  }

  .app-navbar-main {
    flex-direction: row;
    align-items: center;
    gap: 1.5rem;
  }

  .app-navbar-links {
    margin-left: 0;
    justify-content: flex-start;
    width: auto;
    flex: 1 1 auto;
  }

  .app-navbar-actions {
    flex-direction: row;
    align-items: center;
    gap: 0.75rem;
    margin-left: auto;
    flex-wrap: nowrap;
  }

  .app-navbar-friends,
  .app-navbar-auth {
    flex-direction: row;
    align-items: center;
    gap: 0.75rem;
  }

  .app-navbar-actions .nav-link,
  .app-navbar-friends .nav-link,
  .app-navbar-auth .nav-link {
    width: auto;
  }

  .app-navbar-actions .theme-toggle {
    align-self: center;
  }

  .app-navbar .dropdown-menu {
    margin-top: 0.75rem;
    display: block;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
  }

  .app-navbar .nav-item.dropdown:hover > .dropdown-menu,
  .app-navbar .nav-item.dropdown:focus-within > .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
}

@media (max-width: 991.98px) {
  .app-navbar .dropdown-menu {
    position: static;
    float: none;
    width: 100%;
    margin: 0.4rem 0 0;
    border-radius: 14px;
    border: 1px solid rgba(148, 163, 184, 0.25);
    box-shadow: none;
    background: rgba(15, 23, 42, 0.7);
    padding: 0.3rem;
  }

  .app-navbar .dropdown-item {
    color: rgba(248, 250, 252, 0.9);
  }

  .app-navbar .dropdown-item:hover,
  .app-navbar .dropdown-item:focus-visible {
    background: rgba(148, 163, 184, 0.22);
    color: #f8fafc;
  }
}

@media (max-width: 767.98px) {
  .mobile-auth-banner {
    display: block;
  }

  .app-navbar {
    padding-block: 0.85rem;
  }

  .app-navbar-inner {
    border-radius: 18px;
    gap: 0.75rem;
    padding: 0.65rem 1rem;
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .app-navbar .navbar-brand {
    font-size: clamp(1.2rem, 4.5vw, 1.45rem);
    gap: 0.65rem;
  }

  .app-navbar-brand {
    flex-basis: 100%;
  }

  .app-navbar-controls {
    width: 100%;
    justify-content: flex-end;
    margin-left: 0 !important;
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
    margin-top: 0.5rem;
  }

  .navbar-brand-logo {
    max-height: 36px;
  }

  .navbar-brand-wordmark {
    letter-spacing: 0.18em;
  }

  .app-navbar .navbar-toggler {
    padding: 0.4rem 0.6rem;
    border-radius: 12px;
    border-color: rgba(148, 163, 184, 0.35);
    background: rgba(15, 23, 42, 0.04);
  }

  .app-navbar-controls .navbar-toggler {
    align-self: flex-end;
  }

  .app-navbar .navbar-collapse {
    width: 100%;
    margin: 0;
  }

  .app-navbar .navbar-collapse.show,
  .app-navbar .navbar-collapse.collapsing {
    background: rgba(15, 23, 42, 0.92);
    border-radius: 20px;
    border: 1px solid rgba(148, 163, 184, 0.25);
    padding: 0.9rem 1rem;
    margin-top: 0.75rem;
    box-shadow: 0 22px 48px rgba(15, 23, 42, 0.32);
    backdrop-filter: blur(12px);
    animation: app-navbar-reveal 0.28s ease;
    max-height: calc(100vh - 96px);
    overflow-y: auto;
    padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 1.5rem);
    scrollbar-gutter: stable both-edges;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

  .app-navbar-links {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
  }

  .app-navbar .nav-item {
    width: 100%;
  }

  .app-navbar-actions {
    gap: 0.75rem;
  }

  .app-navbar-cart {
    display: none;
  }

  .app-navbar-auth--guest {
    display: none;
  }

  .app-navbar-actions .theme-toggle {
    margin-top: 0.25rem;
  }

  .app-navbar .nav-link {
    justify-content: flex-start;
    text-align: left;
    font-size: 0.95rem;
    padding: 0.65rem 0.85rem;
    border-radius: 14px;
    color: rgba(226, 232, 240, 0.92);
    background: rgba(148, 163, 184, 0.08);
    transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
  }

  .app-navbar .nav-link:hover,
  .app-navbar .nav-link:focus-visible {
    color: #f8fafc;
    background: rgba(148, 163, 184, 0.2);
    transform: translateX(2px);
  }

  .app-navbar .nav-link-outline {
    border: 1px solid rgba(148, 163, 184, 0.45);
    background: rgba(15, 23, 42, 0.35);
    color: #f1f5f9;
  }

  .app-navbar .nav-link-outline:hover,
  .app-navbar .nav-link-outline:focus-visible {
    background: rgba(37, 99, 235, 0.22);
  }

  .app-navbar .nav-link-primary {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    border-color: transparent;
    box-shadow: 0 18px 36px rgba(37, 99, 235, 0.35);
  }

  .app-navbar .nav-link-primary:hover,
  .app-navbar .nav-link-primary:focus-visible {
    background: linear-gradient(135deg, #1d4ed8, #1e40af);
    border-color: transparent;
  }

  .app-navbar .dropdown-menu {
    position: static;
    float: none;
    width: 100%;
    margin: 0.35rem 0 0;
    border-radius: 14px;
    border: 1px solid rgba(148, 163, 184, 0.25);
    box-shadow: none;
    background: rgba(15, 23, 42, 0.7);
    padding: 0.25rem;
  }

  .app-navbar .dropdown-item {
    color: rgba(248, 250, 252, 0.9);
    padding: 0.65rem 0.85rem;
  }

  .app-navbar .dropdown-item:hover,
  .app-navbar .dropdown-item:focus-visible {
    background: rgba(148, 163, 184, 0.22);
    color: #f8fafc;
  }
}

.app-shell {
  flex: 1;
  display: flex;
  padding: 2.5rem 0 4rem;
}

.app-cart-banner {
  display: none;
}

@media (max-width: 991.98px) {
  .app-cart-banner {
    display: block;
    padding: 0 1rem;
    margin: 0.65rem auto 0;
    width: 100%;
  }

  .app-cart-banner > .container-xxl {
    max-width: min(1280px, 100%);
  }

  .app-cart-banner__inner {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.96), rgba(30, 64, 175, 0.92));
    border-radius: 20px;
    border: 1px solid rgba(148, 163, 184, 0.3);
    box-shadow: 0 24px 48px rgba(15, 23, 42, 0.25);
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
  }

  .app-cart-banner__summary {
    display: grid;
    gap: 0.35rem;
    flex: 1 1 auto;
    min-width: 0;
  }

  .app-cart-banner__title {
    font-size: 0.85rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-weight: 700;
    opacity: 0.82;
  }

  .app-cart-banner__details {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    font-weight: 600;
    font-size: 1.05rem;
  }

  .app-cart-banner__divider {
    opacity: 0.65;
  }

  .app-cart-banner__empty,
  .app-cart-banner__providers,
  .app-cart-banner__note,
  .app-cart-banner__feedback {
    margin: 0;
    font-size: 0.85rem;
  }

  .app-cart-banner__empty {
    opacity: 0.85;
  }

  .app-cart-banner__providers {
    color: rgba(248, 250, 252, 0.82);
  }

  .app-cart-banner__note {
    color: #fde68a;
  }

  .app-cart-banner__feedback {
    color: rgba(248, 250, 252, 0.9);
  }

  .app-cart-banner__actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 0 0 auto;
  }

  .app-cart-banner__checkout {
    font-weight: 600;
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.22);
    border-color: transparent;
    color: var(--brand-deep);
  }

  .app-cart-banner__checkout.disabled,
  .app-cart-banner__checkout[aria-disabled='true'] {
    opacity: 0.65;
    pointer-events: none;
  }

  .app-cart-banner__open {
    border-color: rgba(248, 250, 252, 0.7);
    color: #f8fafc;
    font-weight: 600;
  }

  .app-cart-banner__open:hover,
  .app-cart-banner__open:focus-visible {
    color: #fff;
    background: rgba(248, 250, 252, 0.16);
    border-color: rgba(248, 250, 252, 0.85);
  }
}

@media (max-width: 575.98px) {
  .app-cart-banner {
    padding: 0 0.75rem;
  }

  .app-cart-banner__inner {
    flex-direction: column;
    align-items: stretch;
    text-align: left;
  }

  .app-cart-banner__actions {
    width: 100%;
    flex-direction: row;
    justify-content: space-between;
  }

  .app-cart-banner__actions .btn {
    flex: 1 1 auto;
  }

  .app-cart-banner__actions .btn + .btn {
    margin-left: 0.5rem;
  }
}

[data-theme='dark'] .app-cart-banner__inner {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.45), rgba(59, 130, 246, 0.75));
  border-color: rgba(148, 163, 184, 0.4);
  box-shadow: 0 28px 52px rgba(2, 6, 23, 0.55);
}

[data-theme='dark'] .app-cart-banner__providers {
  color: rgba(226, 232, 240, 0.85);
}

[data-theme='dark'] .app-cart-banner__note {
  color: #facc15;
}

[data-theme='dark'] .app-cart-banner__open {
  border-color: rgba(226, 232, 240, 0.55);
}

.app-shell > .container-xxl {
  flex: 1;
  display: flex;
  flex-direction: column;
  max-width: min(1280px, 100%);
}

.app-navbar > .container-xxl {
  max-width: min(1280px, 100%);
}

body.app-has-sidebar .app-shell > .container-xxl {
  max-width: none;
}

.app-shell .row {
  flex: 1;
}

.app-sidebar {
  background: var(--brand-surface);
  border: 1px solid rgba(15, 23, 42, 0.05);
  border-radius: 28px;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
  padding: 2.25rem 1.75rem;
  margin-bottom: 1.5rem;
}

.app-sidebar,
.app-main {
  min-width: 0;
}

.app-sidebar .nav {
  gap: 0.5rem;
}

.app-sidebar .nav-link {
  color: var(--brand-text-muted);
  font-weight: 500;
  border-radius: 0.85rem;
  padding: 0.6rem 0.9rem;
  transition: background 0.2s ease, color 0.2s ease;
}

.app-sidebar .nav-link:hover,
.app-sidebar .nav-link:focus,
.app-sidebar .nav-link.active {
  color: var(--brand-primary);
  background: rgba(37, 99, 235, 0.1);
}

.app-main {
  flex: 1;
  padding: 2.5rem 1.5rem 3.5rem;
  display: flex;
  justify-content: center;
  align-items: stretch;
}

.page-surface {
  width: 100%;
  max-width: min(1280px, 100%);
  background: var(--brand-surface);
  border-radius: 32px;
  padding: 2.75rem 3rem;
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: var(--brand-shadow);
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.page-surface > :first-child {
  margin-top: 0;
}

.page-surface > :last-child {
  margin-bottom: 0;
}

.app-has-sidebar .app-main {
  justify-content: flex-start;
  padding: 2.5rem 2rem 3.5rem;
}

.app-has-sidebar .page-surface {
  max-width: none;
  border-radius: 28px;
}

.app-has-sidebar .app-sidebar {
  min-height: calc(100% - 1.5rem);
  margin-right: 1.5rem;
}

body:not(.app-has-sidebar) .page-surface {
  max-width: min(1280px, 100%);
}

body:not(.app-has-sidebar) .app-shell > .container-xxl {
  max-width: min(1280px, 100%);
}

body:not(.app-has-sidebar) .app-shell {
  padding: 2.5rem 0 4rem;
}

@media (min-width: 1600px) {
  body:not(.app-has-sidebar) .page-surface {
    max-width: 1440px;
  }

  body:not(.app-has-sidebar) .app-shell > .container-xxl {
    max-width: 1440px;
  }
}

@media (max-width: 991px) {
  .app-sidebar {
    border-radius: 24px;
    margin-right: 0;
  }

  .app-has-sidebar .app-main {
    padding: 2rem 1.5rem 3rem;
  }

  .page-surface {
    padding: 2.25rem 1.75rem;
    gap: 2rem;
  }
}

@media (max-width: 575px) {
  .app-main {
    padding: 2rem 1rem 2.75rem;
  }

  .page-surface {
    padding: 2rem 1.25rem;
    border-radius: 24px;
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.08);
  }

  body:not(.app-has-sidebar) {
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 55%, #0f172a 100%);
  }

  body:not(.app-has-sidebar) .app-navbar {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.95), rgba(30, 41, 59, 0.92));
  }

  body:not(.app-has-sidebar) .app-navbar-inner {
    border-radius: 0;
    border: none;
    box-shadow: none;
    padding: 1rem 1.25rem;
  }

  body:not(.app-has-sidebar) .app-navbar .navbar-brand {
    color: #f8fafc;
  }

  body:not(.app-has-sidebar) .app-navbar .nav-link {
    color: rgba(226, 232, 240, 0.9);
    background: rgba(15, 23, 42, 0.35);
  }

  body:not(.app-has-sidebar) .app-navbar .nav-link:hover,
  body:not(.app-has-sidebar) .app-navbar .nav-link:focus {
    background: rgba(148, 163, 184, 0.22);
  }

  body:not(.app-has-sidebar) .app-shell {
    padding: 0;
  }

  body:not(.app-has-sidebar) .app-shell > .container-xxl {
    padding: 0;
  }

  body:not(.app-has-sidebar) .app-main {
    padding: 0;
  }

  body:not(.app-has-sidebar) .page-surface {
    border-radius: 0;
    box-shadow: none;
    padding: 2.25rem 1.5rem 3rem;
    min-height: calc(100vh - 64px);
  }
}

.auth-card {
  max-width: 420px;
  margin: 0 auto;
  border-radius: 1rem;
  border: 1px solid rgba(148, 163, 184, 0.2);
  box-shadow: 0 18px 35px rgba(15, 23, 42, 0.12);
}

.auth-card .card-body {
  padding: 2.25rem 2rem;
}

.auth-card-brand {
  display: flex;
  justify-content: center;
  align-items: center;
}

.auth-card-brand-logo {
  max-height: 64px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 6px 16px rgba(15, 23, 42, 0.2));
  max-width: 100%;
}

.auth-card-wordmark {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-deep);
  text-shadow: 0 3px 10px rgba(15, 23, 42, 0.22);
}

.branding-preview-logo {
  max-height: 72px;
  width: auto;
  object-fit: contain;
  max-width: 100%;
}

.branding-preview-favicon {
  width: 32px;
  height: 32px;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.2);
}

@media (max-width: 575.98px) {
  .navbar-brand-wordmark {
    font-size: 1.35rem;
    letter-spacing: 0.2em;
  }

  .auth-card-brand-logo {
    max-height: 56px;
  }

  .auth-card-wordmark {
    font-size: 1.3rem;
    letter-spacing: 0.14em;
  }
}

.page-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.page-title {
  margin-bottom: 0;
  font-weight: 600;
}

.section-title {
  font-weight: 600;
}

.admin-form {
  gap: 1.5rem;
  border-radius: 28px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.admin-reviews-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .admin-reviews-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

.admin-review-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 1.75rem;
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.12);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.admin-review-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.admin-review-card__actions {
  display: flex;
  gap: 0.5rem;
}

.admin-review-card__actions form {
  margin: 0;
}

.admin-review-card__media img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
}

.admin-review-card__quote {
  margin: 0;
  font-style: italic;
  color: var(--brand-text);
  line-height: 1.6;
}

.admin-review-card__meta {
  font-size: 0.95rem;
  color: var(--brand-text-muted);
}

.admin-review-card__meta strong {
  display: block;
  color: var(--brand-text);
  font-weight: 600;
}

.admin-review-card__stars {
  display: inline-flex;
  gap: 0.1rem;
  font-size: 1rem;
  color: #d97706;
  margin-bottom: 0.5rem;
}

.admin-review-card__star--empty {
  color: rgba(15, 23, 42, 0.25);
}

.admin-faq-list {
  display: grid;
  gap: 1.5rem;
}

.admin-faq-card {
  background: var(--brand-surface);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 18px;
  padding: 1.5rem;
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.08);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.admin-faq-card__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.admin-faq-card__meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
}

.admin-faq-card__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.admin-faq-card__actions form {
  margin: 0;
}

.admin-faq-card__question {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0;
  color: var(--brand-text);
}

.admin-faq-card__answer {
  color: var(--brand-text-muted);
  line-height: 1.7;
}

.admin-faq-card__answer p:last-child {
  margin-bottom: 0;
}

.review-preview {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.18);
}

.portal-shell {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.portal-hero {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: stretch;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.95), rgba(15, 23, 42, 0.98));
  border-radius: 32px;
  padding: 2.75rem;
  color: rgba(248, 250, 252, 0.94);
  box-shadow: 0 32px 70px rgba(15, 23, 42, 0.28);
}

.portal-hero-body {
  flex: 1 1 320px;
}

.portal-kicker {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-weight: 600;
  margin-bottom: 1rem;
  color: rgba(248, 250, 252, 0.85);
}

.portal-hero h1 {
  font-size: clamp(2.1rem, 4vw, 2.9rem);
  color: #ffffff;
  margin-bottom: 1rem;
}

.portal-hero-copy {
  max-width: 38ch;
  color: rgba(248, 250, 252, 0.92);
  margin-bottom: 0;
}

.portal-hero-card {
  flex: 1 1 260px;
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(226, 232, 240, 0.2);
  border-radius: 28px;
  padding: 1.75rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  backdrop-filter: blur(8px);
  color: rgba(248, 250, 252, 0.94);
}

.portal-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(248, 250, 252, 0.88);
}

.portal-id {
  font-size: clamp(2rem, 6vw, 2.8rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #ffffff;
}

.portal-hero-hint {
  color: rgba(248, 250, 252, 0.85);
  margin-bottom: 0.75rem;
}

.portal-hero-actions {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.portal-tabs {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.portal-tab-nav .nav {
  gap: 0.75rem;
  flex-wrap: wrap;
}

.portal-tab-nav .nav-link {
  border-radius: 999px;
  padding: 0.5rem 1.25rem;
  background: rgba(148, 163, 184, 0.15);
  color: var(--brand-text-muted);
  border: 1px solid transparent;
  transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.portal-tab-nav .nav-link:hover,
.portal-tab-nav .nav-link:focus-visible {
  color: var(--brand-text);
  background: rgba(148, 163, 184, 0.25);
}

.portal-tab-nav .nav-link.active {
  background: var(--brand-primary);
  color: #ffffff;
  box-shadow: 0 18px 36px rgba(37, 99, 235, 0.25);
}

.portal-tab-panel {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.portal-subtabs {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.portal-subtab-nav {
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
  gap: 0.5rem;
  flex-wrap: wrap;
}

.portal-subtab-nav .nav-link {
  border-radius: 999px;
  padding: 0.4rem 1rem;
  color: var(--brand-text-muted);
  background: var(--brand-surface-muted);
  border: 1px solid transparent;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.portal-subtab-nav .nav-link:hover,
.portal-subtab-nav .nav-link:focus-visible {
  color: var(--brand-text);
  background: rgba(148, 163, 184, 0.2);
}

.portal-subtab-nav .nav-link.active {
  background: var(--brand-primary);
  color: #ffffff;
  border-color: var(--brand-primary);
}

.portal-subtab-content .tab-pane {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.cert-progress {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.cert-progress-head h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  margin-bottom: 0.4rem;
}

.cert-progress-head p {
  color: var(--brand-text-muted);
  margin-bottom: 0;
}

.cert-progress-layout {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.cert-progress-track {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.cert-progress-track--branch {
  flex-direction: column;
}

.cert-progress-node {
  position: relative;
  flex: 1 1 220px;
  min-width: 220px;
  border-radius: 24px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(15, 23, 42, 0.03);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.08);
}

.cert-progress-node--interactive {
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cert-progress-node--interactive:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.12);
}

.cert-progress-node--interactive:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.45);
  outline-offset: 4px;
}

.cert-progress-node--branch {
  min-width: 0;
}

.cert-progress-icon img {
  width: 56px;
  height: 56px;
}

.cert-progress-code {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-weight: 600;
  color: var(--brand-text-muted);
}

.cert-progress-copy p {
  margin-bottom: 0;
  color: var(--brand-text);
}

.cert-progress-state {
  margin-top: auto;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
}

.cert-progress-node--locked {
  opacity: 0.85;
}

.cert-progress-node--locked .cert-progress-state {
  color: rgba(148, 163, 184, 0.8);
}

.cert-progress-node--available {
  border-color: rgba(59, 130, 246, 0.35);
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(37, 99, 235, 0.08));
}

.cert-progress-node--available .cert-progress-state {
  color: rgba(37, 99, 235, 0.85);
}

.cert-progress-node--pending {
  border-color: rgba(245, 158, 11, 0.45);
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.1), rgba(245, 158, 11, 0.08));
}

.cert-progress-node--pending .cert-progress-state {
  color: rgba(180, 83, 9, 0.85);
}

.cert-progress-node--failed {
  border-color: rgba(239, 68, 68, 0.45);
  background: linear-gradient(135deg, rgba(248, 113, 113, 0.1), rgba(239, 68, 68, 0.08));
}

.cert-progress-node--failed .cert-progress-state {
  color: rgba(185, 28, 28, 0.85);
}

.cert-progress-node--passed {
  border-color: rgba(16, 185, 129, 0.45);
  background: linear-gradient(135deg, rgba(45, 212, 191, 0.12), rgba(16, 185, 129, 0.1));
}

.cert-progress-node--passed .cert-progress-state {
  color: rgba(4, 120, 87, 0.85);
}

.cert-progress-branch {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cert-progress-branch-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.cert-progress-branch-label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--brand-text-muted);
}

.cert-progress-foot {
  margin-bottom: 0;
  color: rgba(148, 163, 184, 0.85);
}

.portal-progress {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.92), rgba(30, 64, 175, 0.9));
  border-radius: 32px;
  padding: 2.5rem;
  color: #e2e8f0;
  box-shadow: 0 36px 70px rgba(15, 23, 42, 0.28);
}

.portal-progress-head p {
  color: rgba(226, 232, 240, 0.8);
}

.portal-progress-track {
  position: relative;
}

.portal-progress-track .portal-progress-node {
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(148, 163, 184, 0.35);
  color: #e2e8f0;
  box-shadow: 0 26px 60px rgba(8, 28, 73, 0.35);
}

.portal-progress-track .portal-progress-node::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -1.4rem;
  width: 2.2rem;
  height: 2px;
  background: rgba(148, 163, 184, 0.35);
}

.portal-progress-track .portal-progress-node:last-child::after {
  display: none;
}

.portal-progress-track--branch {
  padding-left: 0.75rem;
  border-left: 2px dashed rgba(148, 163, 184, 0.35);
}

.portal-progress-track--branch .portal-progress-node {
  min-width: 0;
  background: rgba(30, 64, 175, 0.55);
  border-color: rgba(147, 197, 253, 0.45);
  box-shadow: 0 18px 46px rgba(8, 28, 73, 0.3);
}

.portal-progress-state {
  color: rgba(226, 232, 240, 0.85);
}

.portal-progress-foot {
  color: rgba(226, 232, 240, 0.7);
}

.admin-progress {
  padding: 2rem;
  border-radius: 28px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: var(--brand-surface);
  margin-bottom: 2rem;
}

.admin-progress-head p {
  color: var(--brand-text-muted);
}

.admin-progress-track .admin-progress-node {
  background: rgba(248, 250, 252, 0.85);
}

.admin-progress-track--branch {
  border-left: 2px dashed rgba(148, 163, 184, 0.35);
  padding-left: 0.75rem;
}

.admin-progress-branch-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--brand-text-muted);
}

.portal-alert {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  background: linear-gradient(135deg, rgba(191, 219, 254, 0.35), rgba(148, 163, 184, 0.15));
  border-radius: 28px;
  padding: 1.75rem 2rem;
  border: 1px solid rgba(37, 99, 235, 0.25);
  box-shadow: 0 24px 55px rgba(15, 23, 42, 0.12);
}

.portal-alert--info {
  border-left: 6px solid rgba(37, 99, 235, 0.5);
}

.portal-alert h2 {
  font-size: 1.4rem;
  margin-bottom: 0.35rem;
  color: var(--brand-primary-strong);
}

.portal-alert p {
  margin-bottom: 0;
  color: var(--brand-text);
}

.portal-section {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.portal-section-head {
  max-width: 720px;
}

.portal-section-head h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  margin-bottom: 0.5rem;
}

.portal-section-head p {
  color: var(--brand-text-muted);
  margin-bottom: 0;
}

.portal-grid {
  display: grid;
  gap: 2rem;
}

.portal-grid--calendars {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.portal-grid--certs {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.portal-card {
  background: var(--brand-surface);
  border-radius: 28px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  padding: 2rem 2.25rem;
  box-shadow: 0 26px 60px rgba(15, 23, 42, 0.12);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

[data-theme='dark'] .portal-card {
  background: rgba(15, 23, 42, 0.92);
  border-color: rgba(148, 163, 184, 0.18);
  box-shadow: 0 26px 60px rgba(2, 6, 23, 0.45);
}

.portal-card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.25rem;
}

.portal-card-head > div {
  flex: 1 1 auto;
}

.portal-card-badge {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.05);
  box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.25);
  padding: 0.25rem;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

[data-theme='dark'] .portal-card-badge,
[data-theme='dark'] .cert-hero-badge,
[data-theme='dark'] .cert-course-badge {
  background: rgba(148, 163, 184, 0.16);
  box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.35);
}

.cert-hero-badge,
.cert-course-badge {
  width: 84px;
  height: 84px;
  border-radius: 24px;
  background: rgba(15, 23, 42, 0.06);
  box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.2);
  padding: 0.5rem;
  object-fit: contain;
  display: block;
  margin-bottom: 1.25rem;
}

.cert-course-badge {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  margin-bottom: 1.5rem;
}

.portal-card-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--brand-primary);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.portal-card-head h3 {
  margin-bottom: 0;
}

.portal-card-sub {
  margin-top: 0.25rem;
  margin-bottom: 0;
  color: var(--brand-text-muted);
}

.portal-status {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.portal-status--pass {
  background: rgba(34, 197, 94, 0.12);
  color: #047857;
}

.portal-status--fail {
  background: rgba(248, 113, 113, 0.12);
  color: #b91c1c;
}

.portal-status--pending {
  background: rgba(14, 116, 144, 0.12);
  color: #0f766e;
}

.portal-card-body {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.portal-meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
}

.portal-meta-grid div {
  padding: 1rem;
  background: rgba(148, 163, 184, 0.12);
  border-radius: 20px;
  border: 1px solid rgba(148, 163, 184, 0.2);
}

.portal-meta-grid dt {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--brand-text-muted);
  margin-bottom: 0.25rem;
}

.portal-meta-grid dd {
  margin: 0;
  font-weight: 600;
  color: var(--brand-text);
}

.portal-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.portal-form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}

.portal-field-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--brand-text-muted);
}

.portal-form-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.portal-form-toggle .form-check-input {
  width: 3rem;
  height: 1.5rem;
}

.portal-form-toggle .form-check-label {
  margin-left: 0.75rem;
}

.portal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.portal-share {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.portal-share-copy {
  margin-bottom: 0;
  color: var(--brand-text-muted);
}

.portal-share-field {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.portal-share-field input {
  flex: 1 1 220px;
  min-width: 0;
}

[data-theme='dark'] .portal-share-field input {
  background: rgba(15, 23, 42, 0.65);
  border-color: rgba(148, 163, 184, 0.35);
  color: var(--brand-text);
}

.portal-share-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.portal-card--calendar {
  padding: 2rem 2rem 2.5rem;
}

.portal-calendar {
  display: flex;
  flex-direction: column;
}

.portal-calendar .calendly-inline-widget {
  flex: 1 1 auto;
  min-width: 100%;
  width: 100%;
  min-height: 720px;
  height: auto !important;
  max-height: none !important;
  border-radius: 22px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  overflow: hidden;
  background: #fff;
}

.portal-calendar .calendly-inline-widget iframe {
  width: 100% !important;
  height: 100% !important;
}

.portal-card--links {
  gap: 0;
}

.portal-card--marketing {
  padding: 2rem 2.25rem;
}

.portal-card--materials {
  padding: 2rem 2.25rem;
}

.portal-card--codes {
  padding: 2rem 2.25rem;
}

.portal-code-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.portal-code-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.25rem;
  padding: 1rem 1.25rem;
  border-radius: 18px;
  background: rgba(148, 163, 184, 0.12);
  border: 1px solid rgba(148, 163, 184, 0.2);
}

.portal-code-list li > div {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.portal-code-product {
  font-weight: 600;
  color: var(--brand-text);
}

.portal-code-date {
  font-size: 0.85rem;
  color: var(--brand-text-muted);
}

.portal-code-value {
  font-family: "JetBrains Mono", "SFMono-Regular", Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  padding: 0.5rem 0.75rem;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.08);
  color: var(--brand-deep);
  word-break: break-all;
}

@media (max-width: 600px) {
  .portal-code-list li {
    flex-direction: column;
    align-items: flex-start;
  }
}

[data-theme='dark'] .portal-card--codes {
  background: rgba(15, 23, 42, 0.92);
}

[data-theme='dark'] .portal-code-list li {
  background: rgba(148, 163, 184, 0.12);
  border-color: rgba(148, 163, 184, 0.28);
}

[data-theme='dark'] .portal-code-product {
  color: #f8fafc;
}

[data-theme='dark'] .portal-code-date {
  color: rgba(226, 232, 240, 0.72);
}

[data-theme='dark'] .portal-code-value {
  background: rgba(148, 163, 184, 0.18);
  color: #e2e8f0;
}

.portal-link-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.portal-link-list--detailed {
  gap: 1.25rem;
}

.portal-link-strong {
  font-weight: 600;
  text-decoration: none;
  color: var(--brand-deep);
}

.portal-link-strong:hover,
.portal-link-strong:focus {
  text-decoration: underline;
}

.portal-link-description {
  margin: 0.35rem 0 0;
  color: var(--brand-text-muted);
  font-size: 0.9rem;
}

.portal-material-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.portal-material-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.portal-material-meta {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.portal-material-label {
  font-weight: 600;
  color: var(--brand-deep);
}

.sales-metric-list {
  display: grid;
  gap: 0.75rem;
}

.sales-metric-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 12px;
  background: #fff;
}

.sales-metric-list .badge {
  font-weight: 600;
  letter-spacing: 0.04em;
}

.portal-link-list a {
  font-weight: 600;
  text-decoration: none;
  color: var(--brand-primary);
}

.portal-link-list a:hover {
  text-decoration: underline;
}

.portal-attempt-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.portal-attempt-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 20px;
  padding: 1rem 1.25rem;
  background: rgba(148, 163, 184, 0.08);
}

.portal-attempt-title {
  font-weight: 600;
}

.portal-attempt-date {
  display: inline-block;
  margin-left: 0.5rem;
  color: var(--brand-text-muted);
}

.portal-card--support {
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}

.portal-card--support p {
  margin-bottom: 0;
}

.portal-card--support a {
  flex-shrink: 0;
}

@media (max-width: 1199.98px) {
  .portal-calendar .calendly-inline-widget {
    min-height: 640px;
  }
}

@media (max-width: 991px) {
  .portal-hero {
    padding: 2.25rem;
  }

  .portal-card {
    padding: 1.75rem 1.9rem;
  }

  .portal-calendar .calendly-inline-widget {
    min-height: 560px;
  }

  .portal-progress {
    padding: 2rem;
  }

  .portal-progress-track .portal-progress-node::after {
    display: none;
  }
}

@media (max-width: 767px) {
  .portal-grid--certs,
  .portal-grid--calendars {
    grid-template-columns: 1fr;
  }

  .portal-calendar .calendly-inline-widget {
    min-height: 480px;
  }

  .portal-meta-grid {
    grid-template-columns: 1fr;
  }

  .portal-hero {
    padding: 2.25rem 1.75rem;
  }

  .portal-hero-body,
  .portal-hero-card {
    flex: 1 1 100%;
  }

  .portal-hero-actions {
    justify-content: flex-start;
  }

  .portal-progress-layout {
    gap: 1.25rem;
  }

  .portal-progress-track {
    flex-direction: column;
  }

  .portal-progress-track--branch {
    border-left: none;
    padding-left: 0;
  }

  .admin-progress {
    padding: 1.5rem;
  }
}

@media (max-width: 575px) {
  .portal-card {
    padding: 1.5rem 1.6rem;
  }

  .portal-share-field {
    flex-direction: column;
    align-items: stretch;
  }

  .portal-share-field input {
    width: 100%;
  }

  .portal-form-footer {
    align-items: flex-start;
  }

  .portal-card--support {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (min-width: 992px) {
  .cert-progress-layout {
    flex-direction: row;
    align-items: stretch;
  }

  .cert-progress-branch {
    max-width: 360px;
  }
}

.btn-primary {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.35);
}

.btn-primary:hover,
.btn-primary:focus {
  background: var(--brand-primary-strong);
  border-color: var(--brand-primary-strong);
}

.btn-outline-primary {
  color: var(--brand-primary);
  border-color: var(--brand-primary);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
  color: #fff;
  background: var(--brand-primary);
  border-color: var(--brand-primary);
}

.btn-outline-light {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(15, 23, 42, 0.35);
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.25);
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.btn-outline-light:hover,
.btn-outline-light:focus {
  color: #0f172a;
  background: #fff;
  border-color: #fff;
  box-shadow: 0 22px 40px rgba(15, 23, 42, 0.28);
}

.public-page-wrapper {
  padding: 0;
}

.public-visibility-control {
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  background: rgba(226, 232, 240, 0.4);
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
}

.public-visibility-copy h6 {
  font-weight: 600;
  color: var(--brand-deep);
}

.public-visibility-copy p {
  color: var(--brand-text);
}

.public-visibility-form .form-check-input {
  cursor: pointer;
}

.public-visibility-form .btn {
  white-space: nowrap;
}

.public-certificate-page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 4rem;
}

.admin-page-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  background: linear-gradient(135deg, #0f172a, #1e293b);
  color: rgba(226, 232, 240, 0.92);
  border-radius: 18px;
  padding: 0.9rem 1.25rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: 0 26px 55px rgba(15, 23, 42, 0.18);
  margin-bottom: 1.5rem;
}

.admin-page-toolbar strong {
  color: #fff;
}

.admin-page-toolbar-text {
  margin: 0;
  font-size: 0.95rem;
  flex: 1 1 240px;
}

.admin-page-toolbar-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .public-certificate-page {
    padding: 3rem 2rem 5rem;
  }
}

.public-hero {
  position: relative;
  color: #f8fafc;
  border-radius: 32px;
  overflow: hidden;
  padding: 3rem 2rem;
  margin-bottom: 2.5rem;
  box-shadow: 0 35px 70px rgba(15, 23, 42, 0.28);
  background: linear-gradient(135deg, #1d4ed8, #4338ca);
}

.public-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(191, 219, 254, 0.25), transparent 65%),
    radial-gradient(circle at 80% 0%, rgba(165, 180, 252, 0.2), transparent 55%);
  pointer-events: none;
}

.public-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 992px) {
  .public-hero {
    padding: 4rem;
  }
  .public-hero-inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  }
}

.public-hero-tag {
  display: inline-block;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.18);
  padding: 0.45rem 1.25rem;
  border-radius: 999px;
  margin-bottom: 1.5rem;
}

.public-hero-title {
  font-size: clamp(2.1rem, 4vw + 1rem, 3.4rem);
  font-weight: 700;
  margin-bottom: 1rem;
}

.public-hero-subtitle {
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 1.25rem;
}

.public-hero-description {
  font-size: 1.05rem;
  max-width: 32rem;
  margin-bottom: 1.5rem;
}

.public-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.public-hero-art {
  justify-self: center;
  width: 100%;
  max-width: 420px;
}

.public-hero-art img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 25px 45px rgba(12, 8, 34, 0.35));
}

.public-hero.theme-capie {
  background: linear-gradient(135deg, #2563eb, #3730a3);
}

.public-hero.theme-cnwpp {
  background: linear-gradient(135deg, #1e40af, #1d4ed8);
}

.public-hero.theme-cwap {
  background: linear-gradient(135deg, #1d4ed8, #0ea5e9);
}

.public-hero.theme-cawap {
  background: linear-gradient(135deg, #312e81, #2563eb);
}

.public-hero.theme-cmwap {
  background: linear-gradient(135deg, #3730a3, #4c1d95);
}

.public-hero.theme-aurora {
  background: linear-gradient(135deg, #2563eb, #38bdf8);
}

.public-hero.theme-ember {
  background: linear-gradient(135deg, #1d4ed8, #9333ea);
}

.public-hero.theme-grove {
  background: linear-gradient(135deg, #1d4ed8, #0f766e);
}

.public-hero.theme-nocturne {
  background: linear-gradient(135deg, #312e81, #4338ca);
}

.public-section {
  margin-bottom: 2.25rem;
}

.public-card {
  position: relative;
  background: #ffffff;
  border-radius: 22px;
  padding: 2.5rem 2.25rem;
  box-shadow: 0 25px 45px rgba(15, 23, 42, 0.12);
  overflow: hidden;
}

.public-section-header {
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.public-section-title {
  font-size: 1.75rem;
  font-weight: 600;
}

.public-section-heading {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.public-section-accent {
  display: inline-block;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-primary);
  background: rgba(37, 99, 235, 0.12);
  padding: 0.35rem 0.95rem;
  border-radius: 999px;
  margin-bottom: 1.1rem;
}

.public-section-body {
  font-size: 1.05rem;
  line-height: 1.75;
}

.public-section-body p {
  margin-bottom: 1.1rem;
}

.public-section-body ul {
  list-style: none;
  padding-left: 0;
  display: grid;
  gap: 0.85rem;
  margin-bottom: 0;
}

.public-section-body ul li {
  position: relative;
  padding-left: 1.5rem;
}

.public-section-body ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65rem;
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.95), rgba(59, 130, 246, 0.85));
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.public-section--feature-grid .public-card {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(148, 163, 184, 0.08));
  box-shadow: none;
}

.public-section--feature-grid .public-section-accent {
  color: var(--brand-primary);
  background: rgba(37, 99, 235, 0.12);
}

.public-section--callout .public-card {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(79, 70, 229, 0.12));
  border: 1px solid rgba(37, 99, 235, 0.18);
}

.public-section--timeline .public-section-body ul {
  border-left: 3px solid rgba(37, 99, 235, 0.35);
  padding-left: 1.5rem;
}

.public-section--timeline .public-section-body ul li {
  padding-left: 1.5rem;
  margin-bottom: 0.4rem;
}

.public-section--timeline .public-section-body ul li::before {
  left: -1.85rem;
  top: 0.4rem;
  background: #2563eb;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15);
}

.public-detail-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.public-detail-grid dt {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #6b7280;
  margin-bottom: 0.35rem;
}

.public-detail-grid dd {
  margin-bottom: 0;
  font-size: 1.05rem;
  font-weight: 500;
  color: #111827;
}

.public-section--image .public-image-card {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  box-shadow: 0 25px 45px rgba(30, 64, 175, 0.12);
  background: #ffffff;
}

.public-image-card img {
  width: 100%;
  display: block;
}

.public-image-card figcaption {
  padding: 1.1rem 1.5rem;
  font-size: 0.95rem;
  color: #1f2937;
  background: rgba(255, 255, 255, 0.85);
}

.public-image--left .public-image-card,
.public-image--right .public-image-card {
  max-width: 520px;
}

@media (min-width: 992px) {
  .public-image--left {
    display: flex;
    justify-content: flex-start;
  }
  .public-image--right {
    display: flex;
    justify-content: flex-end;
  }
}

.public-share-link {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(6px);
  font-weight: 500;
  color: #0f172a;
}

.public-share-link:hover {
  color: #0f172a;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.12);
}

.public-share-link--disabled {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.18);
  color: var(--brand-text-muted);
  font-weight: 600;
}

[data-theme='dark'] .public-share-link {
  background: rgba(15, 23, 42, 0.7);
  border-color: rgba(148, 163, 184, 0.35);
  color: var(--brand-text);
}

[data-theme='dark'] .public-share-link:hover {
  color: var(--brand-text);
  box-shadow: 0 10px 28px rgba(2, 6, 23, 0.45);
}

[data-theme='dark'] .public-share-link--disabled {
  background: rgba(148, 163, 184, 0.22);
  color: rgba(226, 232, 240, 0.75);
}

.builder-list {
  min-height: 120px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.builder-item {
  cursor: grab;
  border-radius: 1rem;
  border: 1px solid rgba(148, 163, 184, 0.25);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.12);
}

.builder-item:active {
  cursor: grabbing;
}

.builder-item--locked {
  cursor: not-allowed;
}

.builder-item--locked .card-body {
  background: linear-gradient(135deg, rgba(148, 163, 184, 0.08), rgba(148, 163, 184, 0.04));
}

.public-editor-image-preview img,
.public-editor-artwork-preview img {
  border-radius: 0.75rem;
}


.capie-landing,
.cnwpp-landing {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}

.capie-nav,
.cnwpp-nav,
.cxnwap-nav {
  background: #fff;
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.1);
  padding: 0.75rem 1.5rem;
  margin-bottom: 2rem;
}

.capie-nav ul,
.cnwpp-nav ul,
.cxnwap-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  justify-content: center;
  padding: 0;
  margin: 0;
  list-style: none;
  font-weight: 500;
}

.capie-nav a,
.cnwpp-nav a,
.cxnwap-nav a {
  color: #334155;
  text-decoration: none;
}

.capie-nav a.active,
.capie-nav a:hover,
.capie-nav a:focus {
  color: var(--brand-primary);
}

.cnwpp-nav a.active,
.cnwpp-nav a:hover,
.cnwpp-nav a:focus {
  color: var(--brand-primary);
}

.cxnwap-nav a.active,
.cxnwap-nav a:hover,
.cxnwap-nav a:focus {
  color: var(--brand-primary);
}

.capie-hero,
.cnwpp-hero,
.cxnwap-hero {
  color: #f8fafc;
  border-radius: 36px;
  padding: 3rem;
  display: grid;
  gap: 2.5rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  box-shadow: 0 32px 60px rgba(15, 23, 42, 0.25);
  position: relative;
  overflow: hidden;
}

.capie-hero {
  background: linear-gradient(135deg, #2563eb, #4338ca);
}

.cnwpp-hero {
  background: linear-gradient(135deg, #1e3a8a, #2563eb);
}

.cxnwap-hero {
  background: linear-gradient(135deg, #1d4ed8, #0f766e);
}

.capie-hero::after,
.cnwpp-hero::after,
.cxnwap-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.capie-hero::after {
  background: radial-gradient(circle at 12% 24%, rgba(191, 219, 254, 0.25), transparent 60%),
    radial-gradient(circle at 82% 86%, rgba(165, 180, 252, 0.22), transparent 55%);
}

.capie-hero .btn-primary,
.cnwpp-hero .btn-primary,
.cxnwap-hero .btn-primary {
  background: #f8fafc;
  border-color: rgba(248, 250, 252, 0.9);
  color: #0f172a;
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.3);
}

.capie-hero .btn-primary:hover,
.capie-hero .btn-primary:focus,
.cnwpp-hero .btn-primary:hover,
.cnwpp-hero .btn-primary:focus,
.cxnwap-hero .btn-primary:hover,
.cxnwap-hero .btn-primary:focus {
  background: #e2e8f0;
  border-color: #e2e8f0;
  color: #0f172a;
}

.capie-hero .btn-outline-primary,
.cnwpp-hero .btn-outline-primary,
.cxnwap-hero .btn-outline-primary {
  color: #f8fafc;
  border-color: rgba(248, 250, 252, 0.75);
  background: rgba(15, 23, 42, 0.12);
}

.capie-hero .btn-outline-primary:hover,
.capie-hero .btn-outline-primary:focus,
.cnwpp-hero .btn-outline-primary:hover,
.cnwpp-hero .btn-outline-primary:focus,
.cxnwap-hero .btn-outline-primary:hover,
.cxnwap-hero .btn-outline-primary:focus {
  background: #f8fafc;
  color: #0f172a;
  border-color: #f8fafc;
}

.capie-hero .btn-link,
.cnwpp-hero .btn-link,
.cxnwap-hero .btn-link {
  color: rgba(226, 232, 240, 0.85);
}

.capie-hero .btn-link:hover,
.capie-hero .btn-link:focus,
.cnwpp-hero .btn-link:hover,
.cnwpp-hero .btn-link:focus,
.cxnwap-hero .btn-link:hover,
.cxnwap-hero .btn-link:focus {
  color: #f8fafc;
}

.cnwpp-hero::after {
  background: radial-gradient(circle at 10% 22%, rgba(191, 219, 254, 0.25), transparent 60%),
    radial-gradient(circle at 78% 88%, rgba(148, 163, 184, 0.18), transparent 55%);
}

.cxnwap-hero::after {
  background: radial-gradient(circle at 15% 22%, rgba(191, 219, 254, 0.25), transparent 60%),
    radial-gradient(circle at 86% 82%, rgba(45, 212, 191, 0.2), transparent 55%);
}

.capie-hero-intro,
.capie-course-card,
.cnwpp-hero-intro,
.cnwpp-course-card,
.cxnwap-hero-intro,
.cxnwap-course-card {
  position: relative;
  z-index: 1;
}

.capie-breadcrumb,
.cnwpp-breadcrumb,
.cxnwap-breadcrumb {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  margin-bottom: 1rem;
  color: rgba(248, 250, 252, 0.7);
}

.capie-breadcrumb span + span,
.cnwpp-breadcrumb span + span,
.cxnwap-breadcrumb span + span {
  margin-left: 0.5rem;
}

.capie-hero h1,
.cnwpp-hero h1,
.cxnwap-hero h1 {
  font-size: clamp(2.4rem, 4vw + 1rem, 3.6rem);
  margin-bottom: 1rem;
  font-weight: 700;
}

.capie-tagline,
.cnwpp-tagline,
.cxnwap-tagline {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 1.75rem;
  max-width: 36rem;
}

.capie-price-callout,
.cnwpp-price-callout,
.cxnwap-price-callout {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  align-items: center;
  border-radius: 18px;
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.cxnwap-price-list {
  display: grid;
  gap: 0.5rem;
}

.cxnwap-price-list li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  font-weight: 600;
}

.capie-price-callout,
.cnwpp-price-callout,
.cxnwap-price-callout {
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(248, 250, 252, 0.2);
  box-shadow: 0 18px 35px rgba(15, 23, 42, 0.18);
}

.cnwpp-hero-actions,
.cxnwap-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.cnwpp-hero-actions .btn-outline-light,
.cxnwap-hero-actions .btn-outline-light {
  border-color: rgba(248, 250, 252, 0.65);
  color: #f8fafc;
}

.cnwpp-hero-actions .btn-outline-light:hover,
.cnwpp-hero-actions .btn-outline-light:focus,
.cxnwap-hero-actions .btn-outline-light:hover,
.cxnwap-hero-actions .btn-outline-light:focus {
  background: rgba(248, 250, 252, 0.15);
  color: #f8fafc;
}

.capie-offer,
.cnwpp-offer,
.cxnwap-offer {
  font-size: 0.9rem;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.2em;
  margin-bottom: 0.25rem;
}

.capie-price,
.cnwpp-price,
.cxnwap-price {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.capie-price-original {
  color: rgba(248, 250, 252, 0.6);
  text-decoration: line-through;
  margin-right: 0.75rem;
}

.capie-price-current,
.cnwpp-price-current {
  color: #fff;
}

.capie-payment,
.cnwpp-payment {
  margin: 0;
  color: rgba(248, 250, 252, 0.8);
}

.capie-hero-list h2,
.cnwpp-hero-list h2 {
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

.capie-hero-list ul,
.cnwpp-hero-list ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.capie-hero-list li,
.cnwpp-hero-list li {
  padding-left: 1.75rem;
  position: relative;
  line-height: 1.55;
}

.capie-hero-list li::before,
.cnwpp-hero-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0.1rem;
  font-weight: 600;
  color: var(--brand-accent);
}

.cxnwap-hero-list h2 {
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

.cxnwap-hero-list ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.cxnwap-hero-list li {
  padding-left: 1.75rem;
  position: relative;
  line-height: 1.55;
}

.cxnwap-hero-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0.1rem;
  font-weight: 600;
  color: var(--brand-accent);
}

.capie-course-card,
.cnwpp-course-card,
.cxnwap-course-card {
  border-radius: 28px;
  padding: 2.25rem;
  display: grid;
  gap: 0.75rem;
  align-content: start;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(248, 250, 252, 0.22);
  box-shadow: 0 18px 35px rgba(15, 23, 42, 0.18);
}

.cxnwap-course-summary {
  font-weight: 600;
  color: rgba(248, 250, 252, 0.9);
}

.capie-course-card h2,
.cnwpp-course-card h2,
.cxnwap-course-card h2 {
  font-size: 1.45rem;
  font-weight: 600;
}

.capie-course-id,
.cnwpp-course-id {
  font-weight: 600;
}

.capie-course-meta,
.cnwpp-course-meta {
  margin-bottom: 0.5rem;
  color: rgba(248, 250, 252, 0.8);
}

.capie-course-note,
.cnwpp-course-note {
  font-size: 0.95rem;
  color: rgba(248, 250, 252, 0.85);
}

.capie-contents {
  margin-top: 3rem;
}

.promo-only {
  display: none;
}

.regular-only {
  display: inline;
}

.is-promo .promo-only {
  display: inline;
}

.is-promo .regular-only {
  display: none;
}

body.inline-editing .promo-only,
body.inline-editing .regular-only {
  display: inline;
}

.inline-edit-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

body.inline-editing .inline-edit-hidden {
  position: static;
  width: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  clip: auto;
  white-space: normal;
}

.site-footer {
  background: var(--brand-deep);
  color: #e2e8f0;
  padding: 2.5rem 0 2rem;
  margin-top: auto;
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1.75rem 2.5rem;
  align-items: center;
  justify-content: space-between;
}

.site-footer__brand {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.site-footer__logo {
  height: auto;
  max-height: 48px;
  width: auto;
  object-fit: contain;
}

.site-footer__logo-text {
  font-weight: 700;
  font-size: 1.25rem;
}

.site-footer__tagline {
  margin: 0;
  color: rgba(226, 232, 240, 0.8);
  max-width: 28rem;
}

.site-footer__social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.site-footer__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  color: #e2e8f0;
  font-weight: 600;
  font-size: 1rem;
}

.site-footer__social-link:hover,
.site-footer__social-link:focus-visible {
  color: #fff;
  border-color: rgba(148, 163, 184, 0.6);
  text-decoration: none;
}

.site-footer__legal {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: rgba(226, 232, 240, 0.7);
}

.site-footer__legal .dot {
  opacity: 0.6;
}

.admin-student-overview .card {
  border-radius: 22px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 18px 32px rgba(15, 23, 42, 0.08);
}

.admin-student-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.25rem;
}

.admin-student-actions {
  min-width: min(240px, 100%);
}

.admin-student-name {
  font-weight: 600;
  font-size: 0.95rem;
}

.admin-student-table {
  margin: 0;
}

.admin-student-table td,
.admin-student-table th {
  vertical-align: middle;
  white-space: nowrap;
}

.admin-student-table td:first-child,
.admin-student-table th:first-child {
  white-space: normal;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 1px solid transparent;
}

.status-pill--locked {
  background: rgba(148, 163, 184, 0.15);
  border-color: rgba(148, 163, 184, 0.3);
  color: #475569;
}

.status-pill--available {
  background: rgba(37, 99, 235, 0.15);
  border-color: rgba(37, 99, 235, 0.35);
  color: #1d4ed8;
}

.status-pill--pending {
  background: rgba(251, 191, 36, 0.2);
  border-color: rgba(251, 191, 36, 0.4);
  color: #92400e;
}

.status-pill--failed {
  background: rgba(248, 113, 113, 0.22);
  border-color: rgba(248, 113, 113, 0.45);
  color: #b91c1c;
}

.status-pill--passed {
  background: rgba(74, 222, 128, 0.22);
  border-color: rgba(74, 222, 128, 0.4);
  color: #166534;
}

@media (max-width: 768px) {
  .admin-student-header {
    align-items: stretch;
  }

  .admin-student-actions {
    width: 100%;
  }

  .admin-student-table {
    font-size: 0.85rem;
  }
}

.capie-contents-header {
  text-align: center;
  margin-bottom: 2rem;
}

.capie-modules details {
  background: #ffffff;
  border-radius: 20px;
  padding: 1.25rem 1.5rem;
  box-shadow: 0 18px 35px rgba(15, 23, 42, 0.08);
  margin-bottom: 1rem;
}

.capie-modules summary {
  cursor: pointer;
  font-weight: 600;
  color: #1f2937;
}

.capie-modules summary::-webkit-details-marker {
  display: none;
}

.capie-modules summary::after {
  content: "▾";
  float: right;
  transform: rotate(-90deg);
  transition: transform 0.2s ease;
}

.capie-modules details[open] summary::after {
  transform: rotate(0deg);
}

.capie-modules ul {
  margin-top: 1rem;
  margin-bottom: 0;
  padding-left: 1.2rem;
  color: #475569;
}

[data-theme='dark'] .capie-modules details {
  background: rgba(15, 23, 42, 0.82);
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: 0 22px 48px rgba(2, 6, 23, 0.55);
}

[data-theme='dark'] .capie-modules summary {
  color: var(--brand-text);
}

[data-theme='dark'] .capie-modules summary::after {
  color: var(--brand-text-muted);
}

[data-theme='dark'] .capie-module-body {
  color: var(--brand-text-muted);
}

[data-theme='dark'] .capie-modules ul {
  color: var(--brand-text-muted);
}

[data-theme='dark'] .capie-module-body h3,
[data-theme='dark'] .capie-module-body h4 {
  color: var(--brand-text);
}

[data-theme='dark'] .capie-module-body pre,
[data-theme='dark'] .capie-module-body code {
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.3);
  color: var(--brand-text);
}

[data-theme='dark'] .capie-module-body .table {
  color: var(--brand-text);
  border-color: rgba(148, 163, 184, 0.25);
}

[data-theme='dark'] .capie-module-body .table thead th {
  color: var(--brand-text);
  background: rgba(96, 165, 250, 0.12);
}

[data-theme='dark'] .capie-module-body .table tbody td {
  border-color: rgba(148, 163, 184, 0.2);
}

[data-theme='dark'] .cwap-pricing-card {
  background: rgba(15, 23, 42, 0.92);
  border: 1px solid rgba(148, 163, 184, 0.4);
  box-shadow: 0 24px 52px rgba(2, 6, 23, 0.55);
  color: var(--brand-text);
}

[data-theme='dark'] .cwap-pricing-card .text-muted {
  color: var(--brand-text-muted) !important;
}

[data-theme='dark'] .cwap-highlight-card {
  background: rgba(15, 23, 42, 0.88);
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: 0 26px 55px rgba(2, 6, 23, 0.58);
}

[data-theme='dark'] .cwap-highlight-card h2,
[data-theme='dark'] .cwap-highlight-card .fw-semibold {
  color: var(--brand-text);
}

[data-theme='dark'] .cwap-highlight-card p {
  color: var(--brand-text-muted);
}

.capie-newsletter,
.cnwpp-newsletter {
  margin-top: 4rem;
  text-align: center;
}

.capie-newsletter-card,
.cnwpp-newsletter-card {
  color: #f8fafc;
  border-radius: 32px;
  padding: 3rem 2rem;
  box-shadow: 0 24px 50px rgba(15, 23, 42, 0.18);
}

.capie-newsletter-card,
.cnwpp-newsletter-card {
  background: linear-gradient(135deg, #2563eb, #4338ca);
}

.capie-newsletter-form,
.cnwpp-newsletter-form {
  display: grid;
  gap: 1rem;
  max-width: 420px;
  margin: 1.5rem auto 2rem;
}

.capie-newsletter-form .btn,
.cnwpp-newsletter-form .btn {
  justify-self: center;
  min-width: 160px;
}

.capie-socials,
.cnwpp-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: center;
  font-weight: 500;
}

.capie-socials a,
.cnwpp-socials a {
  color: #0f172a;
  background: rgba(248, 250, 252, 0.9);
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  text-decoration: none;
}

.capie-legal-links,
.cnwpp-legal-links {
  margin-top: 1.5rem;
  color: #64748b;
}

.capie-legal-links a,
.cnwpp-legal-links a {
  color: inherit;
  text-decoration: none;
}

.capie-legal-links a:hover,
.capie-socials a:hover,
.cnwpp-legal-links a:hover,
.cnwpp-socials a:hover {
  text-decoration: underline;
}

.cnwpp-overview,
.cnwpp-bundle,
.cnwpp-domains,
.cnwpp-faq {
  margin-top: 3rem;
}

.cnwpp-bundle {
  display: flex;
  justify-content: center;
}

.cnwpp-overview-header {
  text-align: center;
  margin-bottom: 2rem;
}

.cnwpp-overview-grid,
.cnwpp-domains-grid,
.cnwpp-faq-grid {
  display: grid;
  gap: 1.5rem;
}

.cnwpp-domains > h2,
.cnwpp-faq > h2 {
  text-align: center;
  margin-bottom: 1.75rem;
}

@media (min-width: 768px) {
  .cnwpp-overview-grid,
  .cnwpp-domains-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }

  .cnwpp-faq-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  }

  .cxnwap-trifecta-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  }

  .cxnwap-highlight-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }
}

.cnwpp-card,
.cnwpp-bundle-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 2rem;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.12);
}

.cnwpp-bundle-card {
  max-width: 720px;
  margin: 0 auto;
}

.cnwpp-bundle-summary {
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.cnwpp-card h3,
.cnwpp-domains-grid article h3,
.cnwpp-faq-grid article h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.cnwpp-card p,
.cnwpp-bundle-card p,
.cnwpp-domains-grid article p,
.cnwpp-faq-grid article p {
  color: #475569;
  margin-bottom: 0;
}

.cnwpp-inline-link {
  color: var(--brand-primary);
  font-weight: 600;
  text-decoration: none;
}

.cnwpp-inline-link:hover,
.cnwpp-inline-link:focus {
  text-decoration: underline;
}

.cnwpp-bundle-card ul {
  padding-left: 1.25rem;
  margin-bottom: 1.5rem;
  color: #475569;
}

.cnwpp-domains article,
.cnwpp-faq-grid article {
  background: #ffffff;
  border-radius: 22px;
  padding: 1.75rem;
  box-shadow: 0 16px 35px rgba(15, 23, 42, 0.1);
}

.reviews-section {
  margin-top: 3rem;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(14, 165, 233, 0.12));
  padding: 2.75rem 2rem;
  border-radius: 32px;
  box-shadow: 0 24px 55px rgba(15, 23, 42, 0.12);
  overflow: hidden;
  box-sizing: border-box;
}

[data-theme='dark'] .reviews-section {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.85), rgba(37, 99, 235, 0.4));
  box-shadow: 0 30px 60px rgba(2, 6, 23, 0.45);
  border: 1px solid rgba(148, 163, 184, 0.2);
}

.reviews-section__header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.reviews-section__lead {
  margin-bottom: 0;
  color: var(--brand-text-muted);
}

.reviews-section__grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .reviews-section__grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  }
}

@media (max-width: 575.98px) {
  .reviews-section {
    padding: 2.25rem 1.25rem;
    border-radius: 24px;
  }

  .reviews-section__grid {
    grid-template-columns: 1fr;
  }

  .review-card {
    padding: 1.5rem;
  }
}

.review-card {
  background: rgba(255, 255, 255, 0.92);
  border-radius: 26px;
  padding: 1.75rem;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  min-width: 0;
}

[data-theme='dark'] .review-card {
  background: rgba(15, 23, 42, 0.78);
  box-shadow: 0 24px 48px rgba(2, 6, 23, 0.55);
  border: 1px solid rgba(148, 163, 184, 0.18);
}

.review-card__media img {
  width: 100%;
  border-radius: 22px;
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.18);
}

.review-card__quote {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--brand-text);
  line-height: 1.6;
}

[data-theme='dark'] .review-card__quote {
  color: rgba(226, 232, 240, 0.92);
}

.review-card__stars {
  display: inline-flex;
  gap: 0.15rem;
  font-size: 1.1rem;
  color: #f59e0b;
  margin-bottom: 0.35rem;
}

.review-card__star--empty {
  color: rgba(15, 23, 42, 0.25);
}

.review-card__meta {
  font-size: 0.95rem;
  color: var(--brand-text-muted);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.review-card__meta strong {
  color: var(--brand-text);
  font-weight: 600;
}

[data-theme='dark'] .review-card__meta strong {
  color: var(--brand-text);
}

.review-card__role {
  color: var(--brand-text-muted);
}

.cxnwap-landing {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}

.cxnwap-course-card h2 {
  font-size: 1.45rem;
  font-weight: 600;
}

.cxnwap-course-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
  color: rgba(248, 250, 252, 0.85);
}

.cxnwap-course-card li::marker {
  content: none;
}

.cxnwap-course-note {
  font-size: 0.95rem;
  color: rgba(248, 250, 252, 0.85);
}

.cxnwap-trifecta,
.cxnwap-highlights,
.cxnwap-traceability,
.cxnwap-lab {
  margin-top: 3rem;
}

.cxnwap-section-header {
  text-align: center;
  margin-bottom: 2rem;
}

.cxnwap-section-header h2 {
  font-size: 1.9rem;
  margin-bottom: 0.75rem;
}

.cxnwap-section-header p {
  max-width: 720px;
  margin: 0 auto;
  color: #475569;
}

.cxnwap-gallery {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.cxnwap-gallery-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.cxnwap-gallery figure {
  background: #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 24px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  box-shadow: 0 22px 48px rgba(15, 23, 42, 0.12);
}

.cxnwap-gallery img {
  width: 100%;
  height: auto;
}

.cxnwap-gallery figcaption {
  margin: 0;
  color: #475569;
  font-size: 0.95rem;
}

.cxnwap-trifecta-grid,
.cxnwap-highlight-grid {
  display: grid;
  gap: 1.5rem;
}

.cxnwap-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 2rem;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.12);
  display: grid;
  gap: 0.75rem;
}

.cxnwap-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: #0f172a;
}

.cxnwap-card p {
  color: #475569;
}

.cxnwap-card ul {
  margin: 0;
  padding-left: 1.1rem;
  color: #475569;
  display: grid;
  gap: 0.4rem;
}

.cxnwap-card-actions {
  margin-top: 0.5rem;
}

.cxnwap-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  color: var(--brand-primary);
  text-decoration: none;
}

.cxnwap-card-link::after {
  content: "→";
  transition: transform 0.2s ease;
}

.cxnwap-card-link:hover::after,
.cxnwap-card-link:focus::after {
  transform: translateX(4px);
}

.cxnwap-highlight-grid article {
  background: #ffffff;
  border-radius: 22px;
  padding: 1.75rem;
  box-shadow: 0 16px 35px rgba(15, 23, 42, 0.1);
}

.cxnwap-highlight-grid h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  color: #0f172a;
}

.cxnwap-highlight-grid p {
  color: #475569;
  margin: 0;
}

.cxnwap-traceability-card {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.15), rgba(16, 185, 129, 0.25));
  border-radius: 28px;
  padding: 2.75rem 2.5rem;
  box-shadow: 0 25px 50px rgba(15, 23, 42, 0.15);
  display: grid;
  gap: 1rem;
  color: #0f172a;
}

.cxnwap-traceability-card ul {
  margin: 0;
  padding-left: 1.25rem;
  color: #0f172a;
  display: grid;
  gap: 0.5rem;
}

.cxnwap-lab-card {
  background: #0f172a;
  color: #f8fafc;
  border-radius: 28px;
  padding: 2.75rem 2.5rem;
  box-shadow: 0 25px 50px rgba(15, 23, 42, 0.2);
  display: grid;
  gap: 1rem;
}

.cxnwap-lab-card ul {
  margin: 0;
  padding-left: 1.25rem;
  color: rgba(226, 232, 240, 0.9);
  display: grid;
  gap: 0.45rem;
}

.cxnwap-callout {
  background: rgba(37, 99, 235, 0.18);
  border-left: 4px solid #2563eb;
  padding: 1rem 1.25rem;
  border-radius: 16px;
  color: #dbeafe;
  font-weight: 600;
}

.cxnwap-newsletter {
  margin-top: 3rem;
  display: grid;
  gap: 1.5rem;
  justify-items: center;
  text-align: center;
}

.cxnwap-newsletter-card {
  background: linear-gradient(135deg, #2563eb, #38bdf8);
  color: #0f172a;
  border-radius: 30px;
  padding: 2.75rem 2.5rem;
  box-shadow: 0 25px 50px rgba(15, 23, 42, 0.15);
  max-width: 560px;
}

.cxnwap-newsletter-card p {
  margin: 0 auto;
  max-width: 32rem;
}

.cxnwap-newsletter-form {
  display: grid;
  gap: 1rem;
  max-width: 420px;
  margin: 1.75rem auto 0;
}

.cxnwap-newsletter-form input {
  border-radius: 999px;
  padding: 0.85rem 1.25rem;
  border: none;
  outline: none;
  background: #ffffff;
  color: #0f172a;
}

.cxnwap-newsletter-form input::placeholder {
  color: #64748b;
}

.cxnwap-newsletter-form input:focus {
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.25);
}

.cxnwap-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: center;
  font-weight: 500;
}

.cxnwap-socials a {
  color: #0f172a;
  background: rgba(255, 255, 255, 0.9);
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  text-decoration: none;
}

.cxnwap-socials a:hover {
  text-decoration: underline;
}

.cxnwap-legal-links {
  margin-top: 1rem;
  color: #475569;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
}

.cxnwap-legal-links a {
  color: inherit;
  text-decoration: none;
}

.cxnwap-legal-links a:hover {
  text-decoration: underline;
}

@media (max-width: 767px) {
  .capie-landing,
  .cnwpp-landing,
  .cxnwap-landing {
    padding: 1.5rem 1rem 3rem;
  }

  .capie-hero,
  .cnwpp-hero,
  .cxnwap-hero {
    padding: 2rem;
  }

  .capie-price-callout,
  .cnwpp-price-callout,
  .cxnwap-price-callout {
    flex-direction: column;
    align-items: flex-start;
  }

  .capie-nav,
  .cnwpp-nav,
  .cxnwap-nav {
    border-radius: 24px;
    padding: 0.75rem 1rem;
  }

  .cxnwap-newsletter-card {
    padding: 2.25rem 1.75rem;
  }
}

.cert-hub {
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.08), rgba(148, 163, 184, 0.12));
  color: var(--brand-text);
  padding: 3.75rem 2rem 4.5rem;
}

.cert-hub-hero {
  max-width: 960px;
  margin: 0 auto 3.5rem;
  text-align: center;
}

.cert-hub-featured {
  max-width: 1000px;
  margin: 2rem auto 0;
}

.cert-hub-featured__card {
  position: relative;
  border-radius: 26px;
  padding: clamp(1.75rem, 4vw, 2.75rem);
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.14), rgba(236, 72, 153, 0.12)), var(--brand-surface);
  box-shadow: 0 26px 60px rgba(15, 23, 42, 0.18);
  border: 1px solid rgba(15, 23, 42, 0.06);
  overflow: hidden;
}

.cert-hub-featured__card::after {
  content: "";
  position: absolute;
  inset: auto -40% -50% auto;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle at center, rgba(59, 130, 246, 0.28), transparent 65%);
  opacity: 0.6;
  transform: rotate(12deg);
  pointer-events: none;
}

[data-theme='dark'] .cert-hub-featured__card {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.32), rgba(236, 72, 153, 0.24)), rgba(15, 23, 42, 0.88);
  border-color: rgba(148, 163, 184, 0.22);
  box-shadow: 0 34px 70px rgba(2, 6, 23, 0.65);
}

.cert-hub-featured__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
  position: relative;
  z-index: 1;
}

.cert-hub-featured__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(59, 130, 246, 0.12);
  color: var(--brand-primary);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-weight: 600;
}

.cert-hub-featured__code {
  font-weight: 700;
  font-size: 0.85rem;
  color: rgba(15, 23, 42, 0.55);
  letter-spacing: 0.08em;
}

[data-theme='dark'] .cert-hub-featured__code {
  color: rgba(226, 232, 240, 0.7);
}

.cert-hub-featured__body {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1.1fr);
  position: relative;
  z-index: 1;
}

.cert-hub-featured__summary {
  color: rgba(15, 23, 42, 0.72);
  font-size: 1.05rem;
  margin-bottom: 1rem;
}

[data-theme='dark'] .cert-hub-featured__summary {
  color: rgba(226, 232, 240, 0.8);
}

.cert-hub-featured__highlights {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.65rem;
}

.cert-hub-featured__highlights li {
  position: relative;
  padding-left: 1.5rem;
  font-weight: 500;
}

.cert-hub-featured__highlights li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.05rem;
  color: var(--brand-primary);
  font-weight: 700;
}

.cert-hub-featured__aside {
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.7);
  border-radius: 18px;
  padding: 1.25rem 1.5rem;
  align-self: center;
  display: grid;
  gap: 1.25rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
}

[data-theme='dark'] .cert-hub-featured__aside {
  background: rgba(15, 23, 42, 0.72);
  border-color: rgba(148, 163, 184, 0.28);
}

.cert-hub-featured__pricing {
  display: grid;
  gap: 0.35rem;
}

.cert-hub-featured__price-old {
  color: rgba(15, 23, 42, 0.45);
  text-decoration: line-through;
  font-weight: 500;
}

[data-theme='dark'] .cert-hub-featured__price-old {
  color: rgba(226, 232, 240, 0.55);
}

.cert-hub-featured__price-new {
  font-size: clamp(1.75rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--brand-primary);
}

.cert-hub-featured__savings {
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(15, 23, 42, 0.7);
}

[data-theme='dark'] .cert-hub-featured__savings {
  color: rgba(226, 232, 240, 0.75);
}

.cert-hub-featured__cta {
  display: grid;
  gap: 0.75rem;
}

.cert-hub-featured__cta .btn-outline-light {
  color: var(--brand-primary);
  border-color: rgba(15, 23, 42, 0.15);
  background-color: rgba(255, 255, 255, 0.75);
}

[data-theme='dark'] .cert-hub-featured__cta .btn-outline-light {
  color: rgba(226, 232, 240, 0.95);
  border-color: rgba(148, 163, 184, 0.3);
  background-color: rgba(15, 23, 42, 0.5);
}

.cert-hub-featured .carousel-indicators [data-bs-target] {
  background-color: var(--brand-primary);
}

.cert-hub-featured .carousel-control-prev-icon,
.cert-hub-featured .carousel-control-next-icon {
  filter: drop-shadow(0 10px 20px rgba(15, 23, 42, 0.2));
}

[data-theme='dark'] .cert-hub-featured .carousel-control-prev-icon,
[data-theme='dark'] .cert-hub-featured .carousel-control-next-icon {
  filter: drop-shadow(0 10px 25px rgba(2, 6, 23, 0.45));
}

@media (max-width: 992px) {
  .cert-hub-featured__card::after {
    inset: auto -60% -60% auto;
  }

  .cert-hub-featured__body {
    grid-template-columns: 1fr;
  }

  .cert-hub-featured__aside {
    justify-self: stretch;
  }

  .cert-hub-featured__cta {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  }
}

.cert-hub-hero-panels {
  display: grid;
  gap: 1.75rem;
  margin-top: 2.5rem;
}

.cert-hub-founder {
  margin-top: clamp(1.75rem, 4vw, 2.75rem);
  display: grid;
  gap: 1.5rem;
  align-items: center;
  background: rgba(15, 23, 42, 0.04);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 24px;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  box-shadow: 0 28px 52px rgba(15, 23, 42, 0.12);
  text-align: left;
}

[data-theme='dark'] .cert-hub-founder {
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow: 0 30px 70px rgba(2, 6, 23, 0.55);
}

.cert-hub-founder__media {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.cert-hub-founder__photo {
  width: clamp(96px, 14vw, 140px);
  height: clamp(96px, 14vw, 140px);
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 22px 45px rgba(37, 99, 235, 0.3);
}

.cert-hub-founder__placeholder {
  width: clamp(96px, 14vw, 140px);
  height: clamp(96px, 14vw, 140px);
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.25), rgba(14, 165, 233, 0.25));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: rgba(15, 23, 42, 0.75);
}

.cert-hub-founder__body {
  display: grid;
  gap: 0.75rem;
}

.cert-hub-founder__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #1d4ed8, #2563eb);
  color: #fff;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  font-weight: 700;
  text-transform: uppercase;
}

.cert-hub-founder__name {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 700;
}

.cert-hub-founder__title {
  margin: 0;
  color: var(--brand-text-muted);
  font-weight: 600;
}

.cert-hub-founder__story {
  margin: 0;
  color: rgba(15, 23, 42, 0.78);
  line-height: 1.7;
}

[data-theme='dark'] .cert-hub-founder__story {
  color: rgba(226, 232, 240, 0.85);
}

.cert-hub-founder__metrics {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.75rem;
}

.cert-hub-founder__metric {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.cert-hub-founder__metric-value {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--brand-primary-strong);
}

.cert-hub-founder__metric-label {
  font-size: 0.9rem;
  color: var(--brand-text-muted);
}

@media (min-width: 768px) {
  .cert-hub-founder {
    grid-template-columns: auto minmax(0, 1fr);
  }
}

.cert-hub-hero-checklist,
.cert-hub-investment {
  background: rgba(255, 255, 255, 0.88);
  border-radius: 28px;
  padding: 2.25rem;
  box-shadow: 0 28px 55px rgba(15, 23, 42, 0.12);
  backdrop-filter: blur(8px);
  text-align: left;
}

[data-theme='dark'] .cert-hub-hero-checklist,
[data-theme='dark'] .cert-hub-investment {
  background: rgba(15, 23, 42, 0.8);
  box-shadow: 0 28px 55px rgba(2, 6, 23, 0.45);
  border: 1px solid rgba(148, 163, 184, 0.25);
}

.cert-hub-hero-checklist {
  border: 1px solid rgba(37, 99, 235, 0.1);
}

.cert-hub-hero-subtitle {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-weight: 700;
  color: var(--brand-primary-strong);
  margin-bottom: 1rem;
}

.cert-hub-hero-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1.1rem;
}

.cert-hub-hero-list li {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  font-weight: 600;
  color: var(--brand-text);
}

.cert-hub-hero-list li::before {
  content: "";
  width: 0.9rem;
  height: 0.9rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-accent));
  margin-top: 0.35rem;
  flex-shrink: 0;
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.3);
}

.cert-hub-investment {
  border: 1px solid rgba(37, 99, 235, 0.18);
  display: grid;
  gap: 1.25rem;
}

.cert-hub-investment-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--brand-deep);
  margin: 0;
}

[data-theme='dark'] .cert-hub-investment-title {
  color: var(--brand-surface);
}

.cert-hub-investment-list {
  display: grid;
  gap: 0.85rem;
  margin: 0;
}

.cert-hub-investment-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(37, 99, 235, 0.08);
  border-radius: 18px;
  padding: 0.85rem 1.25rem;
  border: 1px solid rgba(37, 99, 235, 0.18);
}

.cert-hub-investment-row dt {
  margin: 0;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-text-muted);
}

.cert-hub-investment-row dd {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  color: var(--brand-deep);
}

[data-theme='dark'] .cert-hub-investment-row dt {
  color: rgba(226, 232, 240, 0.75);
}

[data-theme='dark'] .cert-hub-investment-row dd {
  color: var(--brand-surface);
}

.cert-hub-price {
  font-size: 1.15rem;
  font-variant-numeric: tabular-nums;
  color: var(--brand-primary);
}

.cert-hub-investment-note {
  margin: 0;
  color: var(--brand-text-muted);
  font-weight: 500;
}

.cert-hub-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-weight: 600;
  color: var(--brand-primary);
  margin-bottom: 1rem;
}

.cert-hub-hero h1 {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  margin-bottom: 1.5rem;
  color: var(--brand-text);
}

.cert-hub-tagline {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 2.5rem;
  color: var(--brand-text-muted);
}

.cert-hub-cta-group {
  display: inline-flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.cert-hub-video {
  margin: 2.5rem auto 0;
  max-width: 900px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.cert-hub-video-frame {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: #000;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.18);
}

.cert-hub-video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.cert-hub-video-caption {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--brand-text-muted);
}

.cert-hub-video-label {
  font-weight: 600;
  color: var(--brand-text-primary);
}

.cert-hub-video-external {
  font-size: 0.9rem;
  text-decoration: none;
  font-weight: 500;
}

.cert-hub-video-external:hover,
.cert-hub-video-external:focus {
  text-decoration: underline;
}

.cert-hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto 4rem;
  align-items: stretch;
}

.cert-hub-gallery {
  max-width: 1100px;
  margin: 0 auto 4rem;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.cert-hub-gallery-head {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 0 auto;
  max-width: 760px;
}

.cert-hub-gallery-head p {
  margin-bottom: 0;
  color: var(--brand-text-muted);
}

.cert-hub-gallery-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.cert-hub-gallery figure {
  background: var(--brand-surface);
  border-radius: 24px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  padding: 1.5rem;
  box-shadow: 0 22px 48px rgba(15, 23, 42, 0.12);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  height: 100%;
}

.cert-hub-gallery img {
  width: 100%;
  height: auto;
}

.cert-hub-gallery figcaption {
  margin: 0;
  color: var(--brand-text-muted);
  font-size: 0.95rem;
}

.cert-hub-card {
  background: var(--brand-surface);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 24px;
  padding: 2.25rem;
  box-shadow: 0 24px 55px rgba(15, 23, 42, 0.12);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  height: 100%;
}

.cert-hub-badge {
  width: 72px;
  height: 72px;
  border-radius: 22px;
  background: rgba(15, 23, 42, 0.06);
  box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.2);
  padding: 0.5rem;
  object-fit: contain;
  display: block;
}

.cert-hub-card h2 {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
  color: var(--brand-text);
}

.cert-hub-card p {
  color: var(--brand-text-muted);
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.cert-hub-card ul {
  padding-left: 1.1rem;
  margin-bottom: 2rem;
  color: var(--brand-text);
}

.cert-hub-card li + li {
  margin-top: 0.35rem;
}

.cert-hub-card .btn {
  width: 100%;
  font-weight: 600;
  margin-top: auto;
}

[data-theme='dark'] .cert-hub-faq .accordion-item {
  background: rgba(15, 23, 42, 0.65);
  border-color: rgba(148, 163, 184, 0.25);
  box-shadow: 0 24px 55px rgba(2, 6, 23, 0.6);
}

[data-theme='dark'] .cert-hub-faq .accordion-button {
  background: rgba(15, 23, 42, 0.35);
  color: var(--brand-text);
}

[data-theme='dark'] .cert-hub-faq .accordion-button:not(.collapsed) {
  background: rgba(96, 165, 250, 0.12);
  color: var(--brand-text);
  box-shadow: inset 0 -1px 0 rgba(148, 163, 184, 0.25);
}

[data-theme='dark'] .cert-hub-faq .accordion-body {
  background: rgba(15, 23, 42, 0.2);
  color: rgba(226, 232, 240, 0.88);
}

.cert-hub-faq {
  max-width: 820px;
  margin: 0 auto 4rem;
}

.cert-hub-faq .accordion-item {
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 18px;
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.08);
  overflow: hidden;
  background: var(--brand-surface);
}

.cert-hub-faq .accordion-button {
  font-weight: 600;
  color: var(--brand-text);
}

.cert-hub-faq .accordion-body {
  color: var(--brand-text-muted);
  line-height: 1.7;
}

.cert-hub-social {
  max-width: 820px;
  margin: clamp(2.5rem, 6vw, 4rem) auto 0;
}

.cert-hub-social-card {
  background: var(--brand-surface);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 26px;
  padding: clamp(2rem, 4vw, 2.75rem);
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.1);
  text-align: center;
  display: grid;
  gap: 1.25rem;
}

.cert-hub-social-card p {
  margin: 0 auto;
  max-width: 32rem;
}

.cert-hub-social-card .site-footer__social {
  justify-content: center;
}

.cert-hub-social-card .site-footer__social-link {
  color: var(--brand-primary);
  border-color: rgba(59, 130, 246, 0.35);
  background: rgba(59, 130, 246, 0.08);
}

.cert-hub-social-card .site-footer__social-link:hover,
.cert-hub-social-card .site-footer__social-link:focus-visible {
  color: var(--brand-primary-strong);
  border-color: rgba(37, 99, 235, 0.6);
  background: rgba(37, 99, 235, 0.16);
}

[data-theme='dark'] .cert-hub-social-card {
  background: rgba(15, 23, 42, 0.88);
  border-color: rgba(148, 163, 184, 0.22);
  box-shadow: 0 28px 60px rgba(2, 6, 23, 0.6);
}

[data-theme='dark'] .cert-hub-social-card .site-footer__social-link {
  color: #e2e8f0;
  border-color: rgba(148, 197, 255, 0.45);
  background: rgba(37, 99, 235, 0.26);
}

[data-theme='dark'] .cert-hub-social-card .site-footer__social-link:hover,
[data-theme='dark'] .cert-hub-social-card .site-footer__social-link:focus-visible {
  color: #fff;
  border-color: rgba(148, 197, 255, 0.7);
  background: rgba(59, 130, 246, 0.38);
}

.cert-hub-footer {
  max-width: 820px;
  margin: 3rem auto 0;
  text-align: center;
  background: var(--brand-surface);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 28px;
  padding: 3rem;
  box-shadow: 0 24px 55px rgba(15, 23, 42, 0.12);
}

.cert-hub-footer h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--brand-text);
}

.cert-hub-footer p {
  color: var(--brand-text-muted);
  margin-bottom: 2rem;
  line-height: 1.7;
}

@media (min-width: 992px) {
  .cert-hub-hero-panels {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
  }
}

.faq-section {
  max-width: 820px;
  margin: 0 auto 3rem;
}

.faq-section__header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.faq-section__lead {
  color: var(--brand-text-muted);
  margin-top: 0.5rem;
}

.faq-section__accordion .accordion-item {
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 18px;
  overflow: hidden;
  background: var(--brand-surface);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.08);
  margin-bottom: 1rem;
}

.faq-section__accordion .accordion-button {
  font-weight: 600;
  color: var(--brand-text);
}

.faq-section__accordion .accordion-body {
  color: var(--brand-text-muted);
  line-height: 1.75;
}

.faq-section__accordion .accordion-body p:last-child {
  margin-bottom: 0;
}

.faq-section__empty {
  text-align: center;
  color: var(--brand-text-muted);
  background: var(--brand-surface);
  border: 1px dashed rgba(15, 23, 42, 0.2);
  border-radius: 16px;
  padding: 2rem;
  font-weight: 500;
}

[data-theme='dark'] .faq-section__accordion .accordion-item {
  background: rgba(15, 23, 42, 0.78);
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: 0 20px 48px rgba(2, 6, 23, 0.55);
}

[data-theme='dark'] .faq-section__accordion .accordion-button {
  background: transparent;
  color: var(--brand-text);
  box-shadow: none;
}

[data-theme='dark'] .faq-section__accordion .accordion-button:not(.collapsed) {
  color: var(--brand-text);
  background: rgba(96, 165, 250, 0.12);
  box-shadow: inset 0 -1px 0 rgba(148, 163, 184, 0.25);
}

[data-theme='dark'] .faq-section__accordion .accordion-button::after {
  filter: invert(1) brightness(1.1);
}

[data-theme='dark'] .faq-section__accordion .accordion-body {
  color: var(--brand-text-muted);
  background: transparent;
}

@media (max-width: 767px) {
  .cert-hub {
    padding: 3rem 1.25rem 4rem;
  }

  .cert-hub-footer {
    padding: 2.5rem 1.75rem;
  }
}


.coaching-landing {
  display: flex;
  flex-direction: column;
  gap: clamp(3rem, 3vw + 2rem, 5rem);
}

.coaching-hero {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  padding: clamp(2.75rem, 3vw + 2rem, 4.25rem);
  color: #fff;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 320px);
  gap: clamp(2.25rem, 2vw + 1.5rem, 3.5rem);
  align-items: start;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.97), rgba(30, 64, 175, 0.92));
  box-shadow: 0 40px 70px rgba(15, 23, 42, 0.4);
}

.coaching-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(37, 99, 235, 0.4), transparent 60%),
    linear-gradient(160deg, rgba(59, 130, 246, 0.35), transparent 55%);
  opacity: 0.85;
  pointer-events: none;
}

.coaching-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.18;
}

.coaching-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.05);
}

.coaching-hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  background: rgba(15, 23, 42, 0.88);
  border: 1px solid rgba(148, 197, 255, 0.35);
  border-radius: 26px;
  padding: clamp(1.85rem, 2vw + 1.5rem, 2.75rem);
  box-shadow: 0 30px 70px rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(14px);
}

.coaching-hero-content h1,
.coaching-hero-content p,
.coaching-hero-content li {
  text-shadow: 0 2px 12px rgba(15, 23, 42, 0.5);
}

.coaching-hero-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.8rem;
  color: rgba(148, 197, 255, 0.92);
  font-weight: 600;
}


.coaching-hero-tagline {
  font-size: clamp(1.15rem, 1rem + 0.85vw, 1.55rem);
  color: rgba(226, 239, 255, 0.94);
}

.coaching-hero-list {
  margin: 0;
  padding-left: 1.2rem;
  display: grid;
  gap: 0.75rem;
  color: rgba(226, 239, 255, 0.92);
}

.coaching-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.coaching-offer {
  position: relative;
  z-index: 1;
  max-width: 340px;
  margin-left: auto;
  background: rgba(15, 23, 42, 0.82);
  border-radius: 26px;
  padding: 2rem 1.75rem;
  box-shadow: 0 30px 70px rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(148, 197, 255, 0.2);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.coaching-offer h2 {
  font-size: 1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(148, 197, 255, 0.9);
}

.coaching-price {
  font-size: clamp(2rem, 1.6rem + 1vw, 2.5rem);
  font-weight: 700;
  margin: 0;
  color: var(--brand-primary);
}

.coaching-payment {
  margin: 0;
  color: rgba(226, 239, 255, 0.85);
}

.coaching-offer-list {
  margin: 0;
  padding-left: 1.2rem;
  display: grid;
  gap: 0.5rem;
  color: rgba(226, 239, 255, 0.85);
}

.coaching-offer-note {
  margin: 0;
  font-size: 0.85rem;
  color: rgba(226, 239, 255, 0.75);
}

.coaching-section-intro {
  max-width: 760px;
  display: grid;
  gap: 0.75rem;
}

.coaching-section-eyebrow {
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  color: var(--brand-primary);
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.coaching-outcomes {
  display: grid;
  gap: 2rem;
}

.coaching-tile {
  background: var(--brand-surface);
  border-radius: 24px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  padding: 2rem;
  box-shadow: 0 24px 40px rgba(15, 23, 42, 0.08);
  height: 100%;
}

.coaching-tile h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.coaching-agenda {
  display: grid;
  gap: 2.25rem;
}

.coaching-steps {
  counter-reset: coaching-step;
  display: grid;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.coaching-steps li {
  background: var(--brand-surface);
  border-radius: 22px;
  padding: 1.75rem 1.75rem 1.75rem 3.75rem;
  position: relative;
  box-shadow: var(--brand-shadow);
}

.coaching-steps li::before {
  counter-increment: coaching-step;
  content: counter(coaching-step);
  position: absolute;
  top: 1.75rem;
  left: 1.5rem;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--brand-primary);
  color: #fff;
  font-weight: 600;
}

.coaching-steps h3 {
  font-size: 1.1rem;
  margin-bottom: 0.35rem;
}

.coaching-artifacts {
  display: grid;
  gap: clamp(2rem, 2vw + 1.5rem, 3rem);
  align-items: start;
}

.coaching-artifacts-card {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(14, 116, 144, 0.08));
  border-radius: 26px;
  padding: clamp(2rem, 2vw + 1.5rem, 3rem);
  border: 1px solid rgba(59, 130, 246, 0.25);
  box-shadow: 0 30px 50px rgba(15, 23, 42, 0.12);
  display: grid;
  gap: 1rem;
}

.coaching-artifacts-card ul {
  margin: 0;
  padding-left: 1.2rem;
  display: grid;
  gap: 0.65rem;
}

.coaching-artifacts-note {
  margin: 0;
  color: var(--brand-text-muted);
}

.coaching-artifacts-grid {
  display: grid;
  gap: 1.5rem;
}

.coaching-card {
  background: var(--brand-surface);
  border-radius: 22px;
  padding: 1.75rem;
  border: 1px solid rgba(148, 163, 184, 0.2);
  box-shadow: 0 18px 30px rgba(15, 23, 42, 0.08);
}

.coaching-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.coaching-faq {
  display: grid;
  gap: 1.75rem;
}

.coaching-cta {
  background: var(--brand-deep);
  color: #fff;
  border-radius: 26px;
  padding: clamp(2.5rem, 2vw + 2rem, 3.5rem);
  text-align: center;
  display: grid;
  gap: 1.5rem;
}

.coaching-social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.coaching-social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  font-weight: 600;
  font-size: 1rem;
  color: var(--brand-primary);
  background: rgba(255, 255, 255, 0.08);
}

[data-theme='dark'] .coaching-social-links a {
  color: #e2e8f0;
  background: rgba(15, 23, 42, 0.65);
  border-color: rgba(148, 163, 184, 0.4);
}

.coaching-social-links a:hover,
.coaching-social-links a:focus-visible {
  text-decoration: none;
  border-color: rgba(59, 130, 246, 0.5);
  background: rgba(59, 130, 246, 0.15);
  color: var(--brand-primary-strong);
}

[data-theme='dark'] .coaching-social-links a:hover,
[data-theme='dark'] .coaching-social-links a:focus-visible {
  color: #fff;
  border-color: rgba(148, 197, 255, 0.6);
  background: rgba(37, 99, 235, 0.25);
}

.coaching-cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

@media (min-width: 992px) {
  .coaching-hero {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 1fr);
  }

  .coaching-artifacts {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  }

  .coaching-artifacts-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 991.98px) {
  .coaching-hero {
    grid-template-columns: minmax(0, 1fr);
    padding: clamp(2.25rem, 3vw + 1.75rem, 3rem);
  }

  .coaching-hero-content {
    backdrop-filter: none;
    background: rgba(15, 23, 42, 0.9);
  }

  .coaching-offer {
    margin-left: 0;
    max-width: none;
  }
}

@media (max-width: 767.98px) {
.coaching-steps li {
  padding-left: 3.25rem;
}
}

.design-directory {
  display: flex;
  flex-direction: column;
  gap: clamp(2.5rem, 3vw + 2rem, 4rem);
}

.design-directory__section {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.design-directory__head {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: flex-start;
}

@media (min-width: 768px) {
  .design-directory__head {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
  }

  .design-directory__head > div {
    max-width: 420px;
  }
}

.design-directory__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  color: var(--brand-primary);
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.design-directory__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.design-card {
  background: var(--brand-surface);
  border-radius: 24px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  padding: 1.75rem;
  box-shadow: 0 24px 45px rgba(15, 23, 42, 0.12);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.design-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 55px rgba(15, 23, 42, 0.16);
}

.design-card__slug {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  color: var(--brand-text-muted);
  font-weight: 600;
}

.design-card__description {
  margin: 0;
  color: var(--brand-text-muted);
}

.design-card__meta {
  display: grid;
  gap: 0.25rem;
  font-size: 0.85rem;
  color: var(--brand-text-muted);
}

.design-card__meta-label {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.7rem;
}

.design-card__meta-value {
  font-family: "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-weight: 500;
}

.design-card__actions {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.design-card--compact {
  padding: 1.5rem;
}

.design-card--form {
  box-shadow: none;
  border-style: dashed;
  background: rgba(37, 99, 235, 0.05);
}

.design-directory__layout {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 992px) {
  .design-directory__layout {
    grid-template-columns: minmax(0, 2fr) minmax(260px, 0.85fr);
    align-items: start;
  }
}

.design-directory__aside {
  position: sticky;
  top: 1.5rem;
}

.design-empty {
  background: rgba(15, 23, 42, 0.04);
  border: 1px dashed rgba(148, 163, 184, 0.4);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  color: var(--brand-text-muted);
}

.design-directory__note {
  margin: 0;
}

.custom-page {
  display: flex;
  flex-direction: column;
  gap: clamp(3rem, 3vw + 2.5rem, 5rem);
}

.custom-hero {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  padding: clamp(2.75rem, 3vw + 2.5rem, 4.5rem);
  background: linear-gradient(130deg, rgba(15, 23, 42, 0.96), rgba(37, 99, 235, 0.78));
  color: #fff;
  box-shadow: 0 40px 70px rgba(15, 23, 42, 0.42);
}

.custom-hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 720px;
}

.custom-hero__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.78rem;
  color: rgba(148, 197, 255, 0.9);
  font-weight: 600;
}

.custom-hero__body {
  margin: 0;
  color: rgba(226, 239, 255, 0.94);
}

.custom-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.custom-hero__actions .btn-outline-primary {
  color: rgba(226, 239, 255, 0.92);
  border-color: rgba(148, 197, 255, 0.55);
}

.custom-features {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.custom-section-intro h2 {
  font-size: clamp(1.75rem, 1.5rem + 0.8vw, 2.25rem);
  margin-bottom: 0;
}

.custom-feature {
  background: var(--brand-surface);
  border-radius: 24px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  padding: 2rem;
  box-shadow: 0 24px 45px rgba(15, 23, 42, 0.1);
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.custom-feature h3 {
  font-size: 1.15rem;
  font-weight: 600;
}

.custom-cta {
  background: var(--brand-surface);
  border-radius: 28px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  box-shadow: var(--brand-shadow);
  padding: clamp(2.5rem, 2vw + 2rem, 3.5rem);
}

.custom-cta__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  text-align: center;
}

.custom-cta__body {
  margin: 0;
  max-width: 640px;
  color: var(--brand-text-muted);
}

.custom-components {
  display: flex;
  flex-direction: column;
  gap: clamp(2.5rem, 2vw + 2rem, 4rem);
}

.custom-component {
  background: var(--brand-surface);
  border-radius: 28px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  box-shadow: 0 24px 45px rgba(15, 23, 42, 0.08);
  padding: clamp(2.25rem, 2vw + 1.75rem, 3rem);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.custom-component__quote {
  font-size: clamp(1.25rem, 1.15rem + 0.8vw, 1.75rem);
  font-style: italic;
  margin: 0;
  color: var(--brand-primary-dark, #0f172a);
}

.custom-component__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--brand-primary);
}

.custom-component__heading {
  margin: 0;
  font-size: clamp(1.5rem, 1.25rem + 0.9vw, 2.25rem);
}

.custom-component__body {
  margin: 0;
  color: var(--brand-text-muted);
}

.custom-component__stats {
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .custom-component__stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.custom-component__stat {
  background: rgba(37, 99, 235, 0.08);
  border-radius: 18px;
  padding: 1.5rem;
  text-align: center;
}

.custom-component__stat-value {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
}

.custom-component__stat-label {
  display: block;
  margin-top: 0.25rem;
  color: var(--brand-text-muted);
}

.custom-component__steps {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.custom-component__cta {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.custom-component__cta .btn {
  align-self: flex-start;
}

.custom-component__step-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .custom-component__step-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.custom-component__step {
  background: rgba(15, 23, 42, 0.04);
  border-radius: 20px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.custom-component__resources {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.custom-component__resource-items {
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .custom-component__resource-items {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.custom-component__resource {
  background: rgba(37, 99, 235, 0.06);
  border-radius: 20px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.custom-component__card-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.custom-component__cards {
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .custom-component__cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.custom-component__card {
  background: rgba(15, 23, 42, 0.04);
  border-radius: 20px;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  height: 100%;
}

.custom-component__generic-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .custom-component__generic-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.custom-component__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
}

.custom-component__action-form {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.custom-component__action-form .btn-group {
  gap: 0.5rem;
}

.custom-component__action-form .btn-group .btn {
  min-width: 90px;
}

.store-card {
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 22px;
  box-shadow: 0 22px 40px rgba(15, 23, 42, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.store-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 55px rgba(15, 23, 42, 0.12);
}

.store-product-detail {
  display: flex;
  flex-direction: column;
  gap: clamp(2.5rem, 3vw + 2rem, 4rem);
}

.store-product-detail__hero {
  background: var(--brand-surface);
  border-radius: 32px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  padding: clamp(2.75rem, 3vw + 2rem, 4rem);
  box-shadow: var(--brand-shadow);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.store-product-detail__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--brand-primary);
}

.store-product-detail__summary {
  margin: 0;
  color: var(--brand-text-muted);
  font-size: 1.05rem;
}

.store-product-detail__pricing {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: baseline;
  font-size: 1.1rem;
}

.store-product-detail__price {
  font-size: clamp(1.9rem, 1.5rem + 0.6vw, 2.2rem);
  font-weight: 700;
  color: var(--brand-primary);
}

.store-product-detail__installments {
  font-size: 0.95rem;
  color: var(--brand-text-muted);
}

.store-product-detail__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.store-product-detail__providers {
  margin: 0;
}

.store-product-detail__section {
  background: var(--brand-surface);
  border-radius: 28px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
  padding: clamp(2rem, 2vw + 1.5rem, 2.75rem);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.store-product-detail__section--included {
  background: linear-gradient(145deg, rgba(224, 231, 255, 0.65), rgba(191, 219, 254, 0.45));
  border-color: rgba(79, 70, 229, 0.25);
}

.store-product-detail__included-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .store-product-detail__included-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.store-product-detail__included-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.55);
  border-radius: 20px;
  padding: 1.15rem 1.25rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.store-product-detail__included-icon {
  flex: 0 0 3rem;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  background: rgba(79, 70, 229, 0.12);
  color: #4338ca;
  box-shadow: 0 10px 20px rgba(79, 70, 229, 0.18);
}

.store-product-detail__included-icon--calendar {
  background: rgba(34, 197, 94, 0.12);
  color: #15803d;
  box-shadow: 0 10px 20px rgba(34, 197, 94, 0.18);
}

.store-product-detail__included-icon--materials {
  background: rgba(14, 165, 233, 0.12);
  color: #0369a1;
  box-shadow: 0 10px 20px rgba(14, 165, 233, 0.18);
}

.store-product-detail__included-icon--sop {
  background: rgba(250, 204, 21, 0.18);
  color: #b45309;
  box-shadow: 0 10px 20px rgba(250, 204, 21, 0.24);
}

.store-product-detail__included-icon--discord {
  background: rgba(129, 140, 248, 0.2);
  color: #4c1d95;
  box-shadow: 0 10px 20px rgba(129, 140, 248, 0.26);
}

.store-product-detail__included-title {
  margin: 0 0 0.25rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--brand-heading);
}

.store-product-detail__included-text {
  margin: 0;
  color: var(--brand-text-muted);
  line-height: 1.5;
}

.store-product-detail__content p:last-child {
  margin-bottom: 0;
}

.store-product-detail__content ul {
  padding-left: 1.25rem;
}

.store-product-detail__highlights {
  margin: 0;
  padding-left: 1.25rem;
  display: grid;
  gap: 0.65rem;
}

@media (max-width: 575.98px) {
  .store-product-detail__actions {
    flex-direction: column;
    align-items: stretch;
  }
}

.inline-edit-input {
  width: 100%;
  margin-top: 0.25rem;
  font-size: 0.95rem;
}

.inline-editing [data-inline-edit] {
  position: relative;
  background-color: rgba(15, 23, 42, 0.06);
  border-radius: 0.35rem;
  padding: 0.25rem 0.35rem;
}

.inline-editing [data-inline-edit] .inline-edit-input {
  margin-top: 0.35rem;
}

.admin-students-card {
  border-radius: 24px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.1);
}

.admin-students-card__header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.25rem;
}

.admin-students-card__header--compact {
  align-items: center;
  margin-bottom: 1rem;
}

.admin-students-card__actions {
  min-width: min(260px, 100%);
}

.admin-students-permissions {
  display: grid;
  gap: 0.5rem;
  padding: 1rem;
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.16);
  border-radius: 16px;
  margin-bottom: 1.5rem;
}

.admin-students-permissions__label {
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--brand-primary-strong);
}

.admin-team-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.admin-team-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1.25rem;
  padding: 1rem;
  border-radius: 18px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 16px 35px rgba(15, 23, 42, 0.08);
}

.admin-team-card__media {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(148, 163, 184, 0.2);
}

.admin-team-card__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.admin-team-card__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 600;
  color: rgba(15, 23, 42, 0.7);
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.25), rgba(14, 165, 233, 0.25));
}

.admin-team-card__placeholder--lg {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.25rem;
  font-weight: 600;
  color: rgba(15, 23, 42, 0.75);
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.2), rgba(14, 165, 233, 0.2));
}

.admin-team-card__quote {
  font-size: 0.9rem;
  color: var(--brand-text-muted);
  margin-bottom: 0.75rem;
}


.team-hero {
  padding: clamp(3rem, 6vw, 5rem) clamp(1rem, 4vw, 3rem);
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(14, 165, 233, 0.18));
  border: 1px solid rgba(37, 99, 235, 0.2);
  box-shadow: 0 40px 70px rgba(15, 23, 42, 0.12);
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
  display: grid;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
  grid-template-columns: minmax(0, 1fr);
}

[data-theme='dark'] .team-hero {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.28), rgba(14, 165, 233, 0.32));
  border-color: rgba(96, 165, 250, 0.45);
  box-shadow: 0 36px 80px rgba(2, 6, 23, 0.6);
}

.team-hero__content {
  max-width: min(720px, 100%);
}

.team-hero__title {
  font-size: clamp(2.25rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 1rem;
}

.team-hero__subtitle {
  font-size: 1.1rem;
  color: var(--brand-text-muted);
  margin: 0;
}

.team-hero__story {
  margin-top: 1.75rem;
  font-size: 1rem;
  color: rgba(15, 23, 42, 0.78);
  max-width: 52ch;
}

[data-theme='dark'] .team-hero__content,
[data-theme='dark'] .team-hero__content p,
[data-theme='dark'] .team-hero__title,
[data-theme='dark'] .team-hero__subtitle,
[data-theme='dark'] .team-hero__story,
[data-theme='dark'] .team-hero__quote,
[data-theme='dark'] .team-hero__metric-value,
[data-theme='dark'] .team-hero__metric-label {
  color: rgba(241, 245, 249, 0.94);
}

[data-theme='dark'] .team-hero__story {
  color: rgba(226, 232, 240, 0.82);
}

.team-hero__ceo {
  display: grid;
  gap: 1.5rem;
  background: rgba(15, 23, 42, 0.04);
  border-radius: 24px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  padding: clamp(1.5rem, 4vw, 2rem);
  box-shadow: 0 26px 48px rgba(15, 23, 42, 0.12);
}

[data-theme='dark'] .team-hero__ceo {
  background: rgba(15, 23, 42, 0.55);
  border-color: rgba(148, 163, 184, 0.32);
  box-shadow: 0 26px 60px rgba(2, 6, 23, 0.6);
}

.team-hero__portrait {
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-hero__photo {
  width: clamp(120px, 18vw, 160px);
  height: clamp(120px, 18vw, 160px);
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 22px 45px rgba(37, 99, 235, 0.3);
}

.team-hero__placeholder {
  width: clamp(120px, 18vw, 160px);
  height: clamp(120px, 18vw, 160px);
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.25), rgba(14, 165, 233, 0.25));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: rgba(15, 23, 42, 0.75);
}

[data-theme='dark'] .team-hero__placeholder {
  background: linear-gradient(135deg, rgba(96, 165, 250, 0.38), rgba(14, 165, 233, 0.4));
  color: rgba(15, 23, 42, 0.9);
}

.team-hero__bio {
  display: grid;
  gap: 0.65rem;
  font-size: 0.95rem;
  line-height: 1.55;
}

.team-hero__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.4rem 1.35rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #1d4ed8, #2563eb);
  color: #fff;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  font-weight: 700;
  text-transform: uppercase;
}

[data-theme='dark'] .team-hero__badge {
  background: linear-gradient(135deg, #3b82f6, #60a5fa);
}

.team-hero__name {
  margin: 0;
  font-size: clamp(1.35rem, 2.6vw, 1.85rem);
  font-weight: 700;
}

.team-hero__bio .team-hero__title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--brand-text-muted);
}

[data-theme='dark'] .team-hero__bio .team-hero__title {
  color: rgba(226, 232, 240, 0.72);
}

.team-hero__bio .team-hero__quote {
  font-size: 0.95rem;
}

.team-hero__quote {
  margin: 0;
  font-style: italic;
  color: rgba(15, 23, 42, 0.7);
}

.team-hero__metrics {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.85rem;
}

.team-hero__metric {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.team-hero__metric-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--brand-primary-strong);
}

.team-hero__metric-label {
  font-size: 0.9rem;
  color: var(--brand-text-muted);
}

@media (min-width: 992px) {
  .team-hero {
    grid-template-columns: minmax(0, 1fr) clamp(380px, 35vw, 460px);
  }

  .team-hero__ceo {
    align-self: stretch;
  }
}

.team-grid {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.team-card {
  background: var(--brand-surface);
  border-radius: 22px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 24px 45px rgba(15, 23, 42, 0.08);
  padding: 1.75rem;
  display: grid;
  gap: 1.25rem;
  text-align: center;
}

.team-card__media {
  display: flex;
  justify-content: center;
}

.team-card__photo {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 16px 40px rgba(37, 99, 235, 0.25);
}

.team-card__placeholder {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.2), rgba(14, 165, 233, 0.2));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 600;
  color: rgba(15, 23, 42, 0.75);
}

.team-card__name {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 600;
}

.team-card__title {
  margin: 0;
  font-size: 0.95rem;
}

.team-card__quote {
  margin: 0;
  font-style: italic;
  color: var(--brand-text-muted);
}

.team-card__social {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
}

.team-card__social li {
  display: flex;
}

.team-card__social-link {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(37, 99, 235, 0.25);
  background: rgba(37, 99, 235, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  color: inherit;
}

.team-card__social-link:hover,
.team-card__social-link:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.18);
}

.team-card__social-link:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

.team-card__social-icon {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.team-card__social-link--x {
  color: #0f172a;
}

.team-card__social-link--linkedin {
  color: #0a66c2;
}

.team-card__social-link--youtube {
  color: #ff0000;
}

.team-hero__social {
  justify-content: flex-start;
  margin-top: 1rem;
}

.admin-team-card__social {
  justify-content: flex-start;
  margin-top: 0.75rem;
  gap: 0.5rem;
}

.team-card--empty {
  text-align: center;
  border: 1px dashed rgba(15, 23, 42, 0.18);
  background: rgba(148, 163, 184, 0.08);
}

@media (max-width: 767.98px) {
  .admin-students-card__actions {
    width: 100%;
  }

  .admin-team-card {
    grid-template-columns: minmax(0, 1fr);
    text-align: center;
  }

  .admin-team-card__media {
    margin-inline: auto;
  }
}

@media (min-width: 768px) {
  .team-hero__metrics {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  }

  .team-hero__ceo {
    grid-template-columns: minmax(180px, 220px) minmax(0, 1fr);
    align-items: center;
  }

  .team-hero__portrait {
    justify-content: flex-start;
  }
}

@media (max-width: 575.98px) {
  .team-hero {
    padding: 2.5rem 1.25rem;
    border-radius: 22px;
  }

  .team-hero__ceo {
    padding: 1.5rem;
  }

  .team-hero__portrait {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .team-hero__badge {
    align-self: center;
  }

  .team-hero__metrics {
    gap: 0.65rem;
  }

  .team-hero__metric-value {
    font-size: 1.35rem;
  }

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

  .team-card {
    padding: 1.5rem;
    gap: 1rem;
  }

  .team-card__photo,
  .team-card__placeholder {
    width: 96px;
    height: 96px;
  }

  .team-card__social {
    flex-wrap: wrap;
    justify-content: center;
  }

  .team-card__social-link {
    width: 36px;
    height: 36px;
  }

  .team-card__social-icon {
    width: 16px;
    height: 16px;
  }

  .admin-team-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .admin-team-card {
    text-align: center;
  }
}

[data-theme='dark'] body {
  background: var(--brand-surface-muted);
  color: var(--brand-text);
}

[data-theme='dark'] .app-navbar-inner {
  background: rgba(15, 23, 42, 0.92);
  border-color: rgba(148, 163, 184, 0.2);
  box-shadow: 0 22px 48px rgba(2, 6, 23, 0.5);
}

[data-theme='dark'] .app-navbar .nav-link {
  color: var(--brand-text-muted);
}

[data-theme='dark'] .app-navbar-cart__toggle {
  background: rgba(148, 163, 184, 0.12);
  border-color: rgba(148, 163, 184, 0.35);
  color: rgba(226, 232, 240, 0.88);
}

[data-theme='dark'] .app-navbar-cart__panel {
  background: rgba(15, 23, 42, 0.96);
  border-color: rgba(148, 163, 184, 0.3);
  box-shadow: 0 24px 44px rgba(2, 6, 23, 0.65);
}

[data-theme='dark'] .cart-preview__badge {
  background: rgba(248, 113, 113, 0.2);
  color: #fecaca;
}

[data-theme='dark'] .cart-preview__note {
  background: rgba(248, 113, 113, 0.18);
  color: #fecaca;
}

[data-theme='dark'] .cart-preview__provider {
  color: rgba(226, 232, 240, 0.75);
}

[data-theme='dark'] .app-navbar .nav-link:hover,
[data-theme='dark'] .app-navbar .nav-link:focus {
  background: rgba(37, 99, 235, 0.18);
  color: var(--brand-primary);
}

[data-theme='dark'] .app-navbar .navbar-toggler-icon {
  filter: invert(1) brightness(1.2);
}

[data-theme='dark'] .page-surface {
  background: rgba(15, 23, 42, 0.92);
  border-color: rgba(148, 163, 184, 0.16);
}

[data-theme='dark'] .site-footer {
  background: rgba(2, 6, 23, 0.85);
}

.theme-toggle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: rgba(255, 255, 255, 0.85);
  color: var(--brand-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
  padding: 0;
}

.theme-toggle .theme-toggle__icon {
  font-size: 1.1rem;
  line-height: 1;
}

.theme-toggle:hover,
.theme-toggle:focus-visible {
  background: rgba(255, 255, 255, 1);
  border-color: rgba(148, 163, 184, 0.55);
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.22);
  transform: translateY(-1px);
  outline: none;
}

.theme-toggle:active {
  transform: translateY(0);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.18);
}

[data-theme='dark'] .theme-toggle {
  background: rgba(15, 23, 42, 0.85);
  border-color: rgba(148, 163, 184, 0.35);
  color: var(--brand-text);
  box-shadow: 0 16px 32px rgba(2, 6, 23, 0.45);
}

[data-theme='dark'] .theme-toggle:hover,
[data-theme='dark'] .theme-toggle:focus-visible {
  background: rgba(15, 23, 42, 0.92);
  border-color: rgba(148, 163, 184, 0.5);
  box-shadow: 0 22px 42px rgba(2, 6, 23, 0.55);
}

.designs-header {
  margin-bottom: 2rem;
}

.design-card {
  background: var(--brand-surface);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 20px;
  box-shadow: var(--brand-shadow);
  padding: 1.75rem;
  display: flex;
}

.design-card__body {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.design-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.design-card__copy {
  color: var(--brand-text-muted);
  font-size: 0.9rem;
  margin-bottom: 0;
}

[data-theme='dark'] .design-card {
  background: rgba(15, 23, 42, 0.94);
  border-color: rgba(148, 163, 184, 0.2);
}

[data-theme='dark'] .design-card__copy {
  color: rgba(226, 232, 240, 0.82);
}

.design-editor {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.design-editor__header {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: flex-start;
}

.design-editor__toolbar-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
}

.design-editor__toolbar {
  border: 1px dashed rgba(37, 99, 235, 0.25);
  border-radius: 14px;
  padding: 0.75rem 1rem;
  background: rgba(37, 99, 235, 0.05);
}

[data-theme='dark'] .design-editor__toolbar {
  background: rgba(37, 99, 235, 0.12);
  border-color: rgba(96, 165, 250, 0.3);
}

.builder-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.builder-card {
  background: var(--brand-surface);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 18px;
  padding: 1.5rem;
  box-shadow: var(--brand-shadow);
}

.builder-card__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.builder-card__title {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--brand-text);
}

.builder-card__actions {
  display: flex;
  gap: 0.5rem;
}

.builder-card p {
  margin-bottom: 0.75rem;
}

[data-theme='dark'] .builder-card {
  background: rgba(15, 23, 42, 0.92);
  border-color: rgba(148, 163, 184, 0.35);
  box-shadow: 0 24px 48px rgba(2, 6, 23, 0.55);
}

[data-theme='dark'] .builder-card .form-label,
[data-theme='dark'] .builder-card__title {
  color: var(--brand-text);
}

[data-theme='dark'] .builder-card .form-control,
[data-theme='dark'] .builder-card .form-select,
[data-theme='dark'] .builder-card textarea {
  background-color: rgba(15, 23, 42, 0.7);
  border-color: rgba(148, 163, 184, 0.4);
  color: var(--brand-text);
}

[data-theme='dark'] .builder-card .form-control::placeholder,
[data-theme='dark'] .builder-card textarea::placeholder {
  color: rgba(226, 232, 240, 0.55);
}

.builder-card--draggable {
  cursor: grab;
}

.builder-card--draggable:active {
  cursor: grabbing;
}

.builder-card--locked {
  cursor: default;
}

@media (max-width: 991.98px) {
  .app-navbar .navbar-collapse {
    padding-bottom: 1.5rem;
  }

  .app-navbar-links {
    align-items: stretch;
  }
}
