/* Visual explanations: fictional records, a visible change, and the resulting work. */
.home-conversion-hero--data-hub { align-items: center; background: #f5f8f3; }
.home-conversion-hero--data-hub .hero-bee { margin-bottom: 18px; }
.home-conversion-hero--data-hub .hero-bee .sm-bee { width: 66px; height: 66px; }
.home-conversion-hero--data-hub h1 { color: #253d32; }
.home-conversion-hero--data-hub .tagline { max-width: 39rem; line-height: 1.65; }
.home-hub-promise { color: #354f3c; font-weight: 600; font-size: .95rem; line-height: 1.6; margin: 18px 0 0; max-width: 34rem; }
.home-hub-positioning { max-width: 850px; color: #5a6857; line-height: 1.75; }
.data-hub-hero { padding: clamp(18px, 2.2vw, 30px); min-width: 0; background: linear-gradient(145deg, #fff, #fffdfa); }
.data-hub-hero .data-hub-hero__choices { justify-content: center; }
.data-hub-hero figcaption { line-height: 1.6; }
.data-hub-hero [hidden] { display: none !important; }
/* The hub graphic is a wide 16:9 image, so it spans the hero below the copy instead of sitting beside it. */
.data-hub-hero--graphic { grid-column: 1 / -1; width: 100%; max-width: none; padding: 0; border: 0; background: none; box-shadow: none; transform: none; }
.data-hub-hero .data-hub-hero__graphic { display: block; width: 100%; height: auto; border-radius: 20px; box-shadow: 0 22px 54px #213d3326; }
.data-hub-hero--graphic figcaption { margin-top: 12px; color: #68736c; font-size: .78rem; text-align: center; }
.hub-client-showcase { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: center; gap: clamp(28px, 4vw, 60px); margin: 30px 0 55px; }
.hub-client-showcase__copy h2 { color: #304a38; font-size: clamp(1.8rem, 3vw, 2.8rem); line-height: 1.1; letter-spacing: -.035em; }
.hub-client-showcase__copy p { color: #586b59; line-height: 1.75; margin-bottom: 24px; }
.hub-story { margin: 0; min-width: 0; padding: clamp(18px, 2.2vw, 30px); background: #213d33; border-color: #213d33; border-radius: 24px; box-shadow: 0 22px 54px #213d3326; color: #f6faf4; }
.hub-story__top { display: flex; align-items: center; gap: 9px; color: #d6e5d6; font-size: .68rem; font-weight: 700; letter-spacing: .13em; }
.hub-story__dot { width: 7px; height: 7px; border-radius: 50%; background: #d9c17e; flex-shrink: 0; }
.hub-story__records { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 25px 0 0; }
.hub-record { display: flex; flex-direction: column; gap: 9px; padding: 18px 15px; border: 1px solid #e1e7de; border-radius: 11px; background: #f8faf5; color: #263d32; box-shadow: 0 5px 10px #00000012; }
.hub-record--mail { transform: rotate(-3deg); }
.hub-record--note { transform: rotate(2deg); background: #eee9cf; }
.hub-record--calendar { transform: rotate(-1deg); }
.hub-record--update { transform: rotate(3deg); background: #ffe5b3; border-color: #f7c976; }
.hub-record__type { display: flex; align-items: center; gap: 6px; font-size: .65rem; font-weight: 700; }
.hub-record__type svg, .hub-paper__label svg, .hub-update__heading svg, .hub-ownership__records svg { width: 19px; height: 19px; flex-shrink: 0; }
.hub-record strong { font-size: .93rem; line-height: 1.35; }
.hub-record > span:last-child { font-size: .68rem; line-height: 1.5; }
.hub-record__flag { color: #71521f; font-weight: 700; }
.hub-story__join { display: flex; align-items: center; justify-content: center; gap: 12px; height: 40px; color: #d3e3cc; }
.hub-story__join span { width: 30%; height: 1px; background: #72917b; }
.hub-story__join b { font-size: 24px; font-weight: 400; }
.hub-story__answer { padding: 21px; background: #fff; color: #283e33; border-radius: 12px; }
.hub-story__answer-label { display: flex; align-items: center; gap: 7px; font-size: .73rem; font-weight: 700; }
.hub-story__answer-label > span:last-child { margin-left: auto; color: #607265; font-size: .65rem; font-weight: 500; }
.hub-story__monogram { display: grid; place-items: center; background: #e4eddf; border-radius: 6px; width: 24px; height: 24px; font-family: Georgia, serif; font-size: 17px; }
.hub-story__answer h3 { margin: 17px 0 9px; font-size: 1.25rem; line-height: 1.22; letter-spacing: -.03em; }
.hub-story__answer p { margin: 0; color: #526157; font-size: .85rem; line-height: 1.65; }
.hub-story__answer p strong { color: #263d32; background: #e8efdf; }
.hub-story__sources { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 15px; font-size: .67rem; color: #49614e; }
.hub-story__sources span { padding: 4px 7px; background: #f0f5ed; border-radius: 5px; }
.hub-story__try { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 18px; padding: 6px 0; color: #f5e2ac; font-size: .82rem; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.hub-story__try:hover { color: #fff; }
.hub-story figcaption { color: #c3d2c8; font-size: .66rem; line-height: 1.5; padding-top: 13px; text-align: center; }

.hub-examples { width: 100%; max-width: 1440px; min-width: 0; margin: 0 auto 34px; padding: clamp(24px, 4.5vw, 64px); border: 1px solid #dce4d9; border-radius: 24px; background: #fff; }
.hub-section-heading { max-width: 760px; }
.hub-section-heading h2 { margin: 12px 0 17px; color: #273e32; font-size: clamp(2rem, 3.8vw, 3.65rem); line-height: 1.05; letter-spacing: -.045em; }
.hub-section-heading h2 em { color: #647d55; font-style: normal; }
.hub-section-heading > p { color: #5f6e62; max-width: 550px; line-height: 1.65; }
#missing-pieces-title { scroll-margin-top: 120px; }
.hub-scenarios { display: flex; flex-wrap: wrap; gap: 9px; margin: 25px 0; }
.hub-scenarios button, .data-hub-hero__choices button { border: 1px solid #b8c6b7; border-radius: 999px; padding: 12px 19px; background: #fff; color: #354b3a; font: inherit; font-size: .86rem; font-weight: 600; cursor: pointer; min-height: 44px; transition: background .16s, color .16s; }
.hub-scenarios button[aria-pressed="true"], .data-hub-hero__choices button[aria-pressed="true"] { background: #354f3c; color: #fff; border-color: #354f3c; }
.hub-scenarios button:hover, .data-hub-hero__choices button:hover { box-shadow: inset 0 0 0 1px #6a815c; }
.hub-examples button:focus-visible, .hub-examples summary:focus-visible, .data-hub-hero__choices button:focus-visible, .hub-story__try:focus-visible { outline: 3px solid #b77b28; outline-offset: 4px; }
.hub-examples [hidden], .hub-ownership [hidden] { display: none !important; }
.hub-scenario { background: #f4f7f0; border: 1px solid #e0e7db; border-radius: 18px; padding: clamp(18px, 3vw, 35px); margin-top: 20px; }
.hub-question { margin: 0 0 27px; color: #2e4234; font-size: clamp(1.05rem, 2vw, 1.5rem); font-weight: 600; line-height: 1.45; letter-spacing: -.02em; }
.hub-question > span { color: #829570; }
.hub-scenario__workspace { display: grid; grid-template-columns: minmax(0, 1fr) 38px minmax(0, 1fr); gap: 20px; align-items: start; }
.hub-step-label { display: block; color: #5c6e56; font-size: .64rem; font-weight: 700; letter-spacing: .13em; margin-bottom: 15px; }
.hub-paper { position: relative; border: 1px solid #dce1d5; border-radius: 9px; padding: 20px 22px; background: #fff; box-shadow: 0 5px 0 -2px #e5e9df, 0 6px 0 -2px #cbd6c3; }
.hub-paper__label { display: flex; align-items: center; gap: 7px; color: #66725e; font-size: .76rem; margin-bottom: 12px; }
.hub-paper > strong, .hub-update > strong { display: block; font-size: 1.1rem; line-height: 1.4; color: #304433; }
.hub-paper p, .hub-update p { font-size: .87rem; line-height: 1.6; color: #58674e; margin: 9px 0; }
.hub-paper__lines { display: flex; flex-direction: column; gap: 6px; margin-top: 17px; }
.hub-paper__lines i { display: block; height: 4px; background: #eef0e9; width: 76%; border-radius: 2px; }
.hub-paper__lines i:last-child { width: 52%; }
.hub-update { margin: 20px 0 0 20px; padding: 18px 21px; background: #fff3d9; border: 1px solid #ddbb7b; border-radius: 10px; transition: background .18s, border-color .18s; }
.hub-update__heading { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 7px; margin-bottom: 14px; color: #79602e; font-size: .7rem; }
.hub-update__heading > span:first-child { display: flex; align-items: center; gap: 7px; }
.hub-update__heading > span:last-child { border-radius: 20px; padding: 3px 7px; background: #f8e4b9; font-size: .64rem; font-weight: 700; }
.hub-update small { color: #72664c; font-size: .68rem; }
.hub-update__toggle { display: flex; width: 100%; align-items: center; justify-content: space-between; margin-top: 17px; border: 1px solid #354f3c; border-radius: 7px; padding: 12px; background: #354f3c; color: #fff; font: inherit; font-size: .79rem; font-weight: 600; cursor: pointer; min-height: 44px; }
.hub-update__toggle:hover { background: #233c2b; }
.hub-scenario[data-included="true"] .hub-update { background: #e9f0e2; border-color: #9ab087; }
.hub-scenario[data-included="true"] .hub-update__heading { color: #455e38; }
.hub-scenario[data-included="true"] .hub-update__heading > span:last-child { background: #d7e6c8; }
.hub-scenario[data-included="true"] .hub-update__toggle { background: #fff; color: #354f3c; }
.hub-scenario__arrow { align-self: center; font-size: 30px; color: #839576; }
.hub-result { min-height: 384px; padding: clamp(22px, 3vw, 35px); background: #fff; border: 1px solid #dce3d6; border-top: 4px solid #b6bfae; border-radius: 12px; }
.hub-result__status { display: inline-block; font-size: .7rem; color: #71694e; background: #f5efde; padding: 5px 9px; border-radius: 6px; }
.hub-result h4 { color: #31432e; font-size: clamp(1.3rem, 2.2vw, 2rem); line-height: 1.17; letter-spacing: -.025em; margin: 24px 0 16px; }
.hub-result > p { color: #58664f; line-height: 1.7; font-size: .91rem; }
.hub-result__gap { border-top: 1px dashed #d1d9c8; margin-top: 32px; padding-top: 23px; font-size: .82rem; color: #6c705d; line-height: 1.6; }
.hub-result__gap > span { display: inline-block; font-size: 22px; margin-right: 5px; }
.hub-scenario[data-included="true"] .hub-result { border-top-color: #64854c; }
.hub-result__status[data-stage="after"] { color: #466037; background: #e6efdc; }
.hub-result__change { margin: 20px 0; font-size: clamp(1.1rem, 2vw, 1.75rem); font-weight: 700; color: #3d632e; letter-spacing: -.025em; }
.hub-result__next { padding-top: 17px; border-top: 1px solid #e0e6d9; }
.hub-result__next span { display: block; margin-bottom: 6px; font-size: .65rem; text-transform: uppercase; letter-spacing: .08em; color: #677a58; }
.hub-result__next strong { font-size: .86rem; color: #384e2f; font-weight: 600; line-height: 1.55; }
.hub-source-detail { border-top: 1px solid #dbe3d2; padding-top: 17px; margin-top: 24px; color: #455f37; font-size: .83rem; }
.hub-source-detail summary { cursor: pointer; padding: 8px 0; min-height: 44px; }
.hub-source-detail p { max-width: 850px; color: #556a48; line-height: 1.7; margin: 6px 0; }
.hub-illustration-note { color: #67715f; font-size: .73rem; line-height: 1.65; max-width: 920px; margin: 19px 0 0; }

.hub-ownership { display: grid; grid-template-columns: minmax(0, 1fr) 42px minmax(0, 1fr); gap: 24px; margin-top: 27px; align-items: center; }
.hub-ownership__saved { background: #e5eddc; border: 1px solid #c7d6bb; border-radius: 14px; padding: clamp(22px, 3vw, 35px); }
.hub-ownership__saved > strong { display: block; margin-top: 24px; font-size: 1.3rem; color: #344c2c; letter-spacing: -.025em; }
.hub-ownership__saved > p, .hub-ownership__selection p { font-size: .9rem; line-height: 1.7; color: #56664a; margin: 9px 0 0; }
.hub-ownership__records { display: flex; flex-wrap: wrap; gap: 8px; }
.hub-ownership__records > span { display: flex; align-items: center; gap: 7px; padding: 9px 11px; background: #ffffffb3; border: 1px solid #cedbc2; border-radius: 8px; font-size: .74rem; color: #455c39; }
.hub-ownership__bridge { font-size: 36px; text-align: center; color: #7e956b; }
.data-hub-hero__choices { display: flex; flex-wrap: wrap; gap: 7px; }
.data-hub-hero__choices button { font-size: .76rem; padding: 10px 12px; }
.hub-ownership__selection { padding: 22px; margin-top: 15px; border: 1px dashed #adbea0; border-radius: 12px; min-height: 155px; background: #fff; }
.hub-ownership__selection strong { font-size: 1.1rem; color: #3e5a31; }
.hub-job-flow { display: grid; gap: 0; padding: 0; margin: 26px 0; list-style: none; }
.hub-job-flow li { display: flex; gap: 13px; position: relative; padding-bottom: 18px; }
.hub-job-flow li:not(:last-child)::before { position: absolute; content: ''; top: 29px; bottom: 0; left: 14px; width: 1px; background: #cad5c2; }
.hub-job-flow li > span { display: grid; place-items: center; width: 29px; height: 29px; flex-shrink: 0; border-radius: 50%; background: #e4ecdd; color: #4a663a; font-size: .75rem; font-weight: 700; }
.hub-job-flow li:last-child > span { background: #405c34; color: #fff; }
.hub-job-flow strong { color: #354c2e; font-size: .85rem; }
.hub-job-flow p { margin: 5px 0 0; color: #66745c; font-size: .8rem; line-height: 1.6; }

/* A true, checkable proof line under the hero actions. */
.home-proof { margin: 14px 0 0; color: #5d6b58; font-size: .82rem; line-height: 1.6; }
.home-proof a { color: #354f3c; font-weight: 600; }

/* The phone-only App Store button; wider screens get the text link in the availability line. */
.home-app-store-button { display: none; }

/* What goes into the hub and what comes back: shipped capabilities in plain words. */
.home-hub-today { width: 100%; min-width: 0; max-width: 1440px; margin: 0 auto 34px; padding: clamp(30px, 4.5vw, 66px); border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; }
.home-hub-today__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 27px; }
.home-hub-today__grid article { min-width: 0; padding: clamp(20px, 2.4vw, 30px); border: 1px solid #dce4d9; border-radius: 14px; background: #f8faf5; }
.home-hub-today__grid h3 { margin: 0 0 12px; color: #253d32; font-size: 1.1rem; }
.home-hub-today__grid ul { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.home-hub-today__grid li { position: relative; padding-left: 20px; color: #4d5b49; font-size: .92rem; line-height: 1.6; }
.home-hub-today__grid li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: #8ca391; }
.home-hub-today__grid li strong { color: #253d32; }
.home-hub-today__note { max-width: 58rem; margin: 20px 0 0; color: #5d6b58; font-size: .86rem; line-height: 1.6; }

@media (min-width: 1100px) {
    .home-conversion-hero--data-hub { grid-template-columns: minmax(0, 1fr); gap: 44px; padding: 44px; }
    .home-conversion-hero--data-hub .home-conversion-hero__copy { max-width: 52rem; }
    .home-conversion-hero--data-hub h1 { font-size: clamp(2.7rem, 3.7vw, 4.2rem); }
    .home-conversion-hero--data-hub .tagline { font-size: 1.1rem; }
}
@media (max-width: 1099px) {
    .home-conversion-hero--data-hub { grid-template-columns: 1fr; }
    .hub-story { width: 100%; max-width: 700px; justify-self: center; }
    .data-hub-hero:not(.data-hub-hero--graphic) { width: 100%; max-width: 700px; justify-self: center; }
}
@media (max-width: 760px) {
    .home-conversion-hero--data-hub { gap: 18px; }
    .home-conversion-hero--data-hub .home-conversion-hero__copy { display: contents; }
    .home-conversion-hero--data-hub .hero-bee { display: none; }
    .home-conversion-hero--data-hub .eyebrow { order: 1; }
    .home-conversion-hero--data-hub h1 { order: 2; margin: 0; }
    .home-conversion-hero--data-hub .tagline { order: 3; margin: 0; font-size: 1rem; }
    .home-conversion-hero--data-hub .home-hub-promise { order: 3; margin: 0; }
    /* On a phone the first screen needs an action, so the buttons come before the diagram. */
    .home-conversion-hero--data-hub .hero-actions { order: 4; margin-top: 0; }
    .home-conversion-hero--data-hub .home-conversion-hero__availability { order: 5; margin: 0; }
    .home-conversion-hero--data-hub .home-proof { order: 6; margin: 0; }
    .home-conversion-hero--data-hub .data-hub-hero { order: 7; }
    .home-app-store-button { display: inline-flex; }
    .home-hub-today { margin-bottom: 22px; padding: 24px 20px; border-radius: 15px; }
    .home-hub-today__grid { grid-template-columns: minmax(0, 1fr); }
    .hub-scenario__workspace, .hub-ownership { grid-template-columns: minmax(0, 1fr); gap: 12px; }
    .hub-scenario__arrow, .hub-ownership__bridge { transform: rotate(90deg); justify-self: center; font-size: 28px; }
    .hub-scenario__arrow { height: 32px; }
    .hub-result { min-height: 0; }
    .hub-scenarios { gap: 7px; }
    .hub-scenarios button { flex: 1 1 auto; font-size: .77rem; padding: 10px 13px; }
    .hub-update { margin-left: 10px; }
    .hub-ownership__selection { min-height: 0; }
    .home-trust__grid { grid-template-columns: minmax(0, 1fr); grid-auto-flow: row; grid-auto-columns: auto; overflow: visible; gap: 20px; }
    .hub-client-showcase { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 480px) {
    .home-conversion-hero--data-hub { padding: 23px 17px; }
    .home-conversion-hero--data-hub h1 { font-size: clamp(2rem, 8.6vw, 2.8rem); }
    .hub-story { padding: 18px 14px; }
    .hub-record { padding: 13px 10px; gap: 7px; }
    .hub-record__type { font-size: .6rem; line-height: 1.5; }
    .hub-record__type svg { display: none; }
    .hub-record strong { font-size: .8rem; }
    .hub-story__records { gap: 10px; }
    .hub-story__top { font-size: .59rem; letter-spacing: .07em; }
    .hub-story__answer { padding: 17px; }
    .hub-story__answer-label > span:last-child { display: none; }
    .hub-story__answer h3 { font-size: 1.2rem; }
    .hub-examples { padding: 26px 15px; }
    .hub-scenario { padding: 18px 13px; }
    .hub-question { font-size: 1.05rem; }
    .hub-paper, .hub-update { padding: 17px; }
}
@media (prefers-reduced-motion: reduce) {
    .hub-examples *, .hub-ownership * { transition: none !important; animation: none !important; }
}
