/* Home theme and audio controls */
html[data-home-theme-wipe]::view-transition-group(root) {
  animation-duration: 440ms;
}
html[data-home-theme-wipe]::view-transition-old(root) {
  animation: none;
  mix-blend-mode: normal;
}
html[data-home-theme-wipe]::view-transition-new(root) {
  animation: hv-theme-wipe 440ms cubic-bezier(.58,.05,.22,.98) both;
  mix-blend-mode: normal;
}
@keyframes hv-theme-wipe {
  from { clip-path: inset(0 0 0 100%); }
  to { clip-path: inset(0); }
}

html #platform-home .hx-sound[data-music-state="playing"] .hx-sound-wave {
  animation: hv-sound-flow 1.65s linear infinite;
}
html.hx-hidden #platform-home .hx-sound .hx-sound-wave {
  animation-play-state: paused;
}
@keyframes hv-sound-flow {
  from { transform: translateX(0); }
  to { transform: translateX(-12px); }
}
@media (prefers-reduced-motion: reduce) {
  html #platform-home .hx-sound[data-music-state="playing"] .hx-sound-wave {
    animation: none;
  }
}
html[data-motion="off"] #platform-home .hx-sound[data-music-state="playing"] .hx-sound-wave {
  animation: none;
}

/* Tool examples use the same theme tokens as the surrounding page. */
html #platform-home .hd-tool-gallery {
  --hv-line: color-mix(in srgb, var(--hx-ink) 16%, transparent);
  --hv-pane: color-mix(in srgb, var(--hx-ink) 5%, var(--hx-bg));
  --hv-text-muted: color-mix(in srgb, var(--hx-ink) 71%, var(--hx-bg));
}
html #platform-home .hd-gallery-heading {
  align-items: end;
}
html #platform-home .hd-category-tabs {
  gap: 8px;
  margin-bottom: clamp(18px, 3vw, 36px);
}
html #platform-home :is(.hd-category-tabs,.hd-tool-tabs) button {
  border-radius: 0;
  background: var(--hv-pane);
  color: var(--hx-ink);
}
html #platform-home :is(.hd-category-tabs,.hd-tool-tabs) button[aria-selected="true"] {
  background: var(--hx-ink);
  color: var(--hx-bg);
}
html #platform-home .hd-category-tabs button[aria-selected="true"] {
  background: #2f3be7;
  color: #fff;
}
html #platform-home .hd-tool-group {
  gap: clamp(16px, 2.4vw, 38px);
}
html #platform-home .hd-tool-output > :first-child,
html #platform-home .hd-tool-output .hd-compare {
  overflow: hidden;
  border-radius: clamp(12px, 1.6vw, 24px);
}
html #platform-home .hd-tool-panel footer {
  border-top: 1px solid var(--hv-line);
}
html #platform-home .hd-gallery-note {
  color: var(--hv-text-muted);
  opacity: 1;
}
html #platform-home .hd-tool-panel:focus-visible,
html #platform-home .hv-study-list a:focus-visible {
  outline: 2px solid #7885ff;
  outline-offset: 4px;
}

.hv-integration,
.hv-text-demo {
  color: var(--hx-ink);
  background: var(--hv-pane);
  border: 1px solid var(--hv-line);
}
.hv-integration {
  --hv-integration-pad: clamp(18px, 3.2vw, 42px);
  padding: var(--hv-integration-pad);
}
.hv-integration[data-home-knowledge="vector-db"] {
  background: var(--hx-bg);
}
.hv-integration-head {
  margin-bottom: clamp(18px, 3vw, 40px);
}
.hv-integration-head > span,
.hv-demo-label {
  display: block;
  font-size: .73rem;
  font-weight: 600;
  letter-spacing: .045em;
  color: var(--hv-text-muted);
}
.hv-integration-head h5,
.hv-text-result h5 {
  margin: .35em 0 0;
  color: inherit;
  font: 520 clamp(22px, 3vw, 46px)/1.07 var(--platform-font);
  letter-spacing: -.052em;
  text-wrap: balance;
}
.hv-integration-body {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1fr);
  gap: clamp(12px, 1.6vw, 24px);
  align-items: start;
}
html #platform-home .hv-integration .hd-question-options {
  display: grid;
  gap: 8px;
}
html #platform-home .hv-integration .hd-question-options button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 11px 13px;
  border: 0;
  border-bottom: 1px solid var(--hv-line);
  border-radius: 0;
  background: transparent;
  color: var(--hx-ink);
  text-align: left;
  white-space: normal;
}
html #platform-home .hv-integration .hd-question-options button[aria-pressed="true"] {
  border-bottom-color: var(--hx-accent);
  color: var(--hx-accent);
}
.hv-integration-reply {
  min-height: 100%;
  border-left: 1px solid var(--hv-line);
  padding: clamp(14px, 2vw, 25px);
}
.hv-integration-reply p,
.hv-text-demo p,
.hv-text-demo ul {
  margin: .7rem 0 0;
  font-size: clamp(14px, 1.42vw, 21px);
  line-height: 1.48;
}
.hv-integration-reply .hv-integration-source {
  border-top: 1px solid var(--hv-line);
  margin-top: 1rem;
  padding-top: .65rem;
  color: var(--hv-text-muted);
  font-size: .8rem;
}
.hv-text-demo {
  display: grid;
  grid-template-columns: minmax(0, .65fr) minmax(0, 1fr);
}
.hv-text-task,
.hv-text-result {
  min-width: 0;
  padding: clamp(17px, 3vw, 36px);
}
.hv-text-task p {
  color: var(--hv-text-muted);
}
.hv-text-result {
  border-inline-start: 1px solid var(--hv-line);
  background: color-mix(in srgb, #4957fc 11%, var(--hx-bg));
}
.hv-text-demo--rewrite .hv-text-result {
  background: color-mix(in srgb, #41ac86 13%, var(--hx-bg));
}
.hv-text-demo--translate .hv-text-result {
  background: color-mix(in srgb, #4957fc 15%, var(--hx-bg));
}
.hv-text-demo--summarize .hv-text-result {
  background: color-mix(in srgb, #bd8c55 12%, var(--hx-bg));
}
.hv-text-demo li + li {
  margin-top: .4em;
}
.hv-text-demo ul {
  padding-inline-start: 1.1em;
}

/* Study assistants follow the landing's open grid and divider rules. */
.hv-study {
  margin-block: clamp(24px, 3.5vw, 56px) clamp(55px, 8vw, 122px);
  padding-top: clamp(34px, 5vw, 74px);
  border-top: 1px solid var(--hx-line);
  display: grid;
  grid-template-columns: minmax(0, .56fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(32px, 5.5vw, 100px);
  scroll-margin-top: 104px;
  color: var(--hx-ink);
}
#platform-home .hv-study-head .hx-eyebrow {
  margin: 0 0 clamp(16px, 2.2vw, 30px);
}
#platform-home .hv-study-head h2 {
  margin: 0;
  font: 400 clamp(38px, 5.25vw, 88px)/.95 var(--platform-font);
  letter-spacing: -.062em;
  color: inherit;
}
.hv-study-head > p:last-child {
  max-width: 32ch;
  margin: 1.1rem 0 0;
  font: 400 clamp(.95rem, 1.32vw, 1.2rem)/1.5 var(--platform-font);
  color: var(--hx-muted);
}
.hv-study-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--hx-line);
}
.hv-study-list > li {
  border-bottom: 1px solid var(--hx-line);
}
.hv-study-list > li > a {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(0, .86fr) auto;
  align-items: start;
  gap: clamp(11px, 1.55vw, 22px);
  padding: clamp(16px, 2.05vw, 30px) 2px;
  color: inherit;
  text-decoration: none;
}
.hv-study-list > li > a:hover :is(h3,.hv-study-arrow),
.hv-study-list > li > a:focus-visible :is(h3,.hv-study-arrow) {
  color: var(--hx-accent);
}
.hv-study-list svg {
  width: 23px;
  height: 23px;
  margin-top: .13em;
  color: var(--hx-accent);
}
.hv-study-list .hv-study-arrow {
  color: var(--hx-ink);
  font-size: 1.16rem;
  line-height: 1.2;
}
#platform-home .hv-study-task h3 {
  margin: 0;
  font: 450 clamp(18px, 1.72vw, 28px)/1.12 var(--platform-font);
  letter-spacing: -.035em;
}
#platform-home .hv-study-list p {
  margin: 0;
  color: var(--hx-muted);
  font: 400 clamp(.84rem, 1.06vw, 1rem)/1.43 var(--platform-font);
}
#platform-home .hv-study-task p {
  margin-top: .5em;
}
#platform-home .hv-study-list .hv-study-prompt {
  color: var(--hx-ink);
  padding-top: .12em;
}

/* Deck covers keep their own visual language in the gallery and expanded viewer. */
:is(.pd-gallery,.pd-dialog) .pd-forma-1 {
  --pd-paper: #eceafb;
  --pd-color: #181734;
}
:is(.pd-gallery,.pd-dialog) .pd-orbit-1 {
  --pd-paper: #1324a9;
  --pd-color: #fff;
}
:is(.pd-gallery,.pd-dialog) .pd-grain-1 {
  --pd-paper: #f4eddd;
  --pd-color: #231d13;
}
.pd-forma-1 .pd-student-cover {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  inset: 12% 0 11% 6%;
}
.pd-orbit-1 .pd-student-cover {
  grid-template-columns: minmax(0, .91fr) minmax(0, 1.09fr);
  inset: 15% 6% 14%;
}
.pd-orbit-1 .pd-student-image {
  border-radius: 2cqw;
}
.pd-grain-1 .pd-student-cover {
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  inset: 12% 6% 10%;
}
.pd-grain-1 .pd-student-image {
  grid-column: 1;
  grid-row: 1;
  border-radius: 0;
}
.pd-grain-1 .pd-copy {
  grid-column: 2;
  grid-row: 1;
}
.pd-forma-1 .pd-student-image img { object-position: center 62%; }
.pd-orbit-1 .pd-student-image img { object-position: center 54%; }
.pd-grain-1 .pd-student-image img { object-position: 52% 43%; }

#platform-home .pd-concepts button[aria-pressed="false"] {
  opacity: .78;
  color: var(--hx-ink);
}

@media (max-width: 1000px) {
  .hv-study { grid-template-columns: minmax(0, 1fr); gap: 25px; }
}
@media (max-width: 700px) {
  .hv-integration-body, .hv-text-demo { grid-template-columns: minmax(0, 1fr); }
  .hv-text-result { border-inline-start: none; border-top: 1px solid var(--hv-line); }
  .hv-integration-reply { min-height: 7em; border-left: 0; padding-inline: 0; }
  .hv-study-list > li > a { grid-template-columns: auto minmax(0, 1fr) auto; gap: .55rem .85rem; }
  .hv-study-list .hv-study-arrow { grid-column: 3; grid-row: 1; }
  .hv-study-list .hv-study-prompt { grid-column: 2; }
}

/* One narrow, independent rail. Page input stays native. */
html[data-hv-native-scroll-hidden] { scrollbar-width: none; }
html[data-hv-native-scroll-hidden]::-webkit-scrollbar { display: none; }
#platform-home .hv-scroll-rail {
  position: fixed;
  inset: auto max(5px, env(safe-area-inset-right)) 50% auto;
  width: 23px;
  height: clamp(136px, 27vh, 302px);
  z-index: 50;
  transform: translateY(50%);
  display: grid;
  place-items: center;
  cursor: ns-resize;
  touch-action: none;
  user-select: none;
}
#platform-home .hv-scroll-rail[hidden],
html.hx-menu-open #platform-home .hv-scroll-rail,
#platform-home:has(dialog[open]) .hv-scroll-rail { display: none; }
.hv-scroll-track {
  position: relative;
  width: 4px;
  height: 100%;
  border-radius: 20px;
  background: color-mix(in srgb, var(--hx-ink) 18%, var(--hx-bg));
}
.hv-scroll-thumb {
  position: absolute;
  inset: 0 -1px auto;
  height: clamp(26px, 5vh, 50px);
  border-radius: inherit;
  background: var(--hx-ink);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--hx-bg) 35%, transparent);
}
#platform-home .hv-scroll-rail:focus-visible { outline: 1px solid var(--hx-ink); outline-offset: 1px; border-radius: 15px; }

#platform-home > .hv-studio-ribbon {
  position: absolute;
  z-index: 0;
  inset: 0;
  pointer-events: none;
  opacity: .8;
}
#platform-home > .hv-studio-ribbon[hidden] { display: none; }
#platform-home .hv-studio-ribbon svg {
  display: block;
  position: absolute;
  inset-inline: 0;
  width: 100%;
  overflow: visible;
  pointer-events: none;
}
#platform-home .hv-studio-ribbon svg[hidden] { display: none; }
#platform-home .hv-studio-ribbon path {
  fill: none;
  stroke: #2b3ded;
  stroke-width: var(--hv-ribbon-width);
  stroke-linecap: round;
  stroke-linejoin: round;
}
#platform-home:has(> .hv-studio-ribbon) { position: relative; isolation: isolate; }
#platform-home:has(> .hv-studio-ribbon) > :is(main,.hx-footer) { position: relative; z-index: 1; }

/* Studio tabs and examples */
html #platform-home .hd-tool-gallery {
  --hv-stage-min: clamp(550px, 52vw, 610px);
  position: relative;
  isolation: isolate;
}
html #platform-home .hd-gallery-heading { scroll-margin-top: 114px; }
html #platform-home .hd-category-tabs {
  flex-wrap: wrap;
  margin-inline: 0;
  overflow: visible;
  padding-inline: 0;
  gap: 7px;
}
html #platform-home .hd-tool-gallery :is(.hd-category-tabs,.hd-tool-tabs,.hd-surface-options) button {
  border-radius: 999px;
  color: var(--hx-ink);
  background: var(--hv-pane);
  border: 1px solid var(--hv-line);
  box-sizing: border-box;
}
html #platform-home .hd-tool-gallery :is(.hd-category-tabs,.hd-tool-tabs) button:hover { transform: none; }
html #platform-home .hd-tool-gallery .hd-surface-options button[aria-pressed="true"] {
  background: var(--hx-ink);
  border-color: var(--hx-ink);
  color: var(--hx-bg);
}
html #platform-home .hd-tool-tabs {
  background: none;
  gap: 8px;
  align-items: stretch;
}
html #platform-home .hd-tool-tabs button {
  justify-content: flex-start;
  align-items: center;
  gap: 10px;
  padding-inline: 16px;
  white-space: normal;
}
html #platform-home .hd-tool-tabs button > .hv-tab-dot {
  display: block;
  flex: 0 0 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--hx-accent);
  opacity: .5;
  transform: none;
}
html #platform-home .hd-tool-tabs button[aria-selected="true"] > .hv-tab-dot,
html #platform-home .hd-tool-tabs button.hv-is-filled > .hv-tab-dot {
  background: currentColor;
  opacity: 1;
}
html #platform-home .hd-tool-group {
  min-block-size: var(--hv-stage-min);
  gap: clamp(16px, 3vw, 48px);
  grid-template-columns: minmax(154px,.26fr) minmax(0,1fr);
}
html #platform-home .hd-tool-group[hidden],
html #platform-home .hd-tool-panel[hidden] { display: none; }
html #platform-home .hd-tool-output > :first-child { border-radius: clamp(14px, 1.7vw, 25px); }
html #platform-home .hd-tool-output .hd-compare { max-height: 430px; }
html #platform-home .hd-tool-panel { animation: hv-panel-enter .24s var(--hx-ease) both; }
@keyframes hv-panel-enter {
  from { opacity: .45; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
html #platform-home .hd-tool-panel footer {
  border-top: 1px solid var(--hv-line);
  padding-top: 12px;
}
html #platform-home .hd-tool-panel .hd-tool-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: .6em .95em;
  border-radius: 999px;
  background: var(--hv-pane);
  color: var(--hx-ink);
}
#platform-home .hd-tool-link > .hv-tab-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  transform: none;
}
html #platform-home .hd-tool-panel .hd-tool-link.hv-is-filled { color: #fff; }

html #platform-home .hd-sticker-example {
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(270px, 27vw, 415px);
  aspect-ratio: auto;
  padding-block: 12px 64px;
}
html #platform-home .hd-tool-output .hd-vector-example {
  aspect-ratio: auto;
  min-height: 0;
}
html #platform-home .hd-vector-example svg {
  max-height: 340px;
}
html #platform-home .hd-sticker-example > img {
  display: block;
  width: auto;
  max-width: 77%;
  height: clamp(190px, 20vw, 315px);
  object-fit: contain;
  place-self: center;
  margin: 0;
  transform: none;
}
html #platform-home .hd-sticker-example[data-surface="blue"] { background: #2839d9; }
html #platform-home .hd-sticker-example[data-surface="dark"] { background: #161722; }
html #platform-home .hd-sticker-example .hd-surface-options {
  position: absolute;
  inset: auto 0 13px;
  flex-wrap: wrap;
  gap: 7px;
  padding-inline: 5px;
}
html #platform-home .hd-sticker-example .hd-surface-options button { background: #efeff7; color: #171824; border-color: #efeff7; }
html #platform-home .hd-sticker-example .hd-surface-options button[aria-pressed="true"] { background: #171824; color: #fff; border-color: #85869a; }
html #platform-home .hd-sticker-example .hd-surface-options button.hv-is-filled { color: #fff; }

.hv-motion-example {
  background: #121727;
  color: #eff1fb;
}
.hv-motion-example video {
  display: block;
  width: 100%;
  max-height: 415px;
  aspect-ratio: 16/9;
  background: #0c0f1b;
  object-fit: cover;
}
.hv-motion-caption {
  display: flex;
  gap: .75rem 1.6rem;
  flex-wrap: wrap;
  align-items: baseline;
  padding: 14px 20px;
}
.hv-motion-caption h5,
.hv-motion-caption p {
  margin: 0;
}
.hv-motion-caption h5 { font: 480 1.23rem/1.1 var(--platform-font); }
.hv-motion-caption p { font-size: .85rem; color: #c6cce3; }

.hv-audio {
  background: color-mix(in srgb, var(--hx-ink) 5%, var(--hx-bg));
  border: 1px solid var(--hv-line);
  color: var(--hx-ink);
  padding: clamp(18px, 2.8vw, 40px);
}
.hv-audio-head h5 {
  margin: 9px 0 0;
  font: 440 clamp(24px, 3vw, 46px)/.99 var(--platform-font);
  letter-spacing: -.047em;
}
.hv-audio-head p { color: var(--hv-text-muted); margin: .7rem 0 0; }
.hv-audio-controls {
  display: grid;
  grid-template-columns: auto minmax(0,1fr) 4ch;
  align-items: center;
  gap: clamp(9px, 1.6vw, 26px);
  margin: clamp(15px, 2vw, 24px) 0 4px;
}
html #platform-home .hv-audio-toggle {
  background: #3545e8;
  color: #fff;
  border: 0;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  padding: 12px;
  display: grid;
  place-items: center;
  --hv-fill-color: var(--hx-ink);
  --hv-fill-ink: var(--hx-bg);
}
.hv-audio-toggle svg { width: 23px; height: 23px; }
.hv-audio-timeline {
  position: relative;
  height: 45px;
}
.hv-wave {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(2px, .31vw, 6px);
  overflow: hidden;
  color: var(--hv-text-muted);
}
.hv-wave i {
  flex: 1 1 0;
  height: var(--amp);
  border-radius: 8px;
  background: currentColor;
}
.hv-wave i[data-passed] { color: var(--hx-accent); }
.hv-wave::after {
  content: '';
  position: absolute;
  inset: 0 auto 0 var(--hv-playing-progress,0%);
  border-left: 2px solid var(--hx-accent);
}
.hv-audio-timeline input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
}
.hv-audio-timeline:focus-within { outline: 2px solid var(--hx-accent); outline-offset: 4px; }
.hv-audio-controls time,
.hv-transcript time { font: 400 .77rem/1 var(--platform-mono); color: var(--hv-text-muted); }
.hv-audio audio { display: none; }
.hv-audio-error a { color: var(--hx-accent); text-decoration: underline; }
.hv-transcript { display: grid; margin-top: clamp(13px, 1.5vw, 19px); }
html #platform-home .hv-transcript button {
  min-height: 38px;
  display: grid;
  grid-template-columns: 41px minmax(0,1fr);
  gap: 10px;
  align-items: baseline;
  padding: 9px 4px;
  border: 0;
  border-top: 1px solid var(--hv-line);
  color: var(--hx-ink);
  background: transparent;
  text-align: left;
  font: 400 clamp(.82rem, 1.08vw, 1.05rem)/1.35 var(--platform-font);
}
html #platform-home .hv-transcript button[data-current] { color: var(--hx-accent); }
html #platform-home .hv-transcript button.hv-is-filled :is(time,span) { color: #fff; }
html #platform-home .hv-integration .hd-question-options button {
  border-radius: 30px;
  border: 1px solid var(--hv-line);
}
html #platform-home .hv-integration .hd-question-options button[aria-pressed="true"] {
  border-color: var(--hx-accent);
  background: color-mix(in srgb, var(--hx-accent) 11%, var(--hv-pane));
  color: var(--hx-ink);
}
html #platform-home .hv-integration .hd-question-options button.hv-is-filled { color: #fff; }

/* Assistant symbols and the action share the editorial list baseline. */
html #platform-home .hv-study-list li > a.hv-study-action {
  overflow: visible;
  align-items: center;
  border-radius: 8px;
}
html #platform-home .hv-study-list li > a .hv-button-fill { opacity: .10; }
html #platform-home .hv-study-list li > a.hv-is-filled { color: var(--hx-ink); }
html #platform-home .hv-study-list li > a > .hv-study-symbol {
  width: 34px;
  height: 34px;
  margin: 0;
  color: var(--hx-accent);
  transition: transform .33s var(--hx-ease);
}
#platform-home .hv-study-list li > a:where(:hover,:focus-visible) > .hv-study-symbol { transform: translateY(-3px) rotate(-9deg); }
#platform-home .hv-study-act {
  justify-self: end;
  font: 440 .78rem/1 var(--platform-font);
  color: var(--hx-ink);
  white-space: nowrap;
  padding: .75em .95em;
  border-radius: 100px;
  border: 1px solid var(--hx-line);
}
.hv-study-act::before {
  content: '';
  display: inline-block;
  vertical-align: 2px;
  width: 5px;
  height: 5px;
  border-radius: 100%;
  background: var(--hx-accent);
  margin-inline-end: .45em;
}

@media (max-width: 800px) {
  html #platform-home .hd-tool-gallery { --hv-stage-min: 625px; }
  html #platform-home .hd-tool-group { grid-template-columns: minmax(0,1fr); align-content: start; gap: 14px; }
  html #platform-home .hd-gallery-heading { scroll-margin-top: 88px; }
  #platform-home .hv-study-list > li > a { align-items: start; }
  #platform-home .hv-study-act { grid-column: 3; grid-row: 1; }
  #platform-home .hv-motion-example video { max-height: 345px; }
}
@media (max-width: 420px) {
  html #platform-home .hd-tool-gallery { --hv-stage-min: 695px; }
  html #platform-home .hd-tool-gallery :is(.hd-category-tabs,.hd-tool-tabs) button { padding-inline: 12px; }
  .hv-motion-caption { padding: .9rem; }
}
@media (prefers-reduced-motion: reduce) {
  html #platform-home .hd-tool-panel { animation: none; }
  #platform-home .hv-study-list li > a > .hv-study-symbol { transition: none; transform: none; }
}
html[data-motion="off"] #platform-home .hd-tool-panel { animation: none; }
.hv-question-mark {
  flex: 0 0 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  opacity: .48;
}
#platform-home .hv-integration .hd-question-options button[aria-pressed="true"] .hv-question-mark { color: var(--hx-accent); opacity: 1; }
html #platform-home .hv-integration .hd-question-options button[aria-pressed="true"] { color: #fff; }

/* Pricing uses the existing plans as the faces of a single animated deck. */
html #platform-home .hv-price-deck {
  position: relative;
  color: #edefff;
  border-radius: clamp(18px, 3vw, 40px);
  padding: clamp(16px, 2.45vw, 36px);
  margin: clamp(32px, 5vw, 70px) auto;
  background: #101638;
  border: 1px solid #283369;
}
html #platform-home .hv-price-deck[data-deck-motion] {
  min-height: calc(405px + 55vh);
  padding-block: 0;
  background: radial-gradient(ellipse at 50% 34%,#222d80 0%,#151c49 46%,#101638 86%);
}
html #platform-home .hv-price-deck[data-deck-motion] .hv-price-sticky {
  position: sticky;
  top: clamp(94px, 17vh, 185px);
  padding: clamp(20px, 4vh, 46px) 0;
}
html #platform-home .hv-price-deck .hx-price__grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5,minmax(0,1fr));
  gap: clamp(7px, 1.1vw, 16px);
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  overflow: visible;
}
.hv-plan-slot {
  position: relative;
  perspective: 880px;
  min-width: 0;
}
.hv-plan-turn {
  transform-style: preserve-3d;
  height: 100%;
}
html #platform-home .hv-price-deck[data-deck-motion] .hv-plan-turn:not([data-settled]) > .hx-price__card {
  pointer-events: none;
}
html #platform-home .hv-price-deck .hx-price__card {
  opacity: 1;
  transform: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  box-sizing: border-box;
  min-height: 100%;
  min-width: 0;
  padding: clamp(12px, 1.35vw, 23px);
  border-radius: 17px;
  border: 1px solid #dfe3f7;
  background: #f0f2fc;
  color: #101628;
  box-shadow: none;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
html #platform-home .hv-price-deck .hx-price__card--featured {
  background: #d7ddff;
  color: #101635;
  border-color: #b4c0ff;
}
html #platform-home .hv-price-deck .hx-price__card-top {
  display: block;
  min-height: 3.35em;
}
html #platform-home .hv-price-deck .hx-price__card h3 {
  font: 520 clamp(19px, 2.05vw, 34px)/1 var(--platform-font);
  color: inherit;
  letter-spacing: -.05em;
  white-space: nowrap;
}
html #platform-home .hv-price-deck .hx-price__badge {
  position: static;
  display: inline-block;
  margin-top: .5rem;
  padding: .27em .58em;
  border: 0;
  background: #2738bf;
  color: white;
  font-size: .59rem;
}
html #platform-home .hv-price-deck :is(.hx-price__label,.hx-price__budget > span,.hx-price__amount > span) {
  color: #4b536b;
  letter-spacing: normal;
  font-size: clamp(.74rem, .9vw, .88rem);
}
html #platform-home .hv-price-deck .hx-price__label {
  margin: .2rem 0 1.25rem;
  min-height: 2.5em;
}
html #platform-home .hv-price-deck :is(.hx-price__amount,.hx-price__budget) {
  margin-block: 0;
  border-top: 1px solid #aeb8db;
  padding-block: .7rem;
}
html #platform-home .hv-price-deck .hx-price__budget strong {
  font-size: clamp(21px, 2.15vw, 34px);
}
html #platform-home .hv-price-deck .hx-price__amount strong {
  font-size: clamp(24px, 2.55vw, 42px);
}
html #platform-home .hv-price-deck .hx-price__cta[href] {
  --hv-fill-color: #3545e8;
  --ri-ink: #fff;
  --ri-fill: #3545e8;
  margin-top: auto;
  width: 100%;
  justify-content: center;
  background: #151d3d;
  color: #fff;
  border: 0;
  border-radius: 100px;
  min-height: 39px;
  white-space: nowrap;
}
html #platform-home .hv-price-deck .hx-price__cta[href] > i {
  display: none;
}
.hv-plan-back {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-rows: auto 1fr auto;
  place-items: center;
  border-radius: 17px;
  border: 1px solid #8499ff;
  padding: 14px;
  color: #e5e9ff;
  background: #1b2a7b;
  overflow: clip;
  transform: rotateY(180deg);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  pointer-events: none;
}
.hv-plan-back::before,
.hv-plan-back::after,
.hv-plan-back > i {
  content: '';
  position: absolute;
  width: 135%;
  aspect-ratio: 1;
  border: 1px solid #96a9ff80;
  border-radius: 50%;
  transform: rotate(-37deg) scaleY(.47);
}
.hv-plan-back::before { width: 165%; border-color: #677dfb8d; box-shadow: 0 9px 0 -7px #98aaff; }
.hv-plan-back::after { transform: rotate(65deg) scaleY(.51); }
.hv-plan-back > i { transform: rotate(-37deg) scaleY(.64); }
.hv-plan-back b {
  font: 450 clamp(44px,6.6vw,112px)/1 var(--platform-font);
  letter-spacing: -.105em;
  transform: skewX(-11deg);
  isolation: isolate;
}
.hv-plan-back > span {
  font: 400 .57rem/1 var(--platform-mono);
  letter-spacing: .24em;
}
html #platform-home .hv-price-deck:not([data-deck-motion]) .hv-plan-back { display: none; }
@media (max-width: 1149px) {
  html #platform-home .hv-price-deck .hx-price__grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
}
@media (max-width: 650px) {
  html #platform-home .hv-price-deck .hx-price__grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  html #platform-home .hv-price-deck .hx-price__card { padding: .92rem; }
}
@media (max-width: 370px) {
  html #platform-home .hv-price-deck .hx-price__grid { grid-template-columns: minmax(0,1fr); }
}

#platform-home .hv-water-wake {
  position: fixed;
  inset: 0 auto auto 0;
  z-index: 76;
  pointer-events: none;
}
#platform-home .hv-water-wake[hidden] { display: none; }
#platform-home .hv-water-backdrop,
#platform-home .hv-water-filters {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
#platform-home .hv-water-backdrop {
  -webkit-mask-image: url("#hv-water-feather");
  mask-image: url("#hv-water-feather");
}
#platform-home .hv-water-backdrop > canvas {
  position: absolute;
  inset: 0 auto auto 0;
  max-width: none;
}
#platform-home .hv-water-backdrop > canvas[hidden] { display: none; }
@supports (backdrop-filter: url("#hv-water-displacement")) {
  #platform-home .hv-water-refracts .hv-water-backdrop {
    backdrop-filter: url("#hv-water-displacement");
  }
}
#platform-home .hv-water-feather {
  stroke: none;
  filter: blur(7px);
}
#platform-home .hv-water-light {
  position: absolute;
  inset: 0 auto auto 0;
  max-width: none;
  pointer-events: none;
}

html #platform-home .hx-header__actions > .hx-language[data-language] {
  --hv-hover-ink: #15192a;
  --hv-hover-fill: #2534ef;
  color: #15192a !important;
  background: #e4e6f0;
  font-weight: 580;
}
html #platform-home .hx-header__actions > .hx-language:not(.hv-corner-control):hover {
  background: #2534ef;
  color: #fff !important;
}

/* Keep foreground colour fixed across the advancing edge. */
html #platform-home .hv-corner-control {
  --hv-hover-ink: #171d32;
  --hv-hover-fill: #2534ef;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--hv-hover-ink) !important;
  transition-property: transform, box-shadow, border-color, background-color;
}
html[data-theme="dark"] #platform-home .hv-corner-control {
  --hv-hover-ink: #f7f8ff;
  --hv-hover-fill: #2534ef;
}
html #platform-home :is(.hx-link,.hx-account,.hx-price__cta)[href].hv-corner-control {
  --hv-hover-ink: var(--ri-ink);
  --hv-hover-fill: #2534ef;
  background: var(--ri-rest);
}
html #platform-home :is(.hx-account,.hx-price__cta)[href].hv-corner-control {
  --hv-hover-fill: #2534ef;
}
html #platform-home .hv-price-deck .hx-price__cta[href].hv-corner-control {
  --hv-hover-ink: #fff;
  --ri-rest: #151d3d;
}
html #platform-home .hx-header__actions :is(.hx-icon,.hx-menu-toggle).hv-corner-control {
  --hv-hover-ink: #131729;
  --hv-hover-fill: #2534ef;
}
html #platform-home .hv-audio-toggle.hv-corner-control {
  --hv-hover-ink: #fff;
  --hv-hover-fill: #202b8c;
}
html #platform-home :is(.hd-category-tabs,.hd-tool-tabs,.hd-surface-options) button.hv-corner-control:is([aria-selected="true"],[aria-pressed="true"]) {
  --hv-hover-ink: var(--hx-bg);
  --hv-hover-fill: #2534ef;
}
html[data-theme="dark"] #platform-home :is(.hd-category-tabs,.hd-tool-tabs,.hd-surface-options) button.hv-corner-control:is([aria-selected="true"],[aria-pressed="true"]) {
  --hv-hover-fill: #2534ef;
}
html #platform-home .hv-integration .hd-question-options button.hv-corner-control[aria-pressed="true"] {
  --hv-hover-ink: #fff;
  --hv-hover-fill: #2534ef;
}
html #platform-home a.hv-corner-control > .hx-link-label { color: inherit; }
html #platform-home .hv-corner-control > .hv-button-fill {
  --hv-edge: 0%;
  display: block;
  position: absolute;
  inset: 0;
  width: auto;
  height: auto;
  border-radius: inherit;
  z-index: -1;
  pointer-events: none;
  background: var(--hv-hover-fill);
  clip-path: polygon(0 0, var(--hv-edge) 0, 0 var(--hv-edge));
  transform: none !important;
  transition: clip-path 400ms cubic-bezier(.34,.03,.20,1);
}
html #platform-home .hv-corner-control > .hv-button-fill[data-filled] { --hv-edge: 202%; }
html #platform-home .hv-button-fill[data-corner="top-right"] { scale: -1 1; }
html #platform-home .hv-button-fill[data-corner="bottom-left"] { scale: 1 -1; }
html #platform-home .hv-button-fill[data-corner="bottom-right"] { scale: -1 -1; }

/* The same stroke flattens on mute and drifts left when sound is playing. */
html #platform-home[data-hv-smooth-sound] .hx-sound .hx-sound-line {
  opacity: 1;
  animation: none;
  transform: none;
}
html #platform-home[data-hv-smooth-sound] .hx-sound .hx-sound-wave { display: none; }
html #platform-home .hx-motion .hv-motion-glyph > path {
  transform-origin: 12px 12px;
  transition: opacity 210ms ease, transform 310ms cubic-bezier(.21,.76,.19,1);
}
html #platform-home .hx-motion .hv-motion-play,
html #platform-home .hx-motion[aria-pressed="true"] .hv-motion-pause {
  opacity: 0;
  transform: scale(.64) rotate(-13deg);
}
html #platform-home .hx-motion[aria-pressed="true"] .hv-motion-play {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  #platform-home .hv-water-wake { display: none; }
  html #platform-home .hv-corner-control > .hv-button-fill,
  html #platform-home .hx-motion .hv-motion-glyph > path { transition: none; }
}

html #platform-home .hv-price-deck[data-deck-motion] {
  min-height: calc(410px + 86vh);
}
html #platform-home .hv-price-deck[data-deck-motion] .hv-price-sticky {
  top: clamp(88px, 15vh, 156px);
}
html #platform-home .hv-price-deck .hv-plan-slot { perspective: none; }
html #platform-home .hv-price-deck .hv-plan-turn {
  position: relative;
  transform-style: flat;
}
html #platform-home .hv-price-deck[data-deck-motion] .hv-plan-turn[data-face] > .hx-price__card {
  transform: perspective(1050px) rotateY(var(--hv-card-angle, 0deg));
  backface-visibility: visible;
  -webkit-backface-visibility: visible;
}
html #platform-home .hv-price-deck[data-deck-motion] .hv-plan-turn[data-face] > .hv-plan-back {
  transform: perspective(1050px) rotateY(calc(var(--hv-card-angle, 0deg) - 180deg));
  backface-visibility: visible;
  -webkit-backface-visibility: visible;
}
html #platform-home .hv-price-deck :is(.hv-plan-turn:not([data-face="back"]),[data-deck-open="true"] .hv-plan-turn) > .hv-plan-back {
  opacity: 0;
}
html #platform-home .hv-price-deck[data-deck-motion] .hv-plan-turn[data-face="back"] > .hx-price__card {
  opacity: 0;
}
html #platform-home .hv-price-deck .hv-plan-turn[data-settled][data-face="front"] > .hx-price__card {
  transform: none;
}
html #platform-home .hv-price-deck :is(.hx-price__budget,.hx-price__amount) strong > span {
  color: #53607e;
}

/* The blue diagonal overlay owns both its fill and its white foreground. */
html #platform-home .hps-link[href="/app/?view=chat"] {
  --chat-cta-inset: var(--ri-padding-inline, 20px);
  align-items: center;
  padding-inline: var(--chat-cta-inset) calc(var(--chat-cta-inset) + 1.5em) !important;
  background: var(--ri-rest);
  color: var(--ri-ink);
}
html #platform-home .hps-link[href="/app/?view=chat"] > .hx-dot {
  display: none;
}
html #platform-home .hps-link[href="/app/?view=chat"] .hx-link-label {
  display: block;
  height: auto;
  font: inherit;
  color: inherit;
  transform: none !important;
}
html #platform-home .hps-link[href="/app/?view=chat"] .hx-link-label > span:first-child {
  display: block;
  position: static;
  margin: 0;
  padding: 0;
  height: auto;
  font: inherit;
  transform: none !important;
}
html #platform-home .hps-link[href="/app/?view=chat"]::after,
html #platform-home .hv-chat-cta-copy::after {
  content: '';
  position: absolute;
  inset: 50% var(--chat-cta-inset) auto auto;
  width: .96em;
  height: .96em;
  background: currentColor;
  clip-path: polygon(19% 0, 100% 0, 100% 81%, 84% 81%, 84% 27%, 12% 100%, 0 88%, 73% 16%, 19% 16%);
  opacity: 1;
  transform: translateY(-50%) !important;
  transition: none;
}
html #platform-home .hps-link[href="/app/?view=chat"].hv-corner-control {
  --hv-hover-fill: #2534ef;
}
html #platform-home .hps-link[href="/app/?view=chat"] > .hv-button-fill {
  z-index: 2;
}
html #platform-home .hps-link[href="/app/?view=chat"] .hv-chat-cta-copy {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  padding-inline: var(--chat-cta-inset) calc(var(--chat-cta-inset) + 1.5em);
  color: #fff;
  scale: var(--chat-cta-flip-x, 1) var(--chat-cta-flip-y, 1);
}
html #platform-home .hv-button-fill[data-corner="top-right"] { --chat-cta-flip-x: -1; }
html #platform-home .hv-button-fill[data-corner="bottom-left"] { --chat-cta-flip-y: -1; }
html #platform-home .hv-button-fill[data-corner="bottom-right"] { --chat-cta-flip-x: -1; --chat-cta-flip-y: -1; }
html #platform-home .hps-link[href="/app/?view=chat"]:is(:focus-visible,:hover:not(.hv-corner-control)) {
  background: #2534ef;
  color: #fff !important;
}

html #platform-home .hx-scene__fallback::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url('./henvori-sculpture-wide-af1160a2155d98.webp') center / cover no-repeat;
}
@media (max-width: 700px), (max-aspect-ratio: 4/5) {
  html #platform-home .hx-scene__fallback::after { background-image: url('./henvori-sculpture-narrow-a68a1943abe04d.webp'); }
}

/* Centre the resting label; reserve the arrow's space inside the same pill. */
html #platform-home .hps-link[href="/app/?view=chat"],
html #platform-home .hps-link[href="/app/?view=chat"] .hv-chat-cta-copy {
  justify-content: center;
  padding-inline: calc(var(--chat-cta-inset) + .75em) !important;
}
html #platform-home .hps-link[href="/app/?view=chat"] .hx-link-label {
  transition: translate 230ms cubic-bezier(.2,.7,.2,1);
}
html #platform-home .hps-link[href="/app/?view=chat"]::after,
html #platform-home .hv-chat-cta-copy::after {
  opacity: 0;
  translate: -.19em .19em;
  transition: opacity 140ms ease, translate 230ms cubic-bezier(.2,.7,.2,1);
}
html #platform-home .hps-link[href="/app/?view=chat"]:focus-visible::after,
html #platform-home .hps-link[href="/app/?view=chat"]:focus-visible .hv-chat-cta-copy::after {
  opacity: 1;
  translate: 0 0;
}
html #platform-home .hps-link[href="/app/?view=chat"]:focus-visible .hx-link-label { translate: -.55em 0; }
@media (hover: hover) {
  html #platform-home .hps-link[href="/app/?view=chat"]:hover::after,
  html #platform-home .hps-link[href="/app/?view=chat"]:hover .hv-chat-cta-copy::after {
    opacity: 1;
    translate: 0 0;
  }
  html #platform-home .hps-link[href="/app/?view=chat"]:hover .hx-link-label { translate: -.55em 0; }
}
html #platform-home .hv-water-light,
html #platform-home .hv-water-backdrop > canvas { image-rendering: auto; }
@supports (-webkit-backdrop-filter: blur(1px)) {
  html #platform-home .hv-water-backdrop:has(> canvas[hidden]):not(.hv-water-refracts *) {
    -webkit-backdrop-filter: blur(.85px) saturate(1.09);
  }
}
html #platform-home .hv-corner-control:not(.hx-link):has(> .hv-button-fill[data-filled]) {
  color: #fff !important;
}
html #platform-home .hv-action-copy {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: inherit;
  color: #fff;
  scale: var(--chat-cta-flip-x,1) var(--chat-cta-flip-y,1);
}
html #platform-home .hx-link:has(.hv-action-copy) > .hv-button-fill { z-index: 3; }
html #platform-home .hv-action-copy .hx-dot { background: currentColor; }
@media (prefers-reduced-motion: reduce) {
  html #platform-home .hps-link[href="/app/?view=chat"]::after,
  html #platform-home .hps-link[href="/app/?view=chat"] .hx-link-label,
  html #platform-home .hv-chat-cta-copy::after { transition: none; }
}
#platform-home .hv-water-media {
  position:absolute; inset:0 auto auto 0; max-width:none; pointer-events:none; image-rendering:auto;
}
#platform-home .hv-water-media[hidden], #platform-home .hv-water-backdrop[hidden] {display:none;}
#platform-home .hv-water-wake .hv-water-feather {
  stroke:white; fill:none; filter:blur(6px);
}
#platform-home .hv-water-light {filter:blur(.65px);}
@supports (-webkit-backdrop-filter:blur(1px)) {
  #platform-home .hv-water-wake:not(.hv-water-refracts) .hv-water-backdrop {
    -webkit-backdrop-filter:blur(1px) saturate(1.09);
    backdrop-filter:blur(1px) saturate(1.09);
  }
}
html #platform-home .hm-reel-section[data-reel-travel] {overflow:visible;}
html #platform-home .hm-reel-section[data-reel-travel] .hm-reel-slot > .hm-reel-screen {
  transform:var(--hv-reel-transform) !important;
  transform-origin:0 0;
  border-radius:clamp(12px,1.8vw,22px);
}
html #platform-home .hm-reel-section[data-reel-travel] .hm-section-line { position:relative;pointer-events:none;opacity:var(--hv-reel-caption,1); }
html #platform-home .hm-reel-section[data-reel-travel] .hm-play > span,
html #platform-home .hm-reel-section[data-reel-travel] .hm-reel-label {opacity:var(--hv-reel-label,1);}
html #platform-home .hm-reel-section[data-reel-travel] .hm-play:focus-visible > span {opacity:1;}
#platform-home .hv-reel-sheet {display:none;}
html #platform-home .hm-reel-section[data-reel-travel] .hm-reel-screen[data-reel-sheet] {
  overflow:visible; contain:none; background:transparent!important; box-shadow:none;
}
html #platform-home [data-reel-sheet] > :is(img,video),html #platform-home [data-reel-sheet]::after {
  visibility:hidden!important;
}
html #platform-home [data-reel-sheet] > .hv-reel-sheet {
  display:block;position:absolute;inset:-12% auto auto -12%;width:124%;height:124%;max-width:none;pointer-events:none;z-index:1;
}
@media(min-width:813px) and (min-height:501px) {
  html #platform-home .hx-manifest__body {align-items:center;}
  html #platform-home .hx-manifest__spacer {aspect-ratio:1.75;}
}
@property --hv-ink-progress {
  syntax:'<percentage>';
  inherits:true;
  initial-value:0%;
}
html #platform-home .hv-corner-control[data-hv-wipe] {
  --hv-direction:to bottom right;
  --hv-ink-progress:0%;
  background-color:transparent !important;
  background-image:linear-gradient(var(--hv-direction),var(--hv-hover-fill) 0% var(--hv-ink-progress),
    var(--hv-rest-color) var(--hv-ink-progress) 100%) !important;
  background-clip:border-box;
  transition:--hv-ink-progress 400ms cubic-bezier(.34,.03,.20,1),box-shadow .22s,transform .22s,border-color .22s;
}
html #platform-home .hv-corner-control[data-hv-wipe="top-right"] {--hv-direction:to bottom left;}
html #platform-home .hv-corner-control[data-hv-wipe="bottom-left"] {--hv-direction:to top right;}
html #platform-home .hv-corner-control[data-hv-wipe="bottom-right"] {--hv-direction:to top left;}
html #platform-home .hv-corner-control[data-hv-wipe]:has(> .hv-button-fill[data-filled]) {
  --hv-ink-progress:100%;
}
html #platform-home .hv-corner-control[data-hv-wipe] > .hv-button-fill {
  background:transparent!important;
  border-radius:0;
}
@media (prefers-reduced-motion:reduce) {
  html #platform-home .hv-corner-control[data-hv-wipe] {transition:none;}
}

html #platform-home .hx-header .hv-corner-control[data-hv-wipe]:has(> .hv-glyph-ink) {
  color:var(--hv-hover-ink)!important;
}
html #platform-home .hx-header .hv-corner-control[data-hv-wipe] > .hv-glyph-ink {
  display:grid;
  place-items:center;
  z-index:2;
  color:#fff;
  clip-path:none;
  transition:none;
  scale:none;
  mask-image:linear-gradient(var(--hv-direction),#000 0% var(--hv-ink-progress),transparent var(--hv-ink-progress) 100%);
}
html #platform-home .hv-glyph-ink[data-glyph]::before {content:attr(data-glyph);font:inherit;}
html #platform-home .hx-header button[data-theme-toggle] {transform:none;}
html #platform-home .hx-header [data-platform-theme-icon] > :is(circle,path) {
  transform-origin:center;
  transform-box:view-box;
  transition:transform .22s ease;
}
@media (hover:hover) and (prefers-reduced-motion:no-preference) {
  html #platform-home .hx-header [data-theme-toggle]:hover [data-platform-theme-icon] > :is(circle,path) {transform:rotate(-12deg);}
}
/* The diagonal has already returned to its resting colour when its layer is removed. */
html #platform-home .hv-corner-control:not([data-hv-wipe]) {
  transition-property:transform,box-shadow,border-color;
}

@font-face {
  font-family: Henvori Manrope;
  src: url('./henvori-manrope-cb050be3680927.woff2') format('woff2');
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}
html #platform-home {
  --platform-font: 'Henvori Manrope', Onest, Arial, sans-serif;
  font-family: var(--platform-font);
}
html #platform-home :is(button,input,textarea,select) { font-family: inherit; }
html #platform-home :is(.hx-section-title,.hx-manifest__copy,.haf-title) { letter-spacing: -.042em; }

/* One label fills the same rectangle as its pill. Both colour boundaries use the
   very same gradient geometry, including when a pointer reverses mid-wipe. */
html #platform-home a.hx-link[href]:has(> .hx-link-label) {
  display: inline-grid;
  place-items: stretch;
  padding: 0 !important;
  gap: 0 !important;
  background: var(--ri-rest);
}
html #platform-home a.hx-link[href] > .hx-dot { display: none; }
html #platform-home a.hx-link[href] > .hx-link-label {
  display: grid;
  place-items: center;
  align-self: stretch;
  padding: .67em 2.35em;
  min-height: inherit;
  box-sizing: border-box;
  line-height: 1.35;
  color: var(--ri-ink);
  translate: none !important;
  transform: none !important;
}
html #platform-home a.hx-link[href] > .hx-link-label > span:first-child {
  display: contents;
  color: inherit;
}
html #platform-home a.hx-link[href] > .hx-link-label > span[aria-hidden] {display: none;}
html #platform-home a.hx-link[href][data-hv-wipe] {
  --hv-hover-fill: #2534ef;
  --hv-rest-color: var(--ri-rest) !important;
}
html #platform-home a.hx-link[href][data-hv-wipe] > .hx-link-label {
  background-image: linear-gradient(var(--hv-direction), white 0% var(--hv-ink-progress), var(--ri-ink) var(--hv-ink-progress) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
html #platform-home a.hx-link[href]::after {
  content: '';
  position: absolute;
  width: .72em;
  height: .72em;
  inset: 50% .87em auto auto;
  background: white;
  clip-path: polygon(18% 0,100% 0,100% 82%,84% 82%,84% 28%,13% 100%,0 87%,72% 15%,18% 15%);
  transform: translateY(-50%) !important;
  translate: 0;
  opacity: 0;
  pointer-events: none;
  transition: none;
}
html #platform-home a.hx-link[href][data-hv-wipe]::after {
  opacity: clamp(0,calc((var(--hv-ink-progress) - 78%) * 5),100%) !important;
}
html #platform-home a.hx-link[href]:focus-visible,
html #platform-home a.hx-link[href]:hover:not(.hv-corner-control) { background: #2534ef; }
html #platform-home a.hx-link[href]:focus-visible > .hx-link-label,
html #platform-home a.hx-link[href]:hover:not(.hv-corner-control) > .hx-link-label {color: white;}
html #platform-home a.hx-link[href]:focus-visible::after {opacity:1;}

/* Selection and hover are independent. The button owns the ink throughout;
   both diagonal surfaces sit between the opaque base and its text. */
html #platform-home .hd-tool-gallery :is(.hd-category-tabs,.hd-tool-tabs,.hd-surface-options,.hd-question-options) button:is([role="tab"],[aria-pressed]) {
  --tab-base: #2a2e3b;
  --tab-line: #53596c;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  background: var(--tab-base);
  border-color: var(--tab-line);
  transform: none;
  transition: border-color 280ms ease;
}
html[data-theme="light"] #platform-home .hd-tool-gallery :is(.hd-category-tabs,.hd-tool-tabs,.hd-surface-options,.hd-question-options) button:is([role="tab"],[aria-pressed]) {
  --tab-base: #35394b;
  --tab-line: #53596e;
}
html #platform-home .hd-tool-gallery :is(.hd-category-tabs,.hd-tool-tabs,.hd-surface-options,.hd-question-options) button:is([role="tab"],[aria-pressed])::before,
html #platform-home .hd-tool-gallery :is(.hd-category-tabs,.hd-tool-tabs,.hd-surface-options,.hd-question-options) button:is([role="tab"],[aria-pressed])::after {
  content: '';
  position: absolute;
  inset: -1px;
  pointer-events: none;
  z-index: -1;
  background: #2534ef;
  clip-path: polygon(0 0,0% 0,0 0%);
  scale: var(--tab-x,1) var(--tab-y,1);
  transition: clip-path 470ms cubic-bezier(.36,.06,.18,1);
}
html #platform-home .hd-tool-gallery :is(.hd-category-tabs,.hd-tool-tabs,.hd-surface-options,.hd-question-options) button:is([role="tab"],[aria-pressed])::after {
  background: rgb(131 153 255 / 27%);
  transition-duration: 380ms;
}
html #platform-home .hd-tool-gallery button[data-tab-corner$="right"] {--tab-x:-1;}
html #platform-home .hd-tool-gallery button[data-tab-corner^="bottom"] {--tab-y:-1;}
html #platform-home .hd-tool-gallery :is(.hd-category-tabs,.hd-tool-tabs,.hd-surface-options,.hd-question-options) button:is([role="tab"],[aria-pressed]):is([aria-selected="true"],[aria-pressed="true"])::before,
html #platform-home .hd-tool-gallery :is(.hd-category-tabs,.hd-tool-tabs,.hd-surface-options,.hd-question-options) button:is([role="tab"],[aria-pressed]):focus-visible::after {
  clip-path: polygon(0 0,200% 0,0 200%);
}
@media (hover:hover) {
  html #platform-home .hd-tool-gallery :is(.hd-category-tabs,.hd-tool-tabs,.hd-surface-options,.hd-question-options) button:is([role="tab"],[aria-pressed]):hover::after {
    clip-path: polygon(0 0,200% 0,0 200%);
  }
}
html #platform-home .hd-tool-gallery :is(.hd-category-tabs,.hd-tool-tabs,.hd-surface-options,.hd-question-options) button:is([role="tab"],[aria-pressed]):is([aria-selected="true"],[aria-pressed="true"]) {
  color: white;
  background: var(--tab-base);
  border-color: #6975ff;
}
html #platform-home .hd-tool-gallery button:is([role="tab"],[aria-pressed]):focus-visible {outline: 2px solid #8794ff; outline-offset: 3px;}
@media (prefers-reduced-motion: reduce) {
  html #platform-home .hd-tool-gallery button:is([role="tab"],[aria-pressed])::before,
  html #platform-home .hd-tool-gallery button:is([role="tab"],[aria-pressed])::after { transition-duration:0s !important; }
}
html[data-motion="off"] #platform-home .hd-tool-gallery button:is([role="tab"],[aria-pressed])::before,
html[data-motion="off"] #platform-home .hd-tool-gallery button:is([role="tab"],[aria-pressed])::after { transition-duration:0s !important; }
@media (forced-colors:active) {
  html #platform-home .hd-tool-gallery button:is([role="tab"],[aria-pressed]):is([aria-selected="true"],[aria-pressed="true"]) {outline:2px solid Highlight;outline-offset:-3px;}
}

html #platform-home .hd-tool-gallery .hd-question-options button[aria-pressed] .hv-question-mark { color:inherit; }
