:root {
  --paper: #fbf7ef;
  --panel: #fffdf8;
  --ink: #1f2730;
  --muted: #64707d;
  --line: #e5dccf;
  --blue: #236a8c;
  --blue-dark: #174b66;
  --coral: #cf6f58;
  --olive: #59725f;
  --gold: #d4a84f;
  --shadow: 0 18px 42px rgba(31, 39, 48, 0.12);
  --radius: 8px;
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

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

a {
  color: var(--blue-dark);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.2em;
}

a:hover {
  color: #0f364a;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 20;
  background: var(--ink);
  color: #fff;
  padding: 10px 14px;
  border-radius: 6px;
}

.skip-link:focus {
  top: 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(251, 247, 239, 0.94);
  border-bottom: 1px solid rgba(229, 220, 207, 0.85);
  backdrop-filter: blur(16px);
}

.nav-wrap,
.wrap {
  width: calc(100% - 40px);
  max-width: var(--max);
  margin-inline: auto;
}

.nav-wrap {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--ink);
  text-decoration: none;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--blue-dark);
  font-size: 0.9rem;
  letter-spacing: 0;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 0.94rem;
}

.main-nav a {
  color: var(--ink);
  text-decoration: none;
}

.menu-toggle {
  display: none;
  min-width: 58px;
  height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 8px;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 800;
}

.hero {
  position: relative;
  min-height: 720px;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #192d35;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(18, 34, 41, 0.86), rgba(18, 34, 41, 0.46) 48%, rgba(18, 34, 41, 0.24)),
    linear-gradient(0deg, rgba(18, 34, 41, 0.72), transparent 45%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: calc(100% - 40px);
  max-width: 1080px;
  margin: 0 auto;
  padding: 112px 0 58px;
  color: #fff;
}

.eyebrow {
  margin: 0 0 12px;
  color: #ffe2a6;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
  font-size: 0.78rem;
}

h1,
h2,
h3 {
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(2.45rem, 8vw, 5.8rem);
}

h2 {
  margin: 0 0 16px;
  font-size: clamp(1.8rem, 4vw, 3rem);
}

h3 {
  margin: 0 0 10px;
  font-size: 1.25rem;
}

.hero-lede {
  max-width: 690px;
  margin: 22px 0 0;
  font-size: clamp(1.05rem, 2.3vw, 1.28rem);
  color: #f6f0e7;
  overflow-wrap: break-word;
}

.hero-actions,
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 800;
  text-decoration: none;
}

.btn-primary {
  background: var(--coral);
  color: #fff;
}

.btn-primary:hover {
  color: #fff;
  background: #b85845;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.42);
  color: #fff;
}

.btn-light {
  background: var(--panel);
  border-color: var(--line);
  color: var(--ink);
}

.btn-android {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  color: #fff;
}

.btn-android:hover {
  background: #10384d;
  color: #fff;
}

.hero-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 54px;
  background: rgba(255, 255, 255, 0.24);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius);
  overflow: hidden;
}

.hero-stat {
  padding: 18px;
  background: rgba(18, 34, 41, 0.68);
}

.hero-stat strong {
  display: block;
  color: #fff;
  font-size: 1.3rem;
}

.hero-stat span {
  display: block;
  margin-top: 3px;
  color: #efe6d9;
  font-size: 0.9rem;
  overflow-wrap: break-word;
}

.section {
  padding: 76px 0;
}

.section.alt {
  background: #f3eadc;
}

.grid-2 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.82fr);
  gap: 42px;
  align-items: center;
}

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

.card,
.note,
.table-wrap,
.article-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 1px 0 rgba(31, 39, 48, 0.04);
}

.card,
.article-card {
  padding: 22px;
}

.article-card {
  display: block;
  color: var(--ink);
  text-decoration: none;
}

.article-card:hover {
  color: var(--ink);
  border-color: #c7b9a6;
  transform: translateY(-2px);
}

.article-card p {
  color: var(--muted);
}

.note {
  padding: 24px;
}

.note strong {
  color: var(--blue-dark);
}

.media-card {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: var(--panel);
}

.media-card img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.kicker {
  color: var(--coral);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.76rem;
  letter-spacing: 0;
}

.lead {
  max-width: 760px;
  margin: 0 0 26px;
  color: var(--muted);
  font-size: 1.08rem;
}

.check-list {
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}

.check-list li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  margin: 12px 0;
}

.check-list li::before {
  content: "";
  width: 18px;
  height: 18px;
  margin-top: 4px;
  border-radius: 50%;
  background: var(--olive);
}

.neighborhoods {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 20px 0 0;
  list-style: none;
}

.neighborhoods li {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: #41505b;
  font-weight: 700;
  font-size: 0.9rem;
}

.route-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 24px;
}

.route-card {
  display: block;
  padding: 18px;
  border-radius: var(--radius);
  background: #173c4e;
  color: #eef7f8;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease;
}

.route-card:hover {
  color: #eef7f8;
  background: #123344;
  transform: translateY(-2px);
}

.route-card span {
  display: block;
  margin-bottom: 8px;
  color: #ffd98b;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.route-card strong {
  display: block;
  line-height: 1.25;
}

.route-card p {
  margin: 10px 0 0;
  color: #d9e7ea;
  font-size: 0.94rem;
}

.local-panel {
  padding: 26px;
  border-radius: var(--radius);
  border: 1px solid #cbd8d4;
  background: #e9f0ef;
}

.local-panel p {
  margin: 14px 0 0;
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
}

th,
td {
  padding: 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  background: #f5eee4;
  font-size: 0.9rem;
  color: #34414c;
}

.cta-band {
  padding: 64px 0;
  color: #fff;
  background: var(--blue-dark);
}

.cta-band h2,
.cta-band p {
  max-width: 820px;
}

.cta-band p {
  color: #e7f1f5;
}

.breadcrumbs {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.page-hero {
  padding: 72px 0 48px;
  background: #e9f0ef;
}

.page-hero h1 {
  color: var(--ink);
  font-size: clamp(2.25rem, 6vw, 4.4rem);
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 42px;
  align-items: start;
}

.article-body {
  font-size: 1.03rem;
}

.article-body h2 {
  margin-top: 42px;
}

.sidebox {
  position: sticky;
  top: 96px;
  padding: 20px;
}

.sidebox .btn {
  display: flex;
  width: 100%;
  margin-top: 12px;
}

.article-cta {
  margin-top: 42px;
  padding: 24px;
  border: 1px solid #d7c6b3;
  border-radius: var(--radius);
  background: #fff8ed;
}

.article-cta h2 {
  margin-top: 0;
  font-size: clamp(1.45rem, 3vw, 2.05rem);
}

.article-cta p {
  color: #4f5c66;
}

.article-cta .actions {
  margin-top: 18px;
}

.conversion-note {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.9rem;
}

.inline-conversion {
  margin: 26px 0 32px;
  padding: 18px;
  border: 1px solid #d8c7b4;
  border-left: 5px solid var(--coral);
  border-radius: var(--radius);
  background: #fffaf1;
}

.inline-conversion strong {
  display: block;
  color: var(--blue-dark);
  font-size: 1.02rem;
}

.inline-conversion p {
  margin: 8px 0 0;
  color: #4f5c66;
}

.inline-conversion .actions {
  margin-top: 14px;
}

.site-footer {
  padding: 48px 0;
  background: #18252d;
  color: #e9f0ef;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-links a,
.site-footer a {
  color: #fff;
}

.disclosure {
  margin: 18px 0 0;
  color: #d6dedf;
  font-size: 0.92rem;
}

@media (max-width: 900px) {
  .menu-toggle {
    display: inline-grid;
    place-items: center;
  }

  .main-nav {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 72px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    padding: 12px;
  }

  .hero {
    min-height: 690px;
  }

  .hero-strip,
  .grid-2,
  .grid-3,
  .route-grid,
  .article-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .sidebox {
    position: static;
  }
}

@media (max-width: 560px) {
  .nav-wrap,
  .wrap,
  .hero-content {
    width: calc(100% - 28px);
    max-width: 362px;
  }

  .brand span:last-child {
    max-width: 210px;
    line-height: 1.15;
  }

  .hero {
    min-height: 720px;
  }

  .hero::after {
    background:
      linear-gradient(90deg, rgba(18, 34, 41, 0.9), rgba(18, 34, 41, 0.58)),
      linear-gradient(0deg, rgba(18, 34, 41, 0.78), transparent 42%);
  }

  .hero-content {
    padding-bottom: 36px;
  }

  h1 {
    font-size: clamp(2rem, 10.5vw, 3rem);
    max-width: 100%;
    overflow-wrap: break-word;
  }

  .page-hero {
    padding: 48px 0 36px;
  }

  .page-hero h1 {
    font-size: 2rem;
    max-width: 100%;
    overflow-wrap: break-word;
  }

  .lead {
    font-size: 1rem;
  }

  .hero-lede {
    font-size: 1rem;
  }

  .hero-strip {
    margin-top: 34px;
  }

  .section {
    padding: 54px 0;
  }

  .card,
  .note,
  .article-card {
    padding: 18px;
  }

  .btn {
    width: 100%;
  }
}

/* mobile audit markers: viewport-320 viewport-360 viewport-390 viewport-414 viewport-768 */
