:root {
  --blue: #5462f6;
  --ink: #12131d;
  --deep: #15151f;
  --cream: #f4efe4;
  --paper: #f8f2e8;
  --muted: #68656b;
  --line: rgba(25, 25, 30, .16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

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

button,
input {
  font: inherit;
}

.nav {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  color: #fff;
  background: linear-gradient(to bottom, rgba(15, 15, 23, .42), rgba(15, 15, 23, 0));
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 230px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 6px;
}

.brand-mark {
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
}

.nav-center,
.nav-actions {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-center {
  gap: 45px;
  color: rgba(255, 255, 255, .92);
  font-size: 16px;
}

.nav-center a,
.nav-center button {
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.chevron {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-left: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-3px);
}

.nav-actions {
  gap: 30px;
  min-width: 230px;
  justify-content: flex-end;
  font-size: 16px;
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 23px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: var(--blue);
  font-weight: 650;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12);
  cursor: pointer;
}

.hero {
  position: relative;
  min-height: 760px;
  overflow: hidden;
  color: #fff;
  background: #151822;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  background: #151822 url("https://cdn.mercury.com/fem/_next/static/media/hero_end_frame_xl.30ad39be.jpg") center bottom / cover;
}

.hero-video {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  opacity: .98;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to bottom, rgba(18, 18, 25, .2), rgba(18, 18, 25, 0) 38%, rgba(11, 14, 19, .48) 100%);
  pointer-events: none;
}

.hero-content {
  width: min(760px, calc(100% - 40px));
  margin: 0 auto;
  padding-top: 146px;
  text-align: center;
  text-shadow: 0 1px 20px rgba(0, 0, 0, .12);
}

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

h1 {
  margin-bottom: 0;
  color: rgba(255, 255, 255, .92);
  font-size: clamp(42px, 4.7vw, 68px);
  line-height: .95;
  font-weight: 520;
}

.subhead {
  width: min(590px, 100%);
  margin: 18px auto 42px;
  color: rgba(255, 255, 255, .86);
  font-size: 21px;
  line-height: 1.38;
  font-weight: 600;
}

sup {
  font-size: .56em;
  line-height: 0;
  vertical-align: super;
}

.signup {
  display: flex;
  align-items: center;
  width: min(410px, 100%);
  height: 48px;
  margin: 0 auto;
  padding: 4px;
  border-radius: 999px;
  background: rgba(225, 207, 203, .58);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08), 0 14px 35px rgba(37, 42, 63, .2);
  backdrop-filter: blur(12px);
}

.signup input {
  min-width: 0;
  flex: 1;
  height: 100%;
  border: 0;
  outline: none;
  background: transparent;
  color: #fff;
  padding: 0 18px;
  font-size: 16px;
}

.signup input::placeholder {
  color: rgba(255,255,255,.9);
}

.signup .pill {
  height: 40px;
  min-height: 40px;
  white-space: nowrap;
}

.optout {
  width: min(620px, calc(100% - 40px));
  margin: 18px auto 0;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: center;
  color: rgba(255,255,255,.74);
  font-size: 12px;
  line-height: 1.35;
  text-align: left;
  opacity: 0;
}

.fdic {
  position: absolute;
  left: 50%;
  bottom: 31px;
  width: min(950px, calc(100% - 64px));
  transform: translateX(-50%);
  padding: 14px 25px;
  border-radius: 10px;
  background: rgba(24, 24, 34, .92);
  color: rgba(255,255,255,.92);
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
  box-shadow: 0 12px 35px rgba(0,0,0,.18);
}

.dark-section {
  background: var(--deep);
  color: #fff;
}

.intro {
  padding: 94px 32px 112px;
}

.intro-inner,
.features-inner,
.section-head,
.ops-layout,
.money-section,
.stats,
.security,
.final-cta,
.footer {
  width: min(1120px, calc(100% - 64px));
  margin: 0 auto;
}

.intro-inner {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 68px;
  align-items: start;
}

.eyebrow {
  margin: 0;
  color: rgba(255,255,255,.72);
  font-size: 20px;
  line-height: 1.2;
}

.muted {
  color: #69656a;
}

.section-title {
  margin: 10px 0 38px;
  font-size: clamp(42px, 6vw, 78px);
  line-height: .96;
  font-weight: 520;
}

.tabs {
  border-top: 1px solid rgba(255,255,255,.17);
}

.tab {
  padding: 23px 0 24px;
  border-bottom: 1px solid rgba(255,255,255,.17);
}

.tab h3 {
  margin: 0 0 11px;
  font-size: 22px;
  font-weight: 540;
}

.tab p {
  margin: 0;
  max-width: 535px;
  color: rgba(255,255,255,.66);
  font-size: 16px;
  line-height: 1.56;
}

.product-visual {
  position: sticky;
  top: 94px;
  min-height: 560px;
  border-radius: 28px;
  overflow: hidden;
  background: url("https://www.datocms-assets.com/115132/1764181747-2025_fem_homepage-virtual-cards_3x2.webp") center / cover;
  box-shadow: 0 35px 80px rgba(0,0,0,.3);
  display: grid;
  place-items: center;
  padding: 32px;
}

.mock-window {
  width: min(420px, 100%);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 22px;
  background: rgba(12, 15, 25, .72);
  backdrop-filter: blur(10px);
  padding: 20px;
}

.mock-top {
  width: 82px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,.28);
  margin-bottom: 22px;
}

.mock-balance {
  font-size: 34px;
  font-weight: 680;
  margin-bottom: 24px;
}

.mock-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid rgba(255,255,255,.14);
  color: rgba(255,255,255,.82);
}

.logos {
  background: var(--cream);
  padding: 92px 32px 84px;
  text-align: center;
}

.logos h2 {
  width: min(920px, 100%);
  margin: 0 auto 48px;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.02;
  font-weight: 520;
}

.logo-grid {
  width: min(1030px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.logo-grid span {
  min-height: 94px;
  display: grid;
  place-items: center;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: #20202a;
  font-size: 26px;
  font-weight: 620;
}

.stories {
  padding: 72px 0;
  background: #eee7db;
  overflow: hidden;
}

.story-track {
  width: min(1280px, calc(100% - 36px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(280px, 1fr));
  gap: 18px;
}

.story {
  background: #fffaf1;
  border: 1px solid rgba(25,25,30,.1);
  border-radius: 8px;
  overflow: hidden;
}

.story-photo {
  height: 235px;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255,255,255,.28), rgba(255,255,255,0)),
    #d8e1d7;
}

.story-photo::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 34px;
  width: 82px;
  height: 82px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: rgba(33, 35, 45, .82);
  box-shadow: 0 72px 0 32px rgba(33, 35, 45, .72);
}

.story-photo::after {
  content: "";
  position: absolute;
  inset: auto 22px 20px;
  height: 28px;
  border-radius: 999px;
  background: rgba(255,255,255,.28);
}

.photo-one {
  background-color: #d8e1d7;
}

.photo-two {
  background-color: #ead7cf;
}

.photo-three {
  background-color: #d8d9ea;
}

.story div:last-child {
  padding: 24px;
}

.story span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 18px;
}

.story p {
  font-size: 21px;
  line-height: 1.28;
  margin-bottom: 24px;
}

.story strong,
.story small {
  display: block;
}

.story small {
  color: var(--muted);
  margin-top: 4px;
}

.features {
  background: var(--paper);
  padding: 92px 0 110px;
}

.features .section-title {
  color: #1f1e24;
  max-width: 760px;
  margin-bottom: 52px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.feature {
  min-height: 390px;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 1px 0 rgba(20, 20, 30, .08);
}

.feature img,
.bill-visual,
.receipt-visual {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.bill-visual,
.receipt-visual {
  background: #dfe4f4;
  display: grid;
  place-items: center;
  padding: 24px;
}

.bill-card,
.receipt-visual {
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(50, 57, 80, .16);
}

.bill-card {
  width: min(320px, 100%);
  padding: 18px;
}

.bill-card span,
.bill-card strong {
  display: block;
}

.bill-card strong {
  font-size: 28px;
  margin-top: 8px;
}

.bill-card.secondary {
  transform: translate(34px, -12px);
  background: #15151f;
  color: #fff;
}

.receipt-visual {
  align-content: center;
  gap: 14px;
}

.receipt-line {
  width: 72%;
  height: 13px;
  border-radius: 999px;
  background: #d4d8ea;
}

.receipt-line.short {
  width: 48%;
}

.receipt-chip {
  border-radius: 999px;
  background: #5462f6;
  color: #fff;
  padding: 8px 14px;
}

.feature-copy {
  padding: 25px;
}

.feature-copy h3 {
  margin: 0 0 10px;
  font-size: 25px;
  font-weight: 540;
}

.feature-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.52;
}

.fast-start {
  padding: 96px 0 112px;
}

.section-head h2,
.money-copy h2,
.ops-layout h2,
.stats h2,
.security h2,
.final-cta h2 {
  margin: 0;
  font-size: clamp(42px, 6vw, 74px);
  line-height: .98;
  font-weight: 520;
}

.start-grid,
.money-grid,
.security-grid,
.press-grid,
.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.start-grid {
  width: min(1120px, calc(100% - 64px));
  margin: 56px auto 0;
}

.start-grid article,
.security-grid article,
.press-grid article,
.audience-grid article {
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 8px;
  padding: 28px;
  background: rgba(255,255,255,.045);
}

.start-grid span {
  color: rgba(255,255,255,.5);
}

.start-grid h3,
.security-grid h3,
.audience-grid h3 {
  font-size: 24px;
  margin: 18px 0 12px;
}

.start-grid p,
.security-grid p,
.audience-grid p,
.ops-layout p,
.ops-list span {
  color: rgba(255,255,255,.68);
  line-height: 1.55;
}

.money-section {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 48px;
  padding: 96px 0;
}

.money-grid {
  grid-template-columns: 1fr;
}

.money-grid article {
  display: grid;
  grid-template-columns: 145px 1fr;
  gap: 22px;
  align-items: center;
  border-top: 1px solid var(--line);
  padding: 22px 0;
}

.money-grid h3 {
  margin: 0 0 8px;
  font-size: 24px;
}

.money-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.mini-visual {
  height: 110px;
  border-radius: 8px;
  background: #dbe2f5;
}

.mini-visual.cashback {
  background: #e4ead8;
}

.mini-visual.yield {
  background: #ece1cf;
}

.ops-section {
  padding: 104px 0;
}

.ops-layout {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 56px;
  align-items: start;
}

.ops-list {
  display: grid;
  gap: 14px;
}

.ops-list article {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 16px;
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,.14);
}

.stats {
  padding: 102px 0;
  text-align: center;
}

.stats h2 {
  width: min(860px, 100%);
  margin: 0 auto 48px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.stats-grid div {
  min-height: 150px;
  display: grid;
  place-items: center;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 22px;
}

.stats-grid strong,
.stats-grid span {
  display: block;
}

.stats-grid strong {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 520;
}

.stats-grid span {
  color: var(--muted);
}

.security {
  padding: 92px 0 102px;
}

.security .section-head {
  width: 100%;
  margin-bottom: 42px;
}

.security-grid article {
  background: #fff;
  border-color: var(--line);
}

.security-grid p {
  color: var(--muted);
}

.press {
  padding: 74px 32px;
}

.press > p,
.press-grid {
  width: min(1120px, 100%);
  margin-left: auto;
  margin-right: auto;
}

.press > p {
  color: rgba(255,255,255,.62);
  margin-bottom: 22px;
}

.press-grid article h3 {
  margin: 18px 0 0;
  font-size: 24px;
}

.press-grid span {
  color: rgba(255,255,255,.6);
}

.final-cta {
  padding: 92px 0;
  text-align: center;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin: 28px 0 58px;
}

.secondary-link {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  color: var(--blue);
  font-weight: 650;
}

.audience-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  text-align: left;
}

.audience-grid article {
  background: #fff;
  border-color: var(--line);
}

.audience-grid p {
  color: var(--muted);
}

.audience-grid a {
  color: var(--blue);
  font-weight: 650;
}

.footer {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
  padding: 52px 0 64px;
  border-top: 1px solid var(--line);
}

.footer-brand strong {
  letter-spacing: 6px;
}

.footer-brand p {
  color: var(--muted);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.footer-links strong,
.footer-links a {
  display: block;
}

.footer-links strong {
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--muted);
  margin: 8px 0;
  font-size: 14px;
}

@media (max-width: 960px) {
  .nav {
    height: 68px;
    padding: 0 20px;
    background: rgba(18,18,27,.42);
  }

  .brand {
    min-width: auto;
  }

  .brand span,
  .nav-center {
    display: none;
  }

  .nav-actions {
    min-width: auto;
    gap: 18px;
  }

  .intro-inner,
  .feature-grid,
  .story-track,
  .money-section,
  .ops-layout,
  .start-grid,
  .money-grid article,
  .security-grid,
  .press-grid,
  .footer {
    grid-template-columns: 1fr;
  }

  .stats-grid,
  .logo-grid,
  .footer-links {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-visual {
    position: relative;
    top: auto;
    min-height: 420px;
  }
}

@media (max-width: 560px) {
  .nav-actions .login-link {
    display: none;
  }

  .hero {
    min-height: 720px;
  }

  .hero-content {
    padding-top: 124px;
  }

  .signup {
    height: auto;
    flex-direction: column;
    align-items: stretch;
    padding: 5px;
    border-radius: 24px;
  }

  .signup input {
    height: 42px;
  }

  .signup .pill {
    width: 100%;
  }

  .fdic {
    width: calc(100% - 32px);
    bottom: 18px;
  }

  .intro-inner,
  .features-inner,
  .section-head,
  .ops-layout,
  .money-section,
  .stats,
  .security,
  .final-cta,
  .footer,
  .start-grid {
    width: calc(100% - 40px);
  }

  .logo-grid,
  .stats-grid,
  .audience-grid,
  .footer-links {
    grid-template-columns: 1fr;
  }

  .story-track {
    width: calc(100% - 28px);
  }

  .cta-actions {
    flex-direction: column;
    align-items: center;
  }
}
