/* oktosoft.cc — design system from docs/design/tokens.md (g7, ADR 2026-08-07) */
@font-face { font-family: 'Montserrat'; src: url('fonts/montserrat-400-latin.woff2') format('woff2'); font-weight: 400; font-display: swap; unicode-range: U+0000-00FF, U+2000-206F; }
@font-face { font-family: 'Montserrat'; src: url('fonts/montserrat-400-cyrillic.woff2') format('woff2'); font-weight: 400; font-display: swap; unicode-range: U+0400-045F, U+2013-2014, U+2018-201A, U+201C-201E; }
@font-face { font-family: 'Montserrat'; src: url('fonts/montserrat-600-latin.woff2') format('woff2'); font-weight: 600; font-display: swap; unicode-range: U+0000-00FF, U+2000-206F; }
@font-face { font-family: 'Montserrat'; src: url('fonts/montserrat-600-cyrillic.woff2') format('woff2'); font-weight: 600; font-display: swap; unicode-range: U+0400-045F, U+2013-2014, U+2018-201A, U+201C-201E; }
@font-face { font-family: 'Montserrat'; src: url('fonts/montserrat-700-latin.woff2') format('woff2'); font-weight: 700; font-display: swap; unicode-range: U+0000-00FF, U+2000-206F; }
@font-face { font-family: 'Montserrat'; src: url('fonts/montserrat-700-cyrillic.woff2') format('woff2'); font-weight: 700; font-display: swap; unicode-range: U+0400-045F, U+2013-2014, U+2018-201A, U+201C-201E; }
@font-face { font-family: 'Montserrat'; src: url('fonts/montserrat-800-latin.woff2') format('woff2'); font-weight: 800; font-display: swap; unicode-range: U+0000-00FF, U+2000-206F; }
@font-face { font-family: 'Montserrat'; src: url('fonts/montserrat-800-cyrillic.woff2') format('woff2'); font-weight: 800; font-display: swap; unicode-range: U+0400-045F, U+2013-2014, U+2018-201A, U+201C-201E; }

:root {
  --ink: #26292F;
  --muted: #5B6472;
  --accent: #0351C1;
  --link: #0351C1;
  --cta: #FED876;
  --paper: #FAF8F4;
  --hairline: #E3E0D8;
  --backdrop: #1B1D22;
  --ink-line: #3A3E46;
  --radius-card: 12px;
  --radius-input: 8px;
  --stroke-thin: 0.5px solid var(--ink);
  --container: 1200px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Montserrat', system-ui, sans-serif;
  background: var(--paper);
  color: var(--ink);
  font-size: 14px;
  line-height: 1.45;
}
img, svg { display: block; }
a { color: var(--link); text-decoration: none; }
a:focus-visible, button:focus-visible, [tabindex]:focus-visible, details summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* layout */
.section { padding: 48px 20px; }
.section > .inner { max-width: var(--container); margin: 0 auto; }
.section--white { background: #fff; }
.section--ink { background: var(--ink); color: var(--paper); }
@media (min-width: 1024px) {
  .section { padding: 64px 120px; }
}

/* type */
.kicker { color: var(--muted); font-size: 13px; letter-spacing: 1px; }
.h1 { font-size: 32px; font-weight: 800; line-height: 1.05; letter-spacing: -0.5px; }
.h2 { font-size: 22px; font-weight: 700; letter-spacing: -0.5px; }
.h3 { font-size: 15px; font-weight: 700; }
.sub { color: var(--muted); font-size: 14px; line-height: 1.45; }
@media (min-width: 1024px) {
  .h1 { font-size: 48px; }
  .sub--hero { font-size: 20px; line-height: 1.5; }
}

/* buttons — pill, primary >=44px hit zone, light elevation in web layer */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 100px; padding: 18px 40px;
  font-size: 13px; letter-spacing: 1.5px; font-family: inherit;
  cursor: pointer; border: none; min-height: 44px;
  box-shadow: 0 1px 2px rgba(38, 41, 47, 0.08);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, opacity 0.15s ease;
}
.btn--primary { background: var(--cta); color: var(--ink); }
.btn--primary:hover { transform: translateY(-1px); box-shadow: 0 3px 10px rgba(38, 41, 47, 0.14); }
.btn--primary:active { transform: translateY(0); box-shadow: 0 1px 2px rgba(38, 41, 47, 0.08); }
.btn--ghost { background: transparent; color: var(--ink); border: 1px solid var(--ink); box-shadow: none; }
.btn--ghost:hover { background: rgba(38, 41, 47, 0.05); }
.btn--ghost:active { background: rgba(38, 41, 47, 0.09); }
.btn[disabled], .btn[aria-disabled] { opacity: 0.45; cursor: default; pointer-events: none; }
.btn--sm { padding: 10px 24px; min-height: 44px; }
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } .btn--primary:hover { transform: none; } }

/* pills: filter chips, selects, chips, locale — radius 100, 0.5px ink stroke, >=32px */
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  border-radius: 100px; border: var(--stroke-thin);
  background: transparent; padding: 6px 12px; min-height: 33px;
  font-size: 11px; letter-spacing: 0.5px; color: var(--muted);
  font-family: inherit; cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}
.pill:hover { background: var(--hairline); color: var(--ink); }
.pill:active { background: var(--hairline); }
.pill--active { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.pill--active:hover { background: var(--ink); color: var(--paper); }
.pill[data-active] { background: var(--ink); color: var(--paper); }
.chip {
  display: inline-flex; align-items: center;
  border-radius: 100px; border: var(--stroke-thin);
  padding: 4px 8px; font-size: 11px; letter-spacing: 0.5px; color: var(--ink);
}

/* header */
.header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 20px; max-width: calc(var(--container) + 240px); margin: 0 auto;
}
@media (min-width: 1024px) { .header { padding: 20px 120px; } }
.header__brand { display: flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 700; font-size: 16px; }
.header__brand img { width: 22px; height: 24px; }
.nav { display: none; align-items: center; gap: 26px; }
.nav a { color: var(--ink); font-size: 13px; letter-spacing: 0.5px; }
.nav .pill { color: var(--muted); }
.nav .pill img { width: 16px; height: 12px; border-radius: 2px; }
@media (min-width: 1024px) { .nav { display: flex; } .header__menu { display: none; } }
.header__menu { background: none; border: none; width: 44px; height: 44px; display: grid; place-items: center; cursor: pointer; }
@media (min-width: 1024px) { .header__menu { display: none; } }

/* locale dropdown */
.locale { position: relative; }
.locale summary { list-style: none; }
.locale summary::-webkit-details-marker { display: none; }
.locale__menu {
  position: absolute; top: calc(100% + 6px); right: 0; z-index: 50;
  background: #fff; border-radius: var(--radius-card); padding: 6px;
  box-shadow: 0 8px 30px rgba(38,41,47,.12);
  display: flex; flex-direction: column; gap: 2px; min-width: 110px;
}
.locale__menu a {
  display: flex; align-items: center; gap: 8px; padding: 8px 10px;
  color: var(--ink); font-size: 12px; letter-spacing: 0.5px; border-radius: 8px;
}
.locale__menu a:hover { background: var(--paper); }
.locale__menu a[aria-current] { color: var(--muted); }
.locale__menu img { width: 16px; height: 12px; border-radius: 2px; }
.menu__locale .locale__menu { right: auto; left: 0; bottom: calc(100% + 6px); top: auto; }

/* mobile menu (no-JS via <details>) */
.menu { position: relative; }
.menu summary { list-style: none; }
.menu summary::-webkit-details-marker { display: none; }
.menu__panel { position: absolute; right: 0; top: 48px; width: min(320px, 90vw); background: var(--paper); border-radius: var(--radius-card); padding: 8px 0; z-index: 40; box-shadow: 0 8px 30px rgba(38,41,47,.12); }
.menu__panel a.menu__item { display: flex; justify-content: space-between; align-items: center; padding: 18px 24px; color: var(--ink); font-size: 16px; font-weight: 600; letter-spacing: 0.5px; border-bottom: 1px solid var(--hairline); }
.menu__channel { display: flex; justify-content: center; margin: 16px 24px; }
.menu__channel .btn { width: 100%; }
.menu__locale { padding: 0 24px 20px; }
.menu__locale img { width: 16px; height: 12px; border-radius: 2px; }

/* hero */
.hero { padding: 56px 20px 48px; }
.hero .inner { max-width: var(--container); margin: 0 auto; }
.hero__h1 { margin: 8px 0 16px; }
.hero__cta-row { display: flex; flex-direction: column; gap: 12px; margin: 26px 0 0; align-items: stretch; }
.hero__cta-row .btn { text-align: center; }
.hero__connects { display: flex; gap: 12px; padding-top: 12px; margin-top: 26px; justify-content: center; align-items: center; } /* pen: gap 26 + pad 12; mobile — по центру */
.hero__connects img { width: 16px; height: 16px; }
@media (min-width: 1024px) {
  .hero { padding: 84px 120px 76px; }
  .hero__cta-row { flex-direction: row; align-items: center; }
  .hero__connects { justify-content: flex-start; } /* owner 2026-08-08: desktop — слева */
}

/* finding cards / carousel */
.cards { display: flex; flex-direction: column; gap: 14px; margin-top: 20px; }
@media (min-width: 1024px) { .cards { flex-direction: row; gap: 20px; align-items: stretch; } .cards > * { flex: 1; } }
.card {
  display: block; background: #fff; border-radius: var(--radius-card);
  padding: 18px 16px; color: var(--ink);
}
.cards .card { background: var(--paper); }
.card__meta { display: flex; justify-content: space-between; color: var(--muted); font-size: 11px; letter-spacing: 2px; }
.card__title { font-size: 16px; font-weight: 600; line-height: 1.3; margin-top: 10px; }
.card__number { color: var(--accent); font-size: 20px; font-weight: 800; letter-spacing: -0.5px; margin-top: 6px; }
.card__who { color: var(--muted); font-size: 12px; margin-top: 10px; }
.card__chips { display: flex; gap: 6px; margin-top: 6px; }
.card:hover { box-shadow: 0 2px 12px rgba(38,41,47,.08); transform: translateY(-2px); }
.card { transition: box-shadow 0.15s ease, transform 0.15s ease; }
.card:active { transform: translateY(0); }
.card:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.link-more { display: inline-block; margin-top: 20px; font-size: 12px; letter-spacing: 0.5px; }
.link-more:hover, .backlink:hover, .finding__nav a:hover { text-decoration: underline; }
.nav a:hover { color: var(--link); }
.footer__links a:hover { color: var(--cta); }
.menu__panel a.menu__item:hover { background: #fff; }
.contacts__mail a:hover { text-decoration: underline; }

/* founder */
.founder__identity { display: flex; align-items: center; gap: 14px; margin-top: 18px; }
.founder__avatar { width: 96px; height: 96px; border-radius: 50%; background: #fff; position: relative; overflow: hidden; flex-shrink: 0; }
.founder__avatar img { position: absolute; left: 3px; top: 1px; width: 90px; height: 120px; }
.founder__role { color: var(--muted); font-size: 11px; }
.founder__identity .link-more { margin-top: 4px; font-size: 12px; }
.founder__name { font-size: 15px; font-weight: 700; }
.founder__label { color: var(--muted); font-size: 11px; }
.founder__quote { font-size: 16px; font-weight: 600; margin-top: 18px; }
.founder__texts { display: flex; flex-direction: column; gap: 18px; }
.founder__body { display: flex; flex-direction: column; gap: 24px; }
@media (min-width: 1024px) {
  .founder__body { flex-direction: row; gap: 64px; align-items: flex-start; }
  .founder__body > .founder__identity { margin-top: 0; flex-shrink: 0; }
  .founder__identity span { white-space: nowrap; }
}
.founder__how summary { color: var(--link); font-size: 12px; letter-spacing: 0.5px; cursor: pointer; list-style: none; transition: color 0.15s ease; }
.founder__how summary:hover { text-decoration: underline; }
.founder__how summary::-webkit-details-marker { display: none; }
.founder__panel { background: #fff; border-radius: var(--radius-card); padding: 16px; margin-top: 12px; font-size: 12px; line-height: 1.45; }
.founder__dog { color: var(--muted); font-size: 14px; line-height: 1.5; }

/* pricing */
.pricing__groups { display: flex; flex-direction: column; gap: 18px; margin-top: 20px; }
.pricing__group-label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 8px; }
.pricing__opts { display: flex; gap: 8px; flex-wrap: wrap; }
.pricing__opts .pill { flex: 1; justify-content: center; min-height: 43px; padding: 10px 12px; }
.pricing__opts--three .pill { min-width: 100px; }
.pricing__chips { display: flex; gap: 8px; flex-wrap: wrap; }
.pricing__source-pill { min-height: 39px; padding: 9px 12px; }
.pricing__template-select { position: relative; }
.pricing__template-select::after { content: ''; position: absolute; right: 16px; top: 50%; width: 8px; height: 8px; border-right: 1px solid var(--muted); border-bottom: 1px solid var(--muted); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.pricing__template-select select { width: 100%; min-height: 48px; appearance: none; border: var(--stroke-thin); border-radius: 100px; background: transparent; color: var(--ink); padding: 11px 44px 11px 14px; font: inherit; font-size: 14px; cursor: pointer; }
.pricing__template-select select:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.pricing__range { border: var(--stroke-thin); border-radius: 18px; padding: 14px 14px 12px; background: transparent; }
.pricing__range input { display: block; width: 100%; height: 20px; margin: 0; appearance: none; -webkit-appearance: none; background: linear-gradient(to right, var(--ink) 0 var(--range-progress, 0%), #e3e3e3 var(--range-progress, 0%) 100%) center / 100% 6px no-repeat; cursor: pointer; }
.pricing__range input::-webkit-slider-runnable-track { height: 6px; background: transparent; border-radius: 999px; }
.pricing__range input::-webkit-slider-thumb { width: 20px; height: 20px; margin-top: -7px; appearance: none; -webkit-appearance: none; border: 1px solid rgba(38, 40, 45, .12); border-radius: 50%; background: #fff; box-shadow: 0 1px 4px rgba(38, 40, 45, .16); }
.pricing__range input::-moz-range-track { height: 6px; background: #e3e3e3; border-radius: 999px; }
.pricing__range input::-moz-range-progress { height: 6px; background: var(--ink); border-radius: 999px; }
.pricing__range input::-moz-range-thumb { width: 18px; height: 18px; border: 1px solid rgba(38, 40, 45, .12); border-radius: 50%; background: #fff; box-shadow: 0 1px 4px rgba(38, 40, 45, .16); }
.pricing__range input:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 999px; }
.pricing__range-labels { display: flex; justify-content: space-between; gap: 10px; margin-top: 8px; color: var(--muted); font-size: 11px; }
.pricing__range-labels span { flex: 1; line-height: 1.25; }
.pricing__range-labels span:first-child { text-align: left; }
.pricing__range-labels span:not(:first-child):not(:last-child) { text-align: center; }
.pricing__range-labels span:last-child { text-align: right; }
.pricing__range-labels [data-active] { color: var(--ink); font-weight: 600; }
.pricing__simple { display: flex; flex-direction: column; gap: 18px; }
.pricing__expert-toggle { align-self: flex-start; border: 0; background: transparent; color: var(--link); padding: 0; font: inherit; font-size: 12px; cursor: pointer; }
.pricing__expert-toggle:hover { text-decoration: underline; }
.pricing__expert { display: flex; flex-direction: column; gap: 18px; }
.pricing__body { display: flex; flex-direction: column; gap: 32px; }
@media (min-width: 1024px) {
  .pricing__body { flex-direction: row; align-items: flex-start; }
  .pricing__params { flex: 1; }
  .pricing__result-stack { width: 440px; }
}
.pricing__result-stack { display: flex; flex-direction: column; gap: 16px; }
.pricing__result { background: var(--paper); border-radius: var(--radius-card); padding: 24px; display: flex; flex-direction: column; gap: 9px; }
.pricing__estimate-section { color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding-top: 6px; }
.pricing__row { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 12px; color: var(--muted); }
.pricing__row strong { color: var(--ink); font-size: 14px; font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.pricing__row--total { align-items: flex-end; color: var(--ink); font-size: 12px; font-weight: 600; padding: 1px 0; }
.pricing__row--total span { color: var(--muted); }
.pricing__row--total strong { font-size: 18px; font-weight: 700; line-height: 1.05; letter-spacing: -0.02em; }
.pricing__monthly-lines { display: flex; flex-direction: column; gap: 9px; }
.pricing__server-costs { display: flex; flex-direction: column; gap: 10px; }
.pricing__divider { height: 1px; background: var(--hairline); }
.pricing__cta { display: flex; flex-direction: column; align-items: stretch; gap: 10px; }
.pricing__cta .btn { width: 100%; justify-content: center; }
.pricing__note { color: var(--muted); font-size: 11px; text-align: center; }
.pricing__note--left { text-align: left; line-height: 1.45; }
.pricing__hint { color: var(--muted); font-size: 11px; line-height: 1.45; margin-top: 8px; }
.pricing__warning { display: flex; align-items: flex-start; gap: 9px; background: rgba(254, 216, 118, 0.32); border-radius: 12px; color: var(--ink); font-size: 11px; line-height: 1.45; padding: 10px 12px; }
.pricing__warning--control { margin-top: 8px; }
.pricing__warning--bill { margin: 2px 0; }
.pricing__warning-icon { display: inline-flex; align-items: center; justify-content: center; width: 17px; height: 17px; border-radius: 50%; background: #B57E00; color: #fff; font-size: 11px; font-weight: 800; line-height: 1; flex: 0 0 17px; }
.pricing__warning span:last-child { min-width: 0; }

/* contacts / tg / footer */
.contacts { text-align: center; display: flex; flex-direction: column; align-items: center; }
.contacts .btn { margin-top: 16px; justify-content: center; }
.contacts__mail { margin-top: 12px; color: var(--muted); font-size: 12px; }
.tg .sub--dark { color: #9AA1AC; max-width: 720px; }
.tg .btn { margin-top: 14px; }
.footer { border-top: 1px solid var(--ink-line); padding: 32px 20px 40px; }
.footer .inner { max-width: var(--container); margin: 0 auto; display: flex; flex-direction: column; gap: 18px; }
.footer__logo { width: 22px; height: 24px; }
.footer__links { display: flex; flex-direction: column; gap: 10px; }
.footer__links a { color: var(--paper); font-size: 12px; letter-spacing: 0.5px; }
.footer__legal { color: #9AA1AC; font-size: 11px; display: flex; flex-direction: column; gap: 6px; }
@media (min-width: 1024px) {
  .footer { padding: 32px 120px 40px; }
  .footer__links { flex-direction: row; gap: 28px; }
}

/* findings page */
/* filters: borderless controls; active select goes ink like the mock (owner 2026-08-07) */
.filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 0 0 20px; }
.filters .pill { position: relative; border: none; }
.filters .pill:hover { border: none; background: var(--hairline); color: var(--ink); }
.filters .pill--active { background: var(--ink); color: var(--paper); }
.filters .pill--active:hover { background: var(--ink); color: var(--paper); }
.filters__summary { display: flex; flex-basis: 100%; align-items: center; gap: 4px; min-width: 0; white-space: nowrap; }
.filters__counter { color: var(--muted); font-size: 11px; }
.filters__counter-tail { color: var(--muted); font-size: 11px; flex-shrink: 0; }
.filters__counter-tail a { white-space: nowrap; }
.filters__counter-tail a::before { content: ""; display: inline-block; width: 11px; height: 11px; margin-right: 4px; vertical-align: -1px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='m22 2-7 20-4-9-9-4z'/%3E%3Cpath d='M22 2 11 13'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='m22 2-7 20-4-9-9-4z'/%3E%3Cpath d='M22 2 11 13'/%3E%3C/svg%3E") center / contain no-repeat; }
@media (min-width: 1024px) { .filters__summary { flex-basis: auto; margin-left: 12px; } }
.select { position: relative; }
.select select {
  appearance: none; border: none; border-radius: 100px; background: transparent;
  padding: 6px 28px 6px 12px; min-height: 33px; font-size: 11px; letter-spacing: 0.5px;
  color: var(--muted); font-family: inherit; cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.select select:hover { background: var(--hairline); color: var(--ink); }
.select select:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.select.is-active select { background: var(--ink); color: var(--paper); }
.select.is-active::after { display: none; }
.select__clear {
  display: none; position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  width: 22px; height: 22px; place-items: center; border: none; background: none;
  color: var(--paper); cursor: pointer; padding: 0;
}
.select.is-active .select__clear { display: grid; }
.select::after { content: ''; position: absolute; right: 12px; top: 50%; width: 8px; height: 8px; border-right: 1px solid var(--muted); border-bottom: 1px solid var(--muted); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.rows { display: flex; flex-direction: column; gap: 12px; }
.row {
  display: flex; flex-direction: column; gap: 8px;
  background: var(--paper); border-radius: var(--radius-card); padding: 26px 24px; color: var(--ink);
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.row:hover { box-shadow: 0 2px 12px rgba(38,41,47,.08); transform: translateY(-2px); }
.row:active { transform: translateY(0); }
.row:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.section--white .row { background: var(--paper); }
.row__top { display: flex; flex-direction: column; gap: 8px; }
.row__meta { display: flex; flex-direction: column; gap: 4px; color: var(--muted); font-size: 11px; letter-spacing: 2px; }
.row__title { font-size: 15px; font-weight: 600; line-height: 1.3; }
.row__number { color: var(--accent); font-size: 16px; font-weight: 800; white-space: nowrap; }
.row__side { display: flex; flex-direction: column; gap: 6px; }
.row__who { color: var(--muted); font-size: 12px; }
.row__chips { display: flex; gap: 6px; flex-wrap: wrap; }
@media (max-width: 1023px) {
  .findings-hero { padding-top: 64px !important; }
  .findings-hero .hero__connects { justify-content: flex-start; margin-top: 14px; padding-top: 0 !important; }
  .findings-hero .h1 { margin-bottom: 14px !important; }
  .findings-hero .sub { margin-top: 0 !important; }
  .finding-preview { gap: 0; padding: 18px 16px; }
  .finding-preview .row__meta { flex-direction: row; justify-content: space-between; gap: 0; }
  .finding-preview .row__title { margin-top: 10px; }
  .finding-preview .row__number { margin-top: 6px; font-size: 20px; }
  .finding-preview .row__side { gap: 0; }
  .finding-preview .row__who { margin-top: 10px; }
  .finding-preview .row__chips { gap: 6px; margin-top: 6px; }
}
@media (min-width: 1024px) {
  .row {
    display: grid; grid-template-columns: 110px 1fr 260px 240px;
    column-gap: 28px; align-items: center; padding: 26px 24px;
  }
  .row__number { text-align: left; white-space: normal; }
  .row__side { justify-self: start; text-align: left; }
  .row__side .row__chips { justify-content: flex-start; }
}

/* finding page */
.article { max-width: 800px; margin: 0 auto; }
.legal { padding-top: 8px; padding-bottom: 56px; }
.legal h1 { max-width: 720px; }
.legal__updated, .legal__operator { color: var(--muted); font-size: 12px; line-height: 1.5; margin-top: 12px; }
.legal__toc { display: flex; gap: 14px; flex-wrap: wrap; margin: 28px 0 32px; }
.legal__toc a { color: var(--link); font-size: 13px; text-decoration: underline; }
.legal__block { scroll-margin-top: 24px; }
.legal__block + .legal__block { border-top: 1px solid var(--hairline); margin-top: 44px; padding-top: 36px; }
.legal__block > h2 { font-size: 22px; margin-bottom: 12px; }
.legal__intro { color: var(--muted); font-size: 14px; line-height: 1.55; }
.legal__section { margin-top: 28px; }
.legal__section h2 { font-size: 16px; margin-bottom: 8px; }
.legal__section p, .legal__section li { color: var(--muted); font-size: 13px; line-height: 1.6; }
.legal__section ul { margin: 8px 0 0; padding-left: 20px; }
.legal__section a, .legal__operator a { color: var(--link); text-decoration: underline; }
.backlink { font-size: 12px; letter-spacing: 0.5px; display: inline-block; margin-bottom: 14px; }
.finding__number { color: var(--accent); font-size: 22px; font-weight: 800; letter-spacing: -0.5px; margin-top: 10px; }
.chat-shot { background: var(--hairline); border-radius: var(--radius-card); min-height: 180px; display: grid; place-items: center; color: var(--muted); font-size: 12px; margin-top: 20px; margin-bottom: 28px; }
.chat-shot__img { display: block; max-width: 100%; height: auto; margin-top: 20px; margin-bottom: 28px; border-radius: var(--radius-card); }
.finding__prompt-title { margin-top: 0; }
.prompt-window { background: var(--ink); border-radius: var(--radius-card); padding: 16px; margin-top: 8px; position: relative; }
.prompt-window code {
  font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  color: var(--paper); font-size: 12px; line-height: 1.6; white-space: pre-wrap; display: block;
  padding-right: 34px;
}
.prompt-window__bar { position: absolute; top: 6px; right: 6px; display: flex; }
.copy-btn {
  display: inline-flex; align-items: center; gap: 6px; background: none; border: none;
  min-height: 33px; padding: 4px 8px; cursor: pointer; color: #9AA1AC;
  font-family: inherit; font-size: 11px; letter-spacing: 0.5px;
  transition: color 0.15s ease;
}
.copy-btn:hover { color: var(--paper); }
.copy-btn .icon-check { display: none; }
.copy-btn .copy-label { display: none; }
.copy-btn[data-copied] { color: var(--cta); }
.copy-btn[data-copied] .icon-copy { display: none; }
.copy-btn[data-copied] .icon-check { display: block; }
.copy-btn[data-copied] .copy-label { display: inline; }
.finding__nav { display: flex; justify-content: space-between; margin-top: 28px; font-size: 12px; letter-spacing: 0.5px; }
.finding__section { margin-top: 28px; }
.finding__section p { color: var(--muted); margin-top: 8px; }

/* modal */
.modal { display: none; position: fixed; inset: 0; background: rgba(27, 29, 34, .62); -webkit-backdrop-filter: blur(14px) saturate(105%); backdrop-filter: blur(14px) saturate(105%); z-index: 100; padding: 20px; overflow: auto; }
.modal[data-open] { display: grid; place-items: center; }
.modal__sheet { position: relative; background: var(--paper); border-radius: var(--radius-card); width: 100%; max-width: 560px; max-height: calc(100vh - 40px); padding: 24px 20px 26px; margin: 0; overflow: auto; }
.modal__close { position: absolute; top: 0; right: 0; background: none; border: none; width: 44px; height: 44px; display: flex; align-items: flex-start; justify-content: flex-end; padding: 10px; cursor: pointer; color: var(--ink); z-index: 2; }
.modal__head { position: relative; }
.form { display: flex; flex-direction: column; gap: 12px; margin-top: 20px; }
.form input, .form textarea {
  width: 100%; border: 1px solid var(--hairline); border-radius: var(--radius-input);
  background: #fff; padding: 13px 14px; font-family: inherit; font-size: 16px; color: var(--ink);
  min-height: 44px;
  transition: border-color 0.15s ease;
}
.form input:hover, .form textarea:hover { border-color: var(--muted); }
.form input:focus, .form textarea:focus { border-color: var(--ink); outline: none; }
.form input::placeholder, .form textarea::placeholder { color: #A6ADBA; }
.form__attach { transition: background-color 0.15s ease; }
.form__attach:hover { background: var(--hairline); }
.form__link:hover { text-decoration: underline; }
.form textarea { min-height: 104px; resize: vertical; }
.form__attach { display: flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--ink); border-radius: 100px; padding: 13px 14px; font-size: 13px; letter-spacing: 1px; cursor: pointer; min-height: 44px; background: none; font-family: inherit; }
.form__link { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; letter-spacing: 0.5px; }
.form__helper, .form__privacy { color: var(--muted); font-size: 11px; line-height: 1.4; }
.form__demo-files { display: flex; flex-direction: column; gap: 10px; }
.form__privacy { text-align: center; }
@media (min-width: 1024px) { .form input, .form textarea { font-size: 13px; } }

/* demo CTA band */
.demo-cta { text-align: center; }
.demo-cta .btn { margin-top: 16px; }
.demo-cta .link-more { margin-top: 12px; }

/* finding head: connected sources row */
.connected-row { display: flex; align-items: center; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.connected-row__label { color: var(--muted); font-size: 11px; letter-spacing: 1px; }

/* findings empty-state: soft note + closest matches below (owner verify 2026-08-08, F5) */
.empty { padding: 28px 0 20px; }
.empty__h { font-size: 15px; color: var(--ink); letter-spacing: 0.3px; }
.empty__sub { color: var(--muted); font-size: 12px; margin-top: 6px; letter-spacing: 0.5px; }

/* demo modal: attached-file state (F7) + success screen (F8) */
.form__attach span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.form__attach--has-file { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.modal__success { text-align: center; padding: 26px 6px 8px; }
.modal__success-icon { color: var(--accent); margin-bottom: 10px; }

/* demo modal wizard: step counter + nav (owner 2026-08-08) */
.form__steps { color: var(--muted); font-size: 11px; letter-spacing: 1px; margin: 0 0 10px; }
.form__nav { display: flex; gap: 8px; }
.form__nav .btn { flex: 1; }

/* [hidden] must always win over component display rules (wizard buttons bug, owner 2026-08-08) */
[hidden] { display: none !important; }

/* wizard step question */
.form__q { font-size: 15px; color: var(--ink); letter-spacing: 0.3px; margin: 0 0 12px; }
.form__step { display: flex; flex-direction: column; gap: 12px; }
.form__step .form__q { margin: 0; }

/* wizard: required marker, consent checkboxes, animated success check */
.form__req { color: var(--accent); }
.form__consent { display: flex; align-items: flex-start; gap: 8px; font-size: 12px; color: var(--muted); line-height: 1.4; cursor: pointer; }
.form__consent input[type="checkbox"] { width: 15px; height: 15px; min-height: 0; padding: 0; border: none; background: none; margin-top: 1px; accent-color: var(--accent); flex-shrink: 0; }
.modal__success-icon { margin-top: 6px; }
.modal__success-icon svg { display: inline-block; }  /* global img,svg display:block breaks centering */
.modal[data-success-view] .modal__head .h2 { display: none; }
.modal__success-icon svg path { stroke-dasharray: 24; stroke-dashoffset: 24; animation: draw-check 0.45s ease-out 0.15s forwards; }
@keyframes draw-check { to { stroke-dashoffset: 0; } }

/* consent line: legal link stays visible on muted text */
.form__consent a { color: var(--link); text-decoration: underline; }

/* connected filter: dropdown with multi-select checkboxes (owner 2026-08-08) */
.conn { position: relative; z-index: 5; }
.conn__backdrop { position: fixed; inset: 0; z-index: 4; }  /* Safari-proof outside tap catcher */
.conn__summary { list-style: none; border-radius: 100px; padding: 6px 28px 6px 12px; min-height: 33px; font-size: 11px; letter-spacing: 0.5px; color: var(--muted); cursor: pointer; display: inline-flex; align-items: center; transition: background-color 0.15s ease, color 0.15s ease; }
.conn__summary::-webkit-details-marker { display: none; }
.conn__summary::after { content: ''; position: absolute; right: 12px; top: 50%; width: 8px; height: 8px; border-right: 1px solid var(--muted); border-bottom: 1px solid var(--muted); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.conn__summary:hover { background: var(--hairline); color: var(--ink); }
.conn.is-active .conn__summary { background: var(--ink); color: var(--paper); }
.conn.is-active .conn__summary::after { border-color: var(--paper); }
.conn__menu { position: absolute; top: calc(100% + 6px); left: 0; z-index: 5; background: var(--paper); border-radius: 12px; box-shadow: 0 8px 24px rgba(38,41,47,.14); padding: 10px 12px; display: flex; flex-direction: column; gap: 8px; min-width: 140px; }
.conn:not([open]) .conn__menu { display: none; }
.check { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; letter-spacing: 0.5px; color: var(--muted); cursor: pointer; }
.check input { accent-color: var(--ink); width: 13px; height: 13px; margin: 0; }
.check:has(input:checked) { color: var(--ink); }
