/* Reference homepage. hp-* isolates the editorial site from workspace components. */
.rex-home { background: #fff; color: #0a1620; }
.rex-home main { overflow: clip; }
.rex-home h1,.rex-home h2,.rex-home h3 { font-weight: 800; }
.rex-home h2 { font-size: clamp(2.15rem,3.7vw,3.7rem); line-height: 1.05; letter-spacing: -.055em; margin: 0; }
.rex-home h1 em,.rex-home h2 em { font-style: normal; color: #009ca3; }
.rex-home [id] { scroll-margin-top: 100px; }
.hp-container { width: min(100% - 64px,1296px); margin-inline: auto; }
.hp-section { padding-block: 112px; }
.hp-split { display: grid; grid-template-columns: minmax(0,5fr) minmax(0,6fr); align-items: center; gap: 80px; }
.hp-split > * { min-width: 0; }
.hp-center { text-align: center; }
.hp-intro { margin-bottom: 46px; }
.hp-kicker { color: #007f85; font-size: .68rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 16px; }
.hp-kicker-line { display: flex; align-items: center; gap: 10px; }
.hp-kicker-line::before { content: ''; width: 22px; height: 2px; background: #00aeb4; }
.hp-copy,.hp-lead { color: #62707a; font-size: 1.05rem; line-height: 1.75; margin: 20px 0; max-width: 590px; }
.hp-center .hp-copy { margin-inline: auto; }
.hp-icon { display: inline-block; width: 21px; height: 21px; flex: 0 0 21px; vertical-align: middle; }
.hp-wash { background: #f4f8f8; }
.hp-aqua { background: #e7f7f6; }
.hp-dark { background: #081a22; color: #fff; }
.hp-dark .hp-kicker { color: #7bd9d6; }
.hp-actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.hp-button { display: inline-flex; justify-content: center; align-items: center; gap: 9px; padding: 13px 18px; min-height: 44px; border: 1px solid #0a1620; border-radius: 9px; background: #0a1620; color: #fff; text-decoration: none; font-size: .85rem; line-height: 1.3; font-weight: 700; transition: background .25s,transform .25s,border-color .25s; }
.hp-button .hp-icon { width: 16px; height: 16px; flex-basis: 16px; }
.hp-button:hover { background: #00aeb4; border-color: #00aeb4; color: #0a1620; transform: translateY(-2px); }
.hp-button-secondary { background: #fff; color: #0a1620; border-color: #dce7e8; }
.hp-button-secondary:hover { background: #e5f7f6; border-color: #8bd6d4; }
.hp-micro { font-size: .76rem; color: #66777f; margin-top: 18px; }
.hp-micro span { margin-inline: 6px; }

/* Compact wordmark/navigation follows the supplied reference. */
.hp-nav { position: fixed; inset: 0 0 auto; z-index: 30; border-bottom: 1px solid transparent; transition: background .25s,border-color .25s; }
.hp-nav.is-scrolled { background: #fffffff2; border-color: #dce7e8; backdrop-filter: blur(14px); }
.hp-nav-inner { min-height: 80px; display: flex; align-items: center; gap: 40px; }
.hp-wordmark { display: inline-flex; align-items: center; color: #0a1620; font-size: 1.4rem; font-weight: 800; letter-spacing: -.08em; text-decoration: none; white-space: nowrap; }
.hp-wordmark span { color: #00aeb4; }
.hp-wordmark i { width: 4px; height: 4px; border-radius: 50%; background: #00aeb4; margin: 7px 0 0 4px; }
.hp-nav nav { flex: 1; display: flex; align-items: center; justify-content: flex-end; gap: 70px; }
.hp-nav-links,.hp-nav-actions { display: flex; align-items: center; gap: 26px; }
.hp-nav-links { margin: auto; }
.hp-nav nav a:not(.hp-button) { color: #33434c; text-decoration: none; font-size: .82rem; font-weight: 700; }
.hp-nav nav a:not(.hp-button):hover { color: #007f85; }
.hp-nav .hp-button { font-size: .76rem; min-height: 38px; padding: 10px 14px; }
.hp-menu { display: none; }

/* Hero conversation and floating preview notifications. */
.hp-hero { position: relative; background: radial-gradient(circle at 77% 32%,#d8f7f5 0,transparent 36%),#fff; }
.hp-grid-background { position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(#dcebec55 1px,transparent 1px),linear-gradient(90deg,#dcebec55 1px,transparent 1px); background-size: 52px 52px; mask-image: linear-gradient(#0003,transparent 80%); }
.hp-hero-inner { position: relative; min-height: 800px; padding-block: 175px 105px; }
.hp-hero h1 { font-size: clamp(3.6rem,6vw,5.6rem); line-height: .94; letter-spacing: -.06em; margin: 0 0 24px; }
.hp-hero .hp-lead { max-width: 550px; }
.hp-hero .hp-actions { margin-top: 28px; }
.hp-stage { position: relative; height: 465px; }
.hp-chat { position: absolute; top: 36px; left: 8%; width: min(390px,80%); background: #fff; border: 1px solid #cce3e4; border-radius: 18px; box-shadow: 0 30px 70px #183c421a; overflow: hidden; }
.hp-chat header { display: flex; align-items: center; gap: 10px; height: 74px; padding: 15px; border-bottom: 1px solid #e5eeee; }
.hp-rex-avatar { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: #0a1620; color: #7ffff9; font-weight: 800; }
.hp-chat header strong,.hp-chat header small { display: block; }
.hp-chat header strong { font-size: .88rem; }
.hp-chat header small { color: #63777c; font-size: .65rem; margin-top: 2px; }
.hp-online { display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: #009f97; }
.hp-more { margin-left: auto; color: #6c7e84; letter-spacing: 2px; }
.hp-chat-body { padding: 18px; min-height: 250px; background: #f9fbfb; }
.hp-bubble { font-size: .76rem; line-height: 1.5; padding: 10px 12px; border-radius: 11px; background: #e8f3f3; max-width: 85%; margin: 0 0 12px; }
.hp-visitor { background: #0a1620; color: #fff; margin-left: auto; }
.hp-typing { font-size: .66rem; color: #607980; margin-top: 16px; }
.hp-typing span { display: inline-flex; gap: 3px; margin-right: 4px; }
.hp-typing i { width: 5px; height: 5px; border-radius: 50%; background: #00aeb4; animation: hp-dot 1s infinite alternate; }
.hp-typing i:nth-child(2) { animation-delay: .2s; }
.hp-typing i:nth-child(3) { animation-delay: .4s; }
.hp-chat-composer { padding: 14px 16px; display: flex; justify-content: space-between; align-items: center; color: #6e8188; font-size: .72rem; }
.hp-chat-composer>span { display: grid; place-items: center; background: #0a1620; color: white; border-radius: 7px; padding: 5px; }
.hp-chat-composer .hp-icon { width: 15px; height: 15px; }
.hp-float { position: absolute; z-index: 2; display: grid; gap: 2px; background: #fff; border: 1px solid #d5e6e6; border-radius: 12px; padding: 12px 14px; box-shadow: 0 18px 32px #183c4212; animation: hp-float 4s ease-in-out infinite; }
.hp-float small { color: #687c82; font-size: .6rem; }
.hp-float strong { font-size: .73rem; }
.hp-float>span { color: #62767b; font-size: .65rem; }
.hp-float-lead { top: 8px; right: 0; }
.hp-float-auto { right: -2%; bottom: 103px; display: flex; align-items: center; gap: 7px; color: #087b7e; animation-delay: -.7s; }
.hp-float-knowledge { left: 0; bottom: 7px; display: flex; align-items: center; gap: 7px; animation-delay: -1.5s; }
.hp-float-knowledge .hp-icon { color: #008e93; }
.hp-float-metric { right: 14%; bottom: -8px; }
.hp-float-metric strong { color: #00858b; font-size: 1.25rem; }
.hp-trust { padding-block: 26px; border-block: 1px solid #edf2f2; color: #6b7e85; font-size: .73rem; }
.hp-trust .hp-container { display: flex; justify-content: space-between; gap: 24px; }

/* Problem cards, comparison, and accessible capability panels. */
.hp-problem-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; }
.hp-card { padding: 24px; border: 1px solid #dce7e8; border-radius: 13px; background: #fff; transition: transform .25s,border-color .25s,box-shadow .25s; }
.hp-card:hover { transform: translateY(-4px); border-color: #7ed9d7; box-shadow: 0 18px 36px #0c393012; }
.hp-card>.hp-icon { color: #008f96; }
.hp-card h3 { font-size: 1.05rem; line-height: 1.3; letter-spacing: -.035em; margin: 22px 0 10px; }
.hp-card p { font-size: .8rem; line-height: 1.65; color: #62707a; margin: 0; }
.hp-flow { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid #dce7e8; border-radius: 14px; background: #fff; overflow: hidden; }
.hp-flow>div { padding: 28px; display: flex; flex-direction: column; gap: 9px; }
.hp-flow small { color: #61777f; text-transform: uppercase; font-size: .65rem; letter-spacing: .1em; margin-bottom: 5px; }
.hp-flow b { font-size: .8rem; }
.hp-flow span { color: #90a6a9; line-height: 1; }
.hp-flow .hp-flow-after { background: #0a1620; color: #fff; }
.hp-flow-after small { color: #a8c4c6; }
.hp-showcase { border: 1px solid #dce7e8; border-radius: 18px; overflow: hidden; }
.hp-tabs { display: flex; border-bottom: 1px solid #dce7e8; overflow-x: auto; }
.hp-tabs button { flex-shrink: 0; padding: 18px 25px; min-height: 48px; background: #fff; border: 0; font-size: .82rem; font-weight: 700; color: #63767e; cursor: pointer; }
.hp-tabs button[aria-selected="true"] { color: #007d82; box-shadow: inset 0 -2px #00aeb4; }
.hp-tabs button:focus-visible { outline-offset: -4px; }
.hp-tab-panel { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 40px; min-height: 310px; padding: 45px; background: linear-gradient(110deg,#f6fbfb,#fff); }
.hp-tab-panel[hidden] { display: none; }
.hp-tab-panel h3 { font-size: 1.85rem; line-height: 1.1; margin: 8px 0 12px; }
.hp-tab-panel>div>p:not(.hp-kicker) { font-size: .88rem; line-height: 1.7; color: #62707a; }
.hp-tab-panel .hp-kicker { font-size: .62rem; margin: 0; }
.hp-demo { padding: 20px; background: #fff; border: 1px solid #d9e9e9; border-radius: 13px; font-size: .75rem; }
.hp-demo small { color: #007f79; margin-left: 6px; font-weight: 400; }
.hp-demo p { background: #edf5f5; padding: 12px; border-radius: 8px; margin: 14px 0 0; }
.hp-demo .hp-demo-answer { background: #0a1620; color: #fff; }

/* Ecosystem and small product surfaces. */
.hp-ecosystem { padding-bottom: 72px; }
.hp-orbit { position: relative; height: 440px; width: min(100%,730px); margin: 20px auto 0; background: radial-gradient(circle,#16414b 0,transparent 48%); }
.hp-orbit::before,.hp-orbit::after { content: ''; position: absolute; inset: 48px 75px; border: 1px solid #6ac0c438; border-radius: 50%; }
.hp-orbit::after { inset: 93px 140px; border-color: #6ac0c418; }
.hp-core { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); display: grid; justify-items: center; align-content: center; gap: 4px; width: 130px; height: 130px; background: #12333d; border: 1px solid #75c9ca; border-radius: 50%; z-index: 1; }
.hp-core .hp-rex-avatar { background: #d9fffc; color: #083139; }
.hp-core strong { font-size: .8rem; }
.hp-core small { color: #a8cccd; font-size: .65rem; }
.hp-orbit-item { position: absolute; padding: 8px 11px; border: 1px solid #6fbdbe77; border-radius: 9px; background: #0c2630; font-size: .71rem; }
.hp-orbit-0 { left: 8%; top: 20%; }.hp-orbit-1 { left: 37%; top: 4%; }.hp-orbit-2 { right: 7%; top: 20%; }.hp-orbit-3 { right: 1%; top: 53%; }.hp-orbit-4 { right: 23%; bottom: 2%; }.hp-orbit-5 { left: 21%; bottom: 2%; }.hp-orbit-6 { left: 1%; top: 53%; }.hp-orbit-7 { left: 9%; bottom: 20%; }
.hp-ui { background: #fff; border: 1px solid #dce7e8; border-radius: 14px; padding: 22px; box-shadow: 0 15px 35px #1132330a; }
.hp-ui header { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-bottom: 14px; font-size: .85rem; }
.hp-ui header>span:not(.hp-call-icon) { font-size: .66rem; color: #007f85; }
.hp-ui header .hp-icon { width: 14px; height: 14px; flex-basis: 14px; }
.hp-source-row { display: flex; gap: 12px; align-items: center; border-top: 1px solid #e8efef; padding: 14px 0; font-size: .78rem; }
.hp-source-row .hp-icon { color: #008e93; width: 18px; height: 18px; }
.hp-source-row span { margin-left: auto; color: #007f85; font-size: .68rem; }
.hp-knowledge footer { display: flex; justify-content: space-around; padding-top: 16px; border-top: 1px solid #e8efef; text-align: center; }
.hp-knowledge footer b { font-size: .9rem; }
.hp-knowledge footer small { display: block; font-size: .65rem; font-weight: 400; color: #62777e; }
.hp-content-flow { display: flex; gap: 10px; flex-wrap: wrap; font-size: .78rem; font-weight: 700; }
.hp-content-flow span { color: #008e93; }
.hp-lead-row { display: grid; grid-template-columns: 28px minmax(0,1fr) auto auto; align-items: center; gap: 10px; border-top: 1px solid #e9efef; padding: 16px 0; }
.hp-avatar { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #ddf4f3; color: #007d80; font-size: .7rem; }
.hp-lead-row b,.hp-lead-row small { display: block; font-size: .75rem; }
.hp-lead-row small { font-size: .65rem; color: #62777e; margin-top: 3px; }
.hp-lead-row>strong { font-size: .72rem; white-space: nowrap; }
.hp-pill { border-radius: 10px; background: #e2f7ee; color: #007960; font-size: .65rem; padding: 4px 7px; white-space: nowrap; }
.hp-label { font-size: .64rem; color: #007f85; background: #e5f7f6; border-radius: 7px; padding: 4px 7px; }

/* Voice + CRM extends the reference's paired copy and UI pattern. */
.hp-checks { display: grid; gap: 12px; list-style: none; padding: 0; margin: 24px 0 28px; font-size: .86rem; }
.hp-checks li { display: flex; gap: 10px; align-items: start; }
.hp-checks .hp-icon { color: #008e93; width: 17px; height: 17px; }
.hp-call header { justify-content: flex-start; }
.hp-call header>div { display: grid; gap: 2px; }
.hp-call header small { font-size: .65rem; color: #62777e; }
.hp-call header>.hp-label { margin-left: auto; }
.hp-call-icon { background: #0a1620; color: #8bf7f0; padding: 12px; border-radius: 11px; }
.hp-call header .hp-call-icon .hp-icon { width: 20px; height: 20px; }
.hp-wave { height: 96px; display: flex; align-items: center; justify-content: center; gap: 7px; border-block: 1px solid #e8efef; margin: 6px 0 18px; background: linear-gradient(90deg,#fff,#f2fbfa,#fff); }
.hp-wave i { width: 5px; height: 35%; background: #00aeb4; border-radius: 6px; }
.hp-wave i:nth-child(5n+1) { height: 25%; }
.hp-wave i:nth-child(5n+2) { height: 48%; }
.hp-wave i:nth-child(5n+3) { height: 76%; }
.hp-wave i:nth-child(5n+4) { height: 58%; }
.hp-wave i:nth-child(10n) { height: 88%; }
.hp-call>p { text-align: center; font-size: .92rem; margin-bottom: 16px; }
.hp-call-note { display: flex; align-items: center; justify-content: center; gap: 5px; color: #007f85; font-size: .7rem; }
.hp-call-note .hp-icon { width: 15px; height: 15px; }
.hp-call-connector { text-align: center; color: #008e93; padding-block: 8px; font-size: 1.4rem; }
.hp-followup { width: 92%; margin-left: auto; }
.hp-followup dl { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 20px; margin: 0; padding-top: 15px; border-top: 1px solid #e8efef; }
.hp-followup dt { color: #63777e; font-size: .63rem; margin-bottom: 4px; }
.hp-followup dd { margin: 0; font-size: .78rem; font-weight: 700; }
.hp-workflow { display: flex; align-items: center; gap: 8px; }
.hp-workflow>div { flex: 1; min-width: 0; display: grid; gap: 7px; padding: 14px 12px; border: 1px solid #b7dfdd; border-radius: 9px; background: #fff; }
.hp-workflow small { text-transform: uppercase; font-size: .58rem; letter-spacing: .1em; color: #62777e; }
.hp-workflow b { font-size: .7rem; line-height: 1.5; }
.hp-workflow>span { color: #008e93; }
.hp-activity { font-size: .68rem; color: #007961; padding: 11px; background: #fff; border-radius: 8px; margin: 14px 0 0; }
.hp-activity .hp-icon { width: 14px; height: 14px; }
.hp-integrations { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 10px; }
.hp-integrations a { display: grid; justify-items: center; gap: 7px; padding: 20px 10px; border: 1px solid #dce7e8; border-radius: 10px; background: #fff; text-align: center; text-decoration: none; transition: transform .25s,border-color .25s; }
.hp-integrations a:hover { transform: translateY(-3px); border-color: #79d3d1; }
.hp-integrations .hp-icon { color: #00858b; width: 19px; height: 19px; }
.hp-integrations b { font-size: .74rem; }
.hp-integrations small { color: #63777e; font-size: .6rem; }
.hp-analytics { margin: 0; }
.hp-analytics-metrics { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 9px; }
.hp-analytics-metrics>div { display: grid; gap: 6px; border: 1px solid #e4eded; border-radius: 7px; padding: 8px; }
.hp-analytics-metrics small { font-size: .53rem; letter-spacing: .06em; text-transform: uppercase; color: #62777e; }
.hp-analytics-metrics b { font-size: 1rem; }
.hp-analytics>svg { display: block; width: 100%; height: auto; margin-top: 32px; }
.hp-chart-days { display: flex; justify-content: space-between; color: #62777e; font-size: .6rem; padding-top: 10px; }
.hp-analytics figcaption { text-align: right; color: #62777e; font-size: .6rem; margin-top: 12px; }
.hp-stats { padding-block: 80px 40px; }
.hp-stats .hp-container>div { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 24px; text-align: center; }
.hp-stats b { display: block; color: #87f1eb; font-size: clamp(2rem,4vw,3.7rem); letter-spacing: -.07em; line-height: 1.2; }
.hp-stats span { display: block; color: #aac7c8; font-size: .75rem; margin-top: 10px; }
.hp-stats p { color: #a4c2c5; text-align: center; font-size: .65rem; margin: 30px 0 0; }
.hp-security { display: grid; grid-template-columns: 1fr 2fr; align-items: center; gap: 24px; border: 1px solid #dce7e8; border-radius: 14px; padding: 28px; }
.hp-security>.hp-icon { width: 85px; height: 85px; justify-self: center; color: #00aeb4; }
.hp-security ul { list-style: none; padding: 0; margin: 0; }
.hp-security li { display: flex; align-items: center; gap: 8px; padding: 10px 0; border-bottom: 1px solid #e8eeee; font-size: .76rem; color: #3d5056; }
.hp-security li:last-child { border: 0; }
.hp-security li .hp-icon { width: 13px; height: 13px; flex-basis: 13px; color: #008e93; }
.hp-steps { list-style: none; padding: 0; margin: 0 auto; max-width: 1000px; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 50px; }
.hp-steps li { position: relative; }
.hp-steps li:not(:last-child)::after { content: ''; position: absolute; top: 13px; left: 50px; right: 0; border-top: 1px dashed #83c8c6; }
.hp-steps span { font-size: .75rem; font-weight: 800; color: #00858b; }
.hp-steps h3 { font-size: 1.25rem; margin: 15px 0 7px; }
.hp-steps p { color: #62707a; font-size: .8rem; line-height: 1.65; }
.hp-pricing { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.hp-price { display: flex; flex-direction: column; border: 1px solid #dce7e8; border-radius: 13px; padding: 28px; }
.hp-price-featured { border: 2px solid #00aeb4; padding: 27px; box-shadow: 0 15px 35px #00aeb414; }
.hp-price h3 { margin: 0 0 15px; font-size: 1.1rem; }
.hp-price-value { display: flex; flex-wrap: wrap; align-items: baseline; gap: 7px; }
.hp-price-value b { font-size: 2rem; letter-spacing: -.05em; }
.hp-price-value small { color: #63777e; font-size: .72rem; }
.hp-price ul { list-style: none; padding: 0; margin: 22px 0; flex: 1; color: #516268; }
.hp-price li { display: flex; align-items: center; gap: 6px; font-size: .8rem; padding-block: 5px; }
.hp-price li .hp-icon { width: 13px; height: 13px; flex-basis: 13px; }
.hp-pricing-note { text-align: center; font-size: .76rem; margin: 24px 0 0; }
.hp-pricing-note a { color: #007f85; text-underline-offset: 4px; }
.hp-pricing-note .hp-icon { width: 14px; height: 14px; }
.hp-handoff { display: grid; grid-template-columns: 1fr 24px 1fr; align-items: center; gap: 12px; }
.hp-handoff>div { display: grid; gap: 10px; padding: 24px; background: #fff; border: 1px solid #dce7e8; border-radius: 13px; }
.hp-handoff>div:last-child { background: #effcfb; border-color: #6dcdca; }
.hp-handoff small { text-transform: uppercase; color: #007f85; font-size: .65rem; letter-spacing: .1em; }
.hp-handoff b { font-size: .9rem; line-height: 1.5; }
.hp-handoff span { color: #63777e; font-size: .73rem; }
.hp-handoff>.hp-icon { color: #008e93; }
.hp-faq-layout { display: grid; grid-template-columns: 1fr 2fr; gap: 80px; }
.hp-faq details { border-bottom: 1px solid #dce7e8; }
.hp-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 0; cursor: pointer; font-weight: 700; font-size: .9rem; list-style: none; }
.hp-faq summary::-webkit-details-marker { display: none; }
.hp-faq summary span { color: #007f85; font-size: 1.15rem; flex-shrink: 0; }
.hp-faq details[open] summary { color: #007f85; }
.hp-faq details[open] summary span { transform: rotate(45deg); }
.hp-faq p { color: #62707a; font-size: .86rem; line-height: 1.7; padding-bottom: 18px; margin: 0; }
.hp-final { padding-block: 125px; background: radial-gradient(circle at 50% 45%,#b8f2ee 0,transparent 35%),#eaf7f6; }
.hp-final h2 { font-size: clamp(2.2rem,4vw,4rem); }
.hp-final p:not(.hp-kicker) { color: #596a70; max-width: 550px; margin: 22px auto 28px; font-size: .94rem; }
.hp-final .hp-actions { justify-content: center; }
.rex-home :focus-visible { outline: 3px solid #008087; outline-offset: 4px; }
.hp-dark :focus-visible { outline-color: #8bf7f0; }
@keyframes hp-float { 50% { transform: translateY(-8px); } }
@keyframes hp-dot { to { opacity: .3; transform: translateY(-2px); } }

@media(max-width:1100px) {
  .hp-nav nav { gap: 30px; }.hp-nav-links { gap: 18px; }
  .hp-split { gap: 44px; }.hp-hero h1 { font-size: 4.7rem; }
  .hp-workflow { flex-wrap: wrap; }.hp-workflow>div { flex-basis: 38%; }
  .hp-workflow>span:nth-of-type(2) { display: none; }
  .hp-handoff { grid-template-columns: 1fr; }.hp-handoff>.hp-icon { justify-self: center; transform: rotate(90deg); }
}
@media(max-width:991px) {
  .hp-section { padding-block: 75px; }.hp-container { width: min(100% - 40px,720px); }
  .hp-split { grid-template-columns: 1fr; gap: 40px; }
  .hp-hero-inner { padding-block: 130px 65px; min-height: 0; }
  .hp-hero-copy { max-width: 600px; }.hp-hero h1 { font-size: clamp(3.6rem,8vw,5.2rem); }
  .hp-stage { max-width: 570px; width: 100%; margin-inline: auto; }
  .hp-nav-inner { min-height: 72px; justify-content: space-between; flex-wrap: wrap; gap: 0; }
  .hp-nav { background: #fffffff2; }
  .hp-menu { display: grid; gap: 5px; align-content: center; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; }
  .hp-menu span { display: block; width: 23px; height: 2px; background: #0a1620; }
  .hp-nav nav { flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 20px; padding-block: 12px 24px; }
  .hp-nav-links { flex-direction: column; align-items: stretch; margin: 0; gap: 0; }
  .hp-nav-links a { padding: 12px 0; }
  .hp-nav-actions { justify-content: space-between; }
  .hp-nav nav[hidden] { display: none; }
  .hp-nav:has(nav:not([hidden])) { position: relative; }
  .hp-problem-grid { grid-template-columns: 1fr 1fr; }.hp-tab-panel { gap: 28px; padding: 28px; }
  .hp-integrations { grid-template-columns: repeat(5,minmax(0,1fr)); }
  .hp-steps { gap: 30px; }.hp-price { padding: 22px; }.hp-price-featured { padding: 21px; }
  .hp-faq-layout { grid-template-columns: 1fr 2fr; gap: 40px; }
  .hp-handoff { grid-template-columns: 1fr 24px 1fr; }.hp-handoff>.hp-icon { transform: none; }
  .hp-workflow { flex-wrap: nowrap; }.hp-workflow>span:nth-of-type(2) { display: block; }
}
@media(max-width:600px) {
  .rex-home h2 { font-size: 2.15rem; }.hp-section { padding-block: 60px; }.hp-intro { margin-bottom: 30px; }
  .hp-lead,.hp-copy { font-size: .95rem; }.hp-hero h1 { font-size: 3.7rem; }
  .hp-hero-inner { padding-top: 118px; }
  .hp-stage { height: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .hp-chat { position: relative; left: auto; top: auto; width: 100%; grid-column: 1/-1; grid-row: 2; }
  .hp-float { position: static; padding: 9px 10px; animation: none; align-self: start; min-width: 0; }
  .hp-float-lead { grid-column: 2; grid-row: 1; }
  .hp-float-auto { grid-column: 2; grid-row: 3; }
  .hp-float-knowledge { grid-column: 1; grid-row: 3; }
  .hp-float-knowledge strong,.hp-float-auto strong { min-width: 0; }
  .hp-float-metric { grid-column: 2; grid-row: 4; }
  .hp-float strong { font-size: .66rem; }.hp-float-metric strong { font-size: 1.1rem; }
  .hp-float-metric small { font-size: .54rem; }.hp-float-knowledge .hp-icon { width: 16px; flex-basis: 16px; }
  .hp-trust .hp-container { flex-direction: column; text-align: center; gap: 10px; }.hp-trust { font-size: .68rem; }
  .hp-problem-grid { grid-template-columns: 1fr; }.hp-card { padding: 22px; }
  .hp-card h3 { margin-top: 15px; }.hp-flow>div { padding: 20px; }
  .hp-tab-panel { grid-template-columns: 1fr; padding: 24px; min-height: 0; }
  .hp-tabs button { padding: 15px 16px; font-size: .76rem; }.hp-tab-panel h3 { font-size: 1.55rem; }
  .hp-orbit { height: 330px; }.hp-orbit::before { inset: 30px 15px; }.hp-orbit::after { inset: 65px 40px; }
  .hp-core { width: 104px; height: 104px; }.hp-orbit-item { font-size: .58rem; padding: 6px 7px; }
  .hp-orbit-0 { left: 0; }.hp-orbit-2 { right: 0; }.hp-orbit-1 { left: 32%; }
  .hp-orbit-4 { right: 5%; bottom: 3%; }.hp-orbit-5 { left: 5%; bottom: 3%; }.hp-orbit-7 { left: 0; bottom: 21%; }
  .hp-ui { padding: 17px; }.hp-lead-row { grid-template-columns: 26px minmax(0,1fr) auto; gap: 7px; }
  .hp-lead-row>.hp-pill { grid-column: 2/-1; justify-self: start; }
  .hp-voice-preview { width: 100%; }.hp-wave { gap: 5px; }.hp-followup { width: 100%; }
  .hp-followup header { flex-wrap: wrap; }.hp-followup dl { gap: 14px; }
  .hp-workflow { display: grid; grid-template-columns: 1fr; }.hp-workflow>span { text-align: center; transform: rotate(90deg); }
  .hp-integrations { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .hp-analytics-metrics { grid-template-columns: 1fr 1fr; }.hp-analytics-metrics small { font-size: .6rem; }
  .hp-stats { padding-block: 55px 30px; }.hp-stats .hp-container>div { grid-template-columns: 1fr 1fr; gap: 35px 15px; }
  .hp-security { grid-template-columns: 1fr; gap: 14px; padding: 24px; }.hp-security>.hp-icon { width: 60px; height: 60px; }
  .hp-steps,.hp-pricing { grid-template-columns: 1fr; gap: 20px; }.hp-steps li:not(:last-child)::after { display: none; }
  .hp-price,.hp-price-featured { padding: 25px; }.hp-handoff { grid-template-columns: 1fr; }.hp-handoff>.hp-icon { transform: rotate(90deg); }
  .hp-faq-layout { grid-template-columns: 1fr; gap: 25px; }.hp-faq summary { font-size: .85rem; }
  .hp-final { padding-block: 80px; }
}
@media(prefers-reduced-motion:reduce) {
  .rex-home *, .rex-home *::before,.rex-home *::after { animation: none!important; transition: none!important; scroll-behavior: auto!important; }
}

/* One-time scroll reveals, with a short stagger between paired section elements. */
.hp-reveal { opacity: 1; transform: translateY(0); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.65,.3,1); }
.hp-reveal:nth-child(2) { transition-delay: .1s; }
.hp-reveal:nth-child(3) { transition-delay: .18s; }
.hp-reveal.is-pending { opacity: 0; transform: translateY(24px); }
@media (prefers-reduced-motion: reduce) {
  .hp-reveal.is-pending { opacity: 1; transform: none; }
}
@media print {
  .hp-reveal.is-pending { opacity: 1; transform: none; }
}
