/* Support.Monster homepage v2 (dark). Loaded only by index.php.
   Fonts: Plus Jakarta Sans + Roboto Mono, already loaded by custom.css (no new font host).
   Brand purple and the main-button gradient (#9a0f8c -> #7a0873) are kept from the widget. */

body.sm-home-v2 {
  --h-bg: #08070c;
  --h-surface: #0f0d15;
  --h-surface-2: #17151f;
  --h-inset: #121019;
  --h-line: #221e2b;
  --h-line-2: #2e2938;
  --h-text: #f4f1f8;
  --h-text-2: #c9c3d3;
  --h-muted: #a9a3b5;
  --h-dim: #8a8496;
  --h-accent: #e35bd6;
  --h-accent-soft: #e9a6e2;
  --h-live: #5eead4;
  --h-wa: #25d366;
  --h-wa-text: #6ee7a8;
  --h-end: #e5484d;
  --h-grad: linear-gradient(135deg, #9a0f8c 0%, #7a0873 100%);
  --h-mono: 'Roboto Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  /* shared tokens used by the site header/footer */
  --bg: var(--h-bg);
  --surface: var(--h-surface);
  --surface-2: #0c0a11;
  --fg-1: var(--h-text);
  --fg-2: var(--h-muted);
  --fg-3: var(--h-dim);
  --border: var(--h-line);
  --border-strong: var(--h-line-2);
  --primary: var(--h-accent-soft);
  --primary-hover: #ffffff;
  background: var(--h-bg) !important;
  color: var(--h-text) !important;
}

/* ---------- shared header + footer, dark on this page only ---------- */
body.sm-home-v2 > nav {
  background: rgba(8, 7, 12, 0.82) !important;
  border-bottom-color: #1c1924 !important;
}
body.sm-home-v2 .sm-nav-link { color: var(--h-text-2) !important; }
body.sm-home-v2 .sm-nav-link:hover { color: #ffffff !important; }
body.sm-home-v2 .sm-btn-primary { background: var(--h-grad) !important; color: #fff !important; }
body.sm-home-v2 #nav-hamburger { background: transparent !important; border-color: var(--h-line-2) !important; }
body.sm-home-v2 #nav-hamburger span { background: var(--h-text) !important; }
body.sm-home-v2 #mobile-menu { background: var(--h-surface) !important; }
body.sm-home-v2 #mobile-menu a { color: var(--h-text) !important; }
body.sm-home-v2 #mobile-menu a.sm-btn-primary { color: #fff !important; }
body.sm-home-v2 .sm-footer { background: #0c0a11; border-top: 1px solid #1c1924; }
body.sm-home-v2 .sm-footer-brand .sm-footer-badge { background: #fff; padding: 8px 12px; border-radius: 10px; box-sizing: content-box; height: 28px; }
body.sm-home-v2 a:focus-visible,
body.sm-home-v2 button:focus-visible,
body.sm-home-v2 summary:focus-visible,
body.sm-home-v2 select:focus-visible,
body.sm-home-v2 input:focus-visible { outline: 2px solid var(--h-live); outline-offset: 3px; }

/* The floating card hides while the demo stage is on screen (set by js/home.js). */
body.sm-home-v2 .sm-voice[data-suppressed="true"] { display: none !important; }

/* ---------- layout ---------- */
.smh { overflow-x: hidden; }
body.sm-home-v2 section.smh-sec { padding: 96px 24px; position: relative; }
body.sm-home-v2 section.smh-sec--tight { padding-top: 24px; padding-bottom: 72px; }
.smh-wrap { max-width: 1240px; margin: 0 auto; }
.smh-split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 48px; align-items: center; }
.smh-split--top { align-items: start; }
.smh-head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.smh-head-aside { max-width: 360px; margin: 0; }

/* ---------- type ---------- */
.smh-eyebrow, .smh-tag, .smh-path, .smh-num, .smh-node-k, .smh-for, .smh-chip, .smh-bubble-k, .smh-voicenote-k {
  font-family: var(--h-mono);
}
.smh-eyebrow { margin: 0; font-size: 12px; letter-spacing: 0.08em; color: var(--h-accent-soft); font-weight: 500; }
.smh-h1 { margin: 28px auto 0; max-width: 1000px; font-size: clamp(38px, 5.6vw, 76px); line-height: 1.03; letter-spacing: -0.04em; font-weight: 800; color: var(--h-text); }
.smh-accent { color: var(--h-accent); }
.smh-lead { margin: 24px auto 0; max-width: 660px; font-size: 18px; line-height: 1.55; color: var(--h-muted); }
.smh-h2 { margin: 18px 0 0; max-width: 820px; font-size: clamp(28px, 3.6vw, 46px); line-height: 1.08; letter-spacing: -0.03em; font-weight: 800; color: var(--h-text); }
.smh-h2--xl { font-size: clamp(32px, 4.6vw, 58px); max-width: 1000px; }
.smh-h2--md { font-size: clamp(26px, 3vw, 36px); }
.smh-dim { color: #6e6879; }
.smh-h3 { margin: 0; font-size: 22px; line-height: 1.2; font-weight: 700; color: var(--h-text); }
.smh-p { margin: 12px 0 0; font-size: 15px; line-height: 1.6; color: var(--h-muted); }
.smh-p--lead { max-width: 660px; font-size: 17px; margin-top: 20px; }

/* ---------- hero ---------- */
body.sm-home-v2 #top { padding-top: 72px; padding-bottom: 48px; background: transparent !important; animation: none !important; border-bottom: 0 !important; }
.smh-grid-bg {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.6;
  background-image: linear-gradient(#15131c 1px, transparent 1px), linear-gradient(90deg, #15131c 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: linear-gradient(180deg, #000 40%, transparent 100%);
          mask-image: linear-gradient(180deg, #000 40%, transparent 100%);
}
.smh-glow {
  position: absolute; left: 50%; top: 300px; width: min(900px, 100%); height: 520px; transform: translateX(-50%); pointer-events: none;
  background: radial-gradient(closest-side, rgba(154, 15, 140, 0.38), rgba(154, 15, 140, 0) 70%);
}
.smh-hero-text { position: relative; max-width: 1100px; margin: 0 auto; text-align: center; }
.smh-eyebrow-pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px; border: 1px solid #2a2633; border-radius: 999px;
  background: var(--h-surface); font-family: var(--h-mono); font-size: 12px; letter-spacing: 0.06em; color: var(--h-text-2);
}
.smh-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--h-dim); flex: none; display: inline-block; }
.smh-dot--live { background: var(--h-live); animation: smh-pulse 1.6s ease-in-out infinite; }

/* ---------- demo stage ---------- */
.smh-stage { position: relative; max-width: 1100px; margin: 48px auto 0; scroll-margin-top: 90px; }
.smh-screen {
  position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 28px; background: #0c0a12;
  border: 1px solid var(--h-line-2); box-shadow: 0 40px 120px -40px rgba(154, 15, 140, 0.55), 0 0 0 6px var(--h-surface);
}
.smh-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; display: block; }
.smh-screen.is-missing .smh-poster { display: none; }
.smh-shade {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(0deg, rgba(8, 7, 12, 0.78) 0%, rgba(8, 7, 12, 0) 50%),
              linear-gradient(90deg, rgba(8, 7, 12, 0.35), rgba(8, 7, 12, 0) 30%, rgba(8, 7, 12, 0) 70%, rgba(8, 7, 12, 0.35));
}
.smh-hud { position: absolute; z-index: 3; top: 18px; left: 18px; right: 18px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; pointer-events: none; }
.smh-chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; background: rgba(8, 7, 12, 0.72);
  border: 1px solid #2a2633; font-size: 12px; color: var(--h-text-2);
}
.smh-chip--muted { color: var(--h-muted); }
.smh-hud-connecting, .smh-hud-live { display: none; }
.smh-stage[data-state="connecting"] .smh-hud-idle,
.smh-stage[data-state="live"] .smh-hud-idle { display: none; }
.smh-stage[data-state="connecting"] .smh-hud-connecting { display: inline; }
.smh-stage[data-state="live"] .smh-hud-live { display: inline; }
.smh-stage[data-state="connecting"] .smh-hud .smh-dot { background: var(--h-accent-soft); animation: smh-pulse 1s ease-in-out infinite; }
.smh-stage[data-state="live"] .smh-hud .smh-dot { background: var(--h-live); }
/* While the live video shows, the HUD would sit over HeyGen's own controls: hide it. */
.smh-stage[data-state="live"][data-call="video"] .smh-hud { display: none; }

.smh-start { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: 32px 20px; display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.smh-stage:not([data-state="idle"]) .smh-start { display: none; }
.smh-btn-start {
  min-height: 64px; display: inline-flex; align-items: center; gap: 12px; padding: 0 30px 0 14px; border: 0; border-radius: 999px;
  background: var(--h-grad); color: #fff; font: inherit; font-size: 19px; font-weight: 700; cursor: pointer;
  box-shadow: 0 14px 40px -10px rgba(227, 91, 214, 0.7); transition: transform .15s ease, box-shadow .15s ease;
}
.smh-btn-start:hover { transform: translateY(-1px); box-shadow: 0 18px 48px -10px rgba(227, 91, 214, 0.85); }
.smh-btn-start-ico { width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, 0.16); display: flex; align-items: center; justify-content: center; }
.smh-start-note { margin: 0; font-size: 14px; color: var(--h-text-2); }

.smh-checking { position: absolute; inset: 0; z-index: 2; display: none; align-items: center; justify-content: center; background: rgba(8, 7, 12, 0.55); }
.smh-stage[data-state="connecting"] .smh-checking { display: flex; }
.smh-spinner { width: 44px; height: 44px; border-radius: 50%; border: 3px solid #2a2633; border-top-color: var(--h-accent); animation: smh-spin 1s linear infinite; }

.smh-wave { position: absolute; z-index: 2; left: 0; right: 0; bottom: 40px; height: 70px; display: none; justify-content: center; align-items: center; gap: 5px; }
.smh-stage[data-state="live"][data-call="voice"] .smh-wave { display: flex; }
.smh-wave span { width: 5px; border-radius: 4px; background: var(--h-accent); transform-origin: center; transform: scaleY(0.35); }
.smh-stage[data-speaking="true"] .smh-wave span { animation: smh-wave 1.1s ease-in-out infinite; }

/* HeyGen iframe (created by voice-widget.js with class sm-stage-frame) */
.sm-stage-frame { position: absolute; inset: 0; z-index: 4; width: 100%; height: 100%; border: 0; opacity: 0; transition: opacity .3s ease; background: #0c0a12; }
.smh-stage[data-state="live"][data-call="video"] .sm-stage-frame { opacity: 1; }

/* controls bar: under the video, never over it */
.smh-bar {
  margin-top: 14px; min-height: 64px; box-sizing: border-box; padding: 10px 10px 10px 18px; border: 1px solid var(--h-line); border-radius: 20px;
  background: var(--h-surface); display: flex; align-items: center; gap: 12px 16px; flex-wrap: wrap;
}
.smh-bar-status { display: none; align-items: center; gap: 10px; font-family: var(--h-mono); font-size: 13px; color: var(--h-text); }
.smh-stage:not([data-state="idle"]) .smh-bar-status { display: inline-flex; }
.smh-stage[data-state="live"] .smh-bar-status .smh-dot { background: var(--h-live); }
.smh-stage[data-state="connecting"] .smh-bar-status .smh-dot { background: var(--h-accent-soft); animation: smh-pulse 1s ease-in-out infinite; }
.smh-bar-timer { color: var(--h-dim); }
.smh-bar-note { flex: 1 1 260px; margin: 0; font-size: 13px; line-height: 1.45; color: var(--h-muted); }
.smh-bar-note.is-alert { color: #ff9a9e; }
.smh-bar-actions { display: none; gap: 8px; flex-wrap: wrap; margin-left: auto; }
.smh-stage:not([data-state="idle"]) .smh-bar-actions { display: flex; }
.smh-only-voice, .smh-only-video { display: none; }
.smh-stage[data-call="voice"] .smh-only-voice,
.smh-stage[data-call="video"] .smh-only-video { display: inline-flex; }
.smh-btn-ghost, .smh-btn-end {
  min-height: 44px; padding: 0 16px; border-radius: 12px; font: inherit; font-size: 14px; cursor: pointer; align-items: center; justify-content: center;
}
.smh-btn-ghost { border: 1px solid var(--h-line-2); background: var(--h-surface-2); color: var(--h-text); }
.smh-btn-ghost:hover { border-color: #4a3f58; }
.smh-btn-ghost[aria-pressed="true"] { background: #2a2633; }
.smh-btn-end { display: inline-flex; border: 0; background: var(--h-end); color: #fff; font-weight: 700; }
.smh-btn-end:hover { background: #cf3a3f; }

/* ---------- call-back + WhatsApp ---------- */
.smh-doors { max-width: 1100px; margin: 28px auto 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 20px; }
.smh-card { position: relative; border: 1px solid var(--h-line); border-radius: 22px; background: var(--h-surface); padding: 28px; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.smh-card-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; color: var(--h-muted); }
.smh-tag { font-size: 12px; letter-spacing: 0.06em; color: var(--h-accent-soft); }
.smh-tag--wa { color: var(--h-wa-text); }
.smh-card-h { margin: 0; font-size: 26px; line-height: 1.15; letter-spacing: -0.02em; font-weight: 800; color: var(--h-text); }

.smh-phone { display: flex; gap: 10px; flex-wrap: wrap; position: relative; }
.smh-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.smh-field--cc { flex: 0 0 104px; }
.smh-field--num { flex: 1 1 180px; }
.smh-label { font-size: 13px; color: var(--h-muted); }
.smh-select, .smh-input {
  min-height: 52px; box-sizing: border-box; width: 100%; padding: 0 14px; border-radius: 14px; border: 1px solid var(--h-line-2);
  background: var(--h-surface-2); color: var(--h-text); font-family: var(--h-mono); font-size: 17px;
}
.smh-select { appearance: auto; }
.smh-input::placeholder { color: #6e6879; }
.smh-input:disabled, .smh-select:disabled { opacity: 0.6; }
.smh-phone.is-invalid .smh-input { border-color: #ff6b70; }
.smh-trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.smh-callerid { margin: 0; font-size: 13px; color: var(--h-muted); }
.smh-callerid strong { color: var(--h-text); font-weight: 600; }
.smh-btn-primary {
  min-height: 56px; border: 0; border-radius: 16px; background: var(--h-grad); color: #fff; font: inherit; font-size: 17px; font-weight: 700; cursor: pointer;
}
.smh-btn-primary:hover { filter: brightness(1.08); }
.smh-btn-primary[disabled] { opacity: 0.55; cursor: default; }
.smh-btn-primary[aria-disabled="true"] { opacity: 0.6; }
.smh-note { margin: 0; font-size: 12px; line-height: 1.5; color: var(--h-dim); }
.smh-note.is-alert { color: #ff9a9e; font-size: 14px; }
/* While KHz is calling: the card becomes a status panel */
.smh-callback[data-cm-busy="true"] .smh-note,
.smh-note.is-progress { font-size: 17px; line-height: 1.45; color: var(--h-text); padding: 16px 16px 16px 44px; border-radius: 14px; background: var(--h-surface-2); border: 1px solid var(--h-line-2); position: relative; }
.smh-note.is-progress::before { content: ""; position: absolute; left: 18px; top: 22px; width: 10px; height: 10px; border-radius: 50%; background: var(--h-live); animation: smh-pulse 1.2s ease-in-out infinite; }

.smh-wa { border-color: #1f3a2c; background: #0d110f; }
.smh-wa .smh-card-top { color: var(--h-wa-text); }
.smh-wa-body { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.smh-qr { width: 132px; height: 132px; padding: 10px; background: #fff; border-radius: 16px; flex: none; image-rendering: pixelated; }
.smh-wa-text { display: flex; flex-direction: column; gap: 8px; flex: 1; min-width: 180px; }
.smh-wa-hint { font-size: 13px; color: var(--h-muted); }
.smh-wa-num { font-family: var(--h-mono); font-size: 22px; color: var(--h-text); }
.smh-wa-desc { font-size: 14px; line-height: 1.5; color: var(--h-text-2); }
.smh-btn-wa {
  min-height: 56px; box-sizing: border-box; display: flex; align-items: center; justify-content: center; border-radius: 16px;
  border: 1.5px solid var(--h-wa); color: var(--h-wa-text) !important; font-size: 17px; font-weight: 700; text-decoration: none;
}
.smh-btn-wa:hover { background: rgba(37, 211, 102, 0.08); }
/* Phones: one green button, no QR (they are already on the phone) */
@media (max-width: 767px), (pointer: coarse) and (max-width: 1024px) {
  .smh-qr, .smh-wa-hint { display: none; }
  .smh-btn-wa { background: var(--h-wa); color: #06210f !important; border-color: var(--h-wa); }
}

/* "Call in progress" bar when the stage is scrolled away mid-call */
.smh-inprogress {
  position: fixed; z-index: 61; left: 50%; bottom: 20px; transform: translateX(-50%); width: min(560px, calc(100% - 24px)); box-sizing: border-box;
  display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 16px; border-radius: 18px; border: 1px solid var(--h-line-2);
  background: var(--h-surface); box-shadow: 0 20px 50px -18px rgba(0, 0, 0, 0.8); padding-bottom: calc(8px + env(safe-area-inset-bottom, 0px));
}
.smh-inprogress[hidden] { display: none; }
.smh-inprogress-text { flex: 1; font-size: 14px; font-weight: 700; color: var(--h-text); }
.smh-inprogress-back { min-height: 44px; display: inline-flex; align-items: center; padding: 0 12px; border-radius: 12px; color: var(--h-text-2) !important; font-size: 13px; text-decoration: none; }

/* ---------- content sections ---------- */
.smh-cols4 { margin-top: 56px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); border-top: 1px solid var(--h-line); }
.smh-col { padding: 32px 28px 32px 0; display: flex; flex-direction: column; gap: 4px; border-right: 1px solid var(--h-line); }
.smh-col + .smh-col { padding-left: 28px; }
.smh-col:last-child { border-right: 0; }
.smh-num { font-size: 12px; color: var(--h-dim); margin-bottom: 10px; }
.smh-callout { margin: 32px 0 0; padding: 24px 28px; border-radius: 18px; border: 1px solid #3a2840; background: #150f18; font-size: 17px; line-height: 1.55; font-weight: 600; color: var(--h-text); }

.smh-cards2, .smh-cards3, .smh-cards4 { margin-top: 40px; display: grid; gap: 16px; }
.smh-wrap.smh-cards2 { margin-top: 0; }
.smh-cards2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.smh-cards3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.smh-cards3--tight { margin-top: 48px; }
.smh-cards4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.smh-tile { padding: 28px; border-radius: 22px; background: var(--h-surface); border: 1px solid var(--h-line); display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.smh-tile .smh-p { margin-top: 0; flex: 1; }
.smh-tile--wa { border-color: #1f3a2c; background: #0d110f; }
.smh-tile--inset { background: var(--h-inset); }
.smh-path { font-size: 12px; color: var(--h-live); }
.smh-path--wa { color: var(--h-wa-text); }
.smh-for { font-size: 12px; color: var(--h-dim); border-top: 1px solid var(--h-line); padding-top: 14px; margin-top: 6px; }
.smh-ico { width: 44px; height: 44px; border-radius: 12px; background: var(--h-surface-2); border: 1px solid var(--h-line-2); display: flex; align-items: center; justify-content: center; color: var(--h-accent-soft); }
.smh-ico--img { background: #fff; border-color: #fff; }

.smh-video { border-radius: 24px; overflow: hidden; border: 1px solid var(--h-line-2); background: #000; box-shadow: 0 30px 90px -40px rgba(154, 15, 140, 0.6); }
.smh-video video { width: 100%; display: block; aspect-ratio: 16 / 9; background: #000; }

.smh-shot { border-radius: 22px; border: 1px solid var(--h-line); background: var(--h-surface); overflow: hidden; display: flex; flex-direction: column; }
.smh-shot-text { padding: 24px 24px 18px; display: flex; flex-direction: column; gap: 10px; }
.smh-shot-text .smh-p { margin: 0; }
.smh-shot-img { margin: auto 14px 14px; border-radius: 14px; overflow: hidden; border: 1px solid #2a2633; background: #fff; }
.smh-shot-img img { width: 100%; height: auto; display: block; }

.smh-panel { border-radius: 32px; border: 1px solid var(--h-line); background: #0c0a11; padding: 56px 40px; }
.smh-pipe { margin-top: 44px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.smh-node { flex: 1 1 150px; padding: 20px; border-radius: 16px; border: 1px solid var(--h-line-2); background: var(--h-inset); display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.smh-node--core { flex: 1.3 1 190px; border-color: #9a0f8c; background: #1e0c1d; box-shadow: 0 0 60px -14px rgba(227, 91, 214, 0.6); }
.smh-node--core .smh-node-k { color: var(--h-accent-soft); }
.smh-node--done { border-color: #1f3a36; background: #0e1413; }
.smh-node--done .smh-node-k { color: var(--h-live); }
.smh-node-k { font-size: 11px; color: var(--h-dim); }
.smh-node-t { font-size: 20px; font-weight: 700; color: var(--h-text); }
.smh-node-s { font-size: 13px; color: var(--h-muted); }
.smh-arrow { color: #4a3f58; font-size: 20px; }
.smh-logos { display: flex; gap: 6px; margin-top: 4px; }
.smh-logo-sq { width: 34px; height: 34px; border-radius: 8px; background: #fff; display: flex; align-items: center; justify-content: center; }
.smh-logo-sq img { max-width: 24px; max-height: 24px; display: block; }
.smh-actions-list { margin-top: 10px; display: flex; flex-direction: column; gap: 8px; font-family: var(--h-mono); font-size: 13px; }
.smh-actions-list div { display: flex; justify-content: space-between; padding: 10px 14px; border-radius: 10px; background: #0c0a11; border: 1px solid var(--h-line); color: var(--h-text-2); }
.smh-ok { color: var(--h-live); }
.smh-run { color: var(--h-accent-soft); }
.smh-chat { margin-top: 10px; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.smh-bubble { align-self: flex-start; max-width: 85%; padding: 10px 14px; border-radius: 14px 14px 14px 4px; background: #1e1a27; color: var(--h-text-2); }
.smh-bubble--human { background: #0f2421; color: #e4f7f3; }
.smh-bubble-k { display: block; font-size: 10px; color: var(--h-dim); margin-bottom: 4px; }
.smh-bubble--human .smh-bubble-k { color: var(--h-live); }
.smh-joined { align-self: center; font-family: var(--h-mono); font-size: 11px; color: var(--h-live); }
.smh-voicenote { margin-top: 10px; padding: 14px; border-radius: 14px; background: #0c0a11; border: 1px solid var(--h-line); display: flex; flex-direction: column; gap: 10px; }
.smh-mini-wave { display: flex; align-items: center; gap: 4px; height: 28px; }
.smh-mini-wave span { width: 4px; border-radius: 3px; background: #3a3446; }
.smh-mini-wave span.on { background: var(--h-live); }
.smh-voicenote-k { font-size: 11px; color: var(--h-dim); }

.smh-logo-wall { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px; }
.smh-logo-tile { width: 132px; height: 60px; box-sizing: border-box; padding: 12px 16px; border-radius: 14px; background: #fff; display: flex; align-items: center; justify-content: center; }
.smh-logo-tile img { max-width: 100%; max-height: 32px; display: block; object-fit: contain; }
.smh-models { margin: 28px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.smh-models span { padding: 16px 8px; border-radius: 14px; border: 1px solid var(--h-line-2); background: var(--h-surface); text-align: center; font-family: var(--h-mono); font-size: 13px; color: var(--h-text); }

.smh-faq { border-top: 1px solid var(--h-line); }
.smh-faq details { border-bottom: 1px solid var(--h-line); }
.smh-faq summary {
  list-style: none; cursor: pointer; min-height: 64px; padding: 18px 40px 18px 0; position: relative; display: flex; align-items: center;
  font-size: 17px; font-weight: 600; color: var(--h-text);
}
.smh-faq summary::-webkit-details-marker { display: none; }
.smh-faq summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-family: var(--h-mono); font-size: 20px; color: var(--h-accent-soft); }
.smh-faq details[open] summary::after { content: "\2212"; }
.smh-faq details p { margin: 0 0 20px; max-width: 640px; font-size: 15px; line-height: 1.65; color: var(--h-muted); }

.smh-cta { border-radius: 32px; padding: 72px 40px; text-align: center; border: 1px solid #3a2840; background: radial-gradient(ellipse at 50% 0%, #3a0f36 0%, #120c18 60%); }
.smh-cta .smh-h2, .smh-cta .smh-p { margin-left: auto; margin-right: auto; }
.smh-cta-row { margin-top: 32px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.smh-btn-light, .smh-btn-outline { min-height: 56px; box-sizing: border-box; display: inline-flex; align-items: center; padding: 0 28px; border-radius: 999px; font-size: 16px; font-weight: 700; text-decoration: none; }
.smh-btn-light { background: var(--h-text); color: #120f18 !important; }
.smh-btn-outline { border: 1px solid #4a3f58; color: var(--h-text) !important; }

/* ---------- phones ---------- */
@media (max-width: 640px) {
  body.sm-home-v2 section.smh-sec { padding: 56px 20px !important; }
  body.sm-home-v2 #top { padding-top: 40px !important; padding-bottom: 32px !important; }
  body.sm-home-v2 section.smh-sec--tight { padding-top: 8px !important; }
  .smh-h1 { font-size: clamp(32px, 9vw, 44px) !important; }
  .smh-lead { font-size: 16px; }
  .smh-stage { margin-left: -20px; margin-right: -20px; margin-top: 32px; }
  .smh-screen { border-radius: 0; border-left: 0; border-right: 0; box-shadow: none; }
  .smh-bar { margin: 12px 12px 0; }
  .smh-bar-actions { width: 100%; }
  .smh-bar-actions > * { flex: 1 1 auto; }
  .smh-hud .smh-chip--muted { display: none; }
  .smh-btn-start { min-height: 56px; font-size: 17px; }
  .smh-start { padding: 18px 16px; gap: 8px; }
  .smh-start-note { font-size: 12px; }
  .smh-card { padding: 22px; }
  .smh-card-h { font-size: 22px; }
  .smh-col, .smh-col + .smh-col { padding: 24px 0; border-right: 0; border-bottom: 1px solid var(--h-line); }
  .smh-panel { padding: 32px 20px; border-radius: 24px; }
  .smh-arrow { transform: rotate(90deg); margin: 0 auto; }
  .smh-pipe { flex-direction: column; align-items: stretch; }
  .smh-models { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .smh-logo-tile { width: calc(50% - 5px); }
  .smh-cta { padding: 48px 20px; border-radius: 24px; }
}

/* ---------- motion ---------- */
@keyframes smh-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
@keyframes smh-spin { to { transform: rotate(360deg); } }
@keyframes smh-wave { 0%, 100% { transform: scaleY(0.35); } 50% { transform: scaleY(1); } }
@media (prefers-reduced-motion: reduce) {
  .smh-dot--live, .smh-spinner, .smh-wave span, .smh-note.is-progress::before { animation: none !important; }
  .smh-btn-start { transition: none; }
}
