/* Адаптация Aerial, HTML5 UP, CC BY 3.0. Фоновая фотография сохранена. */
:root { color-scheme: dark; --ink: #f4f3ef; --muted: #c8d2d8; --accent: #e2c7a6; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 2rem; }
body { margin: 0; color: var(--ink); background: #172b3a; font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 1rem; line-height: 1.7; }
body::before { content: ""; position: fixed; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(16,32,44,.72), rgba(16,32,44,.95)), url("images/bg.jpg") center / cover no-repeat; }
a { color: inherit; text-underline-offset: .25em; }
a:hover { color: var(--accent); }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.18; letter-spacing: -.025em; }
h1 { font-size: clamp(2.5rem, 5.6vw, 5.3rem); max-width: 900px; margin-bottom: 1.5rem; }
h2 { font-size: clamp(1.8rem, 3vw, 3rem); margin-bottom: 2rem; }
h3 { font-size: 1.25rem; }
p { color: var(--muted); }
.site-header, main, .site-footer { width: min(1120px, calc(100% - 3rem)); margin-inline: auto; }
.site-header { display: flex; justify-content: space-between; align-items: center; gap: 2rem; padding-block: 2rem; border-bottom: 1px solid #ffffff26; }
.brand { text-decoration: none; font-size: 1.5rem; font-weight: 750; letter-spacing: -.04em; }
.brand span { font-weight: 400; }
nav { display: flex; gap: 1.5rem; flex-wrap: wrap; }
nav a { text-decoration: none; font-size: .95rem; }
section { padding-block: 4rem; border-bottom: 1px solid #ffffff26; }
.hero { padding-block: 7rem 6rem; }
.eyebrow { color: var(--accent); font-size: .8rem; letter-spacing: .12em; margin-bottom: 1.5rem; }
.intro { max-width: 650px; font-size: 1.15rem; margin-bottom: 2rem; }
.button { display: inline-block; padding: .75rem 1.3rem; background: var(--accent); color: #172b3a; border-radius: 3px; text-decoration: none; font-weight: 650; }
.button:hover { background: #f2dbc1; color: #172b3a; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.card { padding: 1.6rem; border: 1px solid #ffffff30; background: #ffffff05; border-radius: 4px; }
.card p, .steps p { margin-bottom: 0; }
.statement p:not(.eyebrow) { max-width: 750px; font-size: 1.1rem; }
.steps { padding-left: 1.4rem; display: grid; gap: 1.8rem; }
.steps li { padding-left: .7rem; max-width: 750px; }
.steps li::marker { color: var(--accent); }
.site-footer { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-block: 2rem; color: var(--muted); font-size: .85rem; }
.error-page { min-height: 70vh; padding-block: 5rem; }
.error-page p { max-width: 650px; }
@media (max-width: 700px) {
  .site-header, main, .site-footer { width: calc(100% - 2rem); }
  .site-header { align-items: flex-start; flex-direction: column; gap: 1rem; }
  nav { gap: .7rem 1rem; }
  .hero { padding-block: 4rem; }
  section { padding-block: 3rem; }
  .cards { grid-template-columns: 1fr; }
  h1 { overflow-wrap: break-word; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
