/**
 * Shared public-site chrome — landing (/) and SPA (/pricing, /models, /releases).
 * Class names: packages/web/src/app/lib/public-site-chrome.ts
 */
:root {
  --public-site-content-max: 80rem;
  --public-site-page-gutter: clamp(1.5rem, 4vw, 2.5rem);
  --public-site-content-width: min(
    var(--public-site-content-max),
    calc(100% - 2 * var(--public-site-page-gutter))
  );
  --public-site-header-height: 3.5rem;
  /* Set by public-chrome.js while the promo bar is shown. */
  --public-site-promo-height: 0px;
  --public-site-header-offset: calc(
    var(--public-site-header-height) + var(--public-site-promo-height)
  );
  --public-site-chrome-edge-padding: 0.625rem;
  --public-site-chrome-font-size: 14px;
  --public-site-chrome-line-height: 1.25;
  --public-site-chrome-font-weight: 400;
  --public-site-chrome-font-family:
    "Inter", "Inter Variable", ui-sans-serif, system-ui, sans-serif;
  --public-site-nav-color: #5c6675;
  --public-site-nav-hover-color: #252f3d;
  --public-site-main-color: #252f3d;
  --public-site-header-bg: rgba(247, 247, 244, 0.85);
}

.container,
.public-site-container {
  width: var(--public-site-content-width);
  margin-inline: auto;
}

.public-site-header-offset {
  padding-top: var(--public-site-header-offset);
}

.site-header,
.public-site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  background: var(--public-site-header-bg);
  backdrop-filter: blur(8px);
  font-family: var(--public-site-chrome-font-family);
  font-size: var(--public-site-chrome-font-size);
  font-weight: var(--public-site-chrome-font-weight);
  line-height: var(--public-site-chrome-line-height);
  -webkit-font-smoothing: antialiased;
}

.header-inner,
.public-site-header-row {
  position: relative;
  display: flex;
  min-height: var(--public-site-header-height);
  box-sizing: border-box;
  align-items: center;
  justify-content: space-between;
  padding-block: var(--public-site-chrome-edge-padding);
  gap: 1rem;
}

.brand,
.public-site-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--public-site-main-color);
  line-height: var(--public-site-chrome-line-height);
}

.brand-mark,
.public-site-brand-mark {
  width: 2.25rem;
  height: 2.25rem;
  flex-shrink: 0;
}

.brand-name,
.public-site-brand-name {
  font-size: var(--public-site-chrome-font-size);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  line-height: var(--public-site-chrome-line-height);
}

.site-nav,
.public-site-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: var(--public-site-chrome-font-size);
  font-weight: var(--public-site-chrome-font-weight);
  line-height: var(--public-site-chrome-line-height);
  color: var(--public-site-nav-color);
  white-space: nowrap;
}

/* Where the header «Скачать» button is visible, the nav tab would repeat it;
 * touch devices hide the button, so there the tab stays. */
@media not all and (hover: none) and (pointer: coarse) {
  .site-nav [data-nav="download"],
  .public-site-nav [data-nav="download"] {
    display: none;
  }
}

@media (min-width: 900px) {
  .site-nav,
  .public-site-nav {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
  }

  .brand,
  .public-site-brand,
  .header-actions,
  .public-site-header-actions {
    position: relative;
    z-index: 1;
  }
}

/* Narrow tablets and windows: the tabs stay in the row, between the brand and
 * the header buttons, instead of centring on the page over them. */
@media (min-width: 640px) and (max-width: 899px) {
  .site-nav,
  .public-site-nav {
    flex: 1;
    justify-content: center;
    gap: 0.75rem;
  }
}

@media (min-width: 1100px) {
  .site-nav,
  .public-site-nav {
    gap: 2rem;
  }
}

/* Menu button: the tabs do not fit the row on a phone. */
.site-nav-toggle,
.public-site-nav-toggle {
  display: none;
  width: 2.25rem;
  height: 2.25rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  margin-inline-end: -0.375rem;
  padding: 0;
  border: none;
  border-radius: 6px;
  background: transparent;
  color: var(--public-site-main-color);
  cursor: pointer;
  transition: background 0.15s;
}

.site-nav-toggle:hover,
.public-site-nav-toggle:hover {
  background: rgba(0, 0, 0, 0.05);
}

.site-nav-toggle svg,
.public-site-nav-toggle svg {
  display: block;
  width: 1.25rem;
  height: 1.25rem;
}

.site-nav-toggle[aria-expanded="true"] .site-nav-toggle-open,
.site-nav-toggle:not([aria-expanded="true"]) .site-nav-toggle-close,
.public-site-nav-toggle[aria-expanded="true"] .site-nav-toggle-open,
.public-site-nav-toggle:not([aria-expanded="true"]) .site-nav-toggle-close {
  display: none;
}

@media (max-width: 639px) {
  .header-inner,
  .public-site-header-row {
    /* The open menu hangs under the whole header, edge to edge. */
    position: static;
  }

  .header-actions,
  .public-site-header-actions {
    gap: 0.5rem;
  }

  .site-nav-toggle,
  .public-site-nav-toggle {
    display: flex;
  }

  .site-nav,
  .public-site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.25rem var(--public-site-page-gutter) 0.75rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    background: #f7f7f4;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
  }

  [data-nav-open] .site-nav,
  [data-nav-open] .public-site-nav {
    display: flex;
  }

  .site-nav > :is(a, span),
  .public-site-nav > :is(a, span) {
    padding-block: 0.75rem;
    font-size: 1rem;
  }

  .site-nav > :is(a, span) + :is(a, span),
  .public-site-nav > :is(a, span) + :is(a, span) {
    border-top: 1px solid rgba(0, 0, 0, 0.06);
  }

  .site-nav-current,
  .public-site-nav-current {
    color: var(--public-site-main-color);
    font-weight: 500;
  }
}

.site-nav-tab,
.site-nav-current,
.public-site-nav-link,
.public-site-nav-current {
  font-family: inherit;
  font-size: var(--public-site-chrome-font-size);
  font-weight: var(--public-site-chrome-font-weight);
  line-height: var(--public-site-chrome-line-height);
  text-decoration: none;
  color: var(--public-site-nav-color);
  transition: color 0.15s;
}

.site-nav-tab:hover,
.public-site-nav-link:hover {
  color: var(--public-site-nav-hover-color);
}

.site-nav-current,
.public-site-nav-current {
  cursor: default;
}

.header-actions,
.public-site-header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.public-site-chrome-text,
.btn-login,
.btn-header-download,
.public-site-btn-login,
.public-site-btn-download {
  font-family: inherit;
  font-size: var(--public-site-chrome-font-size);
  line-height: var(--public-site-chrome-line-height);
}

.btn-login,
.public-site-btn-login {
  display: inline-block;
  padding: 0.5rem 1rem;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 6px;
  background: #fff;
  text-decoration: none;
  color: var(--public-site-main-color);
  font-weight: var(--public-site-chrome-font-weight);
  transition: background 0.15s;
}

.btn-login:hover,
.public-site-btn-login:hover {
  background: #f0f0f4;
}

.btn-header-download,
.public-site-btn-download {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding-block: 0.5rem;
  padding-inline: 0.6875rem 1rem;
  border: none;
  border-radius: 6px;
  background: #0f172a;
  color: #fff;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  transition: background 0.15s;
}

.btn-header-download .btn-primary-icon,
.public-site-btn-download-icon {
  display: flex;
  flex-shrink: 0;
  width: 1rem;
  height: 1rem;
  align-items: center;
  justify-content: center;
}

.btn-header-download .btn-primary-icon svg,
.public-site-btn-download-icon svg {
  display: block;
  width: 1rem;
  height: 1rem;
}

.btn-header-download:hover,
.public-site-btn-download:hover {
  background: #1e293b;
}

.btn-header-download.is-pending {
  opacity: 0.6;
  pointer-events: none;
}

/* Touch-only devices (phones, tablets) cannot run the desktop app; the landing
 * hero offers «send yourself the link» there instead. */
@media (hover: none) and (pointer: coarse) {
  .btn-header-download,
  .public-site-btn-download {
    display: none;
  }
}

.site-feedback-dialog[hidden] {
  display: none !important;
}

.site-feedback-dialog {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  font-family: var(--public-site-chrome-font-family);
}

.site-feedback-dialog-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  padding: 0;
  background: rgb(15 23 42 / 0.45);
  cursor: pointer;
}

.site-feedback-dialog-panel {
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  width: 100%;
  max-width: 26rem;
  padding: 1.5rem;
  border-radius: 1.25rem;
  background: #fff;
  box-shadow: 0 18px 50px rgb(15 23 42 / 0.18);
}

.site-feedback-dialog-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.site-feedback-dialog-header h2 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.3;
  color: #1f2328;
}

.site-feedback-dialog-close {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  font-size: 1.25rem;
  line-height: 1;
  color: #8b95a5;
  cursor: pointer;
}

.site-feedback-dialog-close:hover {
  color: #1f2328;
}

.site-feedback-dialog-lead {
  margin: 0.75rem 0 0;
  font-size: 0.875rem;
  line-height: 1.45;
  color: #8b95a5;
}

.site-feedback-dialog.is-authenticated [data-feedback-anon],
.site-feedback-dialog:not(.is-authenticated) [data-feedback-signed-in],
.site-feedback-dialog.is-authenticated [data-feedback-auth-field] {
  display: none;
}

.site-feedback-form {
  position: relative;
  display: grid;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.site-feedback-input,
.site-feedback-textarea {
  box-sizing: border-box;
  width: 100%;
  border: 1px solid rgb(0 0 0 / 0.12);
  padding: 0.75rem 1rem;
  font: inherit;
  font-size: 0.9375rem;
  color: #1f2328;
  background: #fff;
}

.site-feedback-input {
  border-radius: 9999px;
}

.site-feedback-textarea {
  min-height: 6.5rem;
  border-radius: 1.25rem;
  resize: vertical;
}

.site-feedback-input:focus,
.site-feedback-textarea:focus {
  outline: 2px solid rgb(15 23 42 / 0.18);
  outline-offset: 1px;
}

.site-feedback-input::placeholder,
.site-feedback-textarea::placeholder {
  color: #8b95a5;
}

.site-feedback-submit {
  width: 100%;
  border: 0;
  border-radius: 6px;
  padding: 0.8rem 1.25rem;
  font: inherit;
  font-weight: 600;
  color: #fff;
  background: #0f172a;
  cursor: pointer;
}

.site-feedback-submit:hover:not(:disabled) {
  background: #1e293b;
}

.site-feedback-submit:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.site-feedback-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.site-feedback-status {
  margin: 0.75rem 0 0;
  min-height: 1.25rem;
  font-size: 0.875rem;
}

.site-feedback-dialog.is-sent .site-feedback-dialog-lead,
.site-feedback-dialog.is-sent .site-feedback-form {
  display: none;
}

.site-feedback-dialog.is-sent .site-feedback-status {
  margin-top: 1.25rem;
  min-height: 0;
  font-size: 0.9375rem;
  line-height: 1.45;
}

.site-feedback-status[data-state="ok"] {
  color: #17663a;
}

.site-feedback-status[data-state="error"] {
  color: #b42318;
}

.site-cookie-notice {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  z-index: 50;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 40rem;
  margin-inline: auto;
  padding: 0.875rem 1rem;
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 12px 36px rgb(15 23 42 / 0.16);
  font-family: var(--public-site-chrome-font-family);
  font-size: 0.8125rem;
  line-height: 1.45;
  color: #5c6675;
}

.site-cookie-notice[hidden] {
  display: none;
}

.site-cookie-notice-text {
  flex: 1;
  margin: 0;
}

.site-cookie-notice-text a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.site-cookie-notice-accept {
  flex-shrink: 0;
  border: 0;
  border-radius: 6px;
  padding: 0.5rem 1rem;
  font: inherit;
  font-weight: 600;
  color: #fff;
  background: #0f172a;
  cursor: pointer;
}

.site-cookie-notice-accept:hover {
  background: #1e293b;
}

@media (max-width: 767px) {
  .site-cookie-notice {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }
}

.site-promo {
  position: relative;
  background: #0f172a;
  color: #fff;
  font-size: 0.875rem;
  line-height: 1.35;
}

.site-promo[hidden] {
  display: none;
}

.site-promo-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding-block: 0.5rem;
  padding-inline-end: 2rem;
}

.site-promo-text {
  margin: 0;
  font-weight: 500;
}

.site-promo-note {
  margin-left: 0.375rem;
  font-size: 0.75rem;
  font-weight: 400;
  color: rgb(255 255 255 / 0.6);
  white-space: nowrap;
}

.site-promo-cta {
  flex-shrink: 0;
  border-radius: 6px;
  padding: 0.375rem 0.875rem;
  font-weight: 600;
  color: #0f172a;
  background: #fff;
  text-decoration: none;
}

.site-promo-cta:hover {
  background: #e2e8f0;
}

.site-promo-close {
  position: absolute;
  top: 50%;
  right: 0.75rem;
  transform: translateY(-50%);
  border: 0;
  padding: 0.25rem 0.5rem;
  font: inherit;
  font-size: 1.25rem;
  line-height: 1;
  color: rgb(255 255 255 / 0.7);
  background: none;
  cursor: pointer;
}

.site-promo-close:hover {
  color: #fff;
}

@media (max-width: 767px) {
  .site-promo {
    font-size: 0.8125rem;
  }

  .site-promo-inner {
    gap: 0.75rem;
    justify-content: space-between;
  }

  .site-promo-note {
    display: block;
    margin: 0.125rem 0 0;
  }

  .site-promo-cta {
    padding: 0.3125rem 0.625rem;
  }
}

html {
  overflow-x: clip;
  overscroll-behavior-y: none;
}

body {
  overscroll-behavior-y: none;
}

body {
  margin: 0;
  background: #f7f7f4;
}

.page {
  --content-width: var(--public-site-content-width);
  box-sizing: border-box;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding-top: var(--public-site-header-offset);
  font-family: var(--public-site-chrome-font-family);
  font-size: var(--public-site-chrome-font-size);
  font-weight: var(--public-site-chrome-font-weight);
  line-height: var(--public-site-chrome-line-height);
  background: #f7f7f4;
  color: #252f3d;
  -webkit-font-smoothing: antialiased;
}

.main-content {
  flex: 1 0 auto;
  padding-bottom: 2rem;
}

.site-footer {
  padding: 2rem 0 calc(var(--public-site-chrome-edge-padding) * 2);
  text-align: center;
  font-size: var(--public-site-chrome-font-size);
  color: #8b95a5;
}

.site-footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.site-footer-nav a,
.site-footer-nav .site-footer-action {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s ease;
}

.site-footer-nav a:hover,
.site-footer-nav .site-footer-action:hover {
  color: #5c6675;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.site-footer-action {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: inherit;
  cursor: pointer;
}

.site-footer-copy {
  margin: 0;
}

.site-footer-requisites {
  margin: 0.375rem 0 0;
  font-size: 0.75rem;
}

/* Primary download CTA: landing hero/bottom and search landing pages. */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  padding-block: 0.875rem;
  padding-inline: 1.375rem 1.75rem;
  border: none;
  border-radius: 6px;
  background: #0f172a;
  color: #fff;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s;
}

.btn-primary-icon {
  display: flex;
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  align-items: center;
  justify-content: center;
}

.btn-primary-icon svg {
  display: block;
  width: 1.25rem;
  height: 1.25rem;
}

.btn-primary:hover {
  background: #1e293b;
}

.btn-primary.is-pending {
  opacity: 0.6;
  pointer-events: none;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", ui-sans-serif, system-ui, sans-serif;
  font-size: 14px;
  background: #f7f7f4;
  color: #252f3d;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

/* Hero */
.hero {
  padding: 3rem 0 0;
  text-align: center;
  container-type: inline-size;
}

.hero-epigraph {
  margin: 1.5rem auto 0;
  color: #5c6675;
}

.hero-epigraph blockquote {
  margin: 0;
  font-size: 1.0625rem;
  font-style: italic;
  line-height: 1.5;
}

.hero-epigraph figcaption {
  margin-top: 0.25rem;
  font-size: 0.8125rem;
  color: #8a93a0;
}

.hero-epigraph figcaption::before {
  content: "— ";
}

.hero-title {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.375rem;
  color: #252f3d;
  font-size: clamp(2rem, 4.5cqi + 1rem, 3.875rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.hero-brand-name,
.hero-headline {
  display: block;
}

.hero-brand-name {
  font-size: clamp(1.125rem, 2cqi + 0.75rem, 1.5rem);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #5c6675;
}

.hero-subtitle {
  margin: 1.25rem auto 0;
  max-width: 38rem;
  font-size: 1.125rem;
  line-height: 1.6;
  color: #5c6675;
}

/*
 * Same shape as the chat composer: one row while the text fits, and the
 * text over a toolbar once it wraps (`is-multiline`, set by landing.js).
 */
.hero-prompt {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  grid-template-areas:
    "add input model actions"
    "error error error error";
  align-items: center;
  column-gap: 0.5rem;
  width: min(100%, 50rem);
  margin: 2rem auto 0;
  padding: 0.625rem 0.75rem;
  text-align: left;
  background: #fff;
  border: 1px solid rgba(20, 20, 20, 0.08);
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  transition:
    border-color 140ms cubic-bezier(0.2, 0, 0, 1),
    box-shadow 140ms cubic-bezier(0.2, 0, 0, 1);
}

.hero-prompt.is-multiline {
  grid-template-columns: auto auto minmax(0, 1fr) auto;
  grid-template-areas:
    "input input input input"
    "add model . actions"
    "error error error error";
}

.hero-prompt:hover,
.hero-prompt:focus-within {
  border-color: rgba(20, 20, 20, 0.12);
}

.hero-prompt-input {
  grid-area: input;
  display: block;
  width: 100%;
  max-height: 16rem;
  resize: none;
  overflow-y: hidden;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #141414;
  font: inherit;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
  padding: 0.125rem 0;
  outline: none;
}

.hero-prompt.is-multiline .hero-prompt-input {
  overflow-y: auto;
  padding: 0.125rem 0.25rem 0.75rem;
}

.hero-prompt-input::placeholder {
  color: rgba(20, 20, 20, 0.33);
}

.hero-prompt-cluster {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 0.5rem;
}

/* The toolbar's pieces sit in the form's grid. */
.hero-prompt-bar,
.hero-prompt-cluster-start {
  display: contents;
}

.hero-prompt-add {
  grid-area: add;
}

.hero-prompt-auto {
  grid-area: model;
}

.hero-prompt-cluster-end {
  grid-area: actions;
}

.hero-prompt-icon-button,
.hero-prompt-auto,
.hero-prompt-send {
  font: inherit;
}

.hero-prompt-icon-button {
  display: flex;
  width: 1.75rem;
  height: 1.75rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 6px;
  cursor: default;
}

.hero-prompt-icon-button svg,
.hero-prompt-auto svg {
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-prompt-add {
  background: rgba(20, 20, 20, 0.06);
  color: rgba(20, 20, 20, 0.6);
}

.hero-prompt-add svg {
  width: 1.25rem;
  height: 1.25rem;
  stroke-width: 2;
}

.hero-prompt-add:disabled {
  background: rgba(20, 20, 20, 0.06);
  color: rgba(20, 20, 20, 0.6);
  opacity: 1;
}

.hero-prompt-auto {
  display: flex;
  height: 1.75rem;
  align-items: center;
  gap: 0.25rem;
  padding: 0 0.625rem;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #141414;
  font-size: 0.875rem;
  line-height: 1.25rem;
  cursor: default;
}

.hero-prompt-auto:disabled {
  color: #141414;
  opacity: 0.4;
  cursor: not-allowed;
}

.hero-prompt-auto svg {
  width: 1rem;
  height: 1rem;
  stroke-width: 1.5;
  color: currentColor;
}

.hero-prompt-mic {
  background: #f1f1f1;
  color: #141414;
  cursor: pointer;
}

.hero-prompt-mic:hover {
  background: #e7e7e7;
}

.hero-prompt-mic svg {
  width: 1rem;
  height: 1rem;
  stroke-width: 2;
}

.hero-prompt-voice {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-prompt-voice-label {
  color: #5c6675;
  font-size: 0.875rem;
  line-height: 1.25rem;
  white-space: nowrap;
}

.hero-prompt-voice-cancel,
.hero-prompt-voice-accept {
  background: #f1f1f1;
  color: #141414;
  cursor: pointer;
}

.hero-prompt-voice-cancel:hover,
.hero-prompt-voice-accept:hover {
  background: #e7e7e7;
}

.hero-prompt-voice-cancel svg,
.hero-prompt-voice-accept svg {
  width: 1rem;
  height: 1rem;
  stroke-width: 2;
}

.hero-prompt-voice-accept:disabled {
  cursor: wait;
  opacity: 0.5;
}

.hero-prompt-mic-error {
  grid-area: error;
  margin: 0;
  padding: 0.5rem 0.25rem 0;
  color: #9a3b3b;
  font-size: 0.8125rem;
  line-height: 1.4;
}

.hero-prompt-voice[hidden],
.hero-prompt-mic-error[hidden],
.hero-prompt-mic[hidden],
.hero-prompt-send[hidden] {
  display: none;
}

.hero-prompt-send {
  display: flex;
  width: 1.75rem;
  height: 1.75rem;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: #141414;
  color: #fff;
  cursor: pointer;
  transition: background 140ms cubic-bezier(0.2, 0, 0, 1);
}

.hero-prompt-send:hover {
  background: rgba(0, 0, 0, 0.8);
}

.hero-prompt-send:disabled {
  opacity: 0.4;
  cursor: default;
}

.hero-prompt-send:disabled:hover {
  background: #141414;
}

.hero-prompt-send svg {
  display: block;
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-actions {
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.hero-platforms {
  margin: 0;
  font-size: 0.875rem;
  color: #5c6675;
}

.download-status {
  font-size: 0.875rem;
  color: #8b95a5;
}

@media (min-width: 768px) {
  .hero {
    padding-top: 5rem;
  }
}

/* Demo stage */
.demo-stage {
  position: relative;
  margin-top: 3rem;
  width: var(--content-width);
  margin-inline: auto;
  scroll-margin-top: calc(var(--public-site-header-offset, 3.5rem) + 1rem);
}

.demo-stage-bg {
  position: absolute;
  inset: 0;
  border-radius: 12px;
  overflow: hidden;
}

.demo-stage-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.demo-stage-overlay {
  display: none;
}

.demo-stage-inner {
  position: relative;
  z-index: 1;
  padding: 1rem;
}

/* Product mock — токены @razum/ui-kit/src/theme.css */
.product-mock,
.mock-card {
  --m-app: #f3f3f3;
  --m-panel-left: #f3f3f3;
  --m-panel-main: #fcfcfc;
  --m-panel-right: #fcfcfc;
  --m-surface: #ffffff;
  --m-sunken: #f1f1f1;
  --m-segment-track: #e3e3e3;
  --m-hover: rgba(20, 20, 20, 0.06);
  --m-selected: rgba(20, 20, 20, 0.08);
  --m-split: rgba(20, 20, 20, 0.08);
  --m-divider-subtle: rgba(20, 20, 20, 0.04);
  --m-main: #141414;
  --m-secondary: rgba(20, 20, 20, 0.84);
  --m-muted-dark: rgba(20, 20, 20, 0.72);
  --m-muted: rgba(20, 20, 20, 0.6);
  --m-muted-light: rgba(20, 20, 20, 0.4);
  --m-accent: #2778c1;
  --m-added: #067647;
  --m-deleted: #b42318;
  --m-attention: #b45309;
  --m-attention-strong: #8d4a2b;
  --m-mono: ui-monospace, SFMono-Regular, Menlo, monospace;
  --m-font: 12px;
  --m-font-sm: 11px;
  --m-font-xs: 10px;

  font-size: var(--m-font);
  color: var(--m-main);
}

.product-mock svg,
.mock-card svg,
.shell-eyebrow svg,
.shell-demo-link svg {
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.product-mock {
  overflow: hidden;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 12px;
  background: var(--m-app);
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.18),
    0 14px 32px rgba(0, 0, 0, 0.12),
    0 0 0 1px rgba(0, 0, 0, 0.06);
}

.product-mock:not([data-demo-shell="code"]) .mock-code-only {
  display: none;
}

.mock-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  min-height: 500px;
  background: var(--m-panel-main);
}

.mock-pane-chrome {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 0.25rem;
  height: 36px;
  min-height: 36px;
}

.mock-chrome-spacer {
  flex: 1;
  min-width: 0;
}

.mock-chrome-icon {
  width: 15px;
  height: 15px;
  color: var(--m-muted-dark);
}

.mock-chrome-icon--sm {
  width: 13px;
  height: 13px;
}

.mock-chrome-icon.is-disabled {
  color: var(--m-muted-light);
}

/* Sidebar */
.mock-sidebar {
  display: flex;
  min-height: 0;
  flex-direction: column;
  border-bottom: 1px solid var(--m-split);
  background: var(--m-panel-left);
}

.mock-sidebar-chrome {
  gap: 0.375rem;
  padding: 0 0.5rem 0 0.75rem;
}

.mock-traffic-lights {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 0.4375rem;
  margin-right: 0.25rem;
}

.mock-traffic-light {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.mock-traffic-light--close {
  background: #ff5f57;
}

.mock-traffic-light--minimize {
  background: #febc2e;
}

.mock-traffic-light--zoom {
  background: #28c840;
}

.mock-sidebar-row:focus-visible {
  outline: 2px solid var(--m-accent);
  outline-offset: -1px;
}

.mock-sidebar-scroll {
  flex: 1;
  min-height: 0;
  padding: 0.25rem 0.5rem 0.5rem;
  overflow: auto;
}

.mock-sidebar-row {
  display: flex;
  width: 100%;
  min-height: 28px;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3125rem 0.5rem;
  border: none;
  border-radius: 6px;
  background: transparent;
  color: var(--m-main);
  font-family: inherit;
  font-size: var(--m-font);
  line-height: 1.3;
  text-align: left;
}

.mock-row-icon {
  width: 14px;
  height: 14px;
  color: var(--m-muted-dark);
}

.mock-row-kbd {
  margin-left: auto;
  font-size: var(--m-font-xs);
  color: var(--m-muted);
}

.mock-section-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 0.5rem 0.25rem;
  font-size: var(--m-font-sm);
  color: var(--m-muted);
}

.mock-section-header > span:first-child {
  flex: 1;
}

.mock-section-action {
  width: 13px;
  height: 13px;
  color: var(--m-muted);
}

.mock-project-row {
  font-weight: 500;
  color: var(--m-muted-dark);
}

.mock-session-list[hidden],
.mock-more[hidden] {
  display: none;
}

.mock-more {
  color: var(--m-muted);
  cursor: pointer;
}

.mock-more:hover {
  background: var(--m-hover);
  color: var(--m-main);
}

.mock-project-row ~ .mock-session-list {
  padding-left: 1.125rem;
}

.mock-session-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.mock-session {
  color: var(--m-secondary);
  cursor: pointer;
  transition: background 0.12s ease;
}

.mock-session:hover {
  background: var(--m-hover);
}

.mock-session.is-active {
  background: var(--m-selected);
  color: var(--m-main);
}

.mock-avatar {
  display: flex;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(20, 20, 20, 0.08);
  color: var(--m-muted-dark);
  font-size: 9px;
  font-weight: 500;
}

.mock-session-title {
  min-width: 0;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mock-session-time {
  flex-shrink: 0;
  font-size: var(--m-font-xs);
  color: var(--m-muted);
}

.mock-status {
  display: flex;
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  align-items: center;
  justify-content: center;
  color: var(--m-muted);
}

.mock-status svg {
  width: 13px;
  height: 13px;
}

.mock-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.mock-dot--waiting {
  background: var(--m-attention-strong);
}

/* Running agent: the gray blink from client-ui RunningChatIcon */
.mock-running {
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--m-muted);
  opacity: 1;
  animation: mock-running-blink 2s ease-in-out infinite;
}

@keyframes mock-running-blink {
  0%,
  100% {
    opacity: 0.2;
  }

  50% {
    opacity: 1;
  }
}

.mock-sidebar-bottom {
  display: none;
  flex-shrink: 0;
  margin-top: auto;
  padding: 0.25rem 0.5rem 0.5rem;
}

.mock-user-card {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0.375rem;
}

.mock-user-avatar {
  display: flex;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(20, 20, 20, 0.08);
  color: var(--m-muted-dark);
  font-size: 9px;
  font-weight: 500;
}

.mock-user-text {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  line-height: 1.3;
}

.mock-user-name,
.mock-user-plan {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mock-user-plan {
  font-size: var(--m-font-sm);
  color: var(--m-muted);
}

/* Main column */
.mock-main {
  display: flex;
  min-width: 0;
  min-height: 0;
  flex-direction: column;
  background: var(--m-panel-main);
}

.mock-main-chrome {
  padding: 0 0.625rem 0 0.5rem;
}

.mock-main-title {
  overflow: hidden;
  padding: 0.125rem 0.25rem;
  color: var(--m-muted-dark);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-mock[data-demo-shell="office"] .mock-main-title {
  padding: 0.1875rem 0.5rem;
  border-radius: 6px;
  background: var(--m-selected);
  color: var(--m-main);
}

.mock-main-body {
  display: flex;
  min-height: 0;
  flex: 1;
  flex-direction: column;
}

.mock-transcript-scroll {
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

.mock-transcript-inner {
  max-width: 36rem;
  margin: 0 auto;
  padding: 0.5rem 1.25rem 1rem;
}

.demo-panel {
  animation: demo-panel-in 0.22s ease;
}

.demo-panel[hidden] {
  display: none !important;
}

@keyframes demo-panel-in {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mock-transcript {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.mock-user-prompt {
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--m-split);
  border-radius: 12px;
  background: var(--m-surface);
  line-height: 1.5;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.mock-activity {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0 0.25rem;
}

.mock-activity-line {
  margin: 0;
  line-height: 1.4;
  color: var(--m-muted-dark);
}

.mock-activity-detail {
  color: var(--m-muted-light);
}

.mock-added {
  color: var(--m-added);
}

.mock-deleted {
  color: var(--m-deleted);
}

.product-mock code,
.mock-card code {
  padding: 0 0.1875rem;
  border-radius: 4px;
  background: rgba(20, 20, 20, 0.05);
  font-family: var(--m-mono);
  font-size: var(--m-font-sm);
}

.mock-agent-text {
  margin: 0;
  padding: 0 0.25rem;
  line-height: 1.55;
}

.mock-agent-list {
  margin: -0.25rem 0 0;
  padding: 0 0.25rem 0 1.25rem;
  line-height: 1.55;
}

.mock-agent-list li + li {
  margin-top: 0.25rem;
}

.mock-agent-list strong {
  font-weight: 600;
}

.mock-result-card {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  padding: 0.5rem 0.625rem;
  border: 1px solid var(--m-split);
  border-radius: 8px;
  background: var(--m-surface);
}

.mock-result-head {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  padding-bottom: 0.25rem;
  font-size: var(--m-font-sm);
  color: var(--m-muted);
}

.mock-result-action {
  color: var(--m-muted-dark);
}

.mock-result-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 22px;
}

.mock-file-icon {
  width: 12px;
  height: 12px;
  color: var(--m-muted);
}

.mock-result-meta {
  margin-left: auto;
  font-size: var(--m-font-sm);
  color: var(--m-muted);
  white-space: nowrap;
}

/* Composer */
.mock-composer-footer {
  flex-shrink: 0;
  width: 100%;
  max-width: 36rem;
  margin: 0 auto;
  padding: 0 1.25rem 0.75rem;
}

.mock-composer {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4375rem 0.5rem;
  border: 1px solid var(--m-split);
  border-radius: 12px;
  background: var(--m-surface);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.mock-composer-add,
.mock-composer-send {
  display: flex;
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
}

.mock-composer-add {
  background: var(--m-sunken);
  color: var(--m-muted-dark);
}

.mock-composer-add svg,
.mock-composer-send svg {
  width: 13px;
  height: 13px;
}

.mock-composer-send {
  background: var(--m-main);
  color: #fff;
}

.mock-composer-field {
  display: flex;
  min-width: 0;
  flex: 1;
  align-items: center;
  line-height: 1.5;
}

.mock-composer-text,
.mock-composer-placeholder {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mock-composer-placeholder {
  color: var(--m-muted-light);
}

.mock-composer:not(.has-text) .mock-composer-text,
.mock-composer:not(.has-text) .mock-composer-send,
.mock-composer.has-text .mock-composer-placeholder {
  display: none;
}

.mock-composer-actions {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 0.375rem;
}

.mock-composer-mode {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0 0.25rem;
}

.mock-composer-mode-chevron {
  width: 12px;
  height: 12px;
  color: var(--m-muted);
}

.mock-composer-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.375rem 0.375rem 0;
  font-size: var(--m-font-sm);
  color: var(--m-muted-dark);
}

.mock-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  white-space: nowrap;
}

.mock-meta-item svg {
  width: 12px;
  height: 12px;
}

.mock-meta-item .mock-meta-chevron {
  width: 11px;
  height: 11px;
  color: var(--m-muted);
}

.mock-context-ring {
  width: 13px;
  height: 13px;
  color: var(--m-muted);
}

/* Right panel */
.mock-panel {
  display: none;
  min-width: 0;
  min-height: 0;
  flex-direction: column;
  border-left: 1px solid var(--m-split);
  background: var(--m-panel-right);
}

.mock-side {
  display: flex;
  min-height: 0;
  flex: 1;
  flex-direction: column;
}

.mock-side[hidden] {
  display: none;
}

.mock-panel-chrome {
  padding: 0 0.625rem;
  border-bottom: 1px solid var(--m-split);
}

.mock-panel-heading {
  padding-left: 0.25rem;
}

.mock-panel-tabs {
  display: flex;
  min-width: 0;
  flex: 1;
  align-items: center;
  gap: 0.125rem;
  overflow: hidden;
}

.mock-panel-tab {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  gap: 0.3125rem;
  padding: 0.1875rem 0.4375rem;
  border-radius: 6px;
  font-size: var(--m-font-sm);
  color: var(--m-muted-dark);
}

.mock-panel-tab svg {
  width: 12px;
  height: 12px;
}

.mock-panel-tab.is-active {
  background: var(--m-selected);
  color: var(--m-main);
}

.mock-overview {
  padding: 0.5rem 0.625rem;
}

.mock-overview-label {
  margin: 0 0 0.375rem;
  padding-left: 0.25rem;
  font-size: var(--m-font-sm);
  color: var(--m-muted);
}

.mock-screen {
  overflow: hidden;
  border: 1px solid var(--m-split);
  border-radius: 8px 8px 0 0;
  background: var(--m-surface);
}

.mock-browser-bar {
  display: flex;
  height: 22px;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--m-divider-subtle);
  background: var(--m-sunken);
}

.mock-browser-url {
  padding: 1px 10px;
  border-radius: 5px;
  background: var(--m-surface);
  font-size: var(--m-font-xs);
  color: var(--m-muted);
}

.mock-browser-page {
  display: flex;
  min-height: 108px;
  flex-direction: column;
  gap: 0.3125rem;
  padding: 0.625rem 0.75rem;
}

.mock-page-title {
  margin: 0 0 0.25rem;
  font-weight: 600;
}

.mock-price-row {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.1875rem 0.25rem;
  border-bottom: 1px solid var(--m-divider-subtle);
  font-size: var(--m-font-sm);
  color: var(--m-muted-dark);
}

.mock-price-row b {
  font-weight: 500;
  color: var(--m-main);
}

.mock-price-row.is-highlight {
  border-radius: 4px;
  background: rgba(180, 83, 9, 0.1);
  color: var(--m-attention);
}

.mock-doc-line {
  display: block;
  height: 6px;
  border-radius: 3px;
  background: rgba(20, 20, 20, 0.07);
}

.mock-doc-line.is-short {
  width: 64%;
}

.mock-doc-line.is-marked {
  background: rgba(180, 83, 9, 0.3);
}

.mock-bars {
  display: flex;
  height: 70px;
  align-items: flex-end;
  gap: 6px;
  padding: 0 0.25rem;
}

.mock-bars span {
  flex: 1;
  height: var(--h);
  border-radius: 3px 3px 0 0;
  background: rgba(39, 120, 193, 0.22);
}

.mock-bars span.is-current {
  background: var(--m-accent);
}

.mock-screen-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.375rem 0.5rem;
  border: 1px solid var(--m-split);
  border-top: none;
  border-radius: 0 0 8px 8px;
  background: var(--m-surface);
  font-size: var(--m-font-sm);
  color: var(--m-muted);
}

.mock-button {
  padding: 0.1875rem 0.5rem;
  border: 1px solid var(--m-split);
  border-radius: 6px;
  color: var(--m-main);
}

.mock-diff-scroll {
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

.mock-diff-scroll .mock-code {
  flex: none;
  overflow: visible;
}

.mock-diff-file {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  border-bottom: 1px solid var(--m-divider-subtle);
  font-family: var(--m-mono);
  font-size: var(--m-font-sm);
}

.mock-code {
  min-height: 0;
  flex: 1;
  margin: 0;
  padding: 0.375rem 0;
  overflow: hidden;
  font-family: var(--m-mono);
  font-size: 10.5px;
  font-variant-ligatures: none;
  line-height: 1.6;
  color: var(--m-main);
  /* Newlines between the block lines must collapse, or every line doubles. */
  white-space: normal;
}

.mock-code span {
  display: block;
  min-height: 1.6em;
  padding: 0 0.75rem;
  white-space: pre;
}

.mock-shot {
  width: min(100%, 420px);
  margin: 0.75rem 0 0;
}

.mock-shot-img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--m-split);
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(20, 20, 20, 0.08);
}

.mock-shot figcaption {
  margin-top: 0.375rem;
  font-size: var(--m-font-sm);
  color: var(--m-muted);
}

.mock-code .ctx {
  color: var(--m-muted-dark);
}

.mock-code .add {
  background: rgba(6, 118, 71, 0.08);
  color: #05603a;
}

.mock-code .del {
  background: rgba(180, 35, 24, 0.07);
  color: #912018;
}

.mock-terminal .add,
.mock-terminal .del {
  background: none;
}

.mock-terminal .cmd {
  margin-top: 0.125rem;
  font-weight: 600;
}

@media (min-width: 768px) {
  .demo-stage {
    margin-top: 4rem;
  }

  .demo-stage-inner {
    padding: 1.75rem 4rem 2.5rem;
  }

  .mock-body {
    grid-template-columns: 240px minmax(0, 1fr);
    min-height: 720px;
  }

  .mock-sidebar {
    border-bottom: none;
    border-right: 1px solid var(--m-split);
  }

  .mock-sidebar-bottom {
    display: block;
  }
}

@media (min-width: 1024px) {
  .mock-body {
    grid-template-columns: 240px minmax(0, 1fr) minmax(300px, 38%);
  }

  .mock-panel {
    display: flex;
  }
}

@media (prefers-reduced-motion: reduce) {
  .demo-panel {
    animation: none;
  }

  .mock-running {
    animation: none;
  }
}

/* Sections */
.section {
  margin-top: 4rem;
}

.section-title {
  margin: 0;
  text-align: center;
  font-size: 1.25rem;
  font-weight: 600;
}

/* Agents and employees sections */
.shell-section {
  display: grid;
  gap: 2rem;
  align-items: center;
  scroll-margin-top: calc(var(--public-site-header-offset, 3.5rem) + 1rem);
}

.shell-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4375rem;
  margin: 0;
  padding: 0.3125rem 0.75rem;
  border: 1px solid rgb(15 23 42 / 0.12);
  border-radius: 999px;
  background: #fff;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #252f3d;
}

.shell-eyebrow svg {
  width: 14px;
  height: 14px;
}

.shell-title {
  margin: 1rem 0 0;
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.125rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #252f3d;
}

.shell-lead {
  margin: 1rem 0 0;
  max-width: 36rem;
  font-size: 1rem;
  line-height: 1.65;
  color: #5c6675;
}

.shell-points {
  display: grid;
  gap: 0.75rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.shell-points li {
  position: relative;
  padding-left: 1.25rem;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: #5c6675;
}

.shell-points li::before {
  position: absolute;
  top: 0.62em;
  left: 0.125rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #252f3d;
  content: "";
}

.shell-points strong {
  font-weight: 600;
  color: #252f3d;
}

.shell-demo-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  margin-top: 1.75rem;
  padding-bottom: 0.125rem;
  border-bottom: 1px solid rgb(37 47 61 / 0.25);
  font-size: 0.9375rem;
  font-weight: 500;
  color: #252f3d;
  text-decoration: none;
  transition: border-color 0.15s;
}

.shell-demo-link:hover {
  border-bottom-color: #252f3d;
}

.shell-demo-link svg {
  width: 14px;
  height: 14px;
}

.shell-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.25rem;
  border-radius: 12px;
  background: url("/mountains-illustration.png") center 30% / cover no-repeat;
}

/* Code section: the visual is a full Code screen, not a half-column card. */
.shell-section--screen {
  align-items: start;
}

.shell-section--screen .shell-section-copy {
  max-width: 42rem;
}

.code-screen-stage.shell-visual {
  width: 100%;
  padding: 1rem;
}

.code-screen-scroll {
  width: 100%;
  container-type: inline-size;
}

/* Narrow: sidebar, chat, and Changes stack so none of them is clipped. */
.code-screen .mock-body {
  grid-template-columns: minmax(0, 1fr);
}

.code-screen .mock-sidebar {
  border-right: none;
  border-bottom: 1px solid var(--m-split);
}

.code-screen .mock-sidebar-bottom {
  display: block;
}

.code-screen .mock-session {
  cursor: default;
}

.code-screen .mock-main {
  min-height: 420px;
}

.code-screen .mock-panel {
  display: flex;
  min-height: 320px;
  border-top: 1px solid var(--m-split);
}

@container (min-width: 880px) {
  .code-screen .mock-body {
    grid-template-columns: 240px minmax(0, 1fr) minmax(300px, 36%);
    min-height: 720px;
  }

  .code-screen .mock-sidebar {
    border-bottom: none;
    border-right: 1px solid var(--m-split);
  }

  .code-screen .mock-main {
    min-height: 0;
  }

  .code-screen .mock-panel {
    min-height: 0;
    border-top: none;
    border-left: 1px solid var(--m-split);
  }
}

.mock-card {
  width: 100%;
  max-width: 400px;
  padding: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 12px;
  background: var(--m-panel-main);
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.16),
    0 0 0 1px rgba(0, 0, 0, 0.05);
}

.mock-card-label {
  margin: 0.125rem 0.5rem 0.375rem;
  font-size: var(--m-font-sm);
  color: var(--m-muted);
}

.mock-role {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.4375rem 0.5rem;
  border-radius: 6px;
}

.mock-role:first-of-type {
  background: var(--m-selected);
}

.mock-role-icon {
  display: flex;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(20, 20, 20, 0.06);
  color: var(--m-muted-dark);
}

.mock-role-icon svg {
  width: 14px;
  height: 14px;
}

.mock-role-text {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 1px;
  line-height: 1.35;
}

.mock-role-name {
  font-weight: 500;
}

.mock-role-hint {
  font-size: var(--m-font-sm);
  color: var(--m-muted);
}

.mock-card .mock-composer {
  align-items: flex-start;
}

.mock-card .mock-composer-text {
  white-space: normal;
}

.mock-card .mock-composer-meta {
  padding-bottom: 0.25rem;
}

.mock-card .mock-result-card {
  margin-top: 0.625rem;
}

.steps-grid {
  margin-top: 2.5rem;
  display: grid;
  gap: 2rem;
}

.step-card .step-num {
  display: flex;
  width: 2rem;
  height: 2rem;
  align-items: center;
  justify-content: center;
  border: 1px solid rgb(15 23 42 / 0.12);
  border-radius: 50%;
  background: #fff;
  color: #252f3d;
  font-size: 0.875rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.step-card h3 {
  margin: 0.75rem 0 0;
  font-size: 1rem;
  font-weight: 600;
}

.step-card p {
  margin: 0.5rem 0 0;
  font-size: 0.875rem;
  line-height: 1.6;
  color: #5c6675;
}

/* CTA */
.cta-actions {
  margin-top: 4rem;
  display: flex;
  justify-content: center;
}

@media (min-width: 768px) {
  .section {
    margin-top: 6rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .shell-visual {
    padding: 3rem 2rem;
  }
}

@media (min-width: 960px) {
  .shell-section {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 4rem;
  }

  .shell-section--screen {
    grid-template-columns: minmax(0, 1fr);
  }

  .code-screen-stage.shell-visual {
    padding: 1.25rem;
  }
}

.shell-switch {
  margin: 1.25rem 0 0;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: #5c6675;
}

.shell-switch a {
  color: #252f3d;
  text-decoration: underline;
  text-decoration-color: rgb(37 47 61 / 0.25);
  text-underline-offset: 0.2em;
}

.shell-switch a:hover {
  text-decoration-color: #252f3d;
}

/* Employee face: the app draws a coloured head with eyes (ADR 0133). */
.mock-face {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle at 36% 46%, #fff 0 1.1px, transparent 1.5px),
    radial-gradient(circle at 64% 46%, #fff 0 1.1px, transparent 1.5px),
    var(--mock-face, #3f7d3a);
}

.mock-face--coach {
  --mock-face: #c2410c;
}

.mock-face--analyst {
  --mock-face: #2778c1;
}

/* Agents a chat started: one card with each agent and where it runs. */
.mock-agents-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.375rem;
  padding: 0.625rem 0.75rem;
  border: 1px solid var(--m-split);
  border-radius: 10px;
  background: var(--m-surface);
}

.mock-agents-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0;
  font-size: var(--m-font-sm);
  color: var(--m-muted);
}

.mock-agents-head svg {
  width: 12px;
  height: 12px;
}

.mock-agents-row {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 0.5rem;
  color: var(--m-secondary);
}

.mock-agents-check {
  width: 12px;
  height: 12px;
  color: var(--m-muted);
}

.mock-agents-title {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mock-agents-place {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  white-space: nowrap;
  gap: 0.25rem;
  font-size: var(--m-font-sm);
  color: var(--m-muted);
}

.mock-agents-place svg {
  width: 12px;
  height: 12px;
}

.mock-agents-detail {
  margin: 0 0 0 1.25rem;
  font-size: var(--m-font-sm);
  color: var(--m-muted);
}

.mock-folder-toggle {
  cursor: pointer;
}

.mock-folder-toggle:hover {
  background: var(--m-hover);
}

/*
 * Scripted demo (plan 0055): role tabs, controls and the chat blocks the
 * product mock of `landing.css` does not have yet — a question with options,
 * a routine or memory line, a drawing in the reply, a «да» card. Colors are
 * the mock tokens (`--m-*`), so a block looks like the app.
 */

.demo-player {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Role tabs above the window. On a phone they scroll sideways. */
.demo-roles {
  display: flex;
  gap: 0.375rem;
  margin: 0 auto;
  max-width: 100%;
  padding: 0.25rem;
  overflow-x: auto;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.72);
  box-shadow: 0 1px 3px rgb(0 0 0 / 0.08);
  backdrop-filter: blur(8px);
  scrollbar-width: none;
}

.demo-roles::-webkit-scrollbar {
  display: none;
}

.demo-role {
  flex-shrink: 0;
  padding: 0.4375rem 1rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #3d4654;
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 500;
  cursor: pointer;
  transition:
    background 0.15s,
    color 0.15s;
}

.demo-role:hover {
  background: rgb(15 23 42 / 0.06);
}

.demo-role.is-active {
  background: #0f172a;
  color: #fff;
}

.demo-role:focus-visible,
.demo-control:focus-visible {
  outline: 2px solid #2778c1;
  outline-offset: 2px;
}

/* Replay / try. */
.demo-controls {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.demo-control {
  display: inline-flex;
  align-items: center;
  gap: 0.4375rem;
  padding: 0.5rem 0.875rem;
  border: 0;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.82);
  box-shadow: 0 1px 3px rgb(0 0 0 / 0.08);
  color: #252f3d;
  font: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
}

.demo-control:hover {
  background: #fff;
}

.demo-control svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.demo-control--try {
  background: #0f172a;
  color: #fff;
}

.demo-control--try:hover {
  background: #1e293b;
}

/* Steps: hidden until the player reaches them, then fade in. */
.demo-player [data-demo-step].is-pending,
.demo-player .mock-agent-list > li.is-pending {
  display: none;
}

.demo-player.is-playing [data-demo-step],
.demo-player.is-playing .mock-agent-list > li {
  animation: demo-step-in 0.24s ease;
}

@keyframes demo-step-in {
  from {
    opacity: 0;
    transform: translateY(4px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.demo-player .mock-transcript-scroll {
  scroll-behavior: smooth;
}

/* Question with options: the app's «Вопросы» card. */
.demo-question {
  padding: 0.625rem 0.75rem 0.5rem;
  border: 1px solid var(--m-split);
  border-radius: 10px;
  background: var(--m-surface);
  box-shadow: 0 2px 8px rgb(0 0 0 / 0.04);
}

.demo-question-head {
  margin: 0;
  font-size: var(--m-font-sm);
  color: var(--m-muted);
}

.demo-question-title {
  margin: 0.375rem 0 0.5rem;
  font-weight: 600;
  line-height: 1.45;
}

.demo-question-options {
  display: grid;
  gap: 0.125rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.demo-question-option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3125rem 0.375rem;
  border-radius: 6px;
  line-height: 1.4;
  transition: background 0.2s;
}

.demo-question-option.is-picked {
  background: var(--m-selected);
  font-weight: 500;
}

.demo-question-letter {
  display: inline-grid;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  place-items: center;
  border-radius: 4px;
  background: var(--m-sunken);
  font-size: var(--m-font-xs);
  color: var(--m-muted-dark);
}

.demo-question-option.is-picked .demo-question-letter {
  background: var(--m-main);
  color: #fff;
}

.demo-question-hint {
  margin-left: 0.25rem;
  font-weight: 400;
  color: var(--m-muted);
}

.demo-question-foot {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.75rem;
  margin: 0.375rem 0 0;
  font-size: var(--m-font-sm);
  color: var(--m-muted);
}

.demo-question-continue {
  padding: 0.25rem 0.625rem;
  border-radius: 6px;
  background: var(--m-accent);
  color: #fff;
  opacity: 0.45;
  transition: opacity 0.2s;
}

/* «Продолжить» lights up once an option is picked. */
.demo-question:has(.is-picked) .demo-question-continue {
  opacity: 1;
}

/* Answered: the card stays, without the buttons — as in the app. */
.demo-question:not(.is-asking) .demo-question-foot {
  display: none;
}

/* Agent rows: blinking dot while running, then a check. */
.demo-agent-status {
  display: inline-grid;
  width: 12px;
  place-items: center;
}

.mock-agents-row .mock-running,
.mock-agents-row.is-running .mock-agents-check {
  display: none;
}

.mock-agents-row.is-running .mock-running {
  display: block;
}

/* «Создал рутину», «Запомнил», «Учту»: one quiet line with an icon. */
.demo-event {
  display: flex;
  align-items: center;
  gap: 0.4375rem;
  margin: 0;
  padding: 0 0.25rem;
  line-height: 1.4;
  color: var(--m-muted-dark);
}

.demo-event svg {
  width: 13px;
  height: 13px;
  color: var(--m-muted);
}

.demo-event strong {
  font-weight: 500;
  color: var(--m-main);
}

.demo-event-action {
  margin-left: auto;
  font-size: var(--m-font-sm);
  color: var(--m-muted);
}

/* A drawing in the reply: bars grow when the step is drawn. */
.demo-chart {
  margin: 0;
  padding: 0.625rem 0.75rem 0.5rem;
  border: 1px solid var(--m-split);
  border-radius: 10px;
  background: var(--m-surface);
}

.demo-chart-title {
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.demo-chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 0.5rem;
  height: 110px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.demo-chart-bar {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 0.1875rem;
  height: 100%;
}

.demo-chart-fill {
  width: 100%;
  height: var(--demo-bar);
  border-radius: 4px 4px 2px 2px;
  background: var(--m-accent);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.demo-chart.is-drawn .demo-chart-fill {
  transform: scaleY(1);
}

.demo-chart-bar.is-highlight .demo-chart-fill {
  background: var(--m-attention);
}

.demo-chart-value {
  font-size: var(--m-font-xs);
  color: var(--m-muted-dark);
  font-variant-numeric: tabular-nums;
}

.demo-chart-label {
  font-size: var(--m-font-xs);
  color: var(--m-muted);
}

.demo-chart-note {
  margin: 0.5rem 0 0;
  font-size: var(--m-font-sm);
  color: var(--m-muted-dark);
}

/* «Ждёт вашего «да»»: the visitor can press it. */
.demo-approve {
  padding: 0.125rem 0.625rem;
  border: 0;
  border-radius: 6px;
  background: var(--m-main);
  color: #fff;
  font: inherit;
  font-size: var(--m-font-sm);
  cursor: pointer;
}

.demo-approve:hover:not(:disabled) {
  background: #333;
}

.demo-approval.is-sent .demo-approve {
  background: transparent;
  color: var(--m-added);
  cursor: default;
}

/* Phone: tabs wrap instead of hiding a role; the sidebar would push the chat
 * below the fold, and the tabs already switch roles. */
@media (max-width: 767px) {
  .demo-roles {
    flex-wrap: wrap;
    justify-content: center;
    border-radius: 16px;
  }

  .demo-player .mock-sidebar {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .demo-player.is-playing [data-demo-step],
  .demo-player.is-playing .mock-agent-list > li {
    animation: none;
  }

  .demo-chart-fill {
    transition: none;
  }
}

/* One scenario as a card on a showcase page. */
.demo-card {
  position: relative;
  max-width: 440px;
  text-align: left;
}

.demo-card .demo-panel {
  animation: none;
}

.demo-card-replay {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--m-muted);
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.15s;
}

.demo-card:hover .demo-card-replay,
.demo-card-replay:focus-visible {
  opacity: 1;
}

.demo-card-replay:hover {
  background: var(--m-hover);
}

.demo-card-replay svg {
  width: 14px;
  height: 14px;
}

.demo-player .demo-phone-message.is-pending {
  display: none;
}

/* Cloud screen inside a reply. */
.demo-screen {
  overflow: hidden;
  border: 1px solid var(--m-split);
  border-radius: 10px;
  background: var(--m-surface);
}

.demo-screen .mock-screen {
  border: 0;
  border-radius: 0;
}

/* Telegram chat with the employee's bot. */
.demo-phone {
  max-width: 300px;
  margin: 0 auto;
  overflow: hidden;
  border: 6px solid #1d1d1f;
  border-radius: 22px;
  background: #dfe7ee;
}

.demo-phone-head {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  margin: 0;
  padding: 0.5rem 0.75rem;
  background: #fff;
  font-weight: 600;
}

.demo-phone-head svg {
  width: 13px;
  height: 13px;
  color: #2a9fd8;
}

.demo-phone-messages {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  margin: 0;
  padding: 0.625rem;
  list-style: none;
}

.demo-phone-message {
  display: flex;
  max-width: 85%;
  flex-direction: column;
  gap: 0.125rem;
  padding: 0.375rem 0.5625rem;
  border-radius: 12px;
  line-height: 1.4;
}

.demo-phone-message--bot {
  align-self: flex-start;
  border-bottom-left-radius: 4px;
  background: #fff;
}

.demo-phone-message--me {
  align-self: flex-end;
  border-bottom-right-radius: 4px;
  background: #e1f7d1;
}

.demo-phone-message time {
  align-self: flex-end;
  font-size: var(--m-font-xs);
  color: var(--m-muted);
}

/* Voice input: listening, then the recognised text to accept. */
.demo-voice {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.625rem;
  border: 1px solid var(--m-split);
  border-radius: 12px;
  background: var(--m-surface);
}

.demo-voice-wave {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  height: 18px;
}

.demo-voice-wave i {
  width: 2px;
  height: 30%;
  border-radius: 1px;
  background: var(--m-accent);
}

.demo-voice.is-listening .demo-voice-wave i {
  animation: demo-voice-bar 0.9s ease-in-out infinite;
}

.demo-voice-wave i:nth-child(3n) {
  animation-delay: -0.3s;
}

.demo-voice-wave i:nth-child(3n + 1) {
  animation-delay: -0.6s;
}

@keyframes demo-voice-bar {
  0%,
  100% {
    height: 25%;
  }

  50% {
    height: 100%;
  }
}

.demo-voice-label {
  color: var(--m-muted);
}

.demo-voice-text {
  grid-column: 1 / -1;
  line-height: 1.45;
}

.demo-voice:not(.is-listening) .demo-voice-label,
.demo-voice.is-listening .demo-voice-text,
.demo-voice.is-listening .demo-voice-actions {
  display: none;
}

.demo-voice:not(.is-listening) {
  grid-template-columns: auto 1fr;
}

.demo-voice:not(.is-listening) .demo-voice-text {
  grid-column: 2;
  grid-row: 1;
}

.demo-voice:not(.is-listening) .demo-voice-actions {
  grid-column: 1 / -1;
  justify-self: end;
}

.demo-voice-actions {
  display: inline-flex;
  gap: 0.5rem;
  color: var(--m-muted-dark);
}

.demo-voice-actions svg {
  width: 14px;
  height: 14px;
}

/* A card that is only a phone needs no second frame around it. */
.demo-card:has(> .demo-panel .demo-phone:only-child) {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

/*
 * Home page `/ru` for business (plan 0053). The bundle is chrome +
 * public-page + landing.css (hero, prompt field, section rhythm) + this file:
 * only the blocks the product tour page does not have live here. Colors are
 * the public-site brand palette of landing.css, not app tokens.
 */

.home .hero-subtitle.home-hero-subtitle {
  max-width: 44rem;
}

.home-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8125rem 1.375rem;
  border: 1px solid rgb(15 23 42 / 0.18);
  border-radius: 6px;
  background: #fff;
  color: #0f172a;
  font: inherit;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition:
    border-color 0.15s,
    background 0.15s;
}

.btn-secondary:hover {
  border-color: #0f172a;
}

.btn-secondary:focus-visible,
.btn-primary:focus-visible {
  outline: 2px solid #2778c1;
  outline-offset: 2px;
}

.home-hero-note {
  margin: 0;
  font-size: 0.875rem;
  color: #5c6675;
}

.home-hero-note a {
  color: #252f3d;
  text-decoration: underline;
  text-decoration-color: rgb(37 47 61 / 0.3);
  text-underline-offset: 0.2em;
}

.home-hero-note a:hover {
  text-decoration-color: #252f3d;
}

/* Download is a link, not the main action: the label still follows the OS. */
.home-download-link.is-pending {
  pointer-events: none;
}

/* Ready-made tasks under the hero field: a click fills the field. */
.home-prompt-examples {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  max-width: 48rem;
  margin: -0.5rem auto 0;
}

.home-prompt-example {
  padding: 0.375rem 0.875rem;
  border: 1px solid rgb(15 23 42 / 0.12);
  border-radius: 999px;
  background: rgb(255 255 255 / 0.7);
  color: #3d4654;
  font: inherit;
  font-size: 0.875rem;
  cursor: pointer;
  transition:
    border-color 0.15s,
    background 0.15s;
}

.home-prompt-example:hover {
  border-color: rgb(15 23 42 / 0.3);
  background: #fff;
}

.home-prompt-example:focus-visible {
  outline: 2px solid #2778c1;
  outline-offset: 2px;
}

.home-demo + .home-demo-more {
  margin-top: 1.25rem;
}

/* Systems the employees already connect to — instead of customer logos. */
.home-sources {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin: 2.5rem auto 0;
  padding: 0;
  max-width: 58rem;
  list-style: none;
}

.home-sources li {
  padding: 0.3125rem 0.75rem;
  border: 1px solid rgb(15 23 42 / 0.1);
  border-radius: 999px;
  background: #fff;
  font-size: 0.8125rem;
  color: #3d4654;
}

.home-section {
  scroll-margin-top: calc(var(--public-site-header-offset, 3.5rem) + 1rem);
}

.home-section-head {
  max-width: 44rem;
  margin: 0 auto;
  text-align: center;
}

.home-title {
  margin: 0;
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.125rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #252f3d;
}

.home-lead {
  margin: 1rem 0 0;
  font-size: 1rem;
  line-height: 1.65;
  color: #5c6675;
}

/* Roles */
.home-roles {
  display: grid;
  gap: 1rem;
  margin-top: 2.5rem;
}

.home-role,
.home-card,
.home-plan {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 1.5rem;
  border: 1px solid rgb(15 23 42 / 0.1);
  border-radius: 12px;
  background: #fff;
}

.home-role-kicker {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #5c6675;
}

.home svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.home-role-kicker svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.home-role-title {
  margin: 0.75rem 0 0;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #252f3d;
}

.home-role-task {
  margin: 0.75rem 0 0;
  padding: 0.625rem 0.875rem;
  border-radius: 8px;
  background: #f3f3f0;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: #252f3d;
}

.home-role-result {
  display: grid;
  flex: 1 0 auto;
  align-content: start;
  gap: 0.5rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.home-role-result li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: #3d4654;
}

.home-role-result li::before {
  position: absolute;
  top: 0.15em;
  left: 0;
  width: 1rem;
  height: 1rem;
  /* Check mark, same stroke as the icon sprite. */
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23067647' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E")
    center / contain no-repeat;
  content: "";
}

.home-role-sources {
  margin: 1.25rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid rgb(15 23 42 / 0.08);
  font-size: 0.9375rem;
  line-height: 1.5;
  color: #252f3d;
}

.home-role-sources span {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #8b95a5;
}

.home-own-role {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  margin-top: 1rem;
  padding: 1.25rem 1.5rem;
  border: 1px dashed rgb(15 23 42 / 0.2);
  border-radius: 12px;
}

.home-own-role p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: #3d4654;
}

.home-own-role strong {
  color: #252f3d;
}

.home .shell-demo-link {
  display: flex;
  width: fit-content;
  margin: 1.5rem auto 0;
}

/* Status of a promise that is not shipped yet: never shown as ready. */
.home-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.125rem 0.5rem;
  border-radius: 999px;
  background: #fef3c7;
  color: #8d4a2b;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.4;
  white-space: nowrap;
}

.home-tag[data-status="live"] {
  background: #dcfce7;
  color: #067647;
}

.home-tag[data-status="pilot"] {
  background: #e0ecf8;
  color: #1f5f99;
}

.home-tag[data-status="plan"] {
  background: #eef0f3;
  color: #5c6675;
}

/* Pilot steps */
.home-steps {
  display: grid;
  gap: 1rem;
  margin: 2.5rem 0 0;
  padding: 0;
  list-style: none;
  counter-reset: home-step;
}

.home-steps li {
  position: relative;
  padding: 1.25rem 1.25rem 1.25rem 3.75rem;
  border-radius: 12px;
  background: #fff;
  border: 1px solid rgb(15 23 42 / 0.1);
  counter-increment: home-step;
}

.home-steps li::before {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  display: flex;
  width: 1.75rem;
  height: 1.75rem;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #0f172a;
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  content: counter(home-step);
}

.home-steps h3,
.home-card h3,
.home-plan h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: #252f3d;
}

.home-steps p,
.home-card p,
.home-plan p {
  margin: 0.5rem 0 0;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: #5c6675;
}

/* Pilot request: the form or the founder's Telegram. */
.home-contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
  text-align: center;
}

.home-contact p {
  margin: 0;
  font-size: 0.9375rem;
  color: #5c6675;
}

.home-contact a {
  color: #252f3d;
  font-weight: 500;
  text-underline-offset: 0.2em;
}

/* Security and cases */
.home-grid {
  display: grid;
  gap: 1rem;
  margin-top: 2.5rem;
}

.home-card-icon {
  width: 22px;
  height: 22px;
  margin-bottom: 0.875rem;
  color: #252f3d;
}

.home-card a {
  color: #252f3d;
  text-underline-offset: 2px;
}

.home-card .home-card-note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 1rem;
  font-size: 0.875rem;
  color: #3d4654;
}

.home-card--accent,
.home-plan--accent {
  border-color: #0f172a;
}

.home-card .btn-secondary,
.home-plan .btn-secondary {
  align-self: flex-start;
  margin-top: auto;
}

.home-card--accent p {
  margin-bottom: 1.25rem;
}

/* Pricing */
.home-plans {
  display: grid;
  gap: 1rem;
  margin-top: 2.5rem;
}

.home-plan-price {
  margin: 0.5rem 0 0;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.home-plan .home-plan-price {
  font-size: 1.5rem;
  line-height: 1.2;
  color: #252f3d;
}

.home-plan-price span {
  font-size: 1rem;
  font-weight: 500;
  color: #5c6675;
}

.home-plan > p:not(.home-plan-price) {
  margin-bottom: 1.25rem;
}

.home-plan-link {
  align-self: flex-start;
  margin-top: auto;
  font-size: 0.9375rem;
  font-weight: 500;
  color: #252f3d;
  text-decoration: underline;
  text-decoration-color: rgb(37 47 61 / 0.3);
  text-underline-offset: 0.2em;
}

.home-plan-link:hover {
  text-decoration-color: #252f3d;
}

.home-plan-list {
  display: grid;
  gap: 0.625rem;
  margin: 0.75rem 0 1.25rem;
  padding: 0;
  list-style: none;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: #5c6675;
}

.home-plan-list .home-tag {
  margin-right: 0.375rem;
}

.home-note {
  margin: 1rem 0 0;
  text-align: center;
  font-size: 0.875rem;
  color: #8b95a5;
}

/* FAQ */
.home-faq {
  max-width: 46rem;
  margin: 2rem auto 0;
}

.home-faq-item {
  border-bottom: 1px solid rgb(15 23 42 / 0.1);
}

.home-faq-item summary {
  padding: 1rem 0;
  font-size: 1rem;
  font-weight: 500;
  color: #252f3d;
  cursor: pointer;
}

.home-faq-item p {
  margin: 0 0 1rem;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: #3d4654;
}

/* Developers */
.home-dev {
  max-width: 44rem;
  margin-inline: auto;
  text-align: center;
}

.home-dev .home-title {
  margin-top: 1rem;
}

/* Closing CTA */
.home-final {
  margin-top: 4rem;
  padding: 2.5rem 1.5rem;
  border-radius: 12px;
  background: url("/mountains-illustration.png") center 30% / cover no-repeat;
  text-align: center;
}

.home-final .home-title {
  display: inline-block;
  margin-bottom: 1.5rem;
  padding: 0.25rem 0.75rem;
  border-radius: 8px;
  background: rgb(247 247 244 / 0.88);
}

.home-final .home-hero-note {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.25rem 0.75rem;
  border-radius: 8px;
  background: rgb(247 247 244 / 0.88);
}

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

  .home-grid,
  .home-plans {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-contact {
    flex-direction: row;
    justify-content: center;
    gap: 1rem;
  }

  .home-own-role {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .home-own-role .btn-secondary {
    flex-shrink: 0;
  }

  .home-final {
    margin-top: 6rem;
    padding: 4rem 2rem;
  }
}

@media (min-width: 1024px) {
  .home-roles {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .home-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .home-plans,
  .home-steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .home-grid--cases {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 48rem;
    margin-inline: auto;
  }

  .home-steps li {
    padding: 3.75rem 1.25rem 1.25rem;
  }
}

/* «Не чат-бот, а коллега» (plan 0055, phase 2): four rows, copy and a live
 * card on the mountains; every other row puts the card first. */
.home-features .home-feature {
  margin-top: 3.5rem;
}

.home-feature .mock-card {
  display: flex;
  max-width: 440px;
  flex-direction: column;
  gap: 0.625rem;
  text-align: left;
}

.home-feature .mock-card button {
  font: inherit;
}

@media (min-width: 960px) {
  .home-features .home-feature {
    margin-top: 5rem;
  }

  .home-feature--flip .shell-visual {
    order: -1;
  }
}

.home-feature-reset {
  align-self: flex-start;
  padding: 0;
  border: 0;
  background: none;
  color: var(--m-muted);
  font-size: var(--m-font-sm);
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

.home-feature-reset[hidden] {
  display: none;
}

/* Question: options are real buttons here. */
.home-feature .demo-question-options li {
  display: block;
}

.home-feature .demo-question-option {
  width: 100%;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.home-feature .demo-question-option:hover:not(:disabled) {
  background: var(--m-hover);
}

.home-feature .demo-question-option.is-picked {
  background: var(--m-selected);
}

.home-feature .demo-question-option:disabled {
  cursor: default;
}

.home-feature .demo-question-skip {
  padding: 0;
  border: 0;
  background: none;
  color: var(--m-muted);
  cursor: pointer;
}

.home-feature .demo-question-continue {
  border: 0;
  cursor: pointer;
}

.home-feature .demo-question-continue:disabled {
  cursor: default;
}

.home-feature [data-question-reply][hidden] {
  display: none;
}

/* Calculator drawn in the reply. */
.home-calc {
  display: grid;
  gap: 0.5rem;
  margin: 0;
  padding: 0.75rem;
  border: 1px solid var(--m-split);
  border-radius: 10px;
  background: var(--m-surface);
}

.home-calc-title {
  margin: 0;
  font-weight: 600;
}

.home-calc-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.125rem 0.5rem;
  align-items: center;
  color: var(--m-muted-dark);
}

.home-calc-row output {
  font-weight: 500;
  color: var(--m-main);
  font-variant-numeric: tabular-nums;
}

.home-calc-row input {
  grid-column: 1 / -1;
  width: 100%;
  margin: 0;
  accent-color: var(--m-accent);
}

.home-calc-check {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  color: var(--m-muted-dark);
}

.home-calc-check input {
  margin: 0;
  accent-color: var(--m-accent);
}

.home-calc-sum {
  display: grid;
  gap: 0.25rem;
  margin: 0.25rem 0 0;
  padding-top: 0.5rem;
  border-top: 1px solid var(--m-split);
}

.home-calc-sum div {
  display: flex;
  justify-content: space-between;
}

.home-calc-sum dt {
  color: var(--m-muted-dark);
}

.home-calc-sum dd {
  margin: 0;
  font-variant-numeric: tabular-nums;
}

.home-calc-total dt,
.home-calc-total dd {
  font-size: 15px;
  font-weight: 600;
  color: var(--m-main);
}

.home-calc-ask {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 0.25rem;
  padding: 0.25rem 0.5rem;
  border: 1px solid var(--m-split);
  border-radius: 6px;
  background: var(--m-sunken);
  color: var(--m-secondary);
  font-size: var(--m-font-sm);
  cursor: pointer;
}

.home-calc-ask:hover {
  background: var(--m-hover);
}

.home-calc-ask svg {
  width: 12px;
  height: 12px;
}

/* Artifact card with a live preview of the page. */
.home-artifact-head {
  display: flex;
  align-items: center;
  gap: 0.4375rem;
}

.home-artifact-name {
  font-weight: 600;
}

.home-artifact-kind {
  margin-left: auto;
  font-size: var(--m-font-sm);
  color: var(--m-muted);
}

.home-artifact-preview {
  position: relative;
  height: 220px;
  overflow: hidden;
  border: 1px solid var(--m-split);
  border-radius: 8px;
  background: #f3f3f0;
}

/* The page renders at desktop width and shrinks, as in the app's preview. */
.home-artifact-preview iframe {
  width: 200%;
  height: 200%;
  border: 0;
  transform: scale(0.5);
  transform-origin: 0 0;
  pointer-events: none;
}

.home-artifact-actions {
  display: flex;
  gap: 0.5rem;
}

.home-artifact-button {
  padding: 0.3125rem 0.75rem;
  border: 1px solid var(--m-split);
  border-radius: 6px;
  background: var(--m-surface);
  color: var(--m-main);
  font-size: var(--m-font);
  text-decoration: none;
  cursor: pointer;
}

.home-artifact-button[hidden] {
  display: none;
}

.home-artifact-button--primary {
  border-color: var(--m-main);
  background: var(--m-main);
  color: #fff;
}

.home-artifact-published {
  display: grid;
  gap: 0.375rem;
}

.home-artifact-published[hidden] {
  display: none;
}

.home-artifact-published p {
  margin: 0;
  color: var(--m-added);
}

.home-artifact-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.5rem;
  border-radius: 6px;
  background: var(--m-sunken);
}

.home-artifact-link a {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  color: var(--m-accent);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-artifact-link button {
  flex-shrink: 0;
  padding: 0;
  border: 0;
  background: none;
  color: var(--m-muted-dark);
  font-size: var(--m-font-sm);
  cursor: pointer;
}

/* Write after «да»: the mode switch, the card, what the check decided. */
.home-modes {
  display: inline-flex;
  align-self: flex-start;
  padding: 2px;
  border-radius: 7px;
  background: var(--m-segment-track);
}

.home-mode {
  padding: 0.25rem 0.625rem;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: var(--m-muted-dark);
  cursor: pointer;
}

.home-mode.is-active {
  background: var(--m-surface);
  color: var(--m-main);
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.08);
}

.home-approval {
  padding: 0.625rem 0.75rem;
  border: 1px solid var(--m-split);
  border-radius: 10px;
  background: var(--m-surface);
}

.home-approval[hidden],
.home-review[hidden],
.home-approval-buttons[hidden],
.home-approval-result[hidden] {
  display: none;
}

.home-approval-title {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  margin: 0 0 0.5rem;
  font-weight: 600;
}

.home-approval-title svg {
  width: 13px;
  height: 13px;
  color: var(--m-muted);
}

.home-approval-mail {
  display: grid;
  gap: 0.25rem;
  margin: 0;
}

.home-approval-mail div {
  display: grid;
  grid-template-columns: 3.25rem 1fr;
  gap: 0.5rem;
}

.home-approval-mail dt {
  color: var(--m-muted);
}

.home-approval-mail dd {
  margin: 0;
  line-height: 1.45;
}

.home-approval-buttons {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  margin: 0.625rem 0 0;
}

.home-approval-buttons button {
  padding: 0.25rem 0.75rem;
  border: 1px solid var(--m-split);
  border-radius: 6px;
  background: var(--m-surface);
  color: var(--m-main);
  cursor: pointer;
}

.home-approval-buttons .is-primary {
  border-color: var(--m-main);
  background: var(--m-main);
  color: #fff;
}

.home-approval-result {
  margin: 0.625rem 0 0;
  color: var(--m-muted-dark);
}

.home-approval-result.is-sent {
  color: var(--m-added);
}

.home-review {
  display: grid;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-review li {
  display: flex;
  gap: 0.5rem;
  padding: 0.5rem 0.625rem;
  border: 1px solid var(--m-split);
  border-radius: 8px;
  background: var(--m-surface);
  line-height: 1.45;
  color: var(--m-muted-dark);
}

.home-review b {
  font-weight: 600;
  color: var(--m-main);
}

.home-review svg {
  width: 14px;
  height: 14px;
  margin-top: 1px;
  flex-shrink: 0;
}

.home-review .is-allowed svg {
  color: var(--m-added);
}

.home-review .is-stopped svg {
  color: var(--m-attention);
}

/* Under the copy, not centred like the links of the other home sections. */
.home-feature .shell-demo-link {
  margin: 1.75rem 0 0;
}

/*
 * Showcase pages `/vozmozhnosti` and `/integracii` (plan 0055, phase 3), on
 * top of the home bundle: a grid of live feature cards and the integration
 * cards built from the passports. Colors are the public-site palette.
 */

/* Home chips link to the integrations page. */
.home-sources a {
  color: inherit;
  text-decoration: none;
}

.home-sources a:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.showcase-hero {
  text-align: center;
}

.showcase-hero .shell-eyebrow {
  margin-bottom: 1rem;
}

.showcase .showcase-title {
  font-size: clamp(2rem, 1.4rem + 2.6vw, 3.25rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #252f3d;
}

.showcase-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

.showcase-nav a {
  padding: 0.375rem 0.875rem;
  border: 1px solid rgb(15 23 42 / 0.12);
  border-radius: 999px;
  background: #fff;
  color: #3d4654;
  font-size: 0.875rem;
  text-decoration: none;
}

.showcase-nav a:hover {
  border-color: rgb(15 23 42 / 0.3);
}

.showcase-group,
.showcase .home-section {
  scroll-margin-top: calc(var(--public-site-header-offset, 3.5rem) + 1rem);
}

.showcase-grid {
  display: grid;
  gap: 2.5rem 1.5rem;
  margin-top: 2.5rem;
}

.showcase-item {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.showcase-visual {
  display: flex;
  min-height: 320px;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 1rem;
  border-radius: 12px;
  background: url("/mountains-illustration.png") center 30% / cover no-repeat;
}

.showcase-visual .demo-card {
  width: 100%;
}

.showcase-item-title {
  margin: 1.25rem 0 0;
  font-size: 1.125rem;
  font-weight: 600;
  color: #252f3d;
}

.showcase-item-text {
  margin: 0.5rem 0 0;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: #5c6675;
}

.showcase-item-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin: 0.75rem 0 0;
  font-size: 0.9375rem;
}

.showcase-item-links a {
  color: #252f3d;
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: rgb(37 47 61 / 0.3);
  text-underline-offset: 0.2em;
}

.showcase-item-links a:hover {
  text-decoration-color: #252f3d;
}

.showcase-try::after {
  content: " →";
}

/* Text index of every capability, links to the docs. */
.showcase-index-grid {
  display: grid;
  gap: 2rem;
  margin-top: 2.5rem;
}

.showcase-index-grid h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: #252f3d;
}

.showcase-index-grid ul {
  display: grid;
  gap: 0.5rem;
  margin: 0.75rem 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: #5c6675;
}

.showcase-index-grid a {
  color: #252f3d;
  font-weight: 500;
  text-underline-offset: 2px;
}

/* Integrations */
.showcase-count {
  margin: 1.5rem 0 0;
  font-size: 1rem;
  color: #5c6675;
}

.showcase-count b {
  color: #252f3d;
}

.integration-grid {
  display: grid;
  gap: 1rem;
  margin-top: 2.5rem;
}

.integration-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 0.625rem;
  padding: 1.25rem;
  border: 1px solid rgb(15 23 42 / 0.1);
  border-radius: 12px;
  background: #fff;
}

.integration-card-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.integration-card-name {
  display: flex;
  flex: 1;
  min-width: 0;
  flex-direction: column;
}

.integration-card-name span {
  font-size: 0.75rem;
  color: #8b95a5;
}

.integration-card h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: #252f3d;
}

.integration-card p {
  flex: 1;
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: #5c6675;
}

/* Two letters on a category color: no third-party logos. */
.integration-mark {
  display: grid;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 9px;
  background: #eef0f3;
  color: #252f3d;
  font-size: 0.8125rem;
  font-weight: 600;
}

.integration-mark[data-category="registries"] {
  background: #e0ecf8;
  color: #1f5f99;
}

.integration-mark[data-category="mail"],
.integration-mark[data-category="messengers"] {
  background: #e6f4ea;
  color: #067647;
}

.integration-mark[data-category="crm"],
.integration-mark[data-category="accounting"] {
  background: #fef3c7;
  color: #8d4a2b;
}

.integration-mark[data-category="banking"],
.integration-mark[data-category="marketplaces"] {
  background: #f3e8ff;
  color: #6b21a8;
}

.integration-action {
  align-self: flex-start;
  padding: 0;
  border: 0;
  background: none;
  color: #252f3d;
  font: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: rgb(37 47 61 / 0.3);
  text-underline-offset: 0.2em;
  cursor: pointer;
}

.integration-card[data-integration-status="planned"] {
  background: #fbfbf9;
}

.showcase-pair {
  margin-top: 0;
}

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

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

@media (min-width: 1024px) {
  .integration-grid,
  .showcase-index-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .showcase-pair {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
