:root {
  --bg: #191a16;
  --bg-deep: #141511;
  --panel: #20211c;
  --panel-light: #282923;
  --text: #f3f1eb;
  --muted: #a7a49b;
  --faint: #72736b;
  --gold: #d7bd82;
  --gold-bright: #ead39b;
  --gold-dim: rgba(215, 189, 130, .13);
  --line: rgba(243, 241, 235, .1);
  --good: #a9c99a;
  --warn: #e8bc79;
  --bad: #dc918c;
  --shadow: 0 25px 55px rgba(0, 0, 0, .2);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { min-width: 320px; margin: 0; color: var(--text); background: radial-gradient(circle at 80% 5%, rgba(215, 189, 130, .075), transparent 29rem), var(--bg); font-family: Manrope, Arial, sans-serif; }
button, input { font: inherit; }
button { cursor: pointer; }
.page-shell { width: min(1160px, calc(100% - 48px)); margin: 0 auto; }
.topbar { min-height: 80px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; }
.brand-mark { display: grid; width: 40px; height: 40px; place-items: center; border-radius: 12px; color: #302d23; background: linear-gradient(135deg, #e6d19d, #af9159); box-shadow: 0 7px 18px rgba(215, 189, 130, .13); font-size: 20px; font-weight: 800; }
.brand strong, .brand small { display: block; }
.brand strong { letter-spacing: -.04em; font-size: 18px; }
.brand small { margin-top: 1px; color: var(--muted); font-size: 9px; }
.topbar-note { color: var(--muted); font-size: 13px; }
.hero { display: flex; min-height: 372px; align-items: center; justify-content: space-between; gap: 56px; padding: 74px 2px 62px; }
.hero-copy-wrap { max-width: 690px; }
.eyebrow, .section-label, .card-kicker { margin: 0 0 12px; color: var(--gold); font-size: 11px; letter-spacing: .09em; font-weight: 800; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 19px; font-size: clamp(45px, 6.2vw, 76px); line-height: .98; letter-spacing: -.05em; word-spacing: .08em; }
h1 em { color: var(--gold); font-style: normal; }
.intro { max-width: 570px; margin-bottom: 0; color: var(--muted); font-size: 16px; line-height: 1.7; }
.hero-card { flex: 0 0 307px; height: 210px; padding: 21px; border: 1px solid rgba(215, 189, 130, .18); border-radius: 22px; background: linear-gradient(145deg, rgba(215, 189, 130, .1), rgba(255, 255, 255, .025) 42%, rgba(0, 0, 0, .14)); box-shadow: var(--shadow); }
.hero-card-head, .hero-card-bottom { display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .08em; }
.scan-lines { display: grid; gap: 13px; margin: 35px 0 33px; }
.scan-lines b { display: block; height: 10px; border-radius: 99px; background: linear-gradient(90deg, var(--gold) 0 42%, rgba(215, 189, 130, .15) 42%); }
.scan-lines b:nth-child(2) { background: linear-gradient(90deg, var(--gold) 0 70%, rgba(215, 189, 130, .15) 70%); }
.scan-lines b:nth-child(3) { width: 72%; background: linear-gradient(90deg, var(--gold) 0 55%, rgba(215, 189, 130, .15) 55%); }
.hero-card-bottom { padding-top: 17px; border-top: 1px solid var(--line); }
.search-panel, .overview-card, .risks-panel { border: 1px solid var(--line); border-radius: 24px; background: linear-gradient(135deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .014)); box-shadow: var(--shadow); }
.search-panel { padding: 34px; background: linear-gradient(120deg, rgba(215, 189, 130, .14), rgba(255, 255, 255, .03) 47%, rgba(0, 0, 0, .1)); }
.section-label { display: inline-block; margin-bottom: 11px; padding: 7px 10px; border: 1px solid rgba(215, 189, 130, .22); border-radius: 99px; background: rgba(215, 189, 130, .08); }
h2 { margin-bottom: 26px; letter-spacing: -.05em; font-size: clamp(27px, 3.2vw, 38px); }
#check-form { display: flex; gap: 12px; max-width: 760px; }
.inn-field { flex: 1; display: grid; gap: 8px; }
.inn-field > span { color: var(--muted); font-size: 12px; font-weight: 700; }
.inn-field input { width: 100%; min-height: 54px; border: 1px solid var(--line); border-radius: 13px; outline: 0; color: var(--text); background: rgba(12, 13, 10, .58); padding: 0 17px; font-size: 16px; font-weight: 700; letter-spacing: .035em; transition: .16s ease; }
.inn-field input::placeholder { color: var(--faint); letter-spacing: 0; font-size: 14px; font-weight: 500; }
.inn-field input:focus { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(215, 189, 130, .11); }
#submit-button { min-width: 246px; min-height: 54px; align-self: end; border: 0; border-radius: 13px; color: #302d23; background: linear-gradient(135deg, var(--gold-bright), #b99b5e); box-shadow: 0 11px 24px rgba(215, 189, 130, .17); font-weight: 800; transition: transform .16s ease, filter .16s ease; }
#submit-button b { display: inline-block; margin-left: 9px; font-size: 18px; transition: transform .16s ease; }
#submit-button:hover { filter: brightness(1.06); transform: translateY(-1px); }
#submit-button:hover b { transform: translateX(3px); }
#submit-button:disabled { cursor: wait; opacity: .68; }
.form-status { min-height: 20px; margin: 12px 0 0; color: var(--muted); font-size: 13px; }
.form-status.error { color: var(--bad); }
.form-status.loading { color: var(--gold); }
.result { margin-top: 32px; }
.result-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.result-heading h2 { max-width: 860px; margin-bottom: 0; font-size: clamp(28px, 3.5vw, 46px); }
.status-badge { flex: none; padding: 9px 12px; border: 1px solid rgba(169, 201, 154, .28); border-radius: 99px; color: var(--good); background: rgba(169, 201, 154, .09); font-size: 12px; font-weight: 800; }
.status-badge.is-danger { border-color: rgba(220, 145, 140, .3); color: var(--bad); background: rgba(220, 145, 140, .1); }
.overview-grid { display: grid; grid-template-columns: 1.65fr 1fr; gap: 18px; }
.overview-card { min-height: 226px; padding: 26px; }
.card-kicker { display: block; color: var(--muted); }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 28px; margin: 26px 0 0; }
.facts div { min-width: 0; }
.facts dt { margin-bottom: 5px; color: var(--faint); font-size: 11px; }
.facts dd { overflow-wrap: anywhere; margin: 0; color: var(--text); font-size: 14px; font-weight: 700; line-height: 1.45; }
.leader-name { margin: 28px 0 8px; font-size: 23px; letter-spacing: -.045em; font-weight: 800; line-height: 1.15; }
.leader-role { margin-bottom: 0; color: var(--muted); font-size: 13px; line-height: 1.45; }
.contacts-overview { grid-column: 1 / -1; min-height: 0; }
.contact-facts { display: grid; grid-template-columns: 1.35fr 1fr; gap: 28px; margin: 22px 0 0; }
.contact-facts div { min-width: 0; }
.contact-facts dt { margin-bottom: 6px; color: var(--faint); font-size: 11px; }
.contact-facts dd { overflow-wrap: anywhere; margin: 0; color: var(--text); font-size: 13px; font-weight: 600; line-height: 1.55; }
.risks-panel { margin-top: 18px; padding: 28px; }
.risks-header { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.risks-header h3 { margin: 0; font-size: 26px; letter-spacing: -.025em; word-spacing: .11em; }
.risk-summary { padding: 7px 10px; border-radius: 99px; background: rgba(169, 201, 154, .1); color: var(--good); font-size: 12px; font-weight: 800; }
.risk-summary.has-risks { background: rgba(220, 145, 140, .12); color: var(--bad); }
.risks-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 11px; }
.risk-item { display: flex; min-height: 72px; align-items: center; gap: 13px; padding: 13px 15px; border: 1px solid var(--line); border-radius: 14px; background: rgba(0, 0, 0, .12); }
.risk-mark { display: grid; width: 34px; height: 34px; flex: none; place-items: center; border: 1px solid rgba(169, 201, 154, .3); border-radius: 10px; color: var(--good); background: rgba(169, 201, 154, .1); font-size: 23px; font-weight: 800; line-height: 1; }
.risk-item.is-risk .risk-mark { border-color: rgba(220, 145, 140, .38); color: var(--bad); background: rgba(220, 145, 140, .12); }
.risk-item strong { font-size: 12px; line-height: 1.35; }
footer { display: flex; justify-content: space-between; gap: 24px; padding: 8px 2px 36px; color: var(--faint); font-size: 12px; }
footer p { margin: 0; }
footer a { color: var(--gold); text-decoration: none; }
.legal-note { max-width: 470px; text-align: right; font-size: 10px; line-height: 1.5; }

@media (max-width: 760px) {
  .page-shell { width: min(100% - 30px, 1160px); }
  .topbar-note, .hero-card { display: none; }
  .hero { min-height: 0; padding: 55px 0 45px; }
  .search-panel { padding: 22px 17px; border-radius: 19px; }
  #check-form { display: grid; }
  #submit-button { width: 100%; }
  .overview-grid, .risks-list { grid-template-columns: 1fr; }
  .contact-facts { grid-template-columns: 1fr; gap: 17px; }
  .risks-panel, .overview-card { padding: 21px 17px; border-radius: 19px; }
  .result-heading, .risks-header { align-items: start; flex-direction: column; }
  footer { display: block; padding-bottom: 25px; }
  .legal-note { margin-top: 10px; text-align: left; }
}
@media (max-width: 430px) { .facts { grid-template-columns: 1fr; gap: 15px; } }
