@font-face {
  font-family: "Cormorant Garamond";
  src: url("/assets/fonts/cormorant-garamond-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
}

@font-face {
  font-family: Inter;
  src: url("/assets/fonts/inter-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

html:has(body[data-page="ecommerce-diagnostic"]),
body[data-page="ecommerce-diagnostic"] {
  width: 100%;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  background: #050708;
}

body[data-page="ecommerce-diagnostic"]::before,
body[data-page="ecommerce-diagnostic"] .site-header,
body[data-page="ecommerce-diagnostic"] .site-footer {
  display: none;
}

body[data-page="ecommerce-diagnostic"] .skip-link {
  z-index: 1000;
}

body[data-page="ecommerce-diagnostic"] .page-shell {
  width: 100%;
  height: 100dvh;
  min-height: 0;
  overflow: hidden;
}

body[data-page="ecommerce-diagnostic"] .kt-site-settings,
body[data-page="ecommerce-diagnostic"] .kt-site-choice {
  display: none !important;
}

.ecom-diagnostic {
  --ecom-paper: #f3f3ef;
  --ecom-muted: #aab0b2;
  --ecom-line: rgba(243, 243, 239, 0.17);
  --ecom-line-strong: rgba(243, 243, 239, 0.34);
  --ecom-jade: #17372f;
  --ecom-jade-hover: #1d443a;
  --ecom-jade-edge: #607b71;
  --ecom-red: #ff5b4d;
  display: grid;
  width: 100%;
  height: 100dvh;
  min-height: 0;
  grid-template-rows: minmax(0, 1fr);
  overflow: hidden;
  background: #050708;
  color: var(--ecom-paper);
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
}

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

.ecom-diagnostic [hidden] {
  display: none !important;
}

.ecom-diagnostic button,
.ecom-diagnostic input,
.ecom-diagnostic select {
  border-radius: 0;
  font: inherit;
}

.ecom-diagnostic button {
  box-shadow: none;
}

.ecom-viewport {
  position: relative;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
}

.ecom-questionnaire,
.ecom-step,
.ecom-registration,
.ecom-result {
  width: 100%;
  height: 100%;
  min-height: 0;
}

.ecom-questionnaire,
.ecom-registration,
.ecom-result {
  position: absolute;
  inset: 0;
}

.ecom-step {
  display: grid;
  max-width: 1080px;
  grid-template-rows: auto minmax(min-content, 1fr) auto;
  gap: clamp(16px, 2.5vh, 26px);
  padding: clamp(24px, 4.5vh, 46px) clamp(20px, 5.5vw, 72px) clamp(18px, 3.3vh, 34px);
  margin: 0 auto;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}

.ecom-progress-copy {
  display: grid;
  gap: 13px;
  color: #aeb4b7;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.ecom-progress-copy progress {
  width: 100%;
  height: 3px;
  overflow: hidden;
  border: 0;
  appearance: none;
  background: rgba(243, 243, 239, 0.23);
}

.ecom-progress-copy progress::-webkit-progress-bar {
  background: rgba(243, 243, 239, 0.23);
}

.ecom-progress-copy progress::-webkit-progress-value {
  background: var(--ecom-red);
}

.ecom-progress-copy progress::-moz-progress-bar {
  background: var(--ecom-red);
}

.ecom-question-set {
  display: grid;
  min-width: 0;
  min-height: min-content;
  align-items: center;
  padding: 0;
  border: 0;
  margin: 0;
  overflow: visible;
}

.ecom-question-content {
  display: grid;
  width: 100%;
  gap: clamp(26px, 4.2vh, 42px);
}

.ecom-question-content h2 {
  width: min(100%, 18ch);
  max-width: 100%;
  padding: 0;
  margin: 0;
  color: var(--ecom-paper);
  font-family: "Cormorant Garamond", "Iowan Old Style", Baskerville, Georgia, serif;
  font-size: clamp(2.45rem, 5.1vw, 4.45rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 0.96;
  text-wrap: balance;
}

.ecom-options {
  display: grid;
  width: 100%;
  border-top: 1px solid var(--ecom-line);
}

.ecom-option {
  position: relative;
  display: grid;
  min-height: clamp(46px, 6vh, 56px);
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 8px clamp(12px, 1.8vw, 20px);
  border-bottom: 1px solid var(--ecom-line);
  color: #e6e7e4;
  cursor: pointer;
  font-size: clamp(0.91rem, 1.15vw, 1.04rem);
  line-height: 1.35;
}

.ecom-option:hover {
  border-color: var(--ecom-line-strong);
  background: rgba(255, 255, 255, 0.025);
}

.ecom-option:has(input:checked) {
  border-color: var(--ecom-jade-edge);
  background: var(--ecom-jade);
  color: #fff;
}

.ecom-option input {
  width: 24px;
  height: 24px;
  margin: 0;
  accent-color: var(--ecom-red);
  cursor: pointer;
}

.ecom-question-error,
.ecom-error-summary {
  padding: 10px 12px;
  border-left: 2px solid var(--ecom-red);
  margin: 0;
  background: rgba(255, 91, 77, 0.08);
  color: #ffb0a8;
  font-size: 0.83rem;
  line-height: 1.45;
}

.ecom-step-actions,
.ecom-registration-actions,
.ecom-result-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 310px);
  gap: 12px;
  align-items: center;
}

.ecom-step-actions {
  grid-template-columns: 1fr;
}

.ecom-diagnostic .button,
.ecom-continue {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 12px 22px;
  border: 1px solid var(--ecom-jade-edge);
  background: var(--ecom-jade);
  color: #fff;
  cursor: pointer;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ecom-diagnostic .button:hover,
.ecom-continue:hover {
  background: var(--ecom-jade-hover);
}

.ecom-diagnostic .button:disabled,
.ecom-continue:disabled {
  border-color: var(--ecom-line);
  background: transparent;
  color: #62686a;
  cursor: not-allowed;
}

.ecom-back,
.ecom-text-action {
  min-height: 44px;
  justify-self: start;
  padding: 8px 0;
  border: 0;
  border-bottom: 1px solid #777e80;
  background: transparent;
  color: #c9cecd;
  cursor: pointer;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.ecom-back:hover,
.ecom-text-action:hover {
  border-bottom-color: var(--ecom-red);
  color: #fff;
}

.ecom-scroll-region {
  width: min(100%, 1080px);
  height: 100%;
  padding: clamp(24px, 4vh, 42px) clamp(20px, 5.5vw, 72px) 40px;
  margin: 0 auto;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}

.ecom-registration .ecom-scroll-region {
  width: min(100%, 980px);
}

.ecom-progress-copy--complete {
  margin-bottom: clamp(22px, 3.5vh, 36px);
}

.ecom-kicker {
  margin: 0 0 10px;
  color: var(--ecom-red);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.ecom-registration h2,
.ecom-result h2 {
  margin: 0;
  color: var(--ecom-paper);
  font-family: "Cormorant Garamond", "Iowan Old Style", Baskerville, Georgia, serif;
  font-size: clamp(2.35rem, 4.5vw, 4rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 0.98;
  text-wrap: balance;
}

.ecom-registration-lead,
.ecom-review-note,
.ecom-privacy-copy,
.ecom-consent,
.ecom-result-summary,
.ecom-result-confirmation,
.ecom-result-fit,
.ecom-limit,
.ecom-operation-note {
  max-width: 72ch;
  color: #b7bdbd;
  font-size: 0.91rem;
  line-height: 1.55;
}

.ecom-registration-lead {
  margin: 14px 0 0;
}

.ecom-result-fit {
  margin: 10px 0 0;
  color: #9ea6a6;
  font-size: 0.82rem;
}

.ecom-result-fit strong {
  color: #d8dcda;
}

.ecom-review-note {
  padding: 10px 12px;
  border-left: 2px solid #81988f;
  margin: 16px 0 0;
  background: rgba(84, 112, 101, 0.1);
}

.ecom-registration-form {
  margin-top: 22px;
}

.ecom-field-run {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px 18px;
}

.ecom-field {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.ecom-field-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.ecom-field-heading label {
  color: #e6e8e5;
  font-size: 0.79rem;
  font-weight: 700;
}

.ecom-field-heading > span {
  color: #7f8789;
  font-size: 0.62rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ecom-field input,
.ecom-field select {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid var(--ecom-line-strong);
  background: #090c0d;
  color: #fff;
}

.ecom-field input::placeholder {
  color: #697173;
}

.ecom-field input[aria-invalid="true"],
.ecom-field select[aria-invalid="true"] {
  border-color: var(--ecom-red);
}

.ecom-trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.ecom-privacy-copy {
  margin: 14px 0 0;
  color: #858d8f;
  font-size: 0.75rem;
}

.ecom-privacy-copy a {
  color: #bcc5c1;
}

.ecom-consent {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 11px;
  align-items: start;
  margin: 16px 0 0;
  color: #aeb5b4;
  cursor: pointer;
  font-size: 0.76rem;
}

.ecom-consent input {
  width: 20px;
  height: 20px;
  margin: 1px 0 0;
  accent-color: var(--ecom-red);
}

.ecom-consent input[aria-invalid="true"] {
  outline: 2px solid var(--ecom-red);
  outline-offset: 2px;
}

.ecom-consent a {
  color: #d5dcda;
}

.ecom-registration-actions {
  margin-top: 18px;
}

.ecom-result .ecom-scroll-region {
  padding-bottom: 60px;
}

.ecom-result h2 {
  max-width: 24ch;
  color: #c9cecc;
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  font-weight: 520;
  letter-spacing: 0;
  line-height: 1.35;
}

.ecom-result-cause {
  max-width: 19ch;
  margin: 8px 0 0;
  color: var(--ecom-paper);
  font-family: "Cormorant Garamond", "Iowan Old Style", Baskerville, Georgia, serif;
  font-size: clamp(2.8rem, 5.3vw, 4.9rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 0.92;
}

.ecom-result-summary {
  margin: 16px 0 0;
}

.ecom-result-confirmation {
  padding: 11px 13px;
  border-left: 2px solid #81988f;
  margin: 16px 0 0;
  background: rgba(84, 112, 101, 0.12);
  color: #d6dedb;
}

.ecom-result-measures {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 30px;
  border-top: 1px solid var(--ecom-line-strong);
  border-bottom: 1px solid var(--ecom-line-strong);
}

.ecom-result-measures > div {
  display: grid;
  min-width: 0;
  align-content: start;
  gap: 6px;
  padding: 18px 20px 20px;
  border-right: 1px solid var(--ecom-line);
}

.ecom-result-measures > div:first-child {
  padding-left: 0;
}

.ecom-result-measures > div:last-child {
  padding-right: 0;
  border-right: 0;
}

.ecom-result-measures span,
.ecom-result-section h3 {
  color: #8f9799;
  font-size: 0.71rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.ecom-result-measures strong {
  font-size: clamp(1.45rem, 2.5vw, 2.1rem);
  font-weight: 650;
}

.ecom-result-measures small {
  color: #aab0b1;
  font-size: 0.78rem;
  line-height: 1.45;
}

.ecom-result-section {
  display: grid;
  grid-template-columns: minmax(150px, 24%) minmax(0, 1fr);
  gap: 26px;
  padding: 27px 0;
  border-bottom: 1px solid var(--ecom-line);
}

.ecom-result-section h3 {
  margin: 2px 0 0;
}

.ecom-result-section ul,
.ecom-result-section ol {
  display: grid;
  gap: 10px;
  padding-left: 22px;
  margin: 0;
  color: #d4d7d5;
  font-size: 0.94rem;
  line-height: 1.5;
}

.ecom-score-ledger {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  margin: 0;
}

.ecom-score-ledger dt,
.ecom-score-ledger dd {
  padding: 9px 0;
  border-bottom: 1px solid rgba(243, 243, 239, 0.1);
  margin: 0;
  color: #d3d6d4;
  font-size: 0.9rem;
}

.ecom-score-ledger dd {
  padding-left: 18px;
  color: #fff;
  font-weight: 750;
}

.ecom-operation-note {
  padding: 12px 14px;
  border-left: 2px solid var(--ecom-red);
  margin: 22px 0 0;
  color: #ff9c92;
}

.ecom-limit {
  margin: 22px 0 0;
  color: #8c9496;
  font-size: 0.8rem;
}

.ecom-result-actions {
  grid-template-columns: 1fr;
  margin-top: 16px;
}

.ecom-restore {
  position: absolute;
  top: 10px;
  right: 18px;
  z-index: 3;
  display: flex;
  gap: 12px;
  align-items: center;
  color: var(--ecom-muted);
  font-size: 0.75rem;
}

.ecom-diagnostic :is(a, button, input, select):focus-visible,
.ecom-diagnostic [tabindex="-1"]:focus-visible {
  outline: 2px solid var(--ecom-red);
  outline-offset: 3px;
}

@media (max-width: 720px) {
  .ecom-step {
    gap: 14px;
    padding: 18px 16px 14px;
  }

  .ecom-progress-copy {
    gap: 9px;
    font-size: 0.65rem;
  }

  .ecom-question-set {
    min-height: min-content;
  }

  .ecom-question-content {
    gap: 24px;
  }

  .ecom-question-content h2 {
    width: min(100%, 16ch);
    font-size: clamp(2.05rem, 10vw, 3.15rem);
    line-height: 0.94;
  }

  .ecom-option {
    min-height: 46px;
    grid-template-columns: 26px minmax(0, 1fr);
    gap: 11px;
    padding: 6px 10px;
    font-size: 1rem;
  }

  .ecom-option input {
    width: 22px;
    height: 22px;
  }

  .ecom-registration-actions {
    grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
    gap: 10px;
  }

  .ecom-diagnostic .button,
  .ecom-continue {
    min-height: 48px;
    padding-inline: 14px;
    font-size: 0.68rem;
  }

  .ecom-back,
  .ecom-text-action {
    font-size: 0.66rem;
  }

  .ecom-scroll-region {
    padding: 20px 16px 36px;
    scrollbar-gutter: auto;
  }

  .ecom-registration h2 {
    font-size: 2.55rem;
  }

  .ecom-registration-lead,
  .ecom-review-note,
  .ecom-result-summary,
  .ecom-result-confirmation,
  .ecom-result-fit {
    font-size: 0.84rem;
  }

  .ecom-field-run {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .ecom-registration-actions {
    margin-top: 16px;
  }

  .ecom-result-measures {
    grid-template-columns: 1fr;
  }

  .ecom-result-measures > div,
  .ecom-result-measures > div:first-child,
  .ecom-result-measures > div:last-child {
    padding: 14px 0;
    border-right: 0;
    border-bottom: 1px solid var(--ecom-line);
  }

  .ecom-result-measures > div:last-child {
    border-bottom: 0;
  }

  .ecom-result-section {
    grid-template-columns: 1fr;
    gap: 13px;
    padding: 22px 0;
  }
}

@media (max-width: 370px) {
  .ecom-question-content h2 {
    font-size: clamp(1.85rem, 9.4vw, 2.65rem);
  }

  .ecom-option {
    font-size: 1rem;
  }
}

@media (max-height: 620px) {
  .ecom-step {
    gap: 12px;
    padding-block: 12px;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .ecom-question-set {
    align-items: start;
  }

  .ecom-question-content {
    gap: 16px;
  }

  .ecom-question-content h2 {
    font-size: clamp(1.85rem, 7.5vh, 3rem);
  }

  .ecom-option {
    min-height: 44px;
  }

  .ecom-diagnostic .button,
  .ecom-continue {
    min-height: 44px;
  }
}
