:root {
  color-scheme: light;
  --bg: #f7f8fb;
  --surface: #ffffff;
  --surface-strong: #101828;
  --text: #182230;
  --muted: #5d6778;
  --line: #d9dee8;
  --accent: #3157ff;
  --accent-strong: #1233bc;
  --shadow: 0 24px 70px rgba(16, 24, 40, 0.12);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(49, 87, 255, 0.15), transparent 36rem),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
}

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

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

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

.brand {
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: 1.15rem;
}

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
  color: var(--muted);
  font-weight: 650;
  font-size: 0.94rem;
}

nav a:hover,
.site-footer a:hover {
  color: var(--accent);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.75fr);
  align-items: center;
  gap: 40px;
  padding: 74px 0 58px;
}

.hero h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(3rem, 8vw, 6rem);
  line-height: 0.92;
  letter-spacing: -0.075em;
}

.hero-copy p {
  max-width: 650px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 999px;
  padding: 0 22px;
  font-weight: 800;
  border: 1px solid transparent;
}

.button.primary {
  color: white;
  background: var(--accent);
  box-shadow: 0 14px 30px rgba(49, 87, 255, 0.26);
}

.button.primary:hover {
  background: var(--accent-strong);
}

.button.secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.72);
  border-color: var(--line);
}

.hero-panel {
  display: grid;
  gap: 14px;
  padding: 18px;
  border-radius: 32px;
  background: var(--surface-strong);
  color: white;
  box-shadow: var(--shadow);
}

.hero-panel div {
  padding: 22px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-panel span {
  display: block;
  color: #b8c4ff;
  font-weight: 800;
  margin-bottom: 10px;
}

.hero-panel strong {
  display: block;
  font-size: 1.08rem;
}

.hero-panel p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.74);
}

.section {
  padding: 40px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
}

.section h2,
.card h2 {
  margin: 0 0 12px;
  letter-spacing: -0.045em;
  line-height: 1;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.section p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 1.1rem;
}

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

.card {
  padding: 34px;
  border-radius: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 14px 44px rgba(16, 24, 40, 0.06);
}

.card p {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 1.03rem;
}

.card ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.card li {
  position: relative;
  padding-left: 22px;
  color: #354052;
  font-weight: 650;
}

.card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 30px 0 44px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer p {
  margin: 0;
  font-weight: 800;
  color: var(--text);
}

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

  nav {
    justify-content: flex-start;
  }

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

  .hero {
    padding-top: 40px;
  }

  .hero h1 {
    font-size: clamp(3rem, 17vw, 4.8rem);
  }

  .section,
  .card {
    padding: 26px;
  }
}
