@font-face {
  font-family: "Manrope";
  src: url("/assets/fonts/manrope/Manrope-VariableFont_wght.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}

:root {
  --bg: #ffffff;
  --surface: #f7faf9;
  --surface-alt: #eef5f3;
  --text: #162320;
  --muted: #5f6f6b;
  --border: #dce7e4;
  --primary: #008f8a;
  --primary-dark: #006f6b;
  --primary-soft: #e4f4f2;
  --dark: #172522;
  --error: #b84040;
  --warning: #bf7417;
  --shadow: 0 18px 50px rgba(22, 35, 32, .09);
  --page: max(20px, calc((100% - 1180px) / 2));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--text); background: var(--bg); font-family: Manrope, system-ui, -apple-system, "Segoe UI", Arial, sans-serif; -webkit-font-smoothing: antialiased; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }

.site-header { position: sticky; top: 0; z-index: 20; min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 10px var(--page); border-bottom: 1px solid var(--border); background: rgba(255,255,255,.94); backdrop-filter: blur(14px); }
.brand { display: flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; }
.brand-mark { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 14px; background: var(--primary); color: white; font-size: 22px; font-weight: 700; }
.brand-copy { display: grid; line-height: 1.15; }
.brand-copy b { font-size: 16px; }
.brand-copy small, .header-note { color: var(--muted); font-size: 12px; }
.header-note { display: flex; align-items: center; gap: 8px; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 5px var(--primary-soft); }

.hero { min-height: calc(100svh - 130px); display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(390px, .9fr); align-items: center; gap: clamp(36px, 6vw, 80px); padding: 72px var(--page); background: linear-gradient(115deg, #fff 0%, #fbfcfa 58%, var(--surface) 100%); }
.hero-copy { max-width: 700px; }
.eyebrow { margin: 0; color: var(--primary-dark); font-size: 13px; font-weight: 700; }
.eyebrow span { display: inline-block; width: 24px; height: 2px; margin: 0 9px 3px 0; background: var(--primary); }
h1 { margin: 22px 0 0; font-size: clamp(44px, 5.4vw, 72px); line-height: 1.03; letter-spacing: -.05em; }
h1 em { color: var(--primary); font-style: normal; }
.hero-lead { max-width: 640px; margin: 26px 0 0; color: var(--muted); font-size: 19px; line-height: 1.58; }

.search-form { margin-top: 38px; padding: 24px; border: 1px solid var(--border); border-radius: 24px; background: white; box-shadow: var(--shadow); }
.search-form label { display: block; margin-bottom: 10px; font-size: 14px; font-weight: 650; }
.search-row { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.search-row input { width: 100%; min-height: 58px; padding: 0 18px; border: 1px solid var(--border); border-radius: 16px; color: var(--text); outline: none; transition: border-color .2s, box-shadow .2s; }
.search-row input:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(0,143,138,.1); }
.search-row input:disabled { background: var(--surface); }
.search-row button { position: relative; min-width: 142px; padding: 0 24px; border: 1px solid var(--primary); border-radius: 16px; background: var(--primary); color: white; font-weight: 700; cursor: pointer; transition: background .2s, transform .2s; }
.search-row button:hover { background: var(--primary-dark); transform: translateY(-1px); }
.search-row button:disabled { cursor: wait; opacity: .82; transform: none; }
.form-meta { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin: 10px 2px 0; }
.form-meta p { margin: 0; color: var(--muted); font-size: 12px; }
.form-meta .form-message { display: none; color: var(--error); font-weight: 600; text-align: right; }
.form-meta .form-message.is-visible { display: block; }

.hero-panel { position: relative; min-height: 520px; display: grid; align-items: end; padding: 34px; border: 1px solid var(--border); border-radius: 32px; background: var(--surface-alt); overflow: hidden; }
.panel-orbit { position: absolute; border: 30px solid rgba(255,255,255,.6); border-radius: 50%; transform: rotate(-28deg); }
.panel-orbit-one { width: 520px; height: 130px; top: 110px; left: -70px; }
.panel-orbit-two { width: 280px; height: 480px; top: -40px; right: -60px; border-color: rgba(22,35,32,.055); transform: rotate(38deg); }
.panel-content { position: relative; z-index: 1; }
.panel-index, .card-label { color: var(--primary-dark); font-size: 12px; font-weight: 700; }
.panel-content h2 { margin: 20px 0 34px; font-size: clamp(36px, 4vw, 52px); line-height: 1.05; letter-spacing: -.04em; }
.panel-content ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.panel-content li { display: flex; align-items: center; gap: 14px; padding: 13px 15px; border: 1px solid var(--border); border-radius: 14px; background: rgba(255,255,255,.84); font-size: 14px; font-weight: 650; }
.panel-content li span { color: var(--primary-dark); font-size: 12px; }

.trust-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; padding: 20px; border-block: 1px solid var(--border); font-size: 12px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; }
.trust-strip i { color: var(--primary); font-style: normal; }

.result-section { padding: 88px var(--page); scroll-margin-top: 72px; background: white; }
.result-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 32px; margin-bottom: 42px; }
.result-heading h2 { max-width: 830px; margin: 16px 0 0; font-size: clamp(32px, 4vw, 48px); line-height: 1.12; letter-spacing: -.035em; }
.company-full-title { max-width: 820px; margin: 12px 0 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.status-badge { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border: 1px solid var(--border); border-radius: 999px; font-size: 13px; font-weight: 700; }
.status-badge::before { content: ''; width: 8px; height: 8px; border-radius: 50%; }
.status-badge.is-active { border-color: #b8ddd8; background: var(--primary-soft); color: var(--primary-dark); }
.status-badge.is-active::before { background: var(--primary); }
.status-badge.is-warning { border-color: #f0d5b5; background: #fff6eb; color: #94570e; }
.status-badge.is-warning::before { background: var(--warning); }
.result-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(310px, .6fr); gap: 16px; }
.details-card, .risk-card { padding: 28px; border: 1px solid var(--border); border-radius: 24px; background: white; }
.details-card dl { display: grid; grid-template-columns: 1fr 1fr; gap: 0 30px; margin: 26px 0 0; }
.details-card dl > div { min-width: 0; padding: 18px 0; border-top: 1px solid var(--border); }
.details-card dl > div.wide { grid-column: 1 / -1; }
.details-card dt { margin-bottom: 7px; color: var(--muted); font-size: 12px; }
.details-card dd { margin: 0; font-size: 15px; font-weight: 650; line-height: 1.45; overflow-wrap: anywhere; }
.risk-card { background: var(--surface-alt); }
.risk-card.has-risks { background: #fff9f2; }
.risk-summary { display: flex; align-items: flex-end; gap: 12px; margin: 28px 0 24px; }
.risk-summary strong { font-size: 64px; font-weight: 650; line-height: .85; letter-spacing: -.05em; }
.risk-summary span { max-width: 120px; color: var(--muted); font-size: 13px; line-height: 1.3; }
.risk-list { display: grid; gap: 8px; }
.risk-item { display: grid; grid-template-columns: 30px 1fr; align-items: center; gap: 10px; padding: 12px; border: 1px solid var(--border); border-radius: 14px; background: rgba(255,255,255,.8); }
.risk-item span { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 9px; font-size: 13px; font-weight: 800; }
.risk-item p { margin: 0; font-size: 13px; font-weight: 650; line-height: 1.35; }
.risk-clear span { background: var(--primary-soft); color: var(--primary-dark); }
.risk-medium span { background: #fff0dc; color: #9a5c10; }
.risk-high span { background: #fbe8e8; color: var(--error); }
.updated-at { margin: 16px 0 0; color: var(--muted); font-size: 11px; text-align: right; }

footer { display: grid; gap: 10px; padding: 34px var(--page) 44px; background: #101816; color: white; }
footer a { width: fit-content; color: #83d5ce; font-size: 14px; font-weight: 700; text-decoration: none; }
footer p { max-width: 760px; margin: 0; color: rgba(255,255,255,.58); font-size: 11px; line-height: 1.55; }
button:focus-visible, input:focus-visible, a:focus-visible { outline: 3px solid rgba(0,143,138,.22); outline-offset: 3px; }

@media (max-width: 900px) {
  .hero { min-height: auto; grid-template-columns: 1fr; padding-block: 56px; }
  .hero-panel { min-height: 420px; }
  .result-grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  :root { --page: 18px; }
  .site-header { min-height: 66px; }
  .header-note { display: none; }
  .brand-copy small { display: none; }
  .hero { padding-block: 42px; }
  h1 { font-size: 42px; }
  .hero-lead { font-size: 17px; }
  .search-form { padding: 17px; border-radius: 20px; }
  .search-row { grid-template-columns: 1fr; }
  .search-row button { min-height: 54px; }
  .form-meta { display: grid; }
  .form-meta .form-message { text-align: left; }
  .hero-panel { min-height: 390px; padding: 24px; border-radius: 24px; }
  .trust-strip i { display: none; }
  .trust-strip span { padding: 7px 10px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); }
  .result-section { padding-block: 60px; }
  .result-heading { display: grid; margin-bottom: 30px; }
  .status-badge { width: fit-content; }
  .details-card, .risk-card { padding: 21px; border-radius: 20px; }
  .details-card dl { grid-template-columns: 1fr; }
  .details-card dl > div.wide { grid-column: auto; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
