/* sviridov.eu — строгий консалтинговый минимализм. Без веб-шрифтов и JS. */
:root {
  --ink: #14181f;
  --body: #2b313b;
  --muted: #6b7280;
  --line: #e3e5e8;
  --bg: #ffffff;
  --tint: #f6f7f8;
  --accent: #1d3557;
  --serif: "Iowan Old Style", "Charter", "Georgia", "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Inter", "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--body); font: 17px/1.65 var(--sans); }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }
img { max-width: 100%; height: auto; }
h1, h2, h3 { color: var(--ink); font-family: var(--serif); font-weight: 500; line-height: 1.2; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); margin: 0 0 1.25rem; }
h2 { font-size: 1.7rem; margin: 0 0 1.5rem; }
h3 { font-size: 1.15rem; margin: 0 0 .5rem; }
p { margin: 0 0 1rem; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 28px; }
.narrow > * { max-width: 760px; }
section { padding: 72px 0; border-top: 1px solid var(--line); }
section:first-child { border-top: 0; }
.muted, .note { color: var(--muted); font-size: .92rem; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .75rem; color: var(--muted); margin-bottom: 1rem; }
.lead { font-size: 1.2rem; color: var(--body); max-width: 680px; }

/* header / footer */
.site-header { border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; flex-wrap: wrap; }
.brand { font-family: var(--serif); font-size: 1.2rem; color: var(--ink); text-decoration: none; }
.brand span { display: block; font-family: var(--sans); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.nav { display: flex; gap: 22px; flex-wrap: wrap; font-size: .95rem; }
.nav a { color: var(--body); text-decoration: none; padding: 4px 0; border-bottom: 1px solid transparent; }
.nav a:hover, .nav a[aria-current] { color: var(--ink); border-bottom-color: var(--ink); }
.nav .lang { border: 1px solid var(--line); padding: 3px 9px; font-size: .8rem; letter-spacing: .08em; }
.site-footer { border-top: 1px solid var(--line); padding: 40px 0 56px; font-size: .92rem; }
.site-footer p { margin: 0 0 .4rem; }

/* buttons */
.btn { display: inline-block; background: var(--ink); color: #fff; text-decoration: none; padding: 13px 24px; font-size: .95rem; letter-spacing: .02em; }
.btn:hover { background: var(--accent); color: #fff; }
.link { text-decoration: none; font-size: .95rem; margin-left: 18px; }
.actions { margin-top: 2rem; }

/* hero */
.hero { padding: 96px 0 80px; }
.hero .wrap { display: grid; grid-template-columns: 1fr auto; gap: 56px; align-items: start; }
.hero h1 { max-width: 760px; }
.portrait { border-radius: 50%; filter: grayscale(1); }

/* stats */
.stats { background: var(--tint); padding: 48px 0; border-top: 1px solid var(--line); }
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.grid4 b { display: block; font-family: var(--serif); font-weight: 500; font-size: 2rem; color: var(--ink); line-height: 1.1; }
.grid4 span { font-size: .92rem; color: var(--muted); }
.stats .note { margin: 1.75rem 0 0; }

/* grids */
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.grid3 > div { border-top: 2px solid var(--ink); padding-top: 18px; }
.steps { list-style: none; padding: 0; margin: 0; counter-reset: s; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.steps li { counter-increment: s; }
.steps li::before { content: "0" counter(s); display: block; font-family: var(--serif); font-size: 1rem; color: var(--muted); margin-bottom: .6rem; }

/* offers */
.offer ul { padding-left: 1.1rem; margin: 0; }
.offer li { margin-bottom: .5rem; }
.plain { padding-left: 1.1rem; }
.plain li { margin-bottom: .45rem; }

/* faq */
.faq details { border-top: 1px solid var(--line); padding: 18px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-family: var(--serif); font-size: 1.12rem; color: var(--ink); list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--muted); }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: .8rem 0 0; }

/* cta */
.cta { background: var(--ink); color: #d7dbe0; }
.cta h2 { color: #fff; }
.cta .btn { background: #fff; color: var(--ink); }
.cta .btn:hover { background: #dfe5ee; }
.cta .link { color: #fff; }

/* page head */
.page-head { padding: 80px 0 48px; }
.about-head { display: flex; gap: 28px; align-items: center; }
.about-head h1 { margin-bottom: .3rem; }

/* cases */
.case { border-top: 2px solid var(--ink); padding: 22px 0 36px; }
.case header h2 { margin: 0; }
.case header p { margin: .2rem 0 1rem; }
.case h3 { font-family: var(--sans); font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-top: 1.4rem; }
.case ul { padding-left: 1.1rem; }
.case .res li { color: var(--ink); }

/* article list */
.articles { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.articles li { border-top: 1px solid var(--line); }
.articles li:last-child { border-bottom: 1px solid var(--line); }
.articles a { display: grid; grid-template-columns: 150px 1fr; column-gap: 28px; padding: 20px 0; text-decoration: none; color: var(--body); }
.articles time { grid-row: span 2; color: var(--muted); font-size: .88rem; padding-top: 3px; }
.articles .t { font-family: var(--serif); font-size: 1.2rem; color: var(--ink); line-height: 1.3; }
.articles .d { font-size: .93rem; color: var(--muted); margin-top: .3rem; }
.articles a:hover .t { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

/* article */
.post { padding: 56px 0 72px; }
.crumbs { font-size: .9rem; margin-bottom: 2rem; }
.crumbs a { text-decoration: none; color: var(--muted); }
.meta { color: var(--muted); font-size: .9rem; margin-bottom: 2.5rem; }
.prose { font-size: 1.08rem; }
.prose h2 { font-size: 1.45rem; margin: 2.4rem 0 1rem; }
.prose h3 { margin: 1.8rem 0 .6rem; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }
.prose blockquote { margin: 1.5rem 0; padding-left: 1.2rem; border-left: 2px solid var(--ink); color: var(--ink); }
.prose table { border-collapse: collapse; width: 100%; font-size: .95rem; margin: 1.5rem 0; }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: 8px 10px 8px 0; text-align: left; }
.prose li { margin-bottom: .35rem; }
.post-foot { margin-top: 3rem; border-top: 1px solid var(--line); padding-top: 1.5rem; }
.orig { color: var(--muted); font-size: .9rem; }
.author { display: flex; gap: 16px; align-items: center; margin-top: 1.5rem; }
.author img { border-radius: 50%; filter: grayscale(1); }
.author p { margin: 0; font-size: .93rem; line-height: 1.5; }

.contacts { display: grid; grid-template-columns: 120px 1fr; gap: 14px 24px; font-size: 1.1rem; margin: 0 0 1.5rem; }
.contacts dt { color: var(--muted); font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; padding-top: 4px; }
.contacts dd { margin: 0; }

@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero .portrait { display: none; }
  .grid4 { grid-template-columns: repeat(2, 1fr); }
  .grid3, .steps { grid-template-columns: 1fr; }
  section { padding: 52px 0; }
  .articles a { grid-template-columns: 1fr; }
  .articles time { grid-row: auto; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .wrap { padding: 0 20px; }
  .nav { gap: 14px; font-size: .9rem; }
  .link { margin-left: 0; display: inline-block; margin-top: 12px; }
}
