/* «Кухня цифр» — демо-сайт NXAI. Направление «Чистый поток» + томатный акцент.
   Токены, компоненты, страницы: index / map / prices / legal. */

:root {
  --ice: #F4F8FF;
  --ice-2: #EAF1FD;
  --ice-3: #DCE8FA;
  --white: #FFFFFF;
  --cobalt: #1746A2;
  --cobalt-d: #0F3274;
  --blue: #2F7FE8;
  --blue-l: #BBD3F7;
  --teal: #83D0C9;
  --teal-l: #DDF3F0;
  --teal-d: #0E766E;
  --graphite: #17202A;
  --muted: #4F5F70;
  --line: #D6E2F5;
  --tomato: #E8502F;
  --tomato-d: #B8321A;
  --tomato-l: #FDE9E4;
  --tomato-m: #F5B5A4;
  --font: "Onest", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: "PT Serif", Georgia, "Times New Roman", serif;
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --shadow: 0 1px 0 rgba(23, 70, 162, .05), 0 14px 34px -14px rgba(23, 70, 162, .22);
  --shadow-lg: 0 1px 0 rgba(23, 70, 162, .06), 0 28px 60px -24px rgba(23, 70, 162, .32);
  --wrap: 1240px;
  --gut: 24px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--ice); color: var(--graphite);
  font: 400 17px/1.58 var(--font); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: var(--cobalt); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--blue); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
section[id], article[id] { scroll-margin-top: 84px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
::selection { background: var(--blue-l); }
.num { font-variant-numeric: tabular-nums lining-nums; font-feature-settings: "tnum" 1; }
.nowrap { white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--graphite); color: #fff; padding: 12px 18px; border-radius: 12px; text-decoration: none; font-weight: 600; transition: top .2s; }
.skip:focus { top: 12px; }
.wrap { width: min(100% - 2 * var(--gut), var(--wrap)); margin-inline: auto; }

/* ---------- typography ---------- */
.h-display { font-size: clamp(2.2rem, 3.7vw, 3.3rem); line-height: 1.04; font-weight: 700; letter-spacing: -.028em; text-wrap: balance; }
.h2 { font-size: clamp(1.8rem, 3.3vw, 2.75rem); line-height: 1.1; font-weight: 700; letter-spacing: -.022em; text-wrap: balance; }
.h3 { font-size: clamp(1.15rem, 1.6vw, 1.35rem); line-height: 1.25; font-weight: 650; letter-spacing: -.012em; }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.22rem); line-height: 1.55; color: var(--muted); max-width: 60ch; text-wrap: pretty; }
.small { font-size: .875rem; line-height: 1.5; }
.muted { color: var(--muted); }
.note { font-family: var(--serif); font-style: italic; color: var(--muted); font-size: .9375rem; line-height: 1.55; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .8125rem; font-weight: 650; letter-spacing: .09em; text-transform: uppercase; color: var(--cobalt); }
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--tomato); }

/* ---------- buttons, tags ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 24px;
  border-radius: 999px; border: 1px solid transparent; font: 600 16px/1.1 var(--font); text-decoration: none; text-align: center;
  transition: transform .25s var(--ease), background .2s, box-shadow .25s, border-color .2s, color .2s;
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .25s var(--ease); }
.btn:hover svg.arr { transform: translateX(3px); }
.btn--primary { background: var(--cobalt); color: #fff; box-shadow: 0 12px 26px -12px rgba(23, 70, 162, .8); }
.btn--primary:hover { background: var(--cobalt-d); color: #fff; transform: translateY(-1px); }
.btn--ghost { background: #fff; color: var(--cobalt); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--blue); color: var(--cobalt); transform: translateY(-1px); }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: 15px; }
.btn--light { background: #fff; color: var(--cobalt-d); }
.btn--light:hover { background: var(--ice-2); color: var(--cobalt-d); transform: translateY(-1px); }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); }
.btn--outline-light:hover { background: rgba(255, 255, 255, .1); border-color: #fff; color: #fff; }
.linkbtn { background: none; border: 0; padding: 0; min-height: 44px; display: inline-flex; align-items: center; color: inherit; font-weight: 650; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.linkbtn:hover { color: var(--blue); }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: 999px; background: var(--ice-2); color: var(--cobalt); font-size: .78rem; font-weight: 600; line-height: 1.3; }
.tag--ex { background: #fff; border: 1px dashed var(--blue-l); color: var(--muted); font-weight: 550; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: .78rem; font-weight: 650; line-height: 1.35; white-space: nowrap; }
.chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.chip--ok { background: var(--teal-l); color: var(--teal-d); }
.chip--ask { background: var(--tomato-l); color: var(--tomato-d); }
.chip--wait { background: #fff; color: var(--cobalt); box-shadow: inset 0 0 0 1px var(--blue-l); }
.chip--work { background: var(--ice-2); color: var(--cobalt); }

/* ---------- header ---------- */
.site-head { position: sticky; top: 0; z-index: 50; background: rgba(244, 248, 255, .88); -webkit-backdrop-filter: saturate(1.5) blur(14px); backdrop-filter: saturate(1.5) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-head.is-stuck { border-color: var(--line); box-shadow: 0 8px 24px -18px rgba(23, 70, 162, .5); }
.site-head__in { display: flex; align-items: center; gap: 18px; min-height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--graphite); min-height: 44px; }
.logo:hover { color: var(--graphite); }
.logo__mark { width: 34px; height: 34px; flex: none; }
.logo__name { font-weight: 750; font-size: 1.2rem; letter-spacing: -.02em; }
.nav { display: flex; gap: 2px; margin-inline: auto; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 15px; border-radius: 999px; color: var(--graphite); text-decoration: none; font-weight: 550; font-size: .97rem; transition: background .2s, color .2s; }
.nav a:hover { background: var(--ice-2); color: var(--cobalt); }
.nav a[aria-current="page"] { background: #fff; box-shadow: inset 0 0 0 1px var(--line); color: var(--cobalt); }
.site-head__cta { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-weight: 600; color: var(--cobalt); }
.nav-toggle__bars { width: 16px; height: 10px; background: linear-gradient(currentColor 0 0) 0 0 / 100% 2px no-repeat, linear-gradient(currentColor 0 0) 0 100% / 100% 2px no-repeat; }
@media (max-width: 899px) {
  .site-head__in { flex-wrap: wrap; row-gap: 0; }
  .site-head__cta { margin-left: auto; }
  .site-head__cta .btn { display: none; }
  .nav { order: 5; flex: 1 0 100%; flex-wrap: wrap; margin: 0 0 10px; }
  .js .nav { display: none; }
  .js .nav.is-open { display: flex; flex-direction: column; gap: 0; padding: 6px 0 10px; border-top: 1px solid var(--line); }
  .js .nav.is-open a { border-radius: 12px; min-height: 48px; }
  .js .nav-toggle { display: inline-flex; }
}

/* ---------- sections ---------- */
.sec { padding-block: clamp(56px, 8vw, 110px); position: relative; }
.sec--white { background: #fff; }
.sec--ice { background: var(--ice); }
.sec--ice2 { background: var(--ice-2); }
.sec__head { display: grid; gap: 14px; max-width: 760px; margin-bottom: clamp(28px, 4vw, 52px); }
.sec__head--row { max-width: none; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: end; gap: 24px 56px; }
@media (max-width: 899px) { .sec__head--row { grid-template-columns: 1fr; } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(34px, 5vw, 76px) clamp(48px, 7vw, 100px);
  background:
    radial-gradient(900px 480px at 88% 6%, rgba(131, 208, 201, .36), transparent 62%),
    radial-gradient(760px 520px at 2% 0%, rgba(47, 127, 232, .15), transparent 62%),
    var(--ice); }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(23, 70, 162, .17) 1px, transparent 1.5px); background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(180deg, #000 0, transparent 78%); mask-image: linear-gradient(180deg, #000 0, transparent 78%); }
.hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
@media (max-width: 1019px) { .hero__grid { grid-template-columns: 1fr; } }
.kicker { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 10px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .86rem; font-weight: 600; color: var(--cobalt); margin-bottom: 22px; box-shadow: 0 6px 18px -12px rgba(23, 70, 162, .5); }
.kicker__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--tomato); box-shadow: 0 0 0 4px rgba(232, 80, 47, .16); }
.hl { position: relative; white-space: nowrap; color: var(--cobalt); }
.hl::after { content: ""; position: absolute; left: -2px; right: -2px; bottom: .02em; height: .2em; z-index: -1; border-radius: 3px; background: var(--tomato-m); opacity: .75; transform-origin: left; transform: scaleX(1); }
.ml-ready .hero .hl::after { transform: scaleX(0); transition: transform .9s var(--ease) .7s; }
.ml-ready .hero .is-in .hl::after, .ml-ready .hero .hl.is-in::after { transform: scaleX(1); }
.hero .h-display { margin-bottom: 20px; position: relative; z-index: 0; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero__facts { display: grid; gap: 10px; margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); }
.hero__facts li { display: flex; align-items: baseline; gap: 10px; font-size: .96rem; color: var(--muted); }
.hero__facts li::before { content: ""; flex: none; width: 8px; height: 8px; margin-top: .45em; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 3px var(--teal-l); }
.hero__facts b { color: var(--graphite); font-weight: 650; }

/* ---------- app card (interface fragment) ---------- */
.app { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.app__bar { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; padding: 12px 18px; border-bottom: 1px solid var(--line); background: linear-gradient(#fff, #F7FAFF); }
.app__dots { display: inline-flex; gap: 6px; }
.app__dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--ice-3); }
.app__title { font-size: .86rem; font-weight: 600; color: var(--graphite); flex: 1 1 200px; min-width: 0; }
.app__body { padding: clamp(16px, 2.2vw, 26px); }
.app__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; padding: 14px clamp(16px, 2.2vw, 26px); border-top: 1px solid var(--line); background: #F9FBFF; }
.switch { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; cursor: pointer; font-weight: 600; font-size: .94rem; position: relative; }
.switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.switch__ui { position: relative; width: 46px; height: 26px; flex: none; border-radius: 999px; background: var(--ice-3); transition: background .25s; }
.switch__ui::after { content: ""; position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(23, 32, 42, .25); transition: transform .25s var(--ease); }
.switch input:checked + .switch__ui { background: var(--tomato); }
.switch input:checked + .switch__ui::after { transform: translateX(20px); }
.switch input:focus-visible + .switch__ui { outline: 3px solid var(--blue); outline-offset: 3px; }
.fm-cap { flex: 1 1 260px; min-width: 0; font-size: .9rem; line-height: 1.5; color: var(--muted); }
.fm-cap b { color: var(--graphite); font-weight: 650; }
.fm-cap a { font-weight: 600; white-space: nowrap; }

/* ---------- flow map ---------- */
.fm { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 14px 64px; align-items: center; }
.fm__svg { position: absolute; left: 0; top: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.fm__src { position: relative; z-index: 1; display: grid; gap: 12px; }
.fm__hubwrap { position: relative; z-index: 1; display: grid; justify-items: center; text-align: center; }
.fm__out { position: relative; z-index: 1; }
.fm__hub { position: relative; width: 136px; aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; background: radial-gradient(circle at 50% 30%, #fff, #EDF3FE); box-shadow: 0 0 0 1px var(--line), 0 20px 44px -18px rgba(23, 70, 162, .5); }
.fm__ring { position: absolute; inset: 6px; width: calc(100% - 12px); height: calc(100% - 12px); transform: rotate(-90deg); }
.fm__ring circle { fill: none; stroke-width: 7; }
.fm__ring .trk { stroke: var(--ice-2); }
.fm__ring .seg { stroke-dasharray: 0 340; transition: stroke-dasharray 1s var(--ease); }
.fm__ring .s-ok { stroke: var(--teal); }
.fm__ring .s-ask { stroke: var(--tomato); transition-delay: .25s; }
.fm__ring .s-wait { stroke: var(--blue); transition-delay: .5s; }
.fm[data-state="check"] .fm__ring .s-ok { stroke-dasharray: 200.6 340; stroke-dashoffset: 0; }
.fm[data-state="check"] .fm__ring .s-ask { stroke-dasharray: 98.8 340; stroke-dashoffset: -203.6; }
.fm[data-state="check"] .fm__ring .s-wait { stroke-dasharray: 30.9 340; stroke-dashoffset: -305.4; }
.fm__hub-txt { position: relative; line-height: 1.1; padding: 0 14px; }
.fm__hub-txt b { display: block; font-size: 1.7rem; font-weight: 750; letter-spacing: -.035em; color: var(--graphite); }
.fm__hub-txt span { display: block; margin-top: 3px; font-size: .74rem; color: var(--muted); font-weight: 550; }
.fm__hub-txt .t-check { display: none; }
.fm[data-state="check"] .fm__hub-txt .t-check { display: block; }
.fm[data-state="check"] .fm__hub-txt .t-idle { display: none; }
.fm__hub-cap { position: absolute; top: 100%; left: 50%; transform: translateX(-50%); margin-top: 10px; width: max-content; max-width: 16ch; font-size: .78rem; line-height: 1.35; color: var(--muted); font-weight: 550; }
.fm__hub-cap b { display: block; color: var(--graphite); font-weight: 650; font-size: .86rem; }

.fm-node { position: relative; display: flex; align-items: center; gap: 12px; width: 100%; min-height: 64px; padding: 11px 14px; text-align: left; border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: 0 1px 0 rgba(23, 70, 162, .04); color: var(--graphite); transition: transform .25s var(--ease), border-color .2s, box-shadow .25s; }
.fm-node:hover { transform: translateY(-1px); border-color: var(--blue-l); box-shadow: 0 10px 22px -14px rgba(23, 70, 162, .5); }
.fm-node[aria-pressed="true"] { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(47, 127, 232, .2), 0 10px 22px -14px rgba(23, 70, 162, .5); }
.fm-node__ico { flex: none; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 11px; background: var(--ice-2); color: var(--cobalt); }
.fm-node__ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.fm-node__txt { display: grid; gap: 3px; min-width: 0; justify-items: start; }
.fm-node__txt b { font-size: .98rem; font-weight: 650; line-height: 1.2; letter-spacing: -.01em; }
.fm-node__txt small { font-size: .78rem; color: var(--muted); line-height: 1.3; }
.fm-node .chip { font-size: .72rem; padding: 2px 9px; }
.fm[data-state="idle"] .fm-node .chip { display: none; }
.fm[data-state="check"][data-size="compact"] .fm-node__txt small { display: none; }
.fm-node--out { background: var(--cobalt); color: #fff; border-color: var(--cobalt); }
.fm-node--out .fm-node__ico { background: rgba(255, 255, 255, .16); color: #fff; }
.fm-node--out .fm-node__txt small { color: rgba(255, 255, 255, .78); }
.fm-node--out:hover { border-color: var(--blue); }
.fm-node--out[aria-pressed="true"] { border-color: #fff; box-shadow: 0 0 0 3px rgba(47, 127, 232, .5); }
.fm-node--out .chip--ok { background: rgba(255, 255, 255, .16); color: #fff; }

.fm__line { fill: none; stroke: var(--blue-l); stroke-width: 2.5; stroke-linecap: round; transition: stroke .3s; }
.fm__flow { fill: none; stroke: var(--blue); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 3 11; opacity: 0; transition: opacity .5s; animation: fm-dash 1.1s linear infinite; }
.fm.is-live .fm__flow { opacity: .95; }
.fm__end { fill: #fff; stroke: var(--blue); stroke-width: 2; }
.fm__pkt { fill: var(--blue); opacity: 0; transition: opacity .5s; }
.fm.is-live .fm__pkt { opacity: 1; }
.fm[data-state="check"] .is-warn .fm__line, .fm[data-state="check"] .fm__line.is-warn { stroke: var(--tomato-m); }
.fm[data-state="check"] .fm__flow.is-warn { stroke: var(--tomato); }
.fm[data-state="check"] .fm__pkt.is-warn { fill: var(--tomato); }
.fm[data-state="check"] .fm__end.is-warn { stroke: var(--tomato); }
.fm__line.is-active, .fm__line.is-active.is-warn { stroke: var(--blue); }
.fm__badge { opacity: 0; transition: opacity .4s; }
.fm[data-state="check"] .fm__badge { opacity: 1; }
.fm__badge rect { fill: #fff; stroke: var(--tomato); stroke-width: 1.2; }
.fm__badge text { fill: var(--tomato-d); font: 650 11.5px/1 var(--font); text-anchor: middle; dominant-baseline: central; font-variant-numeric: tabular-nums; }
@keyframes fm-dash { to { stroke-dashoffset: -14; } }

@media (max-width: 719px) {
  .fm { grid-template-columns: minmax(0, 1fr) 96px; gap: 16px 40px; }
  .fm__out { grid-column: 1 / -1; }
  .fm__hub { width: 96px; }
  .fm__hub-txt { padding: 0 8px; }
  .fm__hub-txt b { font-size: 1.15rem; }
  .fm__hub-txt span { font-size: .62rem; }
  .fm__hub-cap { display: none; }
  .fm-node { padding: 9px 10px; gap: 9px; min-height: 60px; }
  .fm-node__ico { width: 32px; height: 32px; border-radius: 9px; }
  .fm-node__ico svg { width: 19px; height: 19px; }
  .fm-node__txt b { font-size: .88rem; }
  .fm-node__txt small { display: none; }
  .fm[data-state="idle"] .fm-node__txt small { display: block; font-size: .7rem; }
  .fm-node .chip { font-size: .68rem; padding: 2px 7px; }
  .fm__badge { display: none; }
}
.fm[data-size="compact"] .fm-node { padding: 10px 12px; gap: 10px; }
.fm[data-size="compact"] .fm-node__ico { width: 34px; height: 34px; }
/* full variant (map.html) */
.fm[data-size="full"] { gap: 18px clamp(56px, 8vw, 120px); grid-template-columns: minmax(0, 1fr) auto minmax(0, .8fr); }
.fm[data-size="full"] .fm__src { gap: 16px; }
.fm[data-size="full"] .fm-node { min-height: 84px; padding: 14px 18px; gap: 14px; }
.fm[data-size="full"] .fm-node__ico { width: 46px; height: 46px; border-radius: 13px; }
.fm[data-size="full"] .fm-node__ico svg { width: 26px; height: 26px; }
.fm[data-size="full"] .fm-node__txt b { font-size: 1.08rem; }
.fm[data-size="full"] .fm-node__txt small { font-size: .84rem; }
.fm[data-size="full"] .fm__hub { width: clamp(150px, 17vw, 206px); }
.fm[data-size="full"] .fm__hub-txt b { font-size: clamp(1.7rem, 2.6vw, 2.4rem); }
.fm[data-size="full"] .fm__hub-txt span { font-size: .84rem; }
@media (max-width: 719px) {
  .fm[data-size="full"] { gap: 16px 40px; grid-template-columns: minmax(0, 1fr) 96px; }
  .fm[data-size="full"] .fm__hub { width: 96px; }
  .fm[data-size="full"] .fm__hub-txt b { font-size: 1.15rem; }
  .fm[data-size="full"] .fm__hub-txt span { font-size: .62rem; }
  .fm[data-size="full"] .fm-node { min-height: 60px; padding: 9px 10px; }
  .fm[data-size="full"] .fm-node__ico { width: 32px; height: 32px; }
  .fm[data-size="full"] .fm-node__ico svg { width: 19px; height: 19px; }
  .fm[data-size="full"] .fm-node__txt b { font-size: .88rem; }
}

/* ---------- bento ---------- */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.b-card { position: relative; display: flex; flex-direction: column; gap: 14px; padding: clamp(20px, 2.4vw, 30px); background: var(--ice); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .2s; }
.b-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--blue-l); }
.b-card--3 { grid-column: span 3; }
.b-card--2 { grid-column: span 2; }
.b-card__top { display: flex; align-items: center; gap: 12px; }
.b-card__ico { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: #fff; color: var(--cobalt); box-shadow: inset 0 0 0 1px var(--line); }
.b-card__ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.b-card p { color: var(--muted); font-size: .96rem; }
.b-card__more { margin-top: auto; font-weight: 650; font-size: .94rem; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; }
.b-card__more svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.b-card__more:hover svg { transform: translateX(3px); }
.b-card--photo { flex-direction: row; align-items: stretch; gap: 20px; }
.b-card--photo > div { display: flex; flex-direction: column; gap: 14px; flex: 1 1 0; min-width: 0; }
.b-card--photo img { flex: 0 0 38%; width: 38%; object-fit: cover; border-radius: 16px; }
@media (max-width: 1019px) { .b-card--3 { grid-column: span 6; } .b-card--2 { grid-column: span 3; } .b-card--2:last-child { grid-column: span 6; } }
@media (max-width: 719px) { .b-card--2, .b-card--3 { grid-column: span 6; } .b-card--photo { flex-direction: column-reverse; } .b-card--photo img { width: 100%; flex: none; aspect-ratio: 16 / 10; } }

/* mini fragments */
.frag { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 4px 14px; font-size: .86rem; }
.frag table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.frag caption { text-align: left; padding: 10px 0 6px; font-weight: 650; color: var(--graphite); font-size: .8rem; }
.frag th { text-align: left; font-weight: 600; color: var(--muted); font-size: .74rem; padding: 6px 0; border-bottom: 1px solid var(--line); }
.frag th.r, .frag td.r { text-align: right; white-space: nowrap; padding-left: 8px; }
.frag td { padding: 8px 0; border-bottom: 1px solid var(--ice-2); }
.frag tr:last-child td { border-bottom: 0; }
.frag tfoot td, .frag .tot td { font-weight: 700; border-top: 1px solid var(--line); border-bottom: 0; }
.frag tr.ask td { color: var(--tomato-d); font-weight: 650; }
.frag tr.ask td:first-child { box-shadow: inset 3px 0 0 var(--tomato); padding-left: 10px; }
.frag-list { display: grid; gap: 0; }
.frag-list li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 10px; padding: 9px 0; border-bottom: 1px solid var(--ice-2); }
.frag-list li:last-child { border-bottom: 0; }
.frag-list b { font-weight: 600; }
.frag-list small { display: block; color: var(--muted); font-size: .76rem; }
.rota { display: grid; gap: 6px; padding: 12px 14px; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.rota__row { display: grid; grid-template-columns: 22px repeat(14, minmax(0, 1fr)); gap: 3px; align-items: center; }
.rota__row > b { font-size: .7rem; font-weight: 650; color: var(--muted); }
.rota__row i { aspect-ratio: 1; border-radius: 4px; background: var(--ice-2); }
.rota__row i.s { background: var(--blue); }
.rota__row i.b { background: var(--teal); }
.rota__row i.q { background: #fff; box-shadow: inset 0 0 0 2px var(--tomato); }
.rota__leg { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 4px; font-size: .74rem; color: var(--muted); }
.rota__leg span { display: inline-flex; align-items: center; gap: 6px; }
.rota__leg i { width: 11px; height: 11px; border-radius: 3px; background: var(--ice-3); }
.rota__leg i.s { background: var(--blue); }
.rota__leg i.b { background: var(--teal); }
.rota__leg i.q { background: #fff; box-shadow: inset 0 0 0 2px var(--tomato); }
.dl-chips { display: grid; gap: 8px; }
.dl-chip { display: flex; align-items: center; gap: 12px; padding: 10px 12px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.dl-chip time { flex: none; display: grid; place-items: center; width: 46px; padding: 4px 0; border-radius: 10px; background: var(--ice-2); color: var(--cobalt); font-weight: 700; line-height: 1.05; font-size: 1.05rem; }
.dl-chip time small { font-size: .62rem; font-weight: 650; text-transform: uppercase; letter-spacing: .05em; }
.dl-chip span { font-size: .84rem; line-height: 1.35; }

/* ---------- pipeline ---------- */
.pipe { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; counter-reset: pipe; }
.pipe::before { content: ""; position: absolute; left: 6%; right: 6%; top: 29px; height: 2px; background: repeating-linear-gradient(90deg, var(--blue-l) 0 8px, transparent 8px 16px); }
.pipe__step { position: relative; padding: 0 4px; counter-increment: pipe; }
.pipe__n { position: relative; display: grid; place-items: center; width: 58px; height: 58px; margin-bottom: 18px; border-radius: 50%; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); font-weight: 750; font-size: 1.1rem; color: var(--cobalt); }
.pipe__n::before { content: counter(pipe, decimal-leading-zero); }
.pipe__step:nth-child(3) .pipe__n { color: var(--tomato-d); box-shadow: 0 0 0 4px rgba(232, 80, 47, .12), var(--shadow); }
.pipe__cad { display: block; margin-bottom: 6px; font-size: .74rem; font-weight: 650; letter-spacing: .07em; text-transform: uppercase; color: var(--blue); }
.pipe__step h3 { margin-bottom: 8px; }
.pipe__step p { font-size: .93rem; color: var(--muted); }
@media (max-width: 1019px) { .pipe { grid-template-columns: 1fr; gap: 0; } .pipe::before { left: 28px; right: auto; top: 20px; bottom: 20px; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--blue-l) 0 8px, transparent 8px 16px); }
  .pipe__step { padding: 0 0 26px 78px; } .pipe__n { position: absolute; left: 0; top: 0; margin: 0; } .pipe__step:last-child { padding-bottom: 0; } }

/* ---------- venues + photo ---------- */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
@media (max-width: 899px) { .split { grid-template-columns: 1fr; } }
.photo { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--ice-2); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo--tall { aspect-ratio: 4 / 5; box-shadow: var(--shadow-lg); }
.photo__tag { position: absolute; left: 14px; bottom: 14px; right: 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.photo__tag .tag { background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.venues { display: grid; gap: 0; border-top: 1px solid var(--line); }
.venue { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 4px 18px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.venue__n { grid-row: span 2; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--ice-2); color: var(--cobalt); font-weight: 700; }
.venue h3 { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.venue h3 small { font-size: .8rem; font-weight: 600; color: var(--blue); letter-spacing: 0; }
.venue p { color: var(--muted); font-size: .96rem; }

/* ---------- scenarios ---------- */
.scn { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.scn__card { display: flex; flex-direction: column; gap: 14px; padding: clamp(20px, 2.4vw, 28px); background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); }
.scn__card .tag { align-self: flex-start; }
.scn__who { margin-top: -6px; font-size: .86rem; font-weight: 600; color: var(--cobalt); }
.scn__card dl { display: grid; gap: 12px; }
.scn__card dt { font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); margin-bottom: 2px; }
.scn__card dd { font-size: .95rem; color: var(--muted); }
.scn__card .h3 { min-height: 2.5em; margin-top: -4px; }
@media (max-width: 1019px) { .scn { grid-template-columns: 1fr; } .scn__card .h3 { min-height: 0; } }

/* ---------- responsibility ---------- */
.resp { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
@media (max-width: 1019px) { .resp { grid-template-columns: 1fr; } }
.resp__list { counter-reset: resp; border-top: 1px solid var(--line); }
.resp__item { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 4px 16px; padding: 20px 0; border-bottom: 1px solid var(--line); counter-increment: resp; }
.resp__item::before { content: counter(resp); grid-row: span 2; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--ice-2); color: var(--cobalt); font-weight: 700; font-size: .92rem; }
.resp__item h3 { font-size: 1.08rem; font-weight: 650; }
.resp__item p { color: var(--muted); font-size: .96rem; }
.tracker { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); overflow: hidden; }
.tracker__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; padding: 14px 18px; border-bottom: 1px solid var(--line); background: #F9FBFF; font-weight: 650; font-size: .94rem; }
.tracker__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; padding: 14px 18px; border-bottom: 1px solid var(--ice-2); }
.tracker__row:last-child { border-bottom: 0; }
.tracker__row b { font-weight: 600; font-size: .94rem; line-height: 1.35; }
.tracker__row small { grid-column: 1 / -1; color: var(--muted); font-size: .8rem; }
.tracker__row.is-ask { box-shadow: inset 3px 0 0 var(--tomato); }
.tracker__foot { padding: 14px 18px; background: #F9FBFF; border-top: 1px solid var(--line); }

/* ---------- deadlines ---------- */
.dl-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.dl-card { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); }
.dl-card__date { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.dl-card__date b { font-size: 2.1rem; font-weight: 750; letter-spacing: -.03em; line-height: 1; color: var(--cobalt); }
.dl-card__date span { font-weight: 600; color: var(--muted); }
.dl-card__left { display: inline-flex; align-self: flex-start; padding: 4px 11px; border-radius: 999px; background: var(--ice-2); color: var(--cobalt); font-size: .8rem; font-weight: 650; }
.dl-card p { font-size: .95rem; color: var(--muted); }
.dl-card p b { color: var(--graphite); }
@media (max-width: 1019px) { .dl-grid { grid-template-columns: 1fr; } }
.rules { margin-top: 20px; padding: clamp(18px, 2.4vw, 28px); background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--blue); border-radius: var(--r); }
.rules__title { font-weight: 700; margin-bottom: 12px; display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; }
.rules dl { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 8px 20px; font-size: .9rem; }
.rules dt { font-weight: 650; color: var(--graphite); }
.rules dd { color: var(--muted); }
.rules .note { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); font-size: .86rem; }
@media (max-width: 719px) { .rules dl { grid-template-columns: 1fr; gap: 2px; } .rules dd { margin-bottom: 8px; } }

/* ---------- practice / credentials ---------- */
.person { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
@media (max-width: 899px) { .person { grid-template-columns: 1fr; } .person .photo--tall { max-width: 360px; } }
.quote { position: relative; margin: 18px 0 26px; padding-left: 22px; border-left: 3px solid var(--tomato); font-family: var(--serif); font-style: italic; font-size: clamp(1.1rem, 1.7vw, 1.35rem); line-height: 1.5; color: var(--graphite); }
.quote footer { margin-top: 10px; font-family: var(--font); font-style: normal; font-size: .88rem; color: var(--muted); }
.creds { display: grid; gap: 0; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: #fff; }
.creds div { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 4px 16px; padding: 14px 18px; border-bottom: 1px solid var(--ice-2); font-size: .94rem; }
.creds div:last-child { border-bottom: 0; }
.creds dt { font-weight: 600; }
.creds dd { color: var(--muted); }
@media (max-width: 719px) { .creds div { grid-template-columns: 1fr; } }
.secure { display: flex; gap: 14px; margin-top: 18px; padding: 18px 20px; background: var(--ice); border: 1px solid var(--line); border-radius: var(--r); }
.secure svg { flex: none; width: 28px; height: 28px; fill: none; stroke: var(--cobalt); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.secure p { font-size: .93rem; color: var(--muted); }
.secure b { color: var(--graphite); }

/* ---------- contact band ---------- */
.band { position: relative; overflow: hidden; color: #fff; background: radial-gradient(700px 420px at 100% 0%, rgba(47, 127, 232, .55), transparent 60%), radial-gradient(520px 360px at 0% 100%, rgba(131, 208, 201, .22), transparent 60%), var(--cobalt-d); }
.band :focus-visible { outline-color: #fff; }
.band a { color: #fff; }
.band .eyebrow { color: var(--teal); }
.band .lead { color: rgba(255, 255, 255, .82); }
.band__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
@media (max-width: 999px) { .band__grid { grid-template-columns: 1fr; } }
.channels { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 14px; }
.channels .btn { min-height: 48px; padding: 0 20px; }
.phone-line { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; color: rgba(255, 255, 255, .85); font-size: .96rem; }
.phone-line .linkbtn { color: #fff; font-size: 1.15rem; font-weight: 700; letter-spacing: .01em; text-decoration: none; }
.phone-line .linkbtn:hover { color: var(--teal); text-decoration: underline; }
.form-card { margin-top: 24px; padding: clamp(18px, 2.4vw, 28px); background: #fff; color: var(--graphite); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); }
.form-card h3 { margin-bottom: 4px; }
.form-card > p.small { color: var(--muted); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 16px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 559px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; }
.field label { font-size: .86rem; font-weight: 600; }
.field input, .field select { width: 100%; min-height: 48px; padding: 0 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--graphite); transition: border-color .2s, box-shadow .2s; }
.field input:hover, .field select:hover { border-color: var(--blue-l); }
.field input:focus, .field select:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(47, 127, 232, .2); outline: none; }
.field input:focus-visible, .field select:focus-visible { outline: none; }
.warn-line { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 12px; background: var(--tomato-l); color: var(--tomato-d); font-size: .86rem; font-weight: 600; line-height: 1.4; }
.warn-line svg { flex: none; width: 18px; height: 18px; margin-top: 1px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.check { display: flex; align-items: flex-start; gap: 12px; min-height: 44px; padding-block: 10px; font-size: .88rem; line-height: 1.45; cursor: pointer; }
.check input { flex: none; width: 22px; height: 22px; margin: 0; accent-color: var(--cobalt); cursor: pointer; }
.check a { color: var(--cobalt); font-weight: 600; }
.check span { min-height: 24px; }
.form-card .btn { width: 100%; }
.mapcard { background: #fff; color: var(--graphite); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.mapcard__svg { width: 100%; height: auto; aspect-ratio: 600 / 420; background: var(--ice-2); }
.mapcard__body { display: grid; gap: 14px; padding: 20px 22px 22px; }
.mapcard__addr { font-weight: 650; font-size: 1.05rem; }
.mapcard__addr small { display: block; margin-top: 2px; font-weight: 500; color: var(--muted); font-size: .84rem; }
.hours { display: grid; grid-template-columns: max-content 1fr; gap: 4px 18px; font-size: .94rem; }
.hours dt { color: var(--muted); }
.hours dd { font-weight: 600; font-variant-numeric: tabular-nums; }
.open-badge { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; padding: 6px 13px; border-radius: 999px; background: var(--ice-2); color: var(--cobalt); font-size: .86rem; font-weight: 650; line-height: 1.3; }
.open-badge::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--blue-l); flex: none; }
.open-badge.is-open { background: var(--teal-l); color: var(--teal-d); }
.open-badge.is-open::before { background: var(--teal-d); box-shadow: 0 0 0 0 rgba(14, 118, 110, .4); animation: pulse-dot 2s infinite; }
.open-badge.is-closed { background: var(--tomato-l); color: var(--tomato-d); }
.open-badge.is-closed::before { background: var(--tomato); }
@keyframes pulse-dot { 70% { box-shadow: 0 0 0 7px rgba(14, 118, 110, 0); } 100% { box-shadow: 0 0 0 0 rgba(14, 118, 110, 0); } }
.pin-pulse { transform-origin: center; transform-box: fill-box; animation: pin 2.4s ease-out infinite; }
@keyframes pin { 0% { transform: scale(.5); opacity: .7; } 100% { transform: scale(2.2); opacity: 0; } }

/* ---------- footer ---------- */
.foot { background: var(--ice); border-top: 1px solid var(--line); padding-block: 48px 36px; font-size: .92rem; }
.foot__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); gap: 32px; }
@media (max-width: 899px) { .foot__grid { grid-template-columns: 1fr; } }
.foot h4 { font-size: .78rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.foot ul { display: grid; gap: 0; }
.foot li a, .foot li .linkbtn { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; font-weight: 550; color: var(--graphite); }
.foot li a:hover { color: var(--blue); }
.foot__legal { margin-top: 12px; color: var(--muted); max-width: 52ch; }
.foot__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: .84rem; }
.foot .open-badge { margin-top: 12px; }

/* ---------- sticky mobile bar ---------- */
.m-bar { display: none; }
@media (max-width: 760px) {
  body { padding-bottom: 76px; }
  .m-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-top: 1px solid var(--line); box-shadow: 0 -10px 30px -18px rgba(23, 70, 162, .5); }
  .m-bar .btn { min-height: 48px; padding: 0 12px; font-size: 15px; }
}
@media (max-width: 559px) { :root { --gut: 16px; } body { font-size: 16px; } }

/* ---------- page head (map / prices / legal) ---------- */
.phead { position: relative; overflow: hidden; padding-block: clamp(30px, 4.5vw, 64px) clamp(30px, 4.5vw, 56px);
  background: radial-gradient(800px 420px at 90% 0%, rgba(131, 208, 201, .32), transparent 62%), radial-gradient(640px 420px at 0% 0%, rgba(47, 127, 232, .14), transparent 62%), var(--ice); }
.phead::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(rgba(23, 70, 162, .15) 1px, transparent 1.5px); background-size: 22px 22px; -webkit-mask-image: linear-gradient(180deg, #000 0, transparent 90%); mask-image: linear-gradient(180deg, #000 0, transparent 90%); }
.phead__in { position: relative; display: grid; gap: 18px; justify-items: start; }
.phead__in > * { max-width: 900px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: .86rem; color: var(--muted); }
.crumbs a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; font-weight: 550; }
.crumbs span[aria-hidden] { opacity: .5; }
.facts-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }

/* ---------- map page: panels ---------- */
.mapsec { padding-block: 0 clamp(40px, 6vw, 80px); background: var(--ice); }
.np { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(20px, 3vw, 40px); padding: clamp(20px, 3vw, 40px); background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); }
.np + .np { margin-top: 16px; }
@media (max-width: 1019px) { .np { grid-template-columns: 1fr; } }
.np__head { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.np__head .b-card__ico { width: 46px; height: 46px; background: var(--ice-2); box-shadow: none; }
.np__head p { flex-basis: 100%; }
.np__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 28px; align-content: start; }
@media (max-width: 719px) { .np__cols { grid-template-columns: 1fr; } }
.np__cols h4 { font-size: .76rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); margin-bottom: 10px; }
.np__cols li { position: relative; padding-left: 18px; margin-bottom: 8px; font-size: .95rem; color: var(--muted); }
.np__cols li::before { content: ""; position: absolute; left: 0; top: .6em; width: 8px; height: 2px; border-radius: 2px; background: var(--blue-l); }
.np__cols .is-sep h4 { color: var(--tomato-d); }
.np__cols .is-sep li::before { background: var(--tomato-m); }
.np__side { display: grid; gap: 14px; align-content: start; }
.np__side img { width: 100%; border-radius: 16px; object-fit: cover; }
.np__issue { display: grid; gap: 4px; padding: 14px 16px; border-radius: 14px; background: var(--tomato-l); color: var(--tomato-d); font-size: .9rem; line-height: 1.45; }
.np__issue b { font-weight: 700; }
.js .np[hidden] { display: none !important; }
.np-wrap { margin-top: 20px; }
.sumtbl { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; font-size: .95rem; }
.sumtbl caption { text-align: left; padding: 0 0 12px; font-weight: 650; }
.sumtbl th { text-align: left; background: #F4F8FF; font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding: 12px 16px; }
.sumtbl td { padding: 13px 16px; border-top: 1px solid var(--ice-2); vertical-align: top; }
.sumtbl td:first-child { font-weight: 650; white-space: nowrap; }
.sumtbl tr.is-ask td:first-child { box-shadow: inset 3px 0 0 var(--tomato); }
.sum-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
@media (max-width: 1019px) { .sum-grid { grid-template-columns: 1fr; } }
.sum-aside { display: grid; gap: 16px; justify-items: start; }
.sum-ring { position: relative; width: 168px; aspect-ratio: 1; }
.sum-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.sum-ring circle { fill: none; stroke-width: 12; }
.sum-ring div { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; line-height: 1.15; }
.sum-ring b { font-size: 1.65rem; font-weight: 750; letter-spacing: -.03em; }
.sum-ring span { font-size: .8rem; color: var(--muted); font-weight: 550; }
.legend { display: grid; gap: 8px; font-size: .92rem; }
.legend li { display: flex; align-items: center; gap: 10px; }
@media (max-width: 759px) {
  .sumtbl thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .sumtbl, .sumtbl tbody, .sumtbl tr, .sumtbl td { display: block; width: 100%; }
  .sumtbl tr { padding: 12px 16px; border-top: 1px solid var(--ice-2); }
  .sumtbl tr:first-child { border-top: 0; }
  .sumtbl td { padding: 2px 0; border: 0; white-space: normal !important; }
  .sumtbl td:first-child { box-shadow: none !important; }
  .sumtbl tr.is-ask { box-shadow: inset 3px 0 0 var(--tomato); }
}
.three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.three .b-card { background: #fff; }
@media (max-width: 1019px) { .three { grid-template-columns: 1fr; } }
.three ul li { position: relative; padding-left: 18px; margin-bottom: 8px; font-size: .95rem; color: var(--muted); }
.three ul li::before { content: ""; position: absolute; left: 0; top: .6em; width: 8px; height: 2px; border-radius: 2px; background: var(--blue-l); }

/* ---------- prices page ---------- */
.calc { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(18px, 3vw, 36px); align-items: start; }
@media (max-width: 1019px) { .calc { grid-template-columns: 1fr; } }
.calc__form { padding: clamp(18px, 2.6vw, 32px); background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-bottom: 26px; counter-reset: st; }
.steps li { counter-increment: st; }
.steps button { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 44px; padding: 6px 10px; border-radius: 12px; border: 1px solid var(--line); background: var(--ice); text-align: left; font-size: .84rem; font-weight: 600; color: var(--muted); transition: all .2s; }
.steps button::before { content: counter(st); flex: none; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 1px var(--line); font-size: .78rem; font-weight: 700; }
.steps button[aria-current="step"] { background: #fff; border-color: var(--blue); color: var(--cobalt); box-shadow: 0 0 0 3px rgba(47, 127, 232, .15); }
.steps button[aria-current="step"]::before { background: var(--cobalt); color: #fff; box-shadow: none; }
.steps button.is-done::before { content: "✓"; background: var(--teal); color: var(--graphite); box-shadow: none; }
@media (max-width: 599px) { .steps button span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } .steps button { justify-content: center; } }
.cstep { border: 0; padding: 0; margin: 0 0 6px; min-width: 0; }
.cstep legend { padding: 0; margin-bottom: 4px; font-size: 1.25rem; font-weight: 700; letter-spacing: -.015em; }
.cstep > p { color: var(--muted); font-size: .94rem; margin-bottom: 16px; }
.js .cstep:not(.is-current) { display: none; }
.opts { display: grid; gap: 10px; }
.opt { position: relative; display: block; }
.opt input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.opt__body { display: grid; gap: 2px; padding: 14px 16px 14px 48px; border: 1px solid var(--line); border-radius: 14px; background: var(--ice); position: relative; transition: all .2s; }
.opt__body::before { content: ""; position: absolute; left: 16px; top: 17px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 2px var(--blue-l); transition: all .2s; }
.opt__body b { font-weight: 650; }
.opt__body small { color: var(--muted); font-size: .84rem; line-height: 1.4; }
.opt:hover .opt__body { border-color: var(--blue-l); }
.opt input:checked + .opt__body { border-color: var(--blue); background: #fff; box-shadow: 0 0 0 3px rgba(47, 127, 232, .16); }
.opt input:checked + .opt__body::before { background: radial-gradient(circle, var(--cobalt) 0 5px, #fff 6px); box-shadow: inset 0 0 0 2px var(--cobalt); }
.opt input:focus-visible + .opt__body { outline: 3px solid var(--blue); outline-offset: 3px; }
.rng { display: grid; gap: 4px; }
.rng__top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.rng__val { font-size: 2.4rem; font-weight: 750; letter-spacing: -.03em; line-height: 1; color: var(--cobalt); }
.rng__val small { font-size: .95rem; font-weight: 600; color: var(--muted); letter-spacing: 0; margin-left: 6px; }
.rng input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 44px; margin: 6px 0 0; background: transparent; cursor: pointer; --p: 30%; }
.rng input[type=range]::-webkit-slider-runnable-track { height: 8px; border-radius: 99px; background: linear-gradient(90deg, var(--blue) var(--p), var(--ice-3) var(--p)); }
.rng input[type=range]::-moz-range-track { height: 8px; border-radius: 99px; background: linear-gradient(90deg, var(--blue) var(--p), var(--ice-3) var(--p)); }
.rng input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 30px; margin-top: -11px; border-radius: 50%; background: #fff; border: 2px solid var(--cobalt); box-shadow: 0 4px 12px rgba(23, 70, 162, .35); transition: transform .15s; }
.rng input[type=range]::-moz-range-thumb { width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 2px solid var(--cobalt); box-shadow: 0 4px 12px rgba(23, 70, 162, .35); }
.rng input[type=range]:active::-webkit-slider-thumb { transform: scale(1.12); }
.rng__scale { display: flex; justify-content: space-between; font-size: .78rem; color: var(--muted); }
.rng__hint { margin-top: 10px; padding: 12px 14px; border-radius: 12px; background: var(--ice); font-size: .88rem; color: var(--muted); }
.cnav { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); }
.cnav .btn[disabled] { opacity: .4; pointer-events: none; }
.cnav .linkbtn { margin-left: auto; }
.est { position: sticky; top: 88px; padding: clamp(20px, 2.6vw, 30px); border-radius: var(--r-lg); background: var(--cobalt-d); color: #fff; box-shadow: var(--shadow-lg); background-image: radial-gradient(420px 260px at 100% 0%, rgba(47, 127, 232, .5), transparent 65%); }
@media (max-width: 1019px) { .est { position: static; } }
.est__lab { font-size: .8rem; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; color: var(--teal); }
.est__sum { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 12px; margin: 10px 0 4px; }
.est__sum .from { font-size: 1.3rem; font-weight: 600; opacity: .85; }
.est__sum b { font-size: clamp(2.6rem, 5vw, 3.6rem); font-weight: 750; letter-spacing: -.035em; line-height: 1; font-variant-numeric: tabular-nums; }
.est__sum span:last-child { font-size: 1.05rem; font-weight: 600; opacity: .85; }
.est__range { font-size: .94rem; color: rgba(255, 255, 255, .85); }
.est__range b { color: #fff; font-variant-numeric: tabular-nums; }
.est__bar { display: flex; gap: 3px; height: 14px; margin: 22px 0 14px; border-radius: 99px; overflow: hidden; }
.est__bar span { height: 100%; min-width: 0; transition: width .6s var(--ease); }
.c-base { background: var(--blue-l); }
.c-ops { background: var(--blue); }
.c-emp { background: var(--teal); }
.c-pts { background: var(--tomato-m); }
.est__legend { display: grid; gap: 0; font-size: .9rem; }
.est__legend li { display: grid; grid-template-columns: 14px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 9px 0; border-top: 1px solid rgba(255, 255, 255, .14); }
.est__legend i { width: 12px; height: 12px; border-radius: 4px; }
.est__legend .num { font-variant-numeric: tabular-nums; color: rgba(255, 255, 255, .9); text-align: right; }
.est__in { margin-top: 18px; padding: 14px 16px; border-radius: 14px; background: rgba(255, 255, 255, .08); font-size: .88rem; line-height: 1.5; color: rgba(255, 255, 255, .9); }
.est__in b { color: #fff; }
.est__act { display: grid; gap: 10px; margin-top: 18px; }
.est .btn { width: 100%; }
.est :focus-visible { outline-color: #fff; }
.calc-rules { margin-top: 22px; }
html:not(.js) .cnav, html:not(.js) .steps, html:not(.js) .est__act, html:not(.js) .cmini { display: none; }
.cmini { display: none; margin: 18px 0 0; padding: 12px 14px; border-radius: 12px; background: var(--ice-2); color: var(--muted); font-size: .9rem; line-height: 1.4; }
.cmini b { color: var(--cobalt); font-variant-numeric: tabular-nums; }
@media (max-width: 1019px) { .cmini { display: block; } }
.est__rules { margin: 14px 0 0; font-size: .8rem; line-height: 1.45; color: rgba(255, 255, 255, .78); }
.cstep + .cstep { margin-top: 28px; }
.js .cstep + .cstep { margin-top: 0; }
.tiers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 1119px) { .tiers { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639px) { .tiers { grid-template-columns: 1fr; } }
.tier { display: flex; flex-direction: column; gap: 14px; padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); transition: transform .35s var(--ease), border-color .2s; }
.tier:hover { transform: translateY(-3px); border-color: var(--blue-l); }
.tier__ico { width: 76px; height: 34px; }
.tier__ico path { fill: none; stroke: var(--blue); stroke-width: 2; stroke-linecap: round; }
.tier__ico circle.d { fill: var(--cobalt); }
.tier__ico circle.n { fill: var(--tomato); }
.tier h3 { font-size: 1.2rem; }
.tier__for { font-size: .9rem; color: var(--muted); min-height: 4.5em; }
.tier__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; padding: 12px 0; border-block: 1px solid var(--line); }
.tier__price .from { font-weight: 600; color: var(--muted); }
.tier__price b { font-size: 2.1rem; font-weight: 750; letter-spacing: -.03em; line-height: 1; color: var(--cobalt); font-variant-numeric: tabular-nums; }
.tier__price span:last-child { font-size: .9rem; color: var(--muted); font-weight: 600; }
.tier ul li { position: relative; padding-left: 18px; margin-bottom: 7px; font-size: .9rem; color: var(--muted); }
.tier ul li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 2px; border-radius: 2px; background: var(--blue-l); }
.tier__drv { margin-top: auto; padding: 12px 14px; border-radius: 12px; background: var(--ice); font-size: .84rem; color: var(--muted); }
.tier__drv b { color: var(--graphite); }
.tier .btn { margin-top: 4px; }
.regimes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 899px) { .regimes { grid-template-columns: 1fr; } }
.regime { padding: 22px 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); }
.regime h3 { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin-bottom: 8px; font-size: 1.1rem; }
.regime h3 .tag { font-weight: 600; }
.regime p { font-size: .94rem; color: var(--muted); }
.regime p + p { margin-top: 6px; }
.inc { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); font-size: .94rem; }
.inc caption { text-align: left; padding: 0 0 12px; font-weight: 650; }
.inc th { padding: 14px 18px; text-align: left; font-size: .76rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); background: #F4F8FF; border-bottom: 1px solid var(--line); }
.inc th.in { color: var(--teal-d); }
.inc th.out { color: var(--tomato-d); }
.inc td { padding: 15px 18px; vertical-align: top; border-bottom: 1px solid var(--ice-2); color: var(--muted); }
.inc tr:last-child td { border-bottom: 0; }
.inc td:first-child { font-weight: 650; color: var(--graphite); }
.inc td.in::before, .inc td.out::before { display: inline-grid; place-items: center; width: 18px; height: 18px; margin-right: 8px; border-radius: 50%; font-size: .68rem; font-weight: 800; vertical-align: 1px; }
.inc td.in::before { content: "✓"; background: var(--teal-l); color: var(--teal-d); }
.inc td.out::before { content: "+"; background: var(--tomato-l); color: var(--tomato-d); }
@media (max-width: 899px) {
  .inc thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .inc, .inc tbody, .inc tr, .inc td { display: block; width: 100%; }
  .inc tr { padding: 14px 18px; border-bottom: 1px solid var(--line); }
  .inc tr:last-child { border-bottom: 0; }
  .inc td { padding: 4px 0; border: 0; }
  .inc td[data-label]::after { content: attr(data-label); display: block; order: -1; }
  .inc td[data-label] { display: grid; }
  .inc td[data-label]::after { grid-row: 1; font-size: .72rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--blue); margin-bottom: 2px; }
}
.fees { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 1019px) { .fees { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639px) { .fees { grid-template-columns: 1fr; } }
.fee { display: flex; flex-direction: column; gap: 6px; padding: 20px 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); }
.fee h3 { font-size: 1.02rem; font-weight: 650; }
.fee .fee__p { font-size: 1.35rem; font-weight: 750; letter-spacing: -.02em; line-height: 1.2; color: var(--cobalt); font-variant-numeric: tabular-nums; }
.fee .fee__p small { font-size: .8rem; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.fee p { font-size: .88rem; color: var(--muted); }
.faq { display: grid; gap: 10px; max-width: 880px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--r); transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: var(--blue-l); box-shadow: var(--shadow); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; padding: 12px 20px; font-weight: 650; list-style: none; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--ice-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M6 9l5 5 5-5' fill='none' stroke='%231746A2' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 22px no-repeat; transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: rotate(180deg); }
.faq details p { padding: 0 20px 18px; color: var(--muted); font-size: .96rem; }

/* ---------- legal pages ---------- */
.legal { max-width: 820px; padding-block: 8px 80px; }
.legal h2 { font-size: 1.3rem; margin: 34px 0 10px; }
.legal p, .legal li { color: var(--muted); }
.legal p + p { margin-top: 10px; }
.legal ul { display: grid; gap: 6px; margin-top: 8px; }
.legal ul li { position: relative; padding-left: 18px; }
.legal ul li::before { content: ""; position: absolute; left: 0; top: .72em; width: 8px; height: 2px; background: var(--blue-l); border-radius: 2px; }
.legal__box { padding: 16px 18px; border: 1px dashed var(--blue-l); border-radius: var(--r); background: #fff; font-size: .92rem; color: var(--muted); margin-top: 24px; }

/* shared ribbon: keep it inside the viewport on tablets */
@media (max-width: 1060px) { .nx-ribbon__note { display: none; } }

/* ---------- motion respect ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .fm__flow { animation: none !important; stroke-dashoffset: 0; opacity: .9; }
  .fm__pkt { display: none; }
}
