/* Local overrides: system fonts only, no external requests */
.__variable_8c4c93 {
  --font-noto-sans: ui-sans-serif, system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
.__variable_c1160d {
  --font-noto-sans-display: ui-sans-serif, system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* Inner page layout */
.page-hero {
  background: linear-gradient(135deg, #1e3a5f 0%, #2d4a6f 100%);
  color: #fff;
  padding: 2.5rem 1rem 3rem;
}
.page-hero h1 {
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: #fff;
  letter-spacing: -0.02em;
}
.page-hero p {
  margin: 0;
  font-size: 0.95rem;
  opacity: 0.9;
  color: #e2e8f0;
}
.page-content {
  background: #f8fafc;
  padding: 2rem 1rem 3rem;
  min-height: 50vh;
}
.page-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0,0,0,.08), 0 4px 12px rgba(0,0,0,.04);
  border: 1px solid #e2e8f0;
  padding: 1.5rem 1.75rem;
  margin-bottom: 1.25rem;
  transition: box-shadow .2s ease;
}
.page-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,.08), 0 8px 24px rgba(0,0,0,.06);
}
.page-card h2 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1e3a5f;
  margin: 0 0 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #fcd34d;
  display: inline-block;
}
.page-card ul {
  margin: 0;
  padding-left: 1.25rem;
  color: #475569;
  font-size: 0.9375rem;
  line-height: 1.65;
}
.page-card li {
  margin-bottom: 0.35rem;
}
.page-card p {
  margin: 0 0 0.75rem;
  color: #475569;
  font-size: 0.9375rem;
  line-height: 1.65;
}
.page-card p:last-child {
  margin-bottom: 0;
}
.page-card a {
  color: #1e3a5f;
  font-weight: 600;
}
.page-card a:hover {
  text-decoration: underline;
}
.page-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.6rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 50px;
  background: #fcd34d;
  color: #334155;
  border: 2px solid #fcd34d;
  transition: background .2s ease, border-color .2s ease;
}
.page-cta:hover {
  background: #fde047;
  border-color: #fde047;
  color: #1e293b;
}
.page-accent {
  border-left: 4px solid #1e3a5f;
  background: #fff;
  padding: 0.75rem 1rem;
  border-radius: 0 8px 8px 0;
  margin-bottom: 1.25rem;
  font-size: 0.9375rem;
  color: #475569;
}
.page-accent a {
  color: #1e3a5f;
  font-weight: 600;
}
.page-accent a:hover {
  text-decoration: underline;
}

/* Global dark fintech redesign */
:root {
  --fx-bg: #0b0e11;
  --fx-bg-soft: #11161d;
  --fx-bg-card: #1a2029;
  --fx-border: #2b3139;
  --fx-text: #eaecef;
  --fx-muted: #9ea7b5;
  --fx-yellow: #fcd535;
}

body {
  background: radial-gradient(circle at 20% -10%, #1f2632 0%, #0b0e11 48%, #090c12 100%) !important;
  color: var(--fx-text) !important;
}

html,
body,
#__next {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

a {
  color: var(--fx-yellow) !important;
  transition: color .25s ease, opacity .25s ease, transform .25s ease, box-shadow .25s ease;
}

a:hover {
  color: #ffe07a !important;
}

#__next {
  background: transparent !important;
}

/* Header */
#__next > .bg-white {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(11, 14, 17, 0.94) !important;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--fx-border) !important;
}

#__next > .bg-white .border-b {
  border-color: var(--fx-border) !important;
}

#__next > .bg-white .text-blue-dark-600 {
  color: #f5f5f5 !important;
  font-weight: 600 !important;
  letter-spacing: .03em;
}

#__next > .bg-white .hover\:text-blue-light-600:hover {
  color: var(--fx-yellow) !important;
}

#__next > .bg-white .group ul {
  background: #141a22 !important;
  border-top-color: var(--fx-yellow) !important;
  border-left: 1px solid var(--fx-border);
  border-right: 1px solid var(--fx-border);
  border-bottom: 1px solid var(--fx-border);
}

#__next > .bg-white .group ul li {
  color: #eaecef !important;
}

#__next > .bg-white .group ul li:hover {
  background: #1c2430 !important;
  color: var(--fx-yellow) !important;
}

#__next > .bg-white .bg-yellow-500 {
  background: var(--fx-yellow) !important;
  border-color: var(--fx-yellow) !important;
  color: #171a1f !important;
  border-radius: 999px !important;
  font-weight: 700 !important;
  box-shadow: 0 8px 24px rgba(252, 213, 53, .3);
}

#__next > .bg-white .bg-yellow-500:hover {
  background: #ffe07a !important;
  border-color: #ffe07a !important;
}

.nav-mobile-panel {
  background: var(--fx-bg-soft) !important;
  border-top: 1px solid var(--fx-border) !important;
}

.nav-mobile-panel p {
  color: var(--fx-text) !important;
}

.nav-mobile-panel .divide-gray-300 > :not([hidden]) ~ :not([hidden]) {
  border-color: var(--fx-border) !important;
}

/* Hero layout */
.hero-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 1280px;
  margin: 0 auto;
  padding: 2.5rem 1rem 1.5rem;
}

@media (min-width: 1024px) {
  .hero-split {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
    gap: 2rem;
    padding: 4rem 1.5rem 2rem;
  }
}

.hero-left,
.hero-right {
  background: linear-gradient(180deg, rgba(26, 32, 41, .92) 0%, rgba(17, 22, 29, .95) 100%);
  border: 1px solid var(--fx-border);
  border-radius: 18px;
  box-shadow: 0 22px 48px rgba(0, 0, 0, .45);
}

.hero-left {
  padding: 1.5rem;
}

@media (min-width: 768px) {
  .hero-left {
    padding: 2.5rem;
  }
}

.hero-title {
  font-size: clamp(2rem, 4.3vw, 4rem);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -.02em;
  margin-bottom: 1rem;
  color: #fff;
}

.hero-subtitle {
  color: #b8c1cf !important;
  font-size: 1rem !important;
  line-height: 1.8 !important;
  margin-bottom: 1.5rem !important;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-bottom: 1rem;
}

.hero-cta-primary,
.hero-cta-secondary {
  border-radius: 999px;
  font-size: .92rem;
  font-weight: 700;
  padding: .75rem 1.3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.hero-cta-primary {
  background: var(--fx-yellow);
  color: #171a1f !important;
  border: 1px solid var(--fx-yellow);
}

.hero-cta-secondary {
  border: 1px solid #4a5566;
  color: #eaecef !important;
  background: transparent;
}

.hero-signup {
  display: flex;
  border-radius: 999px;
  border: 1px solid #3c4654;
  background: #0f141b;
  overflow: hidden;
  margin-top: .25rem;
  margin-bottom: 1rem;
}

.hero-signup input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: 0;
  color: #f5f6f8;
  padding: .85rem 1rem;
  outline: none;
}

.hero-signup input::placeholder {
  color: #7f8a9a;
}

.hero-signup button {
  border: 0;
  background: var(--fx-yellow);
  color: #171a1f;
  font-weight: 700;
  padding: 0 1.2rem;
}

.hero-trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .6rem;
}

.hero-trust-item {
  border: 1px solid #2f3742;
  border-radius: 12px;
  background: #141a22;
  min-height: 44px;
}

.hero-right {
  padding: 1.2rem;
}

.market-panel {
  border: 1px solid #2f3742;
  border-radius: 14px;
  background: linear-gradient(180deg, #171d26 0%, #10151c 100%);
  overflow: hidden;
}

.market-head,
.market-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: .75rem;
  padding: .8rem 1rem;
}

.market-head {
  color: #8e99aa;
  font-size: .74rem;
  text-transform: uppercase;
  border-bottom: 1px solid #2b3139;
}

.market-row {
  color: #edf0f5;
  border-bottom: 1px solid rgba(43, 49, 57, .8);
  font-size: .9rem;
}

.market-row:last-child {
  border-bottom: 0;
}

.market-row span:last-child {
  color: #02c076;
}

.market-head span,
.market-row span {
  min-width: 0;
  overflow-wrap: anywhere;
}

/* Section cards & spacing */
main .shadow,
main .cta,
.page-card,
.page-accent {
  background: linear-gradient(180deg, rgba(26, 32, 41, .95), rgba(17, 22, 29, .95)) !important;
  border: 1px solid var(--fx-border) !important;
  border-radius: 16px !important;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .35) !important;
}

main .bg-gray-100,
main .bg-background-light,
.page-content {
  background: transparent !important;
}

main section {
  margin-bottom: 1rem;
}

main h1,
main h2,
main h3,
main h4,
main h5 {
  color: #fff !important;
  font-weight: 800 !important;
}

main p,
main span,
main li,
.lead,
.caption {
  color: #b7c0cd !important;
}

.bg-green-500 {
  background: rgba(2, 192, 118, .85) !important;
}

.bg-red-500 {
  background: rgba(248, 73, 96, .85) !important;
}

.carousel-dot {
  border: 0;
}

.carousel-dot.bg-gray-700 {
  background: var(--fx-yellow) !important;
}

.carousel-dot.bg-gray-300 {
  background: #3b4553 !important;
}

/* FAQ accordion style visuals */
.page-card + .page-card {
  margin-top: .9rem;
}

/* Inner page hero/content */
.page-hero {
  background: radial-gradient(circle at 10% 0%, #1f2632 0%, #11161d 48%, #0b0e11 100%) !important;
  border-bottom: 1px solid var(--fx-border);
  padding: 3rem 1rem !important;
}

.page-hero p {
  color: #aeb7c6 !important;
}

.page-content {
  padding: 2.5rem 1rem 3.5rem !important;
}

.page-card h2 {
  color: #fff !important;
  border-bottom: 2px solid var(--fx-yellow) !important;
}

.page-accent {
  border-left: 4px solid var(--fx-yellow) !important;
}

/* Footer redesign */
footer {
  margin-top: 2rem;
}

footer .bg-blue-dark-600,
footer .bg-blue-dark-700 {
  background: #0c1118 !important;
}

footer .bg-blue-dark-600 {
  border-top: 1px solid var(--fx-border);
}

footer .bg-blue-dark-700 {
  border-top: 1px solid #1d2530;
}

footer a {
  color: #aab4c3 !important;
  font-size: .82rem;
}

footer a:hover {
  color: var(--fx-yellow) !important;
}

footer .grid {
  gap: 2rem !important;
}

footer nav {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .55rem 1.1rem !important;
}

@media (min-width: 1024px) {
  footer .tablet\:grid-cols-4 {
    grid-template-columns: 2fr 2fr 1fr 1fr !important;
  }
}

footer .caption {
  font-size: .78rem !important;
  line-height: 1.6 !important;
}

/* Small interactions */
.shadow,
.page-card,
.page-accent,
.hero-left,
.hero-right {
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.shadow:hover,
.page-card:hover,
.page-accent:hover,
.hero-left:hover,
.hero-right:hover {
  transform: translateY(-3px);
  border-color: #3d4655 !important;
  box-shadow: 0 24px 42px rgba(0, 0, 0, .45) !important;
}

@media (max-width: 767px) {
  .hero-split {
    padding-left: .75rem;
    padding-right: .75rem;
  }

  .hero-left,
  .hero-right {
    padding: 1rem;
    border-radius: 14px;
  }

  .hero-signup {
    flex-wrap: wrap;
    border-radius: 14px;
  }

  .hero-signup input,
  .hero-signup button {
    width: 100%;
  }

  .hero-signup button {
    padding: .75rem 1rem;
  }

  .hero-trust {
    grid-template-columns: 1fr;
  }

  .market-head,
  .market-row {
    grid-template-columns: minmax(0, 1.45fr) minmax(0, .75fr) minmax(0, .75fr);
    gap: .5rem;
    padding: .7rem .75rem;
    font-size: .8rem;
  }

  .market-head {
    font-size: .68rem;
  }
}
