@import url("/assets/styles/code-theme.css?v=1.0.0");
/* How ModelRiver works: Sync, Async and Backend pipeline guides.
   Stone palette, borders instead of shadows; black fills are for buttons only. */

.hw {
  --hw-text: #1c1917;
  --hw-muted: #57534e;
  --hw-subtle: #78716c;
  --hw-faint: #a8a29e;
  --hw-border: #e7e5e4;
  --hw-border-strong: #d6d3d1;
  --hw-surface: #f5f5f4;
  --hw-card: #ffffff;
  --hw-soft: #e7e5e4;
  color: var(--hw-text);
}

.landing-dark .hw {
  --hw-text: #f5f4f2;
  --hw-muted: #c9c5c0;
  --hw-subtle: #9c9791;
  --hw-faint: #78716c;
  --hw-border: rgba(231, 229, 228, 0.11);
  --hw-border-strong: rgba(231, 229, 228, 0.2);
  --hw-surface: #1f1d1b;
  --hw-card: #282522;
  --hw-soft: #44403c;
}

.hw-wrap {
  width: 100%;
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.hw-section {
  padding: 3.5rem 0;
  border-top: 1px solid var(--hw-border);
}

@media (min-width: 768px) {
  .hw-section {
    padding: 4.5rem 0;
  }
}

/* Hero */
.hw-hero {
  padding: 8rem 0 3rem;
}

.hw-eyebrow {
  display: inline-block;
  margin-bottom: 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--hw-subtle);
}

.hw-eyebrow a {
  color: inherit;
  text-decoration: none;
}

.hw-eyebrow a:hover {
  color: var(--hw-text);
}

.hw-h1 {
  max-width: 44rem;
  margin: 0;
  font-size: 2.25rem;
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--hw-text);
}

@media (min-width: 768px) {
  .hw-h1 {
    font-size: 3rem;
  }
}

.hw-lede {
  max-width: 40rem;
  margin: 1.25rem 0 0;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--hw-muted);
}

.hw-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.hw-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  height: 2.5rem;
  padding: 0 1.125rem;
  border: 1px solid var(--hw-text);
  border-radius: 0.5rem;
  background: var(--hw-text);
  font-size: 0.9375rem;
  font-weight: 500;
  color: #ffffff;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.landing-dark .hw-btn {
  color: #1c1917;
}

.hw-btn:hover {
  opacity: 0.86;
}

.hw-btn.is-secondary {
  border-color: var(--hw-border-strong);
  background: transparent;
  color: var(--hw-text);
}

.hw-btn.is-secondary:hover {
  background: var(--hw-surface);
  opacity: 1;
}

/* Section headings */
.hw-h2 {
  margin: 0 0 0.75rem;
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--hw-text);
}

@media (min-width: 768px) {
  .hw-h2 {
    font-size: 1.875rem;
  }
}

.hw-sub {
  max-width: 40rem;
  margin: 0 0 2rem;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--hw-muted);
}

/* Pattern switcher: the four ways to run a request */
.hw-patterns {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .hw-patterns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.hw-pattern {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.25rem;
  border: 1px solid var(--hw-border);
  border-radius: 0.75rem;
  background: var(--hw-surface);
  color: inherit;
  text-decoration: none;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

a.hw-pattern:hover {
  border-color: var(--hw-border-strong);
}

.hw-pattern.is-current {
  border-color: var(--hw-text);
  background: var(--hw-card);
}

.hw-pattern-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.hw-pattern-name {
  margin: 0;
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--hw-text);
}

.hw-tag {
  padding: 0.125rem 0.5rem;
  border: 1px solid var(--hw-border-strong);
  border-radius: 9999px;
  background: var(--hw-card);
  font-size: 0.6875rem;
  font-weight: 500;
  white-space: nowrap;
  color: var(--hw-muted);
}

.hw-pattern-desc {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--hw-muted);
}

.hw-pattern-endpoint {
  margin-top: auto;
  padding-top: 0.5rem;
  font-family: ui-monospace, monospace;
  font-size: 0.75rem;
  color: var(--hw-subtle);
}

.hw-pattern-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--hw-text);
}

/* Step-by-step flow: who acts at each step */
.hw-flow-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
}

@media (min-width: 1024px) {
  .hw-flow-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 3rem;
  }
}

.hw-actors {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem 0.5rem;
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
}

.hw-steps {
  position: relative;
  display: grid;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hw-steps::before {
  content: '';
  position: absolute;
  top: 0.75rem;
  bottom: 0.75rem;
  left: 0.875rem;
  width: 1px;
  background: var(--hw-border-strong);
}

.hw-step {
  position: relative;
  display: grid;
  grid-template-columns: 1.75rem minmax(0, 1fr);
  column-gap: 1rem;
}

.hw-step-num {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border: 1px solid var(--hw-border-strong);
  border-radius: 9999px;
  background: var(--hw-soft);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--hw-text);
}

.hw-step-body {
  min-width: 0;
  padding-top: 0.125rem;
}

.hw-step-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.hw-step-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--hw-text);
}

.hw-actor {
  display: inline-flex;
  align-items: center;
  padding: 0.0625rem 0.5rem;
  border: 1px solid var(--hw-border-strong);
  border-radius: 0.375rem;
  background: var(--hw-card);
  font-size: 0.75rem;
  font-weight: 500;
  white-space: nowrap;
  color: var(--hw-muted);
}

/* Your side of the flow (backend, webhook, browser) reads as "yours" */
.hw-actor.is-you {
  border-color: var(--hw-border-strong);
  background: var(--hw-soft);
  color: var(--hw-text);
}

.hw-step-text {
  margin: 0.375rem 0 0;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--hw-muted);
}

.hw-step-text code,
.hw-list code,
.hw-fact code,
.hw-table code,
.hw-note code {
  padding: 0.0625rem 0.3125rem;
  border-radius: 0.25rem;
  background: var(--hw-surface);
  font-family: ui-monospace, monospace;
  font-size: 0.85em;
  color: var(--hw-text);
}

.hw-step-payload {
  display: inline-block;
  max-width: 100%;
  margin-top: 0.5rem;
  padding: 0.25rem 0.5rem;
  overflow-x: auto;
  border: 1px solid var(--hw-border);
  border-radius: 0.375rem;
  background: var(--hw-surface);
  font-family: ui-monospace, monospace;
  font-size: 0.75rem;
  white-space: nowrap;
  color: var(--hw-text);
}

.hw-step.is-branch .hw-step-num {
  border-style: dashed;
  background: var(--hw-card);
}

/* Code card (same inks as the landing page) */
.hw-code {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--hw-border);
  border-radius: 0.75rem;
  background: #fafaf9;
}

.landing-dark .hw-code {
  background: #1a1816;
}

.hw-code-head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 0.875rem;
  border-bottom: 1px solid var(--hw-border);
  background: var(--hw-surface);
  font-family: ui-monospace, monospace;
  font-size: 0.75rem;
  color: var(--hw-subtle);
}

.hw-code + .hw-code {
  margin-top: 1rem;
}

.hw-code pre {
  margin: 0;
  padding: 1rem 1.125rem;
  overflow-x: auto;
  font-family: ui-monospace, monospace;
  font-size: 0.78rem;
  line-height: 1.7;
  color: #292524;
  white-space: pre;
}

.landing-dark .hw-code pre {
  color: #e7e5e4;
}

/* River Ink code colours: variables from code-theme.css (imported at the top) */
.hw-code .k { color: var(--mr-ink-keyword); font-weight: 600; }
.hw-code .p { color: var(--mr-ink-property); }
.hw-code .s { color: var(--mr-ink-string); }
.hw-code .n { color: var(--mr-ink-number); }
.hw-code .f { color: var(--mr-ink-function); }
.hw-code .u { color: var(--mr-ink-url); }
.hw-code .o { color: var(--mr-ink-punctuation); }
.hw-code .c { color: var(--mr-ink-comment); font-style: italic; }

/* Fit: use it when / pick something else when */
.hw-fit {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
}

@media (min-width: 768px) {
  .hw-fit {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.hw-card {
  padding: 1.5rem;
  border: 1px solid var(--hw-border);
  border-radius: 0.75rem;
  background: var(--hw-surface);
}

.hw-card-title {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--hw-text);
}

.hw-list {
  display: grid;
  gap: 0.625rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--hw-muted);
}

.hw-list li {
  position: relative;
  padding-left: 1.125rem;
}

.hw-list li::before {
  content: '';
  position: absolute;
  top: 0.55em;
  left: 0;
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 9999px;
  background: var(--hw-faint);
}

.hw-list a,
.hw-note a,
.hw-fact a {
  color: var(--hw-text);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Facts: what ModelRiver handles for you, with real numbers */
.hw-facts {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
}

@media (min-width: 768px) {
  .hw-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .hw-facts {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.hw-fact {
  padding: 1.25rem;
  border: 1px solid var(--hw-border);
  border-radius: 0.75rem;
  background: var(--hw-surface);
}

.hw-fact-value {
  margin: 0 0 0.25rem;
  font-size: 1.375rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--hw-text);
}

.hw-fact-label {
  margin: 0 0 0.5rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--hw-text);
}

.hw-fact p:last-child {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--hw-muted);
}

/* Comparison table (overview page) */
.hw-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--hw-border);
  border-radius: 0.75rem;
}

.hw-table {
  width: 100%;
  min-width: 40rem;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

.hw-table th,
.hw-table td {
  padding: 0.875rem 1rem;
  border-bottom: 1px solid var(--hw-border);
  text-align: left;
  vertical-align: top;
  line-height: 1.5;
}

.hw-table thead th {
  background: var(--hw-surface);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--hw-text);
}

.hw-table tbody th {
  width: 22%;
  font-weight: 500;
  color: var(--hw-text);
}

.hw-table td {
  color: var(--hw-muted);
}

.hw-table tr:last-child th,
.hw-table tr:last-child td {
  border-bottom: 0;
}

.hw-note {
  max-width: 44rem;
  margin: 1.5rem 0 0;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--hw-muted);
}

/* Next steps */
.hw-next {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 2rem;
  border: 1px solid var(--hw-border);
  border-radius: 0.75rem;
  background: var(--hw-surface);
}

.hw-next .hw-h2 {
  margin: 0;
}

.hw-next .hw-actions {
  margin: 0;
}

/* Breadcrumb */
.hw-crumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.375rem;
  margin: 0 0 1.75rem;
  padding: 0;
  list-style: none;
  font-size: 0.875rem;
  color: var(--hw-subtle);
}

.hw-crumbs li {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
}

.hw-crumbs li + li::before {
  content: '/';
  color: var(--hw-faint);
}

.hw-crumbs a {
  color: var(--hw-subtle);
  text-decoration: none;
}

.hw-crumbs a:hover {
  color: var(--hw-text);
}

.hw-crumbs [aria-current="page"] {
  font-weight: 500;
  color: var(--hw-text);
}

/* Hero with the animated engraved icon on the right (like the feature pages) */
.hw-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .hw-hero-grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
    gap: 4rem;
  }
}

.hw-hero-art {
  display: flex;
  justify-content: flex-start;
}

@media (max-width: 1023px) {
  .hw-hero-art {
    order: -1;
  }
}

@media (min-width: 1024px) {
  .hw-hero-art {
    justify-content: flex-end;
  }
}

.hw-hero-frame {
  --eng-paper: #fafaf9;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 8rem;
  height: 8rem;
  border: 1px solid var(--hw-border);
  border-radius: 1rem;
  background: #fafaf9;
  color: #1c1917;
}

.landing-dark .hw-hero-frame {
  --eng-paper: #1f1d1b;
  background: #1f1d1b;
  color: #e7e5e4;
}

.hw-hero-icon {
  display: block;
  width: 5.5rem;
  height: 5.5rem;
}

@media (min-width: 1024px) {
  .hw-hero-frame {
    width: 15rem;
    height: 15rem;
  }

  .hw-hero-icon {
    width: 10rem;
    height: 10rem;
  }
}

.hw .mr-eng-defs {
  color: #44403c;
}

.landing-dark .hw .mr-eng-defs {
  color: #d6d3d1;
}

/* Icon motion: packets travel the paths, parts react when they arrive (5s loop) */
.hw-hero-icon .hwa-wait,
.hw-hero-icon .hwa-type {
  transform-box: fill-box;
  transform-origin: left center;
}

.hw-hero-icon .hwa-seal,
.hw-hero-icon .hwa-ticket,
.hw-hero-icon .hwa-think {
  transform-box: fill-box;
  transform-origin: center;
}

.hw-hero-icon .hwa-p {
  opacity: 0;
}

.hw-hero-icon .hwa-fan1 { animation: hwa-fan1 5s ease-in-out infinite; }
.hw-hero-icon .hwa-fan2 { animation: hwa-fan2 5s ease-in-out infinite; }
.hw-hero-icon .hwa-fan3 { animation: hwa-fan3 5s ease-in-out infinite; }
.hw-hero-icon .hwa-req { animation: hwa-req 5s ease-in-out infinite; }
.hw-hero-icon .hwa-res { animation: hwa-res 5s ease-in-out infinite; }
.hw-hero-icon .hwa-wait { animation: hwa-wait 5s ease-in-out infinite; }
.hw-hero-icon .hwa-seal { animation: hwa-seal 5s ease-out infinite; }
.hw-hero-icon .hwa-ticket { animation: hwa-ticket 5s ease-out infinite; }
.hw-hero-icon .hwa-think { animation: hwa-think 5s ease-in-out infinite; }
.hw-hero-icon .hwa-out1 { animation: hwa-out1 5s ease-in-out infinite; }
.hw-hero-icon .hwa-out2 { animation: hwa-out2 5s ease-in-out infinite; }
.hw-hero-icon .hwa-type { animation: hwa-type 5s ease-out infinite; }
.hw-hero-icon .hwa-type2 { animation-name: hwa-type2; }
.hw-hero-icon .hwa-ask { animation: hwa-ask 5s ease-in-out infinite; }
.hw-hero-icon .hwa-back { animation: hwa-back 5s ease-in-out infinite; }
.hw-hero-icon .hwa-final { animation: hwa-final 5s ease-in-out infinite; }
.hw-hero-icon .hwa-db { animation: hwa-db 5s ease-in-out infinite; }
.hw-hero-icon .hwa-call1 { animation: hwa-call1 5s ease-in-out infinite; }
.hw-hero-icon .hwa-call2 { animation: hwa-call2 5s ease-in-out infinite; }
.hw-hero-icon .hwa-hit1 { animation: hwa-hit1 5s ease-in-out infinite; }
.hw-hero-icon .hwa-hit2 { animation: hwa-hit2 5s ease-in-out infinite; }

/* Overview: three tracks, one after another */
@keyframes hwa-fan1 {
  0% { transform: translate(0, 0); opacity: 0; }
  4% { opacity: 1; }
  26% { transform: translate(23px, -14px); opacity: 1; }
  30%, 100% { transform: translate(23px, -14px); opacity: 0; }
}

@keyframes hwa-fan2 {
  0%, 33% { transform: translate(0, 0); opacity: 0; }
  37% { opacity: 1; }
  59% { transform: translate(23px, 0); opacity: 1; }
  63%, 100% { transform: translate(23px, 0); opacity: 0; }
}

@keyframes hwa-fan3 {
  0%, 66% { transform: translate(0, 0); opacity: 0; }
  70% { opacity: 1; }
  92% { transform: translate(23px, 14px); opacity: 1; }
  96%, 100% { transform: translate(23px, 14px); opacity: 0; }
}

/* Sync: out, wait, back, done */
@keyframes hwa-req {
  0% { transform: translateX(0); opacity: 0; }
  4% { opacity: 1; }
  26% { transform: translateX(11px); opacity: 1; }
  30%, 100% { transform: translateX(11px); opacity: 0; }
}

@keyframes hwa-res {
  0%, 52% { transform: translateX(0); opacity: 0; }
  56% { opacity: 1; }
  76% { transform: translateX(-11px); opacity: 1; }
  80%, 100% { transform: translateX(-11px); opacity: 0; }
}

@keyframes hwa-wait {
  0%, 8% { transform: scaleX(0); }
  74% { transform: scaleX(1); }
  90% { transform: scaleX(1); opacity: 1; }
  100% { transform: scaleX(1); opacity: 0; }
}

@keyframes hwa-seal {
  0%, 76% { transform: scale(0); opacity: 0; }
  84% { transform: scale(1.15); opacity: 1; }
  88%, 95% { transform: scale(1); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0; }
}

/* Async: ticket right away, AI works, then two deliveries */
@keyframes hwa-ticket {
  0%, 2% { transform: scale(0); opacity: 0; }
  9% { transform: scale(1.12); opacity: 1; }
  14%, 92% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1); opacity: 0; }
}

@keyframes hwa-think {
  0%, 14%, 52%, 100% { transform: scale(1); }
  24%, 42% { transform: scale(1.12); }
  33% { transform: scale(0.96); }
}

@keyframes hwa-out1 {
  0%, 52% { transform: translate(0, 0); opacity: 0; }
  55% { opacity: 1; }
  70% { transform: translate(4.5px, -7px); opacity: 1; }
  74%, 100% { transform: translate(4.5px, -7px); opacity: 0; }
}

@keyframes hwa-out2 {
  0%, 52% { transform: translate(0, 0); opacity: 0; }
  55% { opacity: 1; }
  70% { transform: translate(4.5px, 6px); opacity: 1; }
  74%, 100% { transform: translate(4.5px, 6px); opacity: 0; }
}

@keyframes hwa-type {
  0%, 70% { transform: scaleX(0); opacity: 0; }
  80%, 94% { transform: scaleX(1); opacity: 1; }
  100% { transform: scaleX(1); opacity: 0; }
}

@keyframes hwa-type2 {
  0%, 76% { transform: scaleX(0); opacity: 0; }
  86%, 94% { transform: scaleX(1); opacity: 1; }
  100% { transform: scaleX(1); opacity: 0; }
}

/* Backend pipeline: ask your database, data goes back, answer to the browser */
@keyframes hwa-ask {
  0% { transform: translate(0, 0); opacity: 0; }
  4% { opacity: 1; }
  22% { transform: translate(-7px, 7px); opacity: 1; }
  26%, 100% { transform: translate(-7px, 7px); opacity: 0; }
}

@keyframes hwa-db {
  0%, 22% { stroke-width: 0.9; opacity: 0.5; }
  28%, 40% { stroke-width: 2.2; opacity: 1; }
  48%, 100% { stroke-width: 0.9; opacity: 0.5; }
}

@keyframes hwa-back {
  0%, 40% { transform: translate(0, 0); opacity: 0; }
  44% { opacity: 1; }
  60% { transform: translate(7px, -7px); opacity: 1; }
  64%, 100% { transform: translate(7px, -7px); opacity: 0; }
}

@keyframes hwa-final {
  0%, 64% { transform: translate(0, 0); opacity: 0; }
  68% { opacity: 1; }
  80% { transform: translate(7px, 9.5px); opacity: 1; }
  84%, 100% { transform: translate(7px, 9.5px); opacity: 0; }
}

/* Agent: the model calls the left tool, skips the middle one, then calls the right */
@keyframes hwa-call1 {
  0% { transform: translate(0, 0); opacity: 0; }
  3% { opacity: 1; }
  18%, 24% { transform: translate(-15px, 16px); opacity: 1; }
  40% { transform: translate(0, 0); opacity: 1; }
  44%, 100% { transform: translate(0, 0); opacity: 0; }
}

@keyframes hwa-call2 {
  0%, 50% { transform: translate(0, 0); opacity: 0; }
  53% { opacity: 1; }
  68%, 74% { transform: translate(15px, 16px); opacity: 1; }
  90% { transform: translate(0, 0); opacity: 1; }
  94%, 100% { transform: translate(0, 0); opacity: 0; }
}

@keyframes hwa-hit1 {
  0%, 16% { stroke-width: 1.3; }
  20%, 26% { stroke-width: 2.4; }
  32%, 100% { stroke-width: 1.3; }
}

@keyframes hwa-hit2 {
  0%, 66% { stroke-width: 1.3; }
  70%, 76% { stroke-width: 2.4; }
  82%, 100% { stroke-width: 1.3; }
}

@media (prefers-reduced-motion: reduce) {
  .hw-hero-icon * {
    animation: none !important;
  }

  .hw-hero-icon .hwa-p {
    opacity: 0;
  }
}

/* OpenAI-compatible endpoints list (overview) */
.hw-endpoints {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hw-endpoints code {
  display: inline-block;
  padding: 0.375rem 0.625rem;
  border: 1px solid var(--hw-border);
  border-radius: 0.5rem;
  background: var(--hw-surface);
  font-family: ui-monospace, monospace;
  font-size: 0.8125rem;
  color: var(--hw-text);
}

.hw-endpoints + .hw-note {
  margin-top: 1rem;
}

/* Code beside the steps follows the reader and stops level with the last step */
@media (min-width: 1024px) {
  .hw-flow-grid > .hw-flow-code {
    align-self: stretch;
  }

  .hw-sticky {
    position: sticky;
    top: 5.5rem;
  }
}

/* Engraved icon on each fact card */
.hw-fact-icon {
  --eng-paper: var(--hw-surface);
  display: block;
  width: 3rem;
  height: 3rem;
  margin-bottom: 0.875rem;
  color: #1c1917;
}

.landing-dark .hw-fact-icon {
  color: #e7e5e4;
}

.hw-fact-svg {
  display: block;
  width: 100%;
  height: 100%;
}
