/* Compact layout contract: local fixes instead of clipping the page. */
*, *::before, *::after { box-sizing: border-box; }
html, body { max-width: 100%; }
body { overflow-x: visible; }
.wrapper, .main { overflow: visible !important; }
.section { margin-top: 28px !important; }
#possibilities.presentation-solution { margin-top: 28px !important; }
.presentation-advantages-section, .reviews-section, .faq-section { padding-block: 28px !important; }
.first-verse-section { padding: 28px 0 !important; }
.first-verse-section::after, .faq-section::after, .presentation-advantages-section::before { display: none !important; }
.faq-body, .faq-cnt { gap: 12px !important; }
.faq-item-cnt { padding: 0 16px !important; }
.faq-item-titles { min-height: 56px !important; gap: 12px !important; }
.faq-item-sub { padding-left: 44px !important; }
.faq-section .faq-block-titles { margin-bottom: 12px !important; }
.container, .landing-container { width: min(calc(100% - 32px), 1200px); max-width: 1200px; margin-inline: auto; }
p, h1, h2, h3, h4, a, span, li { overflow-wrap: break-word; }
img, video, svg { display: block; max-width: 100%; height: auto; }

/* One restrained type scale across the donor styles. */
h1, .hero-ai-title, .landing-hero h1 { font-size: clamp(32px, 4vw, 50px) !important; line-height: 1.08 !important; letter-spacing: -.03em !important; }
h2, .section-heading h2, .top-title { font-size: clamp(25px, 3vw, 36px) !important; line-height: 1.15 !important; }
h3, .hero-ai-title + h3, .faq-item-title { font-size: clamp(19px, 2vw, 24px) !important; line-height: 1.25 !important; }
p, .landing-lead, .hero-ai-text { font-size: 16px !important; line-height: 1.55 !important; }

/* Hero: no category/badge before the first meaningful heading. */
.hero-ai-badge, .landing-kicker, .breadcrumbs { display: none !important; }
.presentation-hero-section { margin-top: 76px !important; }
.presentation-hero-body { padding-top: 28px !important; padding-bottom: 28px !important; }
.hero-ai-block { padding: 28px !important; border-radius: 24px !important; }
.hero-ai-content { row-gap: 12px !important; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important; column-gap: 40px !important; }
.hero-ai-text { margin-top: 0 !important; }
.hero-ai-visual { margin-top: 18px !important; }
.hero-ai-actions { margin-top: 18px !important; gap: 10px !important; }
.hero-ai-btn, .landing-button, .btn-black, .btn-white, .btn-gradient { min-height: 38px !important; height: 38px; padding: 8px 16px !important; font-size: 14px !important; line-height: 20px !important; white-space: nowrap; min-width: 0 !important; width: auto !important; }

/* Landing pages: compact natural-height sections and cards. */
.landing-main { padding-top: 76px !important; }
.landing-hero { padding: 24px 0 28px !important; }
.landing-hero-grid { padding: 28px !important; gap: 24px !important; border-radius: 24px !important; }
.landing-section, .types-section { padding: 28px 0 !important; }
.section-heading { margin-bottom: 16px !important; }
.section-heading p { margin-top: 8px !important; }
.pain-grid, .benefit-grid, .audience-grid, .related-grid, .flow { gap: 12px !important; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)) !important; }
.pain-card, .benefit-card, .audience-card, .related-card, .flow article { padding: 16px 18px !important; min-height: 0 !important; }
.pain-card strong, .benefit-card strong, .audience-card strong { margin-bottom: 8px !important; font-size: 20px !important; }
.outline { gap: 10px !important; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)) !important; }
.outline li { padding: 12px 14px !important; }
.final-cta { padding: 28px 0 !important; }
.final-cta .landing-container { gap: 12px !important; }
.final-cta h2 { font-size: clamp(25px, 3vw, 36px) !important; margin-bottom: 8px !important; }
.final-cta p { max-width: 720px !important; }
.final-cta .landing-button { margin-top: 0 !important; flex: 0 0 auto; }
.footer { min-height: 0 !important; padding: 28px 0 !important; }
.footer-clue { margin-top: 18px !important; }

/* Closed-by-default, single-open FAQ. */
.faq details { padding: 12px 0 !important; }
.faq summary { position: relative; padding-right: 28px; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "⌄"; position: absolute; right: 2px; top: 0; transition: transform .18s ease; }
.faq details[open] summary::after { transform: rotate(180deg); }
.faq-item { cursor: pointer; }
.faq-item:focus-visible, .faq-item-titles:focus-visible { outline: 3px solid #6356fe; outline-offset: 4px; border-radius: 8px; }
.faq-item-sub { max-height: 0; overflow: hidden; opacity: 0; margin-top: 0 !important; transition: max-height .2s ease, opacity .16s ease, margin-top .2s ease; }
.faq-item.active .faq-item-sub { max-height: 240px; opacity: 1; margin-top: 10px !important; }
.faq-item-icon { transition: transform .18s ease; }
.faq-item.active .faq-item-icon { transform: rotate(45deg); }

@media (max-width: 900px) {
  .section { margin-top: 12px !important; }
  #possibilities.presentation-solution { margin-top: 12px !important; }
  .presentation-advantages-section { margin-top: 0 !important; }
  .presentation-hero-section { margin-top: 64px !important; }
  .hero-ai-content { display: flex !important; flex-direction: column; align-items: stretch; }
  .hero-ai-title, .hero-ai-text { max-width: 760px; }
  .hero-ai-actions { justify-content: flex-start !important; }
  .hero-ai-visual { order: 3; }
  .final-cta .landing-container { display: flex !important; flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) {
  .container, .landing-container { width: min(calc(100% - 24px), 1200px); }
  .presentation-hero-body { padding-top: 16px !important; }
  .hero-ai-block, .landing-hero-grid { padding: 20px 16px !important; border-radius: 18px !important; }
  .hero-ai-title, .landing-hero h1 { font-size: 30px !important; }
  .hero-ai-actions, .landing-actions { flex-wrap: wrap; }
  .hero-ai-btn, .landing-button { width: auto !important; }
}
@media (max-width: 340px) {
  .hero-ai-btn, .landing-button { max-width: 100%; white-space: normal; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
