/* Below-the-hero styles. The existing hero and navigation remain untouched. */
.home-story { --story-ink: #14283b; --story-muted: #657589; color: var(--story-ink); }
.home-story * { box-sizing: border-box; }
.home-story h2, .home-story h3, .home-story p, .home-story figure { margin: 0; }
.home-story img { display: block; max-width: 100%; height: auto; }
.home-story h2 { font-size: clamp(34px, 3.6vw, 52px); line-height: 1.08; letter-spacing: -.04em; font-weight: 650; text-wrap: balance; }
.home-story h3 { letter-spacing: -.025em; }
.home-story .button { min-height: 50px; padding: 0 25px; gap: 22px; font-size: 15px; white-space: nowrap; }
.home-story .button span { font-size: 20px; }
.home-story a:focus-visible, .home-story summary:focus-visible { outline: 3px solid #0071e3; outline-offset: 6px; }
.story-width { width: min(1120px, calc(100% - 64px)); margin-inline: auto; }
.story-wide { width: min(1440px, calc(100% - 48px)); margin-inline: auto; }
.story-eyebrow { color: #006ad5; font-size: 11px; font-weight: 650; letter-spacing: 1.5px; line-height: 1.5; }
.story-heading .story-eyebrow, .repeat-heading .story-eyebrow, .desktop-copy .story-eyebrow { margin-bottom: 18px; }
.story-heading > p:not(.story-eyebrow), .story-heading > div > p:not(.story-eyebrow) { max-width: 780px; margin-top: 23px; color: var(--story-muted); font-size: 18px; line-height: 1.6; }
.story-heading-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 35px; }
.story-heading-row > .button { margin-top: 33px; }
.story-features { padding-block: 105px 110px; }
.feature-accordion { position: relative; min-height: 590px; margin-top: 52px; padding-right: 55%; }
.story-feature { border-top: 1px solid #dce2e9; }
.story-feature:last-child { border-bottom: 1px solid #dce2e9; }
.story-feature summary { list-style: none; display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; padding: 27px 0; cursor: pointer; font-size: 22px; line-height: 1.35; letter-spacing: -.025em; font-weight: 500; }
.story-feature summary::-webkit-details-marker { display: none; }
.story-feature summary::marker { content: ''; }
.story-feature summary:hover { color: #006ad5; }
.story-feature[open] summary { color: #006ad5; }
.accordion-sign { flex: 0 0 17px; width: 17px; height: 17px; position: relative; margin-top: 6px; }
.accordion-sign::before, .accordion-sign::after { content: ''; position: absolute; background: currentColor; border-radius: 2px; }
.accordion-sign::before { width: 15px; height: 1.5px; left: 1px; top: 7px; }
.accordion-sign::after { width: 1.5px; height: 15px; top: 1px; left: 7px; }
.story-feature[open] .accordion-sign::after { display: none; }
.home-story .feature-description { padding: 0 22px 30px 0; color: var(--story-muted); font-size: 16px; line-height: 1.7; }
.home-story .feature-visual { position: absolute; top: 0; right: 0; width: 49%; height: 590px; overflow: hidden; border-radius: 28px; background: linear-gradient(145deg, #f0f7ff, #e8f2ff 55%, #edf0fc); display: flex; align-items: center; justify-content: center; padding: 35px; }
.visual-orbit { position: absolute; width: 440px; height: 440px; border: 1px solid #fff; border-radius: 50%; box-shadow: 0 0 0 55px #ffffff30, 0 0 0 110px #ffffff20; }
.phone-capture { position: relative; z-index: 1; width: 228px; border-radius: 32px; overflow: hidden; border: 5px solid #fff; box-shadow: 0 20px 45px #1d497728, 0 0 0 1px #bacde255; transform: rotate(-4deg); }
.phone-capture > img { width: 100%; }
.home-story .feature-visual figcaption { position: absolute; bottom: 20px; left: 10px; right: 10px; color: #536f8d; text-align: center; font-size: 11px; letter-spacing: .2px; }
.home-story .visual-art { position: absolute; z-index: 2; width: 105px; filter: drop-shadow(0 12px 10px #23486920); }
.chat-art { bottom: 75px; right: 20px; transform: rotate(14deg); }
.browser-art { top: 80px; left: 15px; transform: rotate(-15deg); }
.browser-visual .phone-capture { transform: rotate(4deg); }
.home-story .screen-visual { padding: 24px; }
.home-story .feature-screen { position: relative; width: 100%; border-radius: 12px; box-shadow: 0 22px 50px #234b7b24, 0 0 0 1px #ffffff; }
.home-story .workspace-feature .feature-screen { width: 125%; max-width: none; flex-shrink: 0; transform: translateX(10%); }
.story-actions { padding-block: 88px; background: #f5f9fe; scroll-margin-top: 30px; }
.story-actions .story-heading { text-align: center; }
.story-actions .story-heading > p { margin-inline: auto; }
.story-action-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 44px; }
.story-action-card { background: #fff; border: 1px solid #e4edf7; border-radius: 22px; overflow: hidden; }
.action-art { height: 155px; display: flex; align-items: center; justify-content: center; background: radial-gradient(ellipse at 50% 75%, #dbeafe, #f6faff 75%); }
.action-art img { width: 112px; filter: drop-shadow(0 10px 8px #24486c15); }
.action-copy { padding: 24px 25px 27px; }
.home-story .action-category { color: #47749f; font-size: 9px; font-weight: 650; letter-spacing: 1.3px; margin-bottom: 10px; }
.action-copy h3 { font-size: 21px; line-height: 1.25; font-weight: 600; }
.action-copy > p:last-child { margin-top: 12px; color: var(--story-muted); font-size: 14px; line-height: 1.65; }
.actions-bottom { display: flex; flex-direction: column; align-items: center; gap: 22px; margin-top: 35px; text-align: center; }
.actions-bottom p { font-size: 14px; color: var(--story-muted); line-height: 1.6; }
.actions-bottom strong { font-weight: 500; color: var(--story-ink); }
.story-repeat { display: grid; grid-template-columns: 1fr 1fr; gap: 10%; align-items: center; padding-block: 112px; }
.repeat-heading > p:last-child { max-width: 310px; margin-top: 24px; font-size: 17px; line-height: 1.6; color: var(--story-muted); }
.repeat-steps { list-style: none; margin: 0; padding: 0; }
.repeat-steps li { display: flex; gap: 23px; padding-block: 24px; border-bottom: 1px solid #e0e7ef; }
.repeat-steps li:first-child { padding-top: 0; }
.repeat-steps li:last-child { border-bottom: 0; padding-bottom: 0; }
.step-index { display: grid; place-items: center; align-self: flex-start; flex: 0 0 40px; height: 40px; border-radius: 50%; background: #edf5ff; color: #0071e3; font-size: 12px; font-weight: 600; }
.repeat-steps h3 { font-size: 21px; font-weight: 600; margin: 1px 0 9px; }
.repeat-steps p { font-size: 15px; line-height: 1.6; color: var(--story-muted); max-width: 320px; }
.story-desktop { display: grid; grid-template-columns: 1.18fr 1fr; align-items: center; gap: 6%; margin-bottom: 110px; }
.desktop-art { position: relative; display: flex; justify-content: center; align-items: center; min-width: 0; aspect-ratio: 1.22; padding: 38px; border-radius: 30px; overflow: hidden; background: radial-gradient(ellipse at 15% 10%, #add6fc, transparent 70%), linear-gradient(140deg, #6daef0, #066ade 60%, #0749b2); }
.desktop-halo { position: absolute; width: 125%; height: 70%; top: -20%; left: -45%; border: 1px solid #ffffff30; border-radius: 50%; box-shadow: 0 0 0 80px #ffffff0c, 0 0 0 160px #ffffff0c; transform: rotate(-35deg); }
.desktop-art > img { position: relative; width: 100%; border-radius: 9px; box-shadow: 0 25px 40px #06336d45, 0 0 0 1px #ffffff70; }
.desktop-copy { padding: 35px 32px 35px 0; }
.desktop-copy > p:not(.story-eyebrow):not(.device-lineup) { max-width: 400px; margin: 25px 0 28px; color: var(--story-muted); font-size: 18px; line-height: 1.6; }
.home-story .device-lineup { margin-top: 17px; color: var(--story-muted); font-size: 12px; }
.story-closing { position: relative; isolation: isolate; overflow: hidden; min-height: 560px; padding: 70px 25px; display: grid; place-items: center; border-radius: 32px; margin-bottom: 50px; background: radial-gradient(ellipse at 5% 0, #b9dcff, transparent 65%), radial-gradient(ellipse at 95% 5%, #c7d6ff, transparent 65%), linear-gradient(120deg, #ecf6ff, #f0f7ff); }
.closing-center { position: relative; z-index: 1; text-align: center; }
.closing-app-icon { width: 92px; height: 92px; display: grid; place-items: center; background: linear-gradient(#fff, #f7f9fc); border: 2px solid #fff; border-radius: 24px; box-shadow: 0 10px 20px #23548925; margin: 0 auto 29px; }
.closing-app-icon img { width: 66px; }
.closing-center .story-eyebrow { font-size: 10px; margin-bottom: 19px; }
.closing-center h2 { font-size: clamp(36px, 4vw, 56px); }
.closing-center > p:not(.story-eyebrow) { margin: 22px 0 27px; font-size: 16px; color: var(--story-muted); }
.closing-objects { position: absolute; inset: 0; pointer-events: none; }
.closing-objects img { position: absolute; width: clamp(90px, 12%, 165px); filter: drop-shadow(0 14px 12px #365b8922); }
.object-video { top: 2%; left: 9%; transform: rotate(-14deg); }
.object-travel { top: 1%; right: 10%; transform: rotate(14deg); }
.object-design { top: 42%; left: -2%; transform: rotate(-12deg); }
.object-calendar { top: 40%; right: -1%; transform: rotate(12deg); }
.object-home { bottom: -7%; left: 15%; transform: rotate(7deg); }
.object-study { bottom: -7%; right: 13%; transform: rotate(-10deg); }
@media (max-width: 1000px) {
  .story-heading-row > .button { display: none; }
  .feature-accordion { padding-right: 53%; }
  .story-feature summary { font-size: 20px; }
  .home-story .feature-description { font-size: 15px; padding-right: 5px; }
  .story-action-grid { gap: 14px; }
  .action-copy { padding: 21px; }
  .action-copy h3 { font-size: 19px; }
  .story-repeat { gap: 7%; }
  .story-desktop { gap: 5%; }
  .desktop-art { padding: 24px; }
  .desktop-copy { padding-right: 0; }
  .desktop-copy h2 { font-size: 36px; }
  .desktop-copy > p:not(.story-eyebrow):not(.device-lineup) { font-size: 16px; }
  .closing-objects img { width: 110px; }
}
@media (max-width: 700px) {
  .story-width { width: calc(100% - 40px); }
  .story-wide { width: calc(100% - 28px); }
  .home-story h2 { font-size: 36px; letter-spacing: -.035em; }
  .story-features { padding-block: 66px; }
  .story-eyebrow { font-size: 9px; letter-spacing: 1.2px; }
  .story-heading > p:not(.story-eyebrow), .story-heading > div > p:not(.story-eyebrow) { font-size: 16px; margin-top: 21px; }
  .story-desktop-break { display: none; }
  .feature-accordion { padding-right: 0; min-height: 0; margin-top: 32px; }
  .story-feature summary { padding-block: 23px; font-size: 19px; }
  .home-story .feature-description { padding: 0 10px 24px 0; font-size: 15px; }
  .home-story .feature-visual { position: relative; width: 100%; height: 490px; margin-bottom: 24px; border-radius: 22px; padding: 25px; }
  .phone-capture { width: 190px; border-radius: 27px; }
  .home-story .visual-art { width: 85px; }
  .chat-art { right: 8px; bottom: 60px; }
  .browser-art { left: 5px; top: 45px; }
  .home-story .screen-visual { height: 360px; padding: 20px; }
  .story-actions { padding-block: 65px; }
  .story-action-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 30px; }
  .story-action-card { border-radius: 17px; }
  .action-art { height: 125px; }
  .action-art img { width: 95px; }
  .action-copy { padding: 18px 16px 22px; }
  .action-copy h3 { font-size: 18px; }
  .action-copy > p:last-child { font-size: 12px; line-height: 1.65; }
  .home-story .action-category { font-size: 8px; letter-spacing: 1px; }
  .actions-bottom p { max-width: 290px; font-size: 13px; }
  .story-repeat { grid-template-columns: 1fr; gap: 36px; padding-block: 70px; }
  .repeat-heading > p:last-child { font-size: 16px; max-width: 330px; margin-top: 20px; }
  .repeat-steps li { gap: 20px; padding-block: 20px; }
  .repeat-steps h3 { font-size: 20px; }
  .repeat-steps p { font-size: 14px; }
  .story-desktop { grid-template-columns: 1fr; gap: 25px; margin-bottom: 65px; }
  .desktop-art { aspect-ratio: 1.23; border-radius: 24px; padding: 24px; }
  .desktop-copy { padding: 12px 10px; }
  .desktop-copy > p:not(.story-eyebrow):not(.device-lineup) { max-width: none; margin: 20px 0 25px; }
  .story-closing { min-height: 540px; border-radius: 24px; padding: 75px 25px; margin-bottom: 30px; }
  .closing-app-icon { width: 78px; height: 78px; border-radius: 22px; margin-bottom: 25px; }
  .closing-app-icon img { width: 57px; }
  .closing-center > p:not(.story-eyebrow) { max-width: 240px; margin: 20px auto 25px; font-size: 14px; line-height: 1.6; }
  .closing-objects img { width: 80px; }
  .object-video { left: 2%; top: 2%; }
  .object-travel { right: 1%; top: 2%; }
  .closing-objects .object-design, .closing-objects .object-calendar { display: none; }
  .object-home { left: 2%; bottom: 0; }
  .object-study { right: 2%; bottom: 0; }
}
@media (max-width: 359px) {
  .story-action-grid { grid-template-columns: 1fr; }
  .story-action-card { display: grid; grid-template-columns: 95px 1fr; }
  .action-art { height: 100%; }
  .action-art img { width: 80px; }
  .home-story h2 { font-size: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* Consumer spaces use the same artwork as the app. */
.action-art.life-art { height: 190px; overflow: hidden; background: #ede9e0; }
.action-art.life-art img { width: 100%; height: 100%; object-fit: cover; filter: none; }

/* Lifestyle illustrations for the four feature panels. */
.home-story .life-feature { display: block; padding: 0; background: #f3f0e9; }
.life-feature .life-scene { width: 100%; height: 100%; object-fit: cover; object-position: 62% center; }
.life-everyday::after { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent 65%, #17261ccc); pointer-events: none; }
.life-question { position: absolute; z-index: 1; top: 30px; left: 28px; right: 28px; padding: 22px; border: 1px solid #ffffffb3; border-radius: 20px; background: #ffffffed; box-shadow: 0 12px 35px #342e1714; }
.life-question-label { display: flex; align-items: center; gap: 10px; color: #65746b; font-size: 9px; font-weight: 650; letter-spacing: 1.2px; }
.life-question-label img { width: 24px; height: 24px; }
.life-question p { margin-top: 15px; color: #203329; font-size: 23px; font-weight: 550; line-height: 1.35; letter-spacing: -.025em; }
.home-story .life-feature figcaption { z-index: 1; color: #6b7067; }
.home-story .life-everyday figcaption { color: #fff; }
.life-discover-gallery { position: absolute; inset: 65px 26px 80px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.life-photo-tile { position: relative; min-width: 0; min-height: 0; overflow: hidden; border-radius: 18px; }
.life-photo-tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent 50%, #16251fbb); }
.life-photo-tile img { width: 100%; height: 100%; object-fit: cover; }
.life-photo-tile span { position: absolute; z-index: 1; bottom: 20px; left: 18px; right: 12px; color: #fff; font-size: 19px; font-weight: 550; line-height: 1.2; letter-spacing: -.025em; }
.life-discover-gallery .life-photo-tile:first-child { transform: translateY(-20px); }
.life-discover-gallery .life-photo-tile:last-child { transform: translateY(20px); }
.life-plan-gallery { position: absolute; inset: 30px 32px 55px; }
.life-plan-card { position: absolute; width: 86%; padding: 10px; border: 1px solid #e6e2d9; border-radius: 19px; background: #fff; box-shadow: 0 14px 30px #4b443414; }
.life-plan-card:first-child { top: 0; left: 0; transform: rotate(-5deg); }
.life-plan-card:last-child { right: 0; bottom: 0; transform: rotate(5deg); }
.life-plan-card img { width: 100%; height: 140px; object-fit: cover; border-radius: 11px; }
.life-plan-card > div { padding: 15px 7px 8px; }
.life-plan-card span { display: block; color: #647567; font-size: 9px; font-weight: 650; letter-spacing: 1.1px; }
.life-plan-card strong { display: block; margin-top: 7px; color: #25382d; font-size: 19px; line-height: 1.25; font-weight: 550; letter-spacing: -.025em; }
.life-spaces-grid { position: absolute; inset: 22px 22px 53px; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px; }

/* Real app screenshots, with matching copy for each personal space. */
.story-space-showcase { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); grid-template-areas: "image copy" "controls controls"; align-items: center; gap: 24px 48px; width: min(1280px, calc(100% - 48px)); margin-bottom: 110px; scroll-margin-top: 24px; }
.space-showcase-intro { grid-area: copy; min-width: 0; }
.space-showcase-intro .story-eyebrow { margin-bottom: 16px; }
.space-showcase-intro h2 { min-height: 2.16em; font-size: clamp(32px, 3vw, 44px); }
.space-showcase-description { max-width: 680px; min-height: 3.2em; margin-top: 18px !important; color: var(--story-muted); font-size: 16px; line-height: 1.6; }
.space-showcase-invite { margin-top: 22px; text-align: left; }
.space-showcase-invite > p { margin-top: 16px; color: var(--story-muted); font-size: 12px; }
.space-showcase-media { grid-area: image; justify-self: center; width: min(100%, 102.5svh); overflow: hidden; border: 1px solid #dce2e9; border-radius: 22px; background: #f3f5f7; box-shadow: 0 20px 65px #253c5112; }
.space-showcase-slide[hidden], .space-showcase-controls[hidden] { display: none; }
.space-showcase-slide { animation: space-slide-in 240ms ease-out; }
.space-showcase-slide > a { display: block; cursor: zoom-in; }
.space-showcase-slide img { width: 100%; height: auto; aspect-ratio: 41 / 24; object-fit: contain; }
.space-showcase-controls { grid-area: controls; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; margin: 0; }
.space-showcase-selectors, .space-showcase-playback { display: flex; align-items: center; gap: 8px; }
.space-showcase-selectors { flex-wrap: wrap; }
.space-showcase-controls button { appearance: none; min-height: 44px; border: 1px solid #dce2e9; border-radius: 999px; background: #fff; color: var(--story-ink); cursor: pointer; font-family: inherit; font-size: 14px; transition: background 150ms, border-color 150ms; }
.space-showcase-selectors button { padding: 0 19px; }
.space-showcase-selectors button[aria-pressed="true"] { border-color: #0071e3; background: #0071e3; color: #fff; }
.space-showcase-controls button:hover { border-color: #0071e3; }
.space-showcase-controls button:focus-visible { outline: 3px solid #0071e3; outline-offset: 4px; }
.space-showcase-controls .space-slide-arrow { width: 44px; font-size: 20px; }
.space-showcase-counter { min-width: 42px; color: var(--story-muted); text-align: center; font-size: 12px; font-variant-numeric: tabular-nums; }
.space-showcase-controls .space-slide-toggle { min-width: 130px; padding: 0 16px; color: var(--story-muted); }
@keyframes space-slide-in { from { opacity: .4; } to { opacity: 1; } }
@media (max-width: 700px) {
  .life-question { top: 22px; left: 20px; right: 20px; padding: 19px; }
  .life-question p { font-size: 21px; }
  .life-discover-gallery { inset: 55px 18px 70px; gap: 12px; }
  .life-photo-tile span { bottom: 17px; left: 13px; font-size: 17px; }
  .life-plan-gallery { inset: 25px 24px 52px; }
  .life-plan-card img { height: 125px; }
  .life-plan-card strong { font-size: 17px; }
  .life-spaces-grid { inset: 16px 16px 50px; gap: 10px; }
  .story-space-showcase { display: block; width: calc(100% - 28px); margin-bottom: 70px; }
  .space-showcase-intro { display: block; margin: 0 10px 26px; }
  .space-showcase-intro h2 { min-height: 3.24em; font-size: 34px; }
  .space-showcase-description { min-height: 6.4em; margin-top: 18px !important; font-size: 16px; }
  .space-showcase-invite { margin-top: 22px; text-align: left; }
  .space-showcase-invite > p { margin-top: 12px; }
  .space-showcase-media { margin-inline: auto; border-radius: 12px; }
  .space-showcase-controls { justify-content: center; gap: 18px; margin: 20px 0 0; }
  .space-showcase-selectors { justify-content: center; gap: 7px; }
  .space-showcase-selectors button { min-height: 42px; padding: 0 15px; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .space-showcase-slide { animation: none; }
  .space-showcase-controls button { transition: none; }
}
