:root {
  color-scheme: light;
  --ink: #172026;
  --muted: #52606d;
  --line: #d7dee5;
  --surface: #f6f8fa;
  --panel: #ffffff;
  --accent: #0f766e;
  --accent-strong: #134e4a;
  --warn: #b45309;
  --blue: #2563eb;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--surface);
  line-height: 1.5;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
}

.brand {
  font-weight: 800;
  text-decoration: none;
}

nav {
  display: flex;
  gap: 18px;
  color: var(--muted);
  font-size: 0.95rem;
}

nav a,
.header-actions a,
.link-row a {
  text-decoration: none;
}

.header-actions,
.cta-row,
.link-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang {
  color: var(--muted);
  font-weight: 700;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--accent);
  border-radius: 6px;
  background: var(--accent);
  color: white;
  font-weight: 750;
  text-decoration: none;
}

.button.secondary {
  background: white;
  color: var(--accent-strong);
}

.button.small {
  min-height: 36px;
  padding: 0 12px;
  font-size: 0.9rem;
}

main {
  overflow: hidden;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.7fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  min-height: 72vh;
  padding: clamp(48px, 7vw, 92px) clamp(18px, 5vw, 72px) 42px;
  background:
    linear-gradient(135deg, rgba(15, 118, 110, 0.13), rgba(37, 99, 235, 0.08) 42%, rgba(255, 255, 255, 0.3)),
    var(--surface);
}

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

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 980px;
  margin-bottom: 18px;
  font-size: clamp(2.35rem, 5vw, 5.1rem);
  line-height: 0.98;
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(1.65rem, 3vw, 2.55rem);
  line-height: 1.08;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.05rem;
}

.lede {
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.7vw, 1.3rem);
}

.diagnostic-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 24px 70px rgba(23, 32, 38, 0.12);
  padding: 24px;
}

.score-ring {
  display: grid;
  place-items: center;
  width: 180px;
  height: 180px;
  margin: 0 auto 24px;
  border: 18px solid #f2c572;
  border-left-color: var(--warn);
  border-radius: 50%;
}

.score-ring span {
  display: block;
  font-size: 3rem;
  font-weight: 850;
}

.score-ring small {
  color: var(--muted);
  text-transform: uppercase;
  font-weight: 800;
}

dl {
  display: grid;
  gap: 12px;
  margin: 0;
}

dl div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
}

dt {
  font-weight: 850;
}

dd {
  margin: 0;
  color: var(--muted);
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 20px clamp(18px, 5vw, 72px);
  background: var(--ink);
  color: white;
}

.trust-strip span {
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 0.9rem;
}

.section {
  padding: clamp(44px, 7vw, 86px) clamp(18px, 5vw, 72px);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 28px;
}

.section-heading p,
.split p,
.report-band p,
.disclaimer {
  color: var(--muted);
}

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

.risk-card {
  min-height: 190px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.split {
  display: grid;
  grid-template-columns: minmax(240px, 0.55fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 70px);
  background: white;
}

.checklist {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 24px;
}

.checklist li {
  padding-left: 8px;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

th,
td {
  padding: 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

thead th {
  background: #eef4f8;
}

.link-row {
  margin-top: 18px;
}

.link-row a {
  color: var(--blue);
  font-weight: 750;
}

.partner {
  margin: 0 clamp(18px, 5vw, 72px);
  padding: 18px;
  border: 1px dashed #9aa8b5;
  border-radius: 8px;
  background: #fff;
  color: var(--muted);
}

.partner strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
}

.report-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(260px, 0.45fr);
  gap: 24px;
  align-items: start;
  background: #eaf7f5;
}

.report-band .partner {
  margin: 0;
}

.disclaimer {
  padding: 0 clamp(18px, 5vw, 72px) 42px;
  font-size: 0.92rem;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 22px clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: white;
}

@media (max-width: 900px) {
  .site-header {
    position: static;
    flex-wrap: wrap;
  }

  nav {
    order: 3;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero,
  .split,
  .report-band {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

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

@media (max-width: 620px) {
  .header-actions {
    width: 100%;
    justify-content: space-between;
  }

  .cta-row {
    align-items: stretch;
    flex-direction: column;
  }

  h1 {
    font-size: 2.4rem;
  }

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

  footer {
    flex-direction: column;
  }
}
