:root {
  color-scheme: light;
  --bg: #f6f7fb;
  --text: #182032;
  --muted: #5e6a7f;
  --card: #ffffff;
  --line: #dfe4ee;
  --brand: #7c2537;
  --brand-dark: #4a1630;
  --accent: #2563eb;
}

* {
  box-sizing: border-box;
}

html {
  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;
}

body {
  margin: 0;
}

a {
  color: var(--accent);
}

.shell {
  min-height: 100vh;
}

.topbar {
  background: var(--card);
  border-bottom: 1px solid var(--line);
}

.topbar-inner {
  width: min(1040px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 10px;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px;
  font-size: 14px;
  font-weight: 700;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
}

.hero {
  background: var(--brand-dark);
  color: white;
}

.hero-inner {
  width: min(1040px, calc(100% - 32px));
  margin: 0 auto;
  padding: 56px 0 46px;
  display: grid;
  grid-template-columns: 1fr 220px;
  align-items: center;
  gap: 36px;
}

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

.hero p {
  margin: 0;
  max-width: 660px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
}

.hero-icon {
  width: 188px;
  height: 188px;
  justify-self: end;
  border-radius: 34px;
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.32);
}

.content {
  width: min(920px, calc(100% - 32px));
  margin: 0 auto;
  padding: 36px 0 64px;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px;
  margin: 0 0 18px;
}

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

.card h2,
.card h3 {
  margin-top: 0;
  line-height: 1.2;
}

.card h2 {
  font-size: 24px;
}

.card h3 {
  font-size: 19px;
}

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

.card ul {
  padding-left: 22px;
}

.meta {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 8px;
  background: var(--brand);
  color: white;
  text-decoration: none;
  font-weight: 800;
}

.footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  padding: 24px 0;
  font-size: 14px;
}

.footer-inner {
  width: min(1040px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
}

@media (max-width: 760px) {
  .topbar-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
    gap: 12px;
  }

  .nav {
    justify-content: flex-start;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    padding: 38px 0;
  }

  .hero-icon {
    width: 116px;
    height: 116px;
    justify-self: start;
    border-radius: 24px;
  }

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

  .card {
    padding: 22px;
  }
}
