/* ── Landing page — matches FDIC client app shell (#003256 / #f2f4f7) ── */

html {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;
}

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

.landing-page {
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  background: #f2f4f7;
  color: #1a1a2e;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

/* Header — same family as .top-header */
.landing-header {
  background: #003256;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  flex-shrink: 0;
  padding: 14px 20px;
  padding-left: max(20px, env(safe-area-inset-left));
  padding-right: max(20px, env(safe-area-inset-right));
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0, 50, 86, 0.18);
}

.landing-header-logo img {
  height: 38px;
  width: auto;
  display: block;
}

.landing-header-signin {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.15s ease;
}

.landing-header-signin:hover {
  background: rgba(255, 255, 255, 0.22);
}

.landing-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.landing-header-link {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}

.landing-header-link:hover,
.landing-header-link.is-active {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

/* Partner ticker — blends with page, no white strip */
.landing-ticker {
  width: 100%;
  max-width: 100%;
  flex-shrink: 0;
  background: #f2f4f7;
  overflow: hidden;
  padding: 10px 0 12px;
}

.landing-ticker-track {
  display: flex;
  align-items: center;
  gap: 48px;
  width: max-content;
  animation: landing-ticker-scroll 40s linear infinite;
}

.landing-ticker-logo {
  flex-shrink: 0;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.landing-ticker-logo img {
  height: 100%;
  width: auto;
  max-width: 110px;
  object-fit: contain;
  mix-blend-mode: multiply;
  opacity: 0.88;
}

@keyframes landing-ticker-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Main */
.landing-main {
  flex: 1;
  width: 100%;
  max-width: 1080px;
  min-width: 0;
  margin: 0 auto;
  padding: 28px 20px 40px;
}

.landing-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  align-items: stretch;
  width: 100%;
}

@media (min-width: 900px) {
  .landing-hero {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 28px;
    padding-top: 12px;
  }
}

.landing-hero-copy {
  width: 100%;
  min-width: 0;
  background: #fff;
  border-radius: 18px;
  padding: 28px 24px 30px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 50, 86, 0.06);
}

.landing-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #eef4fa;
  color: #003256;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.landing-badge svg {
  width: 15px;
  height: 15px;
  color: #16a34a;
}

.landing-title {
  margin: 0 0 14px;
  font-size: clamp(1.75rem, 4.5vw, 2.35rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #1a1a2e;
}

.landing-title span {
  color: #003256;
}

.landing-lead {
  margin: 0 0 20px;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: #64748b;
  max-width: 54ch;
  overflow-wrap: anywhere;
}

.landing-checklist {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.landing-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.875rem;
  color: #334155;
  font-weight: 500;
  line-height: 1.45;
}

.landing-checklist svg {
  width: 17px;
  height: 17px;
  color: #16a34a;
  flex-shrink: 0;
  margin-top: 1px;
}

.landing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.landing-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 20px;
  border-radius: 12px;
  font-size: 0.9375rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.15s ease, box-shadow 0.15s ease;
}

.landing-btn svg {
  width: 18px;
  height: 18px;
}

.landing-btn--primary {
  background: #003256;
  color: #fff;
  box-shadow: 0 4px 14px rgba(0, 50, 86, 0.22);
}

.landing-btn--primary:hover {
  background: #00406e;
}

.landing-btn--ghost {
  background: #fff;
  color: #003256;
  border: 2px solid #003256;
}

.landing-btn--ghost:hover {
  background: #f8fbff;
}

.landing-btn--text {
  border: none;
  background: transparent;
  color: #003256;
  box-shadow: none;
  padding-left: 12px;
  padding-right: 12px;
}

.landing-btn--text:hover {
  background: #eef4fa;
}

/* Hero panel — profile-banner style */
.landing-panel {
  position: relative;
  width: 100%;
  min-width: 0;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(135deg, #002a49 0%, #003256 48%, #005a9c 100%);
  box-shadow: 0 10px 32px rgba(0, 50, 86, 0.24);
  min-height: 280px;
}

.landing-panel-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 85% 15%, rgba(255, 255, 255, 0.14) 0%, transparent 42%),
    radial-gradient(circle at 10% 90%, rgba(94, 179, 255, 0.18) 0%, transparent 45%);
  pointer-events: none;
}

.landing-panel-inner {
  position: relative;
  padding: 28px 24px;
  color: #fff;
}

.landing-panel-label {
  margin: 0 0 6px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
}

.landing-panel-title {
  margin: 0 0 10px;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.landing-panel-text {
  margin: 0 0 22px;
  font-size: 0.875rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88);
  max-width: 36ch;
}

.landing-panel-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.landing-panel-stat {
  padding: 12px 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  text-align: center;
}

.landing-panel-stat-value {
  display: block;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.2;
}

.landing-panel-stat-label {
  display: block;
  margin-top: 4px;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
}

.landing-footer {
  width: 100%;
  flex-shrink: 0;
  padding: 18px 20px 24px;
  padding-bottom: max(24px, env(safe-area-inset-bottom));
  text-align: center;
  font-size: 0.75rem;
  color: #94a3b8;
  line-height: 1.5;
}

.landing-footer-link {
  display: block;
  margin-top: 8px;
  color: #003256;
  font-weight: 600;
  text-decoration: none;
}

.landing-footer-link:hover {
  text-decoration: underline;
}

/* About FDIC — public page (landing shell) */
.landing-about {
  max-width: 720px;
}

.landing-about-hero {
  text-align: center;
  margin-bottom: 20px;
}

.landing-about-shield {
  width: 64px;
  height: 64px;
  margin: 0 auto 14px;
  border-radius: 18px;
  background: linear-gradient(135deg, #003256 0%, #005a9c 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 50, 86, 0.22);
}

.landing-about-shield svg {
  width: 34px;
  height: 34px;
}

.landing-about-title {
  margin: 0 0 10px;
  font-size: clamp(1.5rem, 4vw, 1.85rem);
  font-weight: 800;
  color: #003256;
  letter-spacing: -0.02em;
}

.landing-about-lead {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: #64748b;
  max-width: 58ch;
  margin-inline: auto;
}

.landing-about-card {
  background: #fff;
  border-radius: 16px;
  padding: 20px 18px;
  margin-bottom: 14px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 50, 86, 0.06);
}

.landing-about-card h2 {
  margin: 0 0 10px;
  font-size: 1rem;
  font-weight: 700;
  color: #1a1a2e;
}

.landing-about-card p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.65;
  color: #475569;
}

.landing-about-list {
  margin: 0;
  padding-left: 1.15rem;
  font-size: 0.875rem;
  line-height: 1.65;
  color: #475569;
}

.landing-about-list li + li {
  margin-top: 8px;
}

.landing-about-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

@media (max-width: 768px) {
  .landing-header {
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .landing-header-logo img {
    height: 34px;
  }

  .landing-main {
    padding: 16px 14px 28px;
  }

  .landing-hero-copy {
    padding: 22px 18px 24px;
    border-radius: 16px;
  }

  .landing-panel {
    border-radius: 16px;
    min-height: 240px;
  }

  .landing-panel-inner {
    padding: 22px 18px;
  }

  .landing-panel-title {
    font-size: 1.35rem;
  }

  .landing-panel-text {
    max-width: none;
  }

  .landing-lead {
    max-width: none;
  }

  .landing-actions {
    flex-direction: column;
  }

  .landing-btn {
    width: 100%;
  }

  .landing-btn--text {
    width: 100%;
  }

  .landing-header-link {
    padding: 8px 10px;
    font-size: 0.75rem;
  }

  .landing-about-actions {
    flex-direction: column;
  }

  .landing-about-actions .landing-btn {
    width: 100%;
  }

  .landing-panel-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .landing-panel-stat {
    padding: 10px 6px;
  }

  .landing-panel-stat-value {
    font-size: 0.95rem;
  }

  .landing-panel-stat-label {
    font-size: 0.58rem;
  }
}

@media (max-width: 520px) {
  .landing-panel-stats {
    grid-template-columns: 1fr;
  }

  .landing-ticker-logo {
    height: 30px;
  }

  .landing-ticker-logo img {
    max-width: 96px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .landing-ticker-track {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    gap: 20px;
  }
}
