:root {
  --ink: #2d4355;
  --ink-strong: #223545;
  --muted: #64737e;
  --line: #dce5ea;
  --panel: #f5f8fa;
  --accent: #6f8d9e;
  --pop: #ff7a1a;
  --pop-soft: #fff0e6;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

::selection {
  background: var(--pop);
  color: var(--white);
}

a {
  color: inherit;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px max(20px, calc((100vw - 1120px) / 2));
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
}

.brand img {
  display: block;
  width: 190px;
  max-width: 50vw;
}

.nav a {
  text-decoration: none;
  font-weight: 750;
}

.nav-links {
  display: flex;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}

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

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.62fr);
  gap: 44px;
  align-items: center;
  padding: 70px 0 54px;
}

.eyebrow {
  color: var(--pop);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 780px;
  margin-bottom: 20px;
  color: var(--ink-strong);
  font-size: clamp(42px, 6vw, 70px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  color: var(--ink-strong);
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  color: var(--ink-strong);
}

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

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

.button:hover,
.button:focus-visible {
  border-color: var(--pop);
  background: var(--pop);
  outline: none;
}

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

.hero-card img {
  display: block;
  width: 100%;
  border-radius: 8px;
}

.section {
  padding: 48px 0;
}

.soft {
  width: 100%;
  background: var(--panel);
}

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

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

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

.card b {
  color: var(--pop);
}

.article {
  max-width: 820px;
}

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

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

.link-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  text-decoration: none;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px 0;
  color: var(--muted);
  font-size: 14px;
}

footer a {
  margin-left: 14px;
}

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

  .nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    flex-wrap: wrap;
  }

  footer {
    flex-direction: column;
  }
}
