:root {
  --bg: #f4f7fb;
  --surface: #ffffff;
  --surface-alt: #eef3ff;
  --text: #152033;
  --muted: #5b6a84;
  --primary: #1453ff;
  --primary-dark: #0d3cc0;
  --accent: #19a7ff;
  --success: #0b8a5a;
  --danger: #c0392b;
  --border: #d8e1f0;
  --shadow-sm: 0 8px 20px rgba(17, 38, 89, 0.08);
  --shadow-md: 0 18px 40px rgba(17, 38, 89, 0.12);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --container: 1160px;
  --space-1: 0.5rem;
  --space-2: 0.75rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2rem;
  --space-6: 3rem;
  --space-7: 4rem;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Inter", "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #f8faff 0%, var(--bg) 100%);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { width: min(100% - 2rem, var(--container)); margin-inline: auto; }
.skip-link {
  position: absolute; left: -9999px; top: auto;
}
.skip-link:focus {
  left: 1rem; top: 1rem; z-index: 1000; background: #000; color: #fff; padding: 0.75rem 1rem; border-radius: 8px;
}
.site-header {
  position: sticky; top: 0; z-index: 999;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: 0.75rem; color: var(--text); text-decoration: none; font-weight: 700; }
.brand-mark {
  width: 38px; height: 38px; border-radius: 10px;
  display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  box-shadow: var(--shadow-sm);
}
.brand-text { font-size: 0.9rem; line-height: 1.3; max-width: 260px; }
.main-nav { display: none; flex-direction: column; gap: 0.25rem; background: var(--surface); position: absolute; right: 1rem; top: 74px; border: 1px solid var(--border); border-radius: 14px; padding: 0.75rem; box-shadow: var(--shadow-md); }
.main-nav.open { display: flex; }
.nav-link { padding: 0.6rem 0.75rem; border-radius: 8px; color: var(--text); font-weight: 500; }
.nav-link:hover, .nav-link.active { background: var(--surface-alt); text-decoration: none; }
.menu-toggle { background: transparent; border: 0; width: 42px; height: 42px; display: grid; gap: 5px; align-content: center; cursor: pointer; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--text); margin: 0 auto; transition: 0.3s; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; border: 0; border-radius: 999px; padding: 0.8rem 1.2rem; font-weight: 700; cursor: pointer; transition: 0.25s ease; text-decoration: none; }
.btn-primary { background: linear-gradient(135deg, var(--primary), var(--accent)); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { transform: translateY(-2px); text-decoration: none; }
.btn-ghost { background: #fff; border: 1px solid var(--border); color: var(--text); }
.btn-ghost:hover { background: var(--surface-alt); text-decoration: none; }
.hero { padding: var(--space-6) 0; }
.hero-grid { display: grid; gap: var(--space-5); align-items: center; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.78rem; color: var(--primary); font-weight: 700; }
h1 { font-size: clamp(1.7rem, 3vw, 3rem); line-height: 1.2; margin-top: 0.8rem; }
.hero-text { margin-top: 1rem; color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.4rem; }
.hero-highlights { list-style: none; margin-top: 1.2rem; display: grid; gap: 0.5rem; color: var(--muted); }
.hero-highlights li::before { content: "✓ "; color: var(--success); font-weight: 700; }
.hero-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.section { padding: var(--space-6) 0; }
.section.alt { background: var(--surface-alt); }
.section-heading { max-width: 760px; margin-bottom: var(--space-4); }
h2 { font-size: clamp(1.4rem, 2.4vw, 2.2rem); line-height: 1.25; margin: 0.6rem 0 0.8rem; }
h3 { line-height: 1.3; }
.cards-grid { display: grid; gap: 1rem; }
.cards-3 { grid-template-columns: 1fr; }
.cards-2 { grid-template-columns: 1fr; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 1.2rem; box-shadow: var(--shadow-sm); }
.steps { display: grid; gap: 1rem; }
.step { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 1.2rem; box-shadow: var(--shadow-sm); }
.step span { font-weight: 800; color: var(--primary); }
.faq { display: grid; gap: 0.8rem; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); overflow: hidden; }
.faq-question { width: 100%; text-align: left; padding: 1rem; background: transparent; border: 0; font-weight: 700; cursor: pointer; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; padding: 0 1rem; }
.faq-item.open .faq-answer { max-height: 240px; padding-bottom: 1rem; }
.cta-box { background: linear-gradient(145deg, #0f286e, #1453ff); color: #fff; border-radius: var(--radius-lg); padding: clamp(1.5rem, 3vw, 3rem); box-shadow: var(--shadow-md); }
.cta-box p { opacity: 0.95; margin: 0.8rem 0 1.2rem; }
.site-footer { background: #0f172a; color: #d6deee; margin-top: var(--space-6); }
.footer-grid { display: grid; gap: 1.2rem; padding: 2rem 0; }
.site-footer h3 { color: #fff; margin-bottom: 0.6rem; font-size: 1rem; }
.site-footer a { color: #b9ceff; }
.site-footer ul { list-style: none; display: grid; gap: 0.4rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); text-align: center; padding: 0.8rem 1rem; font-size: 0.92rem; }
.form-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 1.2rem; box-shadow: var(--shadow-sm); }
.form-grid { display: grid; gap: 1rem; }
label { font-weight: 600; display: block; margin-bottom: 0.4rem; }
input, textarea {
  width: 100%; border: 1px solid #cfd9ec; border-radius: 10px; padding: 0.8rem; font: inherit; background: #fff;
}
input:focus, textarea:focus, .btn:focus, .faq-question:focus, .menu-toggle:focus { outline: 3px solid rgba(20, 83, 255, 0.22); outline-offset: 1px; }
.message { margin-top: 0.8rem; font-weight: 600; }
.message.error { color: var(--danger); }
.message.success { color: var(--success); }
.legal-content { max-width: 900px; margin: 0 auto; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); padding: clamp(1rem, 3vw, 2rem); box-shadow: var(--shadow-sm); }
.legal-content h1 { margin-bottom: 0.6rem; }
.legal-meta { color: var(--muted); margin-bottom: 1.4rem; }
.legal-content h2 { margin-top: 1.2rem; font-size: 1.2rem; }
.legal-content p, .legal-content li { color: #334155; }
.legal-content ul { padding-left: 1.1rem; }
.back-to-top {
  position: fixed; right: 1rem; bottom: 1rem; width: 44px; height: 44px;
  border-radius: 50%; border: 0; background: var(--primary); color: #fff;
  box-shadow: var(--shadow-md); cursor: pointer; display: none;
}
.back-to-top.show { display: block; }
.reveal { opacity: 0; transform: translateY(16px); transition: 0.5s ease; }
.reveal.in-view { opacity: 1; transform: none; }
@media (min-width: 860px) {
  .menu-toggle { display: none; }
  .main-nav { display: flex; position: static; flex-direction: row; align-items: center; border: 0; box-shadow: none; padding: 0; background: transparent; }
  .brand-text { max-width: none; }
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; }
  .cards-3 { grid-template-columns: repeat(3, 1fr); }
  .cards-2 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}