:root {
  color-scheme: dark;

  --color-background: #010712;
  --color-background-soft: #041020;
  --color-panel: rgba(7, 19, 38, 0.82);
  --color-panel-strong: rgba(8, 23, 48, 0.96);
  --color-panel-hover: rgba(11, 31, 61, 0.96);

  --color-text: #f7fbff;
  --color-text-soft: #c7d2e0;
  --color-text-muted: #8293a9;

  --color-cyan: #12d7ff;
  --color-cyan-soft: #7cecff;
  --color-blue: #1478ff;
  --color-purple: #6a35ff;
  --color-purple-soft: #9b7bff;

  --color-success: #36e59b;
  --color-warning: #ffcc66;
  --color-danger: #ff6f8c;

  --color-border: rgba(113, 190, 255, 0.18);
  --color-border-strong: rgba(18, 215, 255, 0.5);

  --shadow-card:
    0 24px 70px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);

  --shadow-glow:
    0 0 28px rgba(18, 215, 255, 0.17);

  --radius-small: 10px;
  --radius-medium: 18px;
  --radius-large: 26px;

  --page-width: 1220px;
  --header-height: 84px;

  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

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

html {
  min-height: 100%;
  scroll-behavior: smooth;
  background: var(--color-background);
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: var(--color-text);
  background:
    radial-gradient(
      circle at 84% 14%,
      rgba(79, 32, 255, 0.26),
      transparent 32%
    ),
    radial-gradient(
      circle at 12% 45%,
      rgba(0, 183, 255, 0.12),
      transparent 30%
    ),
    linear-gradient(
      135deg,
      #010611 0%,
      #020b18 48%,
      #07051c 100%
    );
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  pointer-events: none;
  opacity: 0.42;
  background-image:
    linear-gradient(
      rgba(24, 173, 255, 0.04) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(24, 173, 255, 0.04) 1px,
      transparent 1px
    );
  background-size: 72px 72px;
  mask-image:
    linear-gradient(
      to bottom,
      black,
      transparent 88%
    );
}

body::after {
  position: fixed;
  top: 90px;
  right: -220px;
  z-index: -1;
  width: 720px;
  height: 720px;
  content: "";
  pointer-events: none;
  border-radius: 50%;
  filter: blur(10px);
  background:
    radial-gradient(
      circle,
      rgba(65, 30, 255, 0.28) 0%,
      rgba(0, 180, 255, 0.12) 38%,
      transparent 70%
    );
}

button,
input,
textarea,
select {
  font: inherit;
}

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

button {
  color: inherit;
}

a {
  color: inherit;
}

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

[hidden] {
  display: none !important;
}

.site-shell {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 14px;
  color: #001018;
  background: var(--color-cyan);
  border-radius: var(--radius-small);
  font-weight: 800;
  transform: translateY(-160%);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: var(--header-height);
  border-bottom: 1px solid rgba(120, 200, 255, 0.1);
  background: rgba(1, 7, 18, 0.78);
  backdrop-filter: blur(18px);
}

.site-header__inner {
  display: flex;
  width: min(calc(100% - 40px), var(--page-width));
  min-height: var(--header-height);
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--color-text);
  text-decoration: none;
}

.brand__logo {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(77, 198, 255, 0.18);
  border-radius: 12px;
  box-shadow: 0 0 25px rgba(43, 90, 255, 0.18);
}

.brand__name {
  font-size: 0.92rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

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

.site-navigation__link {
  position: relative;
  padding: 10px 13px;
  color: var(--color-text-soft);
  border-radius: 10px;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 650;
  transition:
    color 160ms ease,
    background 160ms ease;
}

.site-navigation__link:hover,
.site-navigation__link:focus-visible {
  color: var(--color-text);
  background: rgba(255, 255, 255, 0.05);
}

.site-navigation__link.is-active {
  color: var(--color-cyan-soft);
  background: rgba(18, 215, 255, 0.09);
}

.site-navigation__link.is-active::after {
  position: absolute;
  right: 13px;
  bottom: 4px;
  left: 13px;
  height: 2px;
  content: "";
  border-radius: 999px;
  background:
    linear-gradient(
      90deg,
      var(--color-cyan),
      var(--color-purple)
    );
}

.audit-main {
  display: flex;
  width: min(calc(100% - 40px), var(--page-width));
  margin: 0 auto;
  padding: 68px 0 80px;
  flex: 1;
}

.app-screen {
  width: 100%;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--color-cyan-soft);
  font-size: 0.77rem;
  font-weight: 850;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.intro-layout {
  display: grid;
  min-height: calc(100vh - 240px);
  grid-template-columns:
    minmax(0, 1.18fr)
    minmax(340px, 0.82fr);
  align-items: center;
  gap: clamp(42px, 7vw, 96px);
}

.intro-content {
  position: relative;
}

.intro-content::before {
  position: absolute;
  top: -100px;
  left: -160px;
  z-index: -1;
  width: 460px;
  height: 460px;
  content: "";
  pointer-events: none;
  border-radius: 50%;
  background:
    radial-gradient(
      circle,
      rgba(0, 194, 255, 0.13),
      transparent 68%
    );
}

.intro-content h1 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(3rem, 6.2vw, 5.8rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.intro-content__lead {
  max-width: 760px;
  margin: 28px 0 0;
  color: var(--color-text-soft);
  font-size: clamp(1.02rem, 1.8vw, 1.24rem);
  line-height: 1.72;
}

.intro-content__actions,
.result-header__actions,
.error-card__actions {
  display: flex;
  margin-top: 34px;
  flex-wrap: wrap;
  gap: 14px;
}

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

.button:hover:not(:disabled) {
  transform: translateY(-2px);
}

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

.button:disabled {
  cursor: not-allowed;
  opacity: 0.42;
}

.button--primary {
  color: #00121a;
  background:
    linear-gradient(
      135deg,
      var(--color-cyan-soft),
      var(--color-cyan)
    );
  box-shadow:
    0 14px 35px rgba(0, 205, 255, 0.19),
    inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.button--primary:hover:not(:disabled) {
  box-shadow:
    0 18px 45px rgba(0, 205, 255, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.58);
}

.button--secondary {
  color: var(--color-text);
  border-color: rgba(164, 211, 255, 0.2);
  background: rgba(255, 255, 255, 0.035);
}

.button--secondary:hover:not(:disabled) {
  border-color: rgba(18, 215, 255, 0.44);
  background: rgba(18, 215, 255, 0.07);
}

.button--text {
  min-height: 42px;
  padding: 0 12px;
  color: var(--color-text-muted);
  background: transparent;
}

.button--text:hover {
  color: var(--color-text);
}

.trust-list {
  display: flex;
  margin: 28px 0 0;
  padding: 0;
  flex-wrap: wrap;
  gap: 10px 22px;
  color: var(--color-text-muted);
  list-style: none;
  font-size: 0.88rem;
}

.trust-list li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.trust-list li::before {
  width: 6px;
  height: 6px;
  content: "";
  border-radius: 50%;
  background: var(--color-cyan);
  box-shadow: 0 0 12px var(--color-cyan);
}

.intro-panel,
.processing-card,
.error-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-large);
  background:
    linear-gradient(
      145deg,
      rgba(9, 28, 55, 0.9),
      rgba(5, 11, 29, 0.92)
    );
  box-shadow: var(--shadow-card);
}

.intro-panel {
  padding: clamp(28px, 4vw, 46px);
}

.intro-panel::before {
  position: absolute;
  top: -90px;
  right: -70px;
  width: 240px;
  height: 240px;
  content: "";
  border-radius: 50%;
  background:
    radial-gradient(
      circle,
      rgba(97, 53, 255, 0.38),
      transparent 70%
    );
}

.intro-panel::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  content: "";
  background:
    linear-gradient(
      90deg,
      transparent,
      var(--color-cyan),
      var(--color-purple),
      transparent
    );
}

.intro-panel__label,
.questionnaire-help__label,
.report-section__label {
  margin: 0 0 14px;
  color: var(--color-cyan-soft);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.intro-panel h2 {
  margin: 0;
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  line-height: 1.15;
  letter-spacing: -0.035em;
}

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

.feature-list li {
  display: grid;
  padding: 18px 0;
  grid-template-columns: 48px 1fr;
  align-items: center;
  gap: 14px;
  color: var(--color-text-soft);
  border-top: 1px solid rgba(132, 197, 255, 0.1);
  line-height: 1.45;
}

.feature-list__index {
  color: var(--color-cyan);
  font-family:
    "SFMono-Regular",
    Consolas,
    monospace;
  font-size: 0.8rem;
  font-weight: 800;
}

.intro-panel__disclaimer {
  margin: 24px 0 0;
  color: var(--color-text-muted);
  font-size: 0.84rem;
  line-height: 1.6;
}

.questionnaire-header,
.result-header {
  display: flex;
  margin-bottom: 34px;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.questionnaire-header h1,
.result-header h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.questionnaire-layout {
  display: grid;
  grid-template-columns:
    minmax(0, 1fr)
    minmax(270px, 340px);
  align-items: start;
  gap: 28px;
}

.questionnaire-column {
  min-width: 0;
}

.progress-panel {
  margin-bottom: 18px;
  padding: 18px 20px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-medium);
  background: rgba(4, 15, 31, 0.76);
  box-shadow: var(--shadow-card);
}

.progress-panel__header {
  display: flex;
  margin-bottom: 12px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--color-text-muted);
  font-size: 0.84rem;
  font-weight: 700;
}

.progress-track {
  position: relative;
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
}

.progress-track__value {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background:
    linear-gradient(
      90deg,
      var(--color-blue),
      var(--color-cyan),
      var(--color-purple)
    );
  box-shadow: 0 0 20px rgba(18, 215, 255, 0.4);
  transition: width 280ms ease;
}

.questionnaire-form,
.question-card,
.questionnaire-help,
.report-section {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-large);
  background:
    linear-gradient(
      145deg,
      rgba(7, 21, 42, 0.91),
      rgba(3, 11, 25, 0.92)
    );
  box-shadow: var(--shadow-card);
}

.questionnaire-form {
  padding: clamp(22px, 4vw, 38px);
}

.question-card {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.question-card__step {
  margin: 0 0 12px;
  color: var(--color-cyan);
  font-size: 0.77rem;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.question-card h2 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.question-card__description {
  max-width: 760px;
  margin: 14px 0 0;
  color: var(--color-text-muted);
  line-height: 1.65;
}

.question-fieldset {
  min-width: 0;
  margin: 30px 0 0;
  padding: 0;
  border: 0;
}

.option-list {
  display: grid;
  gap: 12px;
}

.option-card {
  position: relative;
  display: grid;
  min-height: 66px;
  padding: 16px 18px;
  grid-template-columns: 24px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  border: 1px solid rgba(124, 184, 237, 0.16);
  border-radius: 14px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.025);
  transition:
    transform 150ms ease,
    border-color 150ms ease,
    background 150ms ease,
    box-shadow 150ms ease;
}

.option-card:hover {
  transform: translateY(-1px);
  border-color: rgba(18, 215, 255, 0.36);
  background: rgba(18, 215, 255, 0.045);
}

.option-card:has(input:checked) {
  border-color: var(--color-border-strong);
  background:
    linear-gradient(
      135deg,
      rgba(18, 215, 255, 0.12),
      rgba(91, 48, 255, 0.08)
    );
  box-shadow:
    0 0 0 1px rgba(18, 215, 255, 0.07),
    0 14px 35px rgba(0, 0, 0, 0.2);
}

.option-card input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.option-card__control {
  position: relative;
  width: 22px;
  height: 22px;
  border: 1px solid rgba(169, 211, 255, 0.38);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.18);
}

.option-card:has(input[type="checkbox"])
.option-card__control {
  border-radius: 6px;
}

.option-card:has(input:checked)
.option-card__control {
  border-color: var(--color-cyan);
  background: var(--color-cyan);
  box-shadow: 0 0 18px rgba(18, 215, 255, 0.36);
}

.option-card:has(input:checked)
.option-card__control::after {
  position: absolute;
  top: 4px;
  left: 7px;
  width: 5px;
  height: 9px;
  content: "";
  border-right: 2px solid #00131b;
  border-bottom: 2px solid #00131b;
  transform: rotate(45deg);
}

.option-card__content {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.option-card__label {
  color: var(--color-text);
  font-weight: 750;
  line-height: 1.35;
}

.option-card__description {
  color: var(--color-text-muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.question-error {
  margin: 16px 0 0;
  padding: 12px 14px;
  color: #ffd6df;
  border: 1px solid rgba(255, 111, 140, 0.28);
  border-radius: 10px;
  background: rgba(255, 111, 140, 0.08);
  font-size: 0.9rem;
}

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

.questionnaire-help {
  position: sticky;
  top: calc(var(--header-height) + 24px);
  padding: 26px;
}

.questionnaire-help h2 {
  margin: 0;
  font-size: 1.4rem;
  line-height: 1.25;
}

.questionnaire-help > p:not(.questionnaire-help__label) {
  margin: 18px 0 0;
  color: var(--color-text-muted);
  line-height: 1.65;
}

.privacy-note {
  margin-top: 24px;
  padding: 18px;
  border: 1px solid rgba(54, 229, 155, 0.16);
  border-radius: 14px;
  background: rgba(54, 229, 155, 0.055);
}

.privacy-note strong {
  color: #a8f6d4;
}

.privacy-note p {
  margin: 8px 0 0;
  color: var(--color-text-muted);
  font-size: 0.87rem;
  line-height: 1.55;
}

.error-summary {
  margin-bottom: 22px;
  padding: 18px;
  color: #ffd6df;
  border: 1px solid rgba(255, 111, 140, 0.32);
  border-radius: 14px;
  background: rgba(255, 111, 140, 0.08);
}

.error-summary h2 {
  margin: 0;
  font-size: 1rem;
}

.error-summary p {
  margin: 6px 0 0;
  color: #f0aebc;
}

.processing-screen,
.error-screen {
  display: grid;
  min-height: calc(100vh - 260px);
  place-items: center;
}

.processing-card,
.error-card {
  width: min(100%, 720px);
  padding: clamp(32px, 6vw, 58px);
  text-align: center;
}

.processing-indicator {
  display: flex;
  width: fit-content;
  margin: 0 auto 26px;
  gap: 9px;
}

.processing-indicator span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--color-cyan);
  box-shadow: 0 0 18px rgba(18, 215, 255, 0.52);
  animation: processing-pulse 1.15s infinite ease-in-out;
}

.processing-indicator span:nth-child(2) {
  animation-delay: 140ms;
}

.processing-indicator span:nth-child(3) {
  animation-delay: 280ms;
}

.processing-card h1,
.error-card h1 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.5rem);
  letter-spacing: -0.045em;
}

.processing-card > p:not(.eyebrow),
.error-card > p:not(.eyebrow) {
  margin: 20px auto 0;
  color: var(--color-text-muted);
  line-height: 1.7;
}

.processing-steps {
  display: grid;
  max-width: 470px;
  margin: 34px auto 0;
  padding: 0;
  gap: 10px;
  list-style: none;
  text-align: left;
}

.processing-steps li {
  position: relative;
  padding: 14px 16px 14px 44px;
  color: var(--color-text-muted);
  border: 1px solid rgba(120, 190, 245, 0.11);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.025);
}

.processing-steps li::before {
  position: absolute;
  top: 50%;
  left: 17px;
  width: 9px;
  height: 9px;
  content: "";
  border-radius: 50%;
  background: rgba(153, 179, 205, 0.4);
  transform: translateY(-50%);
}

.processing-steps li.is-active {
  color: var(--color-text);
  border-color: rgba(18, 215, 255, 0.25);
  background: rgba(18, 215, 255, 0.06);
}

.processing-steps li.is-active::before {
  background: var(--color-cyan);
  box-shadow: 0 0 15px var(--color-cyan);
}

.processing-steps li.is-complete::before {
  background: var(--color-success);
}

.result-header {
  margin-bottom: 28px;
}

.result-header > div:first-child {
  max-width: 760px;
}

.result-header p:not(.eyebrow) {
  margin: 18px 0 0;
  color: var(--color-text-muted);
  line-height: 1.65;
}

.result-header__actions {
  margin-top: 0;
  justify-content: flex-end;
}

.report-content {
  display: grid;
  gap: 20px;
}

.report-section {
  padding: clamp(24px, 4vw, 36px);
}

.report-section__header h2 {
  margin: 0;
  font-size: clamp(1.4rem, 3vw, 2rem);
  letter-spacing: -0.025em;
}

.report-section__header p:not(.report-section__label) {
  margin: 12px 0 0;
  color: var(--color-text-muted);
  line-height: 1.65;
}

.report-footer {
  margin-top: 24px;
  padding: 20px 22px;
  color: var(--color-text-muted);
  border: 1px solid rgba(255, 204, 102, 0.15);
  border-radius: 14px;
  background: rgba(255, 204, 102, 0.04);
  font-size: 0.86rem;
  line-height: 1.6;
}

.report-footer p {
  margin: 0;
}

.site-footer {
  border-top: 1px solid rgba(120, 200, 255, 0.09);
  background: rgba(0, 4, 12, 0.62);
}

.site-footer__inner {
  display: flex;
  width: min(calc(100% - 40px), var(--page-width));
  min-height: 76px;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--color-text-muted);
  font-size: 0.79rem;
}

.site-footer__inner p {
  margin: 0;
}

.noscript-message {
  position: fixed;
  right: 20px;
  bottom: 20px;
  left: 20px;
  z-index: 1000;
  padding: 16px;
  color: #ffd6df;
  border: 1px solid rgba(255, 111, 140, 0.4);
  border-radius: 12px;
  background: #2b0d18;
  text-align: center;
}

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

:focus-visible {
  outline: 3px solid rgba(18, 215, 255, 0.72);
  outline-offset: 3px;
}

@keyframes processing-pulse {
  0%,
  80%,
  100% {
    opacity: 0.3;
    transform: scale(0.82);
  }

  40% {
    opacity: 1;
    transform: scale(1);
  }
}

@media (max-width: 980px) {
  .intro-layout,
  .questionnaire-layout {
    grid-template-columns: 1fr;
  }

  .intro-layout {
    min-height: auto;
  }

  .intro-panel {
    max-width: 760px;
  }

  .questionnaire-help {
    position: static;
  }

  .result-header {
    flex-direction: column;
  }

  .result-header__actions {
    justify-content: flex-start;
  }
}

@media (max-width: 700px) {
  :root {
    --header-height: 72px;
  }

  .site-header__inner,
  .audit-main,
  .site-footer__inner {
    width: min(calc(100% - 28px), var(--page-width));
  }

  .site-header__inner {
    gap: 12px;
  }

  .brand__name {
    display: none;
  }

  .site-navigation {
    gap: 2px;
  }

  .site-navigation__link {
    padding: 9px 8px;
    font-size: 0.8rem;
  }

  .audit-main {
    padding-top: 42px;
    padding-bottom: 54px;
  }

  .intro-content h1 {
    font-size: clamp(2.65rem, 14vw, 4.2rem);
  }

  .intro-content__actions,
  .result-header__actions,
  .error-card__actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .trust-list {
    display: grid;
  }

  .questionnaire-header {
    flex-direction: column;
  }

  .questionnaire-header .button--text {
    width: auto;
  }

  .questionnaire-form,
  .intro-panel,
  .processing-card,
  .error-card,
  .report-section {
    border-radius: 20px;
  }

  .questionnaire-actions {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .site-footer__inner {
    min-height: 94px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
  }
}

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

/* ===== Constellations animées JeremBlock ===== */

#constellation-canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1;
  pointer-events: none;
  opacity: 0.68;
  mix-blend-mode: screen;
}

.site-shell {
  position: relative;
  z-index: 2;
  isolation: isolate;
}

/* ===== JBA REPORT INTERNAL UI V1 ===== */

.report-section [data-report-section-content]:not(:empty) {
  margin-top: 24px;
}

.report-score {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 20px;
}

.report-score__value {
  color: var(--color-text);
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.045em;
}

.report-score__label {
  display: inline-flex;
  min-height: 34px;
  padding: 7px 12px;
  align-items: center;
  border: 1px solid rgba(18, 215, 255, 0.24);
  border-radius: 999px;
  background: rgba(18, 215, 255, 0.07);
  color: var(--color-cyan-soft);
  font-size: 0.86rem;
  font-weight: 800;
}

.report-highlight {
  margin: 0;
  color: var(--color-text);
  font-size: clamp(1.35rem, 3vw, 2rem);
  font-weight: 850;
  line-height: 1.25;
  letter-spacing: -0.025em;
}

.report-footnote {
  margin: 20px 0 0;
  padding-top: 18px;
  color: var(--color-text-muted);
  border-top: 1px solid rgba(132, 197, 255, 0.11);
  font-size: 0.84rem;
  line-height: 1.65;
}

.report-priority-list {
  display: grid;
  gap: 18px;
}

.report-priority {
  padding: clamp(20px, 3vw, 28px);
  border: 1px solid rgba(132, 197, 255, 0.15);
  border-radius: 18px;
  background:
    linear-gradient(
      145deg,
      rgba(12, 31, 58, 0.72),
      rgba(7, 15, 35, 0.78)
    );
}

.report-priority__header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.report-priority__rank {
  display: inline-flex;
  min-height: 32px;
  padding: 6px 11px;
  flex: 0 0 auto;
  align-items: center;
  border: 1px solid rgba(18, 215, 255, 0.28);
  border-radius: 999px;
  background: rgba(18, 215, 255, 0.08);
  color: var(--color-cyan);
  font-size: 0.78rem;
  font-weight: 850;
  white-space: nowrap;
}

.report-priority__title {
  margin: 2px 0 0;
  color: var(--color-text);
  font-size: clamp(1.18rem, 2.4vw, 1.55rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.report-priority__metadata {
  display: flex;
  margin-top: 18px;
  flex-wrap: wrap;
  gap: 8px;
}

.report-priority__metadata span {
  display: inline-flex;
  padding: 6px 10px;
  border: 1px solid rgba(132, 197, 255, 0.12);
  border-radius: 999px;
  background: rgba(132, 197, 255, 0.045);
  color: var(--color-text-soft);
  font-size: 0.76rem;
  line-height: 1.35;
}

.report-priority__summary {
  margin: 20px 0 0;
  color: var(--color-text-soft);
  line-height: 1.7;
}

.report-priority__solutions-title {
  margin: 24px 0 12px;
  color: var(--color-text);
  font-size: 1rem;
}

.report-solution-list {
  display: grid;
  margin: 0;
  padding: 0;
  gap: 10px;
  list-style: none;
}

.report-solution-list li {
  padding: 16px 18px;
  border: 1px solid rgba(132, 197, 255, 0.1);
  border-radius: 14px;
  background: rgba(2, 12, 28, 0.5);
}

.report-solution__label {
  display: block;
  color: var(--color-text);
  line-height: 1.4;
}

.report-solution__summary {
  margin: 7px 0 0;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.report-solution__validation {
  display: inline-flex;
  margin-top: 12px;
  padding: 5px 9px;
  border: 1px solid rgba(255, 204, 102, 0.2);
  border-radius: 999px;
  background: rgba(255, 204, 102, 0.06);
  color: var(--color-warning);
  font-size: 0.74rem;
  font-weight: 750;
}

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

.report-statement-list li {
  position: relative;
  padding-left: 22px;
  color: var(--color-text-soft);
  line-height: 1.65;
}

.report-statement-list li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 2px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-cyan);
  box-shadow: 0 0 12px rgba(18, 215, 255, 0.55);
}

.report-section[data-action-id="open_lead_capture_form"] {
  border-color: rgba(18, 215, 255, 0.28);
  background:
    linear-gradient(
      135deg,
      rgba(7, 29, 51, 0.94),
      rgba(30, 9, 67, 0.88)
    );
}

@media (max-width: 700px) {
  .report-priority__header {
    flex-direction: column;
    gap: 10px;
  }

  .report-priority__metadata {
    display: grid;
  }

  .report-score {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* ===== JBA CONTACT FORM UI V1 ===== */

.report-contact__actions {
  display: flex;
  margin-top: 24px;
  flex-wrap: wrap;
  gap: 12px;
}

.report-contact__form {
  display: grid;
  margin-top: 24px;
  padding-top: 24px;
  gap: 18px;
  border-top: 1px solid rgba(132, 197, 255, 0.14);
}

.report-contact__form[hidden] {
  display: none;
}

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

.report-contact__field {
  display: grid;
  gap: 8px;
}

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

.report-contact__field label {
  color: var(--color-text);
  font-size: 0.88rem;
  font-weight: 800;
}

.report-contact__field input,
.report-contact__field textarea {
  width: 100%;
  border: 1px solid rgba(132, 197, 255, 0.2);
  border-radius: 12px;
  outline: none;
  background: rgba(2, 12, 28, 0.7);
  color: var(--color-text);
  font: inherit;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.report-contact__field input {
  min-height: 48px;
  padding: 0 14px;
}

.report-contact__field textarea {
  min-height: 150px;
  padding: 14px;
  resize: vertical;
  line-height: 1.55;
}

.report-contact__field input:focus,
.report-contact__field textarea:focus {
  border-color: rgba(18, 215, 255, 0.7);
  background: rgba(3, 17, 36, 0.88);
  box-shadow: 0 0 0 3px rgba(18, 215, 255, 0.1);
}

.report-contact__status {
  min-height: 24px;
  color: var(--color-text-muted);
  font-size: 0.86rem;
  line-height: 1.55;
}

.report-contact__status.is-pending {
  color: var(--color-cyan-soft);
}

.report-contact__status.is-success {
  color: var(--color-success);
}

.report-contact__status.is-error {
  color: #ff9bb1;
}

.report-contact__form button:disabled {
  cursor: wait;
  opacity: 0.64;
}

@media (max-width: 700px) {
  .report-contact__grid {
    grid-template-columns: 1fr;
  }

  .report-contact__field--full {
    grid-column: auto;
  }
}

/* ===== JBA CONTACT UI FIX START ===== */

/* Select : même rendu bleu que les autres champs */
.report-contact__form select {
  width: 100%;
  min-height: 48px;
  padding: 0 46px 0 16px;
  color: var(--color-text);
  border: 1px solid rgba(18, 215, 255, 0.28);
  border-radius: 12px;
  background-color: rgba(3, 12, 38, 0.94);
  background-image:
    linear-gradient(
      45deg,
      transparent 50%,
      var(--color-cyan) 50%
    ),
    linear-gradient(
      135deg,
      var(--color-cyan) 50%,
      transparent 50%
    );
  background-position:
    calc(100% - 20px) 50%,
    calc(100% - 14px) 50%;
  background-size: 6px 6px;
  background-repeat: no-repeat;
  box-shadow:
    inset 0 0 0 1px rgba(18, 215, 255, 0.04);
  font: inherit;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

.report-contact__form select:hover {
  border-color: rgba(18, 215, 255, 0.52);
}

.report-contact__form select:focus {
  outline: none;
  border-color: var(--color-cyan);
  box-shadow:
    0 0 0 2px rgba(18, 215, 255, 0.14),
    0 0 18px rgba(18, 215, 255, 0.12);
}

.report-contact__form select option {
  color: var(--color-text);
  background: rgb(5, 18, 38);
}

/* Consentement : case et texte sur la même ligne */
.report-contact__consent {
  display: flex;
  grid-column: 1 / -1;
  width: 100%;
  margin: 6px 0 2px;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
}

/* Neutralise les dimensions héritées des champs texte */
.report-contact__consent input[type="checkbox"] {
  width: 20px !important;
  min-width: 20px !important;
  max-width: 20px !important;
  height: 20px !important;
  min-height: 20px !important;
  max-height: 20px !important;
  margin: 0;
  padding: 0;
  flex: 0 0 20px;
  border-radius: 4px;
  cursor: pointer;
  accent-color: var(--color-cyan);
  box-shadow: none;
}

.report-contact__consent label {
  display: inline;
  width: auto;
  margin: 0;
  color: var(--color-text);
  line-height: 1.45;
  cursor: pointer;
}

/* ===== JBA CONTACT UI FIX END ===== */
