:root {
  --navy: #162f46;
  --navy-deep: #102436;
  --navy-soft: #29475f;
  --yellow: #f3c341;
  --yellow-soft: #fff1b8;
  --paper: #f5f2ea;
  --surface: #ffffff;
  --surface-soft: #faf8f3;
  --ink: #17222c;
  --muted: #64707b;
  --line: #dcd8cf;
  --line-dark: #c5c0b5;
  --green: #31735a;
  --amber: #b86d13;
  --red: #a84232;
  --shadow: 0 22px 70px rgba(22, 47, 70, 0.12);
  --shadow-small: 0 10px 30px rgba(22, 47, 70, 0.08);
  --radius-large: 28px;
  --radius: 18px;
  --radius-small: 12px;
  --container: 1160px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
  -webkit-text-size-adjust: 100%;
}

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

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: var(--navy);
  text-underline-offset: 3px;
}

img,
svg {
  max-width: 100%;
}

[hidden] {
  display: none !important;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: #fff;
  background: var(--navy-deep);
  border-radius: 8px;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid #d89b00;
  outline-offset: 3px;
}

.site-header {
  position: relative;
  z-index: 20;
  color: #fff;
  background: var(--navy);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.header-inner {
  position: relative;
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: #fff;
  text-decoration: none;
  line-height: 1.2;
}

.brand-mark {
  width: 45px;
  height: 45px;
  display: grid;
  place-items: center;
  color: var(--navy);
  background: var(--yellow);
  border-radius: 12px;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: -0.4px;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 17px;
  letter-spacing: 0.02em;
}

.brand small {
  margin-top: 3px;
  color: #bdcad5;
  font-size: 12px;
  font-weight: 600;
}

.header-badge {
  padding: 7px 12px;
  color: #f9e7a0;
  border: 1px solid rgba(243, 195, 65, 0.38);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

.site-navigation {
  display: flex;
  align-items: center;
  gap: 9px;
}

.site-navigation a {
  min-height: 43px;
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  color: #e8eff4;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.site-navigation a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.site-navigation .shop-link {
  color: var(--navy-deep);
  background: var(--yellow);
}

.site-navigation .shop-link:hover {
  color: var(--navy-deep);
  background: #ffd45c;
}

.nav-toggle {
  min-width: 84px;
  min-height: 43px;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 8px 12px;
  color: #fff;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 10px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 800;
}

.nav-toggle-icon,
.nav-toggle-icon::before,
.nav-toggle-icon::after {
  width: 19px;
  height: 2px;
  display: block;
  background: currentcolor;
  border-radius: 999px;
}

.nav-toggle-icon {
  position: relative;
}

.nav-toggle-icon::before,
.nav-toggle-icon::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-icon::before {
  top: -6px;
}

.nav-toggle-icon::after {
  top: 6px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon::after {
  top: 0;
  transform: rotate(-45deg);
}

.test-ribbon {
  color: #cfdae3;
  background: var(--navy-deep);
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.test-ribbon-inner {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 12px;
  font-weight: 750;
}

.test-ribbon .header-badge {
  padding-block: 4px;
  font-size: 11px;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 84px 0 92px;
  background:
    radial-gradient(circle at 77% 25%, rgba(243, 195, 65, 0.18), transparent 27%),
    linear-gradient(155deg, #f8f6f0 0%, #f1eee5 100%);
}

.hero::after {
  content: "";
  position: absolute;
  right: -190px;
  bottom: -330px;
  width: 670px;
  height: 670px;
  border: 1px solid rgba(22, 47, 70, 0.1);
  border-radius: 50%;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
  align-items: center;
  gap: 72px;
}

.eyebrow {
  margin: 0 0 10px;
  color: #785800;
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1,
h2,
h3 {
  margin-top: 0;
  color: var(--navy-deep);
  line-height: 1.15;
  letter-spacing: -0.025em;
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(42px, 5.2vw, 70px);
}

h2 {
  margin-bottom: 17px;
  font-size: clamp(29px, 3.3vw, 44px);
}

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

.hero-lead {
  max-width: 720px;
  margin: 0;
  color: #394a58;
  font-size: 21px;
  line-height: 1.55;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 28px 0 26px;
}

.meta-row span {
  padding: 6px 12px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 750;
}

.hero-benefits {
  display: grid;
  gap: 10px;
  margin: 0 0 32px;
  padding: 0;
  list-style: none;
}

.hero-benefits li {
  position: relative;
  padding-left: 31px;
}

.hero-benefits li::before {
  content: "✓";
  position: absolute;
  top: 0;
  left: 0;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  color: var(--navy);
  background: var(--yellow);
  border-radius: 50%;
  font-size: 13px;
  font-weight: 900;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border: 1px solid transparent;
  border-radius: 12px;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  font-weight: 800;
  line-height: 1.3;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background-color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button:active {
  transform: translateY(0);
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
  transform: none;
}

.button-primary {
  color: var(--navy-deep);
  background: var(--yellow);
  border-color: #d8a71f;
  box-shadow: 0 10px 26px rgba(183, 126, 0, 0.16);
}

.button-primary:hover {
  background: #ffd45c;
}

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

.button-secondary:hover {
  background: #f7f5f0;
}

.button-quiet {
  color: var(--navy);
  background: transparent;
  border-color: transparent;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.button-dark {
  color: #fff;
  background: var(--navy-deep);
}

.button-dark:hover {
  background: #24445e;
}

.button-large {
  min-height: 58px;
  padding: 15px 25px;
  font-size: 17px;
}

.privacy-note {
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.profile-preview {
  position: relative;
  padding: 30px;
  color: #fff;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.04), transparent 60%),
    var(--navy);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius-large);
  box-shadow: var(--shadow);
}

.profile-preview::before {
  content: "";
  position: absolute;
  top: -11px;
  right: 28px;
  width: 86px;
  height: 22px;
  background: var(--yellow);
  border-radius: 5px;
  transform: rotate(2deg);
}

.preview-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.preview-label {
  color: #c6d2dc;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.preview-score {
  color: var(--yellow);
  font-size: 13px;
  font-weight: 850;
}

.preview-list {
  display: grid;
  gap: 0;
  margin: 12px 0;
  padding: 0;
  list-style: none;
}

.preview-list li {
  display: grid;
  grid-template-columns: 33px 1fr;
  gap: 10px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.35;
}

.preview-list li span {
  color: var(--yellow);
  font-size: 12px;
  font-weight: 850;
}

.preview-footer {
  margin: 18px 0 0;
  color: #aebdca;
  font-size: 13px;
}

.intro-content {
  padding-top: 90px;
  padding-bottom: 90px;
}

.content-section {
  padding: 0 0 92px;
}

.content-section + .content-section {
  padding-top: 6px;
}

.section-lead {
  max-width: 830px;
  margin: 0;
  color: #455664;
  font-size: 19px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 35px;
}

.feature-grid article {
  padding: 27px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-small);
}

.feature-grid article p {
  margin: 0;
  color: var(--muted);
}

.feature-number {
  display: block;
  margin-bottom: 18px;
  color: #927000;
  font-size: 14px;
  font-weight: 900;
}

.data-safety-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(340px, 1.15fr);
  gap: 58px;
  margin-bottom: 92px;
  padding: 42px 46px;
  background: var(--yellow-soft);
  border: 1px solid #ddc467;
  border-radius: var(--radius-large);
}

.data-safety-section h2 {
  margin-bottom: 12px;
  font-size: clamp(28px, 3vw, 39px);
}

.data-safety-section p:not(.eyebrow) {
  margin: 0;
  color: #5d5134;
}

.safety-list {
  display: grid;
  align-content: center;
  gap: 11px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.safety-list li {
  position: relative;
  padding: 12px 15px 12px 48px;
  color: #364653;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(96, 76, 22, 0.18);
  border-radius: 11px;
  font-size: 14px;
  font-weight: 700;
}

.safety-list li::before {
  content: "✓";
  position: absolute;
  top: 11px;
  left: 14px;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--green);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 900;
}

.framework-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  gap: 72px;
  padding: 55px;
  background: var(--navy);
  border-radius: var(--radius-large);
  box-shadow: var(--shadow);
}

.framework-section h2 {
  color: #fff;
}

.framework-section .eyebrow {
  color: var(--yellow);
}

.framework-copy {
  color: #d7e0e7;
}

.framework-copy p {
  margin: 0 0 17px;
}

.framework-copy p:last-child {
  margin-bottom: 0;
}

.faq-section {
  padding-top: 95px !important;
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 900px;
  margin-top: 30px;
}

.faq-list details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
}

.faq-list summary {
  position: relative;
  padding: 19px 55px 19px 21px;
  cursor: pointer;
  color: var(--navy-deep);
  font-weight: 800;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 21px;
  color: #8a6500;
  font-size: 25px;
  transform: translateY(-50%);
}

.faq-list details[open] summary::after {
  content: "–";
}

.faq-list details p {
  margin: 0;
  padding: 0 21px 20px;
  color: var(--muted);
}

.sources-section {
  padding-top: 35px;
  border-top: 1px solid var(--line);
}

.sources-section h2 {
  font-size: 22px;
}

.sources-section ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding-left: 21px;
  font-size: 14px;
}

.test-view {
  min-height: calc(100vh - 82px);
  padding: 62px 0 90px;
  background:
    radial-gradient(circle at 50% 0%, rgba(243, 195, 65, 0.13), transparent 26%),
    var(--paper);
}

.test-container {
  max-width: 900px;
}

.test-shell {
  padding: clamp(25px, 5vw, 52px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-large);
  box-shadow: var(--shadow);
}

.progress-heading {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 9px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.progress-track {
  height: 8px;
  overflow: hidden;
  background: #e8e4da;
  border-radius: 999px;
}

.progress-track span {
  width: 0;
  height: 100%;
  display: block;
  background: linear-gradient(90deg, #d9a91f, var(--yellow));
  border-radius: inherit;
  transition: width 230ms ease;
}

.question-context {
  display: grid;
  grid-template-columns: 46px 1fr;
  align-items: center;
  gap: 14px;
  margin: 30px 0 35px;
  padding: 14px 16px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
}

.question-context p {
  margin: 0;
  color: #52616d;
  font-size: 14px;
  line-height: 1.45;
}

.context-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--navy);
  background: var(--yellow);
  border-radius: 10px;
  font-size: 13px;
  font-weight: 900;
}

fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

legend {
  width: 100%;
  display: block;
  margin: 0 0 30px;
  color: var(--navy-deep);
  font-size: clamp(25px, 3.2vw, 35px);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.scale-options {
  display: grid;
  gap: 10px;
}

.scale-option {
  position: relative;
  display: grid;
  grid-template-columns: 43px 1fr;
  align-items: center;
  gap: 13px;
  min-height: 58px;
  padding: 8px 15px 8px 9px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 13px;
  cursor: pointer;
  transition:
    border-color 150ms ease,
    background-color 150ms ease,
    transform 150ms ease;
}

.scale-option:hover {
  background: #fffbef;
  border-color: #c8ac5c;
  transform: translateX(2px);
}

.scale-option:has(input:checked) {
  background: var(--yellow-soft);
  border-color: #bd900f;
  box-shadow: 0 0 0 1px #d9ad30;
}

.scale-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

.scale-option:has(input:focus-visible) {
  outline: 3px solid #d89b00;
  outline-offset: 3px;
}

.scale-number {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: var(--navy);
  background: #f0ede5;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 900;
}

.scale-option:has(input:checked) .scale-number {
  color: #fff;
  background: var(--navy);
}

.scale-label {
  color: #2e3f4c;
  font-weight: 750;
}

.form-alert {
  margin: 17px 0 0;
  padding: 10px 13px;
  color: #7e271d;
  background: #fff0ed;
  border: 1px solid #e4b1a9;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 700;
}

.test-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 30px;
}

.test-actions .button {
  min-width: 120px;
}

.keyboard-tip {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

.result-view {
  padding: 67px 0 95px;
  background:
    linear-gradient(180deg, #ece8de 0, var(--paper) 420px);
}

.result-container {
  max-width: 1040px;
}

.result-header {
  max-width: 800px;
  margin: 0 auto 36px;
  text-align: center;
}

.result-header h1 {
  margin-bottom: 12px;
  font-size: clamp(36px, 5vw, 58px);
}

.result-date {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.result-summary {
  display: grid;
  grid-template-columns: 300px 1fr;
  align-items: center;
  gap: 58px;
  padding: 46px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-large);
  box-shadow: var(--shadow);
}

.result-gauge {
  --score: 0;
  --zone-color: var(--green);
  width: 268px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  padding: 28px;
  background:
    conic-gradient(
      var(--zone-color) calc(var(--score) * 3.6deg),
      #e5e2da 0
    );
  border-radius: 50%;
}

.result-gauge[data-zone="building"] {
  --zone-color: #7d862e;
}

.result-gauge[data-zone="elevated"] {
  --zone-color: #c4871e;
}

.result-gauge[data-zone="high"] {
  --zone-color: #c55e2b;
}

.result-gauge[data-zone="veryHigh"] {
  --zone-color: var(--red);
}

.gauge-inner {
  width: 100%;
  height: 100%;
  display: grid;
  place-content: center;
  text-align: center;
  background: #fff;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(22, 47, 70, 0.07);
}

.gauge-inner strong {
  display: block;
  color: var(--navy-deep);
  font-size: 60px;
  line-height: 1;
  letter-spacing: -0.06em;
}

.gauge-inner strong small {
  margin-left: 5px;
  color: var(--muted);
  font-size: 19px;
  letter-spacing: 0;
}

.gauge-inner > span {
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.result-kicker {
  margin: 0 0 7px;
  color: #745600;
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.result-summary-copy h2 {
  margin-bottom: 14px;
}

.result-lead {
  margin: 0;
  color: #465764;
  font-size: 18px;
}

.next-step-box {
  margin-top: 22px;
  padding: 17px 19px;
  background: #fffae9;
  border-left: 5px solid var(--yellow);
  border-radius: 6px 12px 12px 6px;
}

.next-step-box strong {
  color: var(--navy-deep);
}

.next-step-box p {
  margin: 4px 0 0;
  color: #4c5963;
  font-size: 15px;
}

.summary-indices {
  margin-top: 20px;
  padding: 30px;
  background: #f9f7f1;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.summary-indices-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 25px;
  margin-bottom: 21px;
}

.summary-indices-heading h2 {
  margin-bottom: 0;
  font-size: 30px;
}

.summary-indices-heading > p {
  max-width: 310px;
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 13px;
  text-align: right;
}

.summary-index-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

.summary-index-card {
  padding: 21px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
}

.summary-index-title {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 15px;
}

.summary-index-title h3 {
  margin: 0;
  font-size: 19px;
}

.summary-index-title strong {
  color: var(--navy);
  font-size: 18px;
  white-space: nowrap;
}

.summary-index-bar {
  height: 9px;
  overflow: hidden;
  margin: 16px 0 13px;
  background: #e8e5dd;
  border-radius: 999px;
}

.summary-index-bar span {
  width: 0;
  height: 100%;
  display: block;
  background: var(--green);
  border-radius: inherit;
}

.summary-index-card[data-band="medium"] .summary-index-bar span {
  background: var(--amber);
}

.summary-index-card[data-band="high"] .summary-index-bar span {
  background: var(--red);
}

.summary-index-card > p {
  margin: 0;
  color: #52616d;
  font-size: 14px;
}

.summary-index-note {
  margin: 15px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.insight-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 20px;
}

.insight-card {
  padding: 29px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.insight-primary {
  border-top: 5px solid var(--yellow);
}

.insight-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 15px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.insight-heading strong {
  color: var(--navy);
  font-size: 17px;
}

.insight-card h2 {
  font-size: 27px;
}

.insight-card p {
  margin: 0;
  color: #52616d;
}

.warning-box {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 19px;
  margin-top: 25px;
  padding: 28px;
  color: #542b24;
  background: #fff1ed;
  border: 1px solid #dcaaa0;
  border-left: 6px solid var(--red);
  border-radius: var(--radius);
}

.warning-icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--red);
  border-radius: 50%;
  font-size: 24px;
  font-weight: 900;
}

.warning-box .eyebrow {
  color: #8d3528;
}

.warning-box h2 {
  margin-bottom: 13px;
  font-size: 27px;
}

.warning-box ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding-left: 21px;
}

.warning-note {
  margin: 15px 0 0;
  padding-top: 13px;
  color: #6f4a43;
  border-top: 1px solid #e1bbb3;
  font-size: 13px;
}

.result-section {
  margin-top: 66px;
}

.section-heading-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 23px;
}

.section-heading-row h2 {
  margin-bottom: 0;
}

.section-heading-row > p {
  max-width: 330px;
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 14px;
  text-align: right;
}

.dimension-results {
  display: grid;
  gap: 13px;
}

.dimension-card {
  padding: 24px 25px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 5px solid var(--green);
  border-radius: var(--radius-small);
}

.dimension-card.dimension-medium {
  border-left-color: var(--amber);
}

.dimension-card.dimension-high {
  border-left-color: var(--red);
}

.dimension-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 20px;
}

.dimension-heading h3 {
  margin: 3px 0 0;
}

.dimension-heading > strong {
  color: var(--navy);
  font-size: 19px;
  white-space: nowrap;
}

.dimension-rank {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.dimension-bar {
  height: 9px;
  overflow: hidden;
  margin: 17px 0 13px;
  background: #e8e5dd;
  border-radius: 999px;
}

.dimension-bar span {
  height: 100%;
  display: block;
  background: var(--green);
  border-radius: inherit;
}

.dimension-medium .dimension-bar span {
  background: var(--amber);
}

.dimension-high .dimension-bar span {
  background: var(--red);
}

.dimension-card > p {
  margin: 0;
  color: #52616d;
  font-size: 15px;
}

.least-section {
  padding: 31px;
  background: #eef7f1;
  border: 1px solid #bed8c7;
  border-radius: var(--radius);
}

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

.least-section > p:not(.eyebrow) {
  margin: 0 0 10px;
  color: #3f5b4b;
}

.least-section small {
  color: #5c7164;
}

.action-section {
  padding: 38px;
  color: #fff;
  background: var(--navy);
  border-radius: var(--radius-large);
  box-shadow: var(--shadow-small);
}

.action-section .eyebrow {
  color: var(--yellow);
}

.action-section h2 {
  color: #fff;
}

.action-list {
  display: grid;
  gap: 14px;
  margin: 25px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: action;
}

.action-list li {
  position: relative;
  min-height: 58px;
  display: flex;
  align-items: center;
  padding: 12px 14px 12px 65px;
  color: #e4ebf0;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 12px;
  counter-increment: action;
}

.action-list li::before {
  content: counter(action);
  position: absolute;
  left: 13px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: var(--navy);
  background: var(--yellow);
  border-radius: 9px;
  font-weight: 900;
}

.control-plan-section {
  padding: 39px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-large);
  box-shadow: var(--shadow-small);
}

.control-plan-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.control-plan-list li {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 17px;
  padding: 21px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
}

.control-plan-period {
  height: fit-content;
  display: inline-flex;
  justify-content: center;
  padding: 6px 9px;
  color: var(--navy-deep);
  background: var(--yellow);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.control-plan-list h3 {
  margin-bottom: 7px;
  font-size: 19px;
}

.control-plan-list p {
  margin: 0;
  color: #465765;
  font-size: 14px;
}

.control-plan-list small {
  display: block;
  margin-top: 11px;
  padding-top: 10px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 12px;
  line-height: 1.5;
}

.quality-box {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 19px;
  margin-top: 25px;
  padding: 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.quality-icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--green);
  border-radius: 50%;
  font-size: 23px;
  font-weight: 900;
}

.quality-box[data-quality="caution"] .quality-icon {
  background: var(--amber);
}

.quality-box[data-quality="weak"] .quality-icon {
  background: var(--red);
}

.quality-box h2 {
  margin-bottom: 7px;
  font-size: 26px;
}

.quality-box p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
}

.quality-box ul {
  margin: 12px 0 0;
  padding-left: 20px;
  color: #5c4a3e;
  font-size: 14px;
}

.result-disclaimer {
  margin-top: 24px;
  padding: 21px 24px;
  color: #4d5860;
  background: #edeae2;
  border: 1px solid #d5d0c5;
  border-radius: var(--radius-small);
  font-size: 14px;
}

.result-disclaimer strong {
  color: var(--navy-deep);
}

.result-disclaimer p {
  margin: 4px 0 0;
}

.print-disclaimer {
  display: none;
}

.result-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 31px;
}

.action-status {
  min-height: 26px;
  margin: 10px 0 0;
  color: var(--green);
  font-size: 14px;
  font-weight: 750;
  text-align: center;
}

.author-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-top: 72px;
  padding: 35px 39px;
  background: var(--yellow);
  border: 1px solid #d4a61e;
  border-radius: var(--radius-large);
}

.author-cta h2 {
  margin-bottom: 4px;
  font-size: 34px;
}

.author-cta p:not(.eyebrow) {
  margin: 0;
  color: #4c4431;
}

.author-cta .eyebrow {
  color: #655000;
}

.methodology-hero {
  padding: 78px 0 84px;
  background:
    radial-gradient(circle at 82% 18%, rgba(243, 195, 65, 0.2), transparent 29%),
    linear-gradient(155deg, #f8f6f0 0%, #efebe1 100%);
  border-bottom: 1px solid var(--line);
}

.methodology-hero-inner {
  max-width: 900px;
}

.methodology-hero h1 {
  max-width: 820px;
}

.methodology-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  align-items: start;
  gap: 58px;
  padding-top: 76px;
  padding-bottom: 100px;
}

.methodology-toc {
  position: sticky;
  top: 24px;
}

.methodology-toc nav {
  display: grid;
  gap: 3px;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-small);
}

.methodology-toc strong {
  margin-bottom: 8px;
  color: var(--navy-deep);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.methodology-toc a {
  padding: 7px 9px;
  color: #40515e;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.methodology-toc a:hover {
  color: var(--navy-deep);
  background: var(--surface-soft);
}

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

.methodology-section {
  margin-bottom: 24px;
  padding: clamp(28px, 5vw, 50px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-large);
  box-shadow: var(--shadow-small);
  scroll-margin-top: 25px;
}

.methodology-section h2 {
  margin-bottom: 18px;
}

.methodology-section h3 {
  margin-top: 34px;
  font-size: 23px;
}

.methodology-section > p:not(.eyebrow, .method-note, .version-note) {
  color: #40515e;
}

.methodology-section > p:last-child {
  margin-bottom: 0;
}

.methodology-callout,
.method-note {
  padding: 19px 21px;
  color: #4b4b3d;
  background: var(--yellow-soft);
  border: 1px solid #dec76d;
  border-radius: var(--radius-small);
}

.methodology-callout {
  margin-top: 28px;
}

.methodology-callout p {
  margin: 4px 0 0;
}

.method-note {
  margin: 24px 0 0;
  font-size: 14px;
}

.method-dimension-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
  margin-top: 27px;
}

.method-dimension-grid article {
  padding: 22px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
}

.method-dimension-grid article:last-child {
  grid-column: 1 / -1;
}

.method-dimension-grid span {
  display: block;
  margin-bottom: 10px;
  color: #8a6805;
  font-size: 12px;
  font-weight: 900;
}

.method-dimension-grid h3 {
  margin: 0 0 8px;
  font-size: 19px;
}

.method-dimension-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.formula-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 27px 0 38px;
}

.formula-grid > div {
  padding: 19px;
  background: var(--navy);
  border-radius: var(--radius-small);
}

.formula-grid strong,
.formula-grid code {
  display: block;
}

.formula-grid strong {
  margin-bottom: 9px;
  color: var(--yellow);
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.formula-grid code {
  color: #fff;
  font-size: 13px;
  line-height: 1.55;
  white-space: normal;
}

.method-table-wrap {
  overflow-x: auto;
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
}

.method-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  font-size: 14px;
}

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

.method-table th {
  color: #fff;
  background: var(--navy);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.method-table tbody tr:last-child td {
  border-bottom: 0;
}

.method-table td:first-child {
  color: var(--navy-deep);
  font-weight: 900;
  white-space: nowrap;
}

.method-plan {
  display: grid;
  gap: 11px;
  margin: 25px 0;
  padding: 0;
  list-style: none;
  counter-reset: method-plan;
}

.method-plan li {
  position: relative;
  padding: 16px 18px 16px 58px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 11px;
  counter-increment: method-plan;
}

.method-plan li::before {
  content: counter(method-plan);
  position: absolute;
  top: 13px;
  left: 14px;
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  color: var(--navy-deep);
  background: var(--yellow);
  border-radius: 8px;
  font-weight: 900;
}

.security-method-section {
  color: #fff;
  background: var(--navy);
  border-color: rgba(255, 255, 255, 0.1);
}

.security-method-section h2 {
  color: #fff;
}

.security-method-section .eyebrow {
  color: var(--yellow);
}

.security-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
  margin-top: 26px;
}

.security-facts article {
  padding: 20px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius-small);
}

.security-facts strong {
  color: var(--yellow);
}

.security-facts p {
  margin: 5px 0 0;
  color: #d8e1e8;
  font-size: 14px;
}

.security-method-section .method-note {
  color: #e7edf2;
  background: rgba(0, 0, 0, 0.16);
  border-color: rgba(255, 255, 255, 0.16);
}

.methodology-sources ol {
  display: grid;
  gap: 10px;
  padding-left: 23px;
}

.methodology-sources li {
  padding-left: 5px;
  color: var(--muted);
  font-size: 14px;
}

.methodology-sources a {
  color: var(--navy);
  font-weight: 700;
}

.version-note {
  margin: 30px 0 0;
  padding-top: 18px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 13px;
}

.methodology-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: 44px;
  padding: 34px 38px;
  background: var(--yellow);
  border: 1px solid #d4a61e;
  border-radius: var(--radius-large);
}

.methodology-cta h2 {
  margin-bottom: 5px;
  font-size: 31px;
}

.methodology-cta p:not(.eyebrow) {
  margin: 0;
  color: #4c4431;
}

.methodology-cta .eyebrow {
  color: #655000;
}

.site-footer {
  padding: 55px 0 23px;
  color: #c6d2dc;
  background: var(--navy-deep);
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(260px, 1.15fr) minmax(235px, 0.9fr) minmax(185px, 0.7fr);
  align-items: start;
  gap: clamp(34px, 6vw, 78px);
}

.footer-brand > p {
  max-width: 370px;
  margin: 21px 0 0;
  color: #aebdca;
  font-size: 14px;
}

.footer-main h2 {
  margin-bottom: 15px;
  color: #fff;
  font-size: 15px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.footer-contact address {
  display: grid;
  gap: 5px;
  color: #b9c6d0;
  font-size: 13px;
  font-style: normal;
}

.footer-contact address strong {
  color: #fff;
}

.footer-contact address a,
.footer-navigation a {
  color: #e6edf2;
  text-underline-offset: 4px;
}

.footer-contact address a:first-of-type {
  margin-top: 6px;
}

.footer-navigation {
  display: grid;
  justify-items: start;
  gap: 8px;
}

.footer-navigation a {
  font-size: 13px;
}

.footer-bottom {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 30px;
  margin-top: 42px;
  padding-top: 19px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom p {
  margin: 0;
  color: #91a4b3;
  font-size: 11px;
}

.footer-bottom p:last-child {
  max-width: 480px;
  text-align: right;
}

.noscript-message {
  position: fixed;
  z-index: 100;
  right: 20px;
  bottom: 20px;
  left: 20px;
  max-width: 720px;
  margin: auto;
  padding: 18px;
  color: #fff;
  background: #8b2e22;
  border-radius: 12px;
  box-shadow: var(--shadow);
  text-align: center;
  font-weight: 750;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 55px;
  }

  .profile-preview {
    max-width: 620px;
  }

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

  .data-safety-section {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .framework-section {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .result-summary {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .result-gauge {
    margin-inline: auto;
  }

  .methodology-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .methodology-toc {
    position: static;
  }

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

  .methodology-toc strong {
    grid-column: 1 / -1;
  }

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

  .footer-main {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 700px) {
  body {
    font-size: 16px;
  }

  .container {
    width: min(calc(100% - 26px), var(--container));
  }

  .header-inner {
    min-height: 72px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-navigation {
    position: absolute;
    z-index: 30;
    top: calc(100% - 5px);
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
    background: var(--navy-deep);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    box-shadow: 0 18px 38px rgba(3, 16, 27, 0.35);
  }

  .site-navigation.is-open {
    display: flex;
  }

  .site-navigation a {
    width: 100%;
    justify-content: center;
  }

  .test-ribbon-inner {
    min-height: 38px;
    gap: 10px;
    font-size: 10px;
  }

  .test-ribbon .header-badge {
    padding: 3px 8px;
    font-size: 9px;
  }

  .hero {
    padding: 56px 0 65px;
  }

  h1 {
    font-size: clamp(38px, 12vw, 53px);
  }

  .hero-lead {
    font-size: 18px;
  }

  .profile-preview {
    padding: 24px 20px;
  }

  .intro-content {
    padding-top: 65px;
    padding-bottom: 65px;
  }

  .content-section {
    padding-bottom: 66px;
  }

  .data-safety-section {
    margin-bottom: 66px;
    padding: 30px 22px;
  }

  .framework-section {
    padding: 31px 24px;
  }

  .faq-section {
    padding-top: 70px !important;
  }

  .test-view {
    padding: 20px 0 55px;
  }

  .test-shell {
    padding: 23px 18px 26px;
    border-radius: 18px;
  }

  .question-context {
    grid-template-columns: 1fr;
    margin: 23px 0 28px;
  }

  .context-icon {
    display: none;
  }

  legend {
    font-size: 25px;
  }

  .scale-option {
    min-height: 55px;
  }

  .test-actions .button {
    min-width: 105px;
    padding-inline: 15px;
  }

  .result-view {
    padding: 45px 0 65px;
  }

  .result-summary {
    padding: 28px 20px;
  }

  .result-gauge {
    width: min(245px, 84vw);
  }

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

  .summary-indices {
    padding: 24px 18px;
  }

  .summary-indices-heading {
    align-items: start;
    flex-direction: column;
    gap: 5px;
  }

  .summary-indices-heading > p {
    text-align: left;
  }

  .summary-index-grid {
    grid-template-columns: 1fr;
  }

  .warning-box {
    grid-template-columns: 1fr;
    padding: 24px 19px;
  }

  .warning-icon {
    width: 42px;
    height: 42px;
  }

  .section-heading-row {
    align-items: start;
    flex-direction: column;
    gap: 5px;
  }

  .section-heading-row > p {
    text-align: left;
  }

  .dimension-card {
    padding: 20px 18px;
  }

  .dimension-heading {
    gap: 12px;
  }

  .dimension-heading h3 {
    font-size: 19px;
  }

  .dimension-heading > strong {
    font-size: 16px;
  }

  .action-section {
    padding: 29px 20px;
  }

  .control-plan-section {
    padding: 29px 19px;
  }

  .control-plan-list {
    grid-template-columns: 1fr;
  }

  .control-plan-list li {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 18px;
  }

  .control-plan-period {
    justify-self: start;
  }

  .quality-box {
    grid-template-columns: 1fr;
  }

  .quality-icon {
    width: 42px;
    height: 42px;
  }

  .author-cta {
    align-items: stretch;
    flex-direction: column;
    padding: 29px 24px;
  }

  .author-cta .button {
    width: 100%;
  }

  .methodology-hero {
    padding: 55px 0 62px;
  }

  .methodology-layout {
    padding-top: 45px;
    padding-bottom: 65px;
  }

  .methodology-toc nav {
    grid-template-columns: 1fr;
  }

  .methodology-toc strong {
    grid-column: auto;
  }

  .methodology-section {
    padding: 29px 20px;
    border-radius: 18px;
  }

  .method-dimension-grid,
  .security-facts {
    grid-template-columns: 1fr;
  }

  .method-dimension-grid article:last-child {
    grid-column: auto;
  }

  .methodology-cta {
    align-items: stretch;
    flex-direction: column;
    padding: 29px 23px;
  }

  .methodology-cta .button {
    width: 100%;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
  }

  .footer-bottom p:last-child {
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media print {
  @page {
    size: A4;
    margin: 10mm;
  }

  :root {
    --shadow: none;
    --shadow-small: none;
  }

  body {
    color: #111;
    background: #fff;
    font-size: 10pt;
  }

  .site-header,
  .site-footer,
  .skip-link,
  .result-actions,
  .action-status,
  .author-cta,
  .result-disclaimer {
    display: none !important;
  }

  .print-disclaimer {
    display: block;
    margin-top: 6mm;
    padding-top: 4mm;
    color: #444;
    border-top: 1px solid #aaa;
    font-size: 8.5pt;
  }

  .print-disclaimer p {
    margin: 1mm 0 0;
  }

  .result-view {
    padding: 0;
    background: #fff;
  }

  .result-container {
    width: 100%;
    max-width: none;
  }

  .result-header {
    margin-bottom: 7mm;
  }

  .result-header h1 {
    font-size: 24pt;
  }

  .result-summary {
    grid-template-columns: 47mm 1fr;
    gap: 10mm;
    padding: 7mm;
    border: 1px solid #aaa;
    box-shadow: none;
    break-inside: avoid;
  }

  .result-gauge {
    width: 44mm;
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }

  .gauge-inner strong {
    font-size: 29pt;
  }

  .insight-grid,
  .dimension-results,
  .summary-index-grid {
    gap: 3mm;
  }

  .insight-card,
  .summary-indices,
  .summary-index-card,
  .warning-box,
  .dimension-card,
  .least-section,
  .quality-box,
  .action-section,
  .control-plan-list li {
    box-shadow: none;
    break-inside: avoid;
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }

  .summary-indices {
    margin-top: 5mm;
    padding: 5mm;
  }

  .summary-indices-heading {
    margin-bottom: 4mm;
  }

  .summary-indices-heading h2 {
    font-size: 17pt;
  }

  .summary-index-card {
    padding: 4mm;
  }

  .summary-index-title {
    gap: 2mm;
  }

  .summary-index-title h3 {
    font-size: 11.5pt;
    line-height: 1.15;
  }

  .summary-index-title strong {
    font-size: 10.5pt;
  }

  .summary-index-card > p,
  .summary-index-note {
    font-size: 8.5pt;
  }

  .warning-box {
    grid-template-columns: 11mm 1fr;
    gap: 4mm;
    margin-top: 5mm;
    padding: 5mm;
  }

  .warning-icon {
    width: 10mm;
    height: 10mm;
  }

  .warning-box h2 {
    font-size: 17pt;
  }

  .result-section {
    margin-top: 8mm;
  }

  .section-heading-row {
    break-after: avoid-page;
    break-inside: avoid;
  }

  .dimension-card {
    padding: 3mm 3.5mm;
  }

  .dimension-card > p {
    font-size: 8.5pt;
  }

  .dimension-bar {
    margin: 3mm 0 2mm;
  }

  .action-section {
    padding: 3mm;
    color: #111;
    background: #f2f2f2;
    border: 1px solid #999;
  }

  .action-section .eyebrow {
    margin-bottom: 1mm;
    font-size: 8pt;
  }

  .action-section h2 {
    margin-bottom: 2mm;
    font-size: 17pt;
  }

  .action-section h2,
  .action-list li {
    color: #111;
  }

  .action-list li {
    min-height: 0;
    padding: 2mm 2.5mm 2mm 13mm;
    background: #fff;
    border-color: #bbb;
    font-size: 8.5pt;
    line-height: 1.35;
  }

  .action-list {
    gap: 1.5mm;
    margin-top: 2mm;
  }

  .quality-box {
    gap: 3mm;
    margin-top: 4mm;
    padding: 4mm;
  }

  .quality-icon {
    width: 11mm;
    height: 11mm;
  }

  .quality-box h2 {
    font-size: 17pt;
  }

  .action-list li::before {
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }

  .control-plan-section {
    padding: 3mm;
    border: 1px solid #999;
    box-shadow: none;
    break-inside: avoid;
  }

  .control-plan-section .section-heading-row {
    margin-bottom: 2mm;
  }

  .control-plan-section .section-heading-row h2 {
    font-size: 16pt;
  }

  .control-plan-section .section-heading-row > p {
    max-width: 78mm;
    font-size: 7.5pt;
    line-height: 1.35;
  }

  .control-plan-list {
    grid-template-columns: 1fr 1fr;
    gap: 1.8mm;
  }

  .control-plan-list li {
    grid-template-columns: 22mm 1fr;
    gap: 2mm;
    padding: 2mm;
  }

  .control-plan-period {
    padding: 1mm 1.5mm;
    font-size: 7.5pt;
  }

  .control-plan-list h3 {
    margin-bottom: 1mm;
    font-size: 10pt;
  }

  .control-plan-list p {
    font-size: 8pt;
    line-height: 1.35;
  }

  .control-plan-list small {
    margin-top: 1.5mm;
    padding-top: 1.5mm;
    font-size: 7pt;
    line-height: 1.35;
  }

  .control-plan-period {
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }
}
