:root {
  --indigo: #24105c;
  --royal: #1e2fd0;
  --blue: #3b6fe0;
  --charcoal: #231f20;
  --ink: #1d1b29;
  --muted: #5a5870;
  --line: #e3e4ee;
  --bg: #ffffff;
  --bg-alt: #f5f6fb;
  --radius: 10px;
  --serif: "Source Serif 4", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--royal); }
h1, h2, h3, h4 { font-family: var(--serif); color: var(--indigo); line-height: 1.2; margin: 0 0 .6em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.05rem; margin-bottom: .25em; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }
.center { text-align: center; justify-content: center; }

.eyebrow {
  font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--royal); margin-bottom: .75em;
}

/* Buttons */
.btn {
  display: inline-block; padding: 13px 26px; border-radius: 999px;
  background: var(--royal); color: #fff; font-weight: 600; text-decoration: none;
  border: 2px solid var(--royal); transition: background .2s, color .2s, border-color .2s;
}
.btn:hover { background: var(--indigo); border-color: var(--indigo); }
.btn-small { padding: 8px 18px; font-size: .92rem; }
.btn-ghost { background: transparent; color: var(--indigo); border-color: var(--line); }
.btn-ghost:hover { background: var(--bg-alt); border-color: var(--indigo); color: var(--indigo); }
.btn-light { background: #fff; color: var(--indigo); border-color: #fff; }
.btn-light:hover { background: transparent; color: #fff; border-color: #fff; }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn-ghost-light:hover { background: rgba(255,255,255,.12); border-color: #fff; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255,255,255,.95); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand img { width: 128px; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .95rem; }
.site-nav a:not(.btn):hover { color: var(--royal); }
.site-nav .btn { color: #fff; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--indigo); margin: 5px 0; }

/* Hero */
.hero {
  padding: 96px 0 64px;
  background:
    radial-gradient(ellipse at 85% 0%, rgba(59,111,224,.18), transparent 55%),
    linear-gradient(180deg, #f3f5ff 0%, #fff 100%);
}
.hero-inner { max-width: 880px; margin-left: 0; }
.hero h1 { margin-bottom: .5em; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 680px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.stats {
  list-style: none; margin: 64px 0 0; padding: 28px 0 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  border-top: 1px solid var(--line);
}
.stats strong { display: block; font-family: var(--serif); font-size: 2.4rem; color: var(--royal); line-height: 1.1; }
.stats span { color: var(--muted); font-size: .95rem; }

/* Sections */
.section { padding: 88px 0; }
.alt { background: var(--bg-alt); }
.fit p { font-size: 1.1rem; color: var(--muted); }

.grid { display: grid; gap: 22px; margin-top: 36px; }
.cards { grid-template-columns: repeat(4, 1fr); }
.three { grid-template-columns: repeat(3, 1fr); }
.two { grid-template-columns: repeat(2, 1fr); }

.card, .option, .case {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
}
.card { border-top: 3px solid var(--royal); }
.card p, .option p, .case p { color: var(--muted); font-size: .97rem; margin: 0; }
.option h3::before {
  content: ""; display: block; width: 36px; height: 4px; border-radius: 2px;
  background: linear-gradient(90deg, var(--charcoal), var(--royal)); margin-bottom: 16px;
}
.case { border-left: 4px solid var(--indigo); }

.steps { list-style: none; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.steps li { display: flex; gap: 14px; align-items: flex-start; }
.steps li > span {
  flex: none; width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 700;
  background: var(--indigo); color: #fff;
}
.steps p { color: var(--muted); font-size: .93rem; margin: 0; }

/* About */
.about { display: grid; grid-template-columns: 280px 1fr; gap: 56px; align-items: start; }
.about-photo {
  aspect-ratio: 1 / 1; border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 12px 30px rgba(36,16,92,.18);
  background: linear-gradient(135deg, var(--charcoal), var(--indigo) 50%, var(--royal));
  display: grid; place-items: center;
}
.about-photo span { font-family: var(--serif); font-size: 4rem; color: rgba(255,255,255,.85); }
.about-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.credentials { padding-left: 1.2em; color: var(--muted); margin: 1.2em 0 0; }
.credentials li { margin-bottom: .3em; }

/* Contact CTA */
.cta {
  background: linear-gradient(120deg, var(--charcoal) 0%, var(--indigo) 45%, var(--royal) 100%);
  color: #fff;
}
.cta h2 { color: #fff; }
.cta p { color: rgba(255,255,255,.85); }
.contact-meta { margin-top: 28px; font-size: .95rem; }
.contact-meta a { color: #fff; }

/* Footer */
.site-footer { background: #140a36; color: rgba(255,255,255,.7); padding: 36px 0; font-size: .9rem; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-inner img { width: 110px; }
.footer-inner p { margin: 0; }

/* Responsive */
@media (max-width: 960px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .about { grid-template-columns: 220px 1fr; gap: 36px; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .nav-toggle { display: block; }
  .site-nav {
    display: none; position: absolute; top: 76px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 8px 16px 16px;
  }
  .site-nav.open { display: flex; }
  .site-nav a:not(.btn) { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .site-nav .btn { margin-top: 12px; text-align: center; }
  .hero { padding: 56px 0 44px; }
  .stats { grid-template-columns: repeat(2, 1fr); margin-top: 44px; }
  .section { padding: 60px 0; }
  .cards, .three, .two, .steps { grid-template-columns: 1fr; }
  .about { grid-template-columns: 1fr; }
  .about-photo { max-width: 220px; }
  .footer-inner { flex-direction: column; text-align: center; }
}
