/* ==========================================================================
   Halyard Bank — Marketing / landing page
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245,242,236,0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--fog-dark);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}
.site-nav a {
  text-decoration: none;
  color: var(--ink);
  font-size: var(--step--1);
  font-weight: 600;
}
.site-nav a:hover { color: var(--navy); }
.header-actions { display: flex; gap: 12px; align-items: center; }

.hero {
  position: relative;
  background: var(--navy);
  color: var(--white);
  overflow: hidden;
  padding: 100px 0 140px;
}
.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.hero h1 {
  font-size: var(--step-4);
  color: var(--white);
  max-width: 11ch;
}
.hero .lede {
  font-size: var(--step-1);
  color: rgba(255,255,255,0.75);
  max-width: 42ch;
  margin-bottom: 32px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Signature element: the course line — a charted route, like a bearing
   plotted on a nautical map, that runs across the hero and reappears
   as a progress motif elsewhere in the product. */
.course-chart {
  position: relative;
}
.course-chart svg { width: 100%; height: auto; display: block; }

.hero-bg-line {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.5;
}

.trust-strip {
  border-top: 1px solid rgba(255,255,255,0.12);
  margin-top: 60px;
  padding-top: 28px;
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: var(--step--1);
  color: rgba(255,255,255,0.55);
}

.section {
  padding: 96px 0;
}
.section-head {
  max-width: 640px;
  margin-bottom: 56px;
}
.section-head h2 {
  font-size: var(--step-3);
  margin-top: 10px;
}
.section-head .lede {
  color: var(--text-muted);
  font-size: var(--step-0);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--fog-dark);
  border: 1px solid var(--fog-dark);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.feature {
  background: var(--paper);
  padding: 32px 28px;
}
.feature .f-num {
  font-family: var(--font-mono);
  color: var(--brass);
  font-size: var(--step--1);
  font-weight: 700;
  margin-bottom: 18px;
  display: block;
}
.feature h3 { font-size: var(--step-1); margin-bottom: 8px; }
.feature p { color: var(--text-muted); margin: 0; font-size: var(--step--1); }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.split-visual {
  background: var(--white);
  border: 1px solid var(--fog-dark);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-raised);
  padding: 8px;
}
.split-visual img, .split-visual svg { width: 100%; display: block; border-radius: 10px; }

.rate-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border: 1px solid var(--fog-dark);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.rate-table th, .rate-table td {
  padding: 18px 24px;
  text-align: left;
  border-bottom: 1px solid var(--fog);
}
.rate-table th { font-size: var(--step--1); color: var(--text-muted); font-weight: 600; }
.rate-table tr:last-child td { border-bottom: none; }
.rate-table .r-rate { font-family: var(--font-mono); font-weight: 700; color: var(--navy); font-size: var(--step-1); }

.cta-band {
  background: var(--ink);
  color: var(--white);
  padding: 90px 0;
  text-align: center;
}
.cta-band h2 { color: var(--white); font-size: var(--step-3); }
.cta-band p { color: rgba(255,255,255,0.7); max-width: 50ch; margin: 0 auto 32px; }

.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,0.6);
  padding: 64px 0 32px;
  font-size: var(--step--1);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 48px;
}
.footer-grid h4 {
  color: var(--white);
  font-size: var(--step--1);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-grid a { text-decoration: none; color: rgba(255,255,255,0.6); }
.footer-grid a:hover { color: var(--white); }
.footer-brand { color: var(--white); font-family: var(--font-display); font-size: var(--step-1); margin-bottom: 12px; display: flex; align-items: center; gap: 10px; }
.footer-legal {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-disclosure {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  max-width: 70ch;
  margin-top: 16px;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .site-nav { display: none; }
}
