/* Task #20260905 | 2026-09-05 | George | Give public buyers a readable service promise and optional consultation within the shared navigation. */
body[data-site-page="home"], body[data-site-page="contact"] {
  color-scheme: light;
  --text: #182231;
  --muted: #536074;
  --brand: #1557ff;
  --line: #dce2eb;
  margin: 0;
  color: var(--text);
  background: #f9fafb;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}
.home-public, .contact-public, .home-public *, .contact-public * { box-sizing: border-box; }
.home-public, .contact-public { width: 100%; min-width: 0; }
.home-public { padding-block: clamp(2rem, 5vw, 4.5rem); }
.home-public a, .contact-public a { text-underline-offset: .2em; }
.home-public :focus-visible, .contact-public :focus-visible { outline: 3px solid #1557ff; outline-offset: 4px; }
.home-public [hidden] { display: none !important; }
.home-intro { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: clamp(2rem, 4vw, 4rem); align-items: center; }
.home-eyebrow { margin: 0 0 .9rem; color: #405477; font-size: .78rem; font-weight: 750; letter-spacing: .065em; text-transform: uppercase; }
body[data-site-page="home"] .home-public h1 { max-width: 17ch; margin: 0; color: #142031; font-size: clamp(2.2rem, 3.6vw, 3.5rem); font-weight: 650; line-height: 1.1; letter-spacing: -.035em; }
.home-public h2 { margin: 0; color: #142031; font-size: clamp(1.5rem, 2.3vw, 2rem); line-height: 1.2; letter-spacing: -.025em; }
.home-public h3 { margin: .75rem 0 .6rem; font-size: 1.1rem; line-height: 1.35; }
.home-public p, .home-public dd, .home-public li { line-height: 1.65; }
.home-lead { max-width: 56ch; margin: 1.4rem 0 1rem; color: #46566b; font-size: 1.08rem; }
.home-systems { color: #405477; font-size: .86rem; }
.home-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem; margin-block: 1.65rem 1rem; }
.home-button { display: inline-flex; align-items: center; justify-content: center; gap: .8rem; min-height: 48px; padding: .8rem 1.2rem; border: 1px solid #1557ff; border-radius: 10px; font-size: .9rem; font-weight: 700; text-align: center; text-decoration: none; }
.home-button--primary { color: #fff; background: #1557ff; }
.home-button--primary:hover { color: #fff; background: #1046cf; }
.home-text-link { display: inline-block; color: #174fae; font-size: .9rem; font-weight: 650; }
.home-small { color: #5d6878; font-size: .8rem; }
.home-responsibility { padding: clamp(1.4rem, 3vw, 2rem); border: 1px solid #dce3ee; border-radius: 20px; background: #fff; }
.home-responsibility dl { margin-block: 1.5rem; }
.home-responsibility dl > div { display: grid; grid-template-columns: 7rem minmax(0, 1fr); gap: .75rem; padding-block: 1rem; border-bottom: 1px solid #e7ebf0; }
.home-responsibility dt { color: #203149; font-size: .87rem; font-weight: 750; }
.home-responsibility dd { margin: 0; color: #536074; font-size: .88rem; }

/* Task #20260905 | 2026-09-05 | George | Offer distinct customer paths and a plainly labeled sample release review. */
.home-section { margin-top: clamp(3rem, 6vw, 5rem); scroll-margin-top: 6rem; }
.home-section-heading { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; }
.home-paths { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.home-path { display: flex; flex-direction: column; padding: 1.5rem; border: 1px solid #dce3ee; border-radius: 14px; color: inherit; background: #fff; text-decoration: none; }
.home-path:hover { border-color: #90a9d6; background: #f5f8ff; }
.home-path p { margin: 0 0 1.2rem; color: #536074; font-size: .94rem; }
.home-path-link { margin-top: auto; color: #174fae; font-size: .87rem; font-weight: 700; }
.home-step { color: #3162ad; font-size: .8rem; font-weight: 750; font-variant-numeric: tabular-nums; }
.home-walkthrough { padding: clamp(1.3rem, 3vw, 2rem); border-radius: 18px; background: #edf2f8; }
.home-sample-label { color: #4b5a6c; font-size: .77rem; }
.home-description { max-width: 72ch; margin-block: .9rem 1.5rem; color: #536074; }
.home-delivery-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; margin: 1.7rem 0; padding: 0; list-style: none; }
.home-delivery-steps p { color: #4b5a6c; font-size: .88rem; }
.home-evidence { border-top: 1px solid #cbd7e6; }
.home-evidence summary { min-height: 48px; padding: 1rem 0; color: #174fae; font-weight: 700; cursor: pointer; }
.home-evidence > div { max-width: 75ch; padding-bottom: .5rem; color: #41536b; }
.home-next-step { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 2rem; align-items: center; padding-top: 2rem; border-top: 1px solid #dce3ee; }
.home-next-step p { max-width: 70ch; color: #536074; }
.home-next-step > div:last-child { display: grid; justify-items: start; gap: 1.1rem; }

/* Task #20260905 | 2026-09-05 | George | Keep the authenticated consultant usable in a bounded section without hiding the public homepage. */
.home-public .hero-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 2rem; align-items: start; }
.home-public .hero-copy { min-width: 0; }
.home-public .hero-marketing { padding: 1.5rem; border-left: 3px solid #c9d8ee; color: #536074; }
.home-public .hero-marketing h3 { margin-top: 0; color: #203149; }
.home-public .hero-marketing ol { padding-left: 1.25rem; }
.home-public .consultant-shell { --consultant-stage-width: 100%; --consultant-active-height: 650px; width: 100%; max-width: none; }
.home-public .consultant-shell[data-consultant-chat-state="active"] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto auto; min-height: 0; border: 1px solid #dce3ee; border-radius: 18px; overflow: hidden; background: #fff; }
.home-public .consultant-header { position: relative; inset: auto; display: flex; grid-row: 1; justify-self: stretch; justify-content: flex-end; margin: 0; padding: .5rem .75rem; }
.home-public .consultant-shell[data-consultant-chat-state="idle"] .consultant-header { display: none; }
.home-public .consultant-header-actions { opacity: 1; pointer-events: auto; box-shadow: none; }
.home-public .consultant-conversation { grid-row: 2; min-height: 0; padding: .8rem 1rem; }
.home-public .consultant-quick { grid-row: 3; padding-inline: 1rem; }
.home-public .consultant-composer { position: static; grid-row: 4; padding: .75rem; background: transparent; }
/* Task #20260906-consultant-otp | 2026-09-06 | George | Lock public-page scrolling while its separate consultation dialog is open. */
body[data-consultant-verification-open] { overflow: hidden; }
.home-public .consultant-compose-surface { grid-template-columns: minmax(0, 1fr) auto auto; box-shadow: none; }
/* Task #20260906-consultant-otp | 2026-09-06 | George | Keep the idle composer visible before consultation verification. */
.home-public .consultant-shell[data-consultant-chat-state="idle"] .consultant-compose-surface { display: grid; }
.home-public .consultant-shell[data-consultant-chat-state="active"] .consultant-compose-surface textarea { grid-column: 1; }
.home-public .consultant-runtime { grid-column: 2; }
.home-public .consultant-send { grid-column: 3; }
.home-public .consultant-auth-gate { padding: 1.1rem; box-shadow: none; }
.home-public .consultant-auth-gate-copy strong { color: #203149; }
.home-public .consultant-auth-gate-copy > span { color: #536074; }
.home-public .consultant-auth-gate-action { min-height: 44px; }
.home-public .consultant-note { color: #536074; font-size: .78rem; line-height: 1.6; }
.home-public .consultant-note a { color: #174fae; }
.home-public .consultant-outcome-panel { height: auto; max-height: 650px; box-shadow: none; }

/* Task #20260905 | 2026-09-05 | George | Let mobile buyers read, navigate, and chat without compressed multi-column panels. */
@media (max-width: 1100px) {
  .home-intro { grid-template-columns: 1fr; }
  .home-public h1 { max-width: 22ch; }
  .home-responsibility dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
  .home-responsibility dl > div { grid-template-columns: 1fr; }
  .home-delivery-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .home-paths, .home-next-step, .home-public .hero-grid { grid-template-columns: 1fr; }
  .home-responsibility dl { grid-template-columns: 1fr; gap: 0; }
  .home-responsibility dl > div { grid-template-columns: 6.5rem minmax(0, 1fr); }
  .home-actions { align-items: stretch; }
  .home-actions .home-button { width: 100%; }
  .home-delivery-steps { grid-template-columns: 1fr; gap: .75rem; }
  .home-delivery-steps li { padding-bottom: .5rem; border-bottom: 1px solid #d7e0eb; }
  .home-public .consultant-shell { --consultant-active-height: min(650px, 76dvh); }
  .home-public .consultant-runtime { display: none; }
  .home-public .consultant-send { grid-column: 2; }
  .home-public .consultant-compose-surface { grid-template-columns: minmax(0, 1fr) auto; }
}

/* Task #20260905 | 2026-09-05 | George | Provide factual contact and request-data information without promising unverified retention or service levels. */
.contact-public { padding-block: 2.5rem 4rem; }
.contact-public h1 { max-width: 22ch; margin: 0 0 1.2rem; font-size: clamp(2rem, 4vw, 3rem); line-height: 1.15; }
.contact-public h2 { margin-top: 0; font-size: 1.4rem; }
.contact-public p, .contact-public li { max-width: 75ch; color: #536074; line-height: 1.7; }
.contact-public section { margin-top: 2rem; padding: clamp(1.2rem, 3vw, 2rem); border: 1px solid #dce3ee; border-radius: 14px; background: #fff; scroll-margin-top: 6rem; }
.contact-public a { color: #174fae; }
.contact-public a.home-button--primary { color: #fff; }
