:root {
  color-scheme: light;
  --bg: #f7f8fb;
  --surface: #ffffff;
  --text: #202223;
  --muted: #5f6874;
  --border: #dfe3e8;
  --brand: #4f35d5;
  --brand-dark: #2d1e85;
  --accent: #16a34a;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a {
  color: var(--brand);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.nav {
  max-width: 1080px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

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

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: contain;
}

.brand span {
  line-height: 1.2;
}

.nav-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.hero {
  max-width: 1080px;
  margin: 0 auto;
  padding: 56px 24px 32px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 32px;
  align-items: center;
}

.hero h1 {
  margin: 0;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.04;
  letter-spacing: 0;
}

.hero p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
  max-width: 680px;
}

.hero-logo {
  width: 100%;
  border-radius: 70px;
  box-shadow: 0 16px 40px rgba(45, 30, 133, 0.18);
}

.main {
  max-width: 1080px;
  margin: 0 auto;
  padding: 24px;
}

.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
  margin-bottom: 20px;
}

.panel h2,
.legal h1,
.legal h2 {
  margin: 0 0 12px;
  line-height: 1.25;
  letter-spacing: 0;
}

.panel p,
.legal p,
.legal li {
  color: var(--muted);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #edf9f0;
  color: #0b3d18;
  font-weight: 700;
  font-size: 13px;
}

.legal {
  max-width: 860px;
}

.legal section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 16px;
}

.legal ul {
  margin: 8px 0 0;
  padding-left: 22px;
}

.meta {
  color: var(--muted);
  margin-top: 0;
}

.site-footer {
  max-width: 1080px;
  margin: 0 auto;
  padding: 28px 24px 40px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

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

  .hero {
    grid-template-columns: 1fr;
    padding-top: 36px;
  }

  .hero-logo {
    max-width: 220px;
  }
}
