/* Customer journey: preserve the analysis tools while leading with the result. */
:root {
  --accent: #217f70;
  --accent-hover: #196657;
  --navbar-color-text: #143c35;
  --navbar-color-active-text: #102d27;
  --navbar-color-hover-text: #102d27;
}

@media (prefers-color-scheme: dark) {
  :root {
    --accent: #35b3a0;
    --accent-hover: #45c5b1;
    --navbar-color-text: #f2f2f2;
    --navbar-color-active-text: #f2f2f2;
    --navbar-color-hover-text: #f2f2f2;
  }
}

:where(a, button, input, select, summary):focus-visible {
  outline: 3px solid var(--base-color-text);
  outline-offset: 4px;
}

.landing-hero-proof {
  padding-top: 38px;
  max-width: 1100px;
}

.landing-title {
  max-width: 900px;
  margin-inline: auto;
  font-size: clamp(2rem, 4.5vw, 3.6rem);
  line-height: 1.08;
  text-wrap: balance;
}

.landing-hero-proof .landing-tagline {
  max-width: 680px;
  font-size: 1.15rem;
  line-height: 1.55;
}

.landing-real-proof {
  max-width: 740px;
  margin-top: 28px;
}

.landing-use-cases {
  margin-top: 36px;
}

button[data-file-input] {
  font-family: inherit;
}

.drop-zone {
  width: 100%;
  box-sizing: border-box;
  color: var(--base-color-text);
  background: transparent;
  padding: 26px 20px;
}

.drop-zone-note {
  opacity: 1;
  line-height: 1.5;
}

.upload-privacy {
  max-width: 560px;
  margin: 0 auto 18px;
  font-size: 0.82rem;
  line-height: 1.5;
}

.capture-tips {
  flex-basis: 100%;
  text-align: left;
}

.analyze-workspace {
  grid-template-columns: minmax(0, 1.25fr) minmax(360px, 1fr);
  grid-template-areas:
    "notice notice"
    "title title"
    "banner banner"
    "main result"
    "side side"
    "bottom bottom";
  gap: 18px;
}

.workspace-heading {
  grid-area: title;
  margin: 0;
  font-size: 1.5rem;
}

.workspace-result {
  grid-area: result;
  min-width: 0;
}

.workspace-result .movement-report {
  margin: 0;
  max-width: none;
  padding: 20px;
}

.workspace-result .movement-report h2 {
  font-size: 1.4rem;
}

.workspace-result .report-measurements {
  gap: 8px;
}

.workspace-result .report-findings {
  grid-template-columns: 1fr;
  gap: 12px;
}

.workspace-result .report-findings h3 {
  margin: 0 0 8px;
}

.workspace-result .report-findings ul {
  margin: 0;
}

.workspace-side {
  position: static;
  max-height: none;
  overflow: visible;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 16px;
}

.inspection-panel {
  min-width: 0;
  border: 1px solid var(--base-color-links);
  border-radius: 12px;
  padding: 14px;
  background: var(--base-color-bg);
}

.inspection-panel > summary,
.report-preview-details > summary {
  cursor: pointer;
  font-weight: 600;
  line-height: 1.5;
  color: var(--base-color-text);
}

.inspection-panel[open] > summary {
  margin-bottom: 16px;
}

.pose-inspection {
  margin-top: 12px;
}

.advanced-settings .side-card {
  margin-top: 12px;
}

.analyze-workspace.compare-mode,
.analyze-workspace:not(.has-report) {
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "notice" "title" "banner" "main" "result" "side" "bottom";
}

.analyze-workspace:not(.has-report) .workspace-result {
  display: none;
}

.plan-badge {
  color: var(--accent-contrast);
}

.result-pro-preview {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--accent);
}

.result-pro-preview h3 {
  margin: 0;
}

.result-pro-preview p {
  line-height: 1.5;
  font-size: 0.9rem;
}

.result-pro-preview .btn-ghost {
  display: inline-block;
  margin-top: 12px;
  box-sizing: border-box;
  max-width: 100%;
}

.pro-report-paper {
  margin: 16px 0;
  padding: 22px;
  border: 1px solid var(--base-color-links);
  border-radius: 4px;
  background: var(--base-color-bg);
  color: var(--base-color-text);
  box-shadow: 5px 5px 0 var(--accent-soft);
  text-align: left;
}

.pro-report-paper figcaption {
  font-size: 0.75rem;
  margin-bottom: 14px;
  line-height: 1.4;
}

.pro-report-paper > strong {
  font-size: 1.2rem;
}

.paper-sections > div {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 4px 8px;
  border-top: 1px solid var(--accent-soft);
  padding-top: 12px;
  margin-top: 12px;
}

.paper-sections span {
  grid-row: span 2;
  color: var(--base-color-links);
}

.paper-sections small {
  grid-column: 2;
  line-height: 1.4;
}

.pro-report-paper p {
  font-size: 0.75rem;
  margin-bottom: 0;
}

.pricing-value {
  max-width: 900px;
  margin: 40px auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
  text-align: left;
  align-items: center;
  line-height: 1.6;
}

.pricing-comparison-title {
  font-size: 1.35rem;
}

.customer-auth {
  margin-top: 42px;
  max-width: 440px;
  box-sizing: border-box;
}

.customer-auth h1 {
  font-size: 1.7rem;
  text-wrap: balance;
}

.customer-auth .auth-benefit {
  margin-bottom: 12px;
}

.auth-privacy {
  font-size: 0.82rem;
  line-height: 1.5;
}

.customer-auth .remember-device {
  margin: 1rem 0;
}

.customer-auth .remember-device label {
  display: flex;
  align-items: center;
  min-height: 44px;
  gap: 0.6rem;
  cursor: pointer;
}

.customer-auth .remember-device input[type="checkbox"] {
  flex: 0 0 auto;
  width: 1.1rem;
  height: 1.1rem;
  min-height: 0;
  margin: 0;
}

.customer-auth .remember-device small {
  display: block;
  margin-top: 0.4rem;
  line-height: 1.5;
}

.customer-auth .login-button {
  width: 100%;
  min-height: 44px;
}

@media (max-width: 1000px) {
  .analyze-workspace {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "notice" "title" "banner" "main" "result" "side" "bottom";
  }
  .workspace-side {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .landing-hero-proof {
    padding-top: 24px;
  }
  .landing-hero-proof .landing-tagline {
    font-size: 1rem;
  }
  .landing-cta-row {
    gap: 10px;
  }
  .landing-real-proof {
    margin-top: 22px;
  }
  .workspace-side,
  .pricing-value {
    grid-template-columns: minmax(0, 1fr);
  }
  .workspace-result .movement-report {
    padding: 16px;
  }
  .workspace-result .report-measurements {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .customer-auth {
    width: calc(100% - 32px);
    margin-top: 24px;
    padding: 24px;
  }
}
