:root {
  --bg: #f8fafc;
  --surface: #ffffff;
  --surface-muted: #e2e8f0;
  --text: #0f172a;
  --text-soft: #475569;
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --accent: #0f766e;
  --accent-soft: #ecfeff;
  --border: #cbd5e1;
  --shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --container: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(248, 250, 252, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(203, 213, 225, 0.75);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 76px;
}

.brand {
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.brand-logo {
  border-radius: 6px;
  width: 32px;
  height: 32px;
  object-fit: cover;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 20;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px 0;
  background: var(--text);
  transition: transform 0.3s ease, opacity 0.3s ease;
  border-radius: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  color: var(--text-soft);
  font-weight: 600;
}

.nav-links a:hover,
.site-footer a:hover {
  color: var(--primary);
}

.hero {
  padding: 5rem 0 3.5rem;
  background:
    radial-gradient(circle at top right, rgba(37, 99, 235, 0.12), transparent 32%),
    radial-gradient(circle at top left, rgba(15, 118, 110, 0.1), transparent 24%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--accent);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.82rem;
}

.hero h1,
.section h2,
.summary-card h2 {
  margin: 0;
  line-height: 1.15;
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 4rem);
  max-width: 15ch;
}

.hero-text,
.section-intro p,
.content-card p,
.feature-card p,
.check-card p,
.step-card p,
.summary-card p,
.faq-item p,
.cta-box p,
.site-footer p {
  color: var(--text-soft);
}

.hero-text {
  font-size: 1.08rem;
  margin: 1.25rem 0 0;
  max-width: 60ch;
}

.hero-actions,
.cta-actions {
  display: flex;
  gap: 1rem;
  margin: 1.75rem 0;
  flex-wrap: wrap;
}

.hero-points {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.hero-points li {
  position: relative;
  padding-left: 1.5rem;
  font-weight: 600;
  color: var(--text-soft);
  font-size: 0.95rem;
}

.hero-points li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 800;
}

.hero-card,
.summary-card,
.feature-card,
.content-card,
.step-card,
.check-card,
.cta-box {
  background: var(--surface);
  border: 1px solid rgba(203, 213, 225, 0.9);
  box-shadow: var(--shadow);
}

.hero-card {
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.hero-card img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.summary-card {
  padding: 1.5rem;
}

.section {
  padding: 4.5rem 0;
}

.section-alt {
  background: #eef4ff;
}

.section-intro {
  margin-bottom: 2rem;
}

.section-intro h2 {
  font-size: clamp(1.8rem, 3vw, 2.75rem);
  max-width: 25ch;
}

.section-intro.narrow {
  max-width: 800px;
}

.feature-grid,
.checklist-grid,
.steps,
.two-column {
  display: grid;
  gap: 1.25rem;
}

.feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.two-column {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.steps {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.checklist-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature-card,
.content-card,
.step-card,
.check-card {
  padding: 1.5rem;
  border-radius: var(--radius-md);
}

.feature-card h3,
.content-card h3,
.step-card h3,
.check-card h3,
.faq-item summary,
.cta-box h2 {
  margin: 0 0 0.75rem;
}

.content-card ul {
  padding-left: 1.1rem;
  margin-bottom: 0;
}

.content-card li + li {
  margin-top: 0.5rem;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  margin-bottom: 1rem;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 800;
}

.faq-list {
  display: grid;
  gap: 1rem;
}

.faq-item {
  padding: 1.2rem 1.25rem;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--border);
}

.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1;
  color: var(--primary);
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  margin: 0.85rem 0 0;
}

.cta-section {
  padding-top: 1rem;
  padding-bottom: 5rem;
}

.cta-box {
  border-radius: var(--radius-lg);
  padding: 3rem;
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.97), rgba(15, 23, 42, 0.95));
  color: #ffffff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2.5rem;
}

.cta-box > div:first-child {
  flex: 1;
}

.cta-box p,
.cta-box .eyebrow {
  color: rgba(255, 255, 255, 0.88);
}

.site-footer {
  padding: 2rem 0 3rem;
  border-top: 1px solid var(--border);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 1.2rem;
  border-radius: 999px;
  background: var(--primary);
  color: #ffffff;
  font-weight: 800;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.button:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.button-secondary,
.button-ghost,
.button-ghost-light {
  background: transparent;
}

.button-secondary,
.button-ghost {
  border-color: var(--border);
  color: var(--text);
}

.button-secondary:hover,
.button-ghost:hover {
  background: rgba(255, 255, 255, 0.92);
  color: var(--primary);
}

.button-ghost-light {
  border-color: rgba(255, 255, 255, 0.45);
  color: #ffffff;
}

.button-ghost-light:hover {
  background: rgba(255, 255, 255, 0.12);
}

@media (max-width: 960px) {
  .hero-grid,
  .feature-grid,
  .two-column,
  .steps,
  .checklist-grid {
    grid-template-columns: 1fr;
  }

  .nav {
    flex-wrap: wrap;
    padding: 0.8rem 0;
  }

  .nav-toggle {
    display: block;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--surface);
    flex-direction: column;
    align-items: stretch;
    padding: 1.5rem;
    gap: 1rem;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transform: translateY(-10px);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
  }

  .nav-menu.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--surface-muted);
  }

  .nav-links a {
    display: block;
    width: 100%;
    padding: 0.5rem 0;
  }

  .nav-cta {
    text-align: center;
  }

  .hero {
    padding-top: 3.5rem;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(calc(100% - 1.25rem), var(--container));
  }

  .section,
  .cta-section {
    padding: 2.5rem 0;
  }

  .hero {
    padding: 2rem 0 2rem;
  }

  .hero h1 {
    font-size: clamp(2rem, 7vw, 2.5rem);
    max-width: none;
  }

  .section-intro h2 {
    font-size: clamp(1.6rem, 6vw, 2rem);
    max-width: none;
  }

  .hero-points {
    flex-wrap: wrap;
    gap: 0.5rem;
    flex-direction: column;
  }

  .hero-points li {
    font-size: 0.95rem;
  }

  .hero-actions,
  .cta-actions,
  .footer-content {
    flex-direction: column;
    gap: 0.85rem;
  }

  .button,
  .button-secondary,
  .button-ghost,
  .button-ghost-light {
    width: 100%;
  }

  .hero-card,
  .summary-card,
  .feature-card,
  .content-card,
  .step-card,
  .check-card {
    padding: 1.25rem;
  }

  .cta-box {
    padding: 1.75rem 1.25rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }
}
