:root {
  --bg: #eef2fb;
  --panel: #ffffff;
  --line: #d3dff3;
  --text: #0e2048;
  --muted: #4d6086;
  --accent: #1f63e1;
  --accent-2: #109f79;
  --accent-soft: #e8f0ff;
  --radius: 18px;
  --shadow: 0 16px 44px rgba(18, 48, 106, 0.11);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Avenir Next", "Segoe UI", "Trebuchet MS", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 12%, #dce8ff 0%, transparent 44%),
    radial-gradient(circle at 89% 14%, #dcfff4 0%, transparent 36%),
    linear-gradient(145deg, #f7f9ff 0%, #eef4ff 54%, #edf3fc 100%),
    var(--bg);
}

.page-shell {
  max-width: 1040px;
  margin: 0 auto;
  padding: 54px 22px 36px;
}

.hero {
  position: relative;
  overflow: hidden;
  border: 1px solid #d5e0f6;
  border-radius: calc(var(--radius) + 4px);
  padding: 24px 24px 22px;
  background: linear-gradient(112deg, #ffffff 0%, #f2f7ff 68%, #eaf6ff 100%);
  box-shadow: var(--shadow);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -90px -95px auto;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(31, 99, 225, 0.21), rgba(31, 99, 225, 0));
}

header h1 {
  margin: 0 0 5px;
  font-size: clamp(1.8rem, 3.5vw, 2.7rem);
  letter-spacing: -0.02em;
  text-transform: capitalize;
}

.kicker {
  margin: 0 0 8px;
  font-size: 0.76rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: #345083;
  font-weight: 600;
}

.subtitle {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

.layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 18px;
  margin-top: 20px;
}

.services {
  display: grid;
  gap: 16px;
}

.service-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  padding: 18px 19px;
  background:
    linear-gradient(180deg, rgba(31, 99, 225, 0.04), rgba(31, 99, 225, 0.02)),
    var(--panel);
  border: 1px solid #cadaf4;
  border-radius: var(--radius);
  box-shadow: 0 9px 24px rgba(24, 57, 124, 0.09);
  transition:
    transform 150ms ease,
    box-shadow 150ms ease,
    border-color 150ms ease,
    background 150ms ease;
}

.service-card:hover {
  transform: translateY(-3px);
  border-color: #b4c8ef;
  box-shadow: 0 18px 30px rgba(18, 50, 112, 0.16);
  background:
    linear-gradient(180deg, rgba(31, 99, 225, 0.07), rgba(31, 99, 225, 0.02)),
    var(--panel);
}

.service-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.favicon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid #cdd9ef;
  background: #fff;
  padding: 2px;
}

.badge {
  font-size: 0.73rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #0f5b44;
  background: #dbf5ed;
  border: 1px solid #bbe8db;
  border-radius: 999px;
  padding: 4px 8px;
  font-weight: 600;
}

.service-card h2 {
  margin: 12px 0 8px;
  font-size: 1.17rem;
}

.url {
  margin: 0;
  color: var(--muted);
  word-break: break-word;
}

.cta {
  margin-top: 14px;
  color: var(--accent);
  font-size: 0.92rem;
  font-weight: 600;
}

.side-panel {
  border-radius: var(--radius);
  border: 1px solid #cbdbf3;
  background: linear-gradient(180deg, #fcfdff 0%, #f0f5ff 72%);
  padding: 18px;
  box-shadow: 0 11px 26px rgba(22, 57, 122, 0.1);
  align-self: start;
}

.side-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.side-panel h3 {
  margin: 0;
  font-size: 1.06rem;
}

.side-link {
  display: inline-block;
  margin-top: 14px;
  text-decoration: none;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid #bfd0f4;
  padding: 9px 13px;
  border-radius: 10px;
  font-weight: 600;
}

.side-link:hover {
  background: #dde9ff;
}

.side-panel p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  word-break: break-word;
}

@media (max-width: 760px) {
  .page-shell {
    padding-top: 28px;
  }

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