/*
 * Homepage professional parity pass.
 * This file is intentionally loaded after the legacy inline styles so the
 * current public homepage has one clear source of truth for its closing half.
 */

:root {
  --fr-ink: #0a0c0f;
  --fr-paper: #eeece6;
  --fr-silver: #d8d9d8;
  --fr-line-dark: rgba(242, 239, 232, .17);
  --fr-line-light: rgba(17, 19, 22, .18);
}

/* Product story: a real operating loop, not three floating labels. */
.product-proof-foot { display: none !important; }

.product-proof-sequence {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(242, 239, 232, .14);
  background: #0d1014;
}

.product-proof-sequence > div {
  min-height: 164px;
  padding: 28px 30px 30px;
  border-right: 1px solid rgba(242, 239, 232, .14);
}

.product-proof-sequence > div:last-child { border-right: 0; }

.product-proof-sequence strong {
  display: block;
  max-width: 18ch;
  margin-bottom: 12px;
  color: #f2efe8;
  font-size: 17px;
  line-height: 1.25;
}

.product-proof-sequence span {
  display: block;
  color: #989b9f;
  font-size: 14px;
  line-height: 1.58;
}

.confidence-line span {
  display: flex;
  min-height: 132px;
  padding: 25px 24px !important;
  flex-direction: column;
  justify-content: flex-start;
  color: #61656a;
  font-size: 13px;
  line-height: 1.48;
}

.confidence-line span:first-child { padding-left: 0 !important; }

.confidence-line strong {
  display: block;
  margin-bottom: 8px;
  color: #171816;
  font-size: 15px;
  line-height: 1.3;
}

/* Why AI: the adoption proof should read at a glance. */
.why-ai { padding: clamp(82px, 10vw, 132px) 0; }

.why-ai-panel { align-items: start; }

.why-ai-evidence {
  max-width: none;
  padding-top: 0;
  border-top: 0;
}

.why-ai-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 30px;
  border-top: 1px solid var(--fr-line-dark);
  border-bottom: 1px solid var(--fr-line-dark);
}

.why-ai-facts > div {
  padding: 24px 24px 24px 0;
  border-right: 1px solid var(--fr-line-dark);
}

.why-ai-facts > div:last-child { padding-left: 24px; border-right: 0; }

.why-ai-facts strong {
  display: block;
  margin-bottom: 8px;
  font-family: "Iowan Old Style", Baskerville, "Times New Roman", serif;
  font-size: clamp(48px, 5vw, 72px);
  font-weight: 400;
  letter-spacing: -.045em;
  line-height: .94;
}

.why-ai-facts span {
  color: #aaa69e;
  font-size: 13px;
  line-height: 1.4;
}

/* Evidence: four records, intentionally composed as a balanced 2 × 2 field. */
#evidence .process-grid { align-items: stretch; }
#evidence .step { display: flex; min-height: 230px; flex-direction: column; }
#evidence .step .step-more { margin-top: auto; padding-top: 26px; }

/* FAQ: editorial rules instead of a grid of generic dark cards. */
#faq .faq-grid {
  display: block;
  border-top: 1px solid var(--fr-line-dark);
}

#faq .faq-item,
#faq .faq-item:hover,
#faq .faq-item:focus-within,
#faq .faq-item.is-open {
  position: relative;
  padding: 0;
  border: 0;
  border-bottom: 1px solid var(--fr-line-dark);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transform: none;
}

#faq .faq-item::before { display: none !important; }

#faq .faq-question {
  min-height: 96px;
  padding: 24px 4px 24px 0;
  color: #efece5;
  font-family: "Iowan Old Style", Baskerville, "Times New Roman", serif;
  font-size: clamp(25px, 2.4vw, 34px);
  font-weight: 400;
  letter-spacing: -.025em;
  line-height: 1.15;
}

#faq .faq-icon {
  width: auto;
  height: auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #aaa69e;
  font-family: Arial, sans-serif;
  font-size: 24px;
  font-weight: 300;
}

#faq .faq-answer-inner { padding: 0 54px 30px 0; }
#faq .faq-item .faq-answer p { max-width: 900px; font-size: 16px; line-height: 1.72; }

/* One CTA hierarchy below the hero. */
.cta-band { padding: clamp(78px, 10vw, 130px) 0; }

.cta-band .cta-panel {
  padding: clamp(36px, 5vw, 68px) 0;
  border: 0;
  border-top: 1px solid var(--fr-line-dark);
  border-bottom: 1px solid var(--fr-line-dark);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.cta-band .cta-panel h2 {
  max-width: 12ch;
  font-family: "Iowan Old Style", Baskerville, "Times New Roman", serif;
  font-size: clamp(44px, 5.4vw, 76px);
  font-weight: 400;
  letter-spacing: -.04em;
  line-height: .98;
}

.cta-band .cta-panel p { max-width: 560px; color: #aaa69e; font-size: 16px; line-height: 1.6; }

.cta-band .button,
.cta-band .button::before,
.cta-band .button::after { box-shadow: none !important; }

.cta-band .button::before { display: none !important; }

.cta-band .button::after {
  width: auto !important;
  height: auto !important;
  margin-left: 10px;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}

.cta-band .button {
  min-height: 56px;
  padding: 0 22px;
  border-radius: 3px;
}

/* Footer: useful, quiet, and complete. */
footer { padding: 0; border-top: 1px solid var(--fr-line-dark); background: #080a0d; }

.footer-inner {
  display: grid;
  grid-template-columns: minmax(260px, .8fr) minmax(0, 1.45fr);
  gap: 70px clamp(50px, 8vw, 120px);
  padding-top: clamp(58px, 7vw, 92px);
  padding-bottom: 30px;
}

.footer-brand strong {
  display: block;
  color: #efece5;
  font-size: 19px;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.footer-brand p { max-width: 390px; margin: 24px 0 18px; color: #aaa69e; font-size: 15px; line-height: 1.65; }
.footer-brand > span { color: #74787e; font-size: 13px; }

.footer-nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
.footer-nav > div { display: flex; flex-direction: column; align-items: flex-start; gap: 11px; }
.footer-nav strong { margin-bottom: 7px; color: #efece5; font-size: 13px; }
.footer-nav a { color: #8f9297; font-size: 13px; text-decoration: none; }
.footer-nav a:hover, .footer-nav a:focus-visible { color: #f2efe8; }

.footer-bottom {
  display: flex;
  grid-column: 1 / -1;
  align-items: center;
  gap: 22px;
  padding-top: 24px;
  border-top: 1px solid var(--fr-line-dark);
  color: #64686e;
  font-size: 12px;
}

.footer-bottom > a { color: #74787e; text-decoration: none; }
.footer-bottom .footer-socials { margin-left: auto; }
.footer-bottom .logo-attribution { margin-left: 4px; color: #55595f; }

@media (max-width: 900px) {
  .product-proof-sequence { grid-template-columns: minmax(0, 1fr); }
  .product-proof-sequence > div { min-height: 0; border-right: 0; border-bottom: 1px solid var(--fr-line-dark); }
  .product-proof-sequence > div:last-child { border-bottom: 0; }
  .footer-inner { grid-template-columns: minmax(0, 1fr); gap: 48px; }
}

@media (max-width: 760px) {
  .brand,
  .nav-toggle,
  .mobile-nav-toggle,
  .product-proof-intro .text-link,
  .why-ai-source,
  .fit-note .button,
  .research-hub-link,
  .footer-nav a,
  .footer-bottom > a,
  .footer-bottom .social-link,
  .footer-bottom .logo-attribution {
    min-height: 44px;
  }

  .brand,
  .product-proof-intro .text-link,
  .why-ai-source,
  .research-hub-link,
  .footer-nav a,
  .footer-bottom > a,
  .footer-bottom .social-link,
  .footer-bottom .logo-attribution {
    display: inline-flex;
    align-items: center;
  }

  .nav-toggle,
  .mobile-nav-toggle { width: 44px; height: 44px; min-height: 44px; }

  .product-proof-sequence > div { padding: 24px 22px 26px; }
  .confidence-line span,
  .confidence-line span:first-child { min-height: 0; padding: 19px 0 !important; }

  .why-ai { padding: 72px 0 76px; }
  .why-ai-facts { margin-top: 2px; }
  .why-ai-facts > div { padding: 20px 18px 20px 0; }
  .why-ai-facts > div:last-child { padding-left: 18px; }
  .why-ai-facts strong { font-size: 45px; }

  #evidence .step { min-height: 0; }
  #faq .faq-question { min-height: 80px; padding: 20px 0; font-size: 25px; }
  #faq .faq-answer-inner { padding: 0 30px 25px 0; }

  .cta-band .cta-panel { gap: 34px; }
  .cta-band .cta-panel h2 { font-size: clamp(46px, 13vw, 58px); }
  .cta-band .cta-actions { align-items: stretch; flex-direction: column; }
  .cta-band .button { width: 100%; }

  .footer-inner { gap: 42px; padding-top: 54px; }
  .footer-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 24px; }
  .footer-nav > div { gap: 0; }
  .footer-nav > div:last-child { grid-column: 1 / -1; }
  .footer-bottom { align-items: flex-start; flex-wrap: wrap; }
  .footer-bottom .footer-socials { width: 100%; margin-left: 0; }
  .footer-bottom .logo-attribution { margin-left: auto; }
}
