:root {
  color-scheme: light;
  --ink: #14142b;
  --muted: #5f6475;
  --line: #dfe3ee;
  --soft: #f5f7fb;
  --brand: #302db8;
  --brand-dark: #100f3d;
  --accent: #15a37b;
}

* {
  box-sizing: border-box;
}

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

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

a:hover {
  text-decoration: underline;
}

.wrap {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

header {
  border-bottom: 1px solid var(--line);
  background: #ffffff;
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
}

nav img {
  width: 156px;
  height: auto;
}

nav div {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: flex-end;
  font-size: 0.95rem;
}

main {
  padding: 56px 0 64px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: 42px;
  align-items: start;
}

.eyebrow {
  color: var(--brand);
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
  font-size: 0.8rem;
}

h1 {
  margin: 12px 0 18px;
  font-size: clamp(2.35rem, 4vw, 4.4rem);
  line-height: 1.03;
  letter-spacing: 0;
}

h2 {
  margin: 0 0 12px;
  font-size: clamp(1.35rem, 2vw, 2rem);
  line-height: 1.2;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  line-height: 1.25;
}

p {
  margin: 0 0 16px;
}

.lead {
  color: var(--muted);
  font-size: 1.15rem;
  max-width: 720px;
}

.panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
  padding: 24px;
}

.answer {
  border-left: 4px solid var(--accent);
  background: #f1fbf7;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: #ffffff;
}

.band {
  margin-top: 48px;
  padding: 36px;
  border-radius: 8px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--brand-dark), var(--brand));
}

.band a {
  color: #ffffff;
  font-weight: 800;
}

.links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 20px;
}

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

.button:hover {
  text-decoration: none;
  background: var(--brand-dark);
}

footer {
  border-top: 1px solid var(--line);
  padding: 28px 0;
  color: var(--muted);
  font-size: 0.95rem;
}

@media (max-width: 860px) {
  .hero,
  .grid {
    grid-template-columns: 1fr;
  }

  nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 18px 0;
  }
}
