:root {
  --blue: #295cd1;
  --blue-dark: #1e3a80;
  --ink: #17263d;
  --muted: #667790;
  --line: #e0e8f0;
  --light: #f6f8fb;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
}

.app-nav {
  min-height: 72px;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

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

.brand img { object-fit: contain; }

.app-nav .nav-link {
  padding: 10px 12px;
  color: var(--muted);
}

.app-nav .nav-link:hover { color: var(--blue); }

.btn-app,
.btn-app-outline {
  padding: 9px 18px;
  border-radius: 8px;
  font-weight: 600;
}

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

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

.btn-app-outline {
  border: 1px solid var(--line);
  color: var(--blue);
  background: #fff;
}

.btn-app-outline:hover {
  border-color: var(--blue);
  color: var(--blue-dark);
  background: var(--light);
}

.hero-section { padding: 72px 0; background: var(--light); }

.hero-section h1,
.section-title h2,
.faq-layout h2,
.signup-section h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 700;
  line-height: 1.2;
}

.hero-copy {
  max-width: 500px;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.7;
}

.illustration-placeholder {
  display: grid;
  min-height: 340px;
  place-items: center;
  padding: 24px;
  border: 2px dashed #b9c9ee;
  border-radius: 16px;
  color: var(--muted);
  background: #fff;
  text-align: center;
}

.illustration-placeholder p { margin: 0; }

.page-section { padding: 72px 0; }
.section-muted { background: var(--light); }

.section-title {
  max-width: 640px;
  margin: 0 auto 36px;
  text-align: center;
}

.section-title h2,
.faq-layout h2,
.signup-section h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); }

.section-title p,
.faq-layout > div > p,
.info-card p,
.step-card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.7;
}

.info-card,
.step-card {
  height: 100%;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.info-card h3,
.step-card h3 {
  margin-bottom: 10px;
  font-size: 1.15rem;
  font-weight: 700;
}

.faq-layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  align-items: start;
  gap: 48px;
}

.faq-list details { border-bottom: 1px solid var(--line); }

.faq-list summary {
  padding: 18px 0;
  font-weight: 600;
  cursor: pointer;
}

.faq-list details p {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.7;
}

.signup-section {
  padding: 64px 0;
  color: #fff;
  background: var(--blue-dark);
  text-align: center;
}

.signup-section p {
  margin-bottom: 24px;
  color: #e1e9fa;
}

.signup-section .btn { padding: 10px 20px; font-weight: 600; }

.site-footer { padding: 24px 0; border-top: 1px solid var(--line); }

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-content p { margin: 0; color: var(--muted); }

@media (max-width: 991.98px) {
  .app-nav .navbar-collapse { padding: 12px 0; }
  .nav-actions { padding-top: 8px; }
}

@media (max-width: 767.98px) {
  .hero-section,
  .page-section { padding: 48px 0; }

  .illustration-placeholder { min-height: 260px; }

  .faq-layout { grid-template-columns: 1fr; gap: 24px; }

  .footer-content { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
