:root {
  --night: #25313b;
  --charcoal: #39414b;
  --deep: #246779;
  --platform-blue: #2e758c;
  --teal: #7bc4d0;
  --mist: #f3f8f9;
  --rule: #d8e4e8;
  --ink-2: #51616d;
  --mark: #315e75;
  --mark-light: #b8d5dc;
  --c-bar: #80a7b4;
  --c-hl: var(--platform-blue);
  --c-soft: #dbeaf0;
  --c-line: var(--platform-blue);
  --c-area: #2e758c16;
  --c-bad: #dbeaf0;
}

body { color: var(--night); }
h1, h2, h3 { color: var(--night); }
.btn { min-height: 44px; }
.btn:hover { background: #194f60; }
.quiet-link {
  color: var(--deep);
  font-weight: 650;
  text-decoration-color: #2e758c65;
}
.quiet-link:hover { text-decoration-color: currentColor; }
.quiet-link span { padding-inline-start: .18em; }

.platform-header { color: var(--white); }
.platform-header .nav { min-height: 68px; gap: .9rem; }
.platform-header .brand img { width: 75px; }
.platform-header .nav nav { display: flex; align-items: center; gap: .2rem; }
.platform-header nav a {
  color: #f4f7f8;
  font-size: .89rem;
  font-weight: 550;
  letter-spacing: 0;
  text-transform: none;
  padding: .55rem .7rem;
}
.platform-header nav a:hover, .platform-header nav a[aria-current="page"] {
  color: #dbfcff;
  background: #ffffff17;
}
.header-action {
  background: transparent;
  border-color: #a0bfc9;
  padding: .43rem .8rem;
  font-size: .86rem;
}
.header-action:hover { background: #ffffff12; }

.platform-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(1.65rem, 2.7vw, 2.45rem);
  border-bottom: 1px solid var(--rule);
  background: radial-gradient(ellipse at 85% 48%, #254a56 0%, #263944 38%, #252e38 78%);
}
.platform-hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background-image:
    linear-gradient(#a3e2ec24 1px, transparent 1px),
    linear-gradient(90deg, #a3e2ec24 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: radial-gradient(ellipse at 90% 35%, #000, transparent 65%);
}
.platform-hero::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  pointer-events: none;
  background: radial-gradient(ellipse at 83% 50%, #50bed83b, transparent 55%);
  animation: hero-light 1.65s cubic-bezier(.16, 1, .3, 1) both;
}
@keyframes hero-light {
  from { opacity: 0; transform: translate(5%, 10%); }
  to { opacity: 1; transform: translate(0); }
}
.platform-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr);
  align-items: center;
  gap: clamp(1.65rem, 4vw, 4.5rem);
}
.platform-intro { animation: rise .45s ease both; }
.product-name {
  margin-bottom: .9rem;
  color: #96e0eb;
  font-size: .94rem;
  font-weight: 720;
  letter-spacing: .04em;
}
.platform-intro h1 {
  max-width: 16ch;
  color: var(--white);
  font-size: clamp(2.65rem, 4.25vw, 3.65rem);
  font-weight: 700;
  letter-spacing: -.052em;
  line-height: 1.02;
  text-wrap: balance;
}
.platform-intro h1 span { color: #a6e5ee; font-weight: inherit; }
.platform-lead {
  max-width: 43ch;
  margin-top: 1.1rem;
  color: #e0e8ec;
  font-size: 1.1rem;
  line-height: 1.54;
}
.platform-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .65rem 1.15rem;
  margin-top: 1.35rem;
  font-size: .91rem;
}
.platform-hero .btn { background: #8ad7e5; color: #182e38; }
.platform-hero .btn:hover { background: #b3e8f1; }
.platform-hero .quiet-link { color: #ecf9fb; text-decoration-color: #93d4e1; }
.platform-privacy { margin-top: .85rem; color: #c6d6df; font-size: .83rem; }

.hero-conversation { scroll-margin-block-start: 1rem; animation: conversation-entry .7s .08s cubic-bezier(.16, 1, .3, 1) both; }
@keyframes conversation-entry {
  from { opacity: 0; transform: translateY(22px) scale(.985); }
  to { opacity: 1; transform: none; }
}
.hero-conversation .window {
  overflow: visible;
  background: var(--white);
  border: 1px solid #84b6c5;
  border-radius: 14px;
  box-shadow: 0 25px 48px -23px #102631e0, 0 0 0 5px #9cdeea16;
}
.hero-conversation .win-top {
  padding: .57rem .95rem;
  border-radius: 13px 13px 0 0;
  background: #223440;
  color: var(--white);
  font-weight: 610;
}
.assistant-title { display: inline-flex; align-items: center; gap: .5rem; }
.assistant-title::before {
  content: "";
  width: .75em;
  height: .75em;
  border: 1.5px solid var(--teal);
  border-radius: 2px;
  transform: rotate(45deg);
}
.hero-conversation .plug { background: #bfe9ef; color: #1d5364; }
.hero-conversation .plug::before { box-shadow: 0 0 0 2px #24677922; }
.hero-conversation .demo-steps { padding: .68rem .8rem .48rem; }
.hero-conversation .demo-steps button {
  min-height: 44px;
  font-weight: 650;
  transition: border-color .2s ease, background-color .2s ease, color .2s ease;
}
.hero-conversation .demo-steps button b { background: #edf3f5; color: var(--ink-2); }
.hero-conversation .demo-steps button[aria-pressed="true"] {
  border-color: #265f72;
  background: #265f72;
  color: var(--white);
}
.hero-conversation .demo-steps button[aria-pressed="true"] b {
  background: #c5ecf2;
  color: #153944;
}
.hero-conversation .demo-steps button i {
  width: 100%;
  height: 4px;
  background: #91e4ed;
  transform: scaleX(0);
  transform-origin: left;
}
.hero-conversation .demo-steps button[aria-pressed="true"] i {
  animation-name: conversation-progress;
}
@keyframes conversation-progress { to { transform: scaleX(1); } }
.hero-conversation .rail {
  display: flex;
  flex-wrap: wrap;
  gap: .14rem .28rem;
  padding: 0 .8rem .45rem;
}
.hero-conversation .rail li {
  justify-content: start;
  min-height: 1.45rem;
  padding: .21rem .4rem;
  border-radius: 4px;
  transition: background-color .22s ease, color .22s ease;
}
.hero-conversation .rail li.on { color: #1d4b5b; background: #d9edf2; }
.hero-conversation .rail li.on .dot {
  animation: source-pulse .8s ease-out;
  box-shadow: 0 0 0 3px #27647725;
}
@keyframes source-pulse {
  from { box-shadow: 0 0 0 0 #27647792; }
  to { box-shadow: 0 0 0 5px #27647700; }
}
.hero-conversation .scenes {
  block-size: 22rem;
  min-width: 0;
  padding: .78rem .9rem .95rem;
  border-radius: 0 0 13px 13px;
  background: #fafcfd;
  scrollbar-gutter: stable;
}
.hero-conversation .scene { gap: .52rem; color: var(--night); overflow-wrap: anywhere; }
.hero-conversation .scene .a { gap: .42rem; }
.hero-conversation .scene .u {
  max-width: 90%;
  padding: .54rem .78rem;
  background: #214b5c;
  color: var(--white);
  font-weight: 620;
}
.hero-conversation .scene .tool {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #204e5e;
  border-color: #a9cbd4;
}
.hero-conversation .scene.is-on .tool::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, transparent, #7bc4d080, transparent);
  animation: source-scan .8s .25s cubic-bezier(.2, .6, .3, 1) both;
}
@keyframes source-scan {
  from { transform: translateX(-105%); }
  to { transform: translateX(105%); }
}
.hero-conversation .scene .fchip { background: #ffffff24; }
.hero-conversation .scene .spin { flex: 0 0 10px; border-top-color: var(--platform-blue); }
.hero-conversation .scene.is-on .u { animation: prompt-in .45s cubic-bezier(.2, .8, .3, 1) both; }
.hero-conversation .scene.is-on .tool { animation-delay: .22s; }
.hero-conversation .scene.is-on .a { animation: answer-in .6s .5s cubic-bezier(.2, .8, .3, 1) both; }
.hero-conversation .scene.is-on .mini b { transform-origin: left; animation: fill .8s .6s ease both; }
@keyframes prompt-in {
  from { opacity: 0; transform: translateX(15px) scale(.98); }
}
@keyframes answer-in {
  from { opacity: 0; transform: translateY(15px); }
}
.hero-conversation .demo-foot { gap: .5rem .85rem; padding: .02rem .15rem; color: #d1e3e8; line-height: 1.35; }
.hero-conversation .demo-foot strong { color: var(--white); }
.hero-conversation .pause {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: .42rem;
  min-height: 38px;
  padding: .22rem .59rem;
  border-color: #87b1bf;
  background: #253945;
  color: #f0fbfd;
  font-weight: 650;
}
.hero-conversation .pause:hover { background: #375767; }
.hero-conversation .pause::before {
  content: "";
  width: 0;
  height: 0;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 6px solid currentColor;
}
.hero-conversation .pause[aria-label="Pause example"]::before {
  width: 7px;
  height: 9px;
  border: 0;
  border-inline: 2px solid currentColor;
}
.step-heading { display: block; }
.step-heading :is(h1, h2) { color: #233541; font-size: clamp(2.15rem, 4.2vw, 3.4rem); font-weight: 700; }
.step-heading.in { animation: answer-in .55s cubic-bezier(.2, .8, .3, 1) both; }
.workflow-overview { padding-block: clamp(2rem, 4.5vw, 4rem); }
.workflow-overview h2 { max-width: none; margin-bottom: .9rem; }
.workflow-overview ol { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; }
.workflow-overview a {
  display: flex;
  flex-direction: column;
  height: 100%;
  gap: .35rem;
  padding: 1.05rem 1.15rem;
  border: 1px solid #c4dbe1;
  border-radius: 10px;
  background: var(--mist);
  text-decoration: none;
  transition: background-color .22s ease, border-color .22s ease, transform .22s ease;
}
.workflow-overview a:hover {
  transform: translateY(-3px);
  background: #e6f3f7;
  border-color: var(--platform-blue);
}
.workflow-overview strong {
  display: flex;
  justify-content: space-between;
  gap: .6rem;
  font-size: 1.25rem;
  font-weight: 700;
}
.workflow-overview p { color: var(--night); font-size: .94rem; }
.page-nav {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .4rem 1rem;
  padding-block: 1.35rem;
  border-top: 1px solid var(--rule);
}
.catalogue-heading h1, .faq h1 { font-size: clamp(2.15rem, 4.2vw, 3.4rem); }

.catalogue { padding-block: clamp(1.85rem, 3.5vw, 2.7rem) clamp(2rem, 4vw, 3.5rem); }
.catalogue-heading {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: end;
  gap: .4rem 1rem;
  margin-bottom: .85rem;
}
.catalogue-heading h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 660; }
.catalogue-heading p { margin-top: .25rem; color: var(--ink-2); font-size: .95rem; }
.catalogue-platform { font-size: .85rem; }
.catalogue-panel {
  --catalogue-grid: minmax(0, 1fr) minmax(0, 2.2fr) minmax(6rem, .68fr) minmax(7rem, .69fr);
  border: 1px solid var(--rule);
  border-radius: 9px;
  background: var(--white);
}
.catalogue-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .8rem;
  padding: .66rem .9rem;
}
.catalogue-search {
  display: flex;
  align-items: center;
  gap: .62rem;
  flex: 0 1 26rem;
  min-width: 0;
  padding-inline: .72rem .4rem;
  border: 1px solid #cbdde2;
  border-radius: 6px;
}
.catalogue-search:focus-within { border-color: var(--platform-blue); outline: 2px solid #b8d5dc; }
.catalogue-search input {
  min-width: 0;
  width: 100%;
  min-height: 37px;
  padding: .25rem .35rem;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: .86rem;
}
.catalogue-search input::placeholder { color: var(--ink-2); }
.search-glass {
  position: relative;
  width: 12px;
  height: 12px;
  flex: 0 0 12px;
  border: 1.7px solid var(--deep);
  border-radius: 50%;
}
.search-glass::after {
  content: "";
  position: absolute;
  width: 6px; height: 1.7px;
  top: 8px; left: 8px;
  border-radius: 2px;
  background: var(--deep);
  transform: rotate(45deg);
  transform-origin: left;
}
.catalogue-count { flex: none; color: var(--deep); font-size: .81rem; font-weight: 650; }
.catalogue-columns, .catalogue-row-main {
  display: grid;
  grid-template-columns: var(--catalogue-grid);
  align-items: center;
  gap: .7rem 1.15rem;
  padding-inline: .95rem;
}
.catalogue-columns {
  padding-block: .38rem;
  border-block: 1px solid var(--rule);
  background: #edf4f6;
  color: var(--ink-2);
  font-size: .76rem;
  font-weight: 680;
}
.catalogue-row + .catalogue-row { border-top: 1px solid var(--rule); }
.catalogue-row:nth-child(even) { background: var(--mist); }
.catalogue-row:last-child { border-radius: 0 0 8px 8px; }
.catalogue-row-main { padding-block: .73rem; }
.catalogue-buyer { font-size: .83rem; font-weight: 625; line-height: 1.4; }
.catalogue-name h3 { font-size: .98rem; font-weight: 675; }
.catalogue-ref { color: var(--ink-2); font-size: .75rem; }
.catalogue-date { color: var(--ink-2); font-size: .82rem; }
.catalogue-expand {
  justify-self: start;
  min-height: 36px;
  padding: .3rem .55rem;
  border: 1px solid #afcbd3;
  border-radius: 5px;
  background: var(--white);
  color: var(--deep);
  font-size: .8rem;
  font-weight: 640;
  white-space: nowrap;
}
.catalogue-expand::after {
  display: inline-block;
  content: "";
  width: 6px;
  height: 6px;
  margin-inline: .45rem .12rem;
  border: solid currentColor;
  border-width: 0 1.5px 1.5px 0;
  vertical-align: .18em;
  transform: rotate(45deg);
}
.catalogue-expand:hover, .catalogue-expand[aria-expanded="true"] { background: #e2eff2; border-color: var(--platform-blue); }
.catalogue-expand[aria-expanded="true"]::after { transform: rotate(225deg); vertical-align: .01em; }
.catalogue-detail { padding: .85rem .95rem 1.05rem; border-top: 1px solid var(--rule); background: #eaf3f5; }
.catalogue-detail h4 { margin-top: .7rem; font-size: .9rem; }
.catalogue-detail .tcrit { margin-top: .36rem; }
.catalogue-detail .tcrit b { background: var(--platform-blue); }
.catalogue-panel .state { padding: .8rem .95rem; }

.market-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2.5fr);
  align-items: center;
  gap: .7rem 1.25rem;
  margin-top: .75rem;
  padding: .65rem .95rem;
  border: 1px solid var(--rule);
  border-radius: 8px;
  background: var(--mist);
}
.market-summary h3 { font-size: .94rem; }
.market-summary p { color: var(--ink-2); font-size: .76rem; }
.market-summary dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .6rem; }
.market-summary dl > div { display: flex; flex-direction: column-reverse; border-left: 1px solid var(--rule); padding-left: .72rem; }
.market-summary dt { color: var(--ink-2); font-size: .76rem; line-height: 1.25; }
.market-summary dd { color: var(--deep); font-size: clamp(1.1rem, 2.3vw, 1.58rem); font-weight: 650; font-variant-numeric: tabular-nums; }

.crit li:first-child em { background: var(--mark); }
.combo, mark { background: #e0eef3; }
.powers > div:nth-child(2) { border-top-color: var(--teal); }
.tag-pipeline { background: #315e751a; }
.pipe.pipe-light li:not(:last-child)::after { border-color: #315e7566; }

@media (max-width: 850px) {
  .wrap { width: min(1180px, calc(100% - 40px)); }
  .platform-hero-grid { grid-template-columns: minmax(0, 1fr); }
  .platform-intro h1 { max-width: 20ch; }
  .hero-conversation { width: min(100%, 40rem); }
}

@media (max-width: 690px) {
  .platform-header .nav { flex-wrap: wrap; min-height: 0; padding-top: .5rem; gap: .2rem .7rem; }
  .platform-header .nav nav {
    width: 100%;
    order: 1;
    justify-content: space-between;
    border-top: 1px solid #ffffff25;
  }
  .platform-header nav a { text-align: center; font-size: .82rem; padding: .55rem .28rem; }
  .platform-header .brand img { width: 65px; }
  .hero-conversation .scenes { block-size: clamp(17rem, 48svh, 23rem); padding-inline: .65rem; }
  .hero-conversation .win-top { padding-inline: .72rem; }
  .hero-conversation .demo-steps, .hero-conversation .rail { padding-inline: .56rem; }
  .hero-conversation .rail li { font-size: .66rem; }
  .workflow-overview ol { grid-template-columns: minmax(0, 1fr); }
  .catalogue-columns { display: none; }
  .catalogue-row-main {
    grid-template-columns: minmax(0, 1fr) max-content;
    gap: .33rem .55rem;
    padding: .72rem .8rem;
  }
  .catalogue-row-main:first-child { border-top: 1px solid var(--rule); }
  .catalogue-row + .catalogue-row { border-top: 0; }
  .catalogue-buyer { grid-column: 1; grid-row: 1; }
  .catalogue-date { grid-column: 2; grid-row: 1; text-align: right; font-size: .75rem; }
  .catalogue-name { grid-column: 1 / -1; }
  .catalogue-expand { grid-column: 1 / -1; min-height: 38px; }
  .market-summary { grid-template-columns: minmax(0, 1fr); }
  .market-summary dl > div:first-child { padding-left: 0; border: 0; }
}

@media (max-width: 380px) {
  .wrap { width: calc(100% - 28px); }
  .platform-intro h1 { font-size: 2.32rem; }
  .platform-header nav a { font-size: .74rem; padding-inline: .2rem; }
  .catalogue-toolbar { flex-wrap: wrap; gap: .3rem; }
}
