/* «Сальдо» — демо-сайт практики по восстановлению учёта. Направление «Контрольный слой»:
   каждый участок учёта показан слоем со статусом, владельцем и следующим шагом. */

:root {
  --dust: #F3F6F5;
  --dust-2: #E8EEED;
  --white: #FFFFFF;
  --deep: #123B4A;
  --deep-2: #0C2C38;
  --steel: #4C8793;
  --steel-ink: #2D6371;
  --steel-soft: #E1EDEF;
  --steel-line: #BCD3D8;
  --amber: #E1B864;
  --amber-soft: #FBF2DD;
  --amber-ink: #6E4F0E;
  --amber-line: #EBD39B;
  --ink: #0F2F3B;
  --ink-2: #27495A;
  --muted: #4B6670;
  --line: #D3DEDE;
  --r-s: 10px;
  --r-m: 16px;
  --r-l: 24px;
  --f-display: "Merriweather", Georgia, "Times New Roman", serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --hh: 64px;
  --step: 40px;
  --sh-1: 0 1px 0 rgba(18, 59, 74, .04), 0 14px 32px -18px rgba(18, 59, 74, .28);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: var(--dust); color: var(--ink); font: 400 16px/1.6 var(--f-body); font-variant-numeric: tabular-nums; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--steel-ink); text-underline-offset: 3px; }
a:hover { color: var(--deep); }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--steel); outline-offset: 3px; border-radius: 6px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 100; background: var(--deep); color: #fff; padding: 12px 18px; border-radius: 10px; text-decoration: none; }
.skip:focus { top: 12px; }

h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 700; line-height: 1.22; letter-spacing: -.012em; margin: 0; color: var(--deep); text-wrap: balance; }
h1 { font-size: clamp(1.85rem, 1.05rem + 3.1vw, 3.1rem); }
h2 { font-size: clamp(1.5rem, 1.05rem + 1.7vw, 2.3rem); }
h3 { font-size: 1.15rem; line-height: 1.32; }
h4 { font-size: 1rem; line-height: 1.35; }
.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
@media (min-width: 720px) { .wrap { width: min(1200px, 100% - 64px); } }

.kicker { display: inline-flex; align-items: center; gap: .65em; margin: 0 0 14px; font: 600 .76rem/1.2 var(--f-body); letter-spacing: .13em; text-transform: uppercase; color: var(--steel-ink); }
.kicker::before { content: ""; width: 22px; height: 3px; border-radius: 2px; background: var(--amber); flex: none; }
.lede { font-size: 1.08rem; line-height: 1.65; color: var(--ink-2); max-width: 36em; }
.muted { color: var(--muted); }
.small { font-size: .86rem; line-height: 1.5; }
.disc { font-size: .84rem; line-height: 1.5; color: var(--muted); }

/* shared ribbon: let the note shrink instead of pushing the page wider on tablets */
.nx-ribbon__note { min-width: 0; flex: 0 1 auto; overflow: hidden; text-overflow: ellipsis; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border: 1.5px solid transparent; border-radius: 12px; font: 600 .96rem/1.2 var(--f-body); text-decoration: none; text-align: center; transition: background .25s, color .25s, border-color .25s, box-shadow .25s, transform .25s var(--ease); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--primary { background: var(--deep); color: #fff; }
.btn--primary:hover { background: var(--deep-2); color: #fff; box-shadow: 0 10px 22px -12px rgba(18, 59, 74, .7); }
.btn--amber { background: var(--amber); color: var(--deep); border-color: #d3a54f; }
.btn--amber:hover { background: #ebc678; color: var(--deep); box-shadow: 0 10px 22px -12px rgba(110, 79, 14, .55); }
.btn--ghost { background: transparent; color: var(--deep); border-color: var(--steel-line); }
.btn--ghost:hover { background: var(--steel-soft); border-color: var(--steel); color: var(--deep); }
.btn--light { background: #fff; color: var(--deep); }
.btn--light:hover { background: var(--amber-soft); color: var(--deep); }
.btn--onDark { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .4); }
.btn--onDark:hover { background: rgba(255, 255, 255, .1); color: #fff; border-color: #fff; }
.btn--sm { min-height: 44px; padding: 0 16px; font-size: .9rem; }
.btn--block { width: 100%; }
.btn:active { transform: translateY(1px); }
.textlink { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 600; color: var(--steel-ink); text-decoration: none; }
.textlink svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.textlink:hover svg { transform: translateX(4px); }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(243, 246, 245, .9); -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.site-header__in { display: flex; align-items: center; gap: 16px; height: var(--hh); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--deep); margin-right: auto; min-height: 44px; }
.brand__mark { width: 38px; height: 38px; flex: none; }
.brand__name { display: block; font: 700 1.2rem/1 var(--f-display); letter-spacing: -.01em; }
.brand__sub { display: block; margin-top: 4px; font: 500 .7rem/1.1 var(--f-body); letter-spacing: .02em; color: var(--muted); }
.nav { display: none; gap: 2px; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 10px; color: var(--ink); text-decoration: none; font-weight: 500; font-size: .93rem; white-space: nowrap; transition: background .2s; }
.nav a:hover { background: var(--steel-soft); color: var(--deep); }
.nav a[aria-current="page"] { color: var(--deep); font-weight: 650; box-shadow: inset 0 -3px 0 var(--amber); border-radius: 10px 10px 0 0; }
.site-header__cta { display: none; }
@media (min-width: 1060px) { .nav { display: flex; } .site-header__cta { display: inline-flex; } .mnav { display: none; } }
@media (min-width: 560px) and (max-width: 1059px) { .site-header__cta { display: inline-flex; } }
.mnav { position: relative; }
.mnav > summary { list-style: none; display: grid; place-items: center; width: 46px; height: 46px; border: 1.5px solid var(--steel-line); border-radius: 12px; background: #fff; cursor: pointer; }
.mnav > summary::-webkit-details-marker { display: none; }
.mnav__bars, .mnav__bars::before, .mnav__bars::after { display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--deep); transition: transform .3s var(--ease), background .2s; }
.mnav__bars { position: relative; }
.mnav__bars::before, .mnav__bars::after { content: ""; position: absolute; left: 0; }
.mnav__bars::before { top: -6px; }
.mnav__bars::after { top: 6px; }
.mnav[open] .mnav__bars { background: transparent; }
.mnav[open] .mnav__bars::before { transform: translateY(6px) rotate(45deg); }
.mnav[open] .mnav__bars::after { transform: translateY(-6px) rotate(-45deg); }
.mnav__panel { position: absolute; right: 0; top: calc(100% + 12px); width: min(320px, calc(100vw - 32px)); display: grid; gap: 2px; padding: 10px; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 24px 50px -20px rgba(18, 59, 74, .45); }
.mnav__panel a:not(.btn) { display: flex; align-items: center; min-height: 48px; padding: 0 14px; border-radius: 10px; color: var(--ink); text-decoration: none; font-weight: 500; }
.mnav__panel a:not(.btn):hover { background: var(--steel-soft); }
.mnav__panel .btn { margin-top: 8px; }

/* ---------- sections ---------- */
.sec { padding: 64px 0; position: relative; isolation: isolate; }
.sec--white { background: #fff; }
.sec--tint { background: var(--dust-2); }
.sec__head { max-width: 760px; margin-bottom: 36px; }
.sec__head h2 + p { margin-top: 14px; color: var(--ink-2); font-size: 1.05rem; }
.sec__head p a { color: var(--steel-ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
@media (min-width: 900px) { .sec { padding: 96px 0; } .sec__head { margin-bottom: 52px; } }

/* ---------- status chips ---------- */
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px 4px 8px; border-radius: 999px; border: 1.5px solid transparent; font: 600 .76rem/1.25 var(--f-body); white-space: nowrap; }
.chip svg { width: 14px; height: 14px; flex: none; }
.chip--ok { background: #DCEBEE; color: #1D5361; }
.chip--recon { background: var(--amber-soft); color: var(--amber-ink); border-color: var(--amber-line); }
.chip--gap { background: transparent; color: var(--deep); border: 1.5px dashed var(--steel); }
.chip--wait { background: #fff; color: var(--amber-ink); border-color: var(--amber); }
.chip--work { background: var(--deep); color: #fff; }
.chip--decide { background: var(--amber); color: var(--deep); }
.chip--na { background: var(--dust-2); color: var(--muted); }

/* ---------- hero: карта периодов (heat-map на 24 месяца) ---------- */
.hero { position: relative; padding: 24px 0 44px; background: var(--dust); overflow: clip; isolation: isolate; }
.hero::before { content: ""; position: absolute; z-index: -1; inset: 0; background: radial-gradient(880px 380px at 96% -10%, rgba(76, 135, 147, .17), transparent 70%), radial-gradient(640px 320px at -4% 4%, rgba(225, 184, 100, .13), transparent 68%); }
.hero__top { display: grid; gap: 22px; align-items: end; }
.hero h1 { font-size: clamp(1.85rem, 1.05rem + 2.7vw, 2.7rem); max-width: 19em; }
.hero h1 mark { color: inherit; background: linear-gradient(transparent 64%, var(--amber) 64% 93%, transparent 93%); padding: 0 .06em; margin: 0 -.06em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.hero .lede { margin: 16px 0 0; font-size: 1.04rem; line-height: 1.62; max-width: 40em; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 22px; }
.hero__sla { display: flex; align-items: flex-start; gap: 10px; max-width: 34em; font-size: .9rem; line-height: 1.5; color: var(--muted); }
.hero__sla svg { width: 20px; height: 20px; flex: none; color: var(--steel-ink); margin-top: 1px; }
.hero__act .hero__cta { margin: 0 0 14px; }
.hero__act .hero__sla { margin: 0; }
.hero__act .btn--amber { box-shadow: 0 14px 26px -16px rgba(110, 79, 14, .7); }
@media (max-width: 479px) { .hero__act .hero__cta .btn { flex: 1 1 100%; } }
@media (min-width: 1000px) {
  .hero { padding: 28px 0 56px; }
  .hero__top { grid-template-columns: minmax(0, 1fr) 356px; gap: 64px; }
  .hero__act { padding-left: 28px; border-left: 3px solid var(--amber); }
  .hero__act .hero__cta { flex-direction: column; flex-wrap: nowrap; gap: 10px; }
  .hero__act .btn--amber { min-height: 56px; font-size: 1.02rem; }
}

.facts { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 20px; margin: 30px 0 0; }
.facts li { border-top: 2px solid var(--deep); padding-top: 12px; }
.facts b { display: block; font: 700 1.9rem/1 var(--f-display); color: var(--deep); font-variant-numeric: tabular-nums; }
.facts span { display: block; margin-top: 8px; font-size: .8rem; line-height: 1.4; color: var(--muted); }
@media (min-width: 720px) {
  .facts { gap: 12px 36px; margin-top: 26px; }
  .facts li { display: flex; align-items: baseline; gap: 14px; }
  .facts b { flex: none; min-width: 1.1ch; }
  .facts span { margin-top: 0; font-size: .86rem; }
}

/* карта периодов: 6 слоёв × 24 месяца; состояния ячеек: в порядке / пробел / требование ФНС / восстановлено */
.hm { --lab: 150px; --gap: 3px; --chev: 26px; position: relative; margin-top: 24px; padding: 16px 20px 8px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-l); box-shadow: var(--sh-1); }
.hm__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 10px 20px; margin-bottom: 14px; }
.hm__head .kicker { margin-bottom: 6px; }
.hm__title { font: 700 1.08rem/1.3 var(--f-display); color: var(--deep); }
.hm__meta { margin: 3px 0 0; font-size: .82rem; color: var(--muted); }
.board__stamp svg, .slayer__own svg { width: 15px; height: 15px; flex: none; }
.board__stamp { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; background: var(--amber-soft); color: var(--amber-ink); font-size: .74rem; font-weight: 600; border: 1px solid var(--amber-line); }

.hm__axis { position: relative; padding: 0 0 8px; }
.hm__axis::before { content: "Слой учёта"; position: absolute; left: 0; bottom: 8px; font: 650 .64rem/1.2 var(--f-body); letter-spacing: .1em; text-transform: uppercase; color: var(--steel-ink); }
.hm__axis-in { display: grid; grid-template-columns: repeat(24, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 4px; margin-left: var(--lab); margin-right: var(--chev); }
.hm__year { grid-row: 1; padding-top: 5px; border-top: 2px solid var(--deep); font: 700 .8rem/1.2 var(--f-display); color: var(--deep); }
.hm__year--a { grid-column: 1 / span 12; }
.hm__year--b { grid-column: 13 / span 12; border-top-color: var(--steel); color: var(--steel-ink); }
.hm__today { grid-row: 1; grid-column: 22 / span 3; justify-self: center; align-self: start; margin-top: 3px; padding: 1px 9px; border-radius: 999px; background: var(--amber); color: var(--deep); font: 700 .68rem/1.5 var(--f-body); letter-spacing: .03em; font-style: normal; z-index: 1; }
.hm__m { grid-row: 2; display: block; text-align: center; font: 500 .64rem/1.2 var(--f-body); letter-spacing: .03em; text-transform: uppercase; color: var(--muted); font-style: normal; }
.hm__m.now { color: var(--amber-ink); font-weight: 700; }

.hm__rows { display: block; }
.hm__row { margin: 0 -10px; border-radius: 14px; transition: background .25s, box-shadow .3s; }
.hm__row:hover { background: rgba(225, 237, 239, .55); }
.hm__row[open] { background: linear-gradient(#fff, #F8FBFB); box-shadow: 0 0 0 1px var(--steel-line), 0 16px 30px -22px rgba(18, 59, 74, .55); }
.hm__row + .hm__row { margin-top: 1px; }
.hm__row > summary { list-style: none; display: grid; grid-template-columns: var(--lab) minmax(0, 1fr) var(--chev); align-items: center; min-height: 44px; padding: 3px 10px; cursor: pointer; border-radius: 14px; }
.hm__row > summary::-webkit-details-marker { display: none; }
.hm__lab { display: flex; align-items: center; gap: 10px; min-width: 0; padding-right: 10px; }
.hm__ico { display: none; width: 30px; height: 30px; padding: 6px; border-radius: 9px; background: var(--steel-soft); color: var(--steel-ink); flex: none; transition: background .3s, color .3s; }
.hm__row[open] .hm__ico { background: var(--deep); color: #fff; }
.hm__name { font: 650 .82rem/1.2 var(--f-body); color: var(--deep); }
.hm__chev { width: 18px; height: 18px; justify-self: end; color: var(--steel-ink); transition: transform .35s var(--ease); }
.hm__row[open] .hm__chev { transform: rotate(90deg); }

.hm__cells { display: grid; grid-template-columns: repeat(24, minmax(0, 1fr)); gap: var(--gap); }
.hm__yr { display: none; }
.hm__cells i { position: relative; display: block; height: 38px; border-radius: 6px; transition: opacity .35s, transform .25s var(--ease), box-shadow .25s; animation: cell-in .55s var(--ease) both; animation-delay: calc(var(--c, 0) * 15ms + var(--r, 0) * 70ms + 200ms); }
.hm__cells i:hover { transform: translateY(-2px); box-shadow: 0 8px 14px -8px rgba(18, 59, 74, .55); }
@keyframes cell-in { from { opacity: 0; transform: scale(.55); } }

/* состояния: форма + цвет, чтобы читалось без цвета */
.hm i.o { background: #D6E8EB; box-shadow: inset 0 0 0 1px #C3DCE0; }
.hm i.r { background: var(--deep); }
.hm i.f { background: var(--amber); box-shadow: inset 0 0 0 1.5px #D3A54F; }
.hm i.g { background: repeating-linear-gradient(135deg, transparent 0 3px, rgba(76, 135, 147, .5) 3px 4.4px); box-shadow: inset 0 0 0 1.5px var(--steel); }
.hm i.n { background: transparent; box-shadow: inset 0 0 0 1.5px var(--steel-line); border-radius: 6px; }
.hm i.n.now { background: var(--amber-soft); box-shadow: inset 0 0 0 1.5px var(--amber); }
.hm i.r::after { content: ""; position: absolute; left: 50%; top: 50%; width: 7px; height: 12px; margin: -8px 0 0 -3px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.hm i.f::after { content: ""; position: absolute; inset: 0; background: linear-gradient(var(--deep), var(--deep)) 50% 26% / 3px 12px no-repeat, radial-gradient(circle closest-side, var(--deep) 90%, transparent 100%) 50% 80% / 5px 5px no-repeat; }
.hm[data-focus] .hm__cells i, .hm[data-focus] .sw { opacity: .2; }
.hm[data-focus="o"] i.o, .hm[data-focus="g"] i.g, .hm[data-focus="f"] i.f, .hm[data-focus="r"] i.r { opacity: 1; }
.hm[data-focus="o"] .sw.o, .hm[data-focus="g"] .sw.g, .hm[data-focus="f"] .sw.f, .hm[data-focus="r"] .sw.r { opacity: 1; }

.hm__detail { display: grid; gap: 14px; padding: 6px 10px 18px; animation: reveal .45s var(--ease) both; }
.hm__st { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; }
.hm__own { font-size: .8rem; color: var(--muted); }
.hm__detail .kv { gap: 12px; }
.kv { display: grid; gap: 10px; margin: 0; }
.kv dt { font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--steel-ink); font-weight: 650; }
.kv dd { margin: 2px 0 0; font-size: .92rem; line-height: 1.5; color: var(--ink); }

.hm__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 24px; margin-top: 8px; padding-top: 6px; border-top: 1px solid var(--line); }
.hm__legend { display: flex; flex-wrap: wrap; gap: 0 4px; margin-left: -8px; }
.lg { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 8px; border: 1.5px solid transparent; border-radius: 10px; background: none; font: 500 .84rem/1.1 var(--f-body); color: var(--ink); }
button.lg { cursor: pointer; transition: background .2s, border-color .2s; }
button.lg:hover { background: var(--steel-soft); }
button.lg[aria-pressed="true"] { background: var(--steel-soft); border-color: var(--steel); font-weight: 650; }
.lg--n { color: var(--muted); }
.lg em { font-style: normal; font-size: .74rem; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
.sw { position: relative; display: block; flex: none; width: 24px; height: 16px; border-radius: 5px; transition: opacity .3s; }
.hm .sw.r::after { width: 4px; height: 8px; margin: -5px 0 0 -2px; border-width: 0 2px 2px 0; }
.hm .sw.f::after { background: linear-gradient(var(--deep), var(--deep)) 50% 18% / 2px 7px no-repeat, radial-gradient(circle closest-side, var(--deep) 90%, transparent 100%) 50% 84% / 3px 3px no-repeat; }
.hm__probe { margin: 0; flex: 1 1 280px; min-width: 0; text-align: right; font-size: .78rem; line-height: 1.4; color: var(--muted); }
@media (min-width: 1200px) { .hm__foot { flex-wrap: nowrap; } .hm__legend { flex: none; } .hm__probe { flex: 1 1 0; } }
@media (max-width: 719px) { .hm__probe { text-align: left; padding-bottom: 8px; } }

/* планшет и выше: 24 месяца в один ряд */
@media (min-width: 900px) { .hm { --lab: 190px; padding: 18px 24px 8px; } .hm__ico { display: block; } .hm__name { font-size: .86rem; } }
@media (min-width: 1100px) { .hm { --lab: 236px; --gap: 4px; } .hm__cells i { height: 38px; } }

/* телефон: два ряда по 12 месяцев (2025 над 2026) */
@media (max-width: 719px) {
  .hm { --lab: 0px; padding: 14px 12px 4px; }
  .hm__head { margin-bottom: 10px; }
  .hm__axis-in { grid-template-columns: repeat(12, minmax(0, 1fr)); margin: 0 0 0 calc(36px + var(--gap)); }
  .hm__axis::before { display: none; }
  .hm__year, .hm__today, .hm__m:nth-of-type(n+13) { display: none; }
  .hm__m { grid-row: 1; font-size: .58rem; letter-spacing: 0; text-transform: none; }
  .board__stamp { border-radius: 14px; }
  .lg { padding: 0 6px; gap: 6px; font-size: .8rem; }
  .hm__legend { display: grid; grid-template-columns: 1fr 1fr; gap: 0 4px; margin-left: -8px; width: calc(100% + 8px); }
  .hm__row { margin: 0 -6px; }
  .hm__row > summary { grid-template-columns: minmax(0, 1fr) var(--chev); grid-template-areas: "lab chev" "cells cells"; row-gap: 4px; padding: 2px 6px 8px; min-height: 44px; }
  .hm__lab { grid-area: lab; min-height: 44px; }
  .hm__chev { grid-area: chev; }
  .hm__cells { grid-area: cells; grid-template-columns: 36px repeat(12, minmax(0, 1fr)); }
  .hm__yr { display: block; align-self: center; font: 700 .7rem/1 var(--f-display); color: var(--steel-ink); }
  .hm__cells i { height: 24px; border-radius: 5px; }
  .hm i.r::after { width: 5px; height: 9px; margin: -6px 0 0 -2px; border-width: 0 2px 2px 0; }
  .hm i.f::after { background: linear-gradient(var(--deep), var(--deep)) 50% 22% / 2.5px 9px no-repeat, radial-gradient(circle closest-side, var(--deep) 90%, transparent 100%) 50% 82% / 4px 4px no-repeat; }
  .hm__detail { padding: 2px 6px 16px; }
}
@media (min-width: 720px) {
  .hm__detail { grid-template-columns: var(--lab) minmax(0, 1fr); padding-right: calc(var(--chev) + 10px); column-gap: 0; align-items: start; }
  .hm__st { flex-direction: column; align-items: flex-start; gap: 8px; padding-right: 16px; }
  .hm__detail .kv { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 28px; }
}
@keyframes reveal { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* ---------- signs (ledger list + photo) ---------- */
.duo { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .duo { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 72px; } .duo--rev > :first-child { order: 2; } }
.ledger { list-style: none; counter-reset: sign; }
.ledger li { counter-increment: sign; display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 4px 12px; padding: 20px 0; border-top: 1px solid var(--line); }
.ledger li:last-child { border-bottom: 1px solid var(--line); }
.ledger li::before { content: counter(sign, decimal-leading-zero); font: 700 .95rem/1.6 var(--f-body); color: var(--steel-ink); font-variant-numeric: tabular-nums; }
.ledger strong { display: block; font-size: 1.04rem; color: var(--deep); font-weight: 650; }
.ledger span { display: block; color: var(--muted); font-size: .94rem; margin-top: 2px; }
.photo-card { position: relative; border-radius: var(--r-l); overflow: hidden; background: #CFE0E3; box-shadow: var(--sh-1); }
.photo-card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; filter: grayscale(1) contrast(1.05) brightness(1.18); mix-blend-mode: multiply; }
.photo-card--plain { background: var(--dust-2); }
.photo-card--plain img { filter: none; mix-blend-mode: normal; }
.registry { position: absolute; left: 14px; right: 14px; bottom: 14px; background: rgba(255, 255, 255, .97); border: 1px solid var(--line); border-radius: 16px; padding: 14px; box-shadow: 0 18px 40px -20px rgba(18, 59, 74, .6); }
.registry h3 { font: 700 .88rem/1.3 var(--f-display); }
.registry ul { list-style: none; margin: 10px 0 0; display: grid; gap: 8px; }
.registry li { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: .84rem; border-top: 1px solid var(--line); padding-top: 8px; }
.registry li span { min-width: 0; }
.registry .chip { font-size: .7rem; padding: 3px 9px 3px 7px; }
.photo-cap { margin: 10px 4px 0; font-size: .78rem; color: var(--muted); }

/* ---------- layer stack (sticky cards) ---------- */
.lstack { display: grid; }
.slayer { position: sticky; top: calc(var(--hh) + 12px + var(--i) * var(--step)); margin-bottom: 18px; background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 -10px 24px -14px rgba(18, 59, 74, .3), var(--sh-1); overflow: hidden; }
.slayer__tab { display: flex; align-items: center; gap: 10px; height: var(--step); padding: 0 16px; background: linear-gradient(90deg, var(--steel-soft), #F4F9FA); border-bottom: 1px solid var(--line); font-size: .8rem; font-weight: 650; color: var(--deep); white-space: nowrap; overflow: hidden; }
.slayer__tab svg { width: 20px; height: 20px; flex: none; color: var(--steel-ink); }
.slayer__tab b { font-variant-numeric: tabular-nums; color: var(--steel-ink); }
.slayer__tab span { margin-left: auto; font-weight: 500; color: var(--muted); text-overflow: ellipsis; overflow: hidden; }
.slayer__body { display: grid; gap: 18px; padding: 20px 16px 22px; }
.slayer h3 { font-size: 1.25rem; }
.slayer__col h4 { font: 650 .68rem/1.2 var(--f-body); letter-spacing: .11em; text-transform: uppercase; color: var(--steel-ink); margin-bottom: 8px; }
.slayer__col ul { list-style: none; display: grid; gap: 7px; }
.slayer__col li { position: relative; padding-left: 20px; font-size: .93rem; line-height: 1.5; }
.slayer__col li::before { content: ""; position: absolute; left: 0; top: .6em; width: 10px; height: 2px; background: var(--amber); }
.slayer__col p { font-size: .93rem; line-height: 1.5; margin: 0; }
.slayer__col + .slayer__col { padding-top: 16px; border-top: 1px dashed var(--steel-line); }
.slayer__own { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; padding: 4px 12px; border-radius: 999px; background: var(--dust); border: 1px solid var(--line); font-size: .78rem; color: var(--ink-2); }
@media (min-width: 900px) {
  :root { --step: 48px; }
  .slayer__tab { padding: 0 26px; font-size: .86rem; }
  .slayer__body { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.2fr) minmax(0, 1fr); gap: 36px; padding: 28px 26px 32px; }
  .slayer__col + .slayer__col { padding-top: 0; border-top: 0; padding-left: 36px; border-left: 1px dashed var(--steel-line); }
}
.scopes-note { margin-top: 12px; padding: 16px 18px; border-radius: 14px; background: var(--amber-soft); border: 1px solid var(--amber-line); color: var(--amber-ink); font-size: .92rem; }

/* ---------- quiz teaser band ---------- */
.band { position: relative; background: var(--deep); color: #E4EFF1; overflow: clip; isolation: isolate; }
.band::before { content: ""; position: absolute; z-index: -1; inset: 0; background: radial-gradient(900px 420px at 88% 12%, rgba(76, 135, 147, .55), transparent 60%), repeating-linear-gradient(0deg, transparent 0 47px, rgba(255, 255, 255, .045) 47px 48px); }
.band h2 { color: #fff; }
.band .kicker { color: #BFE0E6; }
.band .lede { color: #CFE3E7; }
.band__grid { display: grid; gap: 40px; align-items: center; }
.band__list { list-style: none; display: grid; gap: 8px; margin: 22px 0 28px; }
.band__list li { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; color: #D6E7EA; }
.band__list svg { width: 18px; height: 18px; flex: none; color: var(--amber); margin-top: 3px; }
.ladder { list-style: none; display: grid; gap: 10px; }
.ladder li { display: grid; grid-template-columns: 56px minmax(0, 1fr); align-items: center; gap: 14px; padding: 14px 16px; border-radius: 16px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .16); position: relative; overflow: hidden; transition: background .3s, transform .35s var(--ease); }
.ladder li::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: calc(var(--n) * 25%); background: var(--amber); opacity: .9; }
.ladder li:hover { background: rgba(255, 255, 255, .13); transform: translateX(6px); }
.ladder b { font: 900 2.3rem/1 var(--f-display); color: var(--amber); text-align: center; }
.ladder strong { display: block; color: #fff; font-weight: 650; }
.ladder span { display: block; font-size: .85rem; color: #BCD6DB; margin-top: 2px; }
@media (min-width: 900px) { .band__grid { grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: 72px; } .ladder li:nth-child(1) { margin-right: 15%; } .ladder li:nth-child(2) { margin-right: 10%; } .ladder li:nth-child(3) { margin-right: 5%; } }

/* ---------- flow (mini process) ---------- */
.flow { list-style: none; display: grid; gap: 0; counter-reset: flow; }
.flow li { position: relative; align-content: start; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 0 16px; padding-bottom: 26px; }
.flow li::before { counter-increment: flow; content: counter(flow); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #fff; border: 2px solid var(--deep); font: 700 1rem/1 var(--f-display); color: var(--deep); position: relative; z-index: 1; }
.flow li::after { content: ""; position: absolute; left: 21px; top: 44px; bottom: 0; width: 2px; background: repeating-linear-gradient(var(--steel-line) 0 5px, transparent 5px 9px); }
.flow li:last-child::after { display: none; }
.flow li:last-child { padding-bottom: 0; }
.flow h3 { font-size: 1.02rem; padding-top: 10px; }
.flow p { margin: 4px 0 0; font-size: .9rem; color: var(--muted); line-height: 1.5; }
@media (min-width: 900px) {
  .flow { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; }
  .flow li { grid-template-columns: 1fr; padding-bottom: 0; }
  .flow li::after { left: 52px; right: -18px; top: 21px; bottom: auto; width: auto; height: 2px; background: repeating-linear-gradient(90deg, var(--steel-line) 0 5px, transparent 5px 9px); }
  .flow h3 { padding-top: 16px; }
}

/* ---------- responsibility ---------- */
.resp { display: grid; gap: 28px; align-items: start; }
@media (min-width: 1000px) { .resp { grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); gap: 56px; } }
.rules { display: grid; gap: 0; margin: 0; counter-reset: rule; }
.rule { position: relative; padding: 20px 0 20px 56px; border-top: 1px solid var(--line); counter-increment: rule; }
.rule:last-child { border-bottom: 1px solid var(--line); }
.rule::before { content: counter(rule); position: absolute; left: 0; top: 20px; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--deep); color: #fff; font: 700 .95rem/1 var(--f-display); }
.rule dt { font: 700 1.04rem/1.35 var(--f-display); color: var(--deep); }
.rule dd { margin: 6px 0 0; color: var(--ink-2); font-size: .95rem; line-height: 1.6; }
.rule ol { margin: 8px 0 0; padding-left: 1.2em; display: grid; gap: 4px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-l); box-shadow: var(--sh-1); padding: 18px 16px; }
@media (min-width: 560px) { .card { padding: 24px; } }
.card--sheets { position: relative; margin-bottom: 20px; }
.card--sheets::before, .card--sheets::after { content: ""; position: absolute; z-index: -1; left: 14px; right: 14px; top: 0; height: 100%; background: #fff; border: 1px solid var(--line); border-radius: var(--r-l); }
.card--sheets::before { transform: translateY(9px) scale(.98); }
.card--sheets::after { transform: translateY(18px) scale(.96); opacity: .7; }
.card__label { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.card__label h3 { font: 700 1rem/1.3 var(--f-display); }
.tag { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 999px; background: var(--amber-soft); border: 1px solid var(--amber-line); color: var(--amber-ink); font: 600 .72rem/1.3 var(--f-body); }
.journal { width: 100%; border-collapse: collapse; font-size: .86rem; }
.journal th { text-align: left; font: 650 .66rem/1.2 var(--f-body); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: 0 8px 8px 0; }
.journal td { padding: 11px 8px 11px 0; border-top: 1px solid var(--line); vertical-align: top; }
.journal td:first-child { font-weight: 650; color: var(--steel-ink); white-space: nowrap; }
.journal td:last-child { padding-right: 0; text-align: right; }
@media (max-width: 640px) {
  .journal thead { display: none; }
  .journal, .journal tbody, .journal tr, .journal td { display: block; }
  .journal tr { padding: 12px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: auto 1fr; gap: 4px 10px; }
  .journal td { border: 0; padding: 0; }
  .journal td:nth-child(2) { grid-column: 1 / -1; order: 3; font-weight: 500; }
  .journal td:nth-child(3), .journal td:nth-child(4) { color: var(--muted); font-size: .8rem; }
  .journal td:last-child { text-align: left; grid-column: 2; grid-row: 1; justify-self: end; }
}
.resp__note { margin-top: 26px; padding: 18px 20px; border-left: 4px solid var(--amber); background: #fff; border-radius: 0 14px 14px 0; font-size: .94rem; color: var(--ink-2); box-shadow: var(--sh-1); }
.pro { display: grid; gap: 0; margin-top: 64px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-l); overflow: hidden; box-shadow: var(--sh-1); }
.pro__photo img { width: 100%; height: 100%; max-height: 360px; aspect-ratio: 16 / 11; object-fit: cover; }
.pro__body { padding: 24px 20px 28px; }
.pro__who { display: flex; align-items: center; gap: 14px; }
.avatar { display: grid; place-items: center; width: 56px; height: 56px; flex: none; border-radius: 16px; background: var(--deep); color: #fff; font: 700 1.1rem/1 var(--f-display); position: relative; }
.avatar::after { content: ""; position: absolute; right: -4px; bottom: -4px; width: 16px; height: 16px; border-radius: 50%; background: var(--amber); border: 3px solid #fff; }
.pro__who h3 { font-size: 1.15rem; }
.pro__who p { margin: 2px 0 0; font-size: .88rem; color: var(--muted); }
.creds { list-style: none; display: grid; gap: 8px; margin: 20px 0; }
.creds li { display: flex; gap: 10px; align-items: flex-start; padding: 11px 14px; border-radius: 12px; background: var(--dust); border: 1px dashed var(--steel-line); font-size: .9rem; }
.creds svg { width: 18px; height: 18px; flex: none; color: var(--steel-ink); margin-top: 2px; }
.team { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.team li { padding: 6px 12px; border-radius: 999px; background: var(--steel-soft); font-size: .82rem; color: var(--deep); }
@media (min-width: 900px) { .pro { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); } .pro__photo img { max-height: none; aspect-ratio: auto; } .pro__body { padding: 40px 44px; } }

/* ---------- scope matrix ---------- */
.matrix { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--r-m); overflow: hidden; font-size: .93rem; box-shadow: var(--sh-1); }
.matrix th, .matrix td { padding: 16px 18px; text-align: left; vertical-align: top; border-top: 1px solid var(--line); line-height: 1.5; }
.matrix thead th { border-top: 0; background: var(--deep); color: #fff; font: 650 .74rem/1.2 var(--f-body); letter-spacing: .1em; text-transform: uppercase; }
.matrix tbody th { font-weight: 650; color: var(--deep); width: 22%; }
.matrix td { color: var(--ink-2); }
.matrix td:nth-child(2) { background: linear-gradient(90deg, rgba(225, 237, 239, .55), transparent); }
.matrix td:nth-child(3) { background: linear-gradient(90deg, rgba(251, 242, 221, .7), transparent); }
.mk { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 4px; font: 650 .7rem/1 var(--f-body); letter-spacing: .08em; text-transform: uppercase; }
.mk svg { width: 14px; height: 14px; }
@media (max-width: 860px) {
  .matrix, .matrix tbody, .matrix tr, .matrix th, .matrix td { display: block; }
  .matrix thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .matrix tr { border-top: 1px solid var(--line); padding: 14px 4px; }
  .matrix tbody tr:first-child { border-top: 0; }
  .matrix th, .matrix td { border: 0; padding: 6px 14px; width: auto !important; }
  .matrix td::before { content: attr(data-label); display: block; margin-bottom: 2px; font: 650 .68rem/1.2 var(--f-body); letter-spacing: .1em; text-transform: uppercase; color: var(--steel-ink); }
  .matrix td:nth-child(2), .matrix td:nth-child(3) { background: none; }
}

/* ---------- prices ---------- */
.prices { display: grid; gap: 22px; }
@media (min-width: 900px) { .prices { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } }
.pcard { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r-l); padding: 24px 22px; box-shadow: var(--sh-1); transition: transform .4s var(--ease), box-shadow .4s; }
.pcard:hover { transform: translateY(-4px); box-shadow: 0 24px 44px -24px rgba(18, 59, 74, .5); }
.pcard--main { border-color: var(--steel); box-shadow: 0 0 0 4px rgba(76, 135, 147, .12), var(--sh-1); }
.pcard h3 { font-size: 1.1rem; }
.pcard__price { margin: 14px 0 4px; font: 700 2.05rem/1.1 var(--f-display); color: var(--deep); }
.pcard__price small { font: 500 .9rem/1 var(--f-body); color: var(--muted); }
.pcard__lead { font-size: .94rem; color: var(--ink-2); }
.pcard ul { list-style: none; display: grid; gap: 8px; margin: 14px 0 18px; font-size: .9rem; }
.pcard li { display: flex; gap: 9px; align-items: flex-start; }
.pcard li svg { width: 16px; height: 16px; flex: none; margin-top: 4px; color: var(--steel-ink); }
.pcard__drv { margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--steel-line); font-size: .84rem; color: var(--muted); }
.pcard__drv b { color: var(--deep); }
.fees { margin-top: 36px; }
.fees h3 { margin-bottom: 14px; }
.feegrid { display: grid; gap: 0; border: 1px solid var(--line); border-radius: var(--r-m); overflow: hidden; background: #fff; }
.feegrid > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 16px; padding: 14px 18px; border-top: 1px solid var(--line); align-items: baseline; }
.feegrid > div:first-child { border-top: 0; }
.feegrid b { font-weight: 650; color: var(--deep); }
.feegrid em { white-space: nowrap; font-style: normal; font-weight: 650; color: var(--deep); font-variant-numeric: tabular-nums; text-align: right; }
.feegrid small { grid-column: 1 / -1; color: var(--muted); font-size: .8rem; }
@media (max-width: 719px) { .feegrid > div { grid-template-columns: 1fr; } .feegrid em { text-align: left; } }
@media (min-width: 720px) { .feegrid { grid-template-columns: 1fr 1fr; } .feegrid > div:nth-child(2) { border-top: 0; } .feegrid > div:nth-child(even) { border-left: 1px solid var(--line); } }
.legalnote { margin-top: 22px; padding: 16px 18px; border-radius: 14px; background: #fff; border: 1px dashed var(--steel); font-size: .9rem; color: var(--ink-2); }
.legalnote b { color: var(--deep); }

/* ---------- cases ---------- */
.cases { display: grid; gap: 22px; }
@media (min-width: 900px) { .cases { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.case { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r-l); padding: 22px; box-shadow: var(--sh-1); }
.case .tag { align-self: flex-start; margin-bottom: 14px; }
.case h3 { font-size: 1.08rem; }
.case__sit { margin: 10px 0 0; font-size: .92rem; color: var(--muted); }
.case ol { list-style: none; margin: 18px 0; display: grid; gap: 0; counter-reset: cs; }
.case ol li { counter-increment: cs; position: relative; padding: 0 0 14px 34px; font-size: .9rem; line-height: 1.5; }
.case ol li::before { content: counter(cs); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--steel-soft); color: var(--steel-ink); font: 700 .72rem/1 var(--f-body); }
.case ol li::after { content: ""; position: absolute; left: 10px; top: 24px; bottom: 2px; width: 2px; background: var(--steel-soft); }
.case ol li:last-child { padding-bottom: 0; }
.case ol li:last-child::after { display: none; }
.case__layers { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--steel-line); }
.case__layers span { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px 4px 6px; border-radius: 999px; background: var(--dust); border: 1px solid var(--line); font-size: .76rem; color: var(--ink-2); }
.case__layers svg { width: 16px; height: 16px; color: var(--steel-ink); }
.case__res { margin-top: 12px; font-size: .86rem; color: var(--ink-2); }

/* ---------- FAQ ---------- */
.faqwrap { display: grid; gap: 28px; align-items: start; }
@media (min-width: 960px) { .faqwrap { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 72px; } .faqwrap .sec__head { position: sticky; top: calc(var(--hh) + 28px); margin-bottom: 0; } }
.faq { display: grid; gap: 10px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; transition: border-color .25s; }
.faq details[open] { border-color: var(--steel); }
.faq summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; padding: 12px 18px; cursor: pointer; font-weight: 650; color: var(--deep); border-radius: 14px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--steel-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232D6371' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 7v10M7 12h10'/%3E%3C/svg%3E") center / 14px no-repeat; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(135deg); }
.faq details > div { padding: 0 18px 18px; color: var(--ink-2); font-size: .95rem; animation: reveal .4s var(--ease) both; }
.faq details > div p:last-child { margin-bottom: 0; }

/* ---------- contacts, map, forms ---------- */
.contact { display: grid; gap: 28px; align-items: start; }
@media (min-width: 1000px) { .contact { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; } }
.office { display: grid; gap: 18px; }
.office dl { display: grid; gap: 14px; margin: 0; }
.office dt { font: 650 .68rem/1.2 var(--f-body); letter-spacing: .11em; text-transform: uppercase; color: var(--steel-ink); }
.office dd { margin: 3px 0 0; font-size: .98rem; }
.open-badge { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; padding: 5px 12px; border-radius: 999px; background: var(--dust-2); color: var(--muted); font: 600 .8rem/1.3 var(--f-body); }
.open-badge::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: currentColor; }
.open-badge[data-state="open"] { background: #DCEBEE; color: #1D5361; }
.open-badge[data-state="open"]::before { background: var(--steel); box-shadow: 0 0 0 4px rgba(76, 135, 147, .25); }
.open-badge[data-state="closed"] { background: var(--amber-soft); color: var(--amber-ink); }
.map { border: 1px solid var(--line); border-radius: var(--r-m); overflow: hidden; background: #E9F0EF; box-shadow: var(--sh-1); }
.map > svg { width: 100%; height: auto; aspect-ratio: 560 / 340; }
.map__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; padding: 12px 16px; background: #fff; border-top: 1px solid var(--line); font-size: .86rem; color: var(--muted); }
.channels { display: grid; gap: 10px; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 6px; }
.channels .btn { padding: 0 8px; font-size: .88rem; }
@media (max-width: 460px) { .channels { grid-template-columns: 1fr; } }
.phone-line { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; margin-top: 14px; font-size: .95rem; }
.phone-line button { display: inline-flex; align-items: center; min-height: 44px; padding: 0 2px; border: 0; background: none; font: 700 1.1rem/1 var(--f-body); color: var(--deep); text-decoration: underline; text-decoration-color: var(--amber); text-decoration-thickness: 3px; text-underline-offset: 5px; }
.form { display: grid; gap: 16px; }
.form h3 { font-size: 1.3rem; }
.form__row { display: grid; gap: 16px; }
@media (min-width: 560px) { .form__row--2 { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: .88rem; color: var(--deep); }
.field input, .field select { width: 100%; min-height: 50px; padding: 0 14px; border: 1.5px solid var(--steel-line); border-radius: 12px; background: #fff; font-size: 1rem; transition: border-color .2s, box-shadow .2s; }
.field select { appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232D6371' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 14px center / 18px no-repeat; padding-right: 42px; }
.field input:hover, .field select:hover { border-color: var(--steel); }
.field input:focus-visible, .field select:focus-visible { outline: 3px solid rgba(76, 135, 147, .45); outline-offset: 1px; border-color: var(--steel); }
.form__warn { margin: 0; display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; background: var(--amber-soft); border: 1px solid var(--amber-line); color: var(--amber-ink); font-size: .88rem; font-weight: 550; }
.form__warn svg { width: 20px; height: 20px; flex: none; margin-top: 1px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .88rem; line-height: 1.5; color: var(--ink-2); cursor: pointer; padding: 4px 0; }
.check input { flex: none; width: 24px; height: 24px; margin: 0; accent-color: var(--deep); cursor: pointer; }
.check a { font-weight: 600; }
.form__fine { font-size: .8rem; color: var(--muted); margin: 0; }

/* ---------- footer ---------- */
.site-footer { background: var(--deep-2); color: #B9D0D5; padding: 56px 0 28px; }
.site-footer a { color: #E4F0F2; }
.site-footer a:hover { color: var(--amber); }
.foot { display: grid; gap: 32px; }
@media (min-width: 900px) { .foot { grid-template-columns: 1.3fr 1fr 1fr; gap: 56px; } }
.foot .brand { color: #fff; }
.site-footer .brand__mark { color: #2B6E7E; }
.foot .brand__sub { color: #9DBBC1; }
.foot h4 { color: #fff; font: 650 .72rem/1.2 var(--f-body); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 10px; }
.foot ul { list-style: none; display: grid; gap: 0; }
.foot li a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; font-size: .92rem; }
.foot p { font-size: .9rem; }
.foot__phone { display: inline-flex; align-items: center; min-height: 44px; border: 0; background: none; color: #fff; font: 650 1.05rem/1 var(--f-body); text-decoration: underline; text-decoration-color: var(--amber); text-underline-offset: 5px; text-decoration-thickness: 2px; padding: 0; }
.foot__legal { margin-top: 36px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .14); display: grid; gap: 8px; font-size: .78rem; line-height: 1.55; color: #98B5BB; }
.foot__legal p { margin: 0; }

/* ---------- mobile contact bar ---------- */
.sbar { position: fixed; z-index: 45; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .95); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-top: 1px solid var(--line); transition: transform .35s var(--ease); }
.sbar.is-hidden { transform: translateY(110%); }
.sbar .btn { min-height: 46px; padding: 0 10px; font-size: .9rem; }
@media (min-width: 720px) { .sbar { display: none; } }
@media (max-width: 719px) { body.has-sbar { padding-bottom: 64px; } }

/* ---------- legal pages ---------- */
.doc { max-width: 780px; padding: 40px 0 72px; }
.doc h1 { font-size: clamp(1.6rem, 1.1rem + 2vw, 2.3rem); margin: 6px 0 20px; }
.doc h2 { font-size: 1.2rem; margin: 32px 0 10px; }
.doc p, .doc li { color: var(--ink-2); }
.doc ul { padding-left: 1.2em; display: grid; gap: 6px; margin-bottom: 1em; }
.doc table { width: 100%; border-collapse: collapse; margin: 8px 0 16px; font-size: .94rem; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 12px 14px; border: 1px solid var(--line); background: #fff; }
.doc th { width: 30%; background: var(--steel-soft); color: var(--deep); }
.notice { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; background: var(--amber-soft); border: 1px solid var(--amber-line); color: var(--amber-ink); font-size: .92rem; }
.notice svg { width: 22px; height: 22px; flex: none; }
.back { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 600; text-decoration: none; }
.back svg { width: 18px; height: 18px; }

/* ================= quiz ================= */
.qhead { padding: 40px 0 8px; }
.qhead__in { display: grid; gap: 18px; }
.qhead__in > * { max-width: 800px; }
.qchips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin-top: 4px; }
.qchips li { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .82rem; color: var(--ink-2); }
.qchips svg { width: 16px; height: 16px; color: var(--steel-ink); }
.qlayout { display: grid; gap: 24px; padding: 24px 0 64px; align-items: start; }
@media (min-width: 1000px) { .qlayout { grid-template-columns: minmax(0, 1.4fr) minmax(300px, .7fr); gap: 32px; } .qstack { position: sticky; top: calc(var(--hh) + 20px); } }
.qcard { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r-l); padding: 20px 16px 22px; box-shadow: var(--sh-1); }
.qcard::before, .qcard::after { content: ""; position: absolute; z-index: -1; left: 16px; right: 16px; top: 0; height: 100%; background: #fff; border: 1px solid var(--line); border-radius: var(--r-l); }
.qcard::before { transform: translateY(9px) scale(.98); }
.qcard::after { transform: translateY(18px) scale(.96); opacity: .7; }
@media (min-width: 640px) { .qcard { padding: 32px 36px 34px; } }
.qprog { display: grid; gap: 10px; margin-bottom: 24px; }
.qprog__top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: .84rem; color: var(--muted); }
.qprog__top b { color: var(--deep); font-variant-numeric: tabular-nums; }
.qprog__bar { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; height: 6px; }
.qprog__bar i { display: block; border-radius: 3px; background: var(--dust-2); transition: background .4s; }
.qprog__bar i.is-done { background: var(--steel); }
.qprog__bar i.is-now { background: var(--amber); }
.q { border: 0; padding: 0; margin: 0; min-width: 0; }
.q[hidden] { display: none; }
.q legend { padding: 0; width: 100%; font: 700 clamp(1.25rem, 1rem + 1.1vw, 1.65rem)/1.3 var(--f-display); color: var(--deep); letter-spacing: -.01em; }
.q legend:focus { outline: none; }
.q legend:focus-visible { outline: 3px solid var(--steel); outline-offset: 6px; }
.q__layer { display: flex; width: fit-content; align-items: center; gap: 8px; margin-bottom: 14px; font-family: var(--f-body); letter-spacing: 0; padding: 4px 12px 4px 6px; border-radius: 999px; background: var(--steel-soft); color: var(--steel-ink); font-size: .78rem; font-weight: 650; }
.q__layer svg { width: 20px; height: 20px; }
.q__hint { margin: 10px 0 20px; color: var(--muted); font-size: .92rem; }
.opts { display: grid; gap: 10px; }
.opt { position: relative; display: block; cursor: pointer; }
.opt input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.opt__box { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 14px; align-items: center; min-height: 64px; padding: 12px 16px; border: 1.5px solid var(--steel-line); border-radius: 14px; background: #fff; transition: border-color .2s, background .2s, box-shadow .25s, transform .25s var(--ease); }
.opt:hover .opt__box { border-color: var(--steel); background: #F6FAFA; }
.opt__key { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--steel-soft); color: var(--steel-ink); font: 700 .9rem/1 var(--f-body); transition: background .2s, color .2s; }
.opt__key svg { display: none; width: 18px; height: 18px; }
.opt__txt { font-size: .96rem; line-height: 1.45; color: var(--ink); }
.opt__txt small { display: block; margin-top: 2px; color: var(--muted); font-size: .8rem; }
.opt input:checked + .opt__box { border-color: var(--deep); background: #EEF6F7; box-shadow: 0 0 0 3px rgba(18, 59, 74, .12); }
.opt input:checked + .opt__box .opt__key { background: var(--deep); color: #fff; }
.opt input:checked + .opt__box .opt__key span { display: none; }
.opt input:checked + .opt__box .opt__key svg { display: block; }
.opt input:focus-visible + .opt__box { outline: 3px solid var(--steel); outline-offset: 3px; }
.opt--na .opt__box { border-style: dashed; background: var(--dust); }
.qnav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 26px; flex-wrap: wrap; }
.qnav__msg { flex: 1 1 100%; margin: 0; min-height: 1.4em; font-size: .86rem; color: var(--amber-ink); font-weight: 600; }
.qnav .btn[aria-disabled="true"] { opacity: .55; }
.qnav .btn--ghost[hidden] { display: none; }
.qstack { background: #fff; border: 1px solid var(--line); border-radius: var(--r-l); padding: 20px 16px; box-shadow: var(--sh-1); }
.qstack h2 { font: 700 1rem/1.3 var(--f-display); }
.qstack__sub { margin: 4px 0 14px; font-size: .82rem; color: var(--muted); }
.qrows { list-style: none; display: grid; gap: 6px; }
.qrow { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; gap: 4px 10px; align-items: center; padding: 9px 10px; border: 1px solid var(--line); border-radius: 12px; transition: border-color .25s, background .25s, box-shadow .25s; }
.qrow svg { width: 30px; height: 30px; padding: 6px; border-radius: 9px; background: var(--steel-soft); color: var(--steel-ink); }
.qrow__name { font-size: .88rem; font-weight: 600; line-height: 1.25; color: var(--deep); }
.qrow__lvl { font-size: .76rem; color: var(--muted); font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
.meter { grid-column: 2 / -1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 3px; height: 6px; }
.meter i { display: block; border-radius: 3px; background: var(--dust-2); transition: background .45s var(--ease), transform .45s var(--ease); transform-origin: left; }
.qrow[data-level="1"] .meter i:nth-child(1), .qrow[data-level="2"] .meter i:nth-child(-n+2) { background: var(--amber); }
.qrow[data-level="3"] .meter i:nth-child(-n+3), .qrow[data-level="4"] .meter i { background: var(--steel); }
.qrow[data-level="na"] { border-style: dashed; background: var(--dust); }
.qrow[data-level="na"] .meter i { background: repeating-linear-gradient(135deg, var(--dust-2) 0 2px, #fff 2px 4px); }
.qrow.is-now { border-color: var(--steel); box-shadow: 0 10px 22px -16px rgba(18, 59, 74, .55); background: #F6FAFA; }
.qstack__period { margin: 14px 0 0; padding-top: 12px; border-top: 1px dashed var(--steel-line); font-size: .84rem; color: var(--muted); }
.qstack__period b { color: var(--deep); }
.legend-lv { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 12px; font-size: .72rem; color: var(--muted); }
.legend-lv span { display: inline-flex; align-items: center; gap: 6px; }
.legend-lv i { width: 14px; height: 6px; border-radius: 3px; background: var(--steel); }
.legend-lv i.lo { background: var(--amber); }

.result { animation: reveal .6s var(--ease) both; }
.result[hidden] { display: none; }
.result:focus { outline: none; }
.result__head { display: grid; gap: 20px; align-items: center; grid-template-columns: auto minmax(0, 1fr); }
.result__num { display: grid; place-items: center; width: 108px; height: 108px; border-radius: 28px; background: var(--deep); color: var(--amber); font: 900 3.9rem/1 var(--f-display); position: relative; }
.result__num small { position: absolute; left: 0; right: 0; bottom: 10px; text-align: center; font: 600 .66rem/1 var(--f-body); letter-spacing: .12em; text-transform: uppercase; color: #BFE0E6; }
.result__num b { font-weight: 900; transform: translateY(-6px); }
.result h2 { font-size: clamp(1.4rem, 1.1rem + 1.4vw, 2rem); }
.result__lead { margin: 8px 0 0; color: var(--ink-2); }
.urgent { display: grid; gap: 12px; margin-top: 22px; padding: 16px 18px; border-radius: 16px; background: var(--amber-soft); border: 1.5px solid var(--amber); color: var(--amber-ink); }
.urgent[hidden] { display: none; }
.urgent b { color: var(--deep); }
.urgent p { margin: 0; font-size: .94rem; }
.next { margin-top: 22px; padding: 20px 20px 22px; border-radius: 18px; background: var(--deep); color: #E4EFF1; position: relative; overflow: hidden; }
.next::after { content: ""; position: absolute; right: -40px; top: -40px; width: 140px; height: 140px; border-radius: 50%; background: rgba(225, 184, 100, .18); }
.next h3 { color: #fff; font-size: 1.05rem; display: flex; gap: 10px; align-items: center; }
.next h3 svg { width: 22px; height: 22px; color: var(--amber); flex: none; }
.next p { margin: 10px 0 0; position: relative; z-index: 1; font-size: .96rem; }
.result h3.sub { margin: 30px 0 12px; font-size: 1.1rem; }
.weak { list-style: none; display: grid; gap: 8px; }
.weak li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 4px 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.weak svg { width: 34px; height: 34px; padding: 7px; border-radius: 10px; background: var(--amber-soft); color: var(--amber-ink); grid-row: span 2; }
.weak b { font-size: .92rem; color: var(--deep); }
.weak b span { font-weight: 500; color: var(--muted); }
.weak p { margin: 0; font-size: .88rem; color: var(--ink-2); }
.answers { width: 100%; border-collapse: collapse; font-size: .88rem; }
.answers th, .answers td { text-align: left; padding: 9px 10px 9px 0; border-top: 1px solid var(--line); vertical-align: top; }
.answers th { width: 36%; font-weight: 600; color: var(--deep); }
.answers td { color: var(--ink-2); }
.result__form { margin-top: 30px; padding: 22px 18px; border-radius: 18px; background: var(--dust); border: 1px solid var(--line); }
.result__again { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 18px; }
.ladder-mini { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 22px; }
.ladder-mini li { padding: 10px 8px 12px; border-radius: 12px; background: var(--dust); border: 1px solid var(--line); text-align: center; font-size: .72rem; line-height: 1.3; color: var(--muted); transition: background .3s; }
.ladder-mini b { display: block; font: 900 1.4rem/1.1 var(--f-display); color: var(--steel-ink); }
.ladder-mini li.is-me { background: var(--deep); border-color: var(--deep); color: #D2E5E9; transform: translateY(-4px); box-shadow: 0 14px 24px -14px rgba(18, 59, 74, .7); }
.ladder-mini li.is-me b { color: var(--amber); }
.method { padding: 8px 0 72px; }
.method__box { background: #fff; border: 1px solid var(--line); border-radius: var(--r-l); padding: 24px 20px; box-shadow: var(--sh-1); }
.method h2 { font-size: 1.35rem; }
.method dl { display: grid; gap: 14px 28px; margin: 18px 0 0; }
.method dt { font: 650 .68rem/1.2 var(--f-body); letter-spacing: .11em; text-transform: uppercase; color: var(--steel-ink); }
.method dd { margin: 3px 0 0; font-size: .92rem; color: var(--ink-2); }
.method__disc { margin: 20px 0 0; padding: 14px 16px; border-radius: 12px; background: var(--dust); border-left: 4px solid var(--amber); font-size: .86rem; color: var(--ink-2); }
@media (min-width: 800px) { .method dl { grid-template-columns: 1fr 1fr; } .method__box { padding: 32px 36px; } .method dl > div:last-child:nth-child(odd) { grid-column: 1 / -1; } }
@media (max-width: 480px) { .result__head { grid-template-columns: 1fr; } .result__num { width: 92px; height: 92px; font-size: 3.2rem; border-radius: 24px; } }

/* ================= process ================= */
.phead { position: relative; padding: 40px 0 56px; overflow: clip; isolation: isolate; }
.phead::before { content: ""; position: absolute; z-index: -1; right: -10%; top: -20%; width: 60%; height: 140%; background: linear-gradient(165deg, #fff, var(--steel-soft)); clip-path: polygon(24% 0, 100% 0, 100% 100%, 0 100%); }
.phead__grid { display: grid; gap: 36px; align-items: center; }
@media (min-width: 1000px) { .phead { padding: 64px 0 88px; } .phead__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; } }
.phead h1 { max-width: 16em; }
.phead .lede { margin-top: 18px; }
.proj { font-size: .9rem; }
.proj__row { display: grid; grid-template-columns: 1fr; gap: 4px; padding: 12px 0; border-top: 1px solid var(--line); }
.proj__row dt { font: 650 .66rem/1.2 var(--f-body); letter-spacing: .1em; text-transform: uppercase; color: var(--steel-ink); }
.proj__row dd { margin: 0; display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; }
.proj__dots { display: grid; grid-template-columns: repeat(6, 1fr); gap: 5px; margin: 14px 0 0; list-style: none; }
.proj__dots li { display: grid; gap: 6px; font-size: .66rem; line-height: 1.2; color: var(--muted); }
.proj__dots li::before { content: ""; height: 8px; border-radius: 4px; background: var(--steel); }
.proj__dots li.is-now::before { background: var(--amber); }
.proj__dots li.is-next::before { background: transparent; box-shadow: inset 0 0 0 1.5px var(--steel); }
.pstages { position: relative; display: grid; gap: 22px; }
.prail { position: absolute; left: 21px; top: 24px; bottom: 24px; width: 2px; background: repeating-linear-gradient(var(--steel-line) 0 6px, transparent 6px 10px); }
.prail i { position: absolute; left: -1px; top: 0; width: 4px; height: var(--p, 0%); background: var(--deep); border-radius: 2px; transition: height .25s linear; }
.pstage { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; }
.pstage__n { position: relative; z-index: 1; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #fff; border: 2px solid var(--steel); font: 700 1.05rem/1 var(--f-display); color: var(--deep); transition: background .35s, color .35s, border-color .35s, transform .35s var(--ease); }
.pstage.is-active .pstage__n, .pstage.is-past .pstage__n { background: var(--deep); border-color: var(--deep); color: #fff; }
.pstage.is-active .pstage__n { transform: scale(1.12); box-shadow: 0 0 0 6px rgba(225, 184, 100, .45); }
.pcard2 { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 20px 16px 22px; box-shadow: var(--sh-1); transition: border-color .35s, box-shadow .35s; }
.pstage.is-active .pcard2 { border-color: var(--steel); box-shadow: 0 0 0 4px rgba(76, 135, 147, .1), var(--sh-1); }
.pcard2__top .chip { white-space: normal; }
.pcard2__top { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; justify-content: space-between; }
.pcard2 h3 { font-size: 1.2rem; }
.pcard2__lead { margin: 10px 0 0; color: var(--ink-2); font-size: .98rem; }
.pcard2__layers { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 14px; }
.pcard2__layers b { margin-right: 4px; font: 650 .66rem/1.2 var(--f-body); letter-spacing: .11em; text-transform: uppercase; color: var(--steel-ink); }
.pcard2__layers span { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px 4px 6px; border-radius: 999px; background: var(--dust); border: 1px solid var(--line); font-size: .76rem; color: var(--ink-2); }
.pcard2__layers svg { width: 16px; height: 16px; color: var(--steel-ink); }
.pgrid { display: grid; gap: 0; margin: 18px 0 0; }
.pgrid > div { padding: 14px 0; border-top: 1px dashed var(--steel-line); }
.pgrid dt { font: 650 .66rem/1.2 var(--f-body); letter-spacing: .11em; text-transform: uppercase; color: var(--steel-ink); }
.pgrid dd { margin: 4px 0 0; font-size: .92rem; line-height: 1.55; color: var(--ink); }
.pcard2__out { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; margin-top: 4px; padding-top: 14px; border-top: 1px solid var(--line); font-size: .84rem; color: var(--muted); }
@media (min-width: 720px) { .pstages { gap: 28px; } .pstage { grid-template-columns: 44px minmax(0, 1fr); gap: 28px; } .pcard2 { padding: 28px 32px 28px; } .pgrid { grid-template-columns: 1fr 1fr; gap: 0 32px; } }
@media (min-width: 1000px) { .pstages { max-width: 980px; margin-inline: auto; } }
.hero-band { position: relative; min-height: 420px; display: grid; align-items: end; color: #fff; overflow: clip; isolation: isolate; }
.hero-band img { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-band::before { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(0deg, rgba(12, 44, 56, .93) 0%, rgba(12, 44, 56, .66) 55%, rgba(12, 44, 56, .46) 100%); }
.hero-band__in { padding: 56px 0 40px; display: grid; gap: 24px; }
.hero-band h2 { color: #fff; max-width: 17em; }
.hero-band p { color: #D3E6EA; max-width: 40em; }
.chan { display: grid; gap: 14px; margin: 0; }
.chan__step { display: grid; gap: 4px; padding: 16px 18px; border-radius: 16px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .24); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.chan__step b { display: flex; gap: 8px; align-items: center; color: #fff; font-size: .94rem; }
.chan__step b svg { width: 18px; height: 18px; color: var(--amber); flex: none; }
.chan__step span { font-size: .86rem; color: #CBE0E4; }
@media (min-width: 900px) { .hero-band { min-height: 520px; } .chan { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.glossary { display: grid; gap: 14px; }
@media (min-width: 720px) { .glossary { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .glossary { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.gl { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 18px; display: grid; gap: 8px; align-content: start; }
.gl p { margin: 0; font-size: .9rem; color: var(--ink-2); }
.gl small { color: var(--muted); font-size: .8rem; }
.cadence { display: grid; gap: 0; margin-top: 8px; list-style: none; border: 1px solid var(--line); border-radius: var(--r-m); overflow: hidden; background: #fff; }
.cadence li { display: grid; gap: 4px; padding: 18px 18px 20px; border-top: 1px solid var(--line); position: relative; }
.cadence li:first-child { border-top: 0; }
.cadence b { font: 700 .72rem/1.2 var(--f-body); letter-spacing: .1em; text-transform: uppercase; color: var(--steel-ink); }
.cadence strong { color: var(--deep); font-size: 1.02rem; }
.cadence span { font-size: .88rem; color: var(--muted); }
.cadence li::after { content: ""; position: absolute; left: 0; bottom: 0; height: 4px; width: var(--w); background: var(--steel); }
.cadence li:nth-child(3)::after { background: var(--amber); }
.cadence li:nth-child(4)::after { background: var(--deep); }
@media (min-width: 900px) { .cadence { grid-template-columns: repeat(4, minmax(0, 1fr)); } .cadence li { border-top: 0; border-left: 1px solid var(--line); } .cadence li:first-child { border-left: 0; } }
.dates { display: grid; gap: 14px; margin-top: 8px; }
@media (min-width: 900px) { .dates { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.date { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 20px; box-shadow: var(--sh-1); display: grid; gap: 8px; align-content: start; }
.date__d { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.date__d b { font: 700 1.5rem/1.1 var(--f-display); color: var(--deep); }
.date__left { font-size: .78rem; font-weight: 650; padding: 3px 10px; border-radius: 999px; background: var(--steel-soft); color: var(--steel-ink); }
.date__left:empty { display: none; }
.date__left.is-past { background: var(--dust-2); color: var(--muted); }
.date p { margin: 0; font-size: .92rem; color: var(--ink-2); }
.date small { color: var(--muted); font-size: .8rem; }
.cta-end { background: var(--deep); color: #E4EFF1; border-radius: var(--r-l); padding: 32px 22px; display: grid; gap: 22px; align-items: center; position: relative; overflow: hidden; }
.cta-end::after { content: ""; position: absolute; right: -60px; bottom: -80px; width: 260px; height: 260px; border-radius: 50%; border: 36px solid rgba(225, 184, 100, .16); }
.cta-end h2 { color: #fff; }
.cta-end p { margin: 10px 0 0; color: #CFE3E7; }
.cta-end .hero__cta { margin: 0; position: relative; z-index: 1; }
@media (min-width: 900px) { .cta-end { grid-template-columns: 1.3fr 1fr; padding: 48px 56px; } .cta-end .hero__cta { justify-content: flex-end; } }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* review: на узких экранах описание слоя в корешке не помещается и обрезается */
@media (max-width: 559px) { .slayer__tab span { display: none; } }
