:root {
  --bg: #f6f8fb;
  --card: #ffffff;
  --text: #172033;
  --muted: #667085;
  --accent: #536dfe;
  --accent-soft: #eef1ff;
  --border: #e4e7ec;
  --shadow: 0 18px 45px rgba(23, 32, 51, 0.08);
  --radius-xl: 28px;
  --radius-lg: 22px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  margin: 0;
  min-height: 100%;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(83, 109, 254, 0.18), transparent 34rem),
    radial-gradient(circle at bottom right, rgba(32, 201, 151, 0.12), transparent 28rem),
    var(--bg);
}

a {
  color: inherit;
  text-decoration: none;
}

.page {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 32px 0 56px;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 56px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.logo-mark {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: linear-gradient(135deg, #536dfe, #7c4dff);
  box-shadow: 0 10px 24px rgba(83, 109, 254, 0.28);
}

.nav-link {
  font-size: 14px;
  color: var(--muted);
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
}

.nav-link:hover {
  color: var(--text);
  border-color: rgba(83, 109, 254, 0.35);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 28px;
  align-items: stretch;
}

.hero-card,
.section-card {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(228, 231, 236, 0.9);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.hero-card {
  padding: 52px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
}

h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(38px, 6vw, 76px);
  line-height: 0.95;
  letter-spacing: -0.07em;
}

.lead {
  max-width: 650px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.65;
}

.tiles {
  display: grid;
  gap: 18px;
}

.hero .tiles {
  align-content: stretch;
}

.tile {
  position: relative;
  min-height: 190px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: 0 12px 30px rgba(23, 32, 51, 0.06);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.tile::after {
  content: "";
  position: absolute;
  right: -42px;
  bottom: -48px;
  width: 150px;
  height: 150px;
  border-radius: 999px;
  background: rgba(83, 109, 254, 0.1);
}

.tile:hover {
  transform: translateY(-4px);
  border-color: rgba(83, 109, 254, 0.36);
  box-shadow: 0 18px 42px rgba(23, 32, 51, 0.1);
}

.tile-kicker {
  position: relative;
  z-index: 1;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.tile-title {
  position: relative;
  z-index: 1;
  margin-top: 18px;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1;
  font-weight: 850;
  letter-spacing: -0.05em;
}

.tile-text {
  position: relative;
  z-index: 1;
  max-width: 420px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.tile-arrow {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 8px;
  margin-top: 28px;
  color: var(--accent);
  font-weight: 800;
}

.section-head {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-card {
  padding: 36px;
}

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

.single-tile {
  grid-column: span 1;
}

.footer {
  margin-top: 52px;
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-card {
    padding: 40px;
  }

  .section-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .page {
    width: min(100% - 28px, 1120px);
    padding-top: 20px;
  }

  .topbar {
    margin-bottom: 34px;
  }

  .logo span:last-child {
    max-width: 180px;
  }

  .hero-card,
  .section-card {
    padding: 26px;
    border-radius: 24px;
  }

  .tile {
    min-height: 170px;
    padding: 24px;
  }

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

  .single-tile {
    grid-column: span 1;
  }
}
