* {
  box-sizing: border-box;
}

body {
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #18201d;
  background: #f7fbfa;
}

a {
  color: inherit;
}

.iapr-page {
  min-height: 100vh;
  background: #f7fbfa;
}

.iapr-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 36px;
  border-bottom: 1px solid rgba(24, 32, 29, 0.08);
  background: rgba(247, 251, 250, 0.92);
  backdrop-filter: blur(18px);
}

.iapr-brand,
.iapr-nav-cta,
.iapr-primary-action,
.iapr-secondary-action,
.iapr-kinro-cta,
.iapr-reset {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
}

.iapr-brand {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
}

.iapr-brand img {
  width: 28px;
  height: 26px;
  object-fit: contain;
}

.iapr-nav-cta {
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid rgba(24, 32, 29, 0.14);
  border-radius: 999px;
  background: #18201d;
  color: #fffdf7;
  font-size: 13px;
  font-weight: 700;
}

.iapr-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(420px, 0.92fr);
  gap: 44px;
  align-items: start;
  max-width: 1280px;
  margin: 0 auto;
  padding: 68px 36px 56px;
}

.iapr-hero-copy {
  padding-top: 12px;
}

.iapr-kicker,
.iapr-tool-label {
  margin: 0 0 12px;
  color: #2f6f68;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.iapr-hero h1,
.iapr-section-heading h2 {
  margin: 0;
  color: #18201d;
  font-size: 52px;
  line-height: 1.03;
  letter-spacing: 0;
}

.iapr-lede,
.iapr-section-heading p {
  margin: 18px 0 0;
  max-width: 760px;
  color: #52605a;
  font-size: 17px;
  line-height: 1.65;
}

.iapr-live-score {
  margin-top: 30px;
  border: 1px solid rgba(24, 32, 29, 0.12);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 22px 52px rgba(47, 111, 104, 0.11);
  overflow: hidden;
}

.iapr-live-score-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 30px 24px;
}

.iapr-score-big {
  display: flex;
  align-items: baseline;
  gap: 8px;
  color: #18201d;
  line-height: 0.9;
}

.iapr-score-big span:first-child {
  font-size: 96px;
  font-weight: 800;
  letter-spacing: 0;
}

.iapr-score-big span:last-child {
  color: #728077;
  font-size: 34px;
  font-weight: 800;
}

.iapr-score-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(24, 32, 29, 0.08);
}

.iapr-score-metrics div {
  padding: 18px 20px;
  border-right: 1px solid rgba(24, 32, 29, 0.08);
}

.iapr-score-metrics div:last-child {
  border-right: 0;
}

.iapr-score-metrics strong {
  display: block;
  color: #18201d;
  font-size: 28px;
  line-height: 1;
}

.iapr-score-metrics span {
  display: block;
  margin-top: 6px;
  color: #64716b;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.iapr-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.iapr-primary-action,
.iapr-secondary-action {
  min-height: 46px;
  padding: 0 18px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 800;
}

.iapr-primary-action {
  background: #2f6f68;
  color: #ffffff;
}

.iapr-secondary-action {
  border: 1px solid rgba(24, 32, 29, 0.16);
  background: #ffffff;
  color: #18201d;
}

.iapr-score-shell {
  position: sticky;
  top: 86px;
  border: 1px solid rgba(24, 32, 29, 0.12);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 44px rgba(55, 48, 38, 0.08);
  overflow: hidden;
}

.iapr-form-header {
  padding: 24px 24px 18px;
  border-bottom: 1px solid rgba(24, 32, 29, 0.08);
  background: #ffffff;
}

.iapr-form-header h2 {
  margin: 0;
  color: #18201d;
  font-size: 28px;
  line-height: 1.08;
  letter-spacing: 0;
}

.iapr-form-header p:last-child {
  margin: 10px 0 0;
  color: #64716b;
  font-size: 14px;
  line-height: 1.5;
}

.iapr-score-header {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 26px 18px;
}

.iapr-score-header h2 {
  margin: 0;
  color: #18201d;
  font-size: 42px;
  line-height: 1;
}

.iapr-score-ring {
  width: 76px;
  height: 76px;
  border: 8px solid #d7eee7;
  border-right-color: #2f6f68;
  border-bottom-color: #b35a1b;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #18201d;
  font-size: 15px;
  font-weight: 800;
}

.iapr-score-ring--large {
  width: 124px;
  height: 124px;
  border-width: 12px;
  font-size: 24px;
  box-shadow: inset 0 0 0 1px rgba(24, 32, 29, 0.06);
}

.iapr-score-bar {
  height: 10px;
  background: #eef1ea;
}

.iapr-score-bar span {
  display: block;
  height: 100%;
  background: #2f6f68;
  transition: width 0.18s ease;
}

.iapr-tier {
  padding: 18px 26px 20px;
  border-bottom: 1px solid rgba(24, 32, 29, 0.08);
  background: #f8fbf8;
}

.iapr-tier-title {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #2f6f68;
}

.iapr-tier p {
  margin: 8px 0 0;
  color: #52605a;
  font-size: 14px;
  line-height: 1.55;
}

.iapr-tier .iapr-blockers {
  color: #9a4215;
  font-weight: 700;
}

.iapr-score-rows {
  display: grid;
}

.iapr-score-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 15px 18px;
  border-bottom: 1px solid rgba(24, 32, 29, 0.08);
}

.iapr-score-row-copy {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 12px;
  color: #2f6f68;
}

.iapr-score-row h3 {
  margin: 0;
  color: #18201d;
  font-size: 15px;
}

.iapr-score-row p {
  margin: 5px 0 0;
  color: #64716b;
  font-size: 12px;
  line-height: 1.45;
}

.iapr-segmented {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: 204px;
  border: 1px solid rgba(24, 32, 29, 0.12);
  border-radius: 8px;
  overflow: hidden;
  background: #f4f3ee;
}

.iapr-segmented button {
  min-height: 34px;
  border: 0;
  border-right: 1px solid rgba(24, 32, 29, 0.1);
  background: transparent;
  color: #52605a;
  font: inherit;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}

.iapr-segmented button:last-child {
  border-right: 0;
}

.iapr-segmented button.active {
  background: #18201d;
  color: #ffffff;
}

.iapr-reset {
  width: 100%;
  min-height: 46px;
  border: 0;
  background: #ffffff;
  color: #52605a;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.iapr-band {
  padding: 68px 36px;
  border-top: 1px solid rgba(24, 32, 29, 0.08);
}

.iapr-section-heading {
  max-width: 1180px;
  margin: 0 auto 32px;
}

.iapr-section-heading h2 {
  max-width: 860px;
  font-size: 38px;
  line-height: 1.1;
}

.iapr-signals {
  background: #ffffff;
}

.iapr-signal-grid,
.iapr-evidence-grid,
.iapr-kinro-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  max-width: 1180px;
  margin: 0 auto;
}

.iapr-signal-card,
.iapr-evidence-item,
.iapr-claim-list article,
.iapr-source-row,
.iapr-kinro-grid > div,
.iapr-kinro-cta {
  border: 1px solid rgba(24, 32, 29, 0.1);
  border-radius: 8px;
  background: #ffffff;
}

.iapr-signal-card {
  min-height: 232px;
  padding: 22px;
  text-decoration: none;
}

.iapr-signal-stat {
  display: block;
  margin-bottom: 12px;
  color: #b35a1b;
  font-size: 42px;
  font-weight: 800;
  line-height: 1;
}

.iapr-signal-card strong,
.iapr-evidence-item h3,
.iapr-ladder-step h3,
.iapr-kinro-grid h3,
.iapr-claim-list h3 {
  display: block;
  margin: 0;
  color: #18201d;
  font-size: 17px;
}

.iapr-signal-card p,
.iapr-evidence-item p,
.iapr-ladder-step p,
.iapr-kinro-grid p,
.iapr-claim-list p,
.iapr-source-row p {
  margin: 10px 0 0;
  color: #5f6b65;
  font-size: 14px;
  line-height: 1.55;
}

.iapr-source-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  color: #3568a6;
  font-size: 12px;
  font-weight: 800;
}

.iapr-ladder {
  background: #edf5f3;
}

.iapr-ladder-list {
  display: grid;
  gap: 14px;
  max-width: 1180px;
  margin: 0 auto;
}

.iapr-ladder-step {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 22px;
  border: 1px solid rgba(24, 32, 29, 0.1);
  border-radius: 8px;
  background: #ffffff;
}

.iapr-step-index {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #2f6f68;
  color: #ffffff;
  font-weight: 800;
}

.iapr-owner {
  color: #2f6f68 !important;
  font-size: 12px !important;
  font-weight: 800;
  text-transform: uppercase;
}

.iapr-ladder-step strong {
  display: block;
  margin-top: 10px;
  color: #18201d;
  font-size: 14px;
  line-height: 1.5;
}

.iapr-evidence {
  background: #f7fbfa;
}

.iapr-evidence-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.iapr-evidence-item {
  min-height: 208px;
  padding: 22px;
  color: #2f6f68;
}

.iapr-evidence-item span {
  display: inline-flex;
  margin-top: 14px;
  padding: 5px 8px;
  border-radius: 999px;
  background: #fff4e8;
  color: #9a4215;
  font-size: 11px;
  font-weight: 800;
}

.iapr-kinro {
  background: #ffffff;
}

.iapr-kinro-grid {
  grid-template-columns: 1fr 1fr minmax(240px, 0.8fr);
  align-items: stretch;
}

.iapr-kinro-grid > div {
  padding: 22px;
}

.iapr-kinro-cta {
  min-height: 100%;
  padding: 22px;
  background: #18201d;
  color: #ffffff;
  font-size: 16px;
  font-weight: 800;
  text-decoration: none;
}

.iapr-method {
  background: #edf5f3;
}

.iapr-claim-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  max-width: 1180px;
  margin: 0 auto;
}

.iapr-claim-list article {
  padding: 22px;
}

.iapr-sources {
  background: #f7fbfa;
}

.iapr-source-table {
  display: grid;
  max-width: 1180px;
  margin: 0 auto;
  border-top: 1px solid rgba(24, 32, 29, 0.12);
}

.iapr-source-row {
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) minmax(0, 1.2fr) 24px;
  gap: 18px;
  align-items: center;
  padding: 18px 0;
  border: 0;
  border-bottom: 1px solid rgba(24, 32, 29, 0.12);
  border-radius: 0;
  background: transparent;
  text-decoration: none;
}

.iapr-source-row strong {
  display: block;
  color: #18201d;
  font-size: 14px;
}

.iapr-source-row span {
  display: block;
  margin-top: 5px;
  color: #2f6f68;
  font-size: 12px;
  font-weight: 800;
}

@media (max-width: 1100px) {
  .iapr-hero {
    grid-template-columns: 1fr;
  }

  .iapr-score-shell {
    position: static;
  }

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

  .iapr-kinro-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .iapr-nav {
    padding: 14px 18px;
  }

  .iapr-hero {
    padding: 42px 18px 36px;
  }

  .iapr-hero h1 {
    font-size: 38px;
  }

  .iapr-live-score-top {
    padding: 22px;
  }

  .iapr-score-big span:first-child {
    font-size: 72px;
  }

  .iapr-score-big span:last-child {
    font-size: 26px;
  }

  .iapr-score-ring--large {
    width: 94px;
    height: 94px;
    border-width: 10px;
    font-size: 18px;
  }

  .iapr-score-metrics div {
    padding: 14px 16px;
  }

  .iapr-section-heading h2 {
    font-size: 30px;
  }

  .iapr-lede,
  .iapr-section-heading p {
    font-size: 15px;
  }

  .iapr-score-header,
  .iapr-tier,
  .iapr-score-row {
    padding-left: 18px;
    padding-right: 18px;
  }

  .iapr-score-row {
    grid-template-columns: 1fr;
  }

  .iapr-segmented {
    width: 100%;
  }

  .iapr-band {
    padding: 48px 18px;
  }

  .iapr-signal-grid,
  .iapr-evidence-grid,
  .iapr-claim-list {
    grid-template-columns: 1fr;
  }

  .iapr-source-row {
    grid-template-columns: 1fr 24px;
  }

  .iapr-source-row p {
    grid-column: 1 / -1;
  }
}
