:root {
  --ink: #0e4d3a;
  --muted: #527166;
  --paper: #f7faf9;
  --white: #fff;
  --line: #c8d8d1;
  --accent: #2d735b;
  --accent-deep: #0e4d3a;
  --sage: #ebf1ef;
  --danger: #a34e45;
  --warning: #996f24;
  --shadow: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; color: var(--ink); background: var(--paper); font-family: Manrope, Arial, sans-serif; }
a { color: inherit; }
.site-header { height: 92px; max-width: 1166px; margin: auto; padding: 0; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; white-space: nowrap; }
.brand-mark { width: 49px; height: 49px; display: block; object-fit: contain; border-radius: 50%; }
.brand-copy { display: grid; gap: 3px; letter-spacing: -.02em; }
.brand-copy strong { color: #092f24; font-size: 14px; font-weight: 800; }
.brand-copy small { color: #416659; font-size: 11px; font-weight: 500; }
nav { display: flex; gap: 24px; }
nav a { color: var(--ink); text-decoration: none; font-size: 13px; font-weight: 600; transition: color .2s; }
nav a:hover { color: #57957f; }
.back-link { display: inline-flex; align-items: center; gap: 11px; }
.back-link span { font-size: 18px; font-weight: 400; }
main { max-width: 1166px; min-height: calc(100vh - 208px); margin: auto; padding: 0 0 62px; }
.hero { max-width: 650px; margin: 0 auto; padding: 80px 0 56px; text-align: center; }
.eyebrow { margin: 0 0 13px; color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
h1 { margin: 0; color: var(--ink); font-size: clamp(31px, 4.1vw, 47px); line-height: 1.06; font-weight: 800; letter-spacing: -.055em; }
.hero-text { max-width: 525px; margin: 19px auto 27px; color: #45685b; font-size: 13px; line-height: 1.62; }
.search-card { max-width: 600px; margin: auto; padding: 16px; background: #edf3f1; border: 0; border-radius: 9px; box-shadow: none; text-align: left; }
label { display: block; padding: 0 2px 8px; color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: none; }
.search-row { display: flex; gap: 10px; }
input { width: 100%; height: 48px; min-width: 0; padding: 0 15px; outline: none; border: 1px solid #c3d4cd; border-radius: 5px; color: var(--ink); background: #fff; font: 600 14px/1 Manrope, sans-serif; transition: border .2s, box-shadow .2s; }
input::placeholder { color: #a3a7ad; font-weight: 400; }
input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(184, 121, 88, .13); }
button { height: 48px; padding: 0 16px 0 19px; border: 0; border-radius: 5px; color: #fff; background: var(--ink); cursor: pointer; font: 700 12px/1 Manrope, sans-serif; letter-spacing: 0; transition: transform .2s, background .2s; white-space: nowrap; }
button:hover { background: var(--accent-deep); transform: translateY(-1px); }
button:disabled { cursor: wait; opacity: .7; transform: none; }
.button-arrow { margin-left: 10px; font-size: 17px; font-weight: 400; vertical-align: -1px; }
.form-message { min-height: 16px; margin: 10px 2px 0; color: var(--muted); font-size: 11px; }
.form-message.error { color: var(--danger); }
.results { max-width: 1040px; margin: -10px auto 0; }
.loading { display: flex; align-items: center; justify-content: center; gap: 11px; min-height: 180px; color: var(--muted); font-size: 13px; }
.loading span { width: 18px; height: 18px; border: 2px solid #d8dad7; border-top-color: var(--accent); border-radius: 50%; animation: spin .75s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.company-summary { position: relative; overflow: hidden; margin-bottom: 14px; padding: 25px 28px; color: #fff; background: var(--ink); border-radius: 8px; }
.company-summary::after { content: ''; position: absolute; width: 250px; height: 250px; right: -80px; top: -160px; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; box-shadow: 0 0 0 42px rgba(255,255,255,.03), 0 0 0 84px rgba(255,255,255,.025); }
.summary-eyebrow { position: relative; z-index: 1; margin: 0 0 12px; color: #d7b4a1; font-size: 11px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.company-summary h2 { position: relative; z-index: 1; max-width: 780px; margin: 0; font-family: "Playfair Display", Georgia, serif; font-size: clamp(26px, 4vw, 42px); line-height: 1.1; font-weight: 600; letter-spacing: -.04em; }
.summary-meta { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 22px; color: #e1e4e8; font-size: 13px; }
.status { display: inline-flex; align-items: center; gap: 7px; }
.status::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #88b494; }
.status.alert::before { background: #dda45d; }
.contacts-panel { display: flex; align-items: center; min-height: 61px; margin: -4px 0 20px; padding: 11px 19px; }
.contact-list { width: 100%; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.contact-item { display: inline-flex; align-items: center; gap: 8px; min-width: 0; padding: 9px 12px; border-radius: 5px; color: var(--ink); background: #f8fbfa; font-size: 12px; font-weight: 600; line-height: 1.25; text-decoration: none; transition: background .2s, color .2s; overflow-wrap: anywhere; }
.contact-item:hover { color: #fff; background: var(--ink); }
.contact-icon { flex: 0 0 auto; display: grid; width: 17px; height: 17px; place-items: center; color: var(--accent-deep); font-size: 15px; font-weight: 500; line-height: 1; }
.contact-icon svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.contact-icon .telegram-icon { fill: currentColor; stroke: none; }
.contact-item:hover .contact-icon { color: #d9ebe5; }
.contact-note { width: 100%; margin: 2px 3px 0; color: var(--muted); font-size: 10px; line-height: 1.45; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-bottom: 20px; }
.left-stack { display: grid; align-content: start; gap: 20px; }
.panel { padding: 22px; border: 0; border-radius: 8px; background: #edf3f1; }
.panel.wide { grid-column: 1 / -1; }
.panel h3 { margin: 0 0 21px; font-size: 14px; letter-spacing: -.02em; }
.details { display: grid; gap: 0; }
.detail { display: grid; grid-template-columns: minmax(105px, .72fr) 1.4fr; gap: 12px; padding: 11px 0; border-top: 1px solid #ecece8; font-size: 12px; line-height: 1.5; }
.detail:first-child { border-top: 0; padding-top: 0; }
.detail dt { color: var(--muted); }
.detail dd { margin: 0; font-weight: 600; text-align: right; overflow-wrap: anywhere; }
.people { display: grid; gap: 12px; }
.person { padding: 14px 15px; border: 1px solid #e8e8e3; background: #fcfcfa; }
.person strong { display: block; font-size: 13px; }
.person span { display: block; margin-top: 4px; color: var(--muted); font-size: 11px; line-height: 1.45; }
.empty { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.risks { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
.risk { display: flex; align-items: flex-start; gap: 9px; min-height: 52px; padding: 11px 12px; border: 1px solid #e8e8e3; font-size: 11px; line-height: 1.38; }
.risk-mark { flex: 0 0 auto; width: 17px; height: 17px; display: grid; place-items: center; border-radius: 50%; font-size: 11px; font-weight: 800; }
.risk.good .risk-mark { color: #41774d; background: var(--sage); }
.risk.warn .risk-mark { color: #8d651f; background: #f6ecd9; }
.risk.danger .risk-mark { color: #8e3c35; background: #f4dfdc; }
details { margin-top: 10px; border: 0; border-radius: 7px; background: #edf3f1; }
summary { display: flex; align-items: center; justify-content: space-between; padding: 19px 22px; cursor: pointer; list-style: none; font-size: 13px; font-weight: 800; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; color: var(--accent-deep); font-size: 21px; font-weight: 400; }
details[open] summary { border-bottom: 1px solid var(--line); }
details[open] summary::after { content: '–'; }
.expand-body { padding: 8px 22px 19px; }
.items { margin: 0; padding: 0; list-style: none; }
.items li { padding: 11px 0; border-bottom: 1px solid #ecece8; font-size: 12px; line-height: 1.5; }
.items li:last-child { border: 0; }
.code { display: inline-block; margin-right: 8px; color: var(--accent-deep); font-weight: 800; }
.error-card { max-width: 640px; margin: 5px auto 60px; padding: 27px; border-left: 3px solid var(--danger); background: #fff; box-shadow: var(--shadow); }
.error-card h2 { margin: 0 0 8px; font-size: 16px; }
.error-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.modal[hidden] { display: none; }
.modal { position: fixed; z-index: 10; inset: 0; display: grid; place-items: center; padding: 20px; background: rgba(7, 42, 32, .42); }
.modal-card { position: relative; width: min(100%, 410px); padding: 33px; border-radius: 9px; background: #f8fbfa; box-shadow: 0 20px 55px rgba(7, 42, 32, .22); }
.modal-card .eyebrow { margin-bottom: 10px; text-align: left; }
.modal-card h2 { margin: 0; color: var(--ink); font-size: 23px; letter-spacing: -.045em; }
.modal-card p:not(.eyebrow) { margin: 13px 0 22px; color: var(--muted); font-size: 13px; line-height: 1.55; }
.modal-close { position: absolute; top: 10px; right: 12px; width: 31px; height: 31px; padding: 0; color: var(--muted); background: transparent; font-size: 24px; font-weight: 400; }
.modal-close:hover { color: var(--ink); background: transparent; }
.modal-ok { height: 42px; padding: 0 19px; }
footer { max-width: 1166px; margin: auto; padding: 24px 0 30px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; }
footer p { margin: 0; }
footer a { color: var(--accent-deep); font-weight: 800; }
.disclaimer { margin-top: 7px; font-size: 10px; color: #989c9c; }
@media (max-width: 1200px) { .site-header, main, footer { margin-left: 25px; margin-right: 25px; } }
@media (max-width: 700px) { .site-header { height: 78px; margin: 0 18px; } nav { gap: 13px; } nav a { font-size: 11px; } .brand-copy small { font-size: 9px; } .brand-copy strong { font-size: 12px; } .brand-mark { width: 42px; height: 42px; } main { margin: 0 18px; padding-bottom: 44px; } .hero { padding: 58px 0 47px; } .hero-text { margin-top: 17px; } .search-card { padding: 14px; } .search-row { display: block; } button { width: 100%; margin-top: 9px; } .contacts-panel { margin-bottom: 14px; padding: 10px; } .contact-list { gap: 6px; } .contact-item { max-width: 100%; padding: 8px 10px; } .grid { grid-template-columns: 1fr; } .panel { padding: 21px 18px; } .company-summary { padding: 25px 21px; } .risks { grid-template-columns: 1fr; } footer { margin: 0 18px; padding: 24px 0 27px; } }
