:root {
  color-scheme: light;
  --ink: #18212f;
  --muted: #607086;
  --line: #d9e1ea;
  --surface: #f6f8fb;
  --panel: #ffffff;
  --brand: #0f766e;
  --brand-dark: #115e59;
  --accent: #b45309;
  --risk: #b91c1c;
  --ok: #15803d;
  --shadow: 0 18px 50px rgba(24, 33, 47, 0.08);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  line-height: 1.5;
}

a {
  color: var(--brand-dark);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(1120px, calc(100% - 32px));
  min-height: 64px;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--ink);
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  color: #fff;
  background: var(--brand);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 0.94rem;
}

.language {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.hero {
  background: linear-gradient(180deg, #ffffff 0%, #edf7f5 100%);
  border-bottom: 1px solid var(--line);
}

.hero-inner,
.section-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 42px;
  align-items: center;
  padding: 72px 0 56px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
  font-size: 0.82rem;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.12;
}

h1 {
  max-width: 820px;
  font-size: clamp(2.2rem, 5vw, 4.8rem);
}

h2 {
  font-size: clamp(1.65rem, 3vw, 2.5rem);
}

h3 {
  font-size: 1.08rem;
}

.lead {
  max-width: 720px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.18rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 8px;
  border: 1px solid var(--brand);
  background: var(--brand);
  color: #fff;
  font-weight: 750;
}

.button.secondary {
  background: #fff;
  color: var(--brand-dark);
}

.button:hover {
  text-decoration: none;
  filter: brightness(0.98);
}

.trust {
  margin-top: 22px;
  color: var(--muted);
  font-size: 0.94rem;
}

.hero-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-panel-header {
  padding: 18px 20px;
  background: #18212f;
  color: #fff;
  font-weight: 800;
}

.risk-list {
  display: grid;
  gap: 1px;
  background: var(--line);
}

.risk-row {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 16px;
  padding: 18px 20px;
  background: #fff;
}

.risk-level {
  color: var(--brand-dark);
  font-size: 0.86rem;
  font-weight: 800;
  text-transform: uppercase;
}

section {
  padding: 64px 0;
}

.section-head {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-head p {
  color: var(--muted);
  font-size: 1.04rem;
}

.tool-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.85fr);
  gap: 22px;
}

.panel,
.card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 10px 28px rgba(24, 33, 47, 0.05);
}

.panel {
  padding: 22px;
}

label {
  display: block;
  margin-bottom: 8px;
  font-weight: 760;
}

textarea,
input,
select {
  width: 100%;
  border: 1px solid #c7d2df;
  border-radius: 8px;
  padding: 12px 13px;
  color: var(--ink);
  background: #fff;
  font: inherit;
}

textarea {
  min-height: 210px;
  resize: vertical;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.full {
  grid-column: 1 / -1;
}

.result {
  display: grid;
  gap: 14px;
}

.score {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.score strong {
  font-size: 2.35rem;
}

.status {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  background: #fef3c7;
  color: #92400e;
  font-weight: 800;
  font-size: 0.84rem;
}

.status.low {
  background: #dcfce7;
  color: #166534;
}

.status.high {
  background: #fee2e2;
  color: #991b1b;
}

.check-row {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.check-row:last-child {
  border-bottom: 0;
}

.dot {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  color: #fff;
  background: var(--risk);
  font-size: 0.8rem;
  font-weight: 900;
}

.dot.ok {
  background: var(--ok);
}

.muted {
  color: var(--muted);
}

.checklist,
.resource-grid,
.report-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.checklist {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  padding: 18px;
}

.card p,
.card li {
  color: var(--muted);
}

.card ul {
  padding-left: 20px;
}

.ad-slot {
  display: grid;
  gap: 8px;
  min-height: 120px;
  place-items: center;
  padding: 18px;
  border: 1px dashed #9aa8b8;
  border-radius: 8px;
  background: #fff;
  text-align: center;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 28px 0;
  background: #fff;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  color: var(--muted);
  font-size: 0.94rem;
}

.article {
  max-width: 820px;
  margin: 0 auto;
  padding: 56px 16px;
}

.article p,
.article li {
  color: var(--muted);
  font-size: 1.04rem;
}

@media (max-width: 860px) {
  .hero-inner,
  .tool-grid,
  .checklist,
  .resource-grid,
  .report-grid {
    grid-template-columns: 1fr;
  }

  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 12px 0;
  }

  .nav-links {
    width: 100%;
  }

  .hero-inner {
    padding-top: 42px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }
}
