:root {
  --primary-red: #d32f2f;
  --dark-red: #b71c1c;
  --gold: #d9a62e;
  --dark-text: #171717;
  --muted-text: #5d5d5d;
  --light-bg: #f7f6f5;
  --card-border: #dedbd8;
  --magenta: #a72d83;
  --promo-link: #5b3d91;
  --promo-icon: #b45a78;
  --muted-bg: #f3f1ef;
  --white: #ffffff;
  --shadow-soft: 0 18px 32px rgba(23, 23, 23, 0.08);
  --shadow-card: 0 10px 24px rgba(23, 23, 23, 0.08);
  --container-width: min(92vw, 1360px);
  --transition-fast: 150ms ease;
  --transition-normal: 220ms ease;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Source Sans 3", sans-serif;
  color: var(--dark-text);
  background: var(--white);
  line-height: 1.5;
  overflow-x: hidden;
}

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

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: var(--container-width);
  margin: 0 auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.top-header {
  background: #d32f2f;
  border-bottom: 4px solid #efc14b;
}

.header-inner {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-wrap {
  display: flex;
  align-items: center;
  min-width: 0;
}

.brand {
  font-family: "Cormorant Garamond", serif;
  font-weight: 700;
  letter-spacing: 0.02em;
  font-size: 1.72rem;
  color: var(--white);
  line-height: 1;
}

.utility-nav {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  color: var(--white);
  font-size: 0.92rem;
  font-weight: 500;
}

.utility-nav a,
.utility-nav button {
  transition: opacity var(--transition-fast);
}

.utility-nav a:hover,
.utility-nav a:focus-visible,
.icon-button:hover,
.icon-button:focus-visible,
.sign-on-button:hover,
.sign-on-button:focus-visible {
  opacity: 0.88;
}

.icon-button {
  border: 0;
  background: transparent;
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
}

.icon-button svg {
  width: 1.2rem;
  height: 1.2rem;
  display: block;
}

.sign-on-button {
  border: 0;
  background: var(--white);
  color: #1a1a1a;
  border-radius: 999px;
  padding: 0.42rem 1.05rem;
  font-weight: 600;
  font-size: 0.92rem;
  min-height: 0;
  line-height: 1.2;
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 0.32rem;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: transparent;
  border-radius: 0.5rem;
}

.mobile-menu-toggle span {
  width: 1.25rem;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  display: block;
  margin: 0 auto;
}

.primary-nav {
  background: #faf8f6;
  border-bottom: 1px solid #ece8e4;
  overflow: hidden;
}

.nav-row {
  display: flex;
}

.nav-links {
  display: flex;
  align-items: stretch;
  gap: 0.15rem;
  width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
}

.nav-links::-webkit-scrollbar {
  display: none;
}

.nav-link {
  position: relative;
  padding: 0.95rem 0 0.8rem;
  margin-right: 1.75rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: #2b2b2b;
  white-space: nowrap;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: transparent;
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--primary-red);
}

.nav-link.is-active {
  color: var(--primary-red);
  font-weight: 600;
}

.nav-link.is-active::after {
  background: var(--primary-red);
}

.secondary-nav {
  background: var(--white);
  border-bottom: 1px solid #eeeae6;
}

.secondary-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1.45rem;
  padding: 0.7rem 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.secondary-row::-webkit-scrollbar {
  display: none;
}

.secondary-link {
  position: relative;
  color: #333;
  font-size: 0.9rem;
  font-weight: 400;
  padding: 0.2rem 0;
  white-space: nowrap;
}

.secondary-link:hover,
.secondary-link:focus-visible {
  color: var(--primary-red);
}

.hero-section {
  background: #efeae4;
  padding: 2.35rem 0 3.4rem;
}

.hero-inner {
  display: grid;
  grid-template-columns: 300px minmax(0, 1.15fr) minmax(220px, 0.7fr);
  align-items: center;
  gap: 2.4rem 2.8rem;
}

.sign-on-card {
  background: var(--white);
  border: 0;
  border-radius: 1rem;
  box-shadow: 0 8px 28px rgba(40, 30, 20, 0.1);
  padding: 1.35rem 1.4rem 1.15rem;
}

.card-header {
  margin-bottom: 1rem;
}

.card-kicker {
  margin: 0;
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.card-subtitle {
  margin: 0.2rem 0 0;
  color: #6b6b6b;
  font-size: 0.88rem;
}

.demo-form {
  display: flex;
  flex-direction: column;
  gap: 1.05rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-field label {
  font-size: 0.88rem;
  font-weight: 500;
  color: #333;
}

.label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#username,
#password,
#searchInput {
  width: 100%;
  min-height: 2.15rem;
  border: 0;
  border-bottom: 1px solid #cfc9c4;
  border-radius: 0;
  background: transparent;
  padding: 0.35rem 0;
  font-size: 1rem;
  color: var(--dark-text);
}

#username:focus,
#password:focus,
#searchInput:focus {
  outline: none;
  border-bottom-color: #333;
  box-shadow: none;
}

.search-panel:focus-within {
  outline: none;
}

.toggle-password {
  border: 0;
  background: transparent;
  color: #7a3488;
  font-weight: 600;
  font-size: 0.88rem;
  padding: 0;
}

.save-username {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.9rem;
  color: #333;
}

.save-username input {
  width: 1.05rem;
  height: 1.05rem;
  accent-color: var(--primary-red);
}

.button-row {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  margin-top: 0.15rem;
}

.form-error {
  margin: 0.15rem 0 0;
  color: #c62828;
  font-size: 0.85rem;
  font-weight: 600;
}

.form-error[hidden] {
  display: none;
}

.enroll-link {
  border: 0;
  background: transparent;
  padding: 0;
  color: #222;
  font-size: 0.95rem;
  font-weight: 500;
}

.primary-button,
.secondary-button,
.cta-button,
.outline-button {
  border: none;
  border-radius: 999px;
  min-height: 2.55rem;
  padding: 0.55rem 1.35rem;
  font-size: 0.95rem;
  font-weight: 700;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast), color var(--transition-fast);
}

.primary-button {
  background: #c62828;
  color: var(--white);
}

.cta-button {
  background: var(--white);
  color: #1a1a1a;
  border: 1px solid #d4d0cc;
  box-shadow: none;
  margin-top: clamp(1.1rem, 2.5vw, 1.6rem);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  max-width: 100%;
  min-width: 0;
  min-height: 0;
  padding: clamp(0.55rem, 1.5vw, 0.75rem) clamp(1.05rem, 2.4vw, 1.5rem);
  font-size: clamp(0.86rem, 1.35vw, 1.02rem);
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}

.secondary-button,
.outline-button {
  background: var(--white);
  color: var(--dark-text);
  border: 1px solid rgba(23, 23, 23, 0.12);
}

.primary-button:hover,
.primary-button:focus-visible,
.secondary-button:hover,
.secondary-button:focus-visible,
.outline-button:hover,
.outline-button:focus-visible,
.feature-link:hover,
.feature-link:focus-visible,
.inline-link:hover,
.inline-link:focus-visible,
.legal-nav a:hover,
.legal-nav a:focus-visible,
.footer-disclosures a:hover,
.footer-disclosures a:focus-visible {
  transform: translateY(-1px);
}

.card-links {
  margin-top: 1.15rem;
  padding-top: 0.95rem;
  border-top: 1px solid #ece8e4;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.inline-link {
  font-size: 0.84rem;
  color: #333;
  text-decoration: none;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 0;
}

.eyebrow,
.section-label {
  margin: 0 0 0.7rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--primary-red);
}

.hero-copy h1,
.section-head h2 {
  margin: 0;
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--dark-text);
}

.hero-copy h1 {
  font-size: clamp(2.5rem, 3.2vw, 3.55rem);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.03em;
  max-width: 10.15em;
  color: #1c1c1c;
}

.hero-copy p {
  margin: 1.05rem 0 0;
  max-width: 28rem;
  font-size: 1.08rem;
  line-height: 1.4;
  color: #2a2a2a;
}

.promo-art {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 0;
}

.promo-badge {
  position: relative;
  width: auto;
  min-height: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: none;
  padding: 0.4rem 0.2rem;
}

.promo-label,
.promo-value {
  display: block;
  text-align: center;
  color: #7a3488;
}

.promo-label {
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

.promo-value {
  font-size: clamp(3.4rem, 4vw, 4.6rem);
  font-weight: 500;
  line-height: 0.95;
  margin-top: 0.15rem;
}

.promo-line {
  display: block;
  width: 7.2rem;
  height: 3px;
  background: #7a3488;
  border-radius: 0;
}

.promo-line-top {
  margin-bottom: 0.85rem;
}

.promo-line-bottom {
  margin-top: 0.85rem;
}

#searchInput {
  min-height: 2.9rem;
  border: 1px solid var(--card-border);
  border-radius: 0.85rem;
  background: var(--white);
  padding: 0.75rem 0.9rem;
}

.feature-section {
  background: #fff;
  padding: 1.35rem 0 2.4rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.15rem;
}

.feature-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  border: 1px solid #ece9e6;
  border-radius: 1.15rem;
  background:
    linear-gradient(165deg, #fffaf6 0%, #fff8f3 42%, #fff6f1 100%);
  padding: 1.35rem 1.3rem 1.2rem;
  box-shadow: 0 8px 22px rgba(80, 62, 50, 0.06);
}

.feature-card:hover,
.feature-card:focus-within {
  box-shadow: 0 10px 26px rgba(80, 62, 50, 0.1);
}

.feature-icon {
  width: 2.7rem;
  height: 2.7rem;
  margin: 0.1rem 0 1.05rem;
  color: transparent;
}

.feature-icon svg {
  width: 100%;
  height: 100%;
  display: block;
  stroke: url(#txnIconGrad);
}

.feature-card h3 {
  margin: 0;
  font-size: 1.28rem;
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: -0.02em;
  color: #2b2b2b;
}

.feature-card p {
  margin: 0.55rem 0 0;
  color: #6a6a6a;
  font-size: 0.92rem;
  line-height: 1.42;
  font-weight: 400;
}

.feature-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: auto;
  padding-top: 1.35rem;
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--promo-link);
}

.feature-link span {
  font-weight: 600;
  font-size: 0.95rem;
  transform: translateY(1px);
}

.feature-card--rates {
  background: #fff;
  justify-content: space-between;
  padding-top: 1.2rem;
}

.feature-card--rates h3 {
  max-width: 7.6rem;
  font-size: 1.18rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.25;
}

.rates-card-body {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.4rem;
  min-height: 6.4rem;
}

.feature-rates-art {
  position: relative;
  width: 7.4rem;
  height: 5.6rem;
  flex: 0 0 auto;
  margin-top: 0.15rem;
}

.rates-badge {
  position: absolute;
  left: 0.15rem;
  top: 0.7rem;
  width: 3.05rem;
  height: 3.05rem;
  border-radius: 50%;
  background: linear-gradient(180deg, #e06b4a 0%, #d2553a 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  font-weight: 700;
  z-index: 2;
  box-shadow: 0 6px 12px rgba(210, 85, 58, 0.22);
}

.rates-arc {
  position: absolute;
  left: 0.02rem;
  top: 0.52rem;
  width: 3.35rem;
  height: 3.35rem;
  border-radius: 50%;
  border: 2px dashed rgba(232, 176, 74, 0.95);
  border-left-color: transparent;
  border-bottom-color: transparent;
  transform: rotate(-18deg);
  z-index: 1;
}

.rates-bar {
  position: absolute;
  right: 0;
  height: 0.62rem;
  border-radius: 2px;
  background: linear-gradient(90deg, #f0c35a 0%, #e8b347 100%);
}

.rates-bar--1 {
  top: 1.15rem;
  width: 3.55rem;
}

.rates-bar--2 {
  top: 2.05rem;
  width: 2.85rem;
}

.rates-bar--3 {
  top: 2.95rem;
  width: 2.15rem;
}

.rates-spark {
  position: absolute;
  background: #e8b347;
  z-index: 3;
}

.rates-spark::before {
  content: "";
  position: absolute;
  inset: 0;
  background: inherit;
  transform: rotate(90deg);
}

.rates-spark--tl {
  width: 0.55rem;
  height: 0.12rem;
  left: 0.05rem;
  top: 0.55rem;
}

.rates-spark--tr {
  width: 0.42rem;
  height: 0.1rem;
  right: 1.15rem;
  top: 0.35rem;
}

.feature-card--rates .feature-link {
  padding-top: 0.35rem;
}

.feature-caret {
  width: 0;
  height: 0;
  border-left: 4.5px solid transparent;
  border-right: 4.5px solid transparent;
  border-top: 5.5px solid currentColor;
  transform: none;
}

.choice-banner {
  background: #fff;
  padding: 0.35rem 0 1.4rem;
}

.choice-banner-frame {
  position: relative;
  overflow: hidden;
}

.choice-banner-frame img {
  width: 100%;
  height: auto;
  display: block;
}

.choice-learn-more {
  position: absolute;
  left: 8.1%;
  top: 37.4%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  min-width: 9.25rem;
  min-height: 2.55rem;
  padding: 0.55rem 1.7rem;
  border: 1px solid #cfcfcf;
  border-radius: 999px;
  background: #fff;
  color: #1a1a1a;
  font-size: clamp(0.84rem, 1.2vw, 1.02rem);
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
  box-shadow: 0 0 0 10px rgba(186, 210, 224, 0.92);
}

.choice-learn-more:hover,
.choice-learn-more:focus-visible {
  background: #fff;
  color: #1a1a1a;
}

.choice-learn-more:focus-visible {
  outline: 2px solid #171717;
  outline-offset: 3px;
}

.guidance-section {
  background: #fff;
  padding: 2.6rem 0 2.4rem;
}

.section-head {
  margin-bottom: 1.85rem;
  text-align: center;
}

.section-accent {
  display: block;
  width: 2.35rem;
  height: 3px;
  margin: 0 auto 1.15rem;
  background: #e0b13a;
  border-radius: 2px;
}

.section-head h2 {
  font-size: clamp(1.85rem, 1.4vw + 1.2rem, 2.35rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

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

.guidance-card {
  display: flex;
  flex-direction: column;
  border: 1px solid #e6e3e0;
  border-radius: 0.95rem;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(40, 32, 24, 0.05);
}

.guidance-photo {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #d7d3ce;
}

.guidance-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.guidance-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.15rem 1.2rem 1.25rem;
}

.guidance-card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.28rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #222;
}

.guidance-card p {
  margin: 0 0 1.15rem;
  color: #5f5f5f;
  font-size: 0.98rem;
  line-height: 1.4;
}

.pill-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  width: fit-content;
  min-height: 2.55rem;
  padding: 0.4rem 1.2rem;
  border: 1px solid #c8c8c8;
  border-radius: 999px;
  background: #fff;
  color: #2a2a2a;
  font-size: 0.95rem;
  font-weight: 600;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.pill-button:hover,
.pill-button:focus-visible {
  border-color: #8f8f8f;
  box-shadow: 0 0 0 3px rgba(23, 23, 23, 0.06);
}

.fargo-banner {
  background: #fff;
  padding: 0.4rem 0 1.6rem;
}

.fargo-banner-frame {
  position: relative;
  overflow: hidden;
}

.fargo-banner-frame img {
  width: 100%;
  height: auto;
  display: block;
}

.fargo-store {
  position: absolute;
  top: 58.5%;
  height: 11.5%;
  min-height: 2.4rem;
  border-radius: 0.45rem;
  color: transparent;
  font-size: 0;
}

.fargo-store--apple {
  left: 41.6%;
  width: 13.2%;
}

.fargo-store--google {
  left: 55.4%;
  width: 13.6%;
}

.fargo-store:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.community-section {
  background: #fff;
  padding: 2.8rem 0 3.4rem;
}

.community-head {
  margin-bottom: 2.1rem;
  text-align: center;
}

.help-row {
  text-align: left;
}

.section-intro {
  max-width: 46rem;
  margin: 0.95rem auto 0;
  color: #4a4a4a;
  font-size: 1.02rem;
  line-height: 1.5;
  font-weight: 400;
  letter-spacing: 0;
}

.community-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.35rem;
}

.help-row {
  margin-top: 2.1rem;
}

.help-row h3 {
  margin: 0 0 1.05rem;
  font-size: 1.22rem;
  font-weight: 700;
  color: #222;
}

.help-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.4rem 2.6rem;
}

.help-link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--promo-link);
  font-size: 0.98rem;
  font-weight: 700;
}

.help-icon {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 50%;
  background: #6f6f6f;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.help-icon svg {
  width: 1.15rem;
  height: 1.15rem;
  display: block;
}

.help-caret {
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  margin-left: 0.1rem;
}

.account-dashboard {
  background: linear-gradient(180deg, #f7f6f4 0%, #f0eeeb 100%);
  padding: 2.2rem 0 3.4rem;
}

.account-dashboard[hidden] {
  display: none !important;
}

body.is-viewing-accounts .hero-section,
body.is-viewing-accounts .feature-section,
body.is-viewing-accounts .choice-banner,
body.is-viewing-accounts .guidance-section,
body.is-viewing-accounts .fargo-banner,
body.is-viewing-accounts .community-section {
  display: none;
}

body.is-signed-on .demo-form,
body.is-signed-on .card-links,
body.is-signed-on #signOnError {
  display: none;
}

.signed-in-panel {
  display: none;
  flex-direction: column;
  gap: 0.85rem;
}

body.is-signed-on .signed-in-panel {
  display: flex;
}

.signed-in-panel p {
  margin: 0;
  color: #555;
  font-size: 0.95rem;
  line-height: 1.45;
}

.signed-in-user-label {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: #111;
}

.signed-in-panel .primary-button {
  width: fit-content;
}

.dashboard-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.dashboard-kicker {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #d32f2f;
}

.dashboard-head h1 {
  margin: 0.3rem 0 0.35rem;
  font-size: clamp(1.85rem, 2.4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  color: #000;
}

.dashboard-user {
  margin: 0;
  color: #6b7280;
  font-size: 0.98rem;
}

.sign-off-button {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border: 1px solid #d7dbe3;
  background: #fff;
  color: #1f2937;
  border-radius: 0.75rem;
  padding: 0.55rem 0.95rem;
  font-size: 0.92rem;
  font-weight: 650;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.sign-off-button svg {
  width: 1rem;
  height: 1rem;
}

.sign-off-button:hover,
.sign-off-button:focus-visible {
  border-color: #b8bfcb;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}

.balance-card {
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e8e4df;
  border-radius: 1rem;
  box-shadow: 0 10px 28px rgba(40, 30, 20, 0.07);
  margin-bottom: 1.35rem;
  min-height: 10.5rem;
}

.balance-card::before {
  display: none;
}

.balance-card-media {
  position: absolute;
  top: 0;
  right: 0;
  width: min(46%, 420px);
  height: 100%;
  background:
    linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, 0.92) 18%, rgba(255, 255, 255, 0.55) 42%, rgba(255, 255, 255, 0.18) 70%, transparent 100%),
    url("images/balance-building.jpg") center right / cover no-repeat;
  opacity: 0.5;
  pointer-events: none;
}

.balance-card-content {
  position: relative;
  z-index: 1;
  padding: 1.45rem 1.55rem 1.35rem;
}

.balance-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.1rem;
}

.balance-identity {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
}

.balance-icon {
  width: 2.85rem;
  height: 2.85rem;
  border-radius: 0.8rem;
  background: linear-gradient(145deg, #ef3b42 0%, #c62828 100%);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  box-shadow: 0 8px 16px rgba(198, 40, 40, 0.25);
}

.balance-icon svg {
  width: 1.3rem;
  height: 1.3rem;
}

.balance-label {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: #000;
}

.balance-account {
  margin: 0.25rem 0 0;
  color: #666;
  font-size: 0.9rem;
}

.balance-amount-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.balance-amount {
  margin: 0;
  font-size: clamp(1.7rem, 2.5vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #000;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}

.balance-visibility {
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid #ddd;
  border-radius: 999px;
  background: #fff;
  color: #555;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  flex: 0 0 auto;
}

.balance-visibility:hover,
.balance-visibility:focus-visible {
  border-color: #bbb;
  color: #111;
}

.balance-visibility svg {
  width: 1.1rem;
  height: 1.1rem;
  display: block;
}

.balance-visibility.is-hidden .eye-open {
  display: none;
}

.balance-visibility.is-hidden .eye-closed {
  display: block;
}

.balance-visibility:not(.is-hidden) .eye-closed {
  display: none;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.15rem;
}

.txn-card {
  background: #fff;
  border: 1px solid #e8e4df;
  border-radius: 1rem;
  padding: 1.15rem 1.2rem 1.15rem;
  box-shadow: 0 8px 22px rgba(40, 30, 20, 0.05);
  border-top: 4px solid #c8c8c8;
}

.txn-card--pending {
  border-top-color: #b7791f;
}

.txn-card--in {
  border-top-color: #2e7d32;
}

.txn-card--out {
  border-top-color: #c62828;
}

.txn-type {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #666;
}

.txn-card--pending .txn-type {
  color: #b7791f;
}

.txn-card--in .txn-type {
  color: #2e7d32;
}

.txn-card--out .txn-type {
  color: #c62828;
}

.txn-card h2 {
  margin: 0.4rem 0 0.45rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: #000;
}

.txn-amount {
  margin: 0 0 1rem;
  font-size: 1.4rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: #000;
}

.txn-card--pending .txn-amount {
  color: #b7791f;
}

.txn-card--in .txn-amount {
  color: #2e7d32;
}

.txn-card--out .txn-amount {
  color: #c62828;
}

.account-meta {
  margin: 0;
  display: grid;
  gap: 0;
}

.account-meta div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
  border-top: 1px solid #eee;
  padding: 0.6rem 0 0.55rem;
}

.account-meta dt {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.82rem;
  color: #6a6a6a;
  font-weight: 500;
}

.meta-icon {
  width: 1rem;
  height: 1rem;
  color: #8a8a8a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.meta-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.account-meta dd {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: #111;
  text-align: right;
}

.meta-status {
  color: #b7791f !important;
}

.site-footer {
  background: #f4f1ee;
  color: #1a1a1a;
  padding: 1.6rem 0 2.4rem;
  border-top: 1px solid #e6e2de;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.15rem;
}

.legal-nav {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.legal-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.legal-row a {
  color: #1a1a1a;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.35;
  padding: 0 0.7rem;
  border-right: 1px solid #1a1a1a;
}

.legal-row a:first-child {
  padding-left: 0;
}

.legal-row a:last-child {
  border-right: 0;
  padding-right: 0;
}

.social-row {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.social-link {
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 50%;
  background: #111;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.social-link svg {
  width: 1.05rem;
  height: 1.05rem;
  display: block;
}

.investment-box {
  border: 1px solid #222;
  padding: 0.7rem 0.95rem 0.75rem;
  max-width: 46rem;
  background: #f4f1ee;
}

.investment-box p {
  margin: 0 0 0.35rem;
  font-size: 0.86rem;
  font-weight: 700;
}

.investment-box ul {
  margin: 0;
  padding-left: 1.15rem;
}

.investment-box li {
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1.45;
}

.footer-disclosures {
  max-width: 62rem;
}

.footer-disclosures p {
  margin: 0 0 0.95rem;
  font-size: 0.78rem;
  line-height: 1.45;
  color: #2a2a2a;
  font-weight: 400;
}

.footer-disclosures a {
  color: var(--promo-link);
  font-weight: 700;
  text-decoration: underline;
}

.equal-housing {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0.15rem 0 0.55rem;
  font-size: 0.82rem;
  font-weight: 800;
}

.housing-icon {
  width: 1.25rem;
  height: 1.25rem;
  color: #111;
}

.housing-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.footer-ref,
.footer-copy {
  margin: 0 0 0.2rem !important;
  font-size: 0.78rem;
  line-height: 1.45;
  color: #2a2a2a;
}

.footer-copy {
  margin-top: 0.55rem !important;
}

.search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(23, 23, 23, 0.38);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 5.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-normal), visibility var(--transition-normal);
  z-index: 50;
}

.search-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.search-panel {
  width: min(92vw, 900px);
  background: var(--white);
  border-radius: 1.2rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(23, 23, 23, 0.08);
  transform: translateY(-16px);
  transition: transform var(--transition-normal);
  padding: 1.2rem 1.2rem 1.4rem;
}

.search-overlay.is-open .search-panel {
  transform: translateY(0);
}

.search-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.search-head h2 {
  margin: 0;
  font-size: clamp(1.6rem, 0.7vw + 1rem, 2.2rem);
}

.close-search {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: 1px solid rgba(23, 23, 23, 0.12);
  background: transparent;
  color: var(--dark-text);
  font-size: 1.3rem;
}

.search-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.8rem;
}

.search-form input {
  border-radius: 0.85rem;
}

.search-button {
  padding-left: 1.8rem;
  padding-right: 1.8rem;
}

.toast {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  background: rgba(23, 23, 23, 0.96);
  color: var(--white);
  border-radius: 0.9rem;
  padding: 0.95rem 1rem 0.95rem 1.1rem;
  box-shadow: var(--shadow-soft);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  min-width: min(90vw, 390px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity var(--transition-normal), visibility var(--transition-normal), transform var(--transition-normal);
  z-index: 60;
}

.toast.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.toast p {
  margin: 0;
  flex: 1;
  font-size: 0.96rem;
}

.toast-close {
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.3rem;
  width: 2rem;
  height: 2rem;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@media (max-width: 1200px) {
  .dashboard-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1100px) {
  .hero-inner {
    grid-template-columns: 1fr 1.2fr;
  }

  .promo-art {
    grid-column: 1 / -1;
    order: 3;
  }

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

  .balance-card-media {
    width: min(42%, 340px);
    opacity: 0.42;
  }
}

@media (max-width: 860px) {
  .mobile-menu-toggle {
    display: flex;
  }

  .utility-nav {
    display: none;
  }

  .primary-nav {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: #faf8f6;
    transform: translateY(-14px);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-normal), visibility var(--transition-normal), transform var(--transition-normal);
    box-shadow: 0 20px 30px rgba(23, 23, 23, 0.08);
    z-index: 40;
  }

  .primary-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-row {
    padding: 0.5rem 0 1rem;
  }

  .nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: 0.2rem;
    overflow: visible;
  }

  .nav-link {
    padding: 0.85rem 1rem;
    border-radius: 0.8rem;
  }

  .nav-link::after {
    display: none;
  }

  .nav-link.is-active {
    background: rgba(189, 48, 43, 0.08);
  }

  .secondary-nav {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .secondary-row {
    width: max-content;
    min-width: 100%;
    gap: 1.1rem;
    padding: 0.75rem 0;
  }

  .hero-section {
    padding: 1.6rem 0 2.4rem;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 1.6rem;
  }

  .sign-on-card {
    max-width: 100%;
  }

  .dashboard-head {
    flex-direction: column;
    align-items: stretch;
  }

  .sign-off-button {
    width: fit-content;
    align-self: flex-start;
  }

  .balance-card-media {
    display: none;
  }

  .balance-card-content {
    padding: 1.25rem 1.2rem 1.2rem 1.4rem;
  }

  .balance-card-top {
    flex-wrap: wrap;
  }

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

  .guidance-grid,
  .community-grid {
    grid-template-columns: 1fr;
  }

  .help-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

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

  .fargo-store--apple {
    left: 40%;
    width: 16%;
  }

  .fargo-store--google {
    left: 57%;
    width: 17%;
  }

  .investment-box {
    max-width: 100%;
  }
}

@media (max-width: 620px) {
  :root {
    --container-width: min(94vw, 1360px);
  }

  .header-inner {
    min-height: 58px;
    gap: 12px;
  }

  .brand {
    font-size: 1.4rem;
  }

  .account-dashboard {
    padding: 1.5rem 0 2.6rem;
  }

  .dashboard-head h1 {
    font-size: clamp(1.7rem, 7vw, 2.1rem);
  }

  .balance-identity {
    gap: 0.7rem;
  }

  .balance-icon {
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 0.6rem;
  }

  .balance-amount {
    font-size: clamp(1.45rem, 6.5vw, 1.85rem);
  }

  .hero-copy h1 {
    max-width: none;
    font-size: clamp(2rem, 8vw, 2.7rem);
  }

  .promo-badge {
    width: auto;
    min-height: 0;
  }

  .section-head h2 {
    font-size: clamp(1.55rem, 6vw, 2rem);
  }

  .guidance-body,
  .feature-card {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .legal-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
  }

  .legal-row a {
    border-right: 0;
    padding: 0.1rem 0;
    width: auto;
    font-size: 0.82rem;
  }

  .search-overlay {
    padding-top: 4rem;
  }

  .search-form {
    grid-template-columns: 1fr;
  }

  .toast {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    min-width: 0;
  }

  .rates-card-body {
    min-height: 5.2rem;
  }
}

@media (max-width: 420px) {
  .sign-on-card {
    padding: 1.1rem;
  }

  .primary-button,
  .secondary-button,
  .outline-button,
  .sign-off-button {
    width: 100%;
    justify-content: center;
  }

  .cta-button {
    width: auto;
    max-width: 100%;
  }

  .button-stack {
    width: 100%;
  }

  .balance-chip {
    order: 3;
    width: 100%;
    justify-content: center;
  }

  .txn-amount {
    font-size: 1.22rem;
  }

  .account-meta div {
    flex-wrap: wrap;
  }

  .account-meta dd {
    width: 100%;
    text-align: left;
    padding-left: 1.35rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
