/* ================================================================
   home-v2.css — Nopturnia Homepage (V2 design)
   Loaded ALONGSIDE blog-v2.css (tokens, nav, sheet, footer, hero
   backdrop) and chat-widget.css (in-chat product cards).
   Scoped to the homepage; reuses --v2-* tokens from blog-v2.css.
================================================================ */

/* ===== Shared section scaffolding ===== */
.hm-section { border-top: 1px solid var(--v2-hairline); background: var(--v2-bg); }
.hm-section.alt { background: color-mix(in srgb, var(--v2-card) 40%, transparent); }
.hm-wrap { max-width: var(--v2-max-w); margin: 0 auto; padding: 64px 24px; }
@media (min-width: 1024px) { .hm-wrap { padding: 80px 24px; } }

.hm-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 16px; margin-bottom: 40px;
}
.hm-eyebrow {
  font-family: var(--v2-mono); font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--v2-brand);
}
.hm-h2 {
  margin-top: 8px; font-family: var(--v2-display); font-weight: 600;
  font-size: clamp(24px, 3.4vw, 30px); letter-spacing: -0.02em; color: var(--v2-ink);
}
.hm-viewall {
  display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0;
  font-family: var(--v2-mono); font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--v2-ink-soft); white-space: nowrap;
}
.hm-viewall:hover { color: var(--v2-ink); }
.hm-viewall svg { width: 13px; height: 13px; }

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

/* ================================================================
   HERO + CHAT
================================================================ */
.hm-hero-grid {
  position: relative;
  display: grid; grid-template-columns: 1fr; gap: 32px;
  max-width: var(--v2-max-w); margin: 0 auto; padding: 32px 24px;
}
@media (min-width: 1024px) {
  .hm-hero-grid { grid-template-columns: 1fr 1.05fr; gap: 56px; padding: 72px 24px; align-items: center; }
}
.hm-hero-copy { display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.hm-hero-eyebrow { display: flex; align-items: center; gap: 12px;
  font-family: var(--v2-mono); font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--v2-brand); }
.hm-hero-eyebrow .line { display: inline-block; width: 32px; height: 1px; background: var(--v2-brand); }
.hm-hero-h1 {
  margin-top: 16px; font-family: var(--v2-display); font-weight: 600;
  font-size: clamp(36px, 6vw, 60px); line-height: 1.02; letter-spacing: -0.02em; color: var(--v2-ink);
}
.hm-hero-h1 .grad {
  display: block;
  background: linear-gradient(90deg, var(--v2-brand), var(--v2-brand-soft), var(--v2-accent));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.hm-hero-sub { margin-top: 16px; max-width: 30rem; font-size: 16px; line-height: 1.6; color: var(--v2-ink-soft); }
.hm-hero-cta { margin-top: 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.hm-btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--v2-brand); color: #fff; font-weight: 500; font-size: 14px;
  padding: 12px 20px; border-radius: var(--v2-r-xl);
  box-shadow: 0 10px 24px rgba(29,78,216,0.30);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.hm-btn-primary:hover { transform: translateY(-2px); }
.hm-btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--v2-hairline); background: var(--v2-card);
  color: var(--v2-ink); font-weight: 500; font-size: 14px;
  padding: 12px 20px; border-radius: var(--v2-r-xl); transition: background 0.18s ease;
}
.hm-btn-ghost:hover { background: var(--v2-secondary); }
.hm-btn-primary svg, .hm-btn-ghost svg { width: 16px; height: 16px; }
/* Force button-anchor text colour (beats blog-v2.css `body.blog-v2 a { color: inherit }`) */
body.blog-v2 a.hm-btn-primary,
body.blog-v2 a.hm-btn-primary:hover,
body.blog-v2 a.hm-prod-btn,
body.blog-v2 a.hm-prod-btn:hover { color: #fff; }
body.blog-v2 a.hm-btn-ghost,
body.blog-v2 a.hm-btn-ghost:hover { color: var(--v2-ink); }
body.blog-v2 a.hm-viewall { color: var(--v2-ink-soft); }
body.blog-v2 a.hm-viewall:hover { color: var(--v2-ink); }

.hm-chat-glow { position: relative; min-width: 0; }
.hm-chat-glow::before {
  content: ""; position: absolute; inset: -8% -6% -6% -6%;
  background: radial-gradient(60% 60% at 50% 40%, rgba(29,78,216,0.20), transparent 70%);
  filter: blur(24px); pointer-events: none; z-index: 0;
}

/* ---- Chat card shell (IDs/classes preserved for chat JS) ---- */
.chat-wrapper.hm-chat {
  position: relative; z-index: 1;
  display: flex; flex-direction: column;
  background: var(--v2-card);
  border: 1px solid var(--v2-hairline);
  border-radius: var(--v2-r-3xl);
  box-shadow: 0 24px 60px rgba(29,78,216,0.18);
  overflow: hidden;
  height: 540px; max-height: 78vh;
}
.hm-chat-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 18px; border-bottom: 1px solid var(--v2-hairline);
  background: color-mix(in srgb, var(--v2-bg) 60%, transparent);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.hm-chat-id { display: flex; align-items: center; gap: 10px; min-width: 0; }
.hm-chat-avatar {
  position: relative; display: grid; place-items: center;
  width: 36px; height: 36px; border-radius: var(--v2-r-lg);
  background: var(--v2-bg); box-shadow: inset 0 0 0 1px var(--v2-hairline); flex-shrink: 0;
  /* overflow stays visible so the online dot isn't clipped; the img rounds itself */
}
.hm-chat-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--v2-r-lg); }
.hm-chat-dot {
  position: absolute; top: -2px; right: -2px; width: 9px; height: 9px;
  background: #34d399; border-radius: 50%; box-shadow: 0 0 0 2px var(--v2-card);
}
.hm-chat-name { font-family: var(--v2-display); font-weight: 600; font-size: 14px; line-height: 1.2; color: var(--v2-ink); }
.hm-chat-status { font-family: var(--v2-mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--v2-ink-soft); }
#refresh-chat-btn {
  display: grid; place-items: center; width: 32px; height: 32px;
  border: none; background: none; cursor: pointer; border-radius: var(--v2-r-md);
  color: var(--v2-ink-soft); transition: background 0.15s ease, color 0.15s ease; font-size: 0;
}
#refresh-chat-btn:hover { background: var(--v2-secondary); color: var(--v2-ink); }
#refresh-chat-btn svg { width: 16px; height: 16px; }

#chatbox {
  flex: 1 1 auto; min-height: 0; overflow-y: auto;
  display: flex; flex-direction: column; gap: 12px;
  padding: 18px; background: linear-gradient(to bottom, var(--v2-bg), color-mix(in srgb, var(--v2-card) 60%, transparent));
}
#chatbox::-webkit-scrollbar { width: 6px; }
#chatbox::-webkit-scrollbar-thumb { background: var(--v2-hairline); border-radius: 6px; }

.chat-message { max-width: 88%; line-height: 1.5; word-wrap: break-word; font-size: 13.5px; }
.chat-message p { margin: 0; }
.chat-message.bot, .chat-message.nopturnia-ai {
  align-self: flex-start; background: color-mix(in srgb, var(--v2-secondary) 70%, transparent);
  border: 1px solid var(--v2-hairline); color: var(--v2-ink);
  padding: 12px 16px; border-radius: var(--v2-r-2xl); border-top-left-radius: var(--v2-r-md);
}
.chat-message.bot strong, .chat-message.nopturnia-ai strong { color: var(--v2-brand); font-weight: 600; }
.chat-message.bot a, .chat-message.nopturnia-ai a { color: var(--v2-brand); text-decoration: underline; }
.chat-message.you {
  align-self: flex-end; background: var(--v2-brand); color: #fff;
  padding: 10px 16px; border-radius: var(--v2-r-2xl); border-top-right-radius: var(--v2-r-md); text-align: right;
}
.chat-message.you strong { color: #fff; }
.chat-message.system {
  align-self: flex-start; background: #fef2f2; color: #b91c1c;
  border: 1px solid #fecaca; padding: 10px 14px; border-radius: var(--v2-r-2xl);
}

#typing-indicator { display: flex; align-items: center; gap: 6px; padding: 10px 16px; align-self: flex-start; }
#typing-indicator.hidden { display: none; }
#typing-indicator .dot { width: 6px; height: 6px; background: var(--v2-brand); border-radius: 50%; animation: hmBounce 1.2s ease-in-out infinite; }
#typing-indicator .dot:nth-child(2) { animation-delay: 0.15s; }
#typing-indicator .dot:nth-child(3) { animation-delay: 0.3s; }
@keyframes hmBounce { 0%,80%,100% { transform: translateY(0); opacity: 0.6; } 40% { transform: translateY(-5px); opacity: 1; } }

/* Composer */
.input-container { display: flex; align-items: center; gap: 8px; padding: 12px; border-top: 1px solid var(--v2-hairline); background: var(--v2-card); flex-shrink: 0; }
#user-input {
  flex: 1 1 auto; min-width: 0; padding: 12px 16px; border-radius: var(--v2-r-xl);
  border: 1px solid var(--v2-hairline); background: color-mix(in srgb, var(--v2-secondary) 40%, transparent);
  font-family: var(--v2-sans); font-size: 13.5px; color: var(--v2-ink); outline: none;
  transition: border-color 0.15s ease, background 0.15s ease;
}
#user-input::placeholder { color: color-mix(in srgb, var(--v2-ink-soft) 70%, transparent); }
#user-input:focus { border-color: var(--v2-brand); background: var(--v2-card); }
#send-btn {
  display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0;
  background: var(--v2-brand); color: #fff; border: none; cursor: pointer;
  padding: 12px 16px; border-radius: var(--v2-r-xl); font-family: var(--v2-sans); font-size: 13px; font-weight: 500;
  transition: transform 0.15s ease, opacity 0.15s ease;
}
#send-btn:hover { transform: translateY(-1px); }
#send-btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }
#send-btn svg { width: 16px; height: 16px; }

/* In-chat product cards / pills — re-tint to V2 brand (chat-widget.css untouched) */
.hm-chat .nopturnia-product-price, .hm-chat .nopturnia-product-link { color: var(--v2-brand); }
.hm-chat .nopturnia-product-card:hover { border-color: color-mix(in srgb, var(--v2-brand) 40%, transparent); box-shadow: 0 3px 12px rgba(29,78,216,0.12); }
.hm-chat .nopturnia-pill { background: color-mix(in srgb, var(--v2-brand) 8%, transparent); border-color: var(--v2-brand); color: var(--v2-brand); border-radius: 16px; }
.hm-chat .nopturnia-pill:hover { background: var(--v2-brand); color: #fff; }
.hm-chat .nopturnia-starter-chips { gap: 8px; }

/* ================================================================
   FEATURED PRODUCTS
================================================================ */
.hm-filter { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 32px; }
.hm-pill {
  flex-shrink: 0; cursor: pointer; border: 1px solid var(--v2-hairline); background: var(--v2-bg);
  color: var(--v2-ink-soft); border-radius: 999px; padding: 6px 14px;
  font-family: var(--v2-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}
.hm-pill:hover { border-color: color-mix(in srgb, var(--v2-brand) 40%, transparent); color: var(--v2-ink); }
.hm-pill.active { border-color: var(--v2-brand); background: var(--v2-brand); color: #fff; }

.hm-prod-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 640px) { .hm-prod-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .hm-prod-grid { grid-template-columns: repeat(3, 1fr); } }

.hm-prod-card {
  display: flex; flex-direction: column; overflow: hidden;
  border: 1px solid var(--v2-hairline); border-radius: var(--v2-r-2xl); background: var(--v2-card);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.hm-prod-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(15,23,42,0.10); }
.hm-prod-imgwrap { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--v2-secondary); }
.hm-prod-imgwrap img { width: 100%; height: 100%; object-fit: contain; transition: transform 0.5s ease; }
.hm-prod-card:hover .hm-prod-imgwrap img { transform: scale(1.05); }
.hm-prod-body { display: flex; flex: 1 1 auto; flex-direction: column; gap: 10px; padding: 20px; }
.hm-prod-title {
  font-family: var(--v2-display); font-weight: 600; font-size: 15px; line-height: 1.35;
  letter-spacing: -0.01em; color: var(--v2-ink);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.hm-prod-price { font-family: var(--v2-mono); font-weight: 600; font-size: 15px; color: var(--v2-brand); }
.hm-prod-blurb {
  font-size: 13px; line-height: 1.55; color: var(--v2-ink-soft);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.hm-prod-btn {
  margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: 6px;
  background: var(--v2-brand); color: #fff; font-size: 12.5px; font-weight: 500;
  padding: 8px 12px; border-radius: var(--v2-r-md); transition: opacity 0.15s ease;
}
.hm-prod-btn:hover { opacity: 0.9; }
.hm-prod-btn svg { width: 14px; height: 14px; }
.hm-loading { grid-column: 1/-1; color: var(--v2-ink-soft); font-size: 14px; padding: 24px 0; }

/* ================================================================
   BLOG GRID
================================================================ */
.hm-blog-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 768px) { .hm-blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .hm-blog-grid { grid-template-columns: repeat(3, 1fr); } }

.hm-blog-card {
  display: flex; flex-direction: column; overflow: hidden;
  border: 1px solid var(--v2-hairline); border-radius: var(--v2-r-2xl); background: var(--v2-card);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.hm-blog-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(15,23,42,0.10); }
.hm-blog-imgwrap { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.hm-blog-imgwrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.hm-blog-card:hover .hm-blog-imgwrap img { transform: scale(1.05); }
.hm-tag {
  position: absolute; left: 12px; top: 12px; z-index: 2;
  background: color-mix(in srgb, var(--v2-bg) 90%, transparent); color: var(--v2-ink);
  font-family: var(--v2-mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 4px 8px; border-radius: var(--v2-r-md); backdrop-filter: blur(4px);
}
.hm-blog-body { display: flex; flex: 1 1 auto; flex-direction: column; gap: 8px; padding: 20px; }
.hm-blog-title { font-family: var(--v2-display); font-weight: 600; font-size: 16px; line-height: 1.35; letter-spacing: -0.01em; color: var(--v2-ink); }
.hm-blog-card:hover .hm-blog-title { color: var(--v2-brand); }
.hm-blog-sub { font-size: 13px; line-height: 1.55; color: var(--v2-ink-soft); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hm-blog-meta { margin-top: auto; padding-top: 8px; display: flex; align-items: center; gap: 14px; font-family: var(--v2-mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--v2-ink-soft); }
.hm-blog-meta span { display: inline-flex; align-items: center; gap: 5px; }
.hm-blog-meta svg { width: 12px; height: 12px; }

/* Featured (large) blog card */
.hm-blog-feature { grid-column: 1 / -1; position: relative; }
@media (min-width: 768px) { .hm-blog-feature { grid-column: span 2; } }
.hm-blog-feature .hm-blog-imgwrap { aspect-ratio: 16/9; }
@media (min-width: 768px) { .hm-blog-feature .hm-blog-imgwrap { aspect-ratio: 21/9; } }
.hm-blog-feature .hm-feat-overlay {
  position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 24px; background: linear-gradient(to top, rgba(15,23,42,0.82), rgba(15,23,42,0.08) 55%, transparent);
}
.hm-feat-title { font-family: var(--v2-display); font-weight: 600; font-size: clamp(20px, 2.6vw, 26px); line-height: 1.15; letter-spacing: -0.01em; color: #fff; }
.hm-feat-sub { margin-top: 8px; max-width: 36rem; font-size: 13.5px; line-height: 1.55; color: rgba(255,255,255,0.82); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hm-feat-meta { margin-top: 12px; display: flex; align-items: center; gap: 16px; font-family: var(--v2-mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.72); }
.hm-feat-meta span { display: inline-flex; align-items: center; gap: 5px; }
.hm-feat-meta svg { width: 12px; height: 12px; }

/* ================================================================
   CATEGORIES
================================================================ */
.hm-cat-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 640px) { .hm-cat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .hm-cat-grid { grid-template-columns: repeat(3, 1fr); } }
.hm-cat-card {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  border: 1px solid var(--v2-hairline); border-radius: var(--v2-r-2xl); background: var(--v2-bg);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.hm-cat-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(15,23,42,0.10); }
.hm-cat-imgwrap { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.hm-cat-imgwrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.hm-cat-card:hover .hm-cat-imgwrap img { transform: scale(1.05); }
.hm-cat-imgwrap::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(15,23,42,0.72), rgba(15,23,42,0.08) 55%, transparent); }
.hm-cat-badge {
  position: absolute; left: 16px; top: 16px; z-index: 2;
  background: color-mix(in srgb, var(--v2-bg) 90%, transparent); color: var(--v2-ink);
  font-family: var(--v2-mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px; backdrop-filter: blur(4px);
}
.hm-cat-name { position: absolute; left: 16px; bottom: 12px; z-index: 2; font-family: var(--v2-display); font-weight: 600; font-size: 22px; letter-spacing: -0.01em; color: #fff; }
.hm-cat-arrow {
  position: absolute; right: 12px; top: 12px; z-index: 2; display: grid; place-items: center;
  width: 36px; height: 36px; border-radius: 999px; background: color-mix(in srgb, var(--v2-bg) 90%, transparent);
  color: var(--v2-ink); opacity: 0; transition: opacity 0.2s ease;
}
.hm-cat-card:hover .hm-cat-arrow { opacity: 1; }
.hm-cat-arrow svg { width: 16px; height: 16px; }
.hm-cat-blurb { padding: 20px; font-size: 13.5px; line-height: 1.55; color: var(--v2-ink-soft); }

/* ================================================================
   HOW IT WORKS
================================================================ */
.hm-how { border-top: 1px solid var(--v2-hairline); background: linear-gradient(to bottom, var(--v2-bg), color-mix(in srgb, var(--v2-secondary) 30%, transparent), var(--v2-bg)); }
.hm-how-intro { max-width: 42rem; margin-bottom: 48px; }
.hm-how-intro .hm-eyebrow { letter-spacing: 0.2em; }
.hm-how-h2 { margin-top: 8px; font-family: var(--v2-display); font-weight: 600; font-size: clamp(28px, 4vw, 40px); line-height: 1.12; letter-spacing: -0.02em; color: var(--v2-ink); }
.hm-how-sub { margin-top: 12px; font-size: 15px; line-height: 1.6; color: var(--v2-ink-soft); }

.hm-steps { position: relative; display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 768px) { .hm-steps { grid-template-columns: repeat(4, 1fr); } }
.hm-step-line { display: none; }
@media (min-width: 768px) { .hm-step-line { display: block; position: absolute; left: 0; right: 0; top: 36px; height: 1px; background: linear-gradient(to right, transparent, color-mix(in srgb, var(--v2-brand) 40%, transparent), transparent); } }
.hm-step { position: relative; }
.hm-step-card { border: 1px solid var(--v2-hairline); background: var(--v2-card); border-radius: var(--v2-r-2xl); padding: 20px; height: 100%; transition: border-color 0.18s ease; }
.hm-step-card:hover { border-color: color-mix(in srgb, var(--v2-brand) 40%, transparent); }
.hm-step-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.hm-step-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: var(--v2-r-xl); background: var(--v2-brand); color: #fff; }
.hm-step-icon svg { width: 20px; height: 20px; }
.hm-step-num { font-family: var(--v2-mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--v2-ink-soft); }
.hm-step h3 { font-family: var(--v2-display); font-weight: 600; font-size: 16px; color: var(--v2-ink); }
.hm-step p { margin-top: 6px; font-size: 13.5px; line-height: 1.55; color: var(--v2-ink-soft); }

.hm-ex-head { margin: 56px 0 20px; display: flex; align-items: center; gap: 8px; font-family: var(--v2-mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--v2-ink-soft); }
.hm-ex-head svg { width: 16px; height: 16px; color: var(--v2-brand); }
.hm-examples { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 768px) { .hm-examples { grid-template-columns: repeat(3, 1fr); } }
.hm-ex-card { overflow: hidden; border: 1px solid var(--v2-hairline); background: var(--v2-card); border-radius: var(--v2-r-2xl); transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease; cursor: pointer; }
.hm-ex-card:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(15,23,42,0.10); border-color: color-mix(in srgb, var(--v2-brand) 40%, transparent); }
.hm-ex-card:focus-visible { outline: 2px solid var(--v2-brand); outline-offset: 2px; }
.hm-ex-try { margin-top: 2px; display: inline-flex; align-items: center; gap: 6px; font-family: var(--v2-mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--v2-brand); }
.hm-ex-try svg { width: 12px; height: 12px; transition: transform 0.18s ease; }
.hm-ex-card:hover .hm-ex-try { text-decoration: underline; }
.hm-ex-card:hover .hm-ex-try svg { transform: translateX(3px); }
.hm-ex-imgwrap { aspect-ratio: 16/10; overflow: hidden; background: var(--v2-secondary); }
.hm-ex-imgwrap img { width: 100%; height: 100%; object-fit: cover; }
.hm-ex-body { display: flex; flex-direction: column; gap: 12px; padding: 16px; }
.hm-ex-q { display: flex; align-items: flex-start; gap: 8px; background: color-mix(in srgb, var(--v2-brand) 10%, transparent); border-radius: var(--v2-r-xl); padding: 10px 12px; }
.hm-ex-q svg { width: 14px; height: 14px; margin-top: 2px; flex-shrink: 0; color: var(--v2-brand); }
.hm-ex-q p { font-size: 12.5px; line-height: 1.4; color: var(--v2-ink); }
.hm-ex-a { display: flex; align-items: flex-start; gap: 8px; padding: 0 4px; }
.hm-ex-a svg { width: 14px; height: 14px; margin-top: 2px; flex-shrink: 0; color: var(--v2-brand); }
.hm-ex-a p { font-size: 12.5px; line-height: 1.4; color: var(--v2-ink-soft); }

.hm-hood { margin-top: 56px; display: grid; grid-template-columns: 1fr; gap: 16px; border: 1px solid var(--v2-hairline); background: var(--v2-card); border-radius: var(--v2-r-3xl); padding: 24px; }
@media (min-width: 768px) { .hm-hood { grid-template-columns: repeat(3, 1fr); padding: 32px; } }
.hm-hood-item { display: flex; align-items: flex-start; gap: 12px; }
.hm-hood-icon { display: grid; place-items: center; width: 36px; height: 36px; flex-shrink: 0; border-radius: var(--v2-r-lg); background: color-mix(in srgb, var(--v2-brand) 10%, transparent); color: var(--v2-brand); }
.hm-hood-icon svg { width: 16px; height: 16px; }
.hm-hood-item h3 { font-family: var(--v2-display); font-weight: 600; font-size: 14px; color: var(--v2-ink); }
.hm-hood-item p { margin-top: 2px; font-size: 13px; line-height: 1.55; color: var(--v2-ink-soft); }

/* ================================================================
   RESPONSIVE — chat on small screens
================================================================ */
@media (max-width: 1023px) {
  .chat-wrapper.hm-chat { height: auto; min-height: 460px; max-height: none; }
  #chatbox { min-height: 300px; max-height: 60vh; }
}
@media (max-width: 480px) {
  .hm-head { flex-direction: column; align-items: flex-start; }
}
