:root {
  --purple: #6f168e;
  --purple-dark: #44115d;
  --ink: #1d1d24;
  --muted: #6f6a78;
  --line: #ece7f1;
  --bg: #fbf8fd;
  --card: #ffffff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at 20% 0%, #f2e5fa 0, transparent 30%), var(--bg);
}

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

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1160px;
  margin: 0 auto;
  padding: 28px 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand strong {
  display: block;
  font-size: 20px;
  letter-spacing: 0.08em;
}

.brand span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 13px;
}

.mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: #fff;
  background: linear-gradient(135deg, var(--purple), var(--purple-dark));
  border-radius: 50%;
  font-weight: 700;
}

nav {
  display: flex;
  gap: 22px;
  color: var(--muted);
  font-size: 15px;
}

.hero {
  max-width: 1160px;
  margin: 32px auto 0;
  padding: 84px 24px 72px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--purple);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  max-width: 900px;
  font-size: clamp(42px, 7vw, 82px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.lead {
  max-width: 760px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 21px;
  line-height: 1.8;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-weight: 700;
}

.button.primary {
  color: #fff;
  background: var(--purple);
  border-color: var(--purple);
}

.section {
  max-width: 1160px;
  margin: 0 auto;
  padding: 52px 24px;
}

.section-title {
  margin-bottom: 24px;
}

.section-title p {
  margin: 0 0 8px;
  color: var(--purple);
  font-weight: 700;
  letter-spacing: 0.12em;
}

h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.2;
}

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

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

.card {
  min-height: 190px;
  padding: 26px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 18px 50px rgba(77, 33, 94, 0.06);
}

.card.wide {
  max-width: 940px;
}

.card h3 {
  margin: 0 0 14px;
  font-size: 21px;
}

.card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.card p + p {
  margin-top: 14px;
}

.contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  max-width: 1112px;
  margin: 52px auto;
  padding: 42px;
  color: #fff;
  background: linear-gradient(135deg, var(--purple), var(--purple-dark));
  border-radius: 32px;
}

.contact .eyebrow,
.contact p {
  color: rgba(255, 255, 255, 0.76);
}

.contact h2 {
  max-width: 720px;
}

.contact .button.primary {
  color: var(--purple);
  background: #fff;
  border-color: #fff;
  white-space: nowrap;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  max-width: 1160px;
  margin: 0 auto;
  padding: 30px 24px 48px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.note {
  text-align: right;
}

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

  nav {
    flex-wrap: wrap;
  }

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

  .hero {
    padding-top: 48px;
  }

  .note {
    text-align: left;
  }
}
