:root {
  --bg: #ffffff;
  --bg-soft: #f5f7fb;
  --ink: #0f1b33;
  --ink-soft: #4a5876;
  --line: #e1e6f0;
  --brand: #1f5eff;
  --brand-dark: #1745c4;
  --accent: #00b894;
  --navy: #0b1530;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(15, 27, 51, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-dark); }

.container { width: min(1120px, 100% - 32px); margin-inline: auto; }
.section { padding: 84px 0; }
.section.soft { background: var(--bg-soft); }
.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 10px;
}
h1, h2, h3 { line-height: 1.2; margin: 0 0 14px; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 14px; color: var(--ink-soft); }
.lead { font-size: 1.12rem; }
.center { text-align: center; }
.section-head { max-width: 680px; margin: 0 auto 48px; text-align: center; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.15rem; color: var(--ink); }
.logo-mark {
  width: 34px; height: 34px; border-radius: 9px;
  background: linear-gradient(135deg, var(--brand), #6a8bff);
  display: grid; place-items: center;
}
.logo span.light { font-weight: 500; color: var(--ink-soft); }
.nav-links { display: flex; align-items: center; gap: 26px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--ink); font-weight: 500; font-size: 0.95rem; }
.nav-links a:hover { color: var(--brand); }
.menu-btn {
  display: none; background: none; border: 1px solid var(--line);
  border-radius: 8px; padding: 8px 10px; cursor: pointer; font-size: 1rem;
}

.btn {
  display: inline-block; padding: 13px 24px; border-radius: 10px;
  font-weight: 600; border: 2px solid transparent; cursor: pointer;
  font-size: 1rem; font-family: inherit; transition: 0.2s;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); color: #fff; transform: translateY(-1px); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }

/* Hero */
.hero {
  padding: 96px 0 80px;
  background:
    radial-gradient(900px 400px at 85% -10%, rgba(31, 94, 255, 0.14), transparent 60%),
    radial-gradient(700px 360px at -10% 20%, rgba(0, 184, 148, 0.10), transparent 60%),
    var(--bg);
}
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.hero-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 24px;
}
.hero-card h3 { font-size: 1rem; color: var(--ink-soft); font-weight: 600; margin-bottom: 16px; }
.flow-step { display: flex; gap: 14px; align-items: flex-start; padding: 12px 0; border-top: 1px solid var(--line); }
.flow-step:first-of-type { border-top: 0; }
.flow-dot {
  flex: none; width: 34px; height: 34px; border-radius: 50%;
  background: rgba(31, 94, 255, 0.1); color: var(--brand);
  display: grid; place-items: center; font-weight: 700; font-size: 0.9rem;
}
.flow-step strong { display: block; font-size: 0.98rem; }
.flow-step span { font-size: 0.88rem; color: var(--ink-soft); }

/* Cards */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; transition: 0.2s;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.icon {
  width: 46px; height: 46px; border-radius: 12px; margin-bottom: 16px;
  background: rgba(31, 94, 255, 0.1); color: var(--brand);
  display: grid; place-items: center; font-size: 1.3rem;
}
.card p { margin-bottom: 0; font-size: 0.96rem; }

/* Process */
.step-num { font-size: 0.85rem; font-weight: 800; color: var(--brand); letter-spacing: 0.08em; margin-bottom: 8px; }

/* About */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.checklist { list-style: none; padding: 0; margin: 20px 0 0; }
.checklist li { padding-left: 30px; position: relative; margin-bottom: 12px; color: var(--ink-soft); }
.checklist li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  width: 20px; height: 20px; border-radius: 50%;
  background: rgba(0, 184, 148, 0.15); color: var(--accent);
  font-size: 0.8rem; font-weight: 700; display: grid; place-items: center;
}
.panel {
  background: var(--navy); color: #fff; border-radius: var(--radius); padding: 36px;
}
.panel h3 { color: #fff; }
.panel p { color: #b7c3e0; }
.panel dl { margin: 18px 0 0; }
.panel dt { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: #7f8fb5; margin-top: 14px; }
.panel dd { margin: 2px 0 0; font-weight: 600; }

/* FAQ */
.faq { max-width: 760px; margin: 0 auto; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px 22px; margin-bottom: 12px; }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.3rem; color: var(--brand); line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 12px 0 0; }

/* CTA + Contact */
.cta {
  background: linear-gradient(135deg, var(--navy), #14306e);
  color: #fff; border-radius: 20px; padding: 56px 32px; text-align: center;
}
.cta h2 { color: #fff; }
.cta p { color: #c3cfee; max-width: 560px; margin-inline: auto; }
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; }
form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 6px; }
input, textarea, select {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px;
  font: inherit; color: var(--ink); background: #fff; margin-bottom: 16px;
}
input:focus, textarea:focus, select:focus { outline: 2px solid var(--brand); border-color: transparent; }
textarea { min-height: 130px; resize: vertical; }
.form-note { font-size: 0.82rem; color: var(--ink-soft); margin: 4px 0 0; }
.form-status { margin-top: 12px; font-weight: 600; color: var(--accent); }
.hp { position: absolute; left: -9999px; }

/* Footer */
.site-footer { background: var(--navy); color: #b7c3e0; padding: 56px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; }
.site-footer h4 { color: #fff; margin: 0 0 14px; font-size: 0.95rem; }
.site-footer a { color: #b7c3e0; }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer .logo { color: #fff; }
.site-footer .logo span.light { color: #9fb0d8; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 36px; padding-top: 20px; font-size: 0.86rem;
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}

/* Legal pages */
.legal { max-width: 800px; padding: 64px 0 80px; }
.legal h1 { font-size: 2.2rem; }
.legal h2 { font-size: 1.3rem; margin-top: 32px; }
.legal ul { color: var(--ink-soft); padding-left: 20px; }
.legal .updated { font-size: 0.9rem; }

/* Responsive */
@media (max-width: 900px) {
  .hero-grid, .split, .contact-grid, .footer-grid { grid-template-columns: 1fr; }
  .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
  .section { padding: 64px 0; }
}
@media (max-width: 720px) {
  .menu-btn { display: block; }
  .nav-links {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 8px 16px 16px;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 12px 0; }
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .hero { padding: 64px 0 56px; }
}
