:root {
  --bg: #ffffff;
  --text: #0f172a;
  --muted: #64748b;
  --line: #e7edf6;
  --nav-bg: #f2f7ff;
  --nav-link: #0b2d6b;
  --nav-link-hover: #0a3aa8;
  --footer-bg: #3a3a3a;
  --footer-line: rgba(255, 255, 255, 0.12);
  --footer-text: rgba(255, 255, 255, 0.82);
  --footer-dim: rgba(255, 255, 255, 0.65);
  --white: #fff;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, "Noto Sans", "Helvetica Neue", sans-serif;
  color: var(--text);
  background: var(--bg);
}

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

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

.site-header {
  border-bottom: 1px solid var(--line);
}

.header-top {
  background: var(--white);
}

.header-top__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}

.brand__logo {
  display: block;
  width: 80px;
  height: auto;
}

.fdic {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
}

.fdiclogo {
  width: 373px;
  height: auto;
  flex: 0 0 auto;
}

.fdic__text {
  line-height: 1.3;
  min-width: 0;
  font-size: 15px;
  color: #1f2937;
}

.fdic__headline {
  font-size: 15px;
  color: #1f2937;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fdic__sub {
  margin-top: 4px;
  font-size: 14px;
  color: #6b7280;
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 28px;
  color: #0f172a;
}

.tool {
  display: grid;
  justify-items: center;
  gap: 6px;
  font-size: 10px;
  letter-spacing: 0.3px;
  color: #111827;
}

.tool__icon {
  color: #111827;
  opacity: 0.9;
}

.tool__label {
  white-space: nowrap;
  opacity: 0.85;
}

.header-nav {
  background: var(--nav-bg);
  border-top: 1px solid var(--line);
}

.header-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 0;
  margin: 0;
  list-style: none;
  min-width: 0;
}

.nav-link {
  font-size: 15px;
  color: var(--nav-link);
  font-weight: 600;
}

.nav-link:hover {
  color: var(--nav-link-hover);
}

.nav-link--cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.nav-link__arrow {
  display: inline-flex;
  transform: translateY(1px);
}

.help {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--nav-link);
  font-weight: 600;
  white-space: nowrap;
}

.help__icon {
  color: var(--nav-link);
}

.help:hover {
  color: var(--nav-link-hover);
}

.page {
  padding: 40px 0 70px;
}

.hero {
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.hero__content {
  flex: 1;
  min-width: 0;
}

.hero__content .hero__chat-text {
  display: block;
  margin-top: 12px;
}

.hero h1 {
  margin: 0 0 10px;
  padding-left: 1px;
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--nav-link);
}

.hero p {
  margin: 0;
  max-width: 70ch;
  font-size: 16px;
  color: var(--nav-link);
  line-height: 1.6;
  font-weight: 400;
}

.hero__chat-text {
  font-size: 16px;
  font-weight: 400;
  color: var(--nav-link);
  line-height: 1.6;
}

.hero__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 18px 24px;
  min-height: 56px;
  flex-shrink: 0;
  background: var(--nav-link);
  color: var(--white);
  font-weight: 600;
  font-size: 15px;
  border-radius: 8px;
  text-decoration: none;
  white-space: nowrap;
}

.hero__btn:hover {
  background: var(--nav-link-hover);
}

.site-footer {
  background: var(--footer-bg);
  color: var(--footer-text);
}

.footer-top {
  padding: 28px 0 26px;
}

.footer-top__inner {
  position: relative;
}

.footer-cols {
  display: grid;
  grid-template-columns: 1.35fr 1.35fr 1.15fr 1.05fr 1.1fr;
  gap: 28px;
  padding-top: 8px;
}

.footer-col__title {
  color: var(--white);
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 14px;
}

.footer-link {
  display: block;
  font-size: 12px;
  color: var(--footer-text);
  padding: 7px 0;
}

.footer-link:hover {
  color: var(--white);
}

.footer-badges {
  position: absolute;
  top: 8px;
  right: 0;
  color: var(--white);
  opacity: 0.9;
}

.ehl {
  display: grid;
  justify-items: center;
  gap: 6px;
  text-align: center;
  font-size: 9px;
  letter-spacing: 0.35px;
  opacity: 0.9;
}

.ehl__text {
  line-height: 1.15;
}

.footer-mid {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-top: 18px;
}

.store-buttons {
  display: flex;
  gap: 16px;
}

.store-btn {
  display: grid;
  gap: 2px;
  padding: 10px 14px;
  min-width: 160px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(0, 0, 0, 0.26);
  color: var(--white);
}

.store-btn__badge {
  font-size: 10px;
  opacity: 0.85;
}

.store-btn__title {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.store-btn:hover {
  border-color: rgba(255, 255, 255, 0.5);
}

.social {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--white);
  opacity: 0.95;
}

.social__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.12);
}

.social__link:hover {
  border-color: rgba(255, 255, 255, 0.42);
}

.footer-rule {
  border: 0;
  height: 1px;
  background: var(--footer-line);
  margin: 20px 0 14px;
}

.footer-rule--thin {
  margin: 14px 0;
}

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 22px;
  align-items: center;
  font-size: 12px;
  color: var(--footer-dim);
}

.copyright {
  color: var(--footer-text);
  font-weight: 600;
}

.legal-link {
  color: var(--footer-dim);
}

.legal-link:hover {
  color: var(--white);
}

.footer-disclosures {
  margin-top: 10px;
  padding-bottom: 18px;
}

.footer-disclosures__title {
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 8px;
}

.footer-disclosures__text {
  margin: 0 0 10px;
  font-size: 11px;
  line-height: 1.6;
  color: var(--footer-dim);
  max-width: 120ch;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-top: 12px;
}

.footer-bottom__logo {
  width: 52px;
  height: auto;
  opacity: 0.92;
  filter: brightness(0) invert(1);
}

.chat-fab {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: none;
  background: var(--nav-link);
  color: var(--white);
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(11, 45, 107, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 900;
}

.chat-fab:hover {
  background: var(--nav-link-hover);
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
}

.modal-overlay--open {
  display: flex;
}

.modal {
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.2);
  max-width: 420px;
  width: 100%;
  overflow: hidden;
}

.modal__header {
  background: var(--nav-link);
  color: var(--white);
  padding: 20px 48px 20px 20px;
  position: relative;
}

.modal__title {
  margin: 0 0 4px;
  font-size: 20px;
  font-weight: 700;
}

.modal__subtitle {
  margin: 0;
  font-size: 13px;
  opacity: 0.92;
}

.modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border: none;
  background: transparent;
  color: var(--white);
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
}

.modal__close:hover {
  background: rgba(255, 255, 255, 0.15);
}

.modal__body {
  padding: 24px 20px;
  text-align: center;
}

.modal__icon {
  color: var(--nav-link);
  margin-bottom: 12px;
}

.modal__app-title {
  margin: 0 0 10px;
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
}

.modal__instruction {
  margin: 0 0 20px;
  font-size: 14px;
  line-height: 1.5;
  color: #64748b;
}

.modal__btn {
  display: inline-block;
  padding: 12px 24px;
  background: var(--nav-link);
  color: var(--white);
  font-weight: 600;
  font-size: 15px;
  border-radius: 8px;
  text-decoration: none;
}

.modal__btn:hover {
  background: var(--nav-link-hover);
}

@media (max-width: 980px) {
  .fdic__headline {
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
  }

  .header-nav__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    flex-wrap: wrap;
    gap: 14px 22px;
  }

  .footer-cols {
    grid-template-columns: 1fr 1fr;
  }

  .footer-badges {
    position: static;
    margin: 18px 0 0;
    display: flex;
    justify-content: flex-end;
  }

  .footer-mid {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 560px) {
  .header-top__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .header-tools {
    gap: 18px;
  }

  .store-buttons {
    flex-direction: column;
    width: 100%;
  }

  .store-btn {
    width: 100%;
    max-width: 340px;
  }

  .footer-cols {
    grid-template-columns: 1fr;
  }
}
