:root {
  --db-navy: #0d315f;
  --db-blue-1: #6b9fd0;
  --db-blue-2: #5578e4;
  --db-blue-3: #4466db;
  --db-offwhite: #f7f5ef;
  --db-white: #ffffff;
  --db-text: #17324d;
  --db-muted: rgba(255, 255, 255, 0.88);
  --db-border: rgba(255, 255, 255, 0.18);
  --db-card-shadow: 0 1.5rem 3.5rem rgba(4, 19, 40, 0.16);
  --db-soft-shadow: 0 1rem 2.5rem rgba(13, 49, 95, 0.10);
  --db-b: #f5f5f5;
  --db-footer: #7b679a;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  font-family: Roboto, "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  overflow-x: hidden;
}

body {
  padding-top: 0;
  background: var(--db-offwhite);
  color: var(--db-text);
}


.block {
  position: relative;
}

.block-padding {
  padding: 2rem 0;
}

.block--footer {
  background: var(--db-footer);
  color: #cbd5e1;
}

.wave {
  position: absolute;
  left: 0;
  width: 100%;
  line-height: 0;
  pointer-events: none;
}

.wave-bottom {
  bottom: -1px;
}

.wave svg {
  display: block;
  width: 100%;
  height: 120px;
}

.flip-x {
  transform: scaleX(-1);
  transform-origin: center;
}

/* =========================================================
   Topnav / brand strip
   ========================================================= */
.brand-strip {
  background: rgba(247, 245, 239, 0.98);
  border-bottom: 1px solid rgba(13, 49, 95, 0.08);
}

.brand-logo-wrap {
  flex: 0 0 auto;
  line-height: 0;
}

.brand-logo {
  width: 56px;
  height: 56px;
  display: block;
}

.brand-title {
  color: var(--db-navy);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.015em;
}

.brand-subtitle {
  color: rgba(13, 49, 95, 0.78);
  font-weight: 600;
  line-height: 1.1;
}

/* =========================================================
   Hero
   ========================================================= */
.hero-section {
  position: relative;
  overflow: hidden;
  color: var(--db-white);
  background:
    radial-gradient(circle at 18% 16%, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0) 26%),
    radial-gradient(circle at 58% 14%, rgba(255, 255, 255, 0.09) 0%, rgba(255, 255, 255, 0) 18%),
    linear-gradient(135deg, var(--db-blue-1) 0%, var(--db-blue-2) 42%, var(--db-blue-3) 100%);
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.11) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: 0.16;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  padding-top: 3.5rem;
  padding-bottom: 9.5rem;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.10);
  color: var(--db-white);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero-eyebrow .bi {
  font-size: 1rem;
  line-height: 1;
}

.hero-title {
  max-width: 10.5ch;
  margin: 0;
  font-size: clamp(3rem, 2.2rem + 2.8vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  font-weight: 700;
}

.hero-intro {
  max-width: 40rem;
  color: var(--db-muted);
  font-size: clamp(1.08rem, 0.98rem + 0.45vw, 1.34rem);
  line-height: 1.55;
}

.hero-cta-wrap {
  margin-top: 2rem;
  margin-bottom: 1.5rem;
}

.hero-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: #ffffff;
  border: 2px solid var(--db-navy);
  color: var(--db-navy);
  font-weight: 700;
  padding: 0.9rem 1.35rem;
  border-radius: 1rem;
  text-decoration: none;
  box-shadow: 0 0.6rem 1.4rem rgba(13, 49, 95, 0.10);
}

.hero-cta-btn:hover,
.hero-cta-btn:focus {
  background: var(--db-navy);
  border-color: var(--db-navy);
  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
}

.hero-cta-btn .bi {
  font-size: 1.15rem;
  line-height: 1;
}

.hero-cta-btn:hover .bi,
.hero-cta-btn:focus .bi {
  color: rgba(255, 255, 255, 0.86);
}

.hero-cta-note {
  margin-top: 0.7rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.98rem;
  line-height: 1.45;
}

.hero-card-shell {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

.hero-card {
  border: 1px solid rgba(13, 49, 95, 0.28);
  border-radius: 1.9rem;
  background: #f7f5ef;
  box-shadow: var(--db-card-shadow);
  color: var(--db-navy);
}

.hero-card-title {
  color: var(--db-navy);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.hero-shot-shell {
  padding-left: 0.9rem;
  padding-right: 0.9rem;
}

.hero-shot-wrap {
  overflow: hidden;
  border-radius: 0.35rem;
  background: #ffffff;
  border: 1px solid rgba(13, 49, 95, 0.20);
  box-shadow:
    0 0.35rem 0.8rem rgba(13, 49, 95, 0.10),
    0 1.25rem 2.4rem rgba(13, 49, 95, 0.14);
}

.hero-shot {
  width: 100%;
  height: auto;
  display: block;
}

.hero-card-callout {
  margin-top: 1.25rem;
  padding: 1rem 1.1rem;
  background: #ffffff;
  border: 1px solid rgba(13, 49, 95, 0.16);
  border-radius: 1rem;
  box-shadow: 0 0.45rem 1rem rgba(13, 49, 95, 0.06);
}

.hero-card-callout-text {
  color: rgba(13, 49, 95, 0.92);
  font-size: 1rem;
  line-height: 1.55;
}

.hero-mobile-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--db-navy);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.hero-mobile-link:hover,
.hero-mobile-link:focus {
  color: var(--db-navy);
}

.hero-mobile-link .bi {
  font-size: 1rem;
  line-height: 1;
}

.hero-wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  width: 100%;
  height: 165px;
  z-index: 1;
}

/* =========================================================
   Main content and form system
   ========================================================= */
.content-shell {
  position: relative;
  z-index: 3;
  background: var(--db-offwhite);
  padding-top: 2.5rem;
  padding-bottom: 4.75rem;
}

.signup-shell {
  width: 100%;
  max-width: 900px;
}

.signup-card {
  border: 1px solid rgba(13, 49, 95, 0.08);
  border-radius: 1.75rem;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--db-soft-shadow);
}

.signup-card .card-body {
  padding: 2rem;
}

.signup-title {
  color: var(--db-navy);
  letter-spacing: -0.02em;
}

.signup-intro {
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(23, 50, 77, 0.92);
}

.signup-choice-group {
  border: 1px solid #dee2e6;
  border-radius: 1rem;
  padding: 1rem 1.125rem;
  background: #ffffff;
}

.signup-choice-group legend {
  color: var(--db-navy);
}

.signup-note {
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 1rem;
  padding: 1rem 1.125rem;
}

.signup-note p {
  margin-bottom: 0;
}

.signup-actions {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  align-items: flex-start;
}

.signup-back-link {
  text-decoration: none;
  font-weight: 600;
  color: var(--db-navy);
}

.signup-back-link:hover,
.signup-back-link:focus {
  text-decoration: underline;
  color: var(--db-navy);
}

.signup-confirmation {
  text-align: center;
  padding-top: 0.5rem;
}

.signup-confirmation .checkmark {
  width: 72px;
  height: 72px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(53, 181, 101, 0.14);
  color: #1f7a43;
  font-size: 2rem;
  font-weight: 700;
}

.signup-config-note {
  font-size: 0.98rem;
}

/* =========================================================
   Preview showcase
   ========================================================= */
.preview-shell {
  width: 100%;
  max-width: 1140px;
  margin-top: 3rem;
}

.preview-card {
  background: #ffffff;
  border: 1px solid rgba( 13, 49, 95, 0.08 );
  border-radius: 1.5rem;
  box-shadow: 0 12px 30px rgba( 0, 0, 0, 0.08 );
  overflow: hidden;
}

.preview-card .card-body {
  padding: 2rem;
}

.preview-intro {
  max-width: 820px;
}

.preview-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var( --db-accent-contrast, #1f4568 );
  background: var( --db-accent-soft, #eef6fb );
  border: 1px solid rgba( 13, 49, 95, 0.08 );
  border-radius: 999px;
  padding: .45rem .85rem;
}

.preview-points {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}

.preview-points li {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .55rem .9rem;
  border-radius: 999px;
  background: #f8fbfe;
  border: 1px solid #e9ecef;
  font-weight: 600;
}

.preview-grid {
  margin-top: 1.75rem;
}

.preview-shot {
  height: 100%;
  background: #ffffff;
  border: 1px solid #e9ecef;
  border-radius: 1.1rem;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba( 0, 0, 0, 0.06 );
  transition: transform .18s ease, box-shadow .18s ease;
}

.preview-shot:hover {
  transform: translateY( -4px );
  box-shadow: 0 12px 24px rgba( 0, 0, 0, 0.10 );
}

.preview-shot a {
  color: inherit;
  text-decoration: none;
  display: block;
  padding: .5rem .5rem 0;
}

.preview-shot img {
  display: block;
  width: 100%;
  height: auto;
  background: #dfe7ef;
  border-radius: .35rem;
}

.preview-shot-body {
  padding: 1rem 1rem 1.1rem;
}

.preview-shot-body h3 {
  font-size: 1.08rem;
  margin-bottom: .35rem;
}

.preview-shot-body p {
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 0;
}

.preview-theme-badge {
  display: inline-block;
  margin-bottom: .65rem;
  padding: .3rem .65rem;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
}

.preview-theme-badge-light {
  background: #eef6fb;
  color: #1f4568;
}

.preview-theme-badge-dark {
  background: #1f2937;
  color: #ffffff;
}

.preview-share {
  margin-top: 2rem;
  padding: 1.25rem;
  border: 1px solid #e9ecef;
  border-radius: 1.1rem;
  background: linear-gradient( 180deg, #f8fbfe 0%, #ffffff 100% );
}

.preview-share p {
  margin-bottom: 0;
}

.preview-share .btn {
  white-space: nowrap;
}

.preview-mode-group + .preview-mode-group {
  margin-top: 2rem;
}

.preview-mode-heading {
  display: flex;
  align-items: center;
  gap: .65rem;
  margin-bottom: 1rem;
  color: var( --db-navy );
}

.preview-mode-heading .bi {
  font-size: 1rem;
  line-height: 1;
}

.preview-mode-heading h3 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
}

.preview-mode-heading p {
  margin: 0;
  color: rgba( 23, 50, 77, 0.78 );
  font-size: .98rem;
}

.preview-shot-body h4 {
  font-size: 1.02rem;
  margin-bottom: .35rem;
}

.preview-mode-group
{
  margin-top: 2rem;
}

.preview-mode-group:first-of-type
{
  margin-top: 2.25rem;
}

/* =========================================================
   Buttons
   ========================================================= */
.btn-success {
  --bs-btn-color: #f8f9fa;
  --bs-btn-bg: #35b565;
  --bs-btn-border-color: #35b565;
  --bs-btn-hover-color: #f8f9fa;
  --bs-btn-hover-bg: #2fa95c;
  --bs-btn-hover-border-color: #2fa95c;
  --bs-btn-focus-shadow-rgb: 248, 249, 250;
  --bs-btn-active-color: #f8f9fa;
  --bs-btn-active-bg: #2a9853;
  --bs-btn-active-border-color: #2a9853;
  --bs-btn-disabled-color: #f8f9fa;
  --bs-btn-disabled-bg: #35b565;
  --bs-btn-disabled-border-color: #35b565;
  border: 0;
}


/* =========================================================
   FAQ
   ========================================================= */
#faq {
  background: transparent;
}

#faq .text-primary {
  color: var(--db-navy) !important;
}

#faq .lead {
  color: rgba(23, 50, 77, 0.88);
}

#faq .accordion {
  border: 1px solid rgba(13, 49, 95, 0.10) !important;
  border-radius: 1.5rem !important;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--db-soft-shadow);
  overflow: hidden;
}

#faq .accordion-item {
  background: transparent;
  border: 0;
  border-top: 1px solid rgba(13, 49, 95, 0.08);
}

#faq .accordion-item:first-child {
  border-top: 0;
}

#faq .accordion-button {
  background: rgba(255, 255, 255, 0.92);
  color: var(--db-navy);
  font-size: 1.02rem;
  line-height: 1.4;
  padding: 1.15rem 1.35rem;
  box-shadow: none !important;
}

#faq .accordion-button:hover {
  background: rgba(107, 159, 208, 0.08);
}

#faq .accordion-button:focus {
  box-shadow: none;
  border-color: transparent;
}

#faq .accordion-button:not(.collapsed) {
  background: rgba(107, 159, 208, 0.10);
  color: var(--db-navy);
}

#faq .accordion-button::after {
  opacity: 0.85;
}

#faq .accordion-body {
  padding: 0 1.35rem 1.25rem 1.35rem;
  color: rgba(23, 50, 77, 0.92);
  line-height: 1.7;
  background: rgba(255, 255, 255, 0.72);
}

#faq .accordion-body p:last-child {
  margin-bottom: 0;
}


/* =========================================================
   Footer transition and footer strip
   ========================================================= */
.footer-wave {
  display: block;
  line-height: 0;
  margin-top: -1px;
}

.footer-wave svg {
  display: block;
  width: 100%;
  height: 150px;
}

.bottom-strip {
  background: var(--db-navy);
  color: rgba(255, 255, 255, 0.86);
}

/* =========================================================
   Utilities
   ========================================================= */
.nowrap {
  white-space: nowrap;
  word-break: keep-all;
  hyphens: none;
}

/* =========================================================
   Responsive
   ========================================================= */
@media (min-width: 576px) {
  .signup-actions {
    flex-direction: row;
    align-items: center;
  }
}

@media (min-width: 992px) {
  .signup-card .card-body {
    padding: 2.5rem;
  }
}

@media (min-width: 1200px) {
  .hero-card-shell {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

@media (max-width: 991.98px) {
  .hero-inner {
    padding-top: 3rem;
    padding-bottom: 8rem;
  }

  .hero-title {
    max-width: 10ch;
  }
}

@media (max-width: 767.98px) {
  .hero-inner {
    padding-top: 2.5rem;
    padding-bottom: 7rem;
  }

  .hero-wave {
    height: 140px;
  }

  .footer-wave svg {
    height: 120px;
  }
}

@media ( max-width: 991.98px ) {
  .preview-card .card-body {
    padding: 1.5rem;
  }
}

@media (max-width: 767.98px) {
  #faq .accordion-button {
    padding: 1rem 1.1rem;
    font-size: 1rem;
  }

  #faq .accordion-body {
    padding: 0 1.1rem 1.1rem 1.1rem;
  }
}