/* Open checking account — landing (scoped) */
.checking-page {
  background: var(--color-page);
}

.checking-page main {
  padding-bottom: clamp(2.35rem, 4vw, 3.15rem);
}

.checking-page main section[id] {
  scroll-margin-top: calc(var(--fdic-h) + var(--header-h) + 3.75rem);
}

.checking-breadcrumb {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1rem 1.5rem 0;
  font-size: 0.9375rem;
}

.checking-breadcrumb a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
}

.checking-breadcrumb a:hover {
  color: var(--color-white);
  text-decoration: underline;
}

.checking-breadcrumb span[aria-current="page"] {
  color: rgba(255, 255, 255, 0.65);
}

.checking-hero {
  background: linear-gradient(
    135deg,
    var(--color-navy-900) 0%,
    var(--color-navy-800) 48%,
    #1e3a5c 100%
  );
  color: var(--color-white);
  padding: 0 0 clamp(2.35rem, 4vw, 3.15rem);
}

.checking-hero__inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1.5rem 1.5rem 0;
  display: grid;
  grid-template-columns: 1fr min(38%, 420px);
  gap: 2.5rem 3rem;
  align-items: center;
}

.checking-hero__title {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(1.85rem, 4vw, 2.65rem);
  line-height: 1.2;
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}

.checking-hero__lede {
  margin: 0 0 1.75rem;
  font-size: 1.125rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88);
  max-width: 36rem;
}

.checking-hero__lede em {
  font-style: italic;
  color: var(--color-gold);
}

.checking-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  align-items: center;
}

.checking-hero__actions .btn {
  border-radius: 999px;
  padding: 0.5rem 2.5rem;
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.checking-hero__actions .btn span {
  display: inline-block;
  transition: transform 0.3s ease;
}

.checking-hero__actions .btn::after {
  content: "→";
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translate(60px, -50%);
  font-size: 1.25rem;
  font-weight: 600;
  opacity: 0;
  transition: all 0.3s ease;
}

.checking-hero__actions .btn:hover span {
  transform: translateX(-0.65rem);
}

.checking-hero__actions .btn:hover {
  background: var(--color-accent);
}

.checking-hero__actions .btn:hover::after {
  transform: translate(0, -50%);
  opacity: 1;
}

.checking-hero__visual {
  position: relative;
  justify-self: center;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Frame matches hero image intrinsic ratio (mobileapp-and-card.png 1536×1024) */
.checking-hero__circle {
  width: min(100%, 560px);
  aspect-ratio: 1536 / 1024;
  border-radius: clamp(14px, 2.4vw, 22px);
  background: rgba(255, 255, 255, 0.06);
  border: 6px solid rgba(255, 255, 255, 0.22);
  box-shadow:
    0 32px 72px rgba(0, 0, 0, 0.35),
    0 12px 24px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  margin: 0 auto;
  padding: 0;
  display: block;
  position: relative;
  overflow: hidden;
}

.checking-hero__circle::before {
  content: "";
  position: absolute;
  inset: -18px;
  border-radius: inherit;
  background: radial-gradient(
    ellipse 85% 70% at 35% 25%,
    rgba(255, 215, 100, 0.14) 0%,
    transparent 58%
  );
  pointer-events: none;
  z-index: -1;
}

.checking-hero__circle img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
  border-radius: 0;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.2));
}

.checking-hero__eyebrow {
  margin: 0 0 0.65rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.checking-hero__highlights {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  max-width: 36rem;
  display: grid;
  gap: 0.45rem;
  font-size: 0.9375rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.9);
}

.checking-hero__highlights li {
  position: relative;
  padding-left: 1.35rem;
}

.checking-hero__highlights li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-gold);
  box-shadow: 0 0 0 2px rgba(184, 146, 42, 0.35);
}

.checking-hero__note {
  margin: 1.25rem 0 0;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.72);
}

.checking-hero__note a {
  color: var(--color-white);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.checking-hero__note a:hover {
  color: var(--color-gold);
}

.checking-hero__note-sep {
  margin: 0 0.35rem;
  color: rgba(255, 255, 255, 0.45);
}

.checking-hero .checking-hero__actions-secondary {
  background: transparent;
  color: var(--color-white);
  border: 2px solid rgba(255, 255, 255, 0.55);
  box-shadow: none;
}

.checking-hero .checking-hero__actions-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--color-white);
  color: var(--color-white);
}

.checking-trust-strip {
  background: var(--color-navy-950);
  color: var(--color-white);
  padding: clamp(1.35rem, 3vw, 1.85rem) 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.checking-trust-strip__inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.35rem 2rem;
  align-items: start;
}

.checking-trust-strip__item {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}

.checking-trust-strip__icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.92;
}

.checking-trust-strip__title {
  margin: 0 0 0.2rem;
  font-weight: 600;
  font-size: 0.9375rem;
  line-height: 1.25;
}

.checking-trust-strip__text {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.68);
}

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

.checking-section__intro {
  max-width: 44rem;
  margin: -1.5rem auto clamp(1.75rem, 3vw, 2.5rem);
  text-align: center;
  font-size: 1rem;
  line-height: 1.58;
  color: var(--color-slate-600);
}

.checking-card__icon.checking-card__icon--img {
  display: flex;
  width: 100%;
  justify-content: center;
  align-items: center;
}

.checking-card__icon--img img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.checking-card__icon--sm img {
  width: 44px;
  height: 44px;
}

.checking-icon-cell__icon--img {
  display: flex;
  align-items: center;
}

.checking-icon-cell__icon--img img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.checking-compare-wrap {
  overflow-x: auto;
  margin: 0 auto;
  max-width: 56rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(45, 66, 96, 0.12);
  background: var(--color-white);
  box-shadow: 0 12px 40px rgba(36, 54, 82, 0.06);
}

.checking-compare {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: 0.9375rem;
  line-height: 1.5;
}

.checking-compare thead th {
  background: var(--color-navy-900);
  color: var(--color-white);
  font-family: var(--font-serif);
  font-weight: 600;
  text-align: left;
  padding: 1rem 1.15rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.checking-compare thead th:first-child {
  width: 22%;
  background: #243652;
}

.checking-compare tbody th[scope="row"] {
  text-align: left;
  font-weight: 600;
  color: var(--color-navy-900);
  background: var(--color-cream);
  padding: 0.95rem 1.15rem;
  border-bottom: 1px solid rgba(45, 66, 96, 0.1);
  white-space: nowrap;
}

.checking-compare td {
  padding: 0.95rem 1.15rem;
  border-bottom: 1px solid rgba(45, 66, 96, 0.08);
  color: var(--color-slate-600);
  vertical-align: top;
}

.checking-compare tbody tr:last-child th,
.checking-compare tbody tr:last-child td {
  border-bottom: none;
}

.checking-compare-footnote {
  max-width: 44rem;
  margin: 1.25rem auto 0;
  text-align: center;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--color-slate-600);
}

.checking-photo-band {
  background: var(--color-white);
  border-top: 1px solid rgba(45, 66, 96, 0.08);
  border-bottom: 1px solid rgba(45, 66, 96, 0.08);
}

.checking-photo-band__grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0;
  align-items: stretch;
  min-height: min(420px, 50vw);
}

.checking-photo-band__media {
  min-height: 280px;
  position: relative;
  overflow: hidden;
}

.checking-photo-band__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.checking-photo-band__content {
  padding: clamp(2rem, 4vw, 3.25rem) clamp(1.5rem, 4vw, 3.5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(
    135deg,
    var(--color-cream) 0%,
    var(--color-white) 55%
  );
}

.checking-photo-band__title {
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-weight: 600;
  margin: 0 0 1rem;
  color: var(--color-navy-900);
  line-height: 1.22;
  letter-spacing: -0.02em;
}

.checking-photo-band__lede {
  margin: 0 0 1.25rem;
  font-size: 1rem;
  line-height: 1.58;
  color: var(--color-slate-600);
}

.checking-photo-band__list {
  margin: 0 0 1.5rem;
  padding-left: 1.2rem;
  color: var(--color-slate-600);
  font-size: 0.9375rem;
  line-height: 1.55;
}

.checking-photo-band__list li {
  margin-bottom: 0.45rem;
}

.checking-photo-band__cta {
  margin: 0;
}

.checking-split--rates {
  align-items: stretch;
}

.checking-rate-card {
  background: var(--color-white);
  border: 1px solid rgba(45, 66, 96, 0.12);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.5rem;
  box-shadow: 0 12px 36px rgba(36, 54, 82, 0.08);
  border-top: 4px solid var(--color-accent);
}

.checking-rate-card__label {
  margin: 0 0 0.35rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-slate-400);
}

.checking-rate-card__product {
  margin: 0 0 0.5rem;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.125rem;
  color: var(--color-navy-900);
}

.checking-rate-card__apy {
  margin: 0 0 1rem;
  line-height: 1.1;
}

.checking-rate-card__apy-range {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  color: var(--color-accent);
  letter-spacing: -0.02em;
}

.checking-rate-card__apy-suffix {
  display: inline-block;
  margin-left: 0.35rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-navy-800);
  vertical-align: middle;
}

.checking-rate-card__detail {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--color-slate-600);
}

.checking-digital__badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.25rem;
  margin: 0 0 1.35rem;
  padding: 0.85rem 1rem;
  background: rgba(42, 111, 168, 0.06);
  border-radius: var(--radius-md);
  border: 1px solid rgba(42, 111, 168, 0.12);
}

.checking-digital__badge-img {
  height: 36px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
}

.checking-subnav-wrap {
  position: sticky;
  top: calc(var(--fdic-h) + var(--header-h));
  z-index: 120;
  background: var(--color-white);
  border-bottom: 1px solid rgba(45, 66, 96, 0.12);
  box-shadow: 0 4px 20px rgba(36, 54, 82, 0.06);
}

.checking-subnav {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  min-height: 3.5rem;
}

.checking-subnav__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 1.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.checking-subnav__links a {
  display: inline-block;
  padding: 0.85rem 0 0.65rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-navy-800);
  text-decoration: none;
  border-bottom: 3px solid transparent;
  margin-bottom: -1px;
}

.checking-subnav__links a:hover {
  color: var(--color-accent);
}

.checking-subnav__links a.is-active {
  color: var(--color-navy-900);
  border-bottom-color: var(--color-accent);
}

.checking-subnav__cta .btn {
  border-radius: 999px;
  padding: 0.5rem 2rem;
  font-weight: 600;
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.checking-subnav__cta .btn span {
  display: inline-block;
  transition: transform 0.3s ease;
}

.checking-subnav__cta .btn::after {
  content: "→";
  position: absolute;
  right: 0.85rem;
  top: 50%;
  transform: translate(60px, -50%);
  font-size: 1.25rem;
  font-weight: 600;
  opacity: 0;
  transition: all 0.3s ease;
}

.checking-subnav__cta .btn:hover span {
  transform: translateX(-0.5rem);
}

.checking-subnav__cta .btn:hover {
  background: var(--color-accent);
}

.checking-subnav__cta .btn:hover::after {
  transform: translate(0, -50%);
  opacity: 1;
}

/* Section vertical rhythm matches index `.section` + `.container` */

.checking-section__title {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 2.5vw, 1.85rem);
  font-weight: 600;
  text-align: center;
  color: var(--color-navy-900);
  margin: 0 0 clamp(1.75rem, 3vw, 2.75rem);
  letter-spacing: -0.02em;
}

.checking-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.checking-cards--stack {
  grid-template-columns: 1fr;
}

.checking-rates__copy {
  max-width: 36rem;
}

.checking-rates__cta {
  margin: 1rem 0 0;
}

.checking-card--flat {
  box-shadow: none;
}

.checking-card {
  background: var(--color-white);
  border: 1px solid rgba(45, 66, 96, 0.12);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.5rem;
  box-shadow: 0 8px 28px rgba(36, 54, 82, 0.05);
}

.checking-card__icon {
  width: 56px;
  height: 56px;
  margin-bottom: 1.1rem;
  color: var(--color-accent);
}

.checking-card__icon svg {
  width: 100%;
  height: 100%;
}

.checking-card__title {
  font-family: var(--font-serif);
  font-size: 1.0625rem;
  font-weight: 600;
  margin: 0 0 0.65rem;
  color: var(--color-navy-900);
  line-height: 1.3;
}

.checking-card__icon--img + .checking-card__title {
  text-align: center;
}

.checking-card__text {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--color-slate-600);
  line-height: 1.55;
}

.checking-icon-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem 1.75rem;
}

.checking-icon-cell__icon {
  width: 40px;
  height: 40px;
  margin-bottom: 0.85rem;
  color: var(--color-navy-900);
}

.checking-icon-cell__icon svg {
  width: 100%;
  height: 100%;
  stroke-width: 1.5;
}

.checking-icon-cell__title {
  font-weight: 600;
  font-size: 1rem;
  margin: 0 0 0.5rem;
  color: var(--color-navy-900);
}

.checking-icon-cell__text {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--color-slate-600);
  line-height: 1.55;
}

.checking-icon-cell__text a {
  color: var(--color-accent);
  font-weight: 600;
  text-decoration: none;
}

.checking-icon-cell__text a:hover {
  text-decoration: underline;
}

.checking-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem 3.5rem;
  align-items: start;
}

.checking-split--devices {
  grid-template-columns: minmax(0, 1.12fr) minmax(260px, 0.88fr);
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}

.checking-split--devices .checking-split__title {
  font-size: clamp(1.5rem, 2.65vw, 2rem);
  line-height: 1.22;
  max-width: 36rem;
}

.checking-split__copy {
  min-width: 0;
}

.checking-split__title {
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 2.2vw, 1.65rem);
  font-weight: 600;
  margin: 0 0 1rem;
  color: var(--color-navy-900);
  line-height: 1.25;
}

.checking-split__title em {
  font-style: italic;
  font-weight: 600;
  color: var(--color-accent);
}

.checking-split__lede {
  margin: 0 0 1.5rem;
  color: var(--color-slate-600);
  font-size: 1rem;
}

.checking-checklist {
  list-style: none;
  margin: 0;
  padding: 0;
}

.checking-checklist li {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  margin-bottom: 1rem;
  font-size: 0.9375rem;
  color: var(--color-slate-600);
  line-height: 1.5;
}

.checking-checklist li a {
  color: var(--color-accent);
  font-weight: 600;
  text-decoration: none;
}

.checking-checklist li a:hover {
  text-decoration: underline;
}

.checking-checklist__mark {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(42, 111, 168, 0.12);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.1rem;
}

.checking-checklist__mark svg {
  width: 14px;
  height: 14px;
}

.checking-split__mock {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding: 0.35rem 0 0.75rem;
  margin: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 0;
}

.checking-split__mock-figure {
  margin: 0;
  width: 100%;
  max-width: min(100%, 540px);
  display: flex;
  justify-content: center;
  align-items: center;
}

.checking-split__mock-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-md);
}

.checking-digital.section--alt {
  background: linear-gradient(
    180deg,
    var(--color-white) 0%,
    var(--color-cream) 100%
  );
}

.checking-fab {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1rem;
  background: var(--color-white);
  color: var(--color-navy-900);
  border: 1px solid rgba(45, 66, 96, 0.15);
  border-radius: 999px;
  font-size: 0.9375rem;
  font-weight: 600;
  box-shadow: 0 12px 32px rgba(36, 54, 82, 0.12);
  text-decoration: none;
  cursor: pointer;
}

.checking-fab:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.checking-fab svg {
  width: 22px;
  height: 22px;
  color: var(--color-accent);
}

/* Get started modal (Open now) */
.checking-modal {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  box-sizing: border-box;
}

.checking-modal[hidden] {
  display: none;
}

.checking-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(36, 54, 82, 0.5);
  cursor: pointer;
}

.checking-modal__panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 32rem;
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow:
    0 28px 80px rgba(36, 54, 82, 0.22),
    0 8px 24px rgba(36, 54, 82, 0.12);
  border: 1px solid rgba(45, 66, 96, 0.1);
  outline: none;
  overflow: hidden;
}

.checking-modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: #8b95a3;
  color: var(--color-white);
  cursor: pointer;
  transition: background 0.15s ease;
}

.checking-modal__close:hover {
  background: #6b7280;
}

.checking-modal__close:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.checking-modal__inner {
  padding: 2.65rem 2.25rem 1.75rem;
}

.checking-modal__title {
  margin: 0 0 1.35rem;
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 2.5vw, 1.6rem);
  font-weight: 600;
  text-align: center;
  color: var(--color-navy-900);
  line-height: 1.25;
}

.checking-modal__body {
  margin: 0 0 1.75rem;
}

.checking-modal__body p {
  margin: 0 0 1rem;
  font-size: 0.9375rem;
  line-height: 1.58;
  color: var(--color-slate-600);
  text-align: left;
}

.checking-modal__body p:last-child {
  margin-bottom: 0;
}

.checking-modal__primary-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 0.25rem;
}

.checking-modal__primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 2.75rem;
  border-radius: 999px;
  font-size: 1.0625rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--color-white);
  background: linear-gradient(135deg, var(--color-accent) 0%, #2869a3 100%);
  border: none;
  transition: all 0.3s ease;
  box-shadow:
    0 4px 14px rgba(42, 111, 168, 0.3),
    0 2px 6px rgba(42, 111, 168, 0.15);
  position: relative;
  overflow: hidden;
}

.checking-modal__primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.2) 0%,
    rgba(255, 255, 255, 0) 100%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

.checking-modal__primary::after {
  content: "→";
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translate(60px, -50%);
  font-size: 1.35rem;
  font-weight: 600;
  opacity: 0;
  transition: all 0.3s ease;
}

.checking-modal__primary:hover {
  color: var(--color-white);
  padding-right: 3.25rem;
}

.checking-modal__primary:hover::before {
  opacity: 1;
}

.checking-modal__primary:hover::after {
  color: var(--color-white);
  transform: translate(0, -50%);
  opacity: 1;
}

.checking-modal__primary:active {
  opacity: 0.9;
}

.checking-modal__primary:focus-visible {
  outline: 3px solid rgba(42, 111, 168, 0.5);
  outline-offset: 3px;
}

.checking-modal__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.25rem;
  padding: 1.2rem 2.25rem;
  background: #f8f9fa;
  border-top: 1px solid rgba(45, 66, 96, 0.08);
}

.checking-modal__footer-text {
  margin: 0;
  flex: 1 1 12rem;
  font-size: 0.9375rem;
  line-height: 1.45;
  color: var(--color-navy-800);
}

.checking-modal__secondary {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.35rem;
  border-radius: 999px;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  color: #007398;
  background: var(--color-white);
  border: 2px solid #007398;
  transition:
    background 0.15s ease,
    color 0.15s ease;
}

.checking-modal__secondary:hover {
  background: rgba(0, 115, 152, 0.06);
  color: #005f7a;
}

.checking-modal__secondary:focus-visible {
  outline: 2px solid #007398;
  outline-offset: 2px;
}

@media (max-width: 960px) {
  .checking-hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .checking-hero__lede {
    margin-left: auto;
    margin-right: auto;
  }

  .checking-hero__highlights {
    margin-left: auto;
    margin-right: auto;
    text-align: left;
    max-width: 22rem;
  }

  .checking-hero__note {
    text-align: center;
  }

  .checking-hero__actions {
    justify-content: center;
  }

  .checking-trust-strip__inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .checking-photo-band__grid {
    grid-template-columns: 1fr;
  }

  .checking-photo-band__media {
    min-height: 220px;
    max-height: 320px;
  }

  .checking-photo-band__content {
    padding: 2rem 1.5rem 2.5rem;
  }

  .checking-hero__circle {
    width: min(100%, 440px);
  }

  .checking-hero__circle::before {
    inset: -14px;
  }

  .checking-awards__inner {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .checking-cards,
  .checking-icon-grid {
    grid-template-columns: 1fr;
  }

  .checking-split {
    grid-template-columns: 1fr;
  }

  .checking-split--devices {
    gap: 2rem;
  }

  .checking-split__mock-figure {
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
  }

  .checking-subnav__links {
    width: 100%;
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .checking-trust-strip__inner {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .checking-hero__circle {
    width: min(100%, 340px);
    border-width: 4px;
    border-radius: clamp(10px, 3vw, 16px);
  }

  .checking-hero__circle::before {
    inset: -10px;
  }
}

@media (max-width: 560px) {
  .checking-modal {
    padding: 0.75rem;
  }

  .checking-modal__panel {
    max-height: min(92vh, 100%);
    overflow-y: auto;
  }

  .checking-modal__inner {
    padding: 2.35rem 1.35rem 1.5rem;
  }

  .checking-modal__footer {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    padding: 1.15rem 1.35rem;
  }

  .checking-modal__footer-text {
    text-align: center;
  }

  .checking-modal__secondary {
    justify-content: center;
  }
}

/* Circular hero frame (checking & savings landings — app/card imagery) */
.checking-hero__circle.checking-hero__circle--round {
  width: min(100%, 420px);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  padding: 0;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 32% 28%,
      rgba(255, 224, 150, 0.22) 0%,
      transparent 52%
    ),
    linear-gradient(
      165deg,
      rgba(255, 255, 255, 0.16) 0%,
      rgba(255, 255, 255, 0.05) 45%,
      rgba(0, 0, 0, 0.14) 100%
    );
  border: 2px solid var(--color-slate-400);
  box-shadow:
    0 32px 72px rgba(0, 0, 0, 0.4),
    0 14px 28px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    inset 0 -2px 12px rgba(0, 0, 0, 0.12);
}

.checking-hero__circle.checking-hero__circle--round::before {
  border-radius: 50%;
  inset: 0;
  background: radial-gradient(
    circle at 30% 24%,
    rgba(255, 255, 255, 0.1) 0%,
    transparent 55%
  );
}

.checking-hero__circle.checking-hero__circle--round img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center 42%;
  border-radius: 50%;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.35));
}

/* Landscape mockup (phone + card): center the focal area in the circle */
.checking-page:not(.savings-page)
  .checking-hero__circle.checking-hero__circle--round
  img {
  object-position: center;
}

@media (max-width: 991px) {
  .checking-hero__circle.checking-hero__circle--round {
    width: min(100%, 380px);
  }
}

@media (max-width: 640px) {
  .checking-hero__circle.checking-hero__circle--round {
    width: min(100%, 300px);
    border-radius: 50%;
    border-width: 4px;
  }
}
