:root {
  --home-ink: #09090a;
  --home-secondary: #454548;
  --home-muted: #717174;
  --home-faint: #a0a0a3;
  --home-line: #d5d5d2;
  --home-line-dark: #a9a9a6;
  --home-surface: #ffffff;
  --home-canvas: #fbfdfd;
  --home-purple: #b7a9ca;
  --home-purple-soft: #f0ecf7;
  --home-purple-dark: #8f7da9;
  --home-mono: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
}

.home-page {
  min-width: 320px;
  color: var(--home-ink);
  background: var(--home-canvas);
  font-family: "Segoe UI Variable Text", "Segoe UI", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}

.home-page a:focus-visible,
.home-page button:focus-visible {
  outline: 2px solid var(--home-ink);
  outline-offset: 3px;
}

.home-announcement {
  min-height: 32px;
  padding: 6px 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  color: #fff;
  background: #080809;
  font-family: var(--home-mono);
  font-size: 10px;
  letter-spacing: .02em;
}
.home-announcement a { color: #fff; text-underline-offset: 3px; }

/* Строгая липкая шапка в духе Warp. */
.home-page .portal-header {
  position: sticky;
  top: 0;
  z-index: 40;
  min-height: 64px;
  padding: 0 max(32px, calc((100vw - 1240px) / 2));
  color: var(--home-ink);
  border-bottom: 1px solid transparent;
  background: var(--home-canvas);
  -webkit-backdrop-filter: blur(0);
  backdrop-filter: blur(0);
  transition: background-color .24s ease, border-color .24s ease, backdrop-filter .24s ease;
}
.home-page .portal-header.is-scrolled {
  border-bottom-color: rgba(9, 9, 10, .12);
  background: rgba(251, 253, 253, .64);
  -webkit-backdrop-filter: blur(14px) saturate(145%);
  backdrop-filter: blur(14px) saturate(145%);
}
.home-page .portal-brand { gap: 10px; align-self: stretch; }
.home-page .portal-brand > span:last-child { display: flex; align-items: center; justify-content: center; }
.home-page .portal-brand strong { color: var(--home-ink); font-family: Bahnschrift, "Segoe UI Variable Display", "Segoe UI", Arial, sans-serif; font-size: 17px; font-weight: 600; line-height: 1; letter-spacing: 0; }
.home-page .brand-mark {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  padding: 0;
  grid-template-columns: 1fr;
  place-items: center;
  gap: 0;
  border: 0;
  border-radius: 6px;
  background: #fff;
}
.home-page .brand-mark img { width: 100%; height: 100%; display: block; object-fit: cover; transform: scale(1.36); }
.home-page .portal-nav { gap: 22px; }
.home-page .portal-nav > a { color: var(--home-ink); font-size: 12px; font-weight: 600; }
.home-page .portal-nav > a:hover { text-decoration: underline; text-underline-offset: 4px; }
.products-menu { position: relative; }
.home-page .portal-nav .products-trigger {
  min-height: 36px;
  padding: 0 10px !important;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--home-ink) !important;
  border: 0 !important;
  border-radius: 3px;
  background: transparent !important;
  font-family: "Segoe UI Variable Text", "Segoe UI", Arial, sans-serif;
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
}
.home-page .portal-nav .products-trigger:hover,
.home-page .portal-nav .products-trigger[aria-expanded="true"] { color: var(--home-ink) !important; background: rgba(9, 9, 10, .06) !important; }
.products-chevron {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  display: block;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transform-origin: center;
  transition: transform .16s ease;
}
.products-trigger[aria-expanded="true"] .products-chevron { transform: translateY(2px) rotate(225deg); }
.products-popover {
  position: absolute;
  z-index: 60;
  top: calc(100% + 10px);
  left: 0;
  width: 360px;
  padding: 8px;
  border: 1px solid var(--home-line-dark);
  border-radius: 7px;
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 12px 28px rgba(9, 9, 10, .12);
}
.products-popover[hidden] { display: none; }
.products-item {
  min-height: 72px;
  padding: 10px 11px;
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  color: var(--home-ink);
  border-radius: 4px;
  text-decoration: none;
}
.products-item:hover,
.products-item:focus-visible { background: #f1f1ef; }
.products-item > span:nth-child(2) { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.products-item strong { font-size: 14px; font-weight: 700; letter-spacing: -.01em; }
.products-item small { color: var(--home-secondary); font-size: 12px; line-height: 1.35; }
.products-item > b { align-self: center; color: var(--home-muted); font-size: 12px; font-weight: 500; }
.products-icon { width: 24px; height: 24px; display: grid; place-items: center; overflow: hidden; border-radius: 3px; }
.products-icon-oversight { border: 1px solid #8c78ad; background: #b9a3df; }
.products-icon-oversight i { width: 12px; height: 12px; border: 2px solid #19151f; border-radius: 50%; }
.products-icon-oversight i::after { content: ""; width: 4px; height: 4px; margin: 2px; display: block; border-radius: 50%; background: #19151f; }
.products-icon-data { grid-template-columns: repeat(3, 3px); align-items: end; gap: 2px; padding: 5px; background: var(--home-ink); }
.products-icon-data i { width: 3px; display: block; border-radius: 1px; background: #fff; }
.products-icon-data i:nth-child(1) { height: 7px; }
.products-icon-data i:nth-child(2) { height: 13px; }
.products-icon-data i:nth-child(3) { height: 10px; }
.home-page .portal-nav button,
.home-page .nav-login {
  min-height: 36px;
  padding: 0 16px !important;
  color: #fff !important;
  border: 1px solid var(--home-ink) !important;
  border-radius: 0;
  background: var(--home-ink) !important;
  font-family: var(--home-mono);
  font-size: 11px;
  font-weight: 700;
}
.home-page .portal-nav button:hover,
.home-page .nav-login:hover { color: var(--home-ink) !important; background: #fff !important; }
.home-page .portal-nav .nav-logout {
  min-height: 36px;
  padding: 0 14px !important;
  color: var(--home-ink) !important;
  border: 1px solid var(--home-line-dark) !important;
  border-radius: 5px;
  background: #f1f1ef !important;
  font-family: "Segoe UI Variable Text", "Segoe UI", Arial, sans-serif;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: .01em;
}
.home-page .portal-nav .nav-logout:hover { color: #fff !important; border-color: var(--home-ink) !important; background: var(--home-ink) !important; }

.home-page .portal-main {
  width: 100%;
  max-width: none;
  margin: 0 auto;
  padding: 0 32px 80px;
}

/* Первый экран: крупный тезис без декоративного цвета. */
.home-page .portal-hero {
  min-height: 420px;
  padding: 80px max(0px, calc((100% - 1240px) / 2));
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  align-items: end;
  gap: 64px;
}
.home-page .portal-hero::after { display: none; }
.home-page .hero-copy { max-width: 900px; }
.home-page .hero-kicker,
.home-page .form-kicker {
  gap: 8px;
  color: var(--home-secondary);
  font-family: var(--home-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .16em;
}
.home-page .hero-kicker i,
.home-page .project-tag i { display: none; }
.home-page .portal-hero h1 {
  max-width: 960px;
  margin: 20px 0;
  color: var(--home-ink);
  font-size: clamp(52px, 6.2vw, 88px);
  font-weight: 450;
  line-height: .98;
  letter-spacing: -.06em;
}
.home-page .portal-hero h1 em { color: var(--home-ink); font-style: normal; }
.home-page .portal-hero p { max-width: 680px; margin: 0; color: var(--home-secondary); font-size: 16px; }
.home-page .hero-status {
  min-width: 0;
  min-height: 184px;
  padding: 30px 24px;
  align-self: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--home-ink);
  border-radius: 0;
  background: var(--home-surface);
  box-shadow: none;
}
.home-page .hero-status span { color: var(--home-secondary); font-family: var(--home-mono); font-size: 9px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.home-page .hero-status strong { color: var(--home-ink); font-size: 64px; font-weight: 400; line-height: 1; letter-spacing: -.06em; font-variant-numeric: tabular-nums; }
.home-page .hero-status small { color: var(--home-muted); font-size: 11px; }

/* Интерактивная демонстрация: ограниченная ширина, не во весь экран. */
.warp-demo-section {
  width: calc(100% + 64px);
  margin-left: -32px;
  padding: 0 0 88px;
}
.home-page .section-heading span {
  color: var(--home-secondary);
  font-family: var(--home-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.demo-stage {
  --pointer-x: 72%;
  --pointer-y: 32%;
  --shift-x: 0px;
  --shift-y: 0px;
  --bg-shift-x: 0px;
  --bg-shift-y: 0px;
  --rotate-x: 0deg;
  --rotate-y: 0deg;
  position: relative;
  isolation: isolate;
  width: 100%;
  height: 750px;
  margin: 0;
  overflow: hidden;
  border: 0;
  background: #f6f1ff;
}
.demo-stage::before {
  display: none;
}
.demo-stage::after {
  display: none;
}
.demo-pattern {
  display: none;
}
.demo-symbol-canvas {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  overflow: hidden;
  pointer-events: none;
}

.demo-window {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 70px;
  width: min(1040px, calc(100% - 160px));
  overflow: hidden;
  border: 1px solid var(--home-ink);
  border-radius: 3px;
  background: #fff;
  box-shadow: none;
  transform: translateX(-50%);
}
.demo-stage.is-hovered .demo-window,
.demo-stage.is-paused .demo-window { box-shadow: none; transform: translateX(-50%); }
.demo-window-bar {
  min-height: 42px;
  padding: 0 14px;
  display: grid;
  grid-template-columns: 70px 1fr auto;
  align-items: center;
  gap: 12px;
  color: #fff;
  background: #161617;
  font-family: var(--home-mono);
  font-size: 9px;
}
.demo-window-bar > span { overflow: hidden; color: #b8b8bb; text-overflow: ellipsis; white-space: nowrap; }
.demo-window-bar > b { padding: 3px 6px; color: #101011; background: #fff; font-size: 8px; letter-spacing: .1em; }
.demo-window-dots { display: flex; gap: 6px; }
.demo-window-dots i { width: 9px; height: 9px; border: 1px solid #8d8d90; border-radius: 50%; }
.demo-app { min-height: 540px; display: grid; grid-template-columns: 210px minmax(0, 1fr); }
.demo-sidebar { padding: 20px 14px; display: flex; flex-direction: column; gap: 6px; border-right: 1px solid var(--home-line); background: #f3f3f1; }
.demo-sidebar > strong { margin-bottom: 14px; display: flex; align-items: center; gap: 8px; font-family: var(--home-mono); font-size: 10px; }
.demo-sidebar > strong i { width: 14px; height: 14px; display: block; background: var(--home-ink); }
.demo-sidebar > span { margin: 10px 8px 4px; color: var(--home-muted); font-family: var(--home-mono); font-size: 8px; letter-spacing: .13em; }
.demo-sidebar button {
  min-height: 36px;
  padding: 0 9px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--home-secondary);
  border: 0;
  border-radius: 2px;
  background: transparent;
  box-shadow: none;
  font-size: 10px;
  font-weight: 600;
  text-align: left;
}
.demo-sidebar button:hover { color: var(--home-secondary); background: #e7e7e4; box-shadow: none; transform: none; }
.demo-sidebar button.is-active { color: #fff; background: var(--home-ink); }
.demo-sidebar button b { min-width: 18px; font-family: var(--home-mono); font-size: 8px; }
.demo-content { min-width: 0; padding: 22px; background: #fff; }
.demo-content-top { display: flex; justify-content: space-between; align-items: end; gap: 16px; }
.demo-content-top span { color: var(--home-muted); font-family: var(--home-mono); font-size: 8px; letter-spacing: .1em; }
.demo-content-top h3 { margin: 4px 0 0; font-size: 24px; font-weight: 500; letter-spacing: -.035em; }
.demo-content-top button { min-height: 34px; padding: 0 12px; color: #fff; border: 1px solid var(--home-ink); border-radius: 0; background: var(--home-ink); box-shadow: none; font-family: var(--home-mono); font-size: 9px; }
.demo-content-top button:hover { color: #fff; background: var(--home-ink); box-shadow: none; transform: none; }
.demo-search { min-height: 42px; margin: 20px 0 14px; padding: 0 12px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 9px; border: 1px solid var(--home-line); background: #fafaf9; font-size: 10px; }
.demo-search span { font-size: 14px; }
.demo-search b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.demo-search i { padding: 3px 6px; color: var(--home-secondary); background: var(--home-purple-soft); font-family: var(--home-mono); font-size: 8px; font-style: normal; }
.demo-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--home-line); }
.demo-metrics > div { padding: 11px 12px; display: grid; gap: 4px; border-right: 1px solid var(--home-line); }
.demo-metrics > div:last-child { border-right: 0; }
.demo-metrics span { color: var(--home-muted); font-family: var(--home-mono); font-size: 7px; letter-spacing: .1em; }
.demo-metrics strong { font-size: 17px; font-weight: 500; font-variant-numeric: tabular-nums; }
.demo-table { margin-top: 14px; border: 1px solid var(--home-line); }
.demo-row { min-height: 38px; padding: 0 10px; display: grid; grid-template-columns: 64px 1.1fr 1fr 76px; align-items: center; gap: 8px; border-bottom: 1px solid var(--home-line); font-size: 9px; transition: background .22s ease, transform .22s ease; }
.demo-row:last-child { border-bottom: 0; }
.demo-row > span:first-child { font-family: var(--home-mono); }
.demo-row i { padding: 3px 5px; background: #efefed; font-style: normal; text-align: center; }
.demo-row.is-highlighted { z-index: 1; background: var(--home-purple-soft); box-shadow: inset 3px 0 0 var(--home-ink); transform: translateX(3px); }
.demo-table-head { min-height: 30px; color: var(--home-muted); background: #efefed; font-family: var(--home-mono); font-size: 7px; letter-spacing: .06em; }
.demo-status { margin-top: 14px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 8px; font-size: 9px; }
.demo-status > span { width: 8px; height: 8px; border-radius: 50%; background: var(--home-ink); animation: status-pulse 1.8s ease-in-out infinite; }
.demo-status small { color: var(--home-muted); font-family: var(--home-mono); font-size: 7px; }

.demo-float-card {
  position: absolute;
  z-index: 4;
  min-width: 142px;
  padding: 12px;
  display: grid;
  gap: 2px;
  border: 1px solid var(--home-ink);
  background: #fff;
  box-shadow: none;
  transition: opacity .3s ease;
}
.demo-float-card span { color: var(--home-muted); font-family: var(--home-mono); font-size: 7px; letter-spacing: .1em; }
.demo-float-card strong { font-size: 16px; font-weight: 500; }
.demo-float-card small { color: var(--home-muted); font-size: 8px; }
.demo-float-source { left: max(18px, calc(50% - 590px)); top: 138px; }
.demo-float-export { right: max(18px, calc(50% - 590px)); top: 470px; opacity: .68; }
.demo-stage[data-step="3"] .demo-float-export { opacity: 1; }
.demo-pause {
  position: absolute;
  z-index: 10;
  right: 16px;
  bottom: 16px;
  width: 40px;
  min-height: 40px;
  padding: 0;
  display: grid;
  place-items: center;
  color: var(--home-ink);
  border: 1px solid var(--home-ink);
  border-radius: 50%;
  background: #fff;
  box-shadow: none;
  font-family: var(--home-mono);
  font-size: 12px;
}
.demo-pause:hover { color: #fff; background: var(--home-ink); box-shadow: none; transform: none; }

.capability-marquee {
  width: 100%;
  margin: 0;
  overflow: hidden;
  border-top: 1px solid var(--home-ink);
  border-bottom: 1px solid var(--home-ink);
  background: #fff;
}
.capability-track {
  width: max-content;
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 0;
  animation: capability-scroll 36s linear infinite;
  will-change: transform;
}
.capability-group {
  min-width: 100vw;
  min-height: 48px;
  padding-right: 18px;
  display: flex;
  flex: 0 0 auto;
  justify-content: space-around;
  align-items: center;
  gap: 18px;
}
.capability-marquee:hover .capability-track { animation-play-state: paused; }
.capability-track span {
  font-family: "Segoe UI Variable Text", "Segoe UI", Arial, sans-serif;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: .025em;
  white-space: nowrap;
}
.capability-agency { display: inline-flex; align-items: center; gap: 8px; }
.capability-logo { display: block; flex: 0 0 auto; object-fit: contain; }
.capability-logo-cnil { width: 29px; height: 24px; }
.capability-logo-ggsn { width: 24px; height: 24px; }
.capability-model-label { color: var(--home-purple-dark); font-weight: 700 !important; letter-spacing: .06em !important; }
.capability-model-icons { display: inline-flex; align-items: center; gap: 5px; }
.capability-model-icon {
  width: 25px;
  height: 25px;
  display: grid;
  flex: 0 0 25px;
  place-items: center;
  overflow: hidden;
  border-radius: 6px;
  background: #f0ecf7;
}
.capability-model-icon img { width: 20px; height: 20px; display: block; object-fit: contain; }
.capability-model-icon-yolo { background: #edf1ff; }
.capability-model-icon-qwen { background: #f0ebff; }
.capability-model-icon-dino { background: #fff3d9; }
.capability-model-icon-dino img { width: 25px; height: 25px; object-fit: cover; }
.capability-track i { color: var(--home-purple-dark); font-style: normal; }

/* Карточки продуктов продолжают строгую систему. */
.home-page .projects-section { width: min(100%, 1240px); margin: 0 auto; padding-top: 0; }
.home-page .section-heading { margin-bottom: 28px; padding-top: 48px; align-items: flex-end; gap: 32px; border-top: 1px solid var(--home-line); }
.home-page .section-heading h2 { margin: 10px 0 0; color: var(--home-ink); font-size: 38px; font-weight: 450; letter-spacing: -.04em; }
.home-page .section-heading p { max-width: 440px; color: var(--home-secondary); font-size: 13px; }
.home-page .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.home-page .project-card {
  min-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  color: var(--home-ink);
  border: 1px solid var(--home-ink);
  border-radius: 3px;
  background: var(--home-surface);
  box-shadow: none;
  transition: none;
}
.home-page .project-card:hover { border-color: var(--home-ink); box-shadow: none; transform: none; }
.home-page .project-card > img { position: static; z-index: auto; width: 100%; height: 272px; object-fit: cover; filter: saturate(.72) contrast(1.02); transition: none; }
.home-page .project-card:hover > img { filter: saturate(.72) contrast(1.02); transform: none; }
.home-page .project-shade { display: none; }
.home-page .project-number {
  top: 14px;
  right: 14px;
  z-index: 2;
  min-width: 40px;
  min-height: 30px;
  padding: 0 8px;
  display: grid;
  place-items: center;
  color: var(--home-ink);
  border: 1px solid var(--home-ink);
  border-radius: 0;
  background: #fff;
  font-family: var(--home-mono);
  font-size: 10px;
  font-weight: 700;
}
.home-page .project-content { position: static; min-height: 272px; padding: 24px; display: flex; flex: 1; flex-direction: column; align-items: flex-start; color: var(--home-ink); }
.home-page .project-tag { gap: 0; color: var(--home-secondary); font-family: var(--home-mono); font-size: 9px; font-weight: 700; letter-spacing: .12em; }
.home-page .project-content h3 { margin: 16px 0 8px; color: var(--home-ink); font-size: clamp(28px, 3vw, 40px); font-weight: 500; line-height: 1.04; letter-spacing: -.045em; }
.home-page .project-content p { max-width: 520px; margin: 0 0 24px; color: var(--home-secondary); font-size: 13px; }
.home-page .project-action {
  min-width: 192px;
  min-height: 42px;
  margin-top: auto;
  padding: 0 14px;
  color: #fff;
  border: 1px solid var(--home-ink);
  border-radius: 0;
  background: var(--home-ink);
  box-shadow: none;
  font-family: var(--home-mono);
  font-size: 11px;
  font-weight: 700;
}
.home-page .project-action:hover { color: var(--home-ink); background: #fff; box-shadow: none; transform: none; }
.home-page .project-action-light { color: var(--home-ink); background: #fff; }
.home-page .project-action-light:hover { color: #fff; background: var(--home-ink); }
.home-page .project-action-muted { color: var(--home-muted); border-color: var(--home-line-dark); background: #fff; }

.home-page .setup-notice { margin-top: 24px; padding: 16px 20px; gap: 24px; border: 1px solid var(--home-ink); border-radius: 0; background: var(--home-purple-soft); }
.home-page .setup-notice span { color: var(--home-secondary); }
.home-page .setup-notice a { min-height: 40px; padding: 0 14px; color: #fff; border: 1px solid var(--home-ink); border-radius: 0; background: var(--home-ink); }
.home-page .portal-footer { padding: 24px max(32px, calc((100vw - 1240px) / 2)); color: var(--home-muted); border-top: 1px solid var(--home-line); background: var(--home-surface); font-family: var(--home-mono); font-size: 9px; }

@keyframes status-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .35; transform: scale(.72); }
}
@keyframes capability-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (max-width: 1080px) {
  .home-page .portal-nav { gap: 14px; }
  .home-page .portal-nav > a[href="#ecosystem"] { display: none; }
  .demo-stage { height: 580px; }
  .demo-window { width: calc(100% - 80px); top: 68px; }
  .demo-app { min-height: 440px; }
  .demo-float-source { left: 12px; }
  .demo-float-export { right: 14px; }
}

@media (max-width: 900px) {
  .home-page .portal-header { padding-inline: 24px; }
  .home-page .portal-main { padding-inline: 24px; }
  .warp-demo-section { width: calc(100% + 48px); margin-left: -24px; }
  .home-page .portal-hero { min-height: 0; grid-template-columns: 1fr; gap: 28px; padding: 56px 0; }
  .home-page .hero-status { width: 100%; min-height: 148px; display: grid; grid-template-columns: 1fr auto; align-items: center; }
  .home-page .hero-status strong { grid-row: 1 / 3; grid-column: 2; }
  .demo-stage { height: 530px; }
  .demo-window { width: calc(100% - 48px); top: 52px; }
  .demo-app { min-height: 430px; }
  .demo-app { grid-template-columns: 160px minmax(0, 1fr); }
  .demo-sidebar { padding: 16px 10px; }
  .demo-float-card { display: none; }
  .home-page .project-grid { grid-template-columns: 1fr; }
  .home-page .project-card { display: grid; grid-template-columns: minmax(240px, .8fr) 1.2fr; }
  .home-page .project-card > img { height: 100%; min-height: 320px; }
}

@media (max-width: 620px) {
  .home-announcement { justify-content: flex-start; overflow: hidden; white-space: nowrap; }
  .home-announcement span { display: none; }
  .home-page .portal-header { min-height: 56px; padding: 8px 16px; align-items: center; flex-direction: row; gap: 12px; }
  .home-page .portal-brand { gap: 8px; }
  .home-page .portal-brand strong { font-size: 14px; white-space: nowrap; }
  .home-page .brand-mark { width: 32px; height: 32px; flex-basis: 32px; }
  .home-page .portal-nav { width: auto; gap: 6px; flex-wrap: nowrap; }
  .home-page .portal-nav > a:not(.nav-login):not([href="/cabinet"]) { display: none; }
  .home-page .portal-nav .products-trigger { min-height: 34px; padding-inline: 6px !important; font-size: 12px; }
  .home-page .nav-login { min-height: 34px; padding-inline: 10px !important; font-size: 10px; }
  .products-popover { position: fixed; top: 104px; right: 16px; left: 16px; width: auto; }
  .home-page .portal-nav form { margin-left: 0; }
  .home-page .portal-main { padding: 0 16px 56px; }
  .warp-demo-section { width: calc(100% + 32px); margin-left: -16px; }
  .home-page .portal-hero { padding: 48px 0; }
  .home-page .portal-hero h1 { font-size: 46px; }
  .home-page .portal-hero p { font-size: 14px; }
  .home-page .hero-status strong { font-size: 50px; }
  .warp-demo-section { padding: 0 0 64px; }
  .demo-stage { height: 430px; }
  .demo-window { width: calc(100% - 28px); top: 36px; }
  .demo-window-bar { min-height: 34px; grid-template-columns: 52px 1fr auto; padding-inline: 9px; }
  .demo-window-dots i { width: 7px; height: 7px; }
  .demo-app { min-height: 330px; display: block; }
  .demo-sidebar { display: none; }
  .demo-content { padding: 14px; }
  .demo-content-top h3 { font-size: 19px; }
  .demo-content-top button { min-height: 30px; }
  .demo-search { margin: 14px 0 10px; }
  .demo-metrics > div { padding: 8px; }
  .demo-metrics strong { font-size: 14px; }
  .demo-row { grid-template-columns: 50px 1.2fr 1fr; }
  .demo-row > :last-child { display: none; }
  .demo-status small { display: none; }
  .demo-cursor { display: none; }
  .demo-pause { right: 10px; bottom: 10px; width: 36px; min-height: 36px; }
  .capability-track { min-height: 42px; }
  .home-page .section-heading { align-items: flex-start; gap: 16px; }
  .home-page .section-heading h2 { font-size: 32px; }
  .home-page .project-card { display: flex; }
  .home-page .project-card > img { height: 216px; min-height: 0; }
  .home-page .project-content { min-height: 280px; padding: 24px; }
  .home-page .project-content h3 { font-size: 30px; }
  .home-page .setup-notice,
  .home-page .portal-footer { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  .demo-stage::after,
  .demo-pattern,
  .demo-glyphs,
  .demo-window,
  .demo-status > span,
  .capability-track { animation: none !important; }
  .demo-window,
  .demo-float-card,
  .demo-cursor { transition: none !important; }
  .capability-track { width: auto; padding: 12px; flex-wrap: wrap; transform: none !important; }
}
