/* Homepage story: customer ticker, three narrative sections and the lowered workspace.
   Loaded after homepage.css; owns the spacing between the hero and customer row. */
:root {
  --story-ink: #1b2140;
  --story-muted: #586079;
  --story-line: #e4e6ee;
  --story-paper: #f7f8fb;
  --story-plum: #583f68;
  --story-action: #51458c;
  --story-lime: #dcef64;
  --story-night: #161a33;
}

/* Bring the customer proof into the opening screen, just below the hero. */
.hero {
  padding-bottom: 24px;
}

/* Customer logos */
.customers {
  padding: 20px 0 24px;
  border-top: 1px solid var(--story-line);
  border-bottom: 1px solid var(--story-line);
  background: #fff;
}
.customers-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}
.customers-title {
  margin: 0;
  max-width: none;
  font-family: "Plus Geist", sans-serif;
  font-size: 15px;
  font-weight: 450;
  line-height: 1.4;
  letter-spacing: -0.1px;
  color: var(--story-muted);
}
.ticker-toggle {
  flex-shrink: 0;
  padding: 6px 12px;
  border: 1px solid #d7dce2;
  border-radius: 6px;
  background: #fff;
  font-size:14px;
  line-height: 18px;
  color: var(--story-ink);
}
.ticker-toggle:hover {
  background: #f5f6f8;
}
.ticker {
  overflow: hidden;
  width: 100%;
}
.ticker-track {
  display: flex;
  width: max-content;
}
.ticker-list {
  display: flex;
  align-items: center;
  gap: 72px;
  margin: 0;
  padding: 0 36px;
  list-style: none;
}
.ticker-list li {
  display: flex;
  align-items: center;
  height: 52px;
}
.ticker-list img {
  display: block;
  width: auto;
  height: 30px;
  filter: grayscale(1) contrast(1.1);
  opacity: 0.72;
  mix-blend-mode: multiply;
}
.ticker-list .logo-airtel {
  height: 26px;
}
.ticker-list .logo-cipla {
  height: 32px;
}
.ticker-list .logo-hpcl {
  height: 46px;
}
.ticker-list .logo-kirloskar {
  height: 26px;
}
.ticker-list .logo-emerson {
  height: 38px;
}
/* These two files carry wide white margins; crop to the mark itself. */
.ticker-list .logo-bluestar {
  height: 30px;
  aspect-ratio: 900 / 180;
  object-fit: cover;
}
.ticker-list .logo-endress {
  height: 22px;
  aspect-ratio: 900 / 110;
  object-fit: cover;
}
/* Without the script the logos sit still in one row, and the copy is hidden. */
.ticker-list[aria-hidden="true"] {
  display: none;
}
.customers.is-moving .ticker-list[aria-hidden="true"] {
  display: flex;
}
.customers.is-moving .ticker-track {
  animation: story-ticker 44s linear infinite;
}
/* Hover or focus inside the logo row pauses it; the toggle is the explicit
   control, so focus on the button itself must not override "Play logos". */
.customers.is-moving .ticker:hover .ticker-track,
.customers.is-moving .ticker:focus-within .ticker-track,
.customers.is-paused .ticker-track {
  animation-play-state: paused;
}
@keyframes story-ticker {
  to {
    transform: translateX(-50%);
  }
}
.customers:not(.is-moving) .ticker-track {
  width: auto;
  justify-content: center;
}
.customers:not(.is-moving) .ticker-list {
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px 56px;
}

/* Narrative sections */
.story {
  position: relative;
  padding: 128px 0 136px;
  background: #fff;
  color: var(--story-ink);
}
.story-tint {
  background: var(--story-paper);
  border-top: 1px solid var(--story-line);
  border-bottom: 1px solid var(--story-line);
}
.story-wrap {
  position: relative;
}
/* Quiet column guides, dashed, aligned to the content grid. */
.story-guides {
  position: absolute;
  inset: -128px 40px -136px;
  pointer-events: none;
  background-image: linear-gradient(90deg, var(--story-line) 1px, transparent 1px);
  background-size: calc(25% - 0.25px) 100%;
  border-right: 1px solid var(--story-line);
  -webkit-mask-image: repeating-linear-gradient(180deg, #000 0 5px, transparent 5px 10px);
  mask-image: repeating-linear-gradient(180deg, #000 0 5px, transparent 5px 10px);
  opacity: 0.8;
}
.story-intro,
.bento,
.story-sample,
.api-panel {
  position: relative;
}
.story-intro {
  max-width: 900px;
  margin-bottom: 56px;
}
.story-kicker {
  margin: 0 0 18px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--story-action);
}
.story h2 {
  max-width: 880px;
  margin: 0 0 24px;
  font-family: "Plus Instrument", sans-serif;
  font-size: 54px;
  font-weight: 520;
  line-height: 1.08;
  letter-spacing: -1.4px;
  color: var(--story-ink);
}
.story-lede {
  max-width: 620px;
  margin: 0;
  font-size: 19px;
  font-weight: 350;
  line-height: 1.65;
  color: var(--story-muted);
}
.story-sample {
  margin: 0 0 14px;
  font-size:14px;
  line-height: 1.4;
  color: var(--story-muted);
  text-align: right;
}
.story h3 {
  margin: 0 0 6px;
  font-size: 19px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.3px;
}
.story figure {
  margin: 0;
}
.story figcaption p,
.review-points p {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--story-muted);
}
.story-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  font-size: 15px;
  font-weight: 450;
  color: var(--story-action);
}
.story figcaption .story-link {
  display: flex;
  width: fit-content;
}
.story-link:hover {
  color: #3a2f6b;
}
.story-link .icon {
  width: 15px;
  height: 15px;
  transition: transform 0.18s;
}
.story-link:hover .icon {
  transform: translateX(3px);
}

/* Story icons: one outline family drawn by story.js. Small inline marks in
   section labels; tinted badges beside feature headings. */
.kicker-icon {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  margin-right: 10px;
  border-radius: 7px;
  background: #efeaf7;
  box-shadow: inset 0 0 0 1px #e1d8f0;
  color: var(--story-plum);
  vertical-align: -6px;
}
.kicker-icon .icon {
  width: 15px;
  height: 15px;
  stroke-width: 1.7;
}
.story-badge {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: linear-gradient(180deg, #f7f3fc, #ece5f6);
  box-shadow:
    inset 0 0 0 1px #ddd2ee,
    inset 0 1px 0 #fff,
    0 6px 14px -8px #583f6866;
  color: var(--story-plum);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.story-badge .icon {
  width: 22px;
  height: 22px;
  stroke-width: 1.6;
}
/* Without the script there is nothing to draw, so show no empty surfaces. */
.story-badge:empty,
.kicker-icon:empty {
  display: none;
}
.feature-caption {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  column-gap: 16px;
  align-items: start;
}
.feature-caption > .story-badge {
  grid-row: span 2;
  margin-top: -3px;
}
.feature-caption > h3,
.feature-caption > p {
  grid-column: 2;
}
.review-points .story-badge {
  margin-bottom: 14px;
}
.panel:hover .story-badge,
.review-points li:hover .story-badge {
  transform: translateY(-1px);
  box-shadow:
    inset 0 0 0 1px #cfc0e8,
    inset 0 1px 0 #fff,
    0 0 0 4px #f1ecf8,
    0 8px 16px -8px #583f6880;
}
.story-night .kicker-icon {
  background: #dcef641a;
  box-shadow: inset 0 0 0 1px #dcef6433;
  color: var(--story-lime);
}
.story-night .story-badge {
  background: linear-gradient(180deg, #dcef641f, #dcef640d);
  box-shadow:
    inset 0 0 0 1px #dcef6438,
    0 8px 18px -10px #000000a0;
  color: var(--story-lime);
}
.story-night .story-badge.is-violet {
  background: linear-gradient(180deg, #b9a8e626, #b9a8e60f);
  box-shadow:
    inset 0 0 0 1px #b9a8e640,
    0 8px 18px -10px #000000a0;
  color: #cdbff2;
}
.story-night .panel:hover .story-badge {
  box-shadow:
    inset 0 0 0 1px #dcef6466,
    0 0 0 4px #dcef6412,
    0 8px 18px -10px #000000a0;
}
.story-night .panel:hover .story-badge.is-violet {
  box-shadow:
    inset 0 0 0 1px #b9a8e670,
    0 0 0 4px #b9a8e614,
    0 8px 18px -10px #000000a0;
}
.workspace-intro h2 .story-badge {
  display: grid;
  margin-bottom: 20px;
}

/* Bento grids: one large composition, smaller supporting views. */
.bento {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 20px;
}
.panel {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: #fff;
  border: 1px solid var(--story-line);
  border-radius: 14px;
  box-shadow: 0 1px 2px #1b214008, 0 12px 32px -18px #1b214024;
  overflow: hidden;
}
.panel figcaption {
  padding: 22px 26px 26px;
  border-top: 1px solid var(--story-line);
}
.art {
  position: relative;
  flex: 1;
  min-width: 0;
  padding: 26px;
  font-size:14px;
  line-height: 1.45;
}
.mini-title {
  display: block;
  margin-bottom: 14px;
  font-size:14px;
  font-weight: 500;
  color: var(--story-muted);
}

.bento-discover .panel-main {
  grid-column: span 8;
}
.bento-discover .panel-small {
  grid-column: span 4;
}
.bento-discover .panel-small:nth-child(3) {
  grid-column: span 5;
}
.bento-discover .panel-small:nth-child(4) {
  grid-column: span 7;
}
.mini-title-gap {
  margin-top: 22px;
}
/* A restrained brand glow behind the main composition. */
.bento-discover::before {
  content: "";
  position: absolute;
  z-index: 0;
  left: 8%;
  top: 6%;
  width: 52%;
  height: 70%;
  background:
    radial-gradient(closest-side, #8f6fb038, transparent),
    radial-gradient(closest-side at 70% 80%, #dcef6455, transparent);
  filter: blur(40px);
  pointer-events: none;
}
.bento > * {
  position: relative;
  z-index: 1;
}
.art-discover {
  padding: 28px 28px 30px;
  background:
    linear-gradient(180deg, #fbfbfe, #fff 60%);
}
.mock-search {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid #d9dcea;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 4px 14px -8px #1b214033;
  font-size: 14px;
  margin-right: 222px;
}
.mock-search-icon {
  display: inline-flex;
  color: var(--story-muted);
}
.mock-search-term {
  flex: 1;
  min-width: 90px;
  font-weight: 500;
}
.mock-pill {
  padding: 3px 9px;
  border-radius: 999px;
  background: #efeaf7;
  color: #5a4785;
  font-size:14px;
  white-space: nowrap;
}
.mock-pill-quiet {
  background: #f0f2f6;
  color: var(--story-muted);
}
.discover-split {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 16px;
  margin-top: 16px;
}
.mock-results {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}
.mock-results li {
  display: grid;
  gap: 2px;
  padding: 12px 14px;
  border: 1px solid var(--story-line);
  border-radius: 10px;
  background: #fff;
}
.mock-results li.is-active {
  border-color: #b9addb;
  box-shadow: inset 3px 0 0 var(--story-action);
}
.mock-results strong {
  font-size:14px;
  font-weight: 500;
  color: var(--story-ink);
}
.mock-results span,
.mock-results small {
  color: var(--story-muted);
  font-size:14px;
}
.art mark {
  padding: 0 2px;
  border-radius: 3px;
  background: #eef6c4;
  color: inherit;
}
.mock-tender {
  display: flex;
  flex-direction: column;
  padding: 16px;
  border: 1px solid var(--story-line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 18px 40px -24px #1b214040;
}
.mock-ref {
  font-size:14px;
  color: var(--story-muted);
  font-variant-numeric: tabular-nums;
}
.mock-tender-title {
  margin-top: 4px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.3;
}
.mock-buyer {
  margin-top: 2px;
  font-size:14px;
  color: var(--story-muted);
}
.mock-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 12px;
  margin: 14px 0;
  padding: 12px 0;
  border-top: 1px solid var(--story-line);
  border-bottom: 1px solid var(--story-line);
}
.mock-facts dt {
  font-size:14px;
  color: var(--story-muted);
}
.mock-facts dd {
  margin: 0;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.mock-tabs {
  display: flex;
  gap: 4px;
  margin-top: auto;
  font-size:14px;
}
.mock-tabs span {
  padding: 5px 10px;
  border-radius: 6px;
  color: var(--story-muted);
}
.mock-tabs .is-on {
  background: #efeaf7;
  color: #4a3a75;
}
.mock-profile {
  position: absolute;
  right: 22px;
  top: -18px;
  width: 212px;
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--story-ink);
  color: #e7e9f3;
  font-size:14px;
  box-shadow: 0 14px 30px -14px #1b214080;
}
.mock-profile-title {
  margin-bottom: 2px;
  font-weight: 500;
  color: #fff;
}
.mock-profile em {
  display: inline-block;
  width: 62px;
  font-style: normal;
  color: #a9aec8;
}
.bento-discover .panel-main {
  overflow: visible;
}
.bento-discover .panel-main .art {
  border-radius: 14px 14px 0 0;
}

.mini-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}
.mini-list li {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  font-size:14px;
}
.mini-list .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1.5px solid var(--story-action);
}
.mini-list small,
.ai-checks cite {
  padding: 2px 7px;
  border-radius: 5px;
  background: #f2ecfa;
  color: #654397;
  font-size:14px;
  font-style: normal;
  white-space: nowrap;
}
.timeline {
  position: relative;
  margin: 0;
  padding: 0 0 0 18px;
  list-style: none;
  display: grid;
  gap: 12px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: var(--story-line);
}
.timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 8px;
}
.timeline li::before {
  content: "";
  position: absolute;
  left: -18px;
  top: 5px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #fff;
  border: 1.5px solid #b8bdd0;
}
.timeline time {
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.timeline .is-flag::before {
  border-color: #c5892c;
  background: #fbefd9;
}
.timeline .is-due::before {
  border-color: var(--story-action);
  background: var(--story-action);
}
.timeline .is-due span {
  font-weight: 500;
}
.emd-line {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  gap: 0 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--story-line);
}
.emd-line:first-child {
  padding-top: 0;
}
.emd-line b {
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.emd-line small {
  grid-column: 1 / -1;
  font-size:14px;
  color: #8a6420;
}
.emd-line small.ok {
  color: #3f6b48;
}
.emd-line.is-open {
  border-bottom: 0;
}
@media (min-width: 721px) {
  .art-emd {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-content: center;
  }
  .emd-line,
  .emd-line:first-child {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 4px 18px;
    border-bottom: 0;
    border-left: 1px solid var(--story-line);
  }
  .emd-line:first-child {
    padding-left: 0;
    border-left: 0;
  }
  .emd-line span {
    color: var(--story-muted);
  }
  .emd-line b {
    font-size: 22px;
    letter-spacing: -0.4px;
    color: var(--story-ink);
  }
}

/* AI review */
.bento-review {
  align-items: start;
}
.review-points {
  grid-column: span 4;
  margin: 0;
  padding: 0;
  list-style: none;
}
.review-points li {
  padding: 22px 0;
  border-top: 1px solid var(--story-line);
}
.review-points li:first-child {
  padding-top: 0;
  border-top: 0;
}
.review-points .review-stance p {
  padding: 16px 18px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--story-line);
  color: var(--story-ink);
}
.panel-review {
  grid-column: span 8;
}
.art-review {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 72px minmax(0, 1fr);
  align-items: start;
  padding: 32px;
  background:
    radial-gradient(60% 70% at 85% 30%, #efe9f8, transparent 70%),
    #fff;
}
.doc-page {
  display: block;
  padding: 20px;
  border: 1px solid var(--story-line);
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 1px 0 #fff, 4px 4px 0 -1px #f2f3f7, 4px 4px 0 0 var(--story-line);
  font-family: "Plus Geist", sans-serif;
}
.doc-name {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
  font-size:14px;
  color: var(--story-muted);
}
.doc-name small {
  margin-left: auto;
}
.doc-name .icon {
  width: 15px;
  height: 15px;
}
.doc-heading {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  font-size:14px;
}
.doc-clause {
  margin: 0 0 8px;
  padding: 6px 8px;
  border-radius: 4px;
  font-size:14px;
  line-height: 1.5;
  color: #474d63;
}
.doc-clause b {
  margin-right: 6px;
  font-weight: 600;
}
.doc-clause.is-cited {
  background: #f2ecfa;
  box-shadow: inset 2px 0 0 #8a6cc0;
  color: var(--story-ink);
}
.doc-lines {
  display: grid;
  gap: 6px;
  margin-top: 12px;
}
.doc-lines i {
  height: 6px;
  border-radius: 3px;
  background: #eef0f4;
}
.doc-lines i:nth-child(2) {
  width: 82%;
}
.doc-lines i:nth-child(3) {
  width: 64%;
}
.review-link {
  width: 100%;
  height: 240px;
  margin-top: 40px;
  overflow: visible;
}
.review-link path {
  fill: none;
  stroke: #8a6cc0;
  stroke-width: 1.5;
  stroke-dasharray: 4 4;
  vector-effect: non-scaling-stroke;
}
.ai-panel {
  display: block;
  margin-top: 56px;
  padding: 18px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #ddd5ec;
  box-shadow: 0 22px 44px -26px #3d2c6680;
}
.ai-panel-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-weight: 500;
}
.ai-mark {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 7px;
  background: var(--story-action);
  color: #fff;
}
.ai-mark .icon {
  width: 14px;
  height: 14px;
}
.ai-label {
  display: block;
  margin: 12px 0 6px;
  font-size:14px;
  font-weight: 500;
  color: var(--story-muted);
}
.ai-summary {
  margin: 0;
  font-size:14px;
  line-height: 1.55;
  color: var(--story-ink);
}
.ai-checks {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 6px;
}
.ai-checks li {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 8px;
  padding: 7px 8px;
  border-radius: 7px;
  font-size:14px;
}
.ai-checks li.is-cited {
  background: #f7f4fc;
}
.ai-checks .box {
  width: 13px;
  height: 13px;
  border-radius: 3px;
  border: 1.5px solid #a99cc9;
}
.ai-verify {
  display: block;
  margin-top: 12px;
  font-size:14px;
  color: var(--story-muted);
}
.panel-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 20px;
  font-size:14px;
  color: var(--story-muted);
}
.panel-review .panel-foot .story-link {
  margin-top: 0;
}

/* Bid and market intelligence: the one dark section. */
.story-night {
  background:
    radial-gradient(48% 60% at 12% 0%, #583f6866, transparent 70%),
    radial-gradient(40% 50% at 95% 40%, #4b69a033, transparent 70%),
    var(--story-night);
  color: #eef0f7;
}
.story-night .story-guides {
  background-image: linear-gradient(90deg, #ffffff14 1px, transparent 1px);
  border-right-color: #ffffff14;
}
.story-night h2,
.story-night h3 {
  color: #fff;
}
.story-night .story-kicker {
  color: #c9d97a;
}
.story-night .story-lede,
.story-night .story-sample,
.story-night figcaption p {
  color: #b4b9cf;
}
.story-night .panel {
  background: #1e2340;
  border-color: #ffffff1a;
  box-shadow: 0 30px 60px -30px #00000080;
}
.story-night .panel figcaption {
  border-top-color: #ffffff14;
}
.story-night .mini-title {
  color: #a3a9c3;
}
.story-night .story-link {
  color: #dcef64;
}
.story-night .story-link:hover {
  color: #eef7a8;
}
.bento-intel .panel-main {
  grid-column: span 7;
  grid-row: span 2;
}
.bento-intel .panel-small {
  grid-column: span 5;
}
.quote-bars {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}
.quote-bars li {
  display: grid;
  grid-template-columns: minmax(0, 150px) minmax(0, 1fr) auto 30px;
  align-items: center;
  gap: 12px;
  font-size:14px;
  color: #d6d9e8;
}
.quote-bars i {
  display: block;
  height: 10px;
  width: var(--w);
  border-radius: 5px;
  background: linear-gradient(90deg, #6c5a9e, #9d89d0);
}
.quote-bars li:first-child i {
  background: linear-gradient(90deg, #8ea33a, #dcef64);
}
.quote-bars .is-you i {
  background: #ffffff38;
}
.quote-bars b {
  font-weight: 500;
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.quote-bars em {
  font-style: normal;
  font-size:14px;
  color: #a3a9c3;
}
.rate-strip {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #ffffff14;
}
/* Field occurrences at each recorded rate, as the Pricing module charts them:
   a count per rate, never a time series. Bars grow 24px per occurrence over
   gridlines at the same pitch. */
.rate-axes {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
  font-size:14px;
  color: #8f95b2;
}
.rate-bars {
  margin: 0 0 30px;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
  height: 128px;
  border-bottom: 1px solid #ffffff2e;
  background: repeating-linear-gradient(0deg, #ffffff12 0 1px, transparent 1px 24px);
}
.rate-bars li {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  min-width: 0;
}
.rate-bars b {
  margin-bottom: 5px;
  font-size:14px;
  font-weight: 500;
  color: #a3a9c3;
  font-variant-numeric: tabular-nums;
}
.rate-bars i {
  display: block;
  width: 100%;
  max-width: 48px;
  height: calc(var(--n) * 24px);
  border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, #9d89d0, #6c5a9e);
}
.rate-bars .is-peak i {
  background: linear-gradient(180deg, #dcef64, #8ea33a);
}
.rate-bars span {
  position: absolute;
  top: 100%;
  margin-top: 8px;
  font-size:14px;
  white-space: nowrap;
  color: #a3a9c3;
  font-variant-numeric: tabular-nums;
}
.rate-note {
  display: block;
  margin-top: 10px;
  font-size:14px;
  color: #a3a9c3;
}
.rival-bars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  height: 92px;
  align-items: end;
}
.rival-bars span {
  display: flex;
  align-items: end;
  gap: 4px;
  height: 100%;
}
.rival-bars i {
  flex: 1;
  height: var(--h);
  border-radius: 3px 3px 0 0;
  background: #9d89d0;
}
.rival-bars i.is-them {
  background: #ffffff30;
}
.rival-key {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-size:14px;
  color: #a3a9c3;
}
.rival-key i {
  width: 9px;
  height: 9px;
  border-radius: 2px;
  background: #9d89d0;
}
.rival-key i.is-them {
  margin-left: 12px;
  background: #ffffff30;
}
.buyer-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
}
.buyer-tags li {
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid #ffffff26;
  font-size:14px;
  color: #e3e6f2;
}
.buyer-note {
  font-size:14px;
  color: #a3a9c3;
}
.api-panel {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 40px;
  align-items: center;
  margin-top: 20px;
  padding: 40px;
  border: 1px solid #ffffff1a;
  border-radius: 14px;
  background: linear-gradient(135deg, #ffffff0d, #ffffff03);
}
.api-copy h3 {
  font-family: "Plus Instrument", sans-serif;
  font-size: 30px;
  font-weight: 520;
  line-height: 1.15;
  letter-spacing: -0.6px;
  margin-bottom: 14px;
}
.api-copy p:not(.story-kicker) {
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
  color: #b4b9cf;
}
.api-code {
  min-width: 0;
  border-radius: 12px;
  background: #0f1226;
  border: 1px solid #ffffff14;
  overflow: hidden;
}
.api-code figcaption {
  padding: 10px 18px;
  border-bottom: 1px solid #ffffff14;
  font-size:14px;
  color: #8f95b2;
}
.api-code pre {
  margin: 0;
  padding: 18px;
  font: 14px/1.65 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  color: #d6d9e8;
}
.api-code .c-k {
  color: #dcef64;
}
.api-code .c-s {
  color: #b9a8e6;
}
.api-code .c-v {
  color: #9fd8b8;
}
.api-code .c-n {
  color: #f0b58f;
}

/* API access contact panel: a native modal dialog opened by story.js. The
   dialog's own display is left to the browser so it stays hidden when closed. */
.api-contact {
  width: 460px;
  max-width: calc(100% - 32px);
  max-height: calc(100% - 32px);
  padding: 0;
  border: 1px solid var(--story-line);
  border-radius: 14px;
  background: #fff;
  color: var(--story-ink);
  box-shadow: 0 30px 60px -24px #1b214066;
}
.api-contact::backdrop {
  background: #161a33b3;
}
.api-contact[open],
.api-contact[open]::backdrop {
  animation: api-contact-in 0.18s ease-out;
}
@keyframes api-contact-in {
  from {
    opacity: 0;
  }
}
.api-contact-body {
  padding: 28px;
}
.api-contact h2 {
  margin: 0 0 10px;
  font-family: "Plus Instrument", sans-serif;
  font-size: 26px;
  font-weight: 520;
  line-height: 1.15;
  letter-spacing: -0.5px;
}
.api-contact p {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--story-muted);
}
.api-contact-address {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
}
.api-contact-email {
  flex: 1 1 200px;
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid var(--story-line);
  border-radius: 6px;
  background: var(--story-paper);
  font-size: 15px;
  line-height: 22px;
  overflow-wrap: anywhere;
  -webkit-user-select: all;
  user-select: all;
}
.api-contact .api-contact-status {
  min-height: 22px;
  margin-top: 8px;
  font-size:14px;
  line-height: 22px;
}
.api-contact .api-contact-status[data-state="copied"] {
  color: #3f6b48;
}
.api-contact .api-contact-status[data-state="failed"] {
  color: #8a6420;
}
.api-contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

/* Workspace, now after the story */
.workspace-section {
  padding: 120px 0 40px;
}
.workspace-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: end;
}
.workspace-intro h2 {
  margin: 0;
  font-family: "Plus Instrument", sans-serif;
  font-weight: 520;
  line-height: 1.12;
  letter-spacing: -1px;
}
.workspace-intro p {
  margin: 0;
  max-width: 520px;
  font-size: 18px;
  line-height: 1.7;
  color: var(--muted);
}
.more-tools {
  padding: 64px 0 40px;
}
.more-tools-title {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 450;
  color: var(--story-muted);
}

@media (max-width: 1100px) {
  .story-guides {
    inset-inline: 28px;
  }
  .story h2 {
    font-size: 46px;
  }
  .bento-discover .panel-main,
  .panel-review,
  .review-points {
    grid-column: 1 / -1;
    grid-row: auto;
  }
  .bento-discover .panel-small:nth-child(n) {
    grid-column: span 6;
  }
  .bento-discover .panel-small:nth-child(4) {
    grid-column: 1 / -1;
  }
  .review-points {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0 28px;
    order: 2;
  }
  .review-points li,
  .review-points li:first-child {
    padding: 20px 0 0;
    border-top: 1px solid var(--story-line);
  }
  .review-points .review-stance {
    grid-column: 1 / -1;
    border-top: 0;
  }
  .bento-intel .panel-main,
  .bento-intel .panel-small {
    grid-column: 1 / -1;
    grid-row: auto;
  }
}
@media (max-width: 900px) {
  .bento-intel .panel-small {
    grid-column: span 6;
  }
  .api-panel,
  .workspace-intro {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
  .api-panel {
    padding: 28px;
  }
}
@media (max-width: 720px) {
  .hero {
    padding-bottom: 24px;
  }
  .customers {
    padding: 16px 0 24px;
  }
  .customers-layout {
    margin-bottom: 12px;
  }
  .ticker-list {
    gap: 48px;
    padding: 0 24px;
  }
  .ticker-list img {
    height: 24px;
  }
  .ticker-list .logo-hpcl {
    height: 38px;
  }
  .ticker-list .logo-emerson {
    height: 30px;
  }
  .ticker-list .logo-endress {
    height: 18px;
  }
  .story {
    padding: 80px 0 88px;
  }
  .story-guides {
    display: none;
  }
  .story-intro {
    margin-bottom: 36px;
  }
  .story h2 {
    font-size: 34px;
    letter-spacing: -0.8px;
    line-height: 1.12;
  }
  .story-lede {
    font-size: 17px;
  }
  .story-sample {
    text-align: left;
  }
  .bento {
    gap: 14px;
  }
  .bento-discover .panel-small:nth-child(n),
  .bento-intel .panel-small {
    grid-column: 1 / -1;
  }
  .art,
  .art-discover,
  .art-review {
    padding: 20px;
  }
  .panel figcaption {
    padding: 18px 20px 20px;
  }
  .discover-split {
    grid-template-columns: minmax(0, 1fr);
  }
  .mock-results li:nth-child(3) {
    display: none;
  }
  .mock-search {
    margin-right: 0;
  }
  .mock-profile {
    position: static;
    width: auto;
    margin-top: 14px;
  }
  .review-points {
    grid-template-columns: minmax(0, 1fr);
  }
  .art-review {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }
  .review-link {
    display: none;
  }
  .ai-panel {
    margin-top: 0;
  }
  .quote-bars li {
    grid-template-columns: minmax(0, 1fr) auto 26px;
    row-gap: 6px;
  }
  .quote-bars i {
    grid-column: 1 / -1;
    grid-row: 2;
  }
  .rate-bars {
    gap: 8px;
  }
  .rate-bars span {
    font-size:14px;
  }
  .api-panel {
    padding: 22px;
  }
  .api-copy h3 {
    font-size: 25px;
  }
  .api-code pre {
    font-size:14px;
  }
  .api-contact-body {
    padding: 22px;
  }
  .api-contact h2 {
    font-size: 23px;
  }
  .workspace-section {
    padding: 80px 0 24px;
  }
  .more-tools {
    padding: 40px 0 24px;
  }
}
@media (max-width: 720px) {
  .feature-caption {
    grid-template-columns: 36px minmax(0, 1fr);
    column-gap: 14px;
  }
  .story-badge {
    width: 36px;
    height: 36px;
    border-radius: 10px;
  }
  .story-badge .icon {
    width: 20px;
    height: 20px;
  }
  .workspace-intro h2 .story-badge {
    margin-bottom: 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .story-link .icon,
  .story-badge {
    transition: none;
  }
  .panel:hover .story-badge,
  .review-points li:hover .story-badge {
    transform: none;
  }
  .api-contact[open],
  .api-contact[open]::backdrop {
    animation: none;
  }
}

@media (min-width: 901px) and (max-height: 860px) {
  .hero { padding-bottom: 12px; }
  .customers { padding-top: 16px; }
  .customers-layout { margin-bottom: 8px; }
}
