/* Landing A follows the free result's palette and Onest family.
   The approved free result, checkout and paid report retain their own styles. */
:root {
  --looks-font: 'Onest', Arial, sans-serif;
  --looks-bg: #0b0e0d;
  --looks-surface: #151b18;
  --looks-text: #edf3ef;
  --looks-muted: #acb9b1;
  --looks-accent: #9cf6c2;
  --looks-line: #2f3d35;
  --looks-radius-small: 6px;
  --looks-radius-control: 12px;
  --looks-radius-card: 16px;
  --looks-radius-panel: 24px;
  --looks-action-bg: #9cf6c20a;
  --looks-action-text: #bce7cc;
  --looks-action-line: #7eae91;
  --looks-action-hover-bg: #9cf6c21c;
  --looks-action-hover-text: #def8e9;
  --looks-action-hover-line: #bce7cc;
}

@media screen {
  body.lm-unified-landing:not(.has-full-report) {
    --background: var(--looks-bg);
    --text: var(--looks-text);
    --secondary: var(--looks-muted);
    --accent: var(--looks-accent);
    --accent-bright: var(--looks-accent);
    --surface: var(--looks-surface);
    font-family: var(--looks-font);
    font-size: 16px;
    line-height: 1.6;
  }

  /* Override the old page's mixed font shorthands inside the two requested surfaces. */
  .mw-site.lm-unified-landing:not(.has-full-report)
    :is(.topbar, .hero, .analysis-shell, .landing-section, .native-footer, .proof-modal),
  .mw-site.lm-unified-landing:not(.has-full-report)
    :is(.topbar, .hero, .analysis-shell, .landing-section, .native-footer, .proof-modal) *,
  .mw-site.lm-unified-landing:not(.has-full-report) #scanView,
  .mw-site.lm-unified-landing:not(.has-full-report) #scanView * {
    font-family: var(--looks-font);
  }

  .mw-site.lm-unified-landing:not(.has-full-report) .hero h1 em {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-style: italic;
    font-weight: 400;
  }

  .lm-unified-landing .hero h1 {
    line-height: 1.12;
    letter-spacing: -.035em;
  }

  .lm-unified-landing .hero-copy {
    max-width: none;
    margin-inline: auto;
    font-size: 18px;
    line-height: 1.6;
    text-wrap: balance;
  }

  .mw-site.lm-unified-landing .hero-terms,
  .mw-site.lm-unified-landing .hero-report-link {
    font-size: 14px;
    line-height: 1.6;
  }

  .lm-unified-landing .landing-section h2 {
    font-size: clamp(32px, 3.4vw, 40px);
    font-weight: 500;
    line-height: 1.18;
    letter-spacing: -.03em;
    text-wrap: balance;
  }

  .lm-unified-landing .landing-section h2 em {
    font-size: 1em;
    font-style: normal;
    font-weight: inherit;
    letter-spacing: inherit;
  }

  .lm-unified-landing :is(.section-intro, .report-intro > p) {
    font-size: 16px;
    line-height: 1.65;
  }

  .lm-unified-landing :is(.example-panel h3, .analysis-journey h3, .report-purchase h3,
    .proof-gallery-heading h3, .report-fragment figcaption h3) {
    font-size: 24px;
    line-height: 1.25;
    font-weight: 500;
    letter-spacing: -.025em;
  }

  .lm-unified-landing :is(.example-panel > p, .analysis-journey p,
    .report-purchase > p:not(.report-price), .report-fragment figcaption p) {
    font-size: 16px;
    line-height: 1.65;
  }

  .lm-unified-landing :is(.hero, .landing-section) :is(h1, h2, h3, h4) {
    text-wrap: balance;
  }

  .lm-unified-landing .upload-card__body h2 {
    font-size: 26px;
    line-height: 1.25;
    font-weight: 500;
    letter-spacing: -.025em;
  }

  .lm-unified-landing :is(.upload-subtitle, .upload-inner p, .upload-note,
    .example-photo-foot, .example-footnote, .report-purchase small,
    .proof-gallery-heading > span, .fragment-open-label) {
    font-size: 14px;
    line-height: 1.6;
  }

  .lm-unified-landing .example-tab {
    font-size: 15px;
    line-height: 1.45;
    font-weight: 500;
  }

  .lm-unified-landing .example-values dt { font-size: 15px; }
  .lm-unified-landing .example-values dd { font-size: 23px; font-weight: 500; }
  .lm-unified-landing .report-comparison table { font-size: 14px; line-height: 1.55; }
  .lm-unified-landing .report-comparison thead th { font-size: 13px; }
  .lm-unified-landing .report-comparison caption { font-size: 21px; font-weight: 500; }
  .lm-unified-landing .report-price { font-size: 48px; font-weight: 500; letter-spacing: -.03em; }
  .lm-unified-landing .fragment-sheet { font-size: 15px; line-height: 1.6; }
  .lm-unified-landing .fragment-sheet h4 { font-size: 21px; line-height: 1.3; font-weight: 500; }
  .lm-unified-landing .fragment-sheet :is(.fragment-basis, .finding-status, dl > div) { font-size: 14px; }
  .lm-unified-landing .native-faq summary { font-size: 18px; line-height: 1.5; }
  .lm-unified-landing .native-faq details p { font-size: 16px; line-height: 1.7; }
  .lm-unified-landing .landing-nav { font-size: 14px; }
  .lm-unified-landing .analysis-journey li::before { font-size: 15px; }

  .lm-unified-landing :is(.upload-area, .upload-card__body) {
    border-radius: var(--looks-radius-panel);
  }

  .lm-unified-landing #frontArea:has(#frontPlaceholder:not(.hidden)) {
    border-radius: var(--looks-radius-panel);
  }

  .lm-unified-landing :is(.upload-preview img, .example-portrait,
    .mobile-landing-links, .fragment-sheet, .proof-modal) {
    border-radius: var(--looks-radius-card);
  }

  .lm-unified-landing :is(.thumb-remove, .proof-modal-close) {
    border-radius: var(--looks-radius-control);
  }

  .mw-site.lm-unified-landing:not(.has-full-report) :is(.topbar, .native-footer) .wordmark {
    font-family: var(--looks-font);
    font-size: 30px;
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -.04em;
  }

  .lm-unified-landing :is(.upload-btn, .analyze-button, .report-purchase .offer-button) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 14px 22px;
    border: 1px solid var(--looks-action-line);
    border-radius: var(--looks-radius-control);
    background: var(--looks-action-bg);
    color: var(--looks-action-text);
    box-shadow: none;
    font: 500 16px/1.35 var(--looks-font);
    letter-spacing: 0;
    text-align: center;
    transition: background .15s, border-color .15s, color .15s;
  }

  /* The existing landing selectors are more specific than its body base rules. */
  .mw-site.lm-unified-landing .report-purchase .offer-button { font-size: 16px; border-radius: var(--looks-radius-control); }
  .lm-unified-landing :is(.upload-btn, .analyze-button, .report-purchase .offer-button):hover {
    background: var(--looks-action-hover-bg);
    color: var(--looks-action-hover-text);
    border-color: var(--looks-action-hover-line);
    box-shadow: none;
  }

  .lm-unified-landing :is(.upload-btn, .analyze-button):disabled {
    opacity: .5;
    cursor: wait;
  }

  .lm-unified-landing .native-photo-picker:focus-within,
  .lm-unified-landing :is(.topbar, .hero, .analysis-shell, .landing-section, .native-footer) :is(button, a, input, select, summary):focus-visible {
    outline: 2px solid var(--looks-accent);
    outline-offset: 4px;
  }

  .lm-unified-landing :is(.topbar, .hero, .analysis-shell, .landing-section, .native-footer) ::selection {
    background: var(--looks-accent);
    color: #10261b;
  }

  .lm-unified-landing .analysis-shell :is(input, select) { accent-color: var(--looks-accent); }
  .lm-unified-landing :is(.report-price, .example-values dd) { font-variant-numeric: tabular-nums; }
}

@media screen and (min-width:761px) {
  .lm-unified-landing .hero-copy { white-space: nowrap; font-size: clamp(16px, 1.8vw, 18px); }
}

@media screen and (max-width:760px) {
  .lm-unified-landing .hero-copy { font-size: 16px; max-width: 52ch; }
  .lm-unified-landing .landing-section h2 { font-size: 32px; }
  .lm-unified-landing .upload-card__body h2 { font-size: 24px; }
  .lm-unified-landing :is(.example-panel h3, .analysis-journey h3, .report-purchase h3,
    .proof-gallery-heading h3, .report-fragment figcaption h3) { font-size: 22px; }
  .lm-unified-landing .report-comparison table { font-size: 13px; }
  .lm-unified-landing .report-comparison thead th { font-size: 12px; }
  .lm-unified-landing .fragment-sheet { font-size: 16px; }
  .lm-unified-landing .fragment-sheet dl > div { font-size: 14px; }
  .mw-site.lm-unified-landing:not(.has-full-report) :is(.topbar, .native-footer) .wordmark {
    font-size: 26px;
  }
}

@media screen and (max-width:650px) {
  .lm-unified-landing :is(.upload-btn, .analyze-button, .report-purchase .offer-button),
  .mw-site.lm-unified-landing .report-purchase .offer-button { font-size: 14px; }
}

@media (prefers-reduced-motion:reduce) {
  .lm-unified-landing :is(.upload-btn, .analyze-button, .report-purchase .offer-button) { transition: none; }
}
