:root {
  --navy: #0c1a3a;
  --blue: #1e3a8a;
  --blue-light: #2563eb;
  --sky: #dbeafe;
  --bg: #f8fafc;
  --surface: #ffffff;
  --text: #1e293b;
  --muted: #64748b;
  --border: #e2e8f0;
  --accent: #1d4ed8;
  --max: 72rem;
  --radius: 1rem;
  --shadow: 0 18px 50px rgba(12, 26, 58, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Source Sans 3", system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
}

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

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.15em;
}

a:hover {
  color: var(--blue);
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: inherit;
  text-decoration: none;
}

.brand img {
  width: 3.25rem;
  height: 3.25rem;
  object-fit: contain;
}

.brand-text strong {
  display: block;
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  color: var(--navy);
}

.brand-text span {
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.site-nav a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--accent);
}

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--navy);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  color: #fff;
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.25);
}

.btn-secondary {
  background: #fff;
  color: var(--navy);
  border: 1px solid var(--border);
}

.hero {
  padding: 4.5rem 0 3rem;
  background:
    radial-gradient(circle at top right, rgba(37, 99, 235, 0.12), transparent 35%),
    linear-gradient(180deg, #fff 0%, var(--bg) 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
  align-items: center;
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: "Libre Baskerville", Georgia, serif;
  color: var(--navy);
  line-height: 1.2;
}

h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
}

h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
}

h3 {
  margin: 0 0 0.75rem;
  font-size: 1.2rem;
}

.lead {
  font-size: 1.12rem;
  color: var(--muted);
  max-width: 42rem;
}

.hero-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 0.25rem);
  padding: 1.25rem;
  box-shadow: var(--shadow);
}

.hero-card img {
  border-radius: var(--radius);
  margin-bottom: 1rem;
}

.hero-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.section {
  padding: 4rem 0;
}

.section-alt {
  background: #fff;
}

.section-header {
  max-width: 42rem;
  margin-bottom: 2rem;
}

.grid-2,
.grid-3 {
  display: grid;
  gap: 1.25rem;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem;
  box-shadow: var(--shadow);
}

.card ul,
.article-body ul,
.article-body ol {
  padding-left: 1.2rem;
}

.card li,
.article-body li {
  margin-bottom: 0.45rem;
}

.steps {
  counter-reset: step;
  display: grid;
  gap: 1rem;
}

.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1.1rem 1.25rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.step::before {
  counter-increment: step;
  content: counter(step);
  width: 2.2rem;
  height: 2.2rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--sky);
  color: var(--blue);
  font-weight: 700;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.65rem;
}

.checklist li::before {
  content: "✓";
  color: var(--accent);
  font-weight: 700;
  margin-right: 0.5rem;
}

.checklist-cards {
  display: grid;
  gap: 1rem;
  margin: 1.5rem 0;
}

.checklist-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem 1.25rem;
}

.checklist-card h3 {
  margin-top: 0;
}

.checklist-checkmarks {
  list-style: none;
  padding: 0;
}

.checklist-checkmarks li::before {
  content: "✓ ";
  color: var(--accent);
  font-weight: 700;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  align-items: center;
}

.about-grid img {
  border-radius: calc(var(--radius) + 0.25rem);
  box-shadow: var(--shadow);
}

.cta {
  padding: 3rem;
  border-radius: calc(var(--radius) + 0.5rem);
  background: linear-gradient(135deg, var(--navy), var(--blue));
  color: #fff;
  text-align: center;
}

.cta h2,
.cta p {
  color: #fff;
}

.cta p {
  opacity: 0.92;
  max-width: 40rem;
  margin-inline: auto;
}

.cta .btn-primary {
  margin-top: 1rem;
  background: #fff;
  color: var(--navy);
  box-shadow: none;
}

.blog-hero {
  padding: 3rem 0 1rem;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
  gap: 1.25rem;
  padding-bottom: 3rem;
}

.blog-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem;
  box-shadow: var(--shadow);
  text-decoration: none;
  color: inherit;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.blog-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 40px rgba(12, 26, 58, 0.12);
}

.blog-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  font-size: 0.82rem;
  color: var(--muted);
}

.tag {
  display: inline-block;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  background: var(--sky);
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 700;
}

.article {
  padding: 2rem 0 4rem;
}

.article-header {
  max-width: 46rem;
  margin-bottom: 2rem;
}

.article-body {
  max-width: 46rem;
  font-size: 1.05rem;
}

.article-body h2 {
  margin-top: 2.5rem;
}

.article-body h3 {
  margin-top: 1.75rem;
}

.article-body p {
  margin: 0 0 1rem;
}

.article-body blockquote {
  margin: 1.5rem 0;
  padding: 1rem 1.25rem;
  border-left: 4px solid var(--accent);
  background: #fff;
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--muted);
}

.faq details {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  margin-bottom: 0.75rem;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--navy);
}

.site-footer {
  padding: 2rem 0 2.5rem;
  border-top: 1px solid var(--border);
  background: #fff;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
}

.site-footer a {
  color: var(--navy);
}

@media (max-width: 900px) {
  .hero-grid,
  .about-grid,
  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    right: 1rem;
    left: 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1rem;
    box-shadow: var(--shadow);
  }

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

  .header-inner {
    position: relative;
  }
}
