:root {
  --background: #f4f6f9;
  --surface: rgba(255, 255, 255, 0.88);
  --surface-solid: #ffffff;
  --border: #e4e8ee;
  --border-hover: #cfd7e4;
  --text: #172033;
  --muted: #7a8494;
  --accent: #536dfe;
  --accent-soft: #eef1ff;
  --shadow: 0 10px 30px rgba(30, 43, 70, 0.06);
  --shadow-hover: 0 18px 42px rgba(30, 43, 70, 0.11);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 80% 0%, rgba(83, 109, 254, 0.07), transparent 28rem),
    linear-gradient(180deg, #f8f9fb 0%, var(--background) 100%);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

.shell {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0 24px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 82px;
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  color: var(--accent);
  background: var(--surface-solid);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  font-size: .9rem;
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: .92rem;
  letter-spacing: -.02em;
}

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: .68rem;
}

.online {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: .7rem;
}

.online-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #35b979;
  box-shadow: 0 0 0 4px rgba(53, 185, 121, .1);
}

.hero {
  max-width: 1000px;
  margin-bottom: 54px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .17em;
}

.hero h1 {
  margin: 0;
  font-size: clamp(.7rem, 7vw, 5rem);
  line-height: .98;
  letter-spacing: -.065em;
  font-weight: 750;
}

.hero p:last-child {
  max-width: 560px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: .98rem;
  line-height: 1.7;
}

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

.service-card {
  min-height: 122px;
  display: flex;
  align-items: center;
  gap: 15px;
  position: relative;
  overflow: hidden;
  padding: 19px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
  transition:
    transform .2s ease,
    border-color .2s ease,
    box-shadow .2s ease,
    background .2s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  background: var(--surface-solid);
  box-shadow: var(--shadow-hover);
}

.card-icon {
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 1.18rem;
  font-weight: 600;
}

.card-content {
  min-width: 0;
  padding-right: 24px;
}

.card-content h2 {
  margin: 0 0 5px;
  font-size: .9rem;
  font-weight: 650;
  letter-spacing: -.02em;
}

.card-content p {
  margin: 0;
  color: var(--muted);
  font-size: .68rem;
  line-height: 1.45;
}

.arrow {
  position: absolute;
  top: 16px;
  right: 17px;
  color: #aab2bf;
  font-size: .9rem;
  transition: color .2s ease, transform .2s ease;
}

.service-card:hover .arrow {
  color: var(--accent);
  transform: translate(2px, -2px);
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 64px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  color: #9ba3af;
  font-size: .63rem;
}

@media (max-width: 850px) {
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

  .topbar {
    padding-bottom: 52px;
  }

  .online {
    display: none;
  }

  .hero {
    margin-bottom: 40px;
  }

  .hero h1 {
    font-size: clamp(2.6rem, 15vw, 4rem);
  }

  .hero p:last-child {
    font-size: .88rem;
  }

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

  .service-card {
    min-height: 94px;
  }

  footer {
    flex-direction: column;
    gap: 7px;
    margin-top: 44px;
  }
}
