:root {
  color-scheme: light;
  --ink: #172024;
  --muted: #526166;
  --line: #d7e0df;
  --paper: #ffffff;
  --wash: #f5f7f3;
  --deep: #0d1517;
  --teal: #0f8f8c;
  --teal-dark: #0a625f;
  --amber: #d78713;
  --red: #c84a3d;
  --blue: #315c8c;
  --shadow: 0 14px 32px rgba(17, 32, 36, 0.14);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  width: 100%;
  max-width: 100%;
}

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

img {
  display: block;
  max-width: 100%;
}

a {
  color: var(--teal-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--blue);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 20;
  background: var(--paper);
  color: var(--ink);
  padding: 0.75rem 1rem;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(215, 224, 223, 0.85);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
}

.nav {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0.8rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-width: 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--ink);
  font-weight: 760;
  text-decoration: none;
  max-width: 100%;
  min-width: 0;
}

.brand-mark {
  width: 2rem;
  height: 2rem;
  border: 2px solid var(--teal);
  border-radius: 50%;
  position: relative;
  background: var(--paper);
}

.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  inset: 0.42rem;
  border: 1px solid var(--amber);
  border-radius: 50%;
}

.brand-mark::after {
  width: 0.42rem;
  height: 0.42rem;
  inset: 0.63rem auto auto 0.63rem;
  background: var(--red);
  border: 0;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.35rem;
  max-width: 100%;
  min-width: 0;
}

.nav-links a {
  color: var(--ink);
  text-decoration: none;
  padding: 0.46rem 0.7rem;
  border-radius: 6px;
  font-size: 0.95rem;
  max-width: 100%;
  overflow-wrap: break-word;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  background: #e7f1ef;
  color: var(--teal-dark);
}

.hero {
  min-height: 64svh;
  color: #f6fbfa;
  background-image:
    linear-gradient(90deg, rgba(13, 21, 23, 0.9) 0%, rgba(13, 21, 23, 0.72) 42%, rgba(13, 21, 23, 0.22) 100%),
    url("../img/radarnis2-dashboard.webp");
  background-position: center;
  background-size: cover;
  display: grid;
  align-items: center;
}

.hero-inner,
.section-inner,
.page-hero-inner {
  width: min(1180px, calc(100% - 2.5rem));
  margin: 0 auto;
  min-width: 0;
}

.hero-copy {
  max-width: 690px;
  padding: 4rem 0;
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: #96d9d5;
  font-weight: 720;
}

h1,
h2,
h3 {
  line-height: 1.12;
  margin: 0;
  overflow-wrap: break-word;
}

h1 {
  font-size: clamp(2.35rem, 11vw, 5rem);
  max-width: min(11ch, 100%);
}

.page-hero h1 {
  max-width: min(900px, 100%);
  font-size: clamp(1.85rem, 7.2vw, 3.8rem);
}

h2 {
  font-size: clamp(1.45rem, 4.8vw, 2.15rem);
}

h3 {
  font-size: 1.08rem;
}

.lead {
  font-size: 1.14rem;
  color: #dce9e7;
  max-width: 680px;
}

.page-hero .lead,
.section-lead {
  color: var(--muted);
  max-width: 760px;
}

.hero-actions,
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.72rem 1rem;
  border-radius: 6px;
  border: 1px solid transparent;
  font-weight: 720;
  text-decoration: none;
  white-space: normal;
}

.btn-primary {
  color: #ffffff;
  background: var(--teal);
}

.btn-primary:hover {
  color: #ffffff;
  background: var(--teal-dark);
}

.btn-secondary {
  color: var(--ink);
  background: #ffffff;
  border-color: var(--line);
}

.btn-secondary:hover {
  color: var(--teal-dark);
  border-color: var(--teal);
}

.section {
  padding: 4rem 0;
}

.section.alt {
  background: #ffffff;
}

.section.compact {
  padding: 2.5rem 0;
}

.page-hero {
  padding: 4rem 0 3rem;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
}

.grid {
  display: grid;
  gap: 1rem;
}

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

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

.panel,
.feature,
.article-link,
.metric-box,
.faq-item,
.step,
.check-item {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.1rem;
}

.alt .panel,
.alt .feature,
.alt .article-link,
.alt .metric-box,
.alt .faq-item,
.alt .step,
.alt .check-item {
  background: #f9fbf9;
}

.feature strong,
.metric-box strong {
  display: block;
  font-size: 1.4rem;
  color: var(--teal-dark);
}

.feature p,
.panel p,
.article-link p,
.step p,
.check-item p,
.faq-item p,
li p {
  margin-bottom: 0;
}

.kicker {
  display: inline-flex;
  align-items: center;
  min-height: 1.65rem;
  margin-bottom: 0.75rem;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  color: var(--teal-dark);
  background: #e7f1ef;
  font-size: 0.83rem;
  font-weight: 720;
}

.warning {
  border-left: 4px solid var(--amber);
}

.danger {
  border-left: 4px solid var(--red);
}

.safe {
  border-left: 4px solid var(--teal);
}

.blue {
  border-left: 4px solid var(--blue);
}

.article-list {
  display: grid;
  gap: 1rem;
}

.article-link {
  display: block;
  color: var(--ink);
  text-decoration: none;
}

.article-link:hover {
  border-color: var(--teal);
  box-shadow: var(--shadow);
}

.meta {
  color: var(--muted);
  font-size: 0.93rem;
}

.content {
  display: grid;
  grid-template-columns: minmax(0, 2.4fr) minmax(240px, 0.8fr);
  gap: 2rem;
  align-items: start;
}

.content-main {
  min-width: 0;
}

.content-main h2 {
  margin-top: 2.2rem;
}

.content-main h3 {
  margin-top: 1.35rem;
}

.content-main p,
.content-main li {
  color: #2a383c;
}

.content-main li + li {
  margin-top: 0.55rem;
}

.sidebar {
  position: sticky;
  top: 5.5rem;
  display: grid;
  gap: 1rem;
}

.toc {
  list-style: none;
  padding: 0;
  margin: 0;
}

.toc li + li {
  margin-top: 0.45rem;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: grid;
  gap: 0.8rem;
}

.check-item {
  display: grid;
  gap: 0.35rem;
}

.check-status {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 1.6rem;
  padding: 0.1rem 0.45rem;
  border-radius: 6px;
  font-weight: 720;
  font-size: 0.82rem;
  background: #eef3f2;
}

.status-urgent {
  color: #8d2f25;
  background: #fae7e4;
}

.status-medium {
  color: #744800;
  background: #f9eedc;
}

.status-ready {
  color: #075d58;
  background: #e3f3f1;
}

.score-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
  background: var(--paper);
  border: 1px solid var(--line);
}

.score-table th,
.score-table td {
  padding: 0.75rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.score-table th {
  background: #eef3f2;
}

.radar-app {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.75fr);
  gap: 1.25rem;
  align-items: start;
  min-width: 0;
}

.radar-form {
  display: grid;
  gap: 0.9rem;
  min-width: 0;
}

.question {
  margin: 0;
  padding: 1.05rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  min-width: 0;
}

.question legend {
  display: grid;
  grid-template-columns: 2.2rem minmax(0, 1fr);
  gap: 0.6rem;
  align-items: start;
  width: 100%;
  padding: 0;
}

.question-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: #e7f1ef;
  color: var(--teal-dark);
  font-size: 0.85rem;
  font-weight: 760;
}

.option-list {
  display: grid;
  gap: 0.5rem;
  margin-top: 0.8rem;
}

.option {
  display: grid;
  grid-template-columns: 1.1rem minmax(0, 1fr);
  gap: 0.6rem;
  align-items: start;
  min-height: 2.45rem;
  padding: 0.62rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fbfcfb;
  cursor: pointer;
  min-width: 0;
}

.option:hover {
  border-color: var(--teal);
}

.option input {
  width: 1.05rem;
  height: 1.05rem;
  margin: 0.2rem 0 0;
  accent-color: var(--teal);
}

.radar-actions {
  display: flex;
  justify-content: flex-end;
}

button.btn {
  font: inherit;
  cursor: pointer;
}

.radar-result {
  position: sticky;
  top: 5.5rem;
  min-height: 22rem;
}

.radar-score {
  margin: 0.4rem 0;
  color: var(--teal-dark);
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1;
}

.radar-meter {
  width: 100%;
  height: 0.7rem;
}

.radar-meter::-webkit-meter-bar {
  border: 0;
  border-radius: 999px;
  background: #e3e8e7;
}

.radar-meter::-webkit-meter-optimum-value,
.radar-meter::-webkit-meter-suboptimum-value,
.radar-meter::-webkit-meter-even-less-good-value {
  border-radius: 999px;
  background: var(--teal);
}

.radar-meter::-moz-meter-bar {
  border-radius: 999px;
  background: var(--teal);
}

.site-footer {
  padding: 2rem 0;
  background: var(--deep);
  color: #d8e4e2;
}

.footer-inner {
  width: min(1180px, calc(100% - 2.5rem));
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-footer a {
  color: #96d9d5;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

@media (max-width: 900px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .hero {
    min-height: 58svh;
    background-position: 58% center;
  }

  .grid.three,
  .grid.two,
  .content,
  .radar-app {
    grid-template-columns: 1fr;
  }

  .sidebar,
  .radar-result {
    position: static;
  }
}

@media (max-width: 560px) {
  .hero-inner,
  .section-inner,
  .page-hero-inner,
  .footer-inner {
    width: min(100% - 1.5rem, 1180px);
  }

  .nav {
    padding: 0.75rem;
    width: 100%;
  }

  .brand {
    flex-shrink: 1;
  }

  .nav-links {
    width: 100%;
    justify-content: flex-start;
    gap: 0.25rem;
  }

  .nav-links a {
    padding: 0.42rem 0.52rem;
    font-size: 0.9rem;
  }

  .hero-copy {
    padding: 3rem 0;
  }

  .section {
    padding: 3rem 0;
  }

  .page-hero {
    padding: 3rem 0 2.25rem;
  }
}
