:root {
  --ink: #14202e;
  --ink-soft: #3d4a5a;
  --muted: #6b7785;
  --line: #dfe4ea;
  --bg: #f5f7f9;
  --card: #ffffff;
  --brand: #1d3f66;
  --brand-dark: #142f4d;
  --accent: #ff6a1a;
  --accent-dark: #e2530a;
  --accent-strong: #c34a00;
  --accent-strong-dark: #a33e00;
  --ok: #1f8a4c;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(20, 32, 46, 0.08);
  --wrap: 1180px;
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--brand);
}

h1,
h2,
h3 {
  line-height: 1.2;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2rem, 4.4vw, 3.2rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
}

h3 {
  font-size: 1.15rem;
  font-weight: 700;
}

p {
  margin: 0 0 1em;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 72px 0;
}

.section--white {
  background: var(--card);
}

.section__head {
  max-width: 720px;
  margin-bottom: 36px;
}

.section__head p {
  color: var(--ink-soft);
}

.eyebrow {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-strong);
  margin-bottom: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 0 24px;
  border: 0;
  border-radius: 10px;
  font: inherit;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}

.btn:active {
  transform: translateY(1px);
}

.btn--accent {
  background: var(--accent-strong);
  color: #fff;
}

.btn--accent:hover {
  background: var(--accent-strong-dark);
}

.btn--ghost {
  background: transparent;
  color: var(--brand);
  box-shadow: inset 0 0 0 2px var(--brand);
}

.btn--ghost:hover {
  background: var(--brand);
  color: #fff;
}

.btn--light {
  background: #fff;
  color: var(--brand-dark);
}

.btn-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 220px));
  gap: 12px;
}

.btn-row .btn {
  width: 100%;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.visually-hidden:focus {
  top: 8px;
  left: 8px;
  z-index: 100;
  width: auto;
  height: auto;
  padding: 10px 16px;
  clip: auto;
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font-weight: 700;
}

main:focus {
  outline: none;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

@media (max-width: 560px) {
  body {
    font-size: 16px;
  }

  .wrap {
    padding: 0 16px;
  }

  .section {
    padding: 52px 0;
  }

  .btn-row {
    grid-template-columns: 1fr;
  }
}

.btn[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
}
