/* Homepage art direction. Shared documentation styles remain in styles.css. */
.home-page { --text-faint: var(--text-muted); }
.home-page .site-bg { position: absolute; height: 820px; bottom: auto; z-index: 0; background: none; }
.home-page .site-grid { background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 100px 100px; opacity: .035; mask-image: radial-gradient(ellipse at 78% 30%, black, transparent 65%); }
.home-page main, .home-page .site-footer { position: relative; }
.home-page .brand-orbit { width: 650px; top: 160px; right: -140px; opacity: .32; }
.home-page .site-bg::after { top: 10px; right: -150px; width: 860px; }
.home-page .site-header { background: var(--header); }
.home-page .site-header__inner { height: 80px; }
.home-page .brand--adaptive { gap: 9px; }
.home-page .site-header.is-compact .brand-wordmark__fold { max-width: 3em; opacity: 1; transform: none; }
.home-page .site-header.is-compact .brand-wordmark__suffix { max-width: 2.6em; opacity: 1; transform: none; }
.home-page .desktop-nav { gap: 24px; }
.home-page .desktop-nav a { color: var(--text-secondary); }
.home-page .header-cta { background: var(--accent); color: var(--accent-ink); border-radius: 8px; min-height: 38px; }
.home-page .hero { padding: 60px 0 42px; gap: 48px; grid-template-columns: 1fr 1.05fr; }
.home-page h1 { font-size: clamp(34px, 3.7vw, 50px); line-height: 1.22; letter-spacing: -.05em; font-weight: 650; }
.home-page .brand-note { height: 106px; margin: 25px 0 0; padding-top: 18px; }
.home-page .brand-note__backronym { font-size: 16px; }
.home-page .brand-note.is-letters:not(.is-expanded) .brand-note__backronym { font-size: 25px; }
.home-page .brand-note__copy { font-size: 12px; }
.home-page .hero__actions { margin-top: 20px; }
.home-page .hero-preview { background: var(--canvas); box-shadow: 0 20px 65px #0000000c, 0 3px 8px #00000005; border-radius: 18px; }
[data-theme="dark"] .home-page .hero-preview { background: #111312; box-shadow: 0 25px 70px #0005; }
.home-page .hero-preview__bar { background: var(--surface-soft); height: 43px; }
.preview-modes { display: flex; gap: 20px; align-items: center; padding: 16px 20px 0; font-size: 12px; font-weight: 650; }
.preview-modes__active { border-bottom: 2px solid var(--text); padding-bottom: 10px; }
.preview-modes a { color: var(--text-muted); padding-bottom: 10px; }
.preview-modes small { margin-left: auto; align-self: start; color: var(--text-muted); font-size: 10px; font-weight: 400; }
.home-page .hero-preview__models { padding: 14px 20px; }
.home-page .model-chips { flex-wrap: wrap; gap: 7px 3px; }
.home-page .model-chip { padding: 0 8px; min-height: 35px; }
.home-page .hero-preview__body { min-height: 216px; padding: 24px 20px; gap: 26px; }
.home-page .hero-preview__user { margin-left: 44px; border-radius: 12px 12px 3px 12px; padding: 12px 15px; }
.home-page .hero-preview__answer { position: relative; padding-left: 40px; }
.preview-avatar { position: absolute; left: 0; top: 0; border-radius: 7px; }
.home-page .hero-preview__answer-label { color: var(--text-muted); margin-bottom: 8px; }
.home-page .hero-preview__composer { margin: 0 16px 16px; padding: 12px; background: var(--surface-soft); }
.home-page .section { padding-top: 76px; }
.home-page .section-head { margin-bottom: 36px; }
.home-page .section-lead { font-size: 15px; max-width: 640px; }
.home-page .eyebrow { font-size: 12px; letter-spacing: .07em; }
.home-page .capability-grid { gap: 32px; border: 0; }
.home-page .capability { padding: 0 0 28px; border: 0; border-bottom: 1px solid var(--line); }
.capability-art { height: 110px; position: relative; overflow: hidden; margin-bottom: 22px; border-radius: 12px; background: var(--surface-soft); }
.capability-art b { position: absolute; right: 22px; bottom: 9px; font-size: 62px; letter-spacing: -.07em; font-weight: 500; opacity: .12; }
.capability-art--chat { border: 1px solid var(--line-soft); }
.capability-art--chat > span { position: absolute; left: 24px; top: 18px; font-size: 43px; color: var(--text-muted); }
.capability-art--chat i { position: absolute; left: 88px; top: 40px; width: 42%; height: 8px; background: var(--line); border-radius: 4px; }
.capability-art--chat i:nth-of-type(2) { top: 62px; width: 30%; }
.capability-art--chat i:nth-of-type(3) { top: 84px; width: 36%; }
.capability-art--image { background: var(--inverse); color: var(--inverse-ink); }
.capability-art--image i { position: absolute; width: 116px; height: 116px; border: 1px solid currentColor; border-radius: 50%; left: 28px; top: 16px; opacity: .55; }
.capability-art--image i:nth-child(2) { left: 82px; border-radius: 4px; transform: rotate(-14deg); opacity: .3; }
.capability-art--image > span { position: absolute; right: 22px; top: 15px; font-size: 24px; opacity: .65; }
.home-page .capability__list { gap: 9px; }
.home-page .capability__list li { font-size: 13px; }
.home-page .family-grid { gap: 16px; border: 0; }
.home-page .family { display: flex; flex-direction: column; padding: 25px; border: 1px solid var(--line-soft); border-radius: 12px; background: var(--surface-soft); }
.home-page .family__head { gap: 14px; margin-bottom: 18px; }
.home-page .family__icon { width: 32px; height: 32px; }
.home-page .family__icon img { width: 100%; height: 100%; object-fit: contain; border-radius: 7px; }
.home-page .family__name { font-size: 18px; }
.home-page .family__tag { color: var(--text); font-size: 14px; margin-bottom: 9px; }
.home-page .family__models { order: 4; padding-top: 18px; margin: auto 0 0; font-size: 11px; }
.home-page .family__desc { margin-bottom: 12px; }
.home-page .gallery { gap: 18px; grid-template-columns: repeat(4, 1fr); }
.home-page .gallery__frame { position: relative; aspect-ratio: 5/4; border-radius: 3px; background: var(--surface); }
.home-page .gallery__frame svg { position: relative; width: 64%; height: 64%; stroke: currentColor; stroke-width: 1.2; opacity: .75; }
.gallery__composition { position: absolute; width: 72%; height: 64%; border: 1px solid var(--line); border-radius: 50% 50% 0 0; top: 24%; }
.home-page .gallery__frame--2 { background: var(--canvas); }
.gallery__frame--2 .gallery__composition { border-radius: 50%; width: 110%; height: 75%; top: 40%; background: var(--surface-soft); }
.home-page .gallery__frame--3 { background: var(--inverse); color: var(--inverse-ink); }
.gallery__frame--3 .gallery__composition { transform: rotate(-13deg); border: 1px solid currentColor; border-radius: 0; opacity: .3; }
.gallery__frame--4 .gallery__composition { border-radius: 0; transform: translate(30%, 20%) rotate(30deg); background: var(--surface-strong); }
.home-page .gallery__title { font-size: 14px; }
.home-page .gallery__desc { font-size: 12px; }
.home-page #credits { margin-top: 76px; padding: 30px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line-soft); }
.home-page #credits .section-head { max-width: 100%; }
.home-page #credits h2 { font-size: 30px; }
.home-page #credits .section-foot { margin-top: 12px; }
.home-page .guide-grid { gap: 24px; }
.home-page .guide-card { padding: 0 0 22px; background: none; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; gap: 14px; }
.home-page .guide-card h3 { font-size: 22px; line-height: 1.4; }
.home-page .guide-card__meta { align-self: end; }
.guide-card__meta::after { content: '↗'; float: right; color: var(--text); font-size: 17px; }
.home-page #faq { display: grid; grid-template-columns: 1fr 2fr; gap: 32px; margin-top: 36px; }
.reading-faq h3 { font-size: 18px; padding-top: 18px; }
.home-page .reading-faq .faq__item summary { font-size: 14px; padding-top: 16px; padding-bottom: 16px; }
.home-page .final-cta { align-items: center; margin-top: 52px; padding: 32px 0; }
.home-page .final-cta h2 { font-size: 32px; max-width: 20em; line-height: 1.3; }
.home-page .site-footer { padding-top: 42px; content-visibility: visible; }
.home-page .site-footer__links a { line-height: 1.9; }
.home-page .site-footer__identity { grid-column: 1; grid-row: 1; }
.site-footer__contact { grid-column: 1; grid-row: 1; align-self: start; margin-top: 38px; max-width: 340px; color: var(--text-muted); font-size: 12px; line-height: 1.8; }
.site-footer__contact-label { font-size: 11px; font-weight: 600; }
.site-footer__contact p { margin: 5px 0 0; }
.site-footer__contact a { display: inline-block; color: var(--text-secondary); text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; }
.site-footer__contact a:hover { color: var(--text); text-decoration-color: currentColor; }
/* Content remains readable before scroll observers run and in full-page captures. */
.home-page .reveal { opacity: 1; transform: none; }
@media (max-width: 1100px) {
  .home-page .hero { gap: 30px; }
  .home-page .gallery { grid-template-columns: repeat(4, 1fr); }
  .home-page .family { padding: 22px; }
  .preview-modes small { max-width: 120px; text-align: right; }
}
@media (max-width: 860px) {
  .home-page .site-header__inner { height: 68px; }
  .home-page .hero { grid-template-columns: 1fr; padding: 45px 0 16px; gap: 32px; }
  .home-page h1 { max-width: 17em; font-size: 42px; }
  .home-page .brand-orbit { top: 420px; right: -190px; width: 540px; }
  .home-page .section { padding-top: 52px; }
  .home-page .capability-grid { gap: 30px; }
  .home-page .capability { padding: 0 0 25px; }
  .home-page #credits { margin-top: 52px; padding: 26px 0; }
  .home-page .guide-grid { grid-template-columns: 1fr; }
  .home-page .guide-card { grid-template-columns: 1fr; }
  .home-page #faq { grid-template-columns: 1fr; gap: 0; }
  .preview-modes small { max-width: none; }
}
@media (max-width: 560px) {
  .home-page h1 { font-size: clamp(28px, 7.7vw, 40px); line-height: 1.3; letter-spacing: -.05em; }
  .home-page .hero__actions { flex-wrap: nowrap; gap: 8px; }
  .home-page .hero__actions .button { width: auto; flex: 1; padding: 0 10px; gap: 8px; font-size: 12px; }
  .home-page .hero__note { font-size: 11px; line-height: 1.8; }
  .home-page .brand-note { height: 96px; margin-top: 20px; }
  .home-page .brand-note__backronym { font-size: 14px; }
  .home-page .hero-preview__body { min-height: 215px; padding: 20px 15px; }
  .home-page .hero-preview__models { padding: 12px; }
  .home-page .model-chip { min-height: 40px; font-size: 11px; }
  .preview-modes { padding: 14px 15px 0; gap: 16px; }
  .preview-modes small { max-width: 105px; font-size: 9px; }
  .home-page .hero-preview__composer { font-size: 11px; }
  .home-page .section-head { margin-bottom: 26px; }
  .home-page h2 { font-size: 28px; line-height: 1.3; }
  .home-page .section-lead { font-size: 14px; line-height: 1.85; }
  .home-page .family-grid { grid-template-columns: 1fr; gap: 12px; }
  .home-page .family { padding: 21px; }
  .home-page .family__head { margin-bottom: 13px; }
  .home-page .family__models { padding-top: 9px; }
  .home-page .gallery { grid-template-columns: 1fr 1fr; gap: 22px 12px; }
  .home-page #credits { padding: 24px 0; }
  .home-page #credits h2 { font-size: 27px; }
  .home-page .guide-card { grid-template-columns: 1fr; gap: 10px; }
  .home-page .guide-card h3 { font-size: 18px; }
  .home-page .guide-card p { font-size: 13px; }
  .home-page .final-cta h2 { font-size: 28px; }
  .home-page .site-footer__links { gap: 28px 16px; }
}

/* A small process line supports the capabilities, without repeating their descriptions. */
.quick-flow { display: flex; flex-wrap: wrap; gap: 14px 24px; margin: 22px 0 0; padding: 0; list-style: none; color: var(--text-muted); font-size: 12px; }
.quick-flow li:not(:last-child)::after { content: '→'; margin-left: 24px; opacity: .6; }
.home-page #credits .section-head { margin-bottom: 12px; }
.credits-settlement { max-width: 640px; margin-bottom: 20px; }
@media (max-width: 560px) {
  .quick-flow { gap: 10px; font-size: 11px; }
  .quick-flow li:not(:last-child)::after { margin-left: 10px; }
  .home-page .capability-art { height: 88px; }
  .home-page #faq { gap: 0; }
  .home-page .guide-card { padding-bottom: 18px; }
}
