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%;
}

body {
  margin-bottom: 60px;
}

.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-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;
}

.theme-toggle-btn {
  width: 2rem;
  height: 2rem;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--bs-border-color);
  border-radius: 999px;
  color: var(--bs-body-color);
  background: var(--bs-body-bg);
}

.theme-toggle-btn:hover,
.theme-toggle-btn:focus {
  color: var(--bs-body-color);
  border-color: var(--bs-secondary-color);
  background: var(--bs-tertiary-bg);
}

.theme-toggle-btn:focus,
.theme-toggle-btn:active:focus {
  box-shadow: 0 0 0 0.2rem rgba(37, 140, 251, 0.25);
}

.theme-toggle-icon {
  width: 1rem;
  height: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.theme-toggle-icon svg {
  width: 100%;
  height: 100%;
}

.theme-toggle-icon-sun {
  display: none;
}

[data-bs-theme="dark"] .theme-toggle-icon-sun {
  display: inline-flex;
}

[data-bs-theme="dark"] .theme-toggle-icon-moon {
  display: none;
}

.custom-range-container {
  flex: 1 1 380px;
  min-width: 280px;
  max-width: 560px;
}

.custom-range-input {
  min-width: 280px;
}

.account-manage-wrap {
  max-width: 860px;
}

.account-manage-header {
  padding: 0.25rem 0.1rem;
}

.account-manage-card {
  border-radius: 1rem;
}

.account-manage-card .card-body {
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border-radius: 1rem;
}

.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-step-title {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #1e3a8a;
}

.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"] .account-manage-card .card-body {
  background: linear-gradient(180deg, #0f172a 0%, #111827 100%);
}

[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-step-title {
  color: #93c5fd;
}

[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 #dbe4f0;
  border-radius: 1rem;
  background: linear-gradient(145deg, #f8fbff 0%, #eff6ff 100%);
  padding: 1.2rem;
}

.pricing-hero-grid {
  display: grid;
  gap: 1rem;
}

.pricing-kicker {
  display: inline-flex;
  border-radius: 999px;
  border: 1px solid #bfdbfe;
  background: #dbeafe;
  color: #1d4ed8;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 0.25rem 0.68rem;
}

.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 {
  border: 1px solid #dbe4f0;
  border-radius: 0.8rem;
  background: #ffffff;
  padding: 0.9rem 1rem;
  color: #1e293b;
}

.pricing-note ul {
  padding-left: 1.1rem;
}

.pricing-tier-card {
  border: 1px solid #dbe4f0;
  border-radius: 0.95rem;
  background: #ffffff;
  padding: 1rem;
}

.pricing-tier-card-featured {
  border-color: #93c5fd;
  box-shadow: 0 8px 22px rgba(37, 99, 235, 0.12);
}

.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;
  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;
}
