/* Эталон мини-проекта «Сайт студии». Один файл стилей, без внешних шрифтов. */
:root {
  --bg: #ffffff;
  --soft: #f1f5f9;
  --ink: #182538;
  --muted: #56657a;
  --line: #c7d3e2;
  --accent: #2544ba;
  --radius: 12px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
}

.wrap {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 16px;
}

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

a:focus-visible,
.btn:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  background: var(--ink);
  color: #fff;
  padding: 8px 12px;
  border-radius: 8px;
}
.skip:focus { top: 12px; }

.top { border-bottom: 1px solid var(--line); }
.top__in {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  padding-top: 8px;
  padding-bottom: 8px;
}
.logo { font-weight: 700; color: var(--ink); text-decoration: none; }
.top nav { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.top nav a { color: var(--ink); text-decoration: none; padding: 6px 0; }
.top nav a:hover { color: var(--accent); }

.hero { padding: 56px 0 48px; }
h1 { font-size: clamp(32px, 7vw, 52px); line-height: 1.08; margin: 0 0 14px; letter-spacing: -0.02em; }
.lead { font-size: 19px; color: var(--muted); max-width: 36em; margin: 0 0 24px; }

.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  padding: 14px 20px;
  border-radius: 10px;
  min-height: 48px;
}
.btn:hover { background: #1c3596; }

.block { padding: 44px 0; }
.block--soft { background: var(--soft); }
h2 { font-size: 28px; line-height: 1.2; margin: 0 0 20px; }

.prices { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.prices li {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 16px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.prices b { white-space: nowrap; }

.steps { margin: 0; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 12px; }
.steps li {
  counter-increment: s;
  display: grid;
  gap: 2px;
  padding: 14px 16px 14px 56px;
  position: relative;
  background: #fff;
  border-radius: var(--radius);
}
.steps li::before {
  content: counter(s);
  position: absolute;
  left: 16px;
  top: 14px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 15px;
}
.steps span { color: var(--muted); }

.contacts { margin: 0; display: grid; gap: 12px; }
.contacts div { display: grid; gap: 2px; }
.contacts dt { color: var(--muted); font-size: 15px; }
.contacts dd { margin: 0; font-weight: 600; }

.foot { border-top: 1px solid var(--line); padding: 20px 0; color: var(--muted); font-size: 15px; }

@media (min-width: 760px) {
  .prices { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .steps li { padding: 56px 16px 16px; }
  .steps li::before { top: 16px; }
  .contacts { grid-template-columns: repeat(3, 1fr); }
}
