/**
 * 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: none;
  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);
}

@media (min-width: 768px) {
  .site-nav,
  .public-site-nav {
    display: flex;
    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;
  }

  /* The header «Скачать» button is visible here: the nav tab would repeat it. */
  .site-nav [data-nav="download"],
  .public-site-nav [data-nav="download"] {
    display: none;
  }
}

/* Narrow tablets: five tabs between the brand and the header buttons. */
@media (min-width: 768px) and (max-width: 899px) {
  .site-nav,
  .public-site-nav {
    gap: 0.75rem;
  }
}

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

@media (max-width: 767px) {
  :root {
    --public-site-header-offset: calc(
      5.75rem + var(--public-site-promo-height)
    );
  }

  .header-inner,
  .public-site-header-row {
    flex-wrap: wrap;
    row-gap: 0.15rem;
  }

  .site-nav,
  .public-site-nav {
    display: flex;
    position: static;
    top: auto;
    left: auto;
    transform: none;
    order: 3;
    flex: 1 0 100%;
    /* A narrow phone scrolls the tabs instead of clipping the last one. */
    justify-content: safe center;
    overflow-x: auto;
    scrollbar-width: none;
    white-space: nowrap;
    gap: 1.1rem;
    padding-bottom: 0.4rem;
  }
}

.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;
}

/* 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);
}
