/* БлагоКонтур — оформление публичного сайта.
   Подключается после app.css только на страницах сайта (base_site.html).
   Фирменная схема одна для светлой и тёмной темы устройства: сумерки двора (тёмные полосы)
   и светлые листы. Три смысловых цвета: оранжевый коммунальной техники — «в работе»,
   зелёный газона — «принято», жёлтый свет окна — «обращение жителя».
   Шрифты: Tektur — заголовки и цифры, Inter — текст, Geist Mono — сроки, коды, табло.
   Вся анимация — внутри prefers-reduced-motion: no-preference; без неё видно конечное состояние.
   Встроенных стилей нет (CSP). */

/* ---------- токены ---------- */
.site, .site .lt {
  --paper: #EEF2F0; --sheet: #FFFFFF; --sheet-2: #F5F8F7;
  --ink: #0F2224; --ink-2: #3E5553; --ink-3: #4F6664;
  --line: #CBD7D4; --line-2: #DFE7E5;
  --contour: #0E6B5C; --contour-2: #D9ECE7; --contour-ink: #FFFFFF; --mark: #2E9B7F;
  --signal: #8A4B00; --signal-2: #FBEBD3; --signal-mark: #E08A2E;
  --alarm: #B3261E; --alarm-2: #F9E0DC; --on-alarm: #FFFFFF; --on-signal: #FFFFFF;
  --orange-ink: #A84A00; --lawn-ink: #1A6E45;
  --shadow: 0 1px 1px rgba(15, 34, 36, .04), 0 2px 6px rgba(15, 34, 36, .05), 0 18px 40px -16px rgba(15, 34, 36, .16);
  --shadow-lg: 0 2px 4px rgba(15, 34, 36, .05), 0 40px 80px -28px rgba(15, 34, 36, .32);
  color: var(--ink);
  color-scheme: light;
}
.site {
  --dusk: #0C1F22; --dusk-2: #13302F; --dusk-3: #1B403D; --dusk-line: rgba(232, 240, 238, .12);
  --on-dusk: #E8F0EE; --on-dusk-2: #A9C1BD;
  --orange: #FF8A3D; --orange-2: #FFA368; --lawn: #6FD39A; --win: #FFD37A; --red-l: #FF7A6B;
  --f-display: "Tektur", "Inter", system-ui, sans-serif;
  --f-body: "Inter", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --f-data: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --radius: 18px;
  background: var(--paper);
  font-size: 16px; line-height: 1.6;
  font-feature-settings: "cv11", "ss03";
}
.site .dk {
  --ink: var(--on-dusk); --ink-2: var(--on-dusk-2); --ink-3: #93ADA9;
  --line: rgba(232, 240, 238, .16); --line-2: rgba(232, 240, 238, .08);
  --sheet: var(--dusk-2); --sheet-2: var(--dusk-3);
  --contour: var(--lawn); --contour-2: rgba(111, 211, 154, .14); --contour-ink: var(--dusk);
  --signal: var(--win); --signal-2: rgba(255, 211, 122, .13);
  --alarm: var(--red-l); --alarm-2: rgba(255, 122, 107, .14);
  background-color: var(--dusk); color: var(--ink);
}
.site .lt { background-color: var(--sheet); }

.site h1, .site h2, .site h3, .site h4 { font-family: var(--f-display); font-weight: 500; letter-spacing: -.01em; }
.site h2 { font-size: clamp(30px, 3.6vw, 50px); line-height: 1.04; letter-spacing: -.02em; text-wrap: balance; }
.site h3 { font-size: 24px; line-height: 1.15; }
.site em { font-style: normal; }
.site :focus-visible { outline-color: var(--orange-ink); }
.site .dk :focus-visible { outline-color: var(--orange); }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 32px; }
.eyebrow { font: 500 12px/1.3 var(--f-data); letter-spacing: .1em; text-transform: uppercase; color: var(--contour); margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: var(--orange); flex: none; }
.tag-s { display: inline-block; font: 500 10.5px/1.2 var(--f-data); letter-spacing: .08em; text-transform: uppercase; color: var(--signal); border: 1px solid currentColor; border-radius: 999px; padding: 3px 8px; vertical-align: 1px; }
.site .ref { font-family: var(--f-data); }

/* ---------- кнопки ---------- */
.site .btn { background: var(--orange); border-color: var(--orange); color: #0F2224; font-family: var(--f-body); font-weight: 650; box-shadow: 0 8px 24px -10px rgba(255, 138, 61, .7); }
.site .btn:hover { background: var(--orange-2); border-color: var(--orange-2); }
.site .btn.ghost { background: transparent; color: var(--ink); border-color: var(--line); box-shadow: none; }
.site .btn.ghost:hover { background: var(--sheet-2); border-color: var(--ink-3); }
.site .dk .btn.ghost { border-color: rgba(232, 240, 238, .34); }
.site .dk .btn.ghost:hover { background: rgba(232, 240, 238, .07); border-color: var(--on-dusk); }
.more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--contour); }
.more span { transition: transform .2s var(--ease); }
.more:hover span { transform: translateX(3px); }

/* ---------- шапка ---------- */
.site-head { position: sticky; top: 0; z-index: 30; }
.site .site-head.dk { background-color: rgba(12, 31, 34, .84); backdrop-filter: saturate(1.5) blur(16px); -webkit-backdrop-filter: saturate(1.5) blur(16px); border-bottom: 1px solid var(--dusk-line); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font: 650 19px/1 var(--f-display); letter-spacing: -.02em; }
.brand:hover { text-decoration: none; }
.brand svg { width: 26px; height: 26px; flex: none; color: var(--contour); }
.site .brand { font-weight: 500; font-size: 20px; letter-spacing: 0; }
.site .dk .brand svg { color: var(--orange); }
.site-nav { display: flex; align-items: center; gap: 26px; font-size: 14.5px; }
.site-nav > a { color: var(--ink-2); font-weight: 500; }
.site-nav > a:hover { color: var(--ink); text-decoration: none; }
.site-nav .btns { display: flex; gap: 8px; margin-left: 6px; }

/* ---------- полосы ---------- */
.band { padding: clamp(72px, 9vw, 120px) 0; background: var(--sheet); }
.band.fog { background: var(--paper); }
.band-h { max-width: 760px; margin-bottom: clamp(36px, 4.5vw, 56px); }
.band-h h2 { margin-bottom: 18px; }
.band-h > p:not(.eyebrow) { font-size: 18px; color: var(--ink-2); max-width: 640px; margin: 0; }
.band.dk h2 em, .hq h1 em { color: var(--lawn); }

/* ======================================================================
   ПЕРВЫЙ ЭКРАН — фото двора, путь работы, обращения жителей
   ====================================================================== */
.hq {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; justify-content: center;
  min-height: min(calc(100svh - 64px), 900px);
  padding: clamp(48px, 7vw, 96px) 0 clamp(64px, 7vw, 104px);
  background: #0C1F22;
}
/* Фото под затемнением: слева почти сплошное — там текст, справа двор виден. */
.hq-ph { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hq-ph img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; transform-origin: 68% 58%; }
.hq-ph::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(9, 26, 28, .95) 0%, rgba(9, 26, 28, .9) 40%, rgba(9, 26, 28, .74) 60%, rgba(9, 26, 28, .36) 82%, rgba(9, 26, 28, .26) 100%),
    linear-gradient(180deg, rgba(9, 26, 28, .55) 0%, rgba(9, 26, 28, 0) 26%, rgba(9, 26, 28, 0) 62%, rgba(12, 31, 34, .9) 100%);
}
.hq-in { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(32px, 5vw, 80px); align-items: center; width: 100%; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font: 500 12px/1.4 var(--f-data); letter-spacing: .1em; text-transform: uppercase; color: var(--on-dusk-2); margin: 0 0 18px; }
.kicker::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(255, 138, 61, .18); flex: none; }
.hq h1 { font-size: clamp(38px, 4.5vw, 64px); line-height: 1.02; letter-spacing: -.025em; margin: 0 0 22px; max-width: 13em; text-wrap: balance; color: #FFFFFF; text-shadow: 0 2px 28px rgba(0, 0, 0, .35); }
.hq h1 em { display: block; }
.hq .lead { font-size: clamp(17px, 1.3vw, 19px); line-height: 1.55; color: #C2D4D0; max-width: 34em; margin-bottom: 28px; }
.hq .actions { gap: 12px; }
/* Путь одной работы: точка идёт от договора к акту, акт загорается зелёным.
   Узлы стоят в начале четырёх равных колонок, поэтому дорожка — 75 % ширины. */
.route { position: relative; list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 520px; }
.route li { position: relative; padding-top: 22px; font: 500 12px/1.3 var(--f-data); letter-spacing: .06em; text-transform: uppercase; color: var(--on-dusk-2); }
.route li::before { content: ""; position: absolute; left: 0; top: 0; z-index: 1; box-sizing: border-box; width: 12px; height: 12px; border-radius: 50%; background: #0C1F22; border: 2px solid rgba(232, 240, 238, .5); }
.route li:last-child { color: var(--on-dusk); }
.route li:last-child::before { border-color: var(--lawn); background: var(--lawn); }
.route::before { content: ""; position: absolute; left: 6px; top: 5.5px; width: 75%; height: 1px; background: linear-gradient(90deg, rgba(232, 240, 238, .5), var(--lawn)); }
.route::after { content: ""; position: absolute; left: 0; top: -4px; z-index: 2; width: 75%; height: 20px; pointer-events: none; opacity: 0; background: radial-gradient(circle at 6px 50%, var(--orange) 0 4.5px, rgba(255, 138, 61, .3) 5.5px 9px, transparent 9.5px); }
.hq-cr { position: absolute; right: 16px; bottom: 12px; margin: 0; max-width: calc(100% - 32px); text-align: right; font: 400 11px/1.35 var(--f-body); color: rgba(232, 240, 238, .72); }
.hq-cr a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.hq-cr a:hover { color: var(--on-dusk); }
.hq::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: linear-gradient(90deg, transparent, rgba(255, 138, 61, .5), transparent); }

/* диспетчерская */
.disp { background: rgba(19, 48, 47, .78); border: 1px solid var(--dusk-line); border-radius: 20px; padding: 18px 18px 14px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7); }
.disp-h { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 12px; }
.disp-h b { font: 500 16px/1.2 var(--f-display); }
.disp-k { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-bottom: 12px; }
.disp-k > div { background: rgba(12, 31, 34, .6); border: 1px solid var(--dusk-line); border-radius: 12px; padding: 8px 10px 7px; display: grid; gap: 2px; }
.k-n { font: 500 26px/1 var(--f-display); font-variant-numeric: tabular-nums; }
.k-n[data-k="new"] { color: var(--win); }
.k-n[data-k="work"] { color: var(--orange); }
.k-n[data-k="done"] { color: var(--lawn); }
.k-l { font: 400 11px/1.2 var(--f-data); color: var(--on-dusk-2); }
.disp-l { list-style: none; margin: 0; padding: 0; display: grid; }
.dr { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 3px 10px; padding: 8px 6px; border-top: 1px solid var(--dusk-line); border-radius: 8px; }
.dr b { font-weight: 600; font-size: 14px; line-height: 1.3; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dr .chip { font: 500 11px/1 var(--f-data); padding: 4px 8px; border: 0; border-radius: 999px; align-self: start; white-space: nowrap; color: #0F2224; }
.dr .dr-m { grid-column: 1 / -1; font: 400 11.5px/1.3 var(--f-data); color: var(--on-dusk-2); }
.dr.s-new .chip { background: var(--win); }
.dr.s-work .chip { background: var(--orange); }
.dr.s-work.urg .chip { background: var(--red-l); }
.dr.s-done .chip { background: var(--lawn); }
.disp-f { font: 400 11.5px/1.45 var(--f-data); color: var(--on-dusk-2); margin: 10px 0 0; padding-top: 10px; border-top: 1px solid var(--dusk-line); }

/* ======================================================================
   УСЛУГИ — вкладки
   ====================================================================== */
.tab-list { display: none; }
.js .tab-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 26px; }
.tab { position: relative; display: grid; gap: 4px; text-align: left; padding: 16px 18px 15px; border: 1px solid var(--line); border-radius: 16px; background: var(--sheet); color: var(--ink); cursor: pointer; font: inherit; overflow: hidden; transition: border-color .2s ease, background-color .25s ease, transform .2s var(--ease); }
.tab b { font: 500 18px/1.2 var(--f-display); }
.tab span { font: 400 12.5px/1.3 var(--f-data); color: var(--ink-3); }
.tab:hover { border-color: var(--contour); }
.tab::before { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%; background: var(--orange); transform: scaleX(0); transform-origin: 0 50%; transition: transform .35s var(--ease); }
.tab[aria-selected="true"] { background: var(--dusk); border-color: var(--dusk); color: var(--on-dusk); }
.tab[aria-selected="true"] span { color: var(--lawn); }
.tab[aria-selected="true"]::before { transform: none; }
.tab-panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
.tab-panel + .tab-panel { margin-top: 64px; }
.js .tab-panel + .tab-panel { margin-top: 0; }
.tab-panel[hidden] { display: none; }
.tp-text h3 { font-size: clamp(24px, 2.4vw, 32px); margin-bottom: 12px; }
.tp-lead { font-size: 17px; color: var(--ink-2); margin-bottom: 20px; }
.tp-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; font-size: 15px; color: var(--ink-2); margin: 4px 0 22px; }
.tp-price b { color: var(--ink); font-weight: 650; }
.tp-price .lbl { font: 500 10.5px/1.2 var(--f-data); letter-spacing: .08em; text-transform: uppercase; color: var(--signal); background: var(--signal-2); padding: 4px 8px; border-radius: 999px; }
.tp-text .actions { gap: 18px; }
/* Фото направления: снимок, карточка-образец заходит на нижний край, ниже — подпись и автор фото. */
.ph-card { position: relative; margin: 0; }
.ph-img { border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--dusk-2); box-shadow: var(--shadow-lg); }
.ph-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ph-st { position: relative; z-index: 1; display: grid; gap: 4px; width: min(320px, calc(100% - 32px)); margin: -64px 18px 0 auto; padding: 14px 16px 15px; border-radius: 16px; background: #FFFFFF; color: #0F2224; box-shadow: 0 18px 40px -18px rgba(9, 26, 28, .45), 0 2px 6px rgba(9, 26, 28, .08); }
.ph-st-h { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 4px; }
.ph-st .tag-s { color: #8A4B00; border-color: #E0B98A; }
.ph-st b { font: 500 17px/1.25 var(--f-display); }
.ph-st-m { font: 400 12.5px/1.4 var(--f-data); color: #3E5553; }
.st-c { font: 500 11.5px/1 var(--f-data); padding: 5px 9px; border-radius: 999px; color: #0F2224; white-space: nowrap; }
.st-c.w { background: var(--orange); }
.st-c.d { background: var(--lawn); }
.st-c.n { background: var(--win); }
.ph-card figcaption { font-size: 13.5px; line-height: 1.5; color: var(--ink-2); margin-top: 14px; }
.ph-cr { display: block; margin-top: 4px; font-size: 12px; color: var(--ink-3); }
.ph-cr a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

/* этапы */
.stg { list-style: none; margin: 0 0 18px; padding: 0; counter-reset: s; }
.stg li { counter-increment: s; position: relative; padding: 2px 0 14px 42px; font-size: 15px; line-height: 1.45; }
.stg li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--contour); color: var(--contour); background: var(--sheet); font: 500 12px/23px var(--f-data); text-align: center; }
.stg li::after { content: ""; position: absolute; left: 12.5px; top: 28px; bottom: 2px; width: 1.5px; background: var(--line); }
.stg li:last-child { padding-bottom: 0; }
.stg li:last-child::after { display: none; }
.band.fog .stg li::before { background: var(--paper); }

/* ======================================================================
   ТАБЛО
   ====================================================================== */
.board { background: #081517; border: 1px solid var(--dusk-line); border-radius: 20px; padding: 18px 26px 10px; box-shadow: inset 0 1px 0 rgba(232, 240, 238, .05), 0 40px 80px -40px rgba(0, 0, 0, .8); }
.board-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; font: 500 12px/1.2 var(--f-data); letter-spacing: .08em; text-transform: uppercase; color: var(--on-dusk-2); padding-bottom: 16px; }
.board-clock { color: var(--win); font-variant-numeric: tabular-nums; letter-spacing: .12em; }
.brow { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1.5fr) 6.5em 10.5em; column-gap: clamp(18px, 2.4vw, 36px); align-items: center; padding: 16px 0; border-top: 1px solid rgba(232, 240, 238, .07); }
.brow.bhead { border-top: 0; padding: 0 0 10px; align-items: end; }
.bhead > span, .bhead .b-stg i { font: 500 11px/1.2 var(--f-data); font-style: normal; letter-spacing: .1em; text-transform: uppercase; color: var(--on-dusk-2); }
.b-d { display: grid; gap: 4px; min-width: 0; }
.b-d b { font: 500 17px/1.25 var(--f-body); color: #FFFFFF; }
.b-d small { font: 400 12.5px/1.3 var(--f-data); color: var(--on-dusk-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.b-stg { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 5px; }
.b-stg i { position: relative; overflow: hidden; height: 7px; border-radius: 4px; background: rgba(232, 240, 238, .1); transform-origin: 0 50%; }
.bhead .b-stg i { height: auto; overflow: visible; border-radius: 0; background: none; }
.b-stg i.ok { background: var(--lawn); }
.b-stg i.cur { background: var(--orange); box-shadow: 0 0 14px -2px rgba(255, 138, 61, .65); }
.bk-u .b-stg i.cur { background: var(--red-l); box-shadow: 0 0 14px -2px rgba(255, 122, 107, .7); }
.bk-n .b-stg i.cur { background: var(--win); box-shadow: 0 0 14px -2px rgba(255, 211, 122, .55); }
.b-stg em { display: none; grid-column: 1 / -1; font: 400 12px/1.3 var(--f-data); font-style: normal; color: var(--on-dusk-2); }
.b-due { font: 500 14px/1.2 var(--f-data); color: var(--on-dusk); font-variant-numeric: tabular-nums; }
.bk-u .b-due { color: var(--red-l); }
.bk-d .b-due { color: var(--on-dusk-2); }
.b-st { justify-self: start; }
.st-c.u { background: var(--red-l); }
.board-cap { font: 400 12px/1.4 var(--f-data); color: var(--on-dusk-2); margin: 12px 0 0; }

.rules3, .feat3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin: 56px 0 0; padding: 0; list-style: none; }
.rules3 > *, .feat3 > li { border-top: 1px solid var(--line); padding-top: 22px; }
.rules3 b, .feat3 b { display: block; font: 500 21px/1.2 var(--f-display); margin: 14px 0 10px; }
.rules3 p, .feat3 p { color: var(--ink-2); margin: 0; }

/* ======================================================================
   ЗАМЕЧАНИЯ: акт → реестр, «обычно / с сопровождением»
   ====================================================================== */
.act { display: grid; grid-template-columns: minmax(0, 1fr) 88px minmax(0, 1.15fr); align-items: stretch; margin-bottom: 64px; }
.act-sheet { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 22px 24px; box-shadow: var(--shadow); }
.act-reg { background: var(--sheet); border: 1px solid var(--line-2); border-radius: 20px; padding: 22px 24px; box-shadow: var(--shadow-lg); }
.act-h { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.act-h b { font: 500 17px/1.25 var(--f-display); }
.act-h span { font: 400 12px/1.3 var(--f-data); color: var(--ink-3); }
.act-rem { display: flex; gap: 12px; margin: 0; padding: 10px 0; border-top: 1px dashed var(--line); font-size: 15px; }
.act-rem:first-of-type { border-top: 0; }
.act-rem i { font: 500 13px/1.6 var(--f-data); font-style: normal; color: var(--alarm); }
.act-arrows { display: grid; gap: 34px; padding: 0 14px; align-self: center; }
.act-arrows i { position: relative; display: block; height: 2px; background: var(--orange); border-radius: 2px; transform-origin: 0 50%; }
.act-arrows i::after { content: ""; position: absolute; right: -2px; top: -4px; border: 5px solid transparent; border-left: 7px solid var(--orange); border-right: 0; }
.act-st { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; align-items: center; padding: 11px 0; border-top: 1px solid var(--line-2); font-size: 14.5px; }
.act-st:nth-of-type(2) { border-top: 0; }
.act-st .pill { justify-self: start; }

.ba { width: 100%; border-collapse: collapse; font-size: 15px; }
.ba thead th { font: 500 11.5px/1.2 var(--f-data); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); text-align: left; padding: 0 16px 14px; border-bottom: 1px solid var(--line); }
.ba thead th:last-child { color: var(--lawn-ink); }
.ba tbody th { text-align: left; font: 500 16px/1.3 var(--f-display); padding: 18px 16px; width: 24%; vertical-align: top; }
.ba td { padding: 18px 16px; vertical-align: top; color: var(--ink-2); border-top: 1px solid var(--line-2); }
.ba tbody th { border-top: 1px solid var(--line-2); }
.ba td.now { color: var(--ink); background: linear-gradient(90deg, rgba(111, 211, 154, .1), transparent); position: relative; padding-left: 46px; }
.ba td.now::before { content: ""; position: absolute; left: 16px; top: 20px; width: 18px; height: 18px; border-radius: 50%; background: var(--lawn-ink); }
.ba td.now::after { content: ""; position: absolute; left: 21.5px; top: 25px; width: 7px; height: 4px; border-left: 2px solid #FFF; border-bottom: 2px solid #FFF; transform: rotate(-45deg); }

/* ======================================================================
   КАБИНЕТ
   ====================================================================== */
.device { position: relative; max-width: 1060px; margin: 0 auto; }
.bezel { background: #081517; padding: 10px; border-radius: 22px; border: 1px solid var(--dusk-line); box-shadow: 0 60px 120px -50px rgba(0, 0, 0, .9), 0 0 0 1px rgba(0, 0, 0, .3); }
.screen { border-radius: 13px; overflow: hidden; }
.screen img { display: block; width: 100%; height: auto; }
.device figcaption { font: 400 12px/1.4 var(--f-data); color: var(--on-dusk-2); text-align: center; margin-top: 16px; }
.floats { list-style: none; margin: 0; padding: 0; }
.fl { position: absolute; display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; color: var(--on-dusk); background: rgba(12, 31, 34, .9); border: 1px solid rgba(232, 240, 238, .18); border-radius: 14px; padding: 11px 15px; box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .8); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); white-space: nowrap; }
.fl .dot { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.fl .dot.bad { background: var(--red-l); }
.fl .dot.warn { background: var(--orange); }
.fl .dot.ok { background: var(--lawn); }
.f1 { top: 9%; left: -4%; }
.f2 { top: 32%; right: -5%; }
.f3 { bottom: 26%; left: -6%; }
.f4 { bottom: 10%; right: 4%; }

/* ======================================================================
   КАК НАЧАТЬ, ГРАНИЦЫ, КТО ВЕДЁТ
   ====================================================================== */
.steps { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; counter-reset: st; padding: 0; margin: 0; list-style: none; }
.steps::before { content: ""; position: absolute; left: 0; right: 0; top: 21px; height: 2px; background: var(--line); }
.steps::after { content: ""; position: absolute; left: 0; right: 0; top: 21px; height: 2px; background: linear-gradient(90deg, var(--contour), var(--orange)); transform-origin: 0 50%; }
.steps li { position: relative; counter-increment: st; padding-top: 64px; }
.steps li::before { content: counter(st); position: absolute; top: 0; left: 0; z-index: 1; width: 44px; height: 44px; border-radius: 50%; background: var(--dusk); color: var(--on-dusk); font: 500 18px/44px var(--f-display); text-align: center; box-shadow: 0 0 0 6px var(--paper); }
.steps li:last-child::before { background: var(--orange); color: #0F2224; }
.steps b { display: block; font: 500 19px/1.25 var(--f-display); margin-bottom: 8px; }
.steps span { color: var(--ink-2); font-size: 15px; }

.nots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.nots > div { position: relative; padding: 20px 22px 20px 58px; border: 1px solid var(--line); border-radius: 16px; background: var(--sheet); }
.nots > div::before { content: "×"; position: absolute; left: 18px; top: 17px; width: 26px; height: 26px; border-radius: 50%; background: var(--alarm-2); color: var(--alarm); font: 600 18px/25px var(--f-body); text-align: center; }
.nots b { display: block; font: 500 16.5px/1.3 var(--f-display); }
.nots span { display: block; color: var(--ink-2); font-size: 14.5px; margin-top: 6px; }

.about { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.mono-tile { position: relative; aspect-ratio: 1; border-radius: 28px; overflow: hidden; display: grid; place-items: center; background: radial-gradient(70% 60% at 70% 110%, rgba(255, 138, 61, .28), transparent 70%), linear-gradient(160deg, #13302F, #0C1F22); }
.mono-tile::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(232, 240, 238, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(232, 240, 238, .05) 1px, transparent 1px); background-size: 30px 30px; }
.mono-tile span { position: relative; font: 500 112px/1 var(--f-display); color: var(--orange); letter-spacing: -.02em; }
.about h2 { margin-bottom: 14px; }
.about-role { font-size: 18px; color: var(--ink-2); max-width: 40em; }
.exp { list-style: none; margin: 22px 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; }
.exp li { position: relative; padding: 13px 0 13px 30px; border-top: 1px solid var(--line); font-size: 15.5px; }
.exp li::before { content: ""; position: absolute; left: 2px; top: 19px; width: 12px; height: 7px; border-left: 2px solid var(--lawn-ink); border-bottom: 2px solid var(--lawn-ink); transform: rotate(-45deg); }

/* ======================================================================
   ЗАЯВКА
   ====================================================================== */
#zayavka { background-image: radial-gradient(60% 80% at 0% 100%, rgba(255, 138, 61, .12), transparent 70%); }
.req { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.req aside > p:not(.eyebrow) { font-size: 18px; color: var(--ink-2); margin: 18px 0 26px; }
.req-steps { list-style: none; counter-reset: q; margin: 0 0 32px; padding: 0; display: grid; gap: 14px; }
.req-steps li { counter-increment: q; position: relative; padding-left: 44px; color: var(--ink); }
.req-steps li::before { content: counter(q, decimal-leading-zero); position: absolute; left: 0; top: 1px; font: 500 13px/1.6 var(--f-data); color: var(--orange); }
.contacts { display: grid; gap: 6px; padding-top: 22px; border-top: 1px solid var(--line); }
.contacts b { font: 500 20px/1.3 var(--f-display); }
.contacts a { font-size: 18px; color: var(--lawn); }
.req .card { border-radius: 24px; padding: clamp(22px, 3vw, 36px); border: 0; box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .7); }
.req .card .btn { width: 100%; }
.consent { font-size: 13px; color: var(--ink-3); margin: -2px 0 18px; }

/* ======================================================================
   ПОДВАЛ, УВЕДОМЛЕНИЯ
   ====================================================================== */
.site .site-foot.dk { background-color: #081517; border-top: 1px solid var(--dusk-line); padding: 40px 0 44px; }
.site-foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; }
.site-foot .small { color: var(--ink-2); margin: 12px 0 0; max-width: 34em; }
.site-foot .actions { gap: 22px; }
.site-foot .actions a { color: var(--ink); }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 50; width: max-content; max-width: min(560px, calc(100vw - 32px)); box-shadow: var(--shadow-lg); margin: 0; }

/* ======================================================================
   СТРАНИЦА УСЛУГИ И КОРОТКИЕ СТРАНИЦЫ
   ====================================================================== */
.sub-hero { padding: clamp(48px, 7vw, 96px) 0; background-image: radial-gradient(70% 70% at 100% 100%, rgba(255, 138, 61, .12), transparent 70%); }
.sub-hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .95fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
.sub-hero h1 { font-size: clamp(34px, 4.2vw, 58px); line-height: 1.02; letter-spacing: -.02em; margin: 0 0 18px; text-wrap: balance; }
.sub-hero .lead { font-size: 18px; color: var(--ink-2); margin-bottom: 22px; }
.sub-hero .eyebrow a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.facts { display: flex; flex-wrap: wrap; gap: 8px; }
.sub-hero .ph-card { margin: 0; }
.passport { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(28px, 5vw, 64px); align-items: start; }
.passport > div > section { padding: 26px 0; border-top: 1px solid var(--line); }
.passport > div > section:first-child { border-top: 0; padding-top: 0; }
.passport h2 { font-size: 22px; letter-spacing: 0; margin-bottom: 14px; }
.passport ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.passport aside { position: sticky; top: 88px; }
.passport aside .card { border-radius: 22px; padding: 26px; }
.passport dl { margin: 0 0 18px; display: grid; gap: 4px; }
.passport dt { font: 500 11.5px/1.3 var(--f-data); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin-top: 10px; }
.passport dd { margin: 0; }
.passport .price { font: 500 30px/1.15 var(--f-display); }
.passport aside .btn { width: 100%; margin-top: 8px; }

.narrow { max-width: 540px; margin: 0 auto; padding: clamp(40px, 8vw, 96px) 16px; }
.narrow .card { border-radius: 24px; padding: clamp(24px, 4vw, 40px); border: 1px solid var(--line-2); }
.narrow .mark { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--dusk); color: var(--orange); margin-bottom: 18px; }
.narrow .mark svg { width: 28px; height: 28px; }
.narrow form + p { margin-top: 16px; }
.narrow h1 { font-size: clamp(28px, 4vw, 38px); line-height: 1.1; margin-bottom: 12px; }
.narrow .btn.lg { width: 100%; }
.narrow .btn.ghost { width: auto; }

/* ======================================================================
   ШИРИНЫ
   ====================================================================== */
@media (max-width: 1180px) {
  .hq-in { grid-template-columns: minmax(0, 1fr) 320px; }
  .f1, .f3 { left: -1%; }
  .f2 { right: -1%; }
}
@media (max-width: 1040px) {
  .site-nav .hide-m { display: none; }
  .nots { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .wrap { padding: 0 20px; }
  .hq { min-height: 0; justify-content: flex-start; padding: 44px 0 56px; }
  .hq-in { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .hq .disp { max-width: 520px; }
  .hq-ph { bottom: auto; height: min(100%, 780px); }
  .hq-ph img { object-position: 64% 50%; }
  .hq-ph::after { background: linear-gradient(180deg, rgba(9, 26, 28, .78) 0%, rgba(9, 26, 28, .82) 55%, #0C1F22 100%); }
  .js .tab-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tab-panel { grid-template-columns: minmax(0, 1fr); }
  .board { padding: 14px 16px 4px; }
  .brow { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "d s" "d u" "g g"; gap: 6px 14px; padding: 14px 0; }
  .brow.bhead { display: none; }
  .brow .b-d { grid-area: d; }
  .brow .b-st { grid-area: s; justify-self: end; }
  .brow .b-due { grid-area: u; justify-self: end; font-size: 13px; }
  .brow .b-stg { grid-area: g; margin-top: 6px; row-gap: 7px; }
  .b-stg em { display: block; }
  .b-d b { font-size: 16px; }
  .rules3, .feat3 { grid-template-columns: minmax(0, 1fr); gap: 0; margin-top: 40px; }
  .rules3 > *, .feat3 > li { padding: 22px 0; }
  .act { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .act-st { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .act-arrows { grid-auto-flow: column; justify-content: center; gap: 40px; padding: 4px 0; }
  .act-arrows i { width: 2px; height: 30px; transform-origin: 50% 0; }
  .act-arrows i::after { right: -4px; top: auto; bottom: -2px; border: 5px solid transparent; border-top: 7px solid var(--orange); border-bottom: 0; }
  .ba thead { display: none; }
  .ba, .ba tbody, .ba tr, .ba th, .ba td { display: block; width: 100%; }
  .ba tr { padding: 16px 0; border-top: 1px solid var(--line); }
  .ba tbody th { border: 0; padding: 0 0 8px; }
  .ba td { border: 0; padding: 4px 0 4px 0; }
  .ba td::before { content: attr(data-label); display: block; font: 500 11px/1.4 var(--f-data); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
  .ba td.now { padding: 10px 12px 10px 42px; border-radius: 10px; margin-top: 6px; }
  .ba td.now::before { content: ""; left: 12px; top: 13px; }
  .ba td.now::after { left: 17.5px; top: 18px; }
  .floats { display: none; }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 0; padding-left: 0; }
  .steps::before, .steps::after { left: 21px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .steps::after { background: linear-gradient(180deg, var(--contour), var(--orange)); transform-origin: 50% 0; }
  .steps li { padding: 8px 0 28px 68px; min-height: 44px; }
  .steps li:last-child { padding-bottom: 0; }
  .about { grid-template-columns: minmax(0, 1fr); }
  .mono-tile { width: 150px; border-radius: 22px; }
  .mono-tile span { font-size: 56px; }
  .req { grid-template-columns: minmax(0, 1fr); }
  .sub-hero .wrap, .passport { grid-template-columns: minmax(0, 1fr); }
  .passport aside { position: static; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .site-head .wrap { height: 58px; gap: 12px; }
  .site-nav .hide-s { display: none; }
  .site .brand { font-size: 18px; }
  .hq h1 { font-size: clamp(32px, 9vw, 46px); }
  .route li { font-size: 11px; letter-spacing: .03em; }
  .hq .actions .btn { flex: 1 1 auto; }
  .tab { padding: 13px 14px 12px; }
  .tab b { font-size: 16px; }
  .nots { grid-template-columns: minmax(0, 1fr); }
  .exp { grid-template-columns: minmax(0, 1fr); }
  .toast { bottom: 12px; }
}

/* ======================================================================
   ДВИЖЕНИЕ — только если устройство не просит его уменьшить
   ====================================================================== */
@media (prefers-reduced-motion: no-preference) {
  .hq-ph img { animation: hq-zoom 26s cubic-bezier(.22, .6, .3, 1) both; }
  .route::after { animation: rt-go 9s linear 1.2s infinite; }
  .route li:nth-child(1)::before { animation: rt-n0 9s linear 1.2s infinite; }
  .route li:nth-child(2)::before { animation: rt-n1 9s linear 1.2s infinite; }
  .route li:nth-child(3)::before { animation: rt-n2 9s linear 1.2s infinite; }
  .route li:nth-child(4)::before { animation: rt-n3 9s linear 1.2s infinite; }
  .paused, .paused * { animation-play-state: paused !important; }

  .dr.fresh { animation: dr-in .7s var(--ease) both; }
  .dr.lit { animation: dr-flash 1.6s ease both; }

  .js [data-reveal] { transition: opacity .9s var(--ease), transform .9s var(--ease); }
  .js [data-reveal]:not(.in) { opacity: 0; transform: translateY(28px); }
  /* Табло: полосы этапов заполняются по очереди — ряд за рядом, слева направо; текущий этап «дышит». */
  .brow:nth-child(3) { --rd: .25s; }
  .brow:nth-child(4) { --rd: .4s; }
  .brow:nth-child(5) { --rd: .55s; }
  .brow:nth-child(6) { --rd: .7s; }
  .brow:nth-child(7) { --rd: .85s; }
  .js .board:not(.in) .brow:not(.bhead) .b-stg i { transform: scaleX(0); }
  .brow:not(.bhead) .b-stg i { transition: transform .55s var(--ease) var(--rd, 0s); }
  .brow:not(.bhead) .b-stg i:nth-child(2) { transition-delay: calc(var(--rd, 0s) + .12s); }
  .brow:not(.bhead) .b-stg i:nth-child(3) { transition-delay: calc(var(--rd, 0s) + .24s); }
  .brow:not(.bhead) .b-stg i:nth-child(4) { transition-delay: calc(var(--rd, 0s) + .36s); }
  .board.in .b-stg i.cur::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, .7) 50%, transparent 100%); transform: translateX(-100%); animation: seg-run 2.6s ease-in-out 1.6s infinite; }
  .js .act:not(.in) .act-arrows i { transform: scaleX(0); }
  .act-arrows i { transition: transform .7s var(--ease) .5s; }
  .act-arrows i:nth-child(2) { transition-delay: .7s; }
  .act-arrows i:nth-child(3) { transition-delay: .9s; }
  .js .act:not(.in) .act-st { opacity: 0; transform: translateX(16px); }
  .act-st { transition: opacity .6s ease, transform .6s var(--ease); }
  .act-st:nth-of-type(2) { transition-delay: .9s; }
  .act-st:nth-of-type(3) { transition-delay: 1.1s; }
  .act-st:nth-of-type(4) { transition-delay: 1.3s; }
  .js .steps:not(.in)::after { transform: scaleX(0); }
  .steps::after { transition: transform 1.6s var(--ease) .3s; }
  .js .device:not(.in) .fl { opacity: 0; transform: translateY(14px); }
  .fl { transition: opacity .7s ease, transform .7s var(--ease); }
  .fl.f2 { transition-delay: .25s; }
  .fl.f3 { transition-delay: .5s; }
  .fl.f4 { transition-delay: .75s; }
  .device.in .fl { animation: fl-bob 6s ease-in-out 1.4s infinite alternate; }
  .device.in .fl.f2 { animation-delay: 2.2s; }
  .device.in .fl.f3 { animation-delay: 1.8s; }
  .device.in .fl.f4 { animation-delay: 2.6s; }
  .tab-panel:not([hidden]) .tp-text { animation: tp-in .5s var(--ease) both; }
  .tab-panel:not([hidden]) .ph-st { animation: tp-in .6s var(--ease) .18s both; }
}
@media (prefers-reduced-motion: no-preference) and (max-width: 900px) {
  .js .steps:not(.in)::after { transform: scaleY(0); }
  .js .act:not(.in) .act-arrows i { transform: scaleY(0); }
}

@keyframes seg-run { 0% { transform: translateX(-100%); } 60%, 100% { transform: translateX(100%); } }
@keyframes hq-zoom { from { transform: scale(1.08); } to { transform: none; } }
/* Точка идёт равномерно: узлы на 0, 1/3, 2/3 и 1 пути — это 6 %, 29 %, 53 % и 76 % цикла. */
@keyframes rt-go { 0% { opacity: 0; transform: none; } 6% { opacity: 1; transform: none; } 76% { opacity: 1; transform: translateX(100%); } 86%, 100% { opacity: 0; transform: translateX(100%); } }
@keyframes rt-n0 { 0%, 5% { border-color: rgba(232, 240, 238, .5); background: #0C1F22; } 7%, 90% { border-color: var(--orange); background: var(--orange); } 100% { border-color: rgba(232, 240, 238, .5); background: #0C1F22; } }
@keyframes rt-n1 { 0%, 28% { border-color: rgba(232, 240, 238, .5); background: #0C1F22; } 30%, 90% { border-color: var(--orange); background: var(--orange); } 100% { border-color: rgba(232, 240, 238, .5); background: #0C1F22; } }
@keyframes rt-n2 { 0%, 52% { border-color: rgba(232, 240, 238, .5); background: #0C1F22; } 54%, 90% { border-color: var(--orange); background: var(--orange); } 100% { border-color: rgba(232, 240, 238, .5); background: #0C1F22; } }
@keyframes rt-n3 { 0%, 75% { background: #0C1F22; transform: none; } 78% { background: var(--lawn); transform: scale(1.45); } 82%, 92% { background: var(--lawn); transform: none; } 100% { background: #0C1F22; transform: none; } }
@keyframes dr-in { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }
@keyframes dr-flash { from { background-color: rgba(255, 211, 122, .22); } to { background-color: transparent; } }
@keyframes fl-bob { from { transform: translateY(0); } to { transform: translateY(-8px); } }
@keyframes tp-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* Переход по пунктам меню: раздел начинается ровно под шапкой (64 px, на телефоне 58 px). */
html:has(> body.site) { scroll-padding-top: 64px; }
@media (max-width: 640px) { html:has(> body.site) { scroll-padding-top: 58px; } }

/* Короткая страница («Вход», «Заявка принята»): подвал прижат к низу окна, без пустой полосы под ним. */
.site { min-height: 100svh; display: flex; flex-direction: column; }
.site > main { flex: 1 0 auto; }

/* Фото рядом с заголовком полосы («Замечания») и фото-фон заявки. */
.band-h-ph { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: clamp(28px, 4vw, 56px); align-items: end; margin-bottom: clamp(36px, 4.5vw, 56px); }
.band-h-ph .band-h { margin-bottom: 0; }
.band-ph { margin: 0; }
.band-ph img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 20px; box-shadow: var(--shadow-lg); }
.band-ph .ph-cr { margin-top: 8px; }
#zayavka { position: relative; overflow: hidden; isolation: isolate; padding-bottom: clamp(88px, 10vw, 132px); }
.req-ph { position: absolute; inset: 0; z-index: -1; }
.req-ph img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.req-ph::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(9, 26, 28, .95) 0%, rgba(9, 26, 28, .9) 46%, rgba(9, 26, 28, .72) 100%); }
@media (max-width: 900px) {
  .band-h-ph { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .req-ph::after { background: rgba(9, 26, 28, .9); }
}

/* ---- Статьи: /stati и /stati/<имя> ---- */
.st-hero .wrap { grid-template-columns: minmax(0, 1fr); }
.st-hero .wrap > div { max-width: 880px; }
.st-draft { display: inline-block; margin: 0 0 18px; padding: 8px 12px; border: 1px dashed currentColor; border-radius: 10px; font: 500 12.5px/1.4 var(--f-data); letter-spacing: .04em; color: var(--orange); }
.st-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 20px; }
.st-item a { display: flex; flex-direction: column; gap: 12px; height: 100%; padding: 26px; border: 1px solid var(--line); border-radius: 22px; background: var(--sheet); color: var(--ink); text-decoration: none; transition: border-color .2s ease, box-shadow .2s ease; }
.st-item a:hover { border-color: var(--contour); box-shadow: var(--shadow); text-decoration: none; }
.st-item h2 { margin: 0; font-size: 23px; line-height: 1.2; letter-spacing: -.01em; text-wrap: balance; }
.st-item p { margin: 0; color: var(--ink-2); }
.st-item .st-meta { font: 500 12px/1.4 var(--f-data); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.st-go { margin-top: auto; padding-top: 6px; font-weight: 600; color: var(--contour); }
.st-empty { max-width: 640px; }
.st-empty h2 { margin-bottom: 12px; }
.st-empty > p { color: var(--ink-2); font-size: 18px; }
.st-empty .small { margin-top: 22px; font-size: 14px; }
.st-body { min-width: 0; max-width: 720px; font-size: 18px; line-height: 1.65; }
.st-body > :first-child { margin-top: 0; }
.st-body h2 { margin: 44px 0 14px; font-size: 28px; line-height: 1.2; letter-spacing: -.01em; }
.st-body h3 { margin: 30px 0 10px; font-size: 21px; line-height: 1.3; }
.st-body p { margin: 0 0 18px; }
.site .st-body em { font-style: italic; }
.st-body ul, .st-body ol { margin: 0 0 20px; padding-left: 24px; display: grid; gap: 8px; }
.st-body a { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; overflow-wrap: anywhere; }
.st-body blockquote { margin: 28px 0; padding: 18px 22px; border-left: 3px solid var(--orange); border-radius: 0 14px 14px 0; background: var(--paper); color: var(--ink-2); }
.st-body blockquote > :last-child { margin-bottom: 0; }
.st-tbl { margin: 0 0 24px; overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; }
.st-body table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 15.5px; line-height: 1.45; }
.st-body th, .st-body td { padding: 10px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.st-body th { background: var(--paper); font: 500 12px/1.3 var(--f-data); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.st-body tr:last-child td { border-bottom: 0; }
.st-src { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 15px; line-height: 1.5; }
.st-body .st-src h2 { margin: 0 0 12px; font-size: 18px; }
.st-src ol { gap: 6px; }
.st-page aside .card h2 { margin: 0 0 10px; font-size: 22px; }
.st-page aside .card > p:not(.eyebrow) { color: var(--ink-2); }
.st-other { margin-top: 28px; }
.st-other ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.st-other li { padding-top: 12px; border-top: 1px solid var(--line); }
@media (max-width: 640px) {
  .st-body { font-size: 17px; }
  .st-body h2 { font-size: 24px; margin-top: 36px; }
  .st-item a { padding: 22px; }
}
