.hero-mock{margin:0;min-width:0;transform:rotate(1deg)}
.hero-mock__window{position:relative;overflow:hidden;border:1px solid var(--line);border-radius:18px 18px 0 0;background:#f6f7fa;box-shadow:0 18px 44px rgba(31,107,116,.16)}
.hm-bar{display:flex;justify-content:space-between;align-items:center;padding:14px 18px;background:#fff;border-bottom:1px solid var(--line);font-weight:700;color:var(--ink)}
.hm-bar i{margin-right:8px;color:var(--teal)}
.hm-dots{font-size:9px;letter-spacing:3px;color:var(--line)}
.hm-body{display:flex;flex-direction:column;gap:12px;padding:14px;color:#1d3b34;font-size:13px;line-height:1.35}
.hm-continue{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 14px;border:1px solid #cfe5dc;border-radius:12px;background:linear-gradient(90deg,#eaf5f0,#f4faf8)}
.hm-continue small{display:block;font-size:10px;font-weight:800;letter-spacing:.06em;color:#256c5a}
.hm-continue b{display:block;font-size:14px}
.hm-continue span:not(.hm-btn){color:#6b857c;font-size:12px}
.hm-btn{display:inline-flex;align-items:center;gap:6px;padding:7px 14px;border:1px solid #cfe0da;border-radius:9px;background:#fff;color:#256c5a;font-weight:700;font-size:12px;white-space:nowrap}
.hm-btn--solid{background:#256c5a;border-color:#256c5a;color:#fff}
.hm-search{position:relative;display:flex;align-items:center;gap:10px;padding:11px 14px;border:1px solid #dfe8e4;border-radius:12px;background:#fff;color:#6b857c;min-height:42px}
.hm-search>i{color:#256c5a}
.hm-typed{color:#1d3b34;font-weight:600}
.hm-caret{width:1px;height:16px;background:#256c5a;margin-left:-8px;animation:hm-blink 1s steps(2) infinite;opacity:0}
.hero-mock.has-text .hm-caret{opacity:1}
.hm-placeholder{position:absolute;left:44px}
.hero-mock.has-text .hm-placeholder{display:none}
@keyframes hm-blink{50%{opacity:0}}
.hm-list{display:flex;flex-direction:column;gap:8px;margin:0;padding:0;list-style:none}
.hm-card{display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;align-items:center;gap:10px;padding:10px 12px;border:1px solid #e3ebe7;border-radius:12px;background:#fff;min-height:58px;transition:opacity .4s ease,transform .4s ease,border-color .4s ease,box-shadow .4s ease}
.hm-card.is-out{opacity:.22;transform:scale(.985)}
.hero-mock.is-filtered .hm-card[data-match="1"]{border-color:#256c5a;box-shadow:0 0 0 3px rgba(37,108,90,.14)}
.hm-card__icon{color:#256c5a;font-size:16px}
.hm-card__body{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:2px 8px;align-items:center;min-width:0}
.hm-card__body b{grid-column:1/-1;font-size:13px;color:#256c5a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hm-card__body em{font-style:normal;font-size:11px;font-weight:700;color:#256c5a}
.hm-prog{display:block;height:5px;border-radius:99px;background:#e4ece8;overflow:hidden}
.hm-prog i{display:block;height:100%;width:var(--p);border-radius:inherit;background:#256c5a}
.hero-mock.is-done .hm-card[data-match="1"] .hm-prog i{animation:hm-fill 1.2s ease both}
@keyframes hm-fill{from{width:20%}to{width:var(--p)}}
.hm-chips{display:flex;gap:6px;color:#4a665d;font-size:11px}
.hm-chips span{padding:3px 8px;border:1px solid #dfe8e4;border-radius:8px;white-space:nowrap}
.hm-chips i{margin-right:3px;color:#256c5a}

#demo {
  background: var(--bg-soft);
}

.demo-launch {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  align-items: center;
  gap: clamp(24px, 5vw, 64px);
}

.demo-launch .section__head {
  margin: 0;
}

.demo-launch__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.demo-launch__guide {
  background: var(--white);
  border: 2px solid var(--teal);
  color: var(--teal-deep);
}

.demo-launch__guide:hover {
  background: var(--bg-soft);
}

.demo-launch .hero-mock__window {
  border-radius: 18px;
}

.demo-launch .hero-mock figcaption {
  color: var(--muted);
  font-size: 13px;
  margin-top: 12px;
  text-align: center;
}

.demo-fullscreen {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: var(--bg-soft);
}

.demo-fullscreen[open] {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
}

.demo-fullscreen__header {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 12px clamp(12px, 3vw, 36px);
  background: var(--bg-soft);
  border-bottom: 2px solid var(--teal);
}

.demo-fullscreen__header > div { margin-inline-end: auto; }
.demo-fullscreen__header small { display: block; color: var(--muted); }
.demo-fullscreen__header .btn { padding: 8px 14px; }

.demo-fullscreen__close {
  min-height: 44px;
}

.demo-fullscreen__close .fi { display: flex; font-size: 22px; }
.demo-fullscreen iframe { width: 100%; height: 100%; border: 0; }

@media (max-width: 900px) {
  .demo-launch { grid-template-columns: minmax(0, 1fr); }
  .demo-launch .hero-mock { transform: none; }
}

@media (max-width: 600px) {
  .demo-launch .hm-chips { display: none; }
  .demo-launch .hm-card { grid-template-columns: auto minmax(0, 1fr) auto; }
  .demo-launch .hm-placeholder { position: static; }
  .demo-launch .hm-continue { flex-wrap: wrap; }
  .demo-fullscreen__header { flex-wrap: nowrap; }
  .demo-fullscreen__header > div { min-width: 0; }
  .demo-fullscreen__header .demo-fullscreen__close { width: 44px; padding: 0; flex-shrink: 0; }
  .demo-fullscreen__close span { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .demo-launch .hm-card { transition: none; }
  .demo-launch .hm-caret { animation: none; }
}
