:root {
  --brand: #6365A8;
  --brand-dark: #4a4c8a;
  --brand-soft: #f3f3fb;
  --ink: #111224;
  --muted: #5a5c7a;
  --line: #e7e7f0;
  --bg: #ffffff;
  --radius: 14px;
  --max: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-dark); }
img, svg { display: block; max-width: 100%; }

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

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255,255,255,0.85);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px;
}
.site-header .logo img { height: 32px; width: auto; display: block; }
.site-header nav { display: flex; gap: 28px; }
.site-header nav a {
  color: var(--muted); font-weight: 500; font-size: 15px;
}
.site-header nav a:hover { color: var(--ink); }

/* Hero */
.hero {
  position: relative;
  padding: 96px 0 88px;
  overflow: hidden;
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(99,101,168,0.18), transparent 60%),
    radial-gradient(900px 500px at 0% 30%, rgba(99,101,168,0.10), transparent 60%),
    linear-gradient(180deg, #fbfbff 0%, #ffffff 100%);
  border-bottom: 1px solid var(--line);
}
.hero .eyebrow {
  display: inline-block;
  font-size: 13px; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
  background: var(--brand-soft);
  padding: 6px 12px; border-radius: 999px;
  margin-bottom: 24px;
}
.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 700;
  max-width: 16ch;
}
.hero h1 .accent { color: var(--brand); }
.hero p.lead {
  margin: 0;
  font-size: clamp(17px, 1.6vw, 20px);
  color: var(--muted);
  max-width: 56ch;
}
.hero .soon {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 36px;
  padding: 12px 18px;
  border: 1px dashed var(--brand);
  border-radius: 999px;
  color: var(--brand);
  font-weight: 600; font-size: 14px;
}
.hero .soon::before {
  content: "";
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 0 rgba(99,101,168,0.6);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(99,101,168,0.55); }
  70% { box-shadow: 0 0 0 10px rgba(99,101,168,0); }
  100% { box-shadow: 0 0 0 0 rgba(99,101,168,0); }
}

/* Services */
.services { padding: 96px 0; }
.section-head { text-align: center; margin-bottom: 56px; }
.section-head h2 {
  margin: 0 0 12px;
  font-size: clamp(28px, 3.5vw, 40px);
  letter-spacing: -0.01em;
  font-weight: 700;
}
.section-head p {
  margin: 0 auto; max-width: 58ch; color: var(--muted); font-size: 17px;
}

.grid {
  display: grid; gap: 20px;
  grid-template-columns: repeat(4, 1fr);
}
.card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px -24px rgba(99,101,168,0.35);
  border-color: rgba(99,101,168,0.35);
}
.card .ico {
  width: 44px; height: 44px; border-radius: 10px;
  display: grid; place-items: center;
  background: var(--brand-soft);
  color: var(--brand);
  margin-bottom: 18px;
}
.card .ico svg { width: 22px; height: 22px; }
.card h3 { margin: 0 0 8px; font-size: 18px; font-weight: 600; }
.card p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.55; }

/* About */
.about { padding: 80px 0 96px; background: #fbfbff; border-top: 1px solid var(--line); }
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: start;
}
.about-text p { color: var(--muted); font-size: 17px; margin: 0 0 16px; }
.about-text strong { color: var(--ink); }

.company-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 18px 40px -28px rgba(99,101,168,0.25);
}
.company-card h3 { margin: 0 0 18px; font-size: 13px; font-weight: 700; color: var(--brand); letter-spacing: 0.08em; text-transform: uppercase; }
.company-card dl { margin: 0; padding: 0; display: grid; gap: 14px; }
.company-card dt {
  margin: 0; padding: 0;
  font-size: 12px; font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.company-card dd {
  margin: 4px 0 0; padding: 0;
  font-size: 15px; color: var(--ink); line-height: 1.5;
}
.company-card.inline {
  box-shadow: none;
  margin-top: 14px;
}

.company-table {
  margin: 14px 0 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
}
.company-table dl { margin: 0; padding: 0; display: block; }
.company-table dt,
.company-table dd { margin: 0; padding: 0; }
.company-table .row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 16px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.company-table .row:last-child { border-bottom: 0; }
.company-table .row dt {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.company-table .row dd {
  font-size: 15px;
  color: var(--ink);
  line-height: 1.55;
}
@media (max-width: 600px) {
  .company-table .row { grid-template-columns: 1fr; gap: 4px; padding: 14px 16px; }
}

/* Page hero (inner pages) */
.page-hero {
  padding: 72px 0 48px;
  background: linear-gradient(180deg, #fbfbff 0%, #ffffff 100%);
  border-bottom: 1px solid var(--line);
}
.page-hero .eyebrow {
  display: inline-block;
  font-size: 12px; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
  background: var(--brand-soft);
  padding: 6px 12px; border-radius: 999px;
  margin-bottom: 16px;
}
.page-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(30px, 4.5vw, 44px);
  letter-spacing: -0.01em;
  font-weight: 700;
  line-height: 1.1;
}
.page-hero p.lead { margin: 0; color: var(--muted); font-size: 17px; max-width: 60ch; }

/* Legal / content pages */
.legal { padding: 56px 0 96px; }
.container.narrow { max-width: 760px; }
.legal h2 {
  margin: 36px 0 12px;
  font-size: 22px; font-weight: 700; letter-spacing: -0.01em;
}
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { color: #2c2d44; font-size: 16px; line-height: 1.7; }
.legal p { margin: 0 0 14px; }
.legal ul { margin: 0 0 16px; padding-left: 22px; }
.legal ul li { margin-bottom: 6px; }
.legal a { text-decoration: underline; text-underline-offset: 3px; }
.legal address { font-style: normal; color: #2c2d44; line-height: 1.7; }

/* Contact grid */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px 40px;
}
.contact-grid h2 { margin-top: 0; font-size: 18px; }
.btn-link {
  display: inline-block;
  padding: 10px 16px;
  border: 1px solid var(--brand);
  border-radius: 999px;
  color: var(--brand);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
}
.btn-link:hover { background: var(--brand); color: #fff; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 56px 0 32px;
  background: #fafafd;
}
.site-footer .container { display: block; }
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 40px;
}
.foot-brand .foot-logo img { height: 32px; width: auto; display: block; margin-bottom: 16px; }
.foot-tagline { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; max-width: 36ch; }
.foot-col h4 {
  margin: 0 0 14px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink);
}
.foot-col ul,
.foot-col ul li { list-style: none !important; padding: 0; margin: 0; }
.foot-col ul { display: grid; gap: 10px; }
.foot-col ul a { color: var(--muted); font-size: 14px; }
.foot-col ul a:hover { color: var(--brand); }
.foot-contact address,
.site-footer address { font-style: normal !important; color: var(--muted); font-size: 14px; line-height: 1.7; }
.foot-contact address a { color: var(--muted); }
.foot-contact address a:hover { color: var(--brand); }

.foot-legal {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  display: flex; flex-direction: column; gap: 6px;
}
.foot-legal small { color: var(--muted); font-size: 12px; line-height: 1.6; }
.foot-legal small strong { color: var(--ink); }

/* Responsive */
@media (max-width: 900px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
}
@media (max-width: 600px) {
  .site-header nav { display: none; }
  .hero { padding: 64px 0 56px; }
  .services { padding: 64px 0; }
  .grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; gap: 28px; }
}
