/* Homepage-only refinement. Existing utility pages retain their own layouts. */
body.home-page {
  --home-content: 1180px;
  --home-gutter: max(24px, calc((100vw - var(--home-content)) / 2));
  background: radial-gradient(ellipse at 78% 6%, #ece5ff 0, transparent 34%), #faf9fd;
  line-height: 1.5;
  overflow-x: clip;
  overflow-y: visible;
}
.home-page [hidden] { display: none !important; }
.home-page .skip-link { position: fixed; top: 12px; left: 16px; z-index: 100; padding: 10px 18px; background: white; border: 2px solid var(--violet); border-radius: 10px; transform: translateY(-160%); }
.home-page .skip-link:focus { transform: none; }
.home-page .site-header { min-height: 80px; padding: 0 var(--home-gutter); gap: 24px; }
.home-page .brand { font-size: 19px; flex-shrink: 0; }
.home-page .nav { gap: 25px; font-size: 13px; }
.home-page .nav-cta { border-radius: 10px; min-height: 42px; padding: 0 18px; }
.home-page .nav-signin { border-left: 1px solid var(--line); padding-left: 24px; }
.home-menu { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px; background: white; color: var(--ink); cursor: pointer; }
.home-menu svg { width: 20px; height: 20px; }
.home-page .section-pad { padding: 80px var(--home-gutter); }
.home-page section[id], .home-page main { scroll-margin-top: 104px; }
.home-page .hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; min-height: auto; padding-top: 92px; padding-bottom: 80px; overflow: visible; }
.home-page .hero::before { display: none; }
.home-page .hero-copy { max-width: 560px; }
.home-page .hero .eyebrow { display: inline-flex; gap: 9px; align-items: center; margin-bottom: 24px; padding: 7px 11px; border: 1px solid #ded4f5; border-radius: 30px; font-family: inherit; font-size: 12px; text-transform: none; background: #f2edff; }
.hero-tag-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--violet); }
.home-page h1 { font-size: clamp(42px, 4.7vw, 68px); line-height: 1.06; letter-spacing: -.055em; }
.home-page h1 em { font-style: normal; color: var(--violet); }
.home-page .lead { margin-top: 24px; max-width: 490px; font-size: 18px; line-height: 1.65; }
.home-page .hero-actions { margin-top: 30px; gap: 10px; }
.home-page .button { min-height: 48px; gap: 9px; padding: 11px 19px; font-size: 14px; border-radius: 10px; text-align: center; }
.home-page .button svg { width: 17px; height: 17px; flex-shrink: 0; }
.home-page .button.primary { box-shadow: 0 8px 20px #5c1eec29; }
.trial-note { display: flex; align-items: center; gap: 7px; margin: 12px 0 0; font-size: 12px; color: #62606e; }
.trial-note svg { width: 14px; height: 14px; color: var(--green); }
.home-page .ready-link { font-size: 13px; margin: 16px 0 0; color: var(--muted); }
.home-page .ready-link a, .home-page .plan-caveat a { color: var(--violet); text-decoration: underline; text-underline-offset: 3px; }
.hero-audience { border-top: 1px solid var(--line); padding-top: 21px; margin-top: 28px; }
.hero-audience > span { font-size: 11px; color: var(--muted); }
.hero-audience p { font-size: 13px; font-weight: 600; margin: 6px 0 0; }
.hero-audience b { padding: 0 7px; font-weight: 400; color: #9a8dac; }

/* Code-native product illustration: never presented as a live customer or dashboard. */
.reception-preview { min-width: 0; border: 1px solid #dcd1f2; border-radius: 18px; box-shadow: 0 24px 60px #44277a1c, 0 4px 12px #44277a06; background: white; overflow: hidden; animation: home-preview-in .8s cubic-bezier(.22,1,.36,1) both; }
.preview-chrome { display: flex; gap: 14px; align-items: center; padding: 14px 18px; border-bottom: 1px solid #e9e5ef; background: #fcfbfe; font-size: 11px; color: var(--muted); }
.preview-dots { display: flex; gap: 5px; }
.preview-dots span { width: 6px; height: 6px; background: #d7cfdf; border-radius: 50%; }
.example-label { margin-left: auto; background: #eeebf4; padding: 3px 7px; border-radius: 5px; font-size: 10px; }
.preview-workspace { display: grid; grid-template-columns: 56px minmax(0,1fr); }
.preview-rail { display: flex; align-items: center; flex-direction: column; gap: 24px; padding: 18px 8px; background: #181225; color: #a9a1b9; }
.preview-rail img { width: 28px; height: 28px; border-radius: 8px; margin-bottom: 12px; }
.preview-rail svg { width: 18px; height: 18px; box-sizing: content-box; padding: 7px; }
.preview-rail .rail-selected { color: #d9c7ff; background: #493073; border-radius: 7px; }
.preview-conversation { padding: 21px; min-width: 0; }
.preview-contact { display: flex; gap: 10px; align-items: center; border-bottom: 1px solid #efebf5; padding-bottom: 17px; }
.preview-avatar { display: grid; place-items: center; background: #e9e1f9; color: #603bb3; width: 36px; height: 36px; border-radius: 50%; font-size: 11px; font-weight: 600; flex-shrink: 0; }
.preview-contact strong { display: block; font-size: 13px; }
.preview-contact span { display: block; font-size: 10px; color: var(--muted); margin-top: 2px; }
.preview-contact > svg { margin-left: auto; width: 16px; height: 16px; color: #817191; flex-shrink: 0; }
.preview-chat { display: grid; gap: 13px; margin: 22px 0; font-size: 13px; line-height: 1.55; }
.preview-chat p { margin: 0; padding: 13px 15px; }
.preview-customer { max-width: 86%; border: 1px solid #ece8f3; background: #f8f6fb; border-radius: 12px 12px 12px 3px; }
.preview-customer time { display: block; margin-top: 6px; color: #8a8496; font-size: 9px; }
.preview-agent { justify-self: end; max-width: 91%; color: #fff; background: #5b32c4; border-radius: 12px 12px 3px 12px; }
.preview-agent > span { display: flex; align-items: center; gap: 5px; margin-bottom: 6px; font-size: 10px; color: #e7dcff; }
.preview-agent svg { width: 12px; height: 12px; }
.preview-handoff { padding: 14px; border: 1px solid #d7e7df; border-radius: 12px; background: #f6faf8; }
.handoff-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 7px; }
.handoff-heading > span { display: flex; gap: 6px; align-items: center; font-weight: 600; font-size: 11px; color: #255b48; }
.handoff-heading svg { width: 13px; height: 13px; }
.handoff-heading b { font-weight: 500; font-size: 9px; color: #77541f; border-radius: 4px; background: #f3e9d5; padding: 3px 5px; }
.preview-handoff dl { display: grid; gap: 8px; margin: 15px 0; font-size: 11px; }
.preview-handoff dl > div { display: flex; gap: 12px; justify-content: space-between; }
.preview-handoff dt { color: var(--muted); }
.preview-handoff dd { margin: 0; text-align: right; font-weight: 500; }
.handoff-footer { border-top: 1px solid #e1ebe5; padding-top: 10px; display: flex; gap: 6px; align-items: center; font-size: 10px; color: #33715b; }
.handoff-footer svg { width: 13px; height: 13px; }
.preview-caption { margin: 0; padding: 11px 16px; border-top: 1px solid #ece7f3; font-size: 10px; color: var(--muted); text-align: center; }

.home-page .metric-strip { margin: 0 var(--home-gutter); border: 1px solid #e4deec; border-radius: 16px; box-shadow: none; background: white; }
.home-page .metric-strip article { min-height: auto; padding: 25px 24px; }
.home-page .metric-strip span { display: flex; gap: 7px; align-items: center; font-family: inherit; text-transform: none; font-size: 11px; }
.home-page .metric-strip svg { width: 14px; height: 14px; color: #8065ad; }
.home-page .metric-strip strong { font-family: inherit; letter-spacing: -.04em; font-size: 25px; font-weight: 600; margin-top: 8px; }
.home-page .metric-strip strong small { font-size: 13px; color: var(--muted); font-weight: 400; letter-spacing: 0; }
.home-page .metric-strip p { font-size: 12px; }
.home-page .section-heading { margin-bottom: 30px; }
.home-page .section-heading .eyebrow { margin-top: 0; font-size: 11px; letter-spacing: .04em; }
.home-page h2 { font-size: clamp(30px, 3.3vw, 46px); line-height: 1.15; letter-spacing: -.04em; }
.home-page .section-heading > p:not(.eyebrow), .home-page .section-heading.split > p { font-size: 16px; margin-top: 16px; line-height: 1.65; }
.home-page .section-heading.split { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); align-items: center; }
.workflow-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.workflow-grid article { position: relative; background: white; border: 1px solid #e6e0ee; border-radius: 16px; padding: 28px; }
.workflow-number { position: absolute; top: 26px; right: 26px; font-family: 'IBM Plex Mono', monospace; font-size: 11px; color: #94879e; }
.workflow-grid article > svg { display: block; width: 24px; height: 24px; color: #6c41c6; margin-bottom: 22px; }
.home-page .workflow-grid h3, .home-page .rules-grid h3, .home-page .compare-card h3 { font-family: 'IBM Plex Sans', 'Segoe UI', sans-serif; font-size: 18px; font-weight: 600; line-height: 1.35; letter-spacing: -.025em; }
.workflow-grid p { font-size: 14px; line-height: 1.65; color: var(--muted); }
.workflow-example { display: block; margin-top: 22px; padding-top: 16px; border-top: 1px solid #eee9f4; font-size: 11px; color: #665d75; }
.home-page .revenue-lab { background: #f1edf7; }
.home-page .lab-shell { border-radius: 16px; grid-template-columns: minmax(0,1.1fr) minmax(0,.9fr); }
.home-page .lab-controls, .home-page .lab-result { padding: 32px; }
.home-page .lab-result { background: #211630; }
.home-page .lab-result strong { font-size: clamp(38px, 4vw, 56px); }
.home-page .lab-result p { font-size: 13px; }
.home-page .lab-result .button { margin-top: 8px; }
.home-page .channel-shell { grid-template-columns: minmax(0,.65fr) minmax(0,1.35fr); gap: 24px; align-items: start; }
.home-page .channel-tab { border-radius: 12px; min-height: 60px; }
.home-page .channel-tab.active { background: #eee7ff; border-color: #d4c3f7; box-shadow: none; }
.home-page .channel-preview { border-radius: 16px; box-shadow: 0 12px 32px #44277a0b; min-height: auto; padding: 28px; }
.channel-example-label { display: flex; align-items: center; gap: 6px; margin: 0 0 20px; font-size: 11px; color: var(--muted); }
.channel-example-label svg { width: 14px; height: 14px; flex-shrink: 0; }
.home-page .preview-head { display: grid; gap: 10px; }
.home-page .preview-head strong { font-size: 27px; text-align: left; line-height: 1.15; }
.home-page .message-stack { margin: 24px 0; font-size: 14px; }
.home-page .bubble { border-radius: 12px; }
.home-page .handoff-card { box-shadow: none; border-color: #e6e0ef; font-size: 13px; }
.home-page .rules-section { background: #fff; }
.home-page .rules-grid { gap: 14px; }
.home-page .rules-grid article { border-radius: 14px; background: #fcfbfe; padding: 24px; }
.home-page .rules-grid p { font-size: 13px; }
.home-page .compare-card { box-shadow: none; border-radius: 16px; padding: 30px; }
.home-page .compare-card.featured { background: #f5f1ff; border-color: #d9c9f6; }
.home-page .compare-card li { font-size: 14px; }
.home-page .pricing .section-heading.split { grid-template-columns: minmax(0,1fr) auto; }
.home-page .pricing .pricing-note { max-width: 790px; font-size: 13px; line-height: 1.7; }
.home-page .price-card { position: relative; padding: 30px 26px; border-radius: 16px; min-height: 490px; box-shadow: none; }
.home-page .price-card.highlighted { transform: none; background: #f6f2ff; border: 1px solid #bd9fea; padding-top: 52px; }
.plan-label { position: absolute; top: 0; left: 0; right: 0; padding: 6px 16px; text-align: center; font-size: 10px; font-weight: 600; color: #5b30b4; background: #e8dcff; border-radius: 15px 15px 0 0; }
.home-page .price-card h3 { font-family: inherit; font-size: 48px; font-weight: 600; letter-spacing: -.06em; }
.home-page .price-card h3 small { margin-left: 4px; letter-spacing: 0; }
.home-page .price-card.dark h3 small { color: #beb3d3; }
.home-page .price-card p, .home-page .price-card li { font-size: 13px; }
.home-page .price-card ul { margin-bottom: 28px; }
.home-page .price-card .button { width: 100%; }
.home-page .plan-caveat { max-width: 1120px; margin: 24px auto 0; font-size: 12px; color: var(--muted); line-height: 1.6; }
.home-page .faq { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); gap: 50px; }
.home-page .faq .section-heading { margin: 0; }
.home-page .faq-list { margin: 0; }
.home-page .faq-item { border-radius: 12px; }
.home-page .faq-question { font-size: 14px; line-height: 1.5; gap: 12px; min-height: 64px; }
.home-page .faq-question svg { flex-shrink: 0; }
.home-page .faq-item p { font-size: 13px; }
.home-page .faq-item p a { color: var(--violet); text-decoration: underline; }
.home-page .assessment-section { background: #f1edf8; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); gap: 56px; }
.home-page .assessment-copy { position: static; }
.home-page .assessment-copy > p:not(.eyebrow):not(.assessment-note) { font-size: 16px; }
.home-page .assessment-card { min-height: auto; padding: 30px; box-shadow: 0 15px 40px #44277a0a; }
.home-page .assessment-form label > span { font-size: 13px; }
.home-page .assessment-form input:not([type=checkbox]), .home-page .assessment-form select, .home-page .assessment-form textarea { font-size: 14px; min-width: 0; width: 100%; }
.home-page .assessment-form .form-grid > label { min-width: 0; }
.home-page .assessment-submit { width: 100%; }
.home-page .assessment-success { min-height: 450px; }
.home-page .button:disabled, .home-page .button:disabled:hover { background: #e4deec !important; color: #746782; box-shadow: none; transform: none; cursor: wait; }
.home-page .final-cta { background: #20152f; gap: 48px; grid-template-columns: minmax(0,1fr) minmax(0,.7fr); }
.home-page .final-cta h2 { max-width: 650px; }
.home-page .final-cta .cta-actions { align-self: center; flex-direction: column; align-items: stretch; margin-top: 0; }
.home-page .final-cta .inverse { color: #412378; background: #fff; border-color: #fff; }
.home-page .final-cta .inverse:hover { background: #f1e9ff; }
.home-page .site-footer { padding: 28px var(--home-gutter); font-size: 12px; gap: 24px; }

/* One motion system per element; nested section reveals otherwise double the fade. */
.home-page .reveal, .home-page .reveal-left, .home-page .reveal-right, .home-page .reveal-pop { opacity: 1 !important; transform: none !important; transition: none !important; }
html.ab-motion-enabled .home-page .hero.ab-reveal, html.ab-motion-enabled .home-page .metric-strip.ab-reveal { opacity: 1; transform: none; transition: none; }
@keyframes home-preview-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 1100px) {
  .home-page .nav { gap: 16px; }
  .home-page .nav-signin { padding-left: 16px; }
  .home-page .hero { gap: 30px; }
  .home-page .rules-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .home-page .pricing-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .home-page .price-card { padding-left: 20px; padding-right: 20px; }
  .home-page .metric-strip { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .home-page .metric-strip article { padding: 20px 16px; }
  .home-page .metric-strip strong { font-size: 22px; }
}
@media (max-width: 900px) {
  .home-page .site-header { min-height: 70px; }
  .js-enabled .home-page .home-menu { display: grid; place-items: center; }
  .home-page .nav { flex-wrap: wrap; justify-content: center; gap: 8px; }
  .js-enabled .home-page .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 18px 28px #34224510; padding: 16px 24px; flex-direction: column; align-items: stretch; gap: 4px; }
  .home-page .site-header.menu-open .nav { display: flex; }
  .home-page .nav a { display: block !important; padding: 10px 14px; min-height: 44px; }
  .home-page .nav-signin { border-left: 0; border-top: 1px solid var(--line); margin-top: 4px; }
  .home-page .nav-cta { text-align: center; margin-top: 4px; }
  .home-page .hero { grid-template-columns: 1fr; padding-top: 60px; padding-bottom: 56px; gap: 40px; }
  .home-page .hero-copy { max-width: 680px; }
  .home-page h1 { font-size: 60px; }
  .home-page .reception-preview { width: 100%; max-width: 620px; justify-self: center; }
  .home-page .hero-audience { margin-top: 22px; }
  .home-page .section-pad { padding-top: 60px; padding-bottom: 60px; }
  .home-page .section-heading.split, .home-page .lab-shell, .home-page .channel-shell, .home-page .faq, .home-page .assessment-section, .home-page .final-cta { grid-template-columns: 1fr; gap: 28px; }
  .home-page .channel-tabs { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .home-page .channel-tab { font-size: 13px; padding: 12px; }
  .workflow-grid { gap: 12px; }
  .workflow-grid article { padding: 22px; }
  .home-page .metric-strip { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .home-page .metric-strip article:nth-child(2) { border-right: 0; }
  .home-page .metric-strip article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .home-page .final-cta .cta-actions { max-width: 440px; }
}
@media (max-width: 900px) {
  html:not(.js-enabled) .home-page .site-header { position: static; flex-direction: column; align-items: flex-start; padding-top: 16px; padding-bottom: 16px; }
  html:not(.js-enabled) .home-page .nav { justify-content: flex-start; }
}
@media (max-width: 640px) {
  body.home-page { --home-gutter: 20px; }
  .home-page .site-header { gap: 12px; }
  .home-page .section-pad { padding-top: 52px; padding-bottom: 52px; }
  .home-page .hero { padding-top: 42px; gap: 34px; }
  .home-page .hero .eyebrow { font-size: 11px; margin-bottom: 20px; }
  .home-page h1 { font-size: clamp(36px,9.6vw,56px); }
  .home-page .lead { font-size: 16px; margin-top: 19px; }
  .home-page .hero-actions { margin-top: 24px; }
  .home-page .hero-actions .button { flex: 1 1 100%; }
  .home-page .hero-audience p { font-size: 12px; }
  .hero-audience b { padding: 0 3px; }
  .home-page .metric-strip article { padding: 20px 16px; }
  .home-page .metric-strip article:nth-child(odd) { border-right: 1px solid var(--line); }
  .home-page .metric-strip article:nth-child(3) { border-bottom: 0; }
  .home-page .metric-strip strong { font-size: 21px; }
  .home-page .metric-strip span { font-size: 10px; }
  .home-page .metric-strip p { font-size: 11px; }
  .preview-workspace { grid-template-columns: 38px minmax(0,1fr); }
  .preview-rail { padding: 15px 3px; gap: 16px; }
  .preview-rail img { width: 23px; height: 23px; }
  .preview-rail svg { width: 15px; height: 15px; padding: 5px; }
  .preview-conversation { padding: 14px; }
  .preview-chrome { padding: 12px; gap: 10px; font-size: 10px; }
  .preview-chat { font-size: 12px; }
  .preview-chat p { padding: 11px 12px; }
  .preview-handoff { padding: 12px; }
  .preview-handoff dl > div { flex-wrap: wrap; gap: 2px 10px; }
  .preview-handoff dd { text-align: left; }
  .preview-caption { font-size: 9px; padding: 10px; }
  .workflow-grid, .home-page .pricing-grid, .home-page .rules-grid, .home-page .compare-grid { grid-template-columns: 1fr; }
  .home-page .workflow-grid article { padding: 25px; }
  .home-page .section-heading { margin-bottom: 26px; }
  .home-page .channel-tab { font-size: 12px; gap: 8px; line-height: 1.4; }
  .home-page .channel-tab svg { flex-shrink: 0; }
  .home-page .channel-preview, .home-page .lab-controls, .home-page .lab-result, .home-page .compare-card { padding: 22px; }
  .home-page .preview-head strong { font-size: 25px; }
  .home-page .bubble { max-width: 95%; }
  .home-page .pricing .section-heading.split { grid-template-columns: 1fr; }
  .home-page .price-card { min-height: 425px; padding: 28px; }
  .home-page .price-card.highlighted { padding-top: 52px; }
  .home-page .price-card h3 { font-size: 44px; }
  .home-page .faq-question { padding: 18px; }
  .home-page .assessment-card { padding: 24px 18px; }
  .home-page .assessment-form input:not([type=checkbox]), .home-page .assessment-form select, .home-page .assessment-form textarea { font-size: 16px; }
  .home-page .form-grid { grid-template-columns: 1fr; }
  .home-page .site-footer { align-items: flex-start; }
  .home-page .site-footer nav { gap: 12px 18px; }
  .home-page .chat-launcher { width: 52px; height: 52px; padding: 0; justify-content: center; border-radius: 50%; }
  .home-page .chat-launcher span { display: none; }
  .home-page .chat-widget { right: 16px; bottom: 16px; }
  .home-page .chat-panel { bottom: 64px; }
}
@media (prefers-reduced-motion: reduce) {
  .home-page *, .home-page *::before, .home-page *::after { animation: none !important; transition: none !important; }
  .home-page .reception-preview { opacity: 1; transform: none; }
}
