:root {
  --bg: #0b1020;
  --bg-soft: #121a31;
  --surface: #ffffff;
  --surface-2: #f5f8ff;
  --text: #1b2237;
  --text-soft: #4e5a7a;
  --primary: #ffb703;
  --primary-strong: #f59f00;
  --secondary: #3a86ff;
  --border: #dfe7ff;
  --success: #0a7d35;
  --error: #b42318;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(15, 28, 63, 0.12);
  --shadow-sm: 0 6px 18px rgba(15, 28, 63, 0.08);
  --max-width: 1160px;
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4.5rem;
  --font: "Inter", "Segoe UI", Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--text);
  background: linear-gradient(180deg, #eef4ff 0%, #f9fbff 100%);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: var(--secondary); text-decoration: none; }
a:hover { text-decoration: underline; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: #000; color: #fff; padding: .6rem 1rem; z-index: 9999;
}
.skip-link:focus { left: 1rem; top: 1rem; }

.container { width: min(100% - 2rem, var(--max-width)); margin-inline: auto; }
.section { padding: var(--space-3xl) 0; }
.section-accent { background: var(--surface-2); }

.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(11,16,32,0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.header-wrap { display: flex; align-items: center; justify-content: space-between; min-height: 78px; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; color: #fff; font-weight: 700; }
.brand-mark {
  background: linear-gradient(135deg, var(--primary), #ffd166);
  color: #1d243a; padding: .35rem .6rem; border-radius: .55rem; font-weight: 800;
}
.brand-text { letter-spacing: .2px; }

.main-nav { display: none; }
.main-nav a { color: #eaf0ff; font-weight: 500; margin-left: 1rem; }
.main-nav a.active, .main-nav a:hover { color: #fff; }

.menu-toggle {
  display: inline-flex; flex-direction: column; gap: 4px; border: 1px solid rgba(255,255,255,.3);
  background: transparent; border-radius: 8px; padding: .5rem; cursor: pointer;
}
.menu-toggle span { width: 22px; height: 2px; background: #fff; }

.main-nav.open {
  display: flex; position: absolute; top: 78px; left: 1rem; right: 1rem;
  background: #121a31; border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius);
  box-shadow: var(--shadow); flex-direction: column; padding: 1rem;
}
.main-nav.open a { margin: .35rem 0; }

.hero { padding-top: 5.4rem; }
.hero-grid { display: grid; gap: 2rem; align-items: center; }
.eyebrow { color: var(--secondary); font-weight: 700; text-transform: uppercase; letter-spacing: .09em; font-size: .78rem; }
h1, h2, h3 { line-height: 1.2; }
h1 { font-size: clamp(1.8rem, 4.8vw, 3.2rem); margin: .8rem 0 1rem; }
h2 { font-size: clamp(1.5rem, 3.7vw, 2.3rem); margin-top: .5rem; }
.lead { color: var(--text-soft); max-width: 62ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.2rem; }
.hero-media img { border-radius: var(--radius); box-shadow: var(--shadow); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  padding: .78rem 1.1rem; border-radius: 10px; font-weight: 600; border: 1px solid transparent;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.btn:hover { transform: translateY(-2px); text-decoration: none; }
.btn-primary { background: linear-gradient(135deg, var(--primary), var(--primary-strong)); color: #1a2035; box-shadow: var(--shadow-sm); }
.btn-primary:hover { box-shadow: var(--shadow); }
.btn-secondary { background: #fff; border-color: var(--border); color: var(--text); }

.section-head { margin-bottom: 1.2rem; }
.cards { display: grid; gap: 1rem; margin-top: 1.2rem; }
.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);
  padding: 1.15rem; box-shadow: var(--shadow-sm);
}
.card h3 { margin-bottom: .6rem; }
.card p { color: var(--text-soft); }

.steps { display: grid; gap: 1rem; margin-top: 1.2rem; }
.step {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.1rem; box-shadow: var(--shadow-sm);
}
.step span {
  display: inline-flex; width: 36px; height: 36px; border-radius: 50%;
  align-items: center; justify-content: center; background: #e8f0ff; color: #1e3a8a; font-weight: 700;
  margin-bottom: .65rem;
}

.faq-list { display: grid; gap: .8rem; margin-top: 1.2rem; }
.faq-item {
  background: #fff; border: 1px solid var(--border); border-radius: 12px; overflow: hidden;
}
.faq-question {
  width: 100%; text-align: left; background: transparent; border: 0; cursor: pointer;
  padding: .95rem 1rem; font-weight: 600; color: var(--text);
}
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-answer p { padding: 0 1rem 1rem; color: var(--text-soft); }
.faq-item.open .faq-answer { max-height: 220px; }

.cta-strip-inner {
  background: linear-gradient(135deg, #111b36, #1a2c5f);
  color: #fff; border-radius: var(--radius); padding: 1.6rem;
  display: flex; flex-direction: column; gap: .9rem; align-items: flex-start;
}

.form-shell {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.2rem; box-shadow: var(--shadow-sm);
}
.form-grid { display: grid; gap: .85rem; }
label { font-weight: 600; font-size: .95rem; }
input, textarea {
  width: 100%; margin-top: .35rem; border: 1px solid #cdd8f8; border-radius: 10px; padding: .75rem .8rem;
  font: inherit; color: var(--text); background: #fff;
}
textarea { min-height: 140px; resize: vertical; }
input:focus, textarea:focus, .btn:focus, .faq-question:focus, .menu-toggle:focus {
  outline: 3px solid rgba(58, 134, 255, 0.25); outline-offset: 2px;
}
.field-error { color: var(--error); font-size: .85rem; margin-top: .2rem; }
.form-message { margin-top: .8rem; font-weight: 600; }
.form-message.success { color: var(--success); }
.form-message.error { color: var(--error); }

.site-footer {
  background: #0e152b; color: #d7e3ff; padding-top: 2rem; margin-top: 2.4rem;
}
.footer-grid { display: grid; gap: 1rem; }
.site-footer h3 { color: #fff; margin-bottom: .5rem; font-size: 1.02rem; }
.site-footer a { color: #bcd0ff; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: .3rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 1rem; padding: .9rem 0 1.2rem; font-size: .92rem; }

.legal-content {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.4rem; box-shadow: var(--shadow-sm);
}
.legal-content h1 { font-size: clamp(1.7rem, 4vw, 2.3rem); margin-bottom: .5rem; }
.legal-meta { color: var(--text-soft); margin-bottom: 1rem; }
.legal-content h2 { margin-top: 1.5rem; font-size: 1.35rem; }
.legal-content p, .legal-content li { color: #2d3654; }
.legal-content ul { padding-left: 1.2rem; margin-top: .5rem; }
.legal-toc {
  background: #f6f9ff; border: 1px solid var(--border); border-radius: 10px;
  padding: .9rem; margin: 1rem 0;
}

.back-to-top {
  position: fixed; right: 1rem; bottom: 1rem; border: 0; width: 42px; height: 42px;
  border-radius: 50%; background: #1e2f63; color: #fff; cursor: pointer; display: none;
  box-shadow: var(--shadow-sm);
}
.back-to-top.show { display: inline-flex; align-items: center; justify-content: center; }

.reveal { opacity: 0; transform: translateY(12px); transition: .45s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (min-width: 820px) {
  .menu-toggle { display: none; }
  .main-nav { display: flex; align-items: center; }
  .hero-grid { grid-template-columns: 1.08fr .92fr; }
  .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.2fr 1fr 1fr; }
  .cta-strip-inner { flex-direction: row; justify-content: space-between; align-items: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}