/* volart. studio — volart.space
   Цвета и шрифт — по брендбуку: фон #14171C, акцент #E2571F только на точке
   знака и на выделениях, весь текст — JetBrains Mono, знак — Helvetica/Arial. */

@font-face {
  font-family: "JetBrains Mono";
  src: url("fonts/JetBrainsMono-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("fonts/JetBrainsMono-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #14171C;
  --surface: #1B1F26;
  --line: #2A3039;
  --text: #E8ECEF;
  --muted: #8A939D;
  --sub: #7D868F;
  --accent: #E2571F;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --logo: Helvetica, Arial, "Liberation Sans", sans-serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--mono);
  font-size: 15px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p, ol, dl, dd, figure, blockquote { margin: 0; }

a { color: inherit; text-decoration-color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent); }
a:focus-visible, .btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

::selection { background: var(--accent); color: var(--bg); }

.wrap { max-width: 960px; margin: 0 auto; padding: 0 20px; }

/* Первый экран */

.hero {
  min-height: 88vh;
  min-height: 88svh;
  display: flex;
  align-items: center;
  padding: 72px 0 64px;
  border-bottom: 1px solid var(--line);
}

.mark { line-height: 0; margin-bottom: 40px; }
.mark svg { width: 280px; max-width: 100%; height: auto; overflow: visible; }
.mark-word { font-family: var(--logo); fill: #FFFFFF; }
.mark-word .dot { fill: var(--accent); }
.mark-sub { font-family: var(--logo); fill: var(--sub); }

.lead {
  font-size: clamp(18px, 2.6vw, 24px);
  font-weight: 700;
  line-height: 1.6;
  max-width: 34em;
  margin-bottom: 36px;
}

.btn {
  display: inline-block;
  background: var(--accent);
  color: var(--bg);
  font-weight: 700;
  font-size: 15px;
  line-height: 1.4;
  padding: 14px 24px;
  border-radius: 4px;
  text-decoration: none;
}
.btn:hover { background: #F06A33; color: var(--bg); }

.tags {
  margin-top: 40px;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.09em;
}

/* Разделы */

.section { padding: 88px 0; border-bottom: 1px solid var(--line); }

h2 {
  font-size: clamp(22px, 3vw, 28px);
  line-height: 1.3;
  margin-bottom: 40px;
}

.kicker {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.09em;
  margin-bottom: 8px;
}

h3 { font-size: 17px; line-height: 1.4; margin-bottom: 10px; }

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

.item p, .steps p { color: var(--text); }

.about {
  margin-top: 56px;
  padding-left: 24px;
  border-left: 2px solid var(--accent);
  color: var(--muted);
  max-width: 46em;
}

.facts {
  margin-top: 32px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: 32px 48px;
}
.facts dt {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.facts dd { margin: 0; }
.facts a { display: inline-block; margin-top: 6px; }

/* Как работаем */

.steps {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px 48px;
  counter-reset: step;
}
.steps li { counter-increment: step; }
.steps h3::before {
  content: counter(step) ".";
  color: var(--accent);
  margin-right: 10px;
}

/* Отзывы */

.quote {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}
.quote blockquote p::before { content: "«"; }
.quote blockquote p::after { content: "»"; }
.quote figcaption { display: flex; flex-direction: column; line-height: 1.5; font-size: 14px; }
.quote figcaption span { color: var(--muted); }

/* Контакты */

.contacts-lead { margin-bottom: 28px; max-width: 40em; }

.info { margin-top: 48px; display: grid; gap: 14px; }
.info div { display: grid; grid-template-columns: 11em 1fr; gap: 16px; }
.info dt { color: var(--muted); }
.info dd { overflow-wrap: anywhere; }

/* Подвал */

.footer { padding: 32px 0 40px; color: var(--muted); font-size: 13px; }
.footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 24px; }
.wordmark { font-family: var(--logo); font-weight: 700; font-size: 16px; letter-spacing: -0.02em; color: #FFFFFF; }
.wordmark .dot { color: var(--accent); }

/* Телефон */

@media (max-width: 720px) {
  body { font-size: 14px; }
  .hero { min-height: auto; padding: 56px 0 56px; }
  .mark { margin-bottom: 32px; }
  .mark svg { width: 220px; }
  .lead { margin-bottom: 28px; }
  .lead br { display: none; }
  .btn { display: block; text-align: center; }
  .section { padding: 64px 0; }
  h2 { margin-bottom: 28px; }
  .grid, .steps { grid-template-columns: 1fr; gap: 32px; }
  .about { margin-top: 40px; padding-left: 18px; }
  .facts { grid-template-columns: 1fr; gap: 24px; }
  .quote { padding: 22px; }
  .info div { grid-template-columns: 1fr; gap: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
