/* =========================
   Root / Theme
========================= */
:root {
  --bg-main: #c7ced3;
  --bg-soft: #e8edf0;
  --bg-alt: #dde3e7;

  --text-main: #0b1b24;
  --text-muted: rgba(11, 27, 36, 0.75);

  --border-soft: rgba(11, 27, 36, 0.14);

  --radius-lg: 20px;
  --radius-md: 14px;

  --shadow-soft: 0 18px 45px rgba(11, 27, 36, 0.12);
}

/* =========================
   Base
========================= */
* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text-main);
  background: linear-gradient(
    180deg,
    var(--bg-main) 0%,
    var(--bg-alt) 100%
  );
}

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

.container {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

/* =========================
   Header
========================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(199, 206, 211, 0.7);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-soft);
}

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

.brand {
  display: flex;
  align-items: center;
}

/* Header logo */
.logo {
  height: 88px;
  width: auto;
  display: block;
}

.nav {
  display: flex;
  align-items: center;
  gap: 20px;
  font-weight: 500;
}

.nav a {
  padding: 10px 12px;
  border-radius: 12px;
}

.nav a:not(.btn):hover {
  background: rgba(232, 237, 240, 0.7);
}

/* =========================
   Buttons
========================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: var(--radius-md);
  background: var(--text-main);
  color: #f3f6f8;
  font-weight: 600;
  border: 1px solid rgba(11, 27, 36, 0.3);
}

.btn:hover {
  opacity: 0.92;
}

.btn-small {
  padding: 10px 14px;
  font-size: 14px;
}

.btn-ghost {
  background: transparent;
  color: var(--text-main);
  border: 1px solid rgba(11, 27, 36, 0.35);
}

/* =========================
   Hero
========================= */
.hero {
  padding: 72px 0 56px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: start;
}

/* THIS is where legibility happens */
.hero-brand {
  margin-bottom: 32px;
}

.hero-brand img {
  max-width: 420px;
  width: 100%;
  height: auto;
  display: block;
}

.eyebrow {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  margin: 0 0 16px;
}

h1 {
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.05;
  margin: 0 0 16px;
}

.subhead {
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 14px;
}

.muted {
  color: var(--text-muted);
}

.small {
  font-size: 13px;
}

/* =========================
   Cards / Panels
========================= */
.card {
  background: rgba(232, 237, 240, 0.75);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-soft);
}

.hero-card .card {
  position: sticky;
  top: 110px;
}

.checklist {
  padding-left: 18px;
  margin: 12px 0 0;
}

.checklist li {
  margin: 10px 0;
}

/* =========================
   Sections
========================= */
.section {
  padding: 64px 0;
}

.section-alt {
  background: rgba(232, 237, 240, 0.5);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}

.section h2 {
  margin-top: 0;
  margin-bottom: 18px;
  font-size: 26px;
}

/* =========================
   Services Grid
========================= */
.grid.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.card h3 {
  margin-top: 0;
  margin-bottom: 6px;
}

/* =========================
   CTA Section
========================= */
.section-cta {
  padding: 72px 0 80px;
}

.cta-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: rgba(232, 237, 240, 0.8);
  border: 1px solid var(--border-soft);
  border-radius: 26px;
  padding: 28px;
  box-shadow: var(--shadow-soft);
}

.cta-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.fineprint {
  margin-top: 18px;
  font-size: 12px;
  text-align: center;
}

/* =========================
   Mobile Nav Toggle
========================= */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
}

.hamburger,
.hamburger::before,
.hamburger::after {
  display: block;
  background: var(--text-main);
  height: 3px;
  width: 24px;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger {
  position: relative;
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  left: 0;
}

.hamburger::before {
  top: -8px;
}

.hamburger::after {
  top: 8px;
}

/* Hamburger animation when open */
.nav-open + .nav-toggle .hamburger,
[aria-expanded="true"] .hamburger {
  background: transparent;
}

[aria-expanded="true"] .hamburger::before {
  transform: rotate(45deg);
  top: 0;
}

[aria-expanded="true"] .hamburger::after {
  transform: rotate(-45deg);
  top: 0;
}

/* =========================
   Responsive
========================= */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-brand img {
    max-width: 300px;
  }

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

  .nav-toggle {
    display: block;
  }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(199, 206, 211, 0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    padding: 16px 24px 24px;
    gap: 8px;
    border-bottom: 1px solid var(--border-soft);
    box-shadow: 0 8px 24px rgba(11, 27, 36, 0.1);
  }

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

  .nav a {
    padding: 14px 16px;
    font-size: 16px;
  }

  .nav .btn {
    margin-top: 8px;
    text-align: center;
  }

  .hero-card .card {
    position: relative;
    top: auto;
  }

  .cta-card {
    flex-direction: column;
    align-items: flex-start;
  }
}

