/* ============================================================
   Beforehand — site styles
   ============================================================ */

:root {
  --navy: #12263f;
  --navy-mid: #1c4b73;
  --slate: #5a6b80;
  --tint: #f7fafc;
  --blue-tint: #e6eef5;
  --band: #d8e6ef;
  --hairline: #e2eaf1;
  --hairline-blue: #cfdde8;
  --container: 1240px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: 'Figtree', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  color: var(--navy);
  background: #fff;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 40px;
}

/* ---------- Header ---------- */

.site-header {
  background: #fff;
  border-bottom: 1px solid var(--hairline);
  position: sticky;
  top: 0;
  z-index: 20;
}

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

.wordmark {
  font-size: 25px;
  font-weight: 700;
  letter-spacing: -0.025em;
  text-decoration: none;
  color: var(--navy);
}

.btn-outline {
  display: inline-block;
  padding: 13px 24px;
  border: 1px solid var(--hairline-blue);
  border-radius: 9px;
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  transition: background-color .15s ease, border-color .15s ease;
}

.btn-outline:hover {
  background: var(--tint);
  border-color: #b7c9d8;
}

/* ---------- Faint blueprint texture ---------- */

.blueprint {
  position: relative;
  overflow: hidden;
}

.blueprint::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .5;
  background-image:
    linear-gradient(to right, rgba(18, 38, 63, .05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(18, 38, 63, .05) 1px, transparent 1px),
    linear-gradient(to right, rgba(18, 38, 63, .035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(18, 38, 63, .035) 1px, transparent 1px);
  background-size: 260px 260px, 260px 260px, 65px 65px, 65px 65px;
}

.blueprint > * { position: relative; z-index: 1; }

/* ---------- Hero ---------- */

.hero {
  background: linear-gradient(180deg, #e9f0f6 0%, #e4edf4 60%, #eef4f8 100%);
  padding: 92px 0 100px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.85fr;
  gap: 72px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 26px;
  font-size: 15px;
  font-weight: 700;
  color: var(--navy-mid);
}

.hero h1 {
  margin: 0 0 34px;
  font-size: clamp(2.6rem, 5.4vw, 4.35rem);
  line-height: 1.03;
  letter-spacing: -0.032em;
  font-weight: 700;
  max-width: 13ch;
}

.lede {
  margin: 0;
  font-size: 19.5px;
  color: var(--slate);
  max-width: 46ch;
}

.hero-media img {
  width: 100%;
  aspect-ratio: 4 / 3.35;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 18px 44px rgba(18, 38, 63, .13);
}

/* ---------- Generic sections ---------- */

.section { padding: 104px 0 112px; }

.section-tint { background: var(--tint); }

.section-blue {
  background: linear-gradient(180deg, #e7eff5 0%, #e9f0f6 100%);
}

.section-navy {
  background: var(--navy);
  color: #fff;
}

.section-title {
  margin: 0 0 44px;
  font-size: clamp(2.1rem, 3.6vw, 3.1rem);
  line-height: 1.08;
  letter-spacing: -0.028em;
  font-weight: 700;
}

.section-title--light { color: #fff; margin-bottom: 0; }

.body-text {
  margin: 0 0 26px;
  font-size: 17.5px;
  color: var(--slate);
  max-width: 62ch;
}

.body-text:last-child { margin-bottom: 0; }

.body-text--light { color: rgba(255, 255, 255, .84); }

.about-text { max-width: 74ch; }

/* ---------- Feature cards ---------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.card {
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: 14px;
  padding: 42px 38px 46px;
}

.card-icon {
  width: 27px;
  height: 27px;
  color: var(--navy);
  margin-bottom: 34px;
}

.card h3 {
  margin: 0 0 22px;
  font-size: 29px;
  line-height: 1.14;
  letter-spacing: -0.02em;
  font-weight: 700;
}

.card p {
  margin: 0;
  font-size: 16px;
  color: var(--slate);
}

/* ---------- Two-column splits ---------- */

.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.split-grid--cities { align-items: start; }

.statement-card {
  background: var(--navy);
  color: #fff;
  border-radius: 14px;
  padding: 46px 50px;
  font-size: 26px;
  line-height: 1.34;
  letter-spacing: -0.018em;
  font-weight: 700;
  box-shadow: 0 18px 40px rgba(18, 38, 63, .14);
}

.section-navy .split-grid { align-items: start; }

/* ---------- City table ---------- */

.city-table {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--hairline-blue);
  margin-top: 6px;
}

.city {
  padding: 24px 30px;
  font-size: 15.5px;
  font-weight: 700;
  border-bottom: 1px solid var(--hairline-blue);
}

.city:nth-child(odd) { border-right: 1px solid var(--hairline-blue); }

/* ---------- Band + footer ---------- */

.band { height: 78px; background: var(--band); }

.site-footer { padding: 52px 0 80px; background: #fff; }

.footer-wordmark {
  margin: 0 0 22px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 34px;
  margin-bottom: 28px;
}

.footer-nav a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 700;
  color: var(--navy-mid);
  text-decoration: none;
}

.footer-nav a:hover { text-decoration: underline; text-underline-offset: 4px; }

.footer-nav svg { width: 18px; height: 18px; }

.footer-note {
  margin: 0 0 18px;
  max-width: 66ch;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--slate);
}

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 1020px) {
  .hero-grid,
  .split-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero h1 { max-width: none; }

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

  .section { padding: 76px 0 84px; }

  .hero { padding: 68px 0 76px; }
}

@media (max-width: 640px) {
  .container { padding: 0 22px; }

  body { font-size: 16px; }

  .header-inner { min-height: 66px; }

  .btn-outline { padding: 11px 16px; font-size: 14px; }

  .statement-card { padding: 34px 30px; font-size: 22px; }

  .city { padding: 20px 18px; }

  .card { padding: 32px 28px 36px; }

  .footer-nav { gap: 18px 24px; }

  .band { height: 56px; }
}
