:root {
  --correction-green: #004d3b;
  --correction-gold: #c59a45;
  --correction-ivory: #f7f3e9;
  --correction-text: #242b28;
}

/* Founder: component-scoped contrast and accessible visual numbering. */
body[data-page="despre"] .founder7-proof {
  padding: 3px 0 3px 15px !important;
  border: 0 !important;
  border-left: 2px solid var(--correction-gold) !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--correction-ivory) !important;
  font-style: normal;
  font-weight: 650;
  box-shadow: none !important;
  opacity: 1 !important;
}

body[data-page="despre"] .founder7-results .founder7-checks {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

body[data-page="despre"] .founder7-results .founder7-checks li {
  min-height: 92px;
  border: 1px solid rgba(197, 154, 69, .72) !important;
  background: #fff !important;
  color: var(--correction-text) !important;
  opacity: 1 !important;
  visibility: visible !important;
  text-shadow: none !important;
}

body[data-page="despre"] .founder7-results .founder7-checks li::before {
  border-color: var(--correction-gold) !important;
  background: var(--correction-gold) !important;
  opacity: 1 !important;
}

body[data-page="despre"] #founder-personal-title {
  color: var(--correction-green) !important;
  font-family: var(--serif) !important;
  opacity: 1 !important;
  visibility: visible !important;
  text-shadow: none !important;
}

/* Home: two stable desktop title lines and visually smaller play controls. */
@media (min-width: 1100px) {
  body[data-page="index"] .hero .hero-prelude {
    max-width: none !important;
    font-size: clamp(44px, 4.05vw, 60px) !important;
  }

  body[data-page="index"] .hero .hero-prelude > span {
    white-space: nowrap;
  }
}

body[data-page="index"] .story-play {
  width: 48px !important;
  height: 48px !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  isolation: isolate;
}

body[data-page="index"] .story-play::before {
  content: "";
  position: absolute;
  inset: 4px;
  z-index: -1;
  border: 1px solid var(--correction-gold);
  border-radius: 50%;
  background: var(--correction-green);
  box-shadow: 0 5px 16px rgba(0, 39, 30, .28);
}

body[data-page="index"] .story-play svg {
  position: relative;
  z-index: 1;
  width: 16px !important;
  height: 16px !important;
  color: var(--correction-ivory);
}

/* Methodology: keep numbers, remove decorative discs and double borders. */
body[data-page="metodologia"] .method-manual-hero h1 {
  max-width: 15ch;
  font-size: clamp(42px, 4.2vw, 54px);
}

body[data-page="metodologia"] :is(.method-toc-number, .method-chapter-number, .method-phase-number, .method-principle strong) {
  display: block !important;
  width: auto !important;
  height: auto !important;
  min-width: 0 !important;
  flex: 0 0 auto !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--correction-gold) !important;
  text-shadow: none !important;
  box-shadow: none !important;
  animation: none !important;
}

body[data-page="metodologia"] .method-phase {
  grid-template-columns: 32px minmax(0, 1fr) !important;
  border: 1px solid rgba(197, 154, 69, .66) !important;
  outline: 0 !important;
  box-shadow: none !important;
}

body[data-page="metodologia"] .method-principle {
  grid-template-columns: 30px minmax(0, 1fr) !important;
}

body[data-page="metodologia"] :is(.method-manual-highlight, .method-manual-note) {
  border: 1px solid var(--correction-gold) !important;
  box-shadow: 0 10px 24px rgba(0, 77, 59, .08) !important;
}

/* Services: explanatory copy uses the normal body voice. */
body[data-page="servicii"] .services-premium-positioning p {
  color: var(--correction-text) !important;
  font-family: var(--sans) !important;
  font-style: normal !important;
  font-weight: 400;
}

/* Contact: deliberate whitespace between the emerald introduction and form grid. */
body[data-page="contact"] .contact-qualification-hero {
  margin-bottom: 0 !important;
  padding-bottom: 40px !important;
}

body[data-page="contact"] .contact-qualification-main {
  padding-top: 56px !important;
}

body[data-page="contact"] :is(.contact-qualification-form-card, .contact-clarity-card) {
  align-self: start;
}

@media (max-width: 960px) {
  body[data-page="despre"] .founder7-results .founder7-checks {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 700px) {
  body[data-page="despre"] .founder7-results .founder7-checks {
    grid-template-columns: 1fr !important;
  }

  body[data-page="index"] .story-play {
    width: 44px !important;
    height: 44px !important;
  }

  body[data-page="index"] .story-play::before {
    inset: 4px;
  }

  body[data-page="index"] .story-play svg {
    width: 14px !important;
    height: 14px !important;
  }

  body[data-page="metodologia"] .method-manual-hero h1 {
    max-width: none;
    font-size: clamp(36px, 10.5vw, 48px);
  }

  body[data-page="contact"] .contact-qualification-hero {
    padding-bottom: 24px !important;
  }

  body[data-page="contact"] .contact-qualification-main {
    padding-top: 32px !important;
  }
}

