/* Airy mist-landscape direction with a short scroll-driven story. */
html:has(body.home-scene-v2) {
  height: 100%;
  overflow: hidden;
}

body.home-oracle.home-scene-v2 {
  --scene-ink: #173c33;
  --scene-muted: #526b62;
  --scene-jade: #397964;
  --scene-jade-deep: #24594b;
  --scene-gold: #b8872e;
  --scene-paper: #f8f8ed;
  color: var(--scene-ink);
  background: #dfeade;
  height: 100vh;
  min-height: 0;
  overflow: hidden;
}

body.home-oracle.home-scene-v2::before {
  background: rgba(240, 245, 233, 0.14);
  opacity: 1;
  transform: none;
  animation: none;
}

body.home-oracle.home-scene-v2::after {
  background: rgba(248, 248, 237, 0.08);
  opacity: 1;
}

.home-scene-v2 .site-header {
  width: min(1320px, calc(100% - 40px));
  min-height: 70px;
  margin-top: 12px;
  border: 1px solid rgba(45, 94, 78, 0.12);
  border-radius: 8px;
  background: rgba(248, 249, 239, 0.72);
  box-shadow: 0 16px 44px rgba(42, 78, 65, 0.1);
  backdrop-filter: blur(20px) saturate(0.92);
}

.home-scene-v2 .brand-logo {
  filter: brightness(0) saturate(100%) invert(25%) sepia(27%) saturate(760%) hue-rotate(110deg) brightness(82%) contrast(92%) drop-shadow(0 8px 18px rgba(48, 91, 76, 0.12));
}

.home-scene-v2 .top-nav {
  color: rgba(23, 60, 51, 0.78);
}

.home-scene-v2 .top-nav a:hover,
.home-scene-v2 .top-nav a:focus-visible,
.home-scene-v2 .top-nav a[aria-current="page"] {
  color: var(--scene-jade-deep);
}

.home-scene-v2 .top-nav a[aria-current="page"]::after {
  background: var(--scene-gold);
}

.home-scene-v2 .login-link,
.home-scene-v2 .motion-toggle,
.home-scene-v2 .theme-toggle {
  border-color: rgba(42, 91, 75, 0.18);
  color: var(--scene-ink);
  background: rgba(255, 255, 249, 0.54);
  box-shadow: none;
}

.home-scene-v2 .header-action {
  border-color: var(--scene-jade-deep);
  color: #fffef7;
  background: var(--scene-jade-deep);
  box-shadow: 0 12px 28px rgba(36, 89, 75, 0.2);
}

.home-scene-v2 main {
  position: relative;
}

.home-scene-v2 .home-console {
  position: relative;
  width: min(1240px, calc(100% - 56px));
  height: calc(100vh - 94px);
  padding: 0 0 18px;
  isolation: isolate;
}

.home-scene-v2 .home-shell {
  position: relative;
  z-index: 4;
  grid-template-columns: minmax(420px, 1fr) minmax(420px, 500px);
  gap: clamp(48px, 6vw, 92px);
  height: 100%;
  align-items: center;
}

.home-scene-v2 .home-ambient {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  opacity: 1;
  transform: none;
}

.home-landscape-scene,
.home-landscape-back,
.home-landscape-near,
.home-scene-wash,
.home-lake-sheen,
.home-breath-field,
.home-scene-thread {
  position: absolute;
  pointer-events: none;
}

.home-landscape-scene {
  inset: 0;
  overflow: hidden;
  background: #e8eee1;
}

.home-landscape-back,
.home-landscape-near {
  inset: -3%;
  background-image: url("../generated/home-mist-landscape-1600.v20260806.webp?v=20260806-mist-r2");
  background-image: -webkit-image-set(
    url("../generated/home-mist-landscape-960.v20260806.webp?v=20260806-mist-r2") 1x,
    url("../generated/home-mist-landscape-1600.v20260806.webp?v=20260806-mist-r2") 2x
  );
  background-image: image-set(
    url("../generated/home-mist-landscape-960.v20260806.webp?v=20260806-mist-r2") 1x,
    url("../generated/home-mist-landscape-1600.v20260806.webp?v=20260806-mist-r2") 2x
  );
  background-position: center;
  background-size: cover;
  transform: scale(1.035);
  transform-origin: 52% 52%;
}

.home-landscape-back {
  z-index: 0;
}

.home-landscape-near {
  z-index: 1;
  opacity: 0.3;
  filter: saturate(1.04) contrast(1.02);
  -webkit-mask-image: linear-gradient(180deg, transparent 0 54%, #000 76% 100%);
  mask-image: linear-gradient(180deg, transparent 0 54%, #000 76% 100%);
}

.home-scene-wash {
  inset: 0;
  z-index: 2;
  background: rgba(247, 248, 237, 0.12);
}

.home-lake-sheen {
  right: -8%;
  bottom: 8%;
  left: 18%;
  z-index: 2;
  height: 1px;
  background: rgba(255, 255, 247, 0.82);
  box-shadow: 0 0 26px 9px rgba(255, 255, 247, 0.22);
  opacity: 0.76;
}

.home-lake-sheen::before,
.home-lake-sheen::after {
  position: absolute;
  height: 1px;
  content: "";
  background: rgba(255, 255, 247, 0.56);
}

.home-lake-sheen::before {
  top: -16px;
  right: 14%;
  left: 21%;
}

.home-lake-sheen::after {
  top: 18px;
  right: 32%;
  left: 4%;
}

.home-breath-field {
  inset: 0;
  z-index: 3;
  overflow: hidden;
}

.home-breath-field span {
  position: absolute;
  top: var(--breath-y);
  left: var(--breath-x);
  color: rgba(46, 102, 82, var(--breath-opacity));
  font-family: "Noto Serif SC", "Songti SC", "SimSun", serif;
  font-size: var(--breath-size);
  line-height: 1;
  opacity: 0;
  text-shadow: 0 10px 28px rgba(255, 255, 247, 0.62);
}

.home-scene-thread {
  top: 44%;
  left: 48%;
  z-index: 3;
  width: clamp(80px, 9vw, 132px);
  height: 26px;
  opacity: 0.58;
}

.home-scene-thread-line {
  position: absolute;
  top: 13px;
  right: 0;
  left: 0;
  height: 1px;
  background: rgba(174, 128, 42, 0.58);
  transform-origin: 0 50%;
}

.home-scene-thread::after {
  position: absolute;
  top: 8px;
  right: -1px;
  width: 9px;
  height: 9px;
  content: "";
  border: 1px solid rgba(174, 128, 42, 0.7);
  background: rgba(248, 248, 237, 0.72);
  transform: rotate(45deg);
}

.home-scene-v2 .home-orbit-system,
.home-scene-v2 .home-meteor-field,
.home-scene-v2 .home-mantra-flow,
.home-scene-v2 .home-floating-deck,
.home-scene-v2 .home-ambient-canvas,
.home-scene-v2 .home-depth-atlas,
.home-scene-v2 .home-horizon-system,
.home-scene-v2 .home-glyph-field,
.home-scene-v2 .home-focus-bridge {
  display: none !important;
}

.home-scene-v2 .home-intro {
  max-width: 650px;
  padding: 0;
}

.home-scene-v2 .home-intro::before {
  top: -22px;
  width: 84px;
  background: var(--scene-gold);
}

.home-scene-v2 .section-kicker {
  color: var(--scene-gold);
  letter-spacing: 0;
}

.home-scene-v2 .home-intro h1 {
  max-width: 620px;
  margin-top: 12px;
  color: var(--scene-ink);
  font-size: 82px;
  line-height: 0.98;
  text-shadow: 0 12px 34px rgba(255, 255, 246, 0.5);
}

.home-scene-v2 .home-intro h1 span:last-child::after {
  display: none;
}

.home-scene-v2 .home-intro .hero-lede {
  max-width: 590px;
  margin-top: 20px;
  color: rgba(33, 69, 58, 0.76);
  font-size: 19px;
  line-height: 1.75;
  text-shadow: 0 1px 14px rgba(255, 255, 247, 0.72);
}

.home-scene-v2 .home-page-links {
  margin-top: 24px;
}

.home-scene-v2 .home-need-picker > p {
  margin-bottom: 10px;
  color: rgba(33, 69, 58, 0.64);
  font-size: 12px;
  letter-spacing: 0;
}

.home-scene-v2 .home-need-options {
  gap: 8px;
}

.home-scene-v2 .home-need-button,
.home-scene-v2 .home-need-button.primary-button,
.home-scene-v2 .home-need-button.secondary-button {
  min-height: 56px;
  border: 1px solid rgba(45, 94, 78, 0.16);
  color: var(--scene-ink);
  background: rgba(255, 255, 248, 0.52);
  box-shadow: none;
  backdrop-filter: blur(12px);
}

.home-scene-v2 .home-need-button.primary-button {
  border-color: rgba(45, 94, 78, 0.26);
  background: rgba(255, 255, 248, 0.74);
  box-shadow: 0 14px 34px rgba(49, 88, 73, 0.1);
}

.home-scene-v2 .home-need-button strong {
  color: var(--scene-ink);
}

.home-scene-v2 .home-need-button small,
.home-scene-v2 .home-need-button.primary-button small {
  color: rgba(45, 80, 69, 0.62);
}

.home-scene-v2 .home-need-button:hover,
.home-scene-v2 .home-need-button:focus-visible,
.home-scene-v2 .home-need-button.is-motion-active {
  border-color: rgba(184, 135, 46, 0.52);
  color: var(--scene-ink);
  background: rgba(255, 255, 248, 0.86);
  box-shadow: 0 16px 38px rgba(49, 88, 73, 0.13);
  transform: translate3d(0, -2px, 0);
}

.home-scene-v2 .home-proof-strip {
  margin-top: 18px;
  border-color: rgba(45, 94, 78, 0.12);
}

.home-scene-v2 .home-proof-strip a {
  color: rgba(35, 74, 62, 0.72);
}

.home-scene-v2 .home-proof-strip small {
  color: rgba(42, 79, 67, 0.52);
}

.home-scene-v2 .conversation-panel.home-chat {
  min-height: min(536px, calc(100vh - 132px));
  max-height: min(568px, calc(100vh - 118px));
  grid-template-rows: auto auto minmax(84px, 1fr) auto auto;
  border: 1px solid rgba(255, 255, 247, 0.72);
  border-radius: 8px;
  background: rgba(250, 250, 241, 0.72);
  box-shadow: 0 28px 72px rgba(49, 82, 70, 0.16);
  backdrop-filter: blur(24px) saturate(0.9);
}

.home-scene-v2 .conversation-panel.home-chat::before {
  display: none;
}

.home-scene-v2 .home-chat .session-bar {
  padding: 20px 22px 16px;
  color: var(--scene-ink);
  border-bottom: 1px solid rgba(45, 94, 78, 0.1);
  background: rgba(255, 255, 248, 0.22);
}

.home-scene-v2 .home-chat .session-bar h2 {
  color: var(--scene-ink);
  font-size: 27px;
  line-height: 1.18;
}

.home-scene-v2 .method-note summary {
  width: 34px;
  min-height: 32px;
  padding: 0;
  justify-content: center;
}

.home-scene-v2 .method-note summary span {
  display: none;
}

.home-scene-v2 .session-state,
.home-scene-v2 .method-note summary {
  border-color: rgba(45, 94, 78, 0.14);
  color: var(--scene-jade-deep);
  background: rgba(255, 255, 248, 0.46);
}

.home-scene-v2 .status-dot {
  background: var(--scene-gold);
}

.home-scene-v2 .response-mode-bar {
  margin: 10px 18px 0;
  padding: 4px;
  border: 0;
  border-radius: 6px;
  background: rgba(218, 232, 220, 0.56);
}

.home-scene-v2 .response-mode-label {
  color: rgba(42, 78, 66, 0.58);
}

.home-scene-v2 .response-mode-group button {
  color: rgba(42, 78, 66, 0.72);
  background: transparent;
}

.home-scene-v2 .response-mode-group button[aria-pressed="true"] {
  color: #fffef7;
  background: var(--scene-jade-deep);
  box-shadow: none;
}

.home-scene-v2 .home-chat .messages {
  padding: 18px 22px 10px;
  background: transparent;
}

.home-scene-v2 .message-avatar {
  color: #fffef7;
  background: var(--scene-jade);
}

.home-scene-v2 .message-bubble {
  border-color: rgba(45, 94, 78, 0.1);
  color: rgba(29, 65, 54, 0.82);
  background: rgba(255, 255, 251, 0.58);
}

.home-scene-v2 .home-chat .chat-form {
  padding: 0 22px 18px;
  background: transparent;
}

.home-scene-v2 .home-chat textarea {
  min-height: 96px;
  border-color: rgba(45, 94, 78, 0.16);
  background: rgba(255, 255, 252, 0.68);
  box-shadow: none;
}

.home-scene-v2 .home-chat textarea:focus {
  border-color: rgba(57, 121, 100, 0.48);
  box-shadow: 0 0 0 3px rgba(57, 121, 100, 0.1);
}

.home-scene-v2 .prompt-tags button {
  border-color: rgba(45, 94, 78, 0.12);
  color: rgba(36, 85, 70, 0.78);
  background: rgba(232, 239, 226, 0.72);
}

.home-scene-v2 .ghost-button {
  border-color: rgba(45, 94, 78, 0.14);
  color: var(--scene-jade-deep);
  background: rgba(255, 255, 248, 0.48);
}

.home-scene-v2 .send-button {
  border-color: var(--scene-jade-deep);
  color: #fffef7;
  background: var(--scene-jade-deep);
  box-shadow: 0 12px 26px rgba(36, 89, 75, 0.18);
}

.home-scene-v2.home-motion-ready .conversation-panel.home-chat,
.home-scene-v2.home-motion-ready .home-chat .session-bar {
  animation: none;
}

.home-scene-v2.home-motion-paused .home-landscape-back,
.home-scene-v2.home-motion-paused .home-landscape-near,
.home-scene-v2.home-motion-paused .home-lake-sheen,
.home-scene-v2.home-motion-paused .home-breath-field span {
  animation-play-state: paused !important;
}

:root[data-theme="night"] body.home-scene-v2 {
  --scene-ink: #e6ecdf;
  --scene-muted: #b4c2b7;
  background: #17342c;
}

:root[data-theme="night"] .home-scene-v2 .home-landscape-scene {
  background: #17342c;
}

:root[data-theme="night"] .home-scene-v2 .home-landscape-back,
:root[data-theme="night"] .home-scene-v2 .home-landscape-near {
  filter: brightness(0.52) saturate(0.72) contrast(1.06);
}

:root[data-theme="night"] .home-scene-v2 .site-header,
:root[data-theme="night"] .home-scene-v2 .conversation-panel.home-chat {
  color: var(--scene-ink);
  background: rgba(20, 49, 41, 0.78);
  border-color: rgba(231, 219, 174, 0.14);
}

@media (max-height: 790px) and (min-width: 901px) {
  .home-scene-v2 .site-header {
    min-height: 62px;
    margin-top: 8px;
  }

  .home-scene-v2 .home-console {
    height: calc(100vh - 78px);
  }

  .home-scene-v2 .home-intro h1 {
    font-size: 70px;
  }

  .home-scene-v2 .home-intro .hero-lede {
    margin-top: 14px;
    line-height: 1.58;
  }

  .home-scene-v2 .home-page-links {
    margin-top: 16px;
  }

  .home-scene-v2 .home-proof-strip {
    display: none;
  }

  .home-scene-v2 .conversation-panel.home-chat {
    min-height: 490px;
    max-height: calc(100vh - 98px);
  }

  .home-scene-v2 .home-chat textarea {
    min-height: 82px;
  }
}

@media (max-width: 1080px) {
  .home-scene-v2 .site-header {
    width: min(100% - 24px, 1024px);
  }

  .home-scene-v2 .home-console {
    width: min(100% - 32px, 980px);
  }

  .home-scene-v2 .home-shell {
    grid-template-columns: minmax(340px, 0.9fr) minmax(390px, 1fr);
    gap: 28px;
  }

  .home-scene-v2 .home-intro {
    display: block;
  }

  .home-scene-v2 .home-intro h1 {
    font-size: 60px;
  }

  .home-scene-thread {
    display: none;
  }
}

@media (max-width: 760px) {
  body.home-scene-v2 {
    overflow: hidden;
  }

  .home-scene-v2 .site-header {
    width: calc(100% - 20px);
    min-height: 94px;
    margin-top: 8px;
    padding: 8px 10px 6px;
  }

  .home-scene-v2 .brand {
    width: 118px;
  }

  .home-scene-v2 .header-actions .login-link,
  .home-scene-v2 .header-action {
    display: none;
  }

  .home-scene-v2 .top-nav {
    color: rgba(23, 60, 51, 0.78);
  }

  .home-scene-v2 .home-console {
    width: calc(100% - 20px);
    height: calc(100vh - 108px);
    padding-bottom: 8px;
  }

  .home-scene-v2 .home-shell {
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(0, 1fr);
    gap: 12px;
    align-content: stretch;
  }

  .home-scene-v2 .home-intro {
    display: block;
    max-width: none;
    padding-top: 12px;
  }

  .home-scene-v2 .home-intro::before,
  .home-scene-v2 .home-intro .section-kicker,
  .home-scene-v2 .home-proof-strip {
    display: none;
  }

  .home-scene-v2 .home-intro h1 {
    display: flex;
    gap: 8px;
    margin: 0;
    font-size: 38px;
    line-height: 1.06;
  }

  .home-scene-v2 .home-intro .hero-lede {
    display: -webkit-box;
    max-width: 100%;
    margin: 8px 0 0;
    overflow: hidden;
    font-size: 13px;
    line-height: 1.5;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .home-scene-v2 .home-page-links {
    margin-top: 9px;
  }

  .home-scene-v2 .home-need-picker > p,
  .home-scene-v2 .home-need-button small,
  .home-scene-v2 .home-need-button svg {
    display: none;
  }

  .home-scene-v2 .home-need-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px;
  }

  .home-scene-v2 .home-need-button,
  .home-scene-v2 .home-need-button.primary-button,
  .home-scene-v2 .home-need-button.secondary-button {
    display: grid;
    grid-template-columns: 1fr;
    min-height: 37px;
    padding: 5px 4px;
    place-items: center;
    text-align: center;
  }

  .home-scene-v2 .home-need-button > span {
    width: auto;
    justify-self: center;
  }

  .home-scene-v2 .home-need-button strong {
    font-size: 12px;
    line-height: 1.2;
    white-space: nowrap;
    word-break: keep-all;
  }

  .home-scene-v2 .conversation-panel.home-chat {
    min-height: 0;
    max-height: none;
    height: 100%;
    grid-template-rows: auto auto minmax(64px, 1fr) auto auto;
    background: rgba(250, 250, 241, 0.8);
    backdrop-filter: blur(18px);
  }

  .home-scene-v2 .home-chat .session-bar {
    padding: 12px 14px 10px;
  }

  .home-scene-v2 .home-chat .session-bar .section-kicker,
  .home-scene-v2 .method-note,
  .home-scene-v2 .response-mode-label {
    display: none;
  }

  .home-scene-v2 .home-chat .session-bar h2 {
    font-size: 20px;
  }

  .home-scene-v2 .response-mode-bar {
    margin: 6px 10px 0;
  }

  .home-scene-v2 .home-chat .messages {
    padding: 10px 12px 6px;
  }

  .home-scene-v2 .home-chat .chat-form {
    padding: 0 12px 10px;
  }

  .home-scene-v2 .home-chat textarea {
    min-height: 68px;
  }

  .home-scene-v2 .prompt-tags {
    gap: 4px;
  }

  .home-scene-v2 .prompt-tags button:nth-child(n + 4),
  .home-scene-v2 .chat-actions .ghost-button:nth-child(n + 2) {
    display: none;
  }

  .home-scene-v2 .home-landscape-back,
  .home-scene-v2 .home-landscape-near {
    inset: -1%;
    background-position: 62% center;
  }

  .home-breath-field span:nth-child(n + 6) {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-landscape-back,
  .home-landscape-near,
  .home-lake-sheen,
  .home-breath-field span,
  .home-scene-thread-line,
  .home-scene-thread::after {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }

  .home-breath-field span {
    opacity: 0.08;
  }
}

/* Scroll story: one continuous scene, three deliberate states. */
html:has(body.home-scene-v2.home-scroll-story) {
  height: auto;
  min-height: 100%;
  overflow-x: clip;
  overflow-y: auto;
  scroll-behavior: smooth;
}

body.home-oracle.home-scene-v2.home-scroll-story {
  height: auto;
  min-height: 100%;
  overflow-x: clip;
  overflow-y: visible;
  overscroll-behavior-y: none;
}

.home-scroll-story .site-header {
  position: fixed;
  top: 12px;
  left: 50%;
  z-index: 40;
  margin-top: 0;
  transform: translateX(-50%);
}

.home-scroll-story main {
  min-height: 315svh;
  overflow: visible;
}

.home-scroll-story .home-console {
  display: block;
  width: 100%;
  height: 315svh;
  padding: 0;
  place-items: initial;
}

.home-scroll-story .home-shell {
  position: sticky;
  top: 0;
  width: min(1240px, calc(100% - 56px));
  height: 100svh;
  margin: 0 auto;
  padding-top: 94px;
  overflow: hidden;
}

.home-scroll-story .home-intro,
.home-scroll-story .conversation-panel.home-chat {
  will-change: transform, opacity, clip-path;
}

.home-scroll-ready .home-intro {
  position: relative;
  z-index: 4;
}

.home-scroll-ready .conversation-panel.home-chat {
  position: relative;
  z-index: 5;
  pointer-events: none;
}

.home-scroll-ready[data-story-stage="2"] .home-need-picker,
.home-scroll-ready[data-story-stage="2"] .home-proof-strip,
.home-scroll-ready[data-story-stage="3"] .conversation-panel.home-chat {
  pointer-events: auto;
}

.home-scroll-ready[data-story-stage="3"] .home-intro {
  pointer-events: none;
}

.home-story-nav {
  position: fixed;
  top: 50%;
  right: max(18px, calc((100vw - 1440px) / 2 + 18px));
  z-index: 42;
  display: grid;
  gap: 14px;
  padding: 12px 10px;
  border: 0;
  color: var(--scene-jade-deep);
  transform: translateY(-50%);
}

.home-story-nav::before {
  position: absolute;
  top: 22px;
  bottom: 22px;
  left: 17px;
  z-index: -1;
  width: 1px;
  content: "";
  background: rgba(36, 89, 75, 0.18);
}

.home-story-nav button {
  display: grid;
  grid-template-columns: 16px auto;
  gap: 9px;
  align-items: center;
  min-width: 74px;
  padding: 4px 0;
  border: 0;
  color: rgba(36, 89, 75, 0.48);
  background: transparent;
  cursor: pointer;
  transition: color 180ms ease;
}

.home-story-nav button > span {
  display: grid;
  width: 14px;
  height: 14px;
  border: 1px solid rgba(36, 89, 75, 0.34);
  border-radius: 50%;
  background: rgba(248, 248, 237, 0.76);
  place-items: center;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.home-story-nav button > span::after {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  content: "";
  background: currentColor;
}

.home-story-nav button strong {
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0;
}

.home-story-nav button:hover,
.home-story-nav button:focus-visible,
.home-story-nav button[aria-current="step"] {
  color: var(--scene-jade-deep);
}

.home-story-nav button[aria-current="step"] > span {
  border-color: var(--scene-gold);
  background: rgba(255, 253, 237, 0.96);
  transform: scale(1.16);
}

.home-scroll-cue {
  position: fixed;
  bottom: 18px;
  left: 50%;
  z-index: 42;
  display: grid;
  width: 34px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(36, 89, 75, 0.3);
  border-radius: 18px;
  color: var(--scene-jade-deep);
  background: rgba(248, 248, 237, 0.58);
  box-shadow: 0 10px 28px rgba(36, 89, 75, 0.1);
  backdrop-filter: blur(12px);
  cursor: pointer;
  place-items: start center;
  transform: translateX(-50%);
  transition: opacity 180ms ease, transform 180ms ease;
}

.home-scroll-cue span {
  width: 4px;
  height: 9px;
  margin-top: 9px;
  border-radius: 4px;
  background: currentColor;
  animation: home-scroll-cue 1.8s ease-in-out infinite;
}

.home-scroll-cue::after {
  position: absolute;
  bottom: 9px;
  width: 7px;
  height: 7px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  content: "";
  transform: rotate(45deg);
}

.home-scroll-ready[data-story-stage="3"] .home-scroll-cue {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 12px);
}

@keyframes home-scroll-cue {
  0%,
  100% {
    opacity: 0.28;
    transform: translateY(0);
  }
  50% {
    opacity: 1;
    transform: translateY(8px);
  }
}

@media (max-width: 1080px) {
  .home-scroll-story .home-shell {
    width: min(960px, calc(100% - 40px));
    grid-template-columns: minmax(330px, 0.86fr) minmax(390px, 1.14fr);
    gap: 30px;
  }

  .home-scroll-story .home-intro h1 {
    font-size: 60px;
  }

  .home-story-nav {
    right: 6px;
  }

  .home-story-nav button strong {
    display: none;
  }

  .home-story-nav button {
    min-width: 16px;
  }
}

@media (max-width: 760px) {
  html:has(body.home-scene-v2.home-scroll-story) {
    scroll-snap-type: none;
  }

  body.home-scene-v2.home-scroll-story {
    overflow-x: clip;
    overflow-y: visible;
  }

  .home-scroll-story .site-header {
    top: 8px;
  }

  .home-scroll-story main,
  .home-scroll-story .home-console {
    min-height: 300svh;
    height: 300svh;
  }

  .home-scroll-story .home-shell {
    position: sticky;
    top: 0;
    display: block;
    width: calc(100% - 20px);
    height: 100svh;
    padding-top: 104px;
    overflow: hidden;
  }

  .home-scroll-story .home-intro {
    position: absolute;
    top: clamp(132px, 20svh, 178px);
    right: 14px;
    left: 14px;
    max-width: none;
    padding-top: 0;
  }

  .home-scroll-story .home-intro h1 {
    display: block;
    max-width: 330px;
    font-size: clamp(46px, 13vw, 56px);
    line-height: 0.98;
  }

  .home-scroll-story .home-intro h1 span {
    display: block;
  }

  .home-scroll-story .home-intro .hero-lede {
    display: block;
    max-width: 33em;
    margin-top: 14px;
    overflow: visible;
    font-size: 14px;
    line-height: 1.65;
    -webkit-line-clamp: unset;
  }

  .home-scroll-story .home-page-links {
    margin-top: 16px;
  }

  .home-scroll-story .home-need-options {
    gap: 7px;
  }

  .home-scroll-story .home-need-button,
  .home-scroll-story .home-need-button.primary-button,
  .home-scroll-story .home-need-button.secondary-button {
    min-height: 48px;
    padding: 7px 6px;
  }

  .home-scroll-story .home-need-button strong {
    font-size: 13px;
  }

  .home-scroll-story .conversation-panel.home-chat {
    position: absolute;
    top: 108px;
    right: 0;
    bottom: 10px;
    left: 0;
    width: 100%;
    height: auto;
    min-height: 0;
    max-height: none;
  }

  .home-story-nav {
    right: 2px;
    gap: 11px;
    padding: 8px 4px;
  }

  .home-story-nav::before {
    left: 11px;
  }

  .home-story-nav button {
    grid-template-columns: 16px;
    min-width: 16px;
  }

  .home-story-nav button strong {
    display: none;
  }

  .home-scroll-cue {
    bottom: 12px;
    width: 30px;
    height: 42px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-story-nav,
  .home-scroll-cue {
    display: none;
  }
}
