:root {
  --bg: #f7f8fb;
  --surface: #ffffff;
  --text: #172033;
  --muted: #5d6878;
  --line: #dfe4ec;
  --accent: #315cfd;
  --accent-dark: #2342b8;
  --shadow: 0 18px 45px rgba(23, 32, 51, 0.08);
  color-scheme: light;
}

* {
  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;
  background:
    radial-gradient(circle at top left, rgba(49, 92, 253, 0.10), transparent 32rem),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
}

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

a:hover {
  color: var(--accent-dark);
  text-decoration: underline;
}

.site-header {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-weight: 750;
  letter-spacing: -0.02em;
}

.brand:hover {
  text-decoration: none;
  color: var(--text);
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--text);
  color: #fff;
  font-weight: 800;
}

nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
}

nav a {
  color: var(--muted);
  font-size: 0.95rem;
}

main {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  padding: 96px 0 64px;
  max-width: 860px;
}

.small-hero {
  padding-bottom: 32px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(2.8rem, 8vw, 5.8rem);
  line-height: 0.95;
  letter-spacing: -0.075em;
}

h2 {
  margin: 0 0 12px;
  font-size: 1.25rem;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

p {
  margin: 0 0 16px;
}

.lead {
  margin-top: 24px;
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(1.12rem, 2vw, 1.35rem);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 18px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 12px 28px rgba(49, 92, 253, 0.22);
}

.button:hover {
  background: var(--accent-dark);
  color: #fff;
  text-decoration: none;
}

.section {
  margin: 24px 0;
}

.card {
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}

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

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

.contact-line {
  font-size: 1.2rem;
  font-weight: 700;
}

.legal {
  max-width: 860px;
}

.legal h2 {
  margin-top: 32px;
}

.legal h2:first-of-type {
  margin-top: 0;
}

.site-footer {
  width: min(1120px, calc(100% - 32px));
  margin: 64px auto 0;
  padding: 32px 0 48px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 0.95rem;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 720px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero {
    padding: 56px 0 36px;
  }

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

  nav {
    gap: 14px;
  }
}
