/* Homepage extensions inherit the existing Manrope, paper, and blue identity. */
.hero { padding-block: 85px 36px; }
.hero h1 { font-size: clamp(38px, 4.6vw, 64px); max-width: 1100px; }
.hero-description { max-width: 650px; margin: 24px auto 28px; font-size: 18px; line-height: 1.65; }
.hero-availability { margin-top: 18px; font-size: 12px; color: var(--muted); }
.platform-overview { padding-block: 20px 85px; scroll-margin-top: 24px; }
.platform-overview h2 { font-size: clamp(32px, 3.7vw, 48px); }
.platform-overview .platform-figure { margin-top: 0; }
.platform-overview .marketing-heading { margin-top: 64px; margin-bottom: 32px; }
.platform-capabilities { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; margin-top: 0; }
.platform-capabilities > div { padding-top: 20px; border-top: 1px solid var(--line); }
.platform-capabilities h3 { font-size: 17px; }
.platform-capabilities p { margin-top: 10px; font-size: 14px; color: var(--muted); }
.platform-detail-link { margin-top: 30px; }
.marketing-heading { display: grid; grid-template-columns: 1.1fr .9fr; gap: 65px; align-items: center; margin-bottom: 54px; }
.marketing-heading > p { color: var(--muted); max-width: 60ch; font-size: 17px; }
@media (max-width: 1000px) {
  .platform-capabilities { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .marketing-heading { gap: 35px; }
}
@media (max-width: 760px) {
  .hero { padding-block: 52px 28px; }
  .hero-description { font-size: 16px; margin-block: 20px 24px; }
  .hero-actions { flex-direction: column; gap: 18px; }
  .hero-availability { margin-top: 20px; }
  .platform-overview { padding-block: 20px 60px; }
  .platform-overview .marketing-heading { grid-template-columns: 1fr; gap: 12px; margin-top: 42px; }
  .platform-capabilities { gap: 28px; }
  .marketing-heading > p { font-size: 16px; }
}
@media (max-width: 480px) {
  .platform-capabilities { grid-template-columns: 1fr; }
}

/* One fixed text slot keeps the hero still while its features accelerate. */
.hero h1 { font-size: clamp(36px, 4.35vw, 61px); line-height: 1.18; }
.hero h1 .hero-message { color: var(--ink); }
.hero-opening { display: block; }
.hero-feature { display: grid; width: 100%; margin-top: .06em; padding-bottom: .18em; margin-bottom: -.18em; overflow: hidden; color: var(--blue); font-size: .92em; line-height: 1.26; justify-items: center; text-align: center; }
.hero-feature-word { grid-area: 1 / 1; opacity: 0; white-space: nowrap; }
.hero-feature-word.is-active { opacity: 1; }
.hero-description { max-width: 700px; }
.hero-meta { display: flex; justify-content: center; align-items: center; gap: 18px; margin-top: 16px; min-height: 36px; }
.hero-meta .hero-availability { margin: 0; }
.hero-motion { border: 0; background: transparent; color: var(--muted); padding: 8px 4px; font-size: 12px; text-decoration: underline; text-underline-offset: 4px; }
.hero-motion:hover { color: var(--ink); }
.hero-motion:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; border-radius: 2px; }
.capability-link { margin-top: 16px; font-size: 13px; }
.platform-capabilities { column-gap: 28px; }
.platform-capabilities > div { display: flex; flex-direction: column; align-items: flex-start; }
.platform-capabilities .capability-link { margin-top: auto; padding-top: 18px; }
@media (max-width: 1000px) and (min-width: 761px) {
  .hero h1 { font-size: 4.2vw; }
}
@media (max-width: 760px) {
  .hero h1 { font-size: clamp(30px, 7.4vw, 48px); line-height: 1.22; }
  .hero-feature { font-size: clamp(23px, 6.6vw, 38px); }
  .hero-meta { gap: 12px; }
}

/* The rest of the homepage follows the hero's open, centered rhythm. */
.home-story { padding-block: 112px; text-align: center; }
.home-story h2, .home-closing h2 { max-width: 24ch; margin-inline: auto; font-size: clamp(36px, 4.1vw, 56px); line-height: 1.18; letter-spacing: -.035em; text-wrap: balance; }
.home-story h2 > span { display: block; color: var(--blue); }
.home-story-body { max-width: 57ch; margin: 26px auto 0; color: var(--muted); font-size: 18px; line-height: 1.8; }
.home-product { border-top: 1px solid var(--line); }
.home-connection { display: grid; grid-template-columns: 1fr 220px 1fr; align-items: center; gap: 34px; max-width: 760px; margin: 60px auto 42px; }
.home-connection-end { display: grid; justify-items: center; gap: 10px; }
.home-connection-end > svg, .home-connection-end > img { width: 56px; height: 56px; margin-bottom: 8px; color: var(--blue); }
.home-connection-end strong { font-size: 22px; font-weight: 400; letter-spacing: -.025em; }
.home-connection-end > span { color: var(--muted); font-size: 13px; }
.home-connection-wire { color: #8fa9c7; padding-bottom: 20px; }
.home-connection-wire > span { display: block; margin-bottom: 10px; color: var(--muted); font-size: 13px; }
.home-connection-wire > svg { width: 100%; }
.home-story-link { margin-top: 34px; font-size: 14px; }
.home-evolution { background: var(--pale); padding-block: 120px; }
.home-evolution .home-story-body { max-width: 60ch; text-wrap: balance; }
.home-deployment { background: var(--pale); }
.home-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; max-width: 980px; margin: 52px auto 0; text-align: left; }
.home-points > div { padding-top: 20px; border-top: 1px solid var(--line); }
.home-points h3 { font-size: 19px; font-weight: 400; letter-spacing: -.02em; }
.home-points p { margin-top: 10px; color: var(--muted); font-size: 15px; line-height: 1.7; }
.home-deployment-options { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; max-width: 760px; margin: 52px auto 0; text-align: left; }
.home-deployment-options h3 { font-size: 21px; font-weight: 400; letter-spacing: -.025em; }
.home-deployment-options p { margin-top: 14px; color: var(--muted); font-size: 16px; line-height: 1.8; }
.home-closing { padding-block: 100px 112px; }
.home-closing h2 { max-width: 20ch; }
@media (max-width: 760px) {
  .home-story { padding-block: 76px; }
  .home-story h2, .home-closing h2 { font-size: clamp(32px, 7vw, 44px); }
  .home-story-body { font-size: 16px; margin-top: 22px; }
  .home-connection { grid-template-columns: minmax(0, 1fr) 64px minmax(0, 1fr); gap: 10px; margin-block: 42px 30px; }
  .home-connection-end strong { font-size: 19px; }
  .home-connection-end > span { font-size: 11px; max-width: 15ch; }
  .home-connection-wire { padding-bottom: 10px; }
  .home-connection-wire > span { font-size: 11px; }
  .home-deployment-options { gap: 32px; margin-top: 38px; }
  .home-deployment-options h3 { font-size: 19px; }
  .home-deployment-options p { font-size: 15px; }
  .home-closing { padding-block: 76px 88px; }
}
@media (max-width: 480px) {
  .home-deployment-options { grid-template-columns: 1fr; max-width: 34ch; }
  .home-points { grid-template-columns: 1fr; gap: 26px; max-width: 40ch; margin-top: 38px; }
}

/* The release section: one stream of new conversations, split between version lanes. Ribbon width is a version's share. */
.release-demo { --release-bg: var(--pale); --release-candidate: #7fa3cf; --release-candidate-ink: #3f679c; --release-fail: #c0644c; --release-fail-ink: #a04a35; max-width: 980px; margin: 64px auto 0; text-align: left; }
.release-stage { position: relative; display: grid; grid-template-columns: 150px minmax(0, 1fr) 300px; grid-template-rows: auto auto; row-gap: 64px; align-items: center; min-height: 330px; }
.release-stage { transition: opacity .6s ease; }
.is-resetting .release-stage { opacity: 0; }
.release-flow { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.release-ribbon { fill: none; stroke: var(--blue); stroke-linecap: butt; transition: stroke .9s ease; }
.release-ribbon[data-role="candidate"] { stroke: var(--release-candidate); }
.release-ribbon[data-role="rejected"] { stroke: var(--release-fail); }
.release-dots { fill: none; stroke: var(--white); stroke-linecap: round; stroke-dasharray: 0 15; animation: release-flow .9s linear infinite; transition: opacity .3s; }
.release-guide { fill: none; stroke: #a9bbd1; stroke-width: 1; stroke-dasharray: 3 5; transition: opacity .5s; }
.is-paused .release-dots { animation-play-state: paused; }
.release-app { position: relative; grid-column: 1; grid-row: 1 / 3; display: grid; justify-items: center; gap: 10px; text-align: center; }
.release-app svg { width: 48px; height: 48px; color: var(--blue); }
.release-app strong { font-size: 19px; font-weight: 400; letter-spacing: -.02em; }
.release-lane { position: relative; display: flex; flex-direction: column; grid-column: 3; transition: opacity .6s ease; }
.release-mesh { position: absolute; z-index: 1; display: grid; justify-items: center; gap: 6px; transform: translate(-50%, -22px); }
.release-mesh img { box-sizing: border-box; width: 44px; height: 44px; padding: 8px; border: 1px solid #c9d5e2; border-radius: 50%; background: var(--release-bg); }
.release-mesh span { color: var(--ink); font-size: 13px; }
.release-lane[data-lane="0"] { grid-row: 1; }
.release-lane[data-lane="1"] { grid-row: 2; }
.release-lane[data-role="empty"] { opacity: 0; }
.release-lane[data-role="retired"], .release-lane.is-dimmed { opacity: .5; }
.release-lane-head { display: flex; align-items: baseline; gap: 10px; margin: 0; }
.release-version { color: var(--ink); font-size: 22px; font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.release-role { color: var(--muted); font-size: 13px; }
.release-lane[data-role="candidate"] .release-role { color: var(--release-candidate-ink); }
.release-share { margin-left: auto; color: var(--blue); font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; }
.release-lane[data-role="candidate"] .release-share { color: var(--release-candidate-ink); }
.release-change { margin: 6px 0 0; color: var(--ink); font-size: 15px; line-height: 1.5; text-wrap: balance; }
/* Hidden marks keep their space below the status, so a lane has the same height in every role. */
.release-cases { order: 1; display: flex; visibility: hidden; flex-wrap: wrap; gap: 3px; list-style: none; margin: 12px 0 0; padding: 0; }
.release-lane[data-role="candidate"] .release-cases, .release-lane[data-role="rejected"] .release-cases { order: 0; visibility: visible; }
.release-cases li { width: 8px; height: 8px; border-radius: 2px; background: #d3dce7; transition: background .25s ease, transform .4s cubic-bezier(.16, 1, .3, 1); }
.release-cases li.is-pass { background: var(--release-candidate); }
.release-cases li.is-fail { background: var(--release-fail); transform: scale(1.2); }
.release-lane-status { min-height: 3.1em; margin: 10px 0 0; color: var(--muted); font-size: 13.5px; line-height: 1.55; text-wrap: balance; }
.release-lane[data-role="rejected"] .release-version { color: var(--release-fail-ink); text-decoration: line-through; text-decoration-thickness: 1.5px; }
.release-lane[data-role="rejected"] .release-role { color: var(--release-fail-ink); }
.release-lane[data-role="rejected"] .release-lane-status { color: var(--release-fail-ink); }

/* Two timelines: the app keeps one version while the agents keep releasing. */
.release-footer { display: flex; justify-content: space-between; align-items: center; gap: 24px; max-width: 760px; margin: 48px auto 0; }
.release-note { margin: 0; color: var(--muted); font-size: 12px; }
.release-motion { flex: none; border: 0; background: transparent; color: var(--muted); padding: 8px 0; font: inherit; font-size: 12px; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.release-motion:hover { color: var(--ink); }
.release-motion:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; border-radius: 2px; }
@keyframes release-flow { to { stroke-dashoffset: -15; } }
@media (prefers-reduced-motion: reduce) {
  .release-dots { animation: none; }
}
@media (max-width: 900px) {
  .release-stage { grid-template-columns: 120px minmax(0, 1fr) 250px; }
}
@media (max-width: 760px) {
  .release-demo { margin-top: 44px; }
  .release-stage { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto 180px auto; column-gap: 18px; row-gap: 0; align-items: start; min-height: 0; }
  .release-app { grid-column: 1 / 3; grid-row: 1; gap: 6px; }
  .release-app svg { width: 38px; height: 38px; }
  .release-app strong { font-size: 17px; }
  .release-mesh { grid-template-columns: auto auto; align-items: center; gap: 8px; transform: translate(-20px, -50%); }
  .release-mesh img { width: 40px; height: 40px; padding: 7px; }
  .release-lane, .release-lane[data-lane="0"], .release-lane[data-lane="1"] { grid-row: 3; }
  .release-lane[data-lane="0"] { grid-column: 1; }
  .release-lane[data-lane="1"] { grid-column: 2; }
  .release-lane-head { flex-wrap: wrap; column-gap: 8px; row-gap: 2px; }
  .release-version { font-size: 19px; }
  .release-role { font-size: 12px; }
  .release-share { font-size: 14px; }
  .release-change { font-size: 13.5px; }
  .release-cases { gap: 2.5px; }
  .release-cases li { width: 7px; height: 7px; }
  .release-lane-status { min-height: 4.6em; font-size: 12.5px; }
  .release-footer { flex-direction: column; align-items: flex-start; gap: 6px; }
}

/* One continuous isometric lattice, illuminated through the blue gradient. */
.hero--mesh { position: relative; isolation: isolate; overflow: hidden; padding-bottom: 0; }
.hero-content { position: relative; z-index: 1; }
.hero-mesh {
  /* Clear the hero actions while retaining the mesh above the overview. */
  scroll-margin-top: -80px;
  position: relative;
  margin-top: -90px;
  height: 440px;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, transparent, rgba(0, 0, 0, .8) 20%, #000 35%, #000 52%, rgba(0, 0, 0, .8) 65%, rgba(0, 0, 0, .35) 84%, transparent);
  mask-image: linear-gradient(to bottom, transparent, rgba(0, 0, 0, .8) 20%, #000 35%, #000 52%, rgba(0, 0, 0, .8) 65%, rgba(0, 0, 0, .35) 84%, transparent);
  background: linear-gradient(180deg, transparent, #dce8f5 42%, #a8c4e3);
}
.hero-mesh::before {
  content: "";
  position: absolute;
  inset: 0 -40%;
  background: radial-gradient(ellipse at 50% 110%, #345a8b66, transparent 65%);
  mask-image: linear-gradient(180deg, transparent, #000 50%);
  transform: translateX(var(--mesh-light-shift, 15%));
  will-change: transform;
}
.hero-geometric-mesh {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  overflow: visible;
  mask-image: linear-gradient(90deg, transparent, #000 16%, #000 84%, transparent);
}
.mesh-lattice-edges { fill: none; stroke: #345a8b; stroke-width: .85; stroke-linejoin: miter; opacity: .10; }
.mesh-lattice-signals { fill: none; stroke: #e4f3ff; stroke-width: 1.7; stroke-linejoin: round; stroke-linecap: round; }
.mesh-lattice-signals path { opacity: 0; stroke-dasharray: 90 1100; }
.mesh-facet { fill: #eaf5ff; opacity: .07; }
.mesh-facet--blue { fill: #345a8b; }
.hero-geometric-mesh path { vector-effect: non-scaling-stroke; }
.platform-overview .marketing-heading { margin-top: 0; }
@media (max-width: 760px) {
  .hero-mesh { height: 360px; margin-top: -90px; }
}
