:root {
  color-scheme: light;
  --bg: #f7f8fb;
  --surface: #ffffff;
  --surface-strong: #eef3ff;
  --text: #182033;
  --muted: #5d667a;
  --border: #dce2ee;
  --accent: #2864e5;
  --accent-strong: #1749b9;
  --shadow: 0 18px 44px rgba(27, 46, 86, 0.10);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a {
  color: var(--accent);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-weight: 750;
  text-decoration: none;
  letter-spacing: 0;
}

.brand img {
  border-radius: 10px;
  box-shadow: 0 8px 18px rgba(40, 100, 229, 0.18);
}

nav {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 15px;
}

nav a {
  color: var(--muted);
  font-weight: 650;
  text-decoration: none;
}

nav a[aria-current="page"],
nav a:hover {
  color: var(--text);
}

main {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px 64px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 32px;
  align-items: stretch;
  padding: 72px 0 56px;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 420px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 20px;
  font-size: clamp(42px, 7vw, 76px);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero p,
.page-header p {
  max-width: 680px;
  color: var(--muted);
  font-size: 19px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 16px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 8px;
  background: var(--accent);
  color: #ffffff;
  font-weight: 750;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(40, 100, 229, 0.24);
}

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

.text-link {
  font-weight: 750;
}

.hero-panel {
  display: grid;
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero-panel div {
  padding: 32px;
  border-bottom: 1px solid var(--border);
}

.hero-panel div:last-child {
  border-bottom: 0;
}

.hero-panel strong {
  display: block;
  margin-bottom: 8px;
  font-size: 20px;
}

.hero-panel span {
  color: var(--muted);
}

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

.content-grid article,
.prose {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: 0 8px 24px rgba(27, 46, 86, 0.06);
}

.content-grid article {
  padding: 28px;
}

.content-grid h2,
.prose h2 {
  margin-bottom: 10px;
  font-size: 26px;
  line-height: 1.18;
}

.content-grid p,
.prose p,
.prose li {
  color: var(--muted);
}

.page {
  max-width: 900px;
}

.page-header {
  padding: 56px 0 28px;
}

.page-header h1 {
  max-width: 840px;
  margin-bottom: 16px;
  font-size: clamp(38px, 6vw, 64px);
}

.prose {
  padding: 36px;
}

.prose h2 {
  margin-top: 36px;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose h3 {
  margin: 24px 0 8px;
  font-size: 19px;
}

footer {
  max-width: 1120px;
  margin: 0 auto;
  padding: 28px 24px 44px;
  color: var(--muted);
  font-size: 14px;
}

footer p {
  margin-bottom: 8px;
}

@media (max-width: 760px) {
  .site-header {
    align-items: flex-start;
    gap: 16px;
    padding: 18px;
  }

  nav {
    gap: 14px;
    padding-top: 8px;
  }

  main {
    padding: 0 18px 44px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 36px 0 40px;
  }

  .hero-copy {
    min-height: auto;
  }

  h1,
  .page-header h1 {
    font-size: 40px;
    line-height: 1.04;
  }

  .hero p,
  .page-header p {
    font-size: 17px;
  }

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

  .hero-panel div,
  .content-grid article,
  .prose {
    padding: 24px;
  }
}
