html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

body,
.container,
.container-fluid,
main,
footer {
  min-width: 0;
}

header,
footer {
  flex-shrink: 0;
}

.page-main {
  flex: 1 0 auto;
  width: 100%;
}

.pricing-page .page-main.container {
  --bs-gutter-x: 2.5rem;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

.site-brand-logo {
  display: block;
  height: 34px;
  width: auto;
}

.user-menu-toggle {
  border: 0;
  background: transparent;
  color: var(--bs-body-color);
}

.user-menu-toggle:hover,
.user-menu-toggle:focus {
  color: var(--bs-body-color);
}

.user-menu-toggle:focus,
.user-menu-toggle:active:focus {
  box-shadow: none;
}

.user-menu-toggle::after {
  display: none;
}

.user-menu-icon {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--bs-border-color);
  background: linear-gradient(180deg, var(--bs-tertiary-bg) 0%, var(--bs-secondary-bg) 100%);
}

.user-menu-icon svg {
  width: 18px;
  height: 18px;
}


.site-view-mode-banner {
  background: #b91c1c;
  color: #fff1f2;
}

.site-view-mode-banner .btn-outline-light {
  border-color: rgba(255, 241, 242, 0.72);
  color: #fff1f2;
}

.site-view-mode-banner .btn-outline-light:hover,
.site-view-mode-banner .btn-outline-light:focus {
  background: #fff1f2;
  border-color: #fff1f2;
  color: #991b1b;
}

.copy-tracking-code-btn {
  color: var(--bs-body-color);
  border-color: var(--bs-border-color);
  background: transparent;
}

.copy-tracking-code-btn:hover,
.copy-tracking-code-btn:focus {
  color: var(--bs-body-color);
  border-color: var(--bs-secondary-color);
  background: var(--bs-tertiary-bg);
}

.protected-account-badge {
  background: #fff7ed;
  color: #9a3412;
  border: 1px solid #fdba74;
}

.floating-field {
  margin-bottom: 1rem;
}

.floating-field .text-danger {
  display: block;
  margin-top: 0.35rem;
}

.floating-inline-field {
  flex: 1 1 12rem;
  min-width: min(100%, 12rem);
}

.floating-inline-field.form-floating > .form-control,
.floating-inline-field.form-floating > .form-select {
  min-width: 0;
}

.account-modal-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 1rem;
  font-size: 0.875rem;
}

.input-group > .form-floating {
  flex: 1 1 auto;
}

.sites-table-search {
  width: min(100%, 24rem);
}

@media (min-width: 768px) {
  .sites-search-column {
    padding-right: 10px;
  }
}

.sites-page-size {
  width: 100%;
}

.sites-page-size-field {
  width: 6rem;
  min-width: 6rem;
  max-width: 6rem;
}

.sites-table-search .form-control,
.sites-page-size-field .form-select {
  min-height: calc(1.5em + 0.75rem + 2px);
}

[data-sites-results-shell],
[data-custom-events-results-shell] {
  transition: opacity 120ms ease;
}

[data-sites-results-shell].is-loading,
[data-custom-events-results-shell].is-loading {
  opacity: 0.68;
}

.sites-table-sort {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  user-select: none;
  -webkit-user-select: none;
}

.sites-table-sort:hover,
.sites-table-sort:focus {
  color: var(--bs-primary);
  text-decoration: none;
}

.sites-table-sort-arrows {
  display: inline-grid;
  gap: 0.02rem;
  justify-items: center;
  align-items: center;
  min-width: 0.8rem;
}

.sites-table-sort-arrow {
  font-size: 0.5rem;
  line-height: 1;
  color: var(--bs-secondary-color);
  opacity: 0.45;
}

th[aria-sort="ascending"] .sites-table-sort-arrow-up,
th[aria-sort="descending"] .sites-table-sort-arrow-down {
  color: var(--bs-primary);
  opacity: 1;
}

.sites-row-refresh-btn {
  width: 2rem;
  height: calc(1.5em + 0.5rem + 2px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-inline: 0;
}

[data-site-refresh-button].is-loading svg {
  animation: sites-refresh-spin 700ms linear infinite;
}

@keyframes sites-refresh-spin {
  to {
    transform: rotate(360deg);
  }
}

.input-validation-error {
  border-color: var(--bs-danger) !important;
}

.input-validation-error:focus {
  border-color: var(--bs-danger) !important;
  box-shadow: 0 0 0 0.2rem rgba(var(--bs-danger-rgb), 0.2);
}

.field-validation-valid:empty,
.validation-summary-valid:empty {
  display: none;
}

.custom-range-container {
  flex: 1 1 100%;
  min-width: 0;
  width: 100%;
  max-width: 560px;
}

.custom-range-input {
  min-width: 0;
  width: 100%;
}

.custom-event-picker {
  position: relative;
}

.custom-event-picker > summary {
  list-style: none;
}

.custom-event-picker > summary::-webkit-details-marker {
  display: none;
}

.custom-event-picker-panel {
  width: min(24rem, calc(100vw - 2rem));
  z-index: 1030;
}

.custom-event-picker-options {
  max-height: 18rem;
}

.custom-event-picker-option:last-child {
  border-bottom: 0 !important;
}

#country-heat-map {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

#country-heat-map > svg {
  display: block;
  width: 100% !important;
  max-width: 100%;
  height: 100% !important;
  overflow: hidden;
}

.footer-meta {
  min-width: 0;
}

.footer {
  padding: 20px 0;
}

.footer-meta > span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.footer-sdk-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  text-decoration: none;
}

.footer-sdk-link:hover,
.footer-sdk-link:focus {
  text-decoration: underline;
}

.footer-sdk-link-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1rem;
  height: 1rem;
  flex: 0 0 auto;
}

.footer-sdk-link-icon svg {
  width: 100%;
  height: 100%;
}

.account-manage-wrap {
  max-width: 900px;
  padding-block: 0.5rem 1.5rem;
}

.account-manage-layout {
  display: grid;
  grid-template-columns: 9.5rem minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
}

.account-manage-nav {
  position: sticky;
  top: 1rem;
  display: grid;
  gap: 0.15rem;
  padding-top: 0.35rem;
}

.account-manage-nav a {
  display: block;
  padding: 0.45rem 0.65rem;
  border-radius: 0.35rem;
  color: var(--bs-secondary-color);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
}

.account-manage-nav a:hover,
.account-manage-nav a:focus {
  background: var(--bs-tertiary-bg);
  color: var(--bs-body-color);
}

.account-manage-content {
  min-width: 0;
}

.account-manage-title {
  margin: 0 0 1.25rem;
  font-size: 2rem;
  line-height: 1.2;
  font-weight: 600;
  color: var(--bs-body-color);
}

.account-manage-alert {
  margin-bottom: 1rem;
}

.account-manage-section {
  padding: 1.25rem 0;
  border-top: 1px solid var(--bs-border-color);
}

.account-manage-section:last-child {
  border-bottom: 1px solid var(--bs-border-color);
}

.account-manage-section-copy {
  max-width: 42rem;
  margin-bottom: 0.9rem;
}

.account-manage-section-copy h2 {
  margin: 0 0 0.35rem;
  font-size: 1.08rem;
  line-height: 1.35;
  font-weight: 600;
  color: var(--bs-body-color);
}

.account-manage-section-copy p {
  margin: 0;
  color: var(--bs-secondary-color);
  line-height: 1.55;
}

.account-manage-form {
  max-width: 34rem;
}

.account-manage-token-form {
  margin-bottom: 1.25rem;
}

.account-manage-field {
  margin-bottom: 0.85rem;
}

.account-manage-table {
  margin-top: 0.75rem;
}

.account-manage-table .table {
  font-size: 0.92rem;
}

.account-plan-summary {
  display: grid;
  gap: 0.18rem;
  margin-bottom: 1rem;
  color: var(--bs-secondary-color);
  line-height: 1.55;
}

.account-plan-summary strong {
  color: var(--bs-body-color);
  font-size: 1rem;
}

.account-manage-danger-label {
  display: inline-flex;
  margin-bottom: 0.35rem;
  color: var(--bs-danger);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.account-manage-danger-section h2 {
  color: var(--bs-danger);
}

.site-edit-wrap {
  padding-bottom: 2rem;
}

.site-edit-form {
  max-width: 42rem;
}

.site-edit-textarea {
  min-height: 7rem;
}

.site-edit-switch {
  margin-bottom: 0.9rem;
}

.site-edit-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
}

.site-edit-section-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: start;
}

.site-edit-meta,
.site-edit-status {
  display: grid;
  gap: 0.2rem;
  color: var(--bs-secondary-color);
  font-size: 0.92rem;
  line-height: 1.55;
}

.site-edit-meta code,
.site-edit-status code {
  color: var(--bs-body-color);
}

.site-edit-status {
  margin: 1rem 0;
  padding: 0.85rem 0;
  border-top: 1px solid var(--bs-border-color);
  border-bottom: 1px solid var(--bs-border-color);
}

.site-edit-status strong {
  color: var(--bs-body-color);
  font-weight: 600;
}

.site-edit-alert {
  margin: 1rem 0 0;
}

.site-edit-code {
  resize: vertical;
  font-size: 0.88rem;
}

.site-edit-code-block {
  margin-top: 1rem;
}

.site-edit-code-block h3 {
  margin: 0 0 0.35rem;
  font-size: 0.98rem;
  line-height: 1.35;
  font-weight: 600;
}

.site-edit-code-block p {
  margin: 0 0 0.55rem;
  color: var(--bs-secondary-color);
  font-size: 0.92rem;
  line-height: 1.55;
}

.legal-wrap {
  max-width: 980px;
  padding: 0.5rem 0 2rem;
}

.legal-hero {
  padding: 1.5rem 0 1.25rem;
  border-bottom: 1px solid var(--bs-border-color);
}

.legal-kicker {
  margin: 0 0 0.45rem;
  color: var(--bs-secondary-color);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.legal-hero h1 {
  max-width: 48rem;
  margin: 0 0 0.75rem;
  font-size: 2rem;
  line-height: 1.2;
  font-weight: 650;
}

.legal-hero p:last-child {
  max-width: 42rem;
  margin: 0;
  color: var(--bs-secondary-color);
  line-height: 1.6;
}

.legal-document {
  padding-top: 1.25rem;
  color: var(--bs-body-color);
}

.legal-document h2 {
  scroll-margin-top: 5rem;
  margin: 2rem 0 0.85rem;
  padding-top: 1rem;
  border-top: 1px solid var(--bs-border-color);
  font-size: 1.35rem;
  line-height: 1.35;
  font-weight: 650;
}

.legal-document h2:first-child {
  margin-top: 0;
}

.legal-document h3 {
  margin: 1.2rem 0 0.45rem;
  font-size: 1rem;
  line-height: 1.4;
  font-weight: 650;
}

.legal-document p,
.legal-document li {
  max-width: 46rem;
  line-height: 1.65;
}

.legal-document ul {
  margin: 0.4rem 0 1rem;
  padding-left: 1.25rem;
}

.legal-version-line {
  max-width: 46rem;
  margin: 1rem 0 1.25rem;
  font-weight: 650;
}

.agreement-text-snapshot {
  max-width: 52rem;
  max-height: 24rem;
  overflow: auto;
  white-space: pre-wrap;
}

.legal-table-wrap {
  margin: 1rem 0 1.25rem;
}

.legal-table {
  min-width: 42rem;
  border: 1px solid var(--bs-border-color);
  font-size: 0.92rem;
}

.legal-table th,
.legal-table td {
  padding: 0.65rem 0.75rem;
  border-color: var(--bs-border-color);
  vertical-align: top;
  line-height: 1.5;
}

.legal-table th {
  color: var(--bs-body-color);
  background: var(--bs-tertiary-bg);
  font-weight: 650;
}

.guide-hero {
  border: 1px solid #dbe4f0;
  border-radius: 1.15rem;
  background:
    radial-gradient(46rem 20rem at 100% -8%, rgba(14, 165, 233, 0.15), transparent 62%),
    radial-gradient(34rem 18rem at 0% 100%, rgba(59, 130, 246, 0.12), transparent 56%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
}

.guide-hero-grid {
  display: grid;
  gap: 1rem;
  padding: 1.4rem;
}

.guide-kicker,
.guide-section-label {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.72rem;
  border-radius: 999px;
  background: rgba(2, 132, 199, 0.1);
  color: #0369a1;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.guide-title {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: clamp(1.9rem, 4.5vw, 2.8rem);
  font-weight: 700;
  color: #0f172a;
}

.guide-subtitle,
.guide-copy {
  color: #334155;
}

.guide-callout {
  border: 1px solid #dbe4f0;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.82);
  padding: 1rem 1.05rem;
  color: #1e293b;
}

.guide-section-stack {
  display: grid;
  gap: 1rem;
}

.guide-sidebar .card,
.guide-layout .card {
  border-radius: 1rem;
}

.guide-toc {
  gap: 0.35rem;
}

.guide-toc .nav-link {
  border-radius: 0.8rem;
  color: #334155;
  font-weight: 600;
  padding: 0.65rem 0.8rem;
}

.guide-toc .nav-link:hover,
.guide-toc .nav-link:focus {
  background: #eff6ff;
  color: #1d4ed8;
}

.guide-section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.guide-step-card,
.guide-metric-card {
  border: 1px solid #dbe4f0;
  border-radius: 0.95rem;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  padding: 1rem;
}

.guide-note {
  border: 1px solid #bfdbfe;
  border-radius: 0.9rem;
  background: #eff6ff;
  color: #1e3a8a;
  padding: 0.85rem 1rem;
  font-weight: 600;
}

.guide-list {
  padding-left: 1.2rem;
  color: #1e293b;
}

.guide-list li + li {
  margin-top: 0.55rem;
}

.guide-accordion .accordion-item {
  border-color: #dbe4f0;
}

.guide-accordion .accordion-button {
  font-weight: 600;
}

.guide-accordion .accordion-button:not(.collapsed) {
  background: #eff6ff;
  color: #1d4ed8;
  box-shadow: none;
}

.guide-accordion .accordion-body {
  color: #334155;
}

.diagnostics-log-message {
  min-width: 20rem;
  white-space: normal;
  overflow-wrap: anywhere;
}

@media (min-width: 992px) {
  .guide-hero-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
    align-items: center;
    padding: 1.7rem;
  }
}

@media (min-width: 1200px) {
  .guide-sidebar {
    position: sticky;
    top: 1rem;
  }
}

@media (max-width: 767.98px) {
  .account-manage-layout {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .account-manage-nav {
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    padding-top: 0;
  }

  .account-manage-nav a {
    padding: 0.4rem 0.55rem;
  }

  .account-manage-title {
    font-size: 1.75rem;
  }

  .site-edit-section-row {
    grid-template-columns: 1fr;
  }

  .site-edit-actions {
    align-items: stretch;
  }
}

.landing-hero {
  position: relative;
  border-radius: 1.25rem;
  border: 1px solid #d9e2ff;
  background:
    radial-gradient(95rem 30rem at 88% -8%, rgba(34, 211, 238, 0.26), transparent 65%),
    radial-gradient(52rem 22rem at -6% 92%, rgba(96, 165, 250, 0.24), transparent 60%),
    linear-gradient(135deg, #0f172a 0%, #1e293b 52%, #1d4ed8 100%);
  color: #eff6ff;
  font-family: "Manrope", "Segoe UI", sans-serif;
  overflow: hidden;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.18);
}

.landing-hero-grid {
  display: grid;
  gap: 1.5rem;
  padding: 1.35rem;
}

.landing-hero-copy {
  padding: 0.75rem 0.8rem 0.6rem;
}

.landing-kicker {
  display: inline-flex;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(147, 197, 253, 0.15);
  border: 1px solid rgba(191, 219, 254, 0.45);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.landing-title {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.06;
  max-width: 14ch;
  color: #ffffff;
}

.landing-subtitle {
  max-width: 64ch;
  color: #dbeafe;
  font-size: 1.02rem;
}

.landing-hero .btn {
  border-radius: 0.72rem;
  font-weight: 600;
  border-width: 1px;
}

.landing-demo-btn {
  background: #f8fafc;
  color: #0f172a;
  border-color: #e2e8f0;
}

.landing-demo-btn:hover,
.landing-demo-btn:focus {
  background: #ffffff;
  color: #020617;
  border-color: #ffffff;
}

.landing-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.58rem;
}

.landing-pill {
  border: 1px solid rgba(191, 219, 254, 0.4);
  background: rgba(15, 23, 42, 0.45);
  color: #dbeafe;
  border-radius: 999px;
  padding: 0.3rem 0.76rem;
  font-size: 0.84rem;
  font-weight: 600;
}

.landing-hero-art {
  border-radius: 1rem;
  padding: 0.9rem 1rem 1.2rem;
  border: 1px solid rgba(191, 219, 254, 0.3);
  background: rgba(15, 23, 42, 0.34);
  backdrop-filter: blur(3px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  overflow: hidden;
}

.landing-front-image {
  width: min(100%, 760px);
  max-width: 100%;
  height: auto;
  display: block;
  transform: none;
  filter: drop-shadow(0 18px 28px rgba(15, 23, 42, 0.35));
}

.landing-art-note {
  color: #bfdbfe;
  font-weight: 600;
  font-size: 0.9rem;
  text-align: center;
}

.landing-feature-card {
  border: 1px solid #dbe4f0;
  border-radius: 1rem;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  padding: 1.1rem;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.landing-feature-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}

.landing-feature-title {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #0f172a;
}

.landing-feature-text {
  color: #334155;
  line-height: 1.55;
}

.landing-panel {
  border: 1px solid #dde5f1;
  border-radius: 1rem;
  background: #f8fafc;
  padding: 1.25rem;
}

.landing-section-title {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-weight: 700;
  color: #0f172a;
  font-size: 1.35rem;
}

.landing-copy {
  color: #334155;
}

.landing-list {
  margin: 0;
  padding-left: 1.1rem;
  color: #1e293b;
}

.landing-list li + li {
  margin-top: 0.55rem;
}

.landing-steps {
  border: 1px solid #d0ddf3;
  border-radius: 0.9rem;
  background: #ffffff;
  padding: 1rem;
}

.landing-package-card {
  border: 1px solid #d0ddf3;
  border-radius: 0.9rem;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  padding: 1rem;
}

.landing-step-title {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #1e3a8a;
}

.landing-install-command {
  border: 1px solid #dbe4f0;
  border-radius: 0.75rem;
  background: #f8fafc;
  padding: 0.8rem 0.95rem;
}

.landing-install-command code {
  color: #0f172a;
  font-size: 0.95rem;
}

.landing-step-list {
  padding-left: 1.1rem;
  color: #1e293b;
}

.landing-step-list li + li {
  margin-top: 0.45rem;
}

.landing-cta {
  border: 1px solid #bfdbfe;
  border-radius: 1rem;
  background: linear-gradient(160deg, #e0f2fe 0%, #dbeafe 100%);
  padding: 2rem 1.25rem;
}

.landing-cta-title {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-weight: 700;
  color: #0f172a;
  font-size: clamp(1.8rem, 4.2vw, 2.45rem);
}

.landing-cta-copy {
  color: #1e3a8a;
  max-width: 64ch;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 768px) {
  .landing-hero-grid {
    padding: 1.6rem;
  }

  .landing-hero-copy {
    padding: 1.05rem 1.1rem 0.8rem;
  }
}

@media (min-width: 992px) {
  .landing-hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: stretch;
    gap: 1.6rem;
    padding: 1.9rem;
  }

  .landing-hero-copy {
    padding: 1.25rem 1.2rem 1rem;
  }

  .landing-hero-art {
    padding: 1.2rem 1.1rem 1.4rem;
  }

  .landing-front-image {
    width: min(100%, 820px);
  }

  .landing-panel {
    padding: 1.8rem;
  }
}

[data-bs-theme="dark"] .guide-hero {
  border-color: #334155;
  background:
    radial-gradient(46rem 20rem at 100% -8%, rgba(14, 165, 233, 0.18), transparent 62%),
    radial-gradient(34rem 18rem at 0% 100%, rgba(59, 130, 246, 0.14), transparent 56%),
    linear-gradient(180deg, #0f172a 0%, #111827 100%);
  box-shadow: 0 18px 40px rgba(2, 6, 23, 0.35);
}

[data-bs-theme="dark"] .guide-kicker,
[data-bs-theme="dark"] .guide-section-label {
  background: rgba(14, 165, 233, 0.14);
  color: #7dd3fc;
}

[data-bs-theme="dark"] .guide-title {
  color: #f8fafc;
}

[data-bs-theme="dark"] .guide-subtitle,
[data-bs-theme="dark"] .guide-copy,
[data-bs-theme="dark"] .guide-accordion .accordion-body {
  color: #cbd5e1;
}

[data-bs-theme="dark"] .guide-callout,
[data-bs-theme="dark"] .guide-step-card,
[data-bs-theme="dark"] .guide-metric-card {
  border-color: #334155;
  background: linear-gradient(180deg, #0f172a 0%, #111827 100%);
  color: #e2e8f0;
}

[data-bs-theme="dark"] .guide-toc .nav-link {
  color: #cbd5e1;
}

[data-bs-theme="dark"] .guide-toc .nav-link:hover,
[data-bs-theme="dark"] .guide-toc .nav-link:focus {
  background: #1e293b;
  color: #93c5fd;
}

[data-bs-theme="dark"] .guide-note {
  border-color: #334155;
  background: #1e293b;
  color: #bfdbfe;
}

[data-bs-theme="dark"] .guide-list {
  color: #cbd5e1;
}

[data-bs-theme="dark"] .guide-accordion .accordion-item {
  border-color: #334155;
}

[data-bs-theme="dark"] .guide-accordion .accordion-button {
  background: #111827;
  color: #f8fafc;
}

[data-bs-theme="dark"] .guide-accordion .accordion-button:not(.collapsed) {
  background: #1e293b;
  color: #93c5fd;
}

[data-bs-theme="dark"] .guide-accordion .accordion-button::after {
  filter: invert(1) brightness(1.2);
}

[data-bs-theme="dark"] .diagnostics-log-message {
  color: #e2e8f0;
}

[data-bs-theme="dark"] .protected-account-badge {
  background: rgba(154, 52, 18, 0.22);
  color: #fdba74;
  border-color: rgba(251, 146, 60, 0.45);
}

[data-bs-theme="dark"] .landing-feature-card {
  border-color: #334155;
  background: linear-gradient(180deg, #0f172a 0%, #111827 100%);
}

[data-bs-theme="dark"] .landing-feature-card:hover {
  box-shadow: 0 8px 20px rgba(2, 6, 23, 0.35);
}

[data-bs-theme="dark"] .landing-feature-title {
  color: #f8fafc;
}

[data-bs-theme="dark"] .landing-feature-text {
  color: #cbd5e1;
}

[data-bs-theme="dark"] .landing-panel {
  border-color: #334155;
  background: #111827;
}

[data-bs-theme="dark"] .landing-section-title {
  color: #f8fafc;
}

[data-bs-theme="dark"] .landing-copy,
[data-bs-theme="dark"] .landing-list,
[data-bs-theme="dark"] .landing-step-list {
  color: #cbd5e1;
}

[data-bs-theme="dark"] .landing-steps {
  border-color: #475569;
  background: #0f172a;
}

[data-bs-theme="dark"] .landing-package-card {
  border-color: #475569;
  background: linear-gradient(180deg, #0f172a 0%, #111827 100%);
}

[data-bs-theme="dark"] .landing-step-title {
  color: #93c5fd;
}

[data-bs-theme="dark"] .landing-install-command {
  border-color: #334155;
  background: #111827;
}

[data-bs-theme="dark"] .landing-install-command code {
  color: #e2e8f0;
}

[data-bs-theme="dark"] .landing-cta {
  border-color: #334155;
  background: linear-gradient(160deg, #1e293b 0%, #0f172a 100%);
}

[data-bs-theme="dark"] .landing-cta-title {
  color: #f8fafc;
}

[data-bs-theme="dark"] .landing-cta-copy {
  color: #cbd5e1;
}

.pricing-hero {
  border: 1px solid #e1e8ee;
  border-radius: 1.8rem;
  background: #f7f9fb;
  padding: 1.8rem;
}

.pricing-hero-grid {
  display: grid;
  gap: 1rem;
}

.pricing-kicker {
  display: inline-flex;
  color: #557188;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.pricing-title {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-weight: 700;
  color: #0f172a;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
}

.pricing-subtitle {
  color: #334155;
  max-width: 64ch;
}

.pricing-note {
  padding: 0;
  color: #1e293b;
}

.pricing-note ul {
  padding-left: 1.1rem;
}

.pricing-tier-card {
  display: block;
  border: 1px solid #dbe4f0;
  border-radius: 0.95rem;
  background: #ffffff;
  padding: 1rem;
  color: inherit;
  text-decoration: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.pricing-tier-card:hover,
.pricing-tier-card:focus-visible {
  border-color: #93c5fd;
  box-shadow: 0 8px 22px rgba(37, 99, 235, 0.12);
  color: inherit;
  text-decoration: none;
  transform: translateY(-1px);
}

.pricing-tier-card-featured {
  border-color: #93c5fd;
}

.pricing-tier-card-current {
  border-color: #2563eb;
  background:
    linear-gradient(180deg, rgba(219, 234, 254, 0.72) 0%, rgba(255, 255, 255, 0.98) 100%);
  box-shadow: 0 10px 26px rgba(37, 99, 235, 0.16);
}

.pricing-tier-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.pricing-current-badge {
  flex: 0 0 auto;
  font-size: 0.72rem;
  font-weight: 700;
}

.pricing-tier-name {
  color: #1e3a8a;
  font-size: 0.93rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-weight: 700;
}

.pricing-tier-price {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  color: #0f172a;
  font-size: 1.9rem;
  font-weight: 700;
  line-height: 1.1;
}

.pricing-tier-price span {
  color: #64748b;
  font-size: 0.95rem;
  font-weight: 600;
  margin-left: 0.2rem;
}

.pricing-tier-copy {
  color: #334155;
  margin-bottom: 0.75rem;
}

.pricing-tier-list {
  color: #1e293b;
  padding-left: 1.1rem;
}

.pricing-tier-list li + li {
  margin-top: 0.35rem;
}

.pricing-cta {
  border: 1px solid #bfdbfe;
  border-radius: 1rem;
  background: linear-gradient(160deg, #e0f2fe 0%, #dbeafe 100%);
  padding: 1.5rem 1.1rem;
}

.pricing-cta-title {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-weight: 700;
  color: #0f172a;
  font-size: clamp(1.4rem, 3.4vw, 2rem);
}

.pricing-cta-copy {
  color: #1e3a8a;
}

@media (min-width: 992px) {
  .pricing-hero {
    padding: 1.6rem;
  }

  .pricing-hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 1.2rem;
  }
}

[data-bs-theme="dark"] .pricing-hero {
  border-color: #334155;
  background: linear-gradient(145deg, #0f172a 0%, #111827 100%);
}

[data-bs-theme="dark"] .pricing-kicker {
  border-color: #334155;
  background: #1e293b;
  color: #93c5fd;
}

[data-bs-theme="dark"] .pricing-title {
  color: #f8fafc;
}

[data-bs-theme="dark"] .pricing-subtitle {
  color: #cbd5e1;
}

[data-bs-theme="dark"] .pricing-note {
  border-color: #334155;
  background: #0f172a;
  color: #cbd5e1;
}

[data-bs-theme="dark"] .pricing-tier-card {
  border-color: #334155;
  background: #111827;
}

[data-bs-theme="dark"] .pricing-tier-card-featured {
  border-color: #60a5fa;
}

[data-bs-theme="dark"] .pricing-tier-card-current {
  border-color: #60a5fa;
  background:
    linear-gradient(180deg, rgba(30, 64, 175, 0.34) 0%, rgba(17, 24, 39, 0.98) 100%);
  box-shadow: 0 10px 26px rgba(37, 99, 235, 0.22);
}

[data-bs-theme="dark"] .pricing-tier-card:hover,
[data-bs-theme="dark"] .pricing-tier-card:focus-visible {
  border-color: #60a5fa;
  box-shadow: 0 8px 22px rgba(2, 6, 23, 0.45);
}

[data-bs-theme="dark"] .pricing-tier-name {
  color: #93c5fd;
}

[data-bs-theme="dark"] .pricing-tier-price {
  color: #f8fafc;
}

[data-bs-theme="dark"] .pricing-tier-price span {
  color: #cbd5e1;
}

[data-bs-theme="dark"] .pricing-tier-copy,
[data-bs-theme="dark"] .pricing-tier-list {
  color: #cbd5e1;
}

[data-bs-theme="dark"] .pricing-cta {
  border-color: #334155;
  background: linear-gradient(160deg, #1e293b 0%, #0f172a 100%);
}

[data-bs-theme="dark"] .pricing-cta-title {
  color: #f8fafc;
}

[data-bs-theme="dark"] .pricing-cta-copy {
  color: #cbd5e1;
}
