:root {
  --bg: #f7f8fb;
  --surface: #ffffff;
  --text: #172033;
  --muted: #5d6678;
  --primary: #4f46e5;
  --primary-dark: #3730a3;
  --border: #e4e7ec;
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: min(calc(100% - 40px), var(--max-width));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
}

.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  color: var(--text);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand:hover {
  text-decoration: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.nav-links a {
  color: var(--text);
  font-weight: 600;
}

.hero {
  padding: 110px 0 90px;
  background:
    radial-gradient(circle at top left, rgba(79, 70, 229, 0.16), transparent 38%),
    linear-gradient(180deg, #ffffff, var(--bg));
}

.eyebrow {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  line-height: 1.15;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 780px;
  margin: 0 0 24px;
  font-size: clamp(2.7rem, 7vw, 5rem);
}

h2 {
  margin: 0 0 18px;
  font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
  margin-top: 0;
  font-size: 1.3rem;
}

.lead {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: 1.2rem;
}

.actions {
  display: flex;
  gap: 14px;
  margin-top: 34px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  min-height: 48px;
  padding: 0 22px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--primary);
  border-radius: 10px;
  background: var(--primary);
  color: #ffffff;
  font-weight: 750;
}

.button:hover {
  background: var(--primary-dark);
  text-decoration: none;
}

.button-secondary {
  background: transparent;
  color: var(--primary);
}

.button-secondary:hover {
  background: rgba(79, 70, 229, 0.08);
}

.section {
  padding: 86px 0;
}

.section-white {
  background: var(--surface);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 38px;
}

.section-heading p,
.card p,
.prose p,
.prose li {
  color: var(--muted);
}

.grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, 1fr);
}

.card {
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: 0 12px 32px rgba(23, 32, 51, 0.05);
}

.card p:last-child {
  margin-bottom: 0;
}

.info-box {
  padding: 24px 26px;
  border-left: 4px solid var(--primary);
  border-radius: 8px;
  background: rgba(79, 70, 229, 0.07);
}

.prose {
  max-width: 820px;
  padding: 50px 0 80px;
}

.prose h1 {
  font-size: clamp(2.3rem, 5vw, 3.8rem);
}

.prose h2 {
  margin-top: 42px;
  font-size: 1.8rem;
}

.prose h3 {
  margin-top: 30px;
}

.contact-list {
  padding: 0;
  list-style: none;
}

.contact-list li {
  margin: 10px 0;
}

.site-footer {
  padding: 36px 0;
  border-top: 1px solid var(--border);
  background: #ffffff;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.small {
  color: var(--muted);
  font-size: 0.92rem;
}

@media (max-width: 800px) {
  .nav {
    padding: 16px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    gap: 14px 20px;
  }

  .hero {
    padding: 80px 0 65px;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 65px 0;
  }
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand img {
  display: block;
  width: 176px;
  height: auto;
}

.footer-brand img {
  display: block;
  width: 138px;
  height: auto;
  margin-bottom: 8px;
}

@media (max-width: 520px) {
  .brand img {
    width: 150px;
  }
}
