/* Homepage presentation, with search results kept below the hero. */
.homepage .hero {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  padding-block: clamp(44px, 6vw, 80px);
  padding-top: calc(clamp(44px, 6vw, 80px) + 30px);
  text-align: left;
}
.homepage .hero-copy { max-width: none; margin: 0; text-align: left; }
body.homepage main > section { border-block: 0 !important; }
body.homepage .site-footer.marketing-footer { border-top: 0; }
body.homepage .marketing-footer-inner { padding-top: 24px; }
.homepage .hero-copy > .eyebrow { display: block; text-align: left; margin: 0 0 22px; min-height: 18px; }
.homepage .hero-copy > #hero-eyebrow { width: fit-content; }
.homepage .hero #hero-title { margin: 0 0 24px; }
.homepage .hero .promise { max-width: 35em; margin: 0; }
.homepage .hero-actions { justify-content: flex-start; margin-top: 28px; }
.homepage .eyebrow { font-size: 11px !important; font-weight: 600 !important; line-height: 1.5 !important; letter-spacing: .12em; color: #68717e !important; }
.hero-search { min-width: 0; padding: 10px; background: #f5f7fa; border: 1px solid #e6e8eb; border-radius: 26px; }
.hero-search .search-area { padding: clamp(20px, 2.5vw, 30px); border: 1px solid #e6e8eb; border-radius: 18px; background: #fff; }
.hero-search .hero-search-label { margin: 0 0 22px; max-width: 20em; text-align: left; font-size: clamp(1.3rem, 2vw, 1.65rem); font-weight: 500; line-height: 1.25; }
.hero-search #search-form { display: flex; align-items: center; gap: 6px; margin: 0; padding: 6px 6px 6px 14px; border: 1px solid #d9e0e8; border-radius: 999px; background: #f7f8fa; }
.hero-search #research-search { width: 100%; min-width: 0; padding: 7px 0; background: transparent; font-size: .875rem; }
.hero-search #search-form .button { flex: 0 0 auto; padding: 11px 16px; font-size: .875rem; }
.hero-search .search-icon { flex: 0 0 20px; font-size: 25px; }
.hero-search .search-hint { margin: 22px 0 0; }
.hero-search .suggestion-group { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; margin-inline: 0; padding-bottom: 0; }
.hero-search .suggestion-group > span { font-size: .8rem; color: #68717e; }
.hero-search #suggestions { display: flex; flex-wrap: wrap; gap: 8px; }
.hero-search #search-hint #suggestions { justify-content: flex-start; }
.hero-search #reset { position: static; margin: 12px 0 0; font-size: .8rem; }
.hero-search #suggestions button { min-height: 32px; margin: 0; padding: 6px 11px; border: 1px solid #e6e8eb; background: #fff; font-size: .8rem; }
.hero-search #suggestions button:hover { background: #edf5ff; border-color: #b8d8ff; }
.homepage #research-results { margin: 0 auto; padding: 0 0 40px; }
.homepage.discovery-idle #research-results .explorer-shell { display: none; }
.homepage #research-results .explorer-shell { margin-bottom: 24px; }
.homepage .intel-story-section, .homepage .brief-builder { padding-block: clamp(48px, 7vw, 88px); }
.home-section-intro { max-width: 760px; margin: 0 auto clamp(28px, 4vw, 48px); text-align: center; }
.home-section-intro .eyebrow { margin: 0 0 16px; }
.home-section-intro h2 { margin: 0 0 20px; }
.home-section-intro > p:last-child { max-width: 42em; margin: 0 auto; }
.homepage .coverage-guide { margin-top: 0; }
.homepage #coverage-guide-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; width: fit-content; max-width: 100%; margin: 0 auto 24px; padding: 5px; border: 1px solid #e6e8eb; border-radius: 28px; background: #f7f8fa; }
.homepage #coverage-guide-tabs button { min-height: 42px; padding: 10px 16px; border: 0; background: transparent; color: #536071; font-size: .875rem; font-weight: 500; }
.homepage #coverage-guide-tabs button[aria-selected="true"] { background: #2285ff; color: #fff; }
.homepage #coverage-guide-tabs button:hover:not([aria-selected="true"]) { background: #eaf0f7; }
.homepage .coverage-guide #intel-coverage-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 48px; min-height: 0; padding: clamp(24px, 3.5vw, 40px); border: 1px solid #d9e0e8; border-radius: 22px; background: #fff; }
.homepage .coverage-guide .intel-story, .homepage .coverage-guide .intel-depth { padding: 0; background: transparent; }
.homepage .coverage-guide .intel-story h3 { margin: 0 0 16px; font-size: clamp(1.5rem, 2.4vw, 1.9rem); font-weight: 500; line-height: 1.2; }
.homepage .coverage-guide .intel-story p { margin: 0; color: #536071; font-size: 1rem; line-height: 1.6; }
.homepage .intel-depth h4 { margin: 0 0 18px; font-size: .95rem; font-weight: 600; }
.homepage .intel-depth ul { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; margin: 0; padding: 0; list-style: none; }
.homepage .intel-depth li { padding: 12px 0; border-bottom: 1px solid #e6e8eb; font-size: .95rem; line-height: 1.5; }
.homepage .intel-depth li::before { display: none; }
.coverage-context { grid-column: 1 / -1; padding-top: 24px; border-top: 1px solid #e6e8eb; }
.homepage .coverage-context .intel-question { margin: 0 0 8px; color: #22262d; font-size: 1rem; font-weight: 500; }
.homepage .coverage-context .intel-context { margin: 0; max-width: 80ch; color: #536071; font-size: .875rem; line-height: 1.6; }
.homepage .intel-coverage-note { margin: 14px 0 0; padding: 0; border-top: 0; font-size: .8rem !important; text-align: center; }
.homepage .brief-builder { display: block; padding-inline: 0; border: 0; border-top: 1px solid #e6e8eb; border-radius: 0; background: #fff; }
.brief-builder-content { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(28px, 6vw, 80px); align-items: start; }
.homepage .brief-intro ol { margin: 0 0 24px; padding: 0; list-style: none; counter-reset: brief-step; }
.homepage .brief-intro li { position: relative; counter-increment: brief-step; margin: 0; padding: 8px 0 24px 46px; color: #536071; font-size: 1rem; line-height: 1.6; }
.homepage .brief-intro li::before { content: counter(brief-step); position: absolute; left: 0; top: 9px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #2285ff; color: #fff; font-size: .875rem; font-weight: 600; }
.homepage .brief-intro li b { display: block; margin-bottom: 6px; color: #22262d; font-size: 1.05rem; font-weight: 600; }
.homepage .brief-intro > .micro, .homepage .brief-coverage-note { font-size: .875rem !important; }
.homepage .brief-workspace { min-width: 0; padding: clamp(22px, 3vw, 32px); border: 1px solid #d9e0e8; border-radius: 22px; background: #fff; box-shadow: 0 0 0 8px #f5f7fa; }
.homepage .brief-workspace h3 { margin: 14px 0; font-size: 1.4rem; font-weight: 500; line-height: 1.25; }
.homepage .brief-workspace .micro { font-size: .875rem !important; line-height: 1.6 !important; }
.homepage .brief-stock-options { gap: 8px; margin-block: 22px; }
.homepage .brief-stock-options button { display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 6px 14px 6px 8px; font-size: .875rem; }
.brief-option-logo { position: relative; display: grid; place-items: center; flex: 0 0 26px; width: 26px; height: 26px; overflow: hidden; border-radius: 50%; background: #eef0f3; color: #68717e; font-size: 9px; font-weight: 600; }
.brief-option-logo img { position: absolute; width: 18px; height: 18px; object-fit: contain; background: #eef0f3; }
.homepage #brief-preview-results article { padding: 20px 0; border: 0; border-top: 1px solid #e6e8eb; border-radius: 0; }
.homepage .brief-preview-heading { font-size: 1.1rem; font-weight: 600; }
.homepage #brief-preview-button, .homepage #brief-account-button { min-height: 44px; font-size: .9rem; }
.homepage .final-app-cta { padding-block: clamp(40px, 6vw, 72px) 24px; text-align: left; }
.homepage .final-app-cta > .final-app-panel { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 28.8px; width: 100%; margin-inline: auto; padding: clamp(25.2px, 4.5vw, 57.6px); padding-block: clamp(24px, 3vw, 36px); border: 0; border-radius: 28px; background: linear-gradient(90deg, #f7f8fa 0%, #f7f8fa 42%, #dce0f4 100%); overflow: hidden; isolation: isolate; }
.final-app-copy { padding-bottom: 0; }
.final-app-copy .eyebrow { margin: 0 0 20px; }
.homepage .final-app-copy h2 { margin: 0 0 20px; }
.final-app-description { max-width: 32em; margin: 0 0 28px; color: #536071; font-size: 1rem; font-weight: 400; line-height: 1.6; }
.final-app-art { align-self: center; width: min(100%, 420px); aspect-ratio: 971 / 1340; margin: 0; justify-self: center; }
.final-app-art img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; filter: drop-shadow(18px 12px 14px rgb(52 65 105 / 24%)); animation: final-phone-float 7s ease-in-out infinite; animation-play-state: paused; }
.final-app-art.is-floating img { animation-play-state: running; }
@keyframes final-phone-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (prefers-reduced-motion: reduce) { .final-app-art img { animation: none; } }
@media (max-width: 900px) {
  .homepage .hero { grid-template-columns: 1fr; gap: 32px; }
  .homepage .hero-copy { max-width: 650px; }
  .hero-search { width: 100%; }
}
@media (max-width: 700px) {
  .homepage .final-app-cta > .final-app-panel { grid-template-columns: 1fr; gap: 12px; }
  .homepage .final-app-cta > .final-app-panel { background: linear-gradient(160deg, #f7f8fa 0%, #f7f8fa 38%, #dce0f4 100%); }
  .final-app-copy { padding-bottom: 16px; }
  .final-app-art { width: min(100%, 340px); margin: 0 auto; }
  .brief-builder-content, .homepage .coverage-guide #intel-coverage-panel { grid-template-columns: 1fr; }
  .homepage .coverage-guide #intel-coverage-panel { gap: 24px; }
  .homepage .brief-workspace { box-shadow: none; }
  .homepage .hero { padding-top: 68px; }
}
