:root {
  color-scheme: light;
  --ink: #18212f;
  --muted: #5d6978;
  --line: #d9e0e8;
  --paper: #ffffff;
  --wash: #f5f7fa;
  --blue: #2157a4;
  --green: #2f6f57;
  --gold: #a96818;
  --red: #a43f3c;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
}

.nav {
  width: min(1120px, calc(100% - 32px));
  min-height: 64px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

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

.mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-weight: 800;
}

.links {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 14px;
}

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

.links a:hover {
  color: var(--ink);
}

.hero {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 64px 0 42px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(330px, 0.95fr);
  gap: 48px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-weight: 750;
  font-size: 14px;
}

h1 {
  margin: 0;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 0.98;
  letter-spacing: 0;
}

.lead {
  max-width: 680px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 19px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--ink);
  border-radius: 6px;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.button.secondary {
  background: #fff;
  color: var(--ink);
}

.trust {
  margin-top: 26px;
  padding: 0;
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 15px;
  list-style: none;
}

.trust li::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 10px;
  border-radius: 999px;
  background: var(--green);
  vertical-align: 2px;
}

.brief-preview {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(24, 33, 47, 0.12);
  overflow: hidden;
}

.preview-head {
  padding: 18px 20px;
  background: #eef3f8;
  border-bottom: 1px solid var(--line);
}

.preview-head strong {
  display: block;
  font-size: 18px;
}

.preview-head span {
  color: var(--muted);
  font-size: 14px;
}

.prospect-row {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  gap: 14px;
  align-items: start;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}

.prospect-row:last-child {
  border-bottom: 0;
}

.rank {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: var(--blue);
  color: #fff;
  font-weight: 800;
}

.row-title {
  margin: 0;
  font-weight: 750;
}

.row-meta {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.fit {
  color: var(--green);
  font-weight: 750;
  font-size: 14px;
}

section {
  padding: 56px 0;
}

.band {
  background: var(--wash);
  border-block: 1px solid var(--line);
}

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

.section-title {
  max-width: 760px;
  margin-bottom: 28px;
}

h2 {
  margin: 0;
  font-size: 32px;
  line-height: 1.1;
}

.section-title p {
  margin: 12px 0 0;
  color: var(--muted);
}

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

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

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

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

.price {
  margin: 18px 0 8px;
  font-size: 34px;
  font-weight: 800;
}

.small {
  color: var(--muted);
  font-size: 14px;
}

.list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.list li {
  padding: 9px 0;
  border-top: 1px solid var(--line);
}

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

.step {
  padding: 20px;
  border-left: 4px solid var(--gold);
  background: #fff;
}

.step strong {
  display: block;
}

.policy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  align-items: start;
}

address {
  font-style: normal;
}

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

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

.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.legal-page {
  width: min(860px, calc(100% - 32px));
  margin: 0 auto;
  padding: 54px 0 72px;
}

.legal-page h1 {
  font-size: 44px;
}

.legal-page h2 {
  margin-top: 34px;
  font-size: 24px;
}

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

  .hero {
    padding-top: 42px;
  }

  .links {
    display: none;
  }
}
