@import url('https://fonts.googleapis.com/css2?family=Source+Sans+3:wght@400;600;700&display=swap');

:root {
  --ink: #111111;
  --muted: #5f5f5f;
  --line: #e4e4e4;
  --accent: #a4161a;
  --paper: #ffffff;
  --soft: #f6f6f6;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Source Sans 3', system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.6;
}

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

.wrap { max-width: 1040px; margin: 0 auto; padding: 0 24px; }

header.top {
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; background: rgba(255,255,255,0.96); z-index: 10;
}
header.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { font-weight: 700; font-size: 22px; letter-spacing: 0.02em; color: var(--ink); text-decoration: none; }
.brand span { color: var(--accent); }
nav.main { display: flex; gap: 20px; align-items: center; font-size: 16px; }
nav.main a { color: var(--ink); text-decoration: none; }
nav.main a:hover { color: var(--accent); }
.lang { border: 1px solid var(--line); padding: 2px 10px; border-radius: 4px; }

@media (max-width: 760px) {
  nav.main a.opt { display: none; }
}

.hero { padding: 88px 0 64px; border-bottom: 1px solid var(--line); }
.eyebrow { text-transform: uppercase; letter-spacing: 0.12em; font-size: 13px; font-weight: 600; color: var(--accent); }
h1 { font-size: clamp(36px, 6vw, 60px); line-height: 1.08; margin: 12px 0 20px; font-weight: 700; }
.lead { font-size: clamp(19px, 2.4vw, 23px); color: #333; max-width: 760px; }
.cta { display: inline-block; margin-top: 28px; background: var(--ink); color: #fff; padding: 14px 26px; border-radius: 4px; text-decoration: none; font-weight: 600; }
.cta:hover { background: var(--accent); }
.cta.ghost { background: transparent; color: var(--ink); border: 1px solid var(--ink); margin-left: 12px; }
.cta.ghost:hover { color: var(--accent); border-color: var(--accent); background: transparent; }
.status { margin-top: 22px; font-size: 15px; color: var(--muted); }

section { padding: 72px 0; border-bottom: 1px solid var(--line); }
section.soft { background: var(--soft); }
h2 { font-size: clamp(28px, 4vw, 38px); line-height: 1.15; margin: 0 0 16px; }
h3 { font-size: 21px; margin: 0 0 8px; }
.intro { max-width: 760px; color: #333; margin-bottom: 36px; }

.grid { display: grid; gap: 24px; }
.g2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.g3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

.card { border: 1px solid var(--line); background: #fff; padding: 24px; border-radius: 6px; }
.card p { margin: 0; color: #333; font-size: 17px; }
.card .tag { font-size: 13px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); font-weight: 600; display: block; margin-bottom: 6px; }

ol.steps { list-style: none; padding: 0; margin: 0; counter-reset: s; display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
ol.steps li { counter-increment: s; border-left: 3px solid var(--ink); padding: 4px 0 4px 18px; }
ol.steps li::before { content: counter(s, decimal-leading-zero); display: block; font-weight: 700; color: var(--accent); font-size: 14px; letter-spacing: 0.08em; }
ol.steps li strong { display: block; font-size: 19px; }
ol.steps li span { color: #333; font-size: 17px; }

ul.plain { padding-left: 20px; margin: 0; }
ul.plain li { margin-bottom: 8px; }

.figure { border: 1px solid var(--line); border-radius: 6px; background: #fff; padding: 12px; }
.figure svg { width: 100%; height: auto; display: block; }

.note { font-size: 15px; color: var(--muted); margin-top: 20px; max-width: 760px; }

.contact { text-align: left; }
.contact .big { font-size: 22px; font-weight: 600; }

footer { padding: 40px 0 56px; color: var(--muted); font-size: 15px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
footer a { color: var(--muted); }
