:root {
  --ink: #f7fbff;
  --muted: #aab8c8;
  --soft: #728195;
  --dark: #07111f;
  --panel: rgba(13, 27, 46, 0.72);
  --panel-strong: rgba(18, 36, 61, 0.86);
  --line: rgba(220, 238, 255, 0.13);
  --blue: #5fd1ff;
  --blue-deep: #296dff;
  --mint: #65f0bd;
  --gold: #ffcf70;
  --danger: #ff8f8f;
  --font-display: "Plus Jakarta Sans", Inter, system-ui, sans-serif;
  --font-body: Inter, system-ui, sans-serif;
  --shadow: 0 30px 100px rgba(0, 0, 0, 0.38);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--font-body);
  background:
    radial-gradient(circle at 14% 4%, rgba(95, 209, 255, 0.17), transparent 29rem),
    radial-gradient(circle at 88% 12%, rgba(101, 240, 189, 0.14), transparent 26rem),
    radial-gradient(circle at 50% 90%, rgba(41, 109, 255, 0.14), transparent 34rem),
    linear-gradient(180deg, #07111f 0%, #0a1627 48%, #050b13 100%);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.wrap {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.site-shell {
  position: relative;
  overflow: hidden;
}

.nav {
  position: fixed;
  z-index: 50;
  top: 16px;
  left: 50%;
  width: min(1180px, calc(100% - 32px));
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(7, 17, 31, 0.58);
  backdrop-filter: blur(22px);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.24);
  transition:
    background 0.25s var(--ease),
    border-color 0.25s var(--ease),
    top 0.25s var(--ease);
}

.nav.is-scrolled {
  top: 10px;
  background: rgba(7, 17, 31, 0.84);
  border-color: rgba(220, 238, 255, 0.2);
}

.brand,
.brand-mark,
.nav-links,
.quick-info,
.hero-actions,
.footer-inner,
.footer-links {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  justify-content: center;
  border-radius: 50%;
  font-family: var(--font-display);
  font-weight: 900;
  color: #06111d;
  background: linear-gradient(135deg, var(--blue), var(--mint));
  box-shadow: 0 12px 34px rgba(95, 209, 255, 0.24);
}

.brand-copy {
  display: grid;
  line-height: 1;
}

.brand-copy strong {
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: -0.03em;
}

.brand-copy small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.76rem;
}

.nav-links {
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(220, 238, 255, 0.045);
}

.nav-links a,
.nav-cta,
.mobile-menu a {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
  transition:
    color 0.2s var(--ease),
    background 0.2s var(--ease);
}

.nav-links a:hover,
.mobile-menu a:hover {
  color: var(--ink);
  background: rgba(220, 238, 255, 0.08);
}

.nav-cta {
  color: #06111d;
  background: linear-gradient(135deg, var(--blue), var(--mint));
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: rgba(220, 238, 255, 0.08);
}

.nav-toggle span {
  position: absolute;
  width: 18px;
  height: 2px;
  border-radius: 9px;
  background: var(--ink);
}

.nav-toggle span:last-child {
  transform: translateY(6px);
}

.mobile-menu {
  position: fixed;
  z-index: 45;
  top: 80px;
  left: 50%;
  width: min(420px, calc(100% - 32px));
  transform: translateX(-50%) translateY(-12px);
  display: grid;
  gap: 4px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(7, 17, 31, 0.95);
  opacity: 0;
  pointer-events: none;
  transition: 0.22s var(--ease);
}

.mobile-menu.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: center;
  padding: 120px 0 54px;
}

.hero-bg,
.grid-glow,
.orb {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.grid-glow {
  opacity: 0.17;
  background-image:
    linear-gradient(rgba(220, 238, 255, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(220, 238, 255, 0.12) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(circle at 50% 30%, black, transparent 68%);
}

.orb {
  width: 360px;
  height: 360px;
  border-radius: 50%;
  filter: blur(8px);
  opacity: 0.22;
}

.orb-a {
  left: 5%;
  top: 16%;
  background: var(--blue);
}

.orb-b {
  right: 4%;
  bottom: 8%;
  background: var(--mint);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.75fr);
  gap: 48px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  letter-spacing: -0.055em;
}

h1 {
  max-width: 900px;
  margin-bottom: 20px;
  font-size: clamp(3.1rem, 8vw, 6.8rem);
  line-height: 0.92;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4.6vw, 4.2rem);
  line-height: 0.98;
}

.hero-text,
.lead,
.compliance-card p,
.flow-card p,
.fine-print {
  color: var(--muted);
  line-height: 1.75;
}

.hero-text {
  max-width: 660px;
  font-size: 1.1rem;
}

.fine-print {
  max-width: 650px;
  margin: 18px 0 0;
  font-size: 0.78rem;
}

.hero-actions {
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 900;
}

.btn-primary {
  color: #06111d;
  background: linear-gradient(135deg, var(--blue), var(--mint));
  box-shadow: 0 18px 52px rgba(95, 209, 255, 0.2);
}

.btn-secondary {
  color: var(--ink);
  background: rgba(220, 238, 255, 0.07);
}

.advisor-card,
.compliance-card,
.flow-card,
.product-card,
.bank-card,
.metric-card,
.feature-item,
.step-card,
.disclosure-card {
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.advisor-card {
  overflow: hidden;
  padding: 22px;
  border-radius: var(--radius-xl);
}

.advisor-top,
.advisor-result {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-size: 0.82rem;
}

.advisor-top strong,
.advisor-result strong {
  color: var(--ink);
}

.advisor-orb {
  position: relative;
  display: grid;
  place-items: center;
  height: 250px;
  margin: 24px 0;
  border-radius: 28px;
  background:
    radial-gradient(circle at 50% 45%, rgba(247, 251, 255, 0.18), transparent 22%),
    radial-gradient(circle, rgba(95, 209, 255, 0.22), rgba(101, 240, 189, 0.08) 56%, transparent 72%);
}

.advisor-orb span {
  width: 118px;
  height: 118px;
  border-radius: 50%;
  background: rgba(7, 17, 31, 0.78);
  border: 1px solid rgba(220, 238, 255, 0.14);
  box-shadow: 0 0 70px rgba(95, 209, 255, 0.25);
}

.question-card {
  padding: 18px;
  border-radius: 22px;
  background: rgba(7, 17, 31, 0.54);
}

.question-card small,
.product-card span,
.bank-card span,
.metric-card span,
.step-card span,
.disclosure-card span {
  color: var(--soft);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.question-card p {
  margin: 8px 0 0;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.55;
}

.quick-info {
  position: relative;
  z-index: 2;
  justify-content: space-between;
  gap: 18px;
  margin-top: -38px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(7, 17, 31, 0.72);
  backdrop-filter: blur(18px);
}

.quick-info div {
  flex: 1;
  padding: 16px;
}

.quick-info span {
  display: block;
  margin-bottom: 7px;
  color: var(--soft);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.quick-info strong {
  font-size: 1rem;
}

.section {
  padding: 104px 0;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 36px;
}

.story-layout,
.advisor-flow,
.compliance {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: 28px;
}

.lead {
  font-size: 1.08rem;
}

.feature-list,
.steps,
.disclosure-stack {
  display: grid;
  gap: 14px;
}

.feature-item,
.step-card,
.disclosure-card {
  padding: 22px;
  border-radius: var(--radius-lg);
}

.feature-item strong,
.step-card strong,
.disclosure-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.feature-item p,
.step-card p,
.disclosure-card p,
.product-card p,
.bank-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.products-section {
  background: rgba(220, 238, 255, 0.025);
}

.products-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  max-width: none;
}

.product-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.product-filter {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 14px;
  color: var(--muted);
  background: rgba(220, 238, 255, 0.055);
  font-weight: 900;
}

.product-filter.is-active {
  color: #06111d;
  border-color: transparent;
  background: linear-gradient(135deg, var(--blue), var(--mint));
}

.product-grid,
.bank-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.product-card,
.bank-card {
  min-height: 230px;
  padding: 24px;
  border-radius: var(--radius-lg);
}

.product-card h3,
.bank-card h3 {
  margin: 12px 0 10px;
  font-size: 1.35rem;
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.product-meta strong {
  border: 1px solid rgba(95, 209, 255, 0.22);
  border-radius: 999px;
  padding: 7px 10px;
  color: var(--blue);
  font-size: 0.78rem;
}

.bank-card {
  min-height: 150px;
}

.flow-card,
.compliance-card {
  padding: 34px;
  border-radius: var(--radius-xl);
}

.flow-card h2,
.compliance-card h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.5rem);
}

.flow-card .btn {
  margin-top: 22px;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 34px 0;
}

.footer-inner {
  justify-content: space-between;
  gap: 20px;
}

.footer p {
  margin: 8px 0 0;
  color: var(--muted);
}

.footer-links {
  gap: 16px;
  color: var(--muted);
  font-weight: 800;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 920px) {
  .nav-links,
  .nav-cta {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .hero-grid,
  .story-layout,
  .advisor-flow,
  .compliance,
  .products-head {
    grid-template-columns: 1fr;
  }

  .quick-info,
  .products-head,
  .footer-inner {
    align-items: stretch;
    flex-direction: column;
  }

  .product-grid,
  .bank-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .wrap {
    width: min(100% - 24px, 1180px);
  }

  h1 {
    font-size: clamp(2.8rem, 17vw, 4.8rem);
  }

  .hero {
    padding-top: 110px;
  }

  .advisor-card,
  .flow-card,
  .compliance-card {
    padding: 20px;
  }
}
