:root {
  --bg: #ffffff;
  --bg-alt: #f4f6fa;
  --text: #1a2233;
  --muted: #5a6478;
  --primary: #1f4fd1;
  --primary-dark: #163a9e;
  --border: #e2e6ee;
  --radius: 12px;
  --max: 1120px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
}

a { color: var(--primary); }
img { max-width: 100%; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(6px);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 68px; flex-wrap: wrap;
}
.brand { font-weight: 800; font-size: 1.15rem; color: var(--text); text-decoration: none; letter-spacing: -.01em; }
.brand span { color: var(--primary); }
.nav { display: flex; gap: 20px; flex-wrap: wrap; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 500; font-size: .95rem; }
.nav a:hover { color: var(--primary); }

/* Hero */
.hero {
  background: linear-gradient(135deg, #0f2a78 0%, #1f4fd1 100%);
  color: #fff; padding: 96px 0 88px;
}
.hero h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); line-height: 1.15; letter-spacing: -.02em; max-width: 780px; }
.hero p { margin-top: 20px; font-size: 1.15rem; max-width: 640px; color: #dbe4ff; }
.hero .actions { margin-top: 32px; display: flex; gap: 12px; flex-wrap: wrap; }

.btn {
  display: inline-block; padding: 13px 24px; border-radius: 8px;
  font-weight: 600; text-decoration: none; transition: .15s;
}
.btn-light { background: #fff; color: var(--primary-dark); }
.btn-light:hover { background: #e8eeff; }
.btn-outline { border: 1.5px solid rgba(255,255,255,.7); color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,.1); }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); }

/* Sections */
section { padding: 80px 0; }
section.alt { background: var(--bg-alt); }
.section-title { font-size: clamp(1.6rem, 3vw, 2.1rem); letter-spacing: -.01em; }
.section-sub { color: var(--muted); margin-top: 10px; max-width: 680px; }

.grid { display: grid; gap: 24px; margin-top: 40px; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }

.card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px;
}
.card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.card p, .card li { color: var(--muted); }
.card .icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: #e8eeff; color: var(--primary);
  display: grid; place-items: center; font-size: 1.3rem; margin-bottom: 16px;
}

/* Pricing */
.price-card { display: flex; flex-direction: column; }
.price-card.featured { border: 2px solid var(--primary); }
.price { font-size: 2.2rem; font-weight: 800; color: var(--text); margin: 12px 0 4px; }
.price small { font-size: .95rem; font-weight: 500; color: var(--muted); }
.price-card ul { list-style: none; margin: 20px 0 24px; flex: 1; }
.price-card li { padding: 6px 0 6px 26px; position: relative; }
.price-card li::before { content: "✓"; position: absolute; left: 0; color: var(--primary); font-weight: 700; }
.tag { display: inline-block; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--primary); }
.note { margin-top: 28px; font-size: .92rem; color: var(--muted); }

/* Steps */
.steps { counter-reset: step; }
.steps .card { position: relative; padding-top: 56px; }
.steps .card::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: 20px; left: 28px;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--primary); color: #fff; font-weight: 700; font-size: .9rem;
  display: grid; place-items: center;
}

/* Contact */
.contact-list { list-style: none; margin-top: 16px; }
.contact-list li { padding: 10px 0; border-bottom: 1px solid var(--border); }
.contact-list strong { display: block; font-size: .85rem; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }

/* FAQ */
details { background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 18px 22px; margin-top: 12px; }
summary { cursor: pointer; font-weight: 600; }
details p { margin-top: 10px; color: var(--muted); }

/* Legal pages */
.legal { padding: 64px 0 80px; }
.legal .container { max-width: 820px; }
.legal h1 { font-size: clamp(1.8rem, 3.5vw, 2.4rem); letter-spacing: -.01em; }
.legal .updated { color: var(--muted); margin-top: 8px; font-size: .92rem; }
.legal h2 { font-size: 1.25rem; margin-top: 36px; margin-bottom: 10px; }
.legal p, .legal li { color: #333c4f; margin-top: 10px; }
.legal ul, .legal ol { padding-left: 22px; }

/* Footer */
.site-footer { background: #0d1b40; color: #c3cce3; padding: 56px 0 28px; font-size: .93rem; }
.site-footer .cols { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 12px; }
.site-footer a { color: #c3cce3; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; }
.site-footer li { padding: 3px 0; }
.site-footer .bottom { border-top: 1px solid #22336a; margin-top: 40px; padding-top: 20px; font-size: .85rem; color: #8f9bbd; }

@media (max-width: 640px) {
  .nav { gap: 14px; }
  .hero { padding: 64px 0; }
  section { padding: 56px 0; }
}
