/* =========================================================
   НВК ИНЖИНИРИНГ — TERMS PAGE
   Page styles are isolated under .nvk-terms.
   ========================================================= */
.nvk-terms {
    --nvk-terms-ink: #111b29;
    --nvk-terms-blue: #008dd5;
    --nvk-terms-line: var(--nvk-color-border);
    color: var(--nvk-color-text);
}

.nvk-terms :where(a, button):focus-visible {
    outline: 2px solid var(--nvk-color-focus);
    outline-offset: 4px;
}

/* Compact, text-only hero: the site header remains the shared component. */
.nvk-terms__hero {
    position: relative;
    color: var(--nvk-color-text);
    background: transparent;
}

.nvk-terms__hero-inner {
    width: 100%;
    max-width: none;
    padding: 18px var(--nvk-content-gutter) 0;
    margin: 0 auto;
}

.nvk-terms__breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 14px;
    color: var(--nvk-color-text-soft);
    font-size: 11px;
    line-height: 1.5;
}

.nvk-terms__breadcrumbs a {
    transition: color var(--nvk-transition-fast);
}

.nvk-terms__breadcrumbs a:hover {
    color: var(--nvk-color-text);
}

.nvk-terms__breadcrumbs svg {
    width: 12px;
    height: 12px;
    color: var(--nvk-color-text-soft);
}

.nvk-terms__breadcrumbs span {
    color: var(--nvk-color-text-muted);
}

.nvk-terms__hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(24px, 4vw, 56px);
    min-height: 0;
    padding: clamp(22px, 2.3vw, 32px) clamp(24px, 3vw, 46px);
    border: 1px solid var(--nvk-color-border);
    border-radius: 20px;
    background: var(--nvk-color-surface-muted);
}

.nvk-terms__hero-copy {
    min-width: 0;
    max-width: 900px;
    flex: 1 1 auto;
}

.nvk-terms__eyebrow {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 12px;
    color: var(--nvk-color-text-muted);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .13em;
    line-height: 1.5;
}

.nvk-terms__eyebrow > span {
    width: 18px;
    height: 2px;
    flex: 0 0 18px;
    border-radius: 2px;
    background: var(--nvk-color-primary);
}

.nvk-terms__hero h1 {
    max-width: 100%;
    margin: 0;
    color: var(--nvk-color-text);
    font-size: clamp(28px, 3.15vw, 44px);
    font-weight: 800;
    letter-spacing: -.05em;
    line-height: 1.08;
}

.nvk-terms__hero-description {
    max-width: 760px;
    margin: 10px 0 0;
    color: var(--nvk-color-text-muted);
    font-size: clamp(13px, 1vw, 15px);
    line-height: 1.65;
}

.nvk-terms__hero-note {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 0 0 min(330px, 29%);
    min-width: 0;
    max-width: 360px;
    padding: 8px 0 8px clamp(18px, 2vw, 30px);
    border-left: 1px solid var(--nvk-color-border);
    margin: 0;
}

.nvk-terms__hero-note-icon {
    display: grid;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid color-mix(in srgb, var(--nvk-color-primary) 18%, var(--nvk-color-border));
    border-radius: 13px;
    color: var(--nvk-color-primary);
    background: var(--nvk-color-primary-soft);
}

.nvk-terms__hero-note-icon svg {
    width: 21px;
    height: 21px;
    stroke-width: 1.7;
}

.nvk-terms__hero-note-copy {
    min-width: 0;
}

.nvk-terms__hero-note strong {
    display: block;
    color: var(--nvk-color-text);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.5;
}

.nvk-terms__hero-note small {
    display: block;
    margin-top: 4px;
    color: var(--nvk-color-text-muted);
    font-size: 11px;
    line-height: 1.55;
}

.nvk-terms__document { padding: clamp(28px, 3.3vw, 48px) var(--nvk-content-gutter) clamp(60px, 7vw, 100px); }
.nvk-terms__layout { display: grid; grid-template-columns: minmax(200px, 265px) minmax(0, 1fr); align-items: start; gap: clamp(26px, 4vw, 58px); max-width: 1560px; margin-inline: auto; }
.nvk-terms__sidebar { min-width: 0; }
.nvk-terms__toc { position: sticky; top: calc(var(--nvk-header-height) + 22px); display: flex; flex-direction: column; gap: 2px; padding: 14px 12px 12px; border: 1px solid color-mix(in srgb, var(--nvk-color-border) 75%, transparent); border-radius: 18px; background: color-mix(in srgb, var(--nvk-color-surface) 90%, transparent); box-shadow: var(--nvk-shadow-sm); }
.nvk-terms__toc-caption { margin: 2px 8px 9px; color: var(--nvk-color-text-soft); font-size: 9px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.nvk-terms__toc > a:not(.nvk-terms__toc-contact) { position: relative; display: grid; grid-template-columns: 24px minmax(0, 1fr); align-items: start; gap: 8px; padding: 9px 8px; border-radius: 8px; color: var(--nvk-color-text-muted); font-size: 10.5px; font-weight: 600; line-height: 1.5; transition: color var(--nvk-transition-fast), background var(--nvk-transition-fast); }
.nvk-terms__toc > a:not(.nvk-terms__toc-contact) > span { color: var(--nvk-color-text-soft); font-size: 9px; font-weight: 800; font-variant-numeric: tabular-nums; }
.nvk-terms__toc > a:not(.nvk-terms__toc-contact):hover { color: var(--nvk-color-text); background: var(--nvk-color-primary-soft); }
.nvk-terms__toc > a:not(.nvk-terms__toc-contact).is-active { color: var(--nvk-color-primary); background: var(--nvk-color-primary-soft); }
.nvk-terms__toc > a:not(.nvk-terms__toc-contact).is-active::before { position: absolute; top: 8px; bottom: 8px; left: -1px; width: 2px; border-radius: 4px; background: var(--nvk-color-primary); content: ""; }
.nvk-terms__toc > a.is-active > span { color: var(--nvk-color-primary); }
.nvk-terms__toc-contact { display: grid; grid-template-columns: 34px minmax(0, 1fr) 14px; align-items: center; gap: 10px; margin-top: 10px; padding: 13px 9px; border-top: 1px solid var(--nvk-color-border); color: var(--nvk-color-text); }
.nvk-terms__toc-contact-icon { display: grid; width: 32px; height: 32px; place-items: center; border: 1px solid var(--nvk-color-border); border-radius: 10px; color: var(--nvk-color-primary); background: var(--nvk-color-primary-soft); }
.nvk-terms__toc-contact-icon svg, .nvk-terms__toc-arrow { width: 15px; height: 15px; }
.nvk-terms__toc-contact strong { display: block; font-size: 10px; font-weight: 800; }
.nvk-terms__toc-contact small { display: block; margin-top: 2px; color: var(--nvk-color-text-muted); font-size: 9px; }
.nvk-terms__toc-arrow { color: var(--nvk-color-text-soft); }

.nvk-terms__content { min-width: 0; }
.nvk-terms__document-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 10px; color: var(--nvk-color-text-soft); font-size: 10px; line-height: 1.5; }
.nvk-terms__document-meta > span:first-child { display: inline-flex; align-items: center; gap: 7px; color: var(--nvk-color-primary); font-weight: 800; }
.nvk-terms__document-meta svg { width: 14px; height: 14px; }
.nvk-terms__section { display: grid; grid-template-columns: 40px minmax(0, 1fr); align-items: start; gap: clamp(13px, 1.65vw, 23px); padding: clamp(22px, 2.4vw, 34px) 0; border-bottom: 1px solid var(--nvk-color-border); scroll-margin-top: calc(var(--nvk-header-height) + 24px); }
.nvk-terms__section:first-of-type { padding-top: 12px; }
.nvk-terms__section--last { padding-bottom: 18px; border-bottom: 0; }
.nvk-terms__section-index { display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid color-mix(in srgb, var(--nvk-color-primary) 16%, var(--nvk-color-border)); border-radius: 12px; color: var(--nvk-color-primary); background: var(--nvk-color-primary-soft); font-size: 11px; font-weight: 800; font-variant-numeric: tabular-nums; }
.nvk-terms__section-kicker { margin: 1px 0 4px !important; color: var(--nvk-color-primary) !important; font-size: 9px !important; font-weight: 800; letter-spacing: .13em; line-height: 1.5 !important; text-transform: uppercase; }
.nvk-terms__section h2 { margin: 0 0 14px; color: var(--nvk-color-text); font-size: clamp(21px, 2.1vw, 29px); font-weight: 800; letter-spacing: -.045em; line-height: 1.18; }
.nvk-terms__section-body > p:not(.nvk-terms__section-kicker) { margin: 0 0 13px; color: var(--nvk-color-text-muted); font-size: 13px; line-height: 1.85; }
.nvk-terms__section-body > p:last-child { margin-bottom: 0; }
.nvk-terms__muted-paragraph { margin-top: 12px !important; color: var(--nvk-color-text-soft) !important; font-size: 11px !important; }
.nvk-terms__text-link { color: var(--nvk-color-primary); font-weight: 800; text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--nvk-color-primary) 35%, transparent); text-underline-offset: 3px; }
.nvk-terms__text-link:hover { text-decoration-color: currentColor; }
.nvk-terms__list { display: grid; gap: 8px; margin: 0 0 15px; padding: 0; list-style: none; }
.nvk-terms__list li { position: relative; padding-left: 21px; color: var(--nvk-color-text-muted); font-size: 13px; line-height: 1.75; }
.nvk-terms__list li::before { position: absolute; top: .68em; left: 2px; width: 6px; height: 6px; border-radius: 50%; background: var(--nvk-color-primary); box-shadow: 0 0 0 4px var(--nvk-color-primary-soft); content: ""; }

.nvk-terms__operator-card { display: flex; align-items: center; gap: 14px; padding: 18px; border: 1px solid var(--nvk-color-border); border-radius: 15px; background: linear-gradient(115deg, var(--nvk-color-surface) 0%, var(--nvk-color-surface-muted) 100%); }
.nvk-terms__operator-mark { display: grid; flex: 0 0 42px; width: 42px; height: 42px; place-items: center; border: 1px solid color-mix(in srgb, var(--nvk-color-primary) 20%, var(--nvk-color-border)); border-radius: 12px; color: var(--nvk-color-primary); background: var(--nvk-color-primary-soft); }
.nvk-terms__operator-mark svg { width: 20px; height: 20px; }
.nvk-terms__operator-main { min-width: 0; flex: 1; }
.nvk-terms__operator-main strong { display: block; color: var(--nvk-color-text); font-size: 13px; font-weight: 800; line-height: 1.45; }
.nvk-terms__operator-main span { display: block; margin-top: 4px; color: var(--nvk-color-text-soft); font-size: 10px; }
.nvk-terms__operator-main b { display: block; margin-top: 2px; color: var(--nvk-color-text-muted); font-size: 12px; font-variant-numeric: tabular-nums; letter-spacing: .04em; }
.nvk-terms__operator-tag { align-self: flex-start; flex: 0 0 auto; padding: 6px 9px; border: 1px solid color-mix(in srgb, var(--nvk-color-primary) 18%, var(--nvk-color-border)); border-radius: 999px; color: var(--nvk-color-primary); background: var(--nvk-color-primary-soft); font-size: 9px; font-weight: 800; }
.nvk-terms__contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 10px; }
.nvk-terms__contact-card { display: grid; grid-template-columns: 34px minmax(0, 1fr) 13px; align-items: center; gap: 10px; min-width: 0; padding: 13px; border: 1px solid var(--nvk-color-border); border-radius: 12px; background: var(--nvk-color-surface); transition: border-color var(--nvk-transition-fast), transform var(--nvk-transition-fast); }
.nvk-terms__contact-card:hover { border-color: color-mix(in srgb, var(--nvk-color-primary) 55%, var(--nvk-color-border)); transform: translateY(-2px); }
.nvk-terms__contact-icon { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 10px; color: var(--nvk-color-primary); background: var(--nvk-color-primary-soft); }
.nvk-terms__contact-icon svg, .nvk-terms__contact-arrow { width: 15px; height: 15px; }
.nvk-terms__contact-card small { display: block; color: var(--nvk-color-text-soft); font-size: 9px; }
.nvk-terms__contact-card strong { display: block; overflow-wrap: anywhere; margin-top: 3px; color: var(--nvk-color-text); font-size: 11px; font-weight: 800; }
.nvk-terms__contact-arrow { color: var(--nvk-color-text-soft); }

.nvk-terms__data-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; margin: 18px 0; }
.nvk-terms__data-card { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; min-height: 115px; padding: 13px; border: 1px solid var(--nvk-color-border); border-radius: 12px; background: var(--nvk-color-surface); transition: border-color var(--nvk-transition-fast), transform var(--nvk-transition-fast), background var(--nvk-transition-fast); }
.nvk-terms__data-card:hover { border-color: color-mix(in srgb, var(--nvk-color-primary) 35%, var(--nvk-color-border)); background: var(--nvk-color-surface-raised); transform: translateY(-2px); }
.nvk-terms__data-card > span { display: grid; width: 32px; height: 32px; place-items: center; margin-bottom: 9px; border-radius: 9px; color: var(--nvk-color-primary); background: var(--nvk-color-primary-soft); }
.nvk-terms__data-card svg { width: 16px; height: 16px; stroke-width: 1.8; }
.nvk-terms__data-card strong { color: var(--nvk-color-text); font-size: 11px; font-weight: 800; line-height: 1.45; }
.nvk-terms__data-card small { margin-top: 3px; color: var(--nvk-color-text-soft); font-size: 9px; line-height: 1.5; }

.nvk-terms__service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 16px 0; }
.nvk-terms__service-card { display: grid; grid-template-columns: 36px minmax(0, 1fr) 14px; align-items: center; gap: 11px; min-width: 0; padding: 13px; border: 1px solid var(--nvk-color-border); border-radius: 12px; background: var(--nvk-color-surface); transition: border-color var(--nvk-transition-fast), transform var(--nvk-transition-fast); }
.nvk-terms__service-card:hover { border-color: color-mix(in srgb, var(--nvk-color-primary) 40%, var(--nvk-color-border)); transform: translateY(-2px); }
.nvk-terms__service-logo { display: grid; width: 36px; height: 36px; place-items: center; border: 1px solid var(--nvk-color-border); border-radius: 10px; background: var(--nvk-color-surface-muted); font-size: 16px; font-weight: 800; }
.nvk-terms__service-logo--google { color: #4285f4; }
.nvk-terms__service-logo--yandex { color: #fc3f1d; }
.nvk-terms__service-card strong { display: block; color: var(--nvk-color-text); font-size: 11px; font-weight: 800; }
.nvk-terms__service-card small { display: block; margin-top: 4px; color: var(--nvk-color-text-soft); font-size: 9px; line-height: 1.5; }
.nvk-terms__service-card > svg { width: 14px; height: 14px; color: var(--nvk-color-text-soft); }

.nvk-terms__security-note { display: flex; gap: 13px; padding: 16px; border: 1px solid color-mix(in srgb, var(--nvk-color-primary) 20%, var(--nvk-color-border)); border-radius: 14px; margin: 4px 0 15px; background: var(--nvk-color-primary-soft); }
.nvk-terms__security-note > span { display: grid; flex: 0 0 38px; width: 38px; height: 38px; place-items: center; border: 1px solid color-mix(in srgb, var(--nvk-color-primary) 25%, var(--nvk-color-border)); border-radius: 11px; color: var(--nvk-color-primary); background: var(--nvk-color-surface); }
.nvk-terms__security-note > span svg { width: 18px; height: 18px; }
.nvk-terms__security-note strong { display: block; color: var(--nvk-color-text); font-size: 12px; font-weight: 800; }
.nvk-terms__security-note p { margin: 4px 0 0; color: var(--nvk-color-text-muted); font-size: 11px; line-height: 1.7; }

.nvk-terms__final-card { display: grid; grid-template-columns: 42px minmax(0, 1fr) 36px; align-items: center; gap: 14px; margin-top: 23px; padding: 17px; border: 1px solid var(--nvk-color-border); border-radius: 15px; background: linear-gradient(115deg, var(--nvk-color-surface) 0%, var(--nvk-color-surface-muted) 100%); }
.nvk-terms__final-icon { display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid color-mix(in srgb, var(--nvk-color-primary) 20%, var(--nvk-color-border)); border-radius: 12px; color: var(--nvk-color-primary); background: var(--nvk-color-primary-soft); }
.nvk-terms__final-icon svg { width: 20px; height: 20px; }
.nvk-terms__final-card strong { display: block; color: var(--nvk-color-text); font-size: 12px; font-weight: 800; line-height: 1.5; }
.nvk-terms__final-card p { margin: 4px 0 0; color: var(--nvk-color-text-muted); font-size: 10px; line-height: 1.6; }
.nvk-terms__final-card > a { display: grid; width: 36px; height: 36px; place-items: center; border: 1px solid var(--nvk-color-border); border-radius: 11px; color: var(--nvk-color-primary); background: var(--nvk-color-surface); transition: background var(--nvk-transition-fast), color var(--nvk-transition-fast); }
.nvk-terms__final-card > a:hover { color: #fff; border-color: var(--nvk-color-primary); background: var(--nvk-color-primary); }
.nvk-terms__final-card > a svg { width: 17px; height: 17px; }
.nvk-terms__document-end { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 0 61px; color: var(--nvk-color-text-soft); font-size: 9px; line-height: 1.6; }
.nvk-terms__document-end span { color: var(--nvk-color-primary); }

html[data-theme="dark"] .nvk-terms__hero-content { background: var(--nvk-color-surface-muted); }
html[data-theme="dark"] .nvk-terms__toc { background: color-mix(in srgb, var(--nvk-color-surface) 94%, transparent); }
html[data-theme="dark"] .nvk-terms__data-card, html[data-theme="dark"] .nvk-terms__contact-card, html[data-theme="dark"] .nvk-terms__service-card { background: var(--nvk-color-surface); }
html[data-theme="dark"] .nvk-terms__operator-card, html[data-theme="dark"] .nvk-terms__final-card { background: linear-gradient(115deg, var(--nvk-color-surface) 0%, var(--nvk-color-surface-muted) 100%); }

@media (min-width: 1600px) {
    .nvk-terms__hero-inner { max-width: 1760px; }
}

@media (max-width: 1050px) {
    .nvk-terms__layout { grid-template-columns: minmax(190px, 225px) minmax(0, 1fr); gap: 24px; }
    .nvk-terms__toc { padding-inline: 9px; }
    .nvk-terms__toc > a:not(.nvk-terms__toc-contact) { font-size: 10px; }
    .nvk-terms__data-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .nvk-terms__hero-note { flex-basis: 235px; }
}

@media (max-width: 760px) {
    .nvk-terms__hero-inner { padding-top: 17px; padding-bottom: 27px; }
    .nvk-terms__hero-content { display: block; min-height: 0; padding-top: 28px; }
    .nvk-terms__hero h1 { font-size: clamp(33px, 7.3vw, 48px); }
    .nvk-terms__hero-description { max-width: 570px; margin-top: 15px; font-size: 13px; }
    .nvk-terms__hero-note { max-width: none; margin-top: 23px; margin-bottom: 0; padding: 12px 0 0; border-top: 1px solid rgba(205, 232, 251, .2); border-left: 0; }
    .nvk-terms__hero-note-icon { width: 38px; height: 38px; flex-basis: 38px; }
    .nvk-terms__hero-note small { max-width: 310px; }
    .nvk-terms__document { padding-top: 24px; }
    .nvk-terms__layout { grid-template-columns: minmax(0, 1fr); gap: 24px; }
    .nvk-terms__toc { position: static; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3px; padding: 12px; }
    .nvk-terms__toc-caption { grid-column: 1 / -1; margin: 2px 7px 6px; }
    .nvk-terms__toc > a:not(.nvk-terms__toc-contact) { padding: 8px 6px; font-size: 10px; }
    .nvk-terms__toc-contact { grid-column: 1 / -1; margin-top: 5px; }
    .nvk-terms__document-meta { align-items: flex-start; flex-direction: column; gap: 5px; margin-bottom: 5px; }
    .nvk-terms__section { grid-template-columns: 32px minmax(0, 1fr); gap: 12px; padding-block: 24px; }
    .nvk-terms__section-index { width: 32px; height: 32px; border-radius: 10px; font-size: 10px; }
    .nvk-terms__section h2 { margin-bottom: 11px; font-size: clamp(20px, 5vw, 26px); }
    .nvk-terms__section-body > p:not(.nvk-terms__section-kicker), .nvk-terms__list li { font-size: 12px; }
    .nvk-terms__contact-grid, .nvk-terms__service-grid { grid-template-columns: minmax(0, 1fr); }
    .nvk-terms__document-end { margin-left: 44px; }
}

@media (max-width: 440px) {
    .nvk-terms__hero h1 { font-size: 32px; letter-spacing: -.055em; }
    .nvk-terms__desktop-break { display: none; }
    .nvk-terms__breadcrumbs { font-size: 10px; }
    .nvk-terms__data-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
    .nvk-terms__data-card { min-height: 108px; padding: 10px; }
    .nvk-terms__data-card strong { font-size: 10px; }
    .nvk-terms__operator-card {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    align-items: start;
    gap: 10px 12px;
    padding: 13px;
}
	
	.nvk-terms__operator-mark {
    grid-column: 1;
    grid-row: 1;
}
	
	.nvk-terms__operator-main {
    grid-column: 2;
    min-width: 0;
    overflow-wrap: anywhere;
}

   .nvk-terms__operator-tag {
    grid-column: 2;
    justify-self: start;
    align-self: start;
    margin: 0;
}
    .nvk-terms__final-card { grid-template-columns: 36px minmax(0, 1fr) 32px; gap: 10px; padding: 12px; }
    .nvk-terms__final-icon { width: 36px; height: 36px; }
    .nvk-terms__final-card > a { width: 32px; height: 32px; }
    .nvk-terms__toc > a:not(.nvk-terms__toc-contact) { grid-template-columns: 20px minmax(0, 1fr); gap: 6px; font-size: 9.5px; }
}


/* Final layout refinements: full-width content and a genuinely sticky sidebar. */
.nvk-terms__document {
    padding-top: clamp(24px, 2.1vw, 34px);
}

.nvk-terms__layout {
    width: 100%;
    max-width: none;
    margin-inline: 0;
    grid-template-columns: minmax(245px, 300px) minmax(0, 1fr);
    align-items: stretch;
    gap: clamp(28px, 3vw, 56px);
}

.nvk-terms__sidebar {
    min-width: 0;
    align-self: stretch;
}

.nvk-terms__toc {
    position: sticky;
    top: calc(var(--nvk-header-height, 96px) + 18px);
    max-height: calc(100vh - var(--nvk-header-height, 96px) - 36px);
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: var(--nvk-color-border) transparent;
}

.nvk-terms__content {
    width: 100%;
    min-width: 0;
}

.nvk-terms__section {
    scroll-margin-top: calc(var(--nvk-header-height, 96px) + 26px);
}

.nvk-terms__toc > a:not(.nvk-terms__toc-contact) {
    grid-template-columns: 28px minmax(0, 1fr);
    align-items: center;
    gap: 9px;
    min-height: 38px;
    padding: 8px 10px;
    border-radius: 10px;
    font-size: 11px;
}

.nvk-terms__toc > a:not(.nvk-terms__toc-contact) > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 8px;
    background: var(--nvk-color-surface-muted);
    font-size: 10px;
}

.nvk-terms__toc > a:not(.nvk-terms__toc-contact).is-active > span {
    color: var(--nvk-color-primary);
    background: var(--nvk-color-surface);
}

@media (min-width: 1600px) {
    .nvk-terms__hero-inner {
        max-width: none;
    }
}

@media (max-width: 1050px) {
    .nvk-terms__layout {
        grid-template-columns: minmax(220px, 260px) minmax(0, 1fr);
        gap: 26px;
    }

    .nvk-terms__hero-content {
        gap: 24px;
        padding-inline: 25px;
    }

    .nvk-terms__hero-note {
        flex-basis: 285px;
    }
}

@media (max-width: 760px) {
    .nvk-terms__hero-inner {
        padding-top: 14px;
        padding-bottom: 0;
    }

    .nvk-terms__breadcrumbs {
        margin-bottom: 11px;
    }

    .nvk-terms__hero-content {
        display: block;
        padding: 22px 20px;
        border-radius: 16px;
    }

    .nvk-terms__eyebrow {
        margin-bottom: 10px;
        font-size: 9px;
    }

    .nvk-terms__hero h1 {
        font-size: clamp(27px, 6vw, 38px);
        line-height: 1.12;
        letter-spacing: -.045em;
    }

    .nvk-terms__hero-description {
        margin-top: 9px;
        font-size: 13px;
        line-height: 1.6;
    }

    .nvk-terms__hero-note {
        max-width: none;
        margin-top: 18px;
        padding: 15px 0 0;
        border-top: 1px solid var(--nvk-color-border);
        border-left: 0;
    }

    .nvk-terms__document {
        padding-top: 24px;
    }

    .nvk-terms__layout {
        grid-template-columns: minmax(0, 1fr);
        align-items: start;
        gap: 22px;
    }

    .nvk-terms__sidebar {
        position: static;
        align-self: auto;
    }

    .nvk-terms__toc {
        position: static;
        max-height: none;
        overflow: visible;
    }
}

@media (max-width: 440px) {
    .nvk-terms__hero-content {
        padding: 19px 16px;
    }

    .nvk-terms__hero h1 {
        font-size: 29px;
    }
}
