/* ClipLab home page. Self-contained: only index.html loads this file. */
:root {
  --hm-bg: #07070c;
  --hm-bg-2: #0c0c14;
  --hm-card: rgba(255, 255, 255, 0.03);
  --hm-line: rgba(255, 255, 255, 0.08);
  --hm-line-2: rgba(255, 255, 255, 0.14);
  --hm-text: #f4f4f8;
  --hm-muted: #a3a3bb;
  --hm-dim: #6f6f88;
  --hm-violet: #8b5cf6;
  --hm-violet-2: #a78bfa;
  --hm-indigo: #6366f1;
  --hm-cyan: #22d3ee;
  --hm-green: #34d399;
  --hm-amber: #fbbf24;
  --hm-red: #f87171;
  --hm-grad: linear-gradient(100deg, #c4b5fd 0%, #a78bfa 30%, #818cf8 55%, #22d3ee 100%);
  --hm-font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --hm-radius: 18px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; color-scheme: dark; }
body.hm {
  background: var(--hm-bg);
  color: var(--hm-text);
  font-family: var(--hm-font);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
svg { display: block; }

.hm-skip {
  position: absolute; left: 1rem; top: -3rem; z-index: 50;
  background: var(--hm-text); color: var(--hm-bg);
  padding: 0.5rem 0.9rem; border-radius: 8px; font-weight: 600;
}
.hm-skip:focus { top: 1rem; }

.hm-wrap { width: min(1160px, calc(100% - 2.5rem)); margin: 0 auto; }

/* ------------------------------------------------------------ buttons */
.hm-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  height: 2.9rem; padding: 0 1.3rem; border-radius: 999px;
  font-weight: 600; font-size: 0.95rem; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
.hm-btn svg { width: 1rem; height: 1rem; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.hm-btn:focus-visible, .hm-links a:focus-visible, .hm-win-tabs button:focus-visible, .hm-q summary:focus-visible, .hm-link:focus-visible {
  outline: 2px solid var(--hm-violet-2); outline-offset: 3px;
}
.hm-btn-quiet { height: 2.4rem; padding: 0 0.95rem; color: var(--hm-muted); font-size: 0.9rem; }
.hm-btn-quiet:hover { color: var(--hm-text); }
.hm-btn-light { height: 2.4rem; padding: 0 1.05rem; background: var(--hm-text); color: #0b0b12; font-size: 0.9rem; }
.hm-btn-light:hover { transform: translateY(-1px); }
.hm-btn-glow {
  color: #fff;
  background: linear-gradient(135deg, #8b5cf6, #6366f1 60%, #4f7cff);
  border-color: rgba(196, 181, 253, 0.45);
  box-shadow: 0 0 0 1px rgba(139, 92, 246, 0.25), 0 12px 40px rgba(99, 102, 241, 0.45);
}
.hm-btn-glow:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(139, 92, 246, 0.35), 0 18px 50px rgba(99, 102, 241, 0.6); }
.hm-btn-outline { border-color: var(--hm-line-2); color: var(--hm-text); background: rgba(255, 255, 255, 0.02); }
.hm-btn-outline:hover { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.24); }

/* ----------------------------------------------------------------- nav */
.hm-nav {
  position: sticky; top: 0; z-index: 30;
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  background: rgba(7, 7, 12, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.hm-nav-in { display: flex; align-items: center; gap: 1.5rem; height: 4rem; }
.hm-logo { display: inline-flex; align-items: center; gap: 0.55rem; font-weight: 700; font-size: 1.05rem; letter-spacing: -0.01em; }
.hm-links { display: flex; gap: 1.6rem; margin-left: 1.5rem; }
.hm-links a { color: var(--hm-muted); font-size: 0.9rem; font-weight: 500; border-radius: 6px; }
.hm-links a:hover { color: var(--hm-text); }
.hm-nav-cta { margin-left: auto; display: flex; align-items: center; gap: 0.4rem; }

/* ---------------------------------------------------------------- hero */
.hm-hero { position: relative; padding: 5.5rem 0 4.5rem; text-align: center; overflow: hidden; }
.hm-beam {
  position: absolute; inset: -20% -10% auto -10%; height: 900px; z-index: 0; pointer-events: none;
  background:
    radial-gradient(46% 60% at 50% 0%, rgba(139, 92, 246, 0.5), transparent 72%),
    radial-gradient(28% 40% at 70% 12%, rgba(34, 211, 238, 0.16), transparent 70%),
    radial-gradient(30% 40% at 28% 16%, rgba(99, 102, 241, 0.2), transparent 70%);
}
.hm-hero > .hm-wrap { position: relative; z-index: 1; }
.hm-eyebrow {
  display: inline-flex; align-items: center; gap: 0.55rem;
  padding: 0.35rem 0.85rem; border-radius: 999px;
  border: 1px solid var(--hm-line-2); background: rgba(255, 255, 255, 0.03);
  font-size: 0.8rem; font-weight: 500; color: var(--hm-muted);
}
.hm-eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--hm-green); box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.16); }
.hm-h1 {
  margin: 1.4rem auto 0; max-width: 15ch;
  font-size: clamp(2.7rem, 7.4vw, 5.6rem); line-height: 0.98; letter-spacing: -0.045em; font-weight: 800;
}
.hm-grad { background: var(--hm-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hm-lede { margin: 1.5rem auto 0; max-width: 60ch; font-size: clamp(1rem, 1.6vw, 1.18rem); color: var(--hm-muted); line-height: 1.6; }

.hm-chips { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; margin: 1.8rem auto 0; max-width: 1040px; }
.hm-chips li {
  display: inline-flex; align-items: center; gap: 0.45rem;
  padding: 0.42rem 0.8rem; border-radius: 999px;
  border: 1px solid var(--hm-line); background: rgba(255, 255, 255, 0.025);
  font-size: 0.85rem; color: var(--hm-muted);
}
.hm-chips b { color: var(--hm-text); font-weight: 600; }
.hm-chips svg { width: 0.95rem; height: 0.95rem; fill: none; stroke: var(--hm-violet-2); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.hm-ctas { display: flex; justify-content: center; flex-wrap: wrap; gap: 0.7rem; margin-top: 2rem; }
.hm-fine { margin-top: 0.9rem; font-size: 0.82rem; color: var(--hm-dim); }

/* ---------------------------------------------------------------- demo */
.hm-demo-wrap { margin-top: 4rem; position: relative; }
.hm-demo-wrap::before {
  content: ""; position: absolute; left: 8%; right: 8%; top: 1.5rem; height: 70%; z-index: 0;
  background: radial-gradient(50% 60% at 50% 30%, rgba(139, 92, 246, 0.35), transparent 70%);
  filter: blur(30px); pointer-events: none;
}
.hm-demo-bar {
  position: relative; z-index: 1;
  display: flex; align-items: center; gap: 0.6rem; justify-content: flex-start;
  max-width: 1040px; margin: 0 auto 0.7rem; font-size: 0.82rem; color: var(--hm-dim);
}
.hm-demo-live { display: inline-flex; align-items: center; gap: 0.45rem; color: var(--hm-muted); font-weight: 600; }
.hm-demo-live span { width: 6px; height: 6px; border-radius: 50%; background: var(--hm-violet-2); }

.hm-window {
  position: relative; z-index: 1;
  max-width: 1040px; margin: 0 auto; text-align: left;
  border-radius: 16px; overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #0b0b12;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06) inset, 0 40px 120px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(139, 92, 246, 0.08);
}
.hm-win-top {
  display: flex; align-items: center; gap: 0.45rem; height: 2.4rem; padding: 0 0.9rem;
  border-bottom: 1px solid var(--hm-line); background: rgba(255, 255, 255, 0.02);
  font-size: 0.78rem; color: var(--hm-dim);
}
.hm-win-top i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, 0.14); }
.hm-win-top span { margin: 0 auto; transform: translateX(-1.4rem); }
.hm-win-body { display: grid; grid-template-columns: 210px minmax(0, 1fr); min-height: 430px; }
.hm-win-side { display: flex; flex-direction: column; gap: 0.3rem; padding: 1rem 0.7rem; border-right: 1px solid var(--hm-line); background: rgba(255, 255, 255, 0.012); }
.hm-win-brand { display: flex; align-items: center; gap: 0.45rem; font-size: 0.85rem; font-weight: 700; padding: 0 0.5rem 0.8rem; }
.hm-win-tabs { display: flex; flex-direction: column; gap: 0.2rem; }
.hm-win-tabs button {
  display: flex; align-items: center; gap: 0.6rem; width: 100%;
  padding: 0.55rem 0.6rem; border-radius: 9px; border: 1px solid transparent;
  background: transparent; color: var(--hm-muted); font: inherit; font-size: 0.88rem; font-weight: 500;
  cursor: pointer; text-align: left;
}
.hm-win-tabs button span {
  display: grid; place-items: center; width: 1.3rem; height: 1.3rem; border-radius: 50%;
  border: 1px solid var(--hm-line-2); font-size: 0.7rem; font-weight: 600;
}
.hm-win-tabs button:hover { color: var(--hm-text); }
.hm-win-tabs button.is-on { background: rgba(255, 255, 255, 0.06); border-color: var(--hm-line); color: var(--hm-text); font-weight: 600; }
.hm-win-tabs button.is-on span { background: var(--hm-violet); border-color: var(--hm-violet); color: #fff; }
.hm-win-status { margin-top: auto; display: flex; align-items: center; gap: 0.45rem; padding: 0 0.5rem; font-size: 0.75rem; color: var(--hm-dim); }
.hm-win-status span { width: 6px; height: 6px; border-radius: 50%; background: var(--hm-green); }

.hm-win-main { padding: 1.6rem 1.8rem; min-width: 0; }
.hm-panel[hidden] { display: none; }
.hm-panel.is-on { animation: hmIn 0.35s ease both; }
@keyframes hmIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.hm-p-k { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--hm-dim); }
.hm-p-h { margin-top: 0.35rem; font-size: 1.15rem; font-weight: 650; letter-spacing: -0.015em; max-width: 34ch; }

.hm-rows { margin-top: 1.3rem; display: flex; flex-direction: column; gap: 0.55rem; }
.hm-row { display: flex; align-items: center; gap: 0.8rem; padding: 0.8rem 0.9rem; border-radius: 12px; border: 1px solid var(--hm-line); background: rgba(255, 255, 255, 0.02); }
.hm-av { display: grid; place-items: center; width: 2.1rem; height: 2.1rem; border-radius: 50%; flex: 0 0 auto; font-size: 0.8rem; font-weight: 700; background: hsl(var(--h) 60% 30%); color: hsl(var(--h) 90% 85%); }
.hm-row-t { flex: 1 1 auto; min-width: 0; }
.hm-row-t b { display: block; font-size: 0.88rem; font-weight: 600; }
.hm-row-t small { display: block; font-size: 0.78rem; color: var(--hm-muted); }
.hm-bar { display: block; height: 3px; margin-top: 0.45rem; border-radius: 3px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.hm-bar em { display: block; height: 100%; background: linear-gradient(90deg, var(--hm-violet), var(--hm-cyan)); }

.hm-tag { display: inline-flex; align-items: center; padding: 0.14rem 0.55rem; border-radius: 999px; font-size: 0.7rem; font-weight: 650; border: 1px solid transparent; white-space: nowrap; flex: 0 0 auto; }
.hm-tag-cyan { color: #67e8f9; background: rgba(34, 211, 238, 0.1); border-color: rgba(34, 211, 238, 0.35); }
.hm-tag-amber { color: #fcd34d; background: rgba(251, 191, 36, 0.1); border-color: rgba(251, 191, 36, 0.3); }
.hm-tag-green { color: #6ee7b7; background: rgba(52, 211, 153, 0.1); border-color: rgba(52, 211, 153, 0.32); }
.hm-tag-red { color: #fca5a5; background: rgba(248, 113, 113, 0.1); border-color: rgba(248, 113, 113, 0.32); }
.hm-tag-violet { color: #c4b5fd; background: rgba(139, 92, 246, 0.12); border-color: rgba(167, 139, 250, 0.38); }

/* phones */
.hm-phones { margin-top: 1.3rem; display: grid; grid-template-columns: repeat(3, minmax(0, 150px)); gap: 1rem; }
.hm-phone { display: flex; flex-direction: column; gap: 0.5rem; }
.hm-screen { position: relative; aspect-ratio: 9 / 16; border-radius: 14px; overflow: hidden; border: 1px solid var(--hm-line-2); }
.hm-s1 { background: linear-gradient(180deg, #2a1f4a, #120f22); }
.hm-s2 { background: #0f1420; }
.hm-s3 { background: radial-gradient(120% 60% at 50% 50%, #1b2440, #0b0e18); }
.hm-face { position: absolute; left: 50%; top: 30%; width: 44%; aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(circle at 45% 40%, #c9b8ff, #6d5bd0 70%); opacity: 0.8; }
.hm-face::after { content: ""; position: absolute; left: -35%; right: -35%; top: 105%; height: 120%; border-radius: 45% 45% 0 0; background: #5a49b8; }
.hm-split .hm-cam { position: absolute; inset: 0 0 58% 0; background: radial-gradient(circle at 50% 60%, #d8c9ff 0 18%, #3b2f6e 19% 100%); }
.hm-split .hm-game { position: absolute; inset: 42% 0 0 0; background: linear-gradient(160deg, #0e3b3f, #103042 50%, #1e1a3c); border-top: 2px solid rgba(255, 255, 255, 0.2); }
.hm-s3 .hm-ui { position: absolute; left: 8%; right: 8%; top: 32%; height: 22%; border-radius: 6px; background: repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.28) 0 3px, transparent 3px 9px), #1f2a4d; border: 1px solid rgba(255, 255, 255, 0.25); box-shadow: 0 0 0 999px rgba(20, 26, 48, 0.2); }
.hm-cap { position: absolute; left: 6%; right: 6%; bottom: 16%; text-align: center; font-size: 0.72rem; font-weight: 800; line-height: 1.2; color: #fff; text-shadow: 0 2px 0 #000, 0 0 6px rgba(0, 0, 0, 0.8); letter-spacing: 0.02em; }
.hm-cap em { font-style: normal; color: #fde047; }
.hm-s3 .hm-cap { text-transform: none; font-weight: 700; }
.hm-phone figcaption { display: flex; flex-wrap: wrap; gap: 0.3rem; }
.hm-phone figcaption span { font-size: 0.68rem; font-weight: 600; padding: 0.1rem 0.45rem; border-radius: 999px; background: rgba(255, 255, 255, 0.06); color: var(--hm-muted); }

/* lessons */
.hm-lessons { list-style: none; margin-top: 1.3rem; display: flex; flex-direction: column; gap: 0.55rem; }
.hm-lessons li { display: flex; gap: 0.8rem; align-items: flex-start; padding: 0.8rem 0.9rem; border-radius: 12px; border: 1px solid var(--hm-line); background: rgba(255, 255, 255, 0.02); font-size: 0.88rem; color: var(--hm-text); }
.hm-lessons .hm-tag { margin-top: 0.1rem; min-width: 4.8rem; justify-content: center; }
.hm-src { margin-top: 0.9rem; font-size: 0.76rem; color: var(--hm-dim); }

/* judge */
.hm-bars { position: relative; margin-top: 1.4rem; height: 150px; display: flex; align-items: flex-end; gap: 0.8rem; padding: 0 0.3rem; border-bottom: 1px solid var(--hm-line-2); }
.hm-bars i { flex: 1 1 0; height: calc(var(--v) * 100%); border-radius: 6px 6px 0 0; background: linear-gradient(180deg, rgba(167, 139, 250, 0.85), rgba(99, 102, 241, 0.35)); }
.hm-bars i.up { background: linear-gradient(180deg, rgba(52, 211, 153, 0.9), rgba(52, 211, 153, 0.3)); }
.hm-bars i.low { background: linear-gradient(180deg, rgba(248, 113, 113, 0.85), rgba(248, 113, 113, 0.25)); }
.hm-median { position: absolute; left: 0; right: 0; bottom: 55%; border-top: 1px dashed rgba(255, 255, 255, 0.45); z-index: 1; }
.hm-median span { position: absolute; right: 0; top: -1.35rem; font-size: 0.7rem; color: var(--hm-muted); background: #0b0b12; padding: 0 0.3rem; }
.hm-alert { margin-top: 1.1rem; display: flex; gap: 0.75rem; align-items: flex-start; padding: 0.8rem 0.9rem; border-radius: 12px; border: 1px solid rgba(248, 113, 113, 0.3); background: rgba(248, 113, 113, 0.06); }
.hm-alert svg { width: 1.1rem; height: 1.1rem; flex: 0 0 auto; margin-top: 0.1rem; fill: none; stroke: #fca5a5; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hm-alert b { display: block; font-size: 0.88rem; font-weight: 600; }
.hm-alert small { display: block; font-size: 0.78rem; color: var(--hm-muted); }

.hm-demo-cap { position: relative; z-index: 1; margin-top: 1rem; font-size: 0.85rem; color: var(--hm-dim); }

/* ------------------------------------------------------------ sections */
.hm-sec { padding: 6rem 0; border-top: 1px solid rgba(255, 255, 255, 0.05); }
.hm-sec-alt { background: linear-gradient(180deg, rgba(255, 255, 255, 0.015), rgba(255, 255, 255, 0)); }
.hm-sec-head { max-width: 720px; margin-bottom: 2.8rem; }
.hm-k { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--hm-violet-2); margin-bottom: 0.7rem; }
.hm-sec h2, .hm-cta h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); line-height: 1.08; letter-spacing: -0.03em; font-weight: 750; }
.hm-sec-head p:not(.hm-k), .hm-duo p:not(.hm-k) { margin-top: 0.9rem; color: var(--hm-muted); font-size: 1.02rem; max-width: 62ch; }

/* steps */
.hm-steps { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0.8rem; counter-reset: s; }
.hm-step { position: relative; display: flex; flex-direction: column; padding: 1.3rem 1.2rem 1.2rem; border-radius: var(--hm-radius); border: 1px solid var(--hm-line); background: var(--hm-card); }
.hm-step-n { display: grid; place-items: center; width: 1.9rem; height: 1.9rem; border-radius: 50%; background: rgba(139, 92, 246, 0.14); border: 1px solid rgba(167, 139, 250, 0.35); color: #c4b5fd; font-size: 0.82rem; font-weight: 700; }
.hm-step h3 { margin-top: 0.9rem; font-size: 1.05rem; font-weight: 650; }
.hm-step p { margin-top: 0.45rem; font-size: 0.88rem; color: var(--hm-muted); line-height: 1.55; flex: 1 1 auto; }
.hm-auto { margin-top: 1rem; align-self: flex-start; font-size: 0.72rem; font-weight: 650; padding: 0.2rem 0.55rem; border-radius: 999px; color: #67e8f9; background: rgba(34, 211, 238, 0.08); border: 1px solid rgba(34, 211, 238, 0.28); }
.hm-auto-you { color: #fcd34d; background: rgba(251, 191, 36, 0.08); border-color: rgba(251, 191, 36, 0.28); }

/* honest split */
.hm-split { display: grid; grid-template-columns: 1.25fr 1fr; gap: 1rem; }
.hm-col { padding: 1.6rem 1.6rem 1.5rem; border-radius: var(--hm-radius); border: 1px solid var(--hm-line); background: var(--hm-card); }
.hm-col h3 { display: flex; align-items: center; gap: 0.65rem; font-size: 1.1rem; font-weight: 650; }
.hm-col-ic { display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 10px; flex: 0 0 auto; }
.hm-col-ic svg { width: 1.05rem; height: 1.05rem; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hm-ic-auto { background: rgba(34, 211, 238, 0.1); border: 1px solid rgba(34, 211, 238, 0.3); }
.hm-ic-auto svg { stroke: #67e8f9; }
.hm-ic-you { background: rgba(251, 191, 36, 0.1); border: 1px solid rgba(251, 191, 36, 0.3); }
.hm-ic-you svg { stroke: #fcd34d; }
.hm-col ul { list-style: none; margin-top: 1.1rem; display: flex; flex-direction: column; }
.hm-col li { position: relative; padding: 0.62rem 0 0.62rem 1.3rem; border-top: 1px solid var(--hm-line); font-size: 0.93rem; color: var(--hm-text); }
.hm-col li:first-child { border-top: 0; }
.hm-col li::before { content: ""; position: absolute; left: 0.1rem; top: 1.05rem; width: 6px; height: 6px; border-radius: 50%; background: var(--hm-violet-2); }
.hm-col-note { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--hm-line); font-size: 0.86rem; color: var(--hm-muted); }

/* grid cards */
.hm-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.9rem; }
.hm-card { padding: 1.4rem 1.35rem; border-radius: var(--hm-radius); border: 1px solid var(--hm-line); background: var(--hm-card); transition: border-color 0.2s ease, background 0.2s ease; }
.hm-card:hover { border-color: var(--hm-line-2); background: rgba(255, 255, 255, 0.04); }
.hm-card-ic { display: grid; place-items: center; width: 2.3rem; height: 2.3rem; border-radius: 11px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--hm-line); }
.hm-card-ic svg { width: 1.15rem; height: 1.15rem; fill: none; stroke: #c4b5fd; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hm-card h3 { margin-top: 1rem; font-size: 1rem; font-weight: 650; }
.hm-card p { margin-top: 0.4rem; font-size: 0.9rem; color: var(--hm-muted); }

.hm-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.hm-duo h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.hm-link { display: inline-flex; align-items: center; gap: 0.35rem; margin-top: 1.2rem; font-weight: 600; color: #c4b5fd; border-radius: 6px; }
.hm-link svg { width: 1rem; height: 1rem; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.hm-link:hover { color: #ddd6fe; }

/* faq */
.hm-faq { max-width: 820px; }
.hm-q { border-top: 1px solid var(--hm-line); }
.hm-q:last-child { border-bottom: 1px solid var(--hm-line); }
.hm-q summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 1rem; align-items: center; padding: 1.15rem 0.2rem; font-size: 1.02rem; font-weight: 600; border-radius: 6px; }
.hm-q summary::-webkit-details-marker { display: none; }
.hm-q summary::after { content: ""; width: 0.6rem; height: 0.6rem; flex: 0 0 auto; border-right: 2px solid var(--hm-muted); border-bottom: 2px solid var(--hm-muted); transform: rotate(45deg) translateY(-3px); transition: transform 0.2s ease; }
.hm-q[open] summary::after { transform: rotate(225deg) translateY(-3px); }
.hm-q p { padding: 0 0.2rem 1.2rem; color: var(--hm-muted); font-size: 0.95rem; max-width: 68ch; }
.hm-q a { color: #c4b5fd; text-decoration: underline; text-underline-offset: 3px; }

/* cta */
.hm-cta { position: relative; padding: 6rem 0 6.5rem; text-align: center; border-top: 1px solid rgba(255, 255, 255, 0.05); overflow: hidden; }
.hm-cta::before { content: ""; position: absolute; left: 50%; bottom: -260px; width: 900px; height: 520px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(139, 92, 246, 0.28), transparent); pointer-events: none; }
.hm-cta .hm-wrap { position: relative; }
.hm-cta p { margin-top: 0.8rem; color: var(--hm-muted); font-size: 1.05rem; }
.hm-ctas-c { margin-top: 1.8rem; }

/* footer */
.hm-foot { border-top: 1px solid rgba(255, 255, 255, 0.06); padding: 3.2rem 0 2rem; }
.hm-foot-in { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.hm-foot-brand p { margin-top: 0.7rem; color: var(--hm-dim); font-size: 0.88rem; }
.hm-foot-cols { display: flex; gap: 4rem; flex-wrap: wrap; }
.hm-foot-cols div { display: flex; flex-direction: column; gap: 0.55rem; }
.hm-foot-cols h4 { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--hm-text); margin-bottom: 0.3rem; }
.hm-foot-cols a { color: var(--hm-muted); font-size: 0.9rem; }
.hm-foot-cols a:hover { color: var(--hm-text); }
.hm-foot-base { margin-top: 2.5rem; padding-top: 1.4rem; border-top: 1px solid rgba(255, 255, 255, 0.05); font-size: 0.8rem; color: var(--hm-dim); }

/* reveal */
.hm-js .hm-reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.6s ease, transform 0.6s ease; }
.hm-js .hm-reveal.in { opacity: 1; transform: none; }

/* ---------------------------------------------------------- responsive */
@media (max-width: 1080px) {
  .hm-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .hm-links { display: none; }
  .hm-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hm-split, .hm-duo { grid-template-columns: minmax(0, 1fr); }
  .hm-duo { gap: 3rem; }
}
@media (max-width: 720px) {
  .hm-win-body { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .hm-win-side { border-right: 0; border-bottom: 1px solid var(--hm-line); padding: 0.7rem; }
  .hm-win-brand, .hm-win-status { display: none; }
  .hm-win-tabs { flex-direction: row; gap: 0.3rem; overflow-x: auto; }
  .hm-win-tabs button { flex: 1 0 auto; width: auto; justify-content: center; padding: 0.45rem 0.55rem; font-size: 0.82rem; }
  .hm-win-main { padding: 1.2rem 1rem 1.3rem; }
  .hm-steps { grid-template-columns: minmax(0, 1fr); }
  .hm-phones { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.55rem; }
  .hm-cap { font-size: 0.56rem; }
}
@media (max-width: 560px) {
  .hm-wrap { width: calc(100% - 2rem); }
  .hm-hero { padding: 3.2rem 0 3rem; }
  .hm-nav-cta .hm-btn-quiet { display: none; }
  .hm-grid { grid-template-columns: minmax(0, 1fr); }
  .hm-sec { padding: 4.2rem 0; }
  .hm-ctas .hm-btn { width: 100%; }
  .hm-chips li { font-size: 0.8rem; }
  .hm-demo-bar { flex-wrap: wrap; row-gap: 0.2rem; }
  .hm-lessons li { flex-direction: column; gap: 0.45rem; }
  .hm-col { padding: 1.3rem 1.15rem; }
  .hm-foot-cols { gap: 2rem; }
  .hm-phone figcaption span { font-size: 0.6rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hm-js .hm-reveal { opacity: 1; transform: none; transition: none; }
  .hm-panel.is-on { animation: none; }
  .hm-btn { transition: none; }
}
@media (max-width: 480px) {
  .hm-win-tabs button span { display: none; }
  .hm-win-tabs button { padding: 0.45rem 0.4rem; }
}
.hm-win-body { min-height: 470px; }
@media (max-width: 720px) { .hm-win-body { min-height: 0; } }

/* ------------------------------------------- free clip box + live proof (7 Oct 2026) */
.hm-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hm-from { margin-top: 0.45rem; font-size: 0.84rem; color: #a7f3d0; }
.hm-try {
  display: flex; gap: 0.55rem; max-width: 620px; margin: 1.7rem auto 0;
  padding: 0.4rem; border-radius: 999px; border: 1px solid var(--hm-line-2);
  background: rgba(255, 255, 255, 0.04);
}
.hm-try input {
  flex: 1 1 auto; min-width: 0; height: 2.9rem; padding: 0 1rem; border: 0; outline: 0;
  background: transparent; color: var(--hm-text); font: inherit; font-size: 0.98rem;
}
.hm-try input::placeholder { color: var(--hm-dim); }
.hm-try:focus-within { border-color: rgba(167, 139, 250, 0.7); box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.2); }
.hm-fine a { color: var(--hm-violet-2); text-decoration: underline; text-underline-offset: 2px; }

.hm-proof {
  max-width: 760px; margin: 2.2rem auto 0; text-align: left;
  border: 1px solid var(--hm-line-2); border-radius: var(--hm-radius);
  background: rgba(11, 11, 18, 0.82); padding: 1rem 1.1rem 0.9rem;
}
.hm-proof-head { display: flex; align-items: baseline; justify-content: space-between; gap: 0.6rem; flex-wrap: wrap; }
.hm-proof-head h2 { font-size: 0.98rem; font-weight: 700; letter-spacing: -0.01em; }
.hm-proof-live { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.76rem; color: var(--hm-dim); }
.hm-proof-live > span:first-child { width: 6px; height: 6px; border-radius: 50%; background: var(--hm-green); box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.18); }
.hm-proof-list { list-style: none; margin-top: 0.7rem; display: grid; gap: 0.5rem; }
.hm-proof-row {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0.25rem 0.8rem; align-items: center;
  padding: 0.65rem 0.75rem; border-radius: 12px; border: 1px solid var(--hm-line); background: rgba(255, 255, 255, 0.02);
}
.hm-proof-row.is-from { border-color: rgba(52, 211, 153, 0.45); background: rgba(52, 211, 153, 0.06); }
.hm-proof-av {
  grid-row: span 2; width: 2.3rem; height: 2.3rem; border-radius: 50%; display: grid; place-items: center;
  font-weight: 800; font-size: 0.95rem; color: #fff; background: linear-gradient(135deg, #8b5cf6, #22d3ee);
}
.hm-proof-name { display: flex; align-items: baseline; gap: 0.5rem; flex-wrap: wrap; min-width: 0; }
.hm-proof-name a { font-weight: 700; font-size: 0.95rem; }
.hm-proof-name a:hover { text-decoration: underline; }
.hm-proof-name small { color: var(--hm-dim); font-size: 0.76rem; }
.hm-proof-stats { display: flex; flex-wrap: wrap; gap: 0.25rem 0.9rem; font-size: 0.84rem; color: var(--hm-muted); }
.hm-proof-stats b { color: var(--hm-text); font-weight: 700; font-variant-numeric: tabular-nums; }
.hm-proof-stats a { color: var(--hm-violet-2); text-decoration: underline; text-underline-offset: 2px; }
.hm-proof-note { margin-top: 0.6rem; font-size: 0.74rem; color: var(--hm-dim); }

@media (max-width: 560px) {
  .hm-hero { padding-top: 1.6rem; }
  .hm-h1 { font-size: clamp(2.3rem, 11vw, 2.9rem); margin-top: 1rem; }
  .hm-lede { margin-top: 0.9rem; font-size: 0.98rem; line-height: 1.5; }
  .hm-lede-more { display: none; }
  .hm-eyebrow { font-size: 0.74rem; padding: 0.28rem 0.7rem; }
  .hm-try { flex-direction: column; border-radius: 16px; padding: 0.45rem; margin-top: 1.2rem; }
  .hm-try input { height: 2.8rem; text-align: center; }
  .hm-try .hm-btn { width: 100%; }
  .hm-fine { margin-top: 0.7rem; }
  .hm-proof { margin-top: 1.4rem; padding: 0.85rem 0.8rem 0.75rem; }
  .hm-proof-row { padding: 0.55rem 0.6rem; }
  .hm-demo-wrap { margin-top: 2.5rem; }
}
