/* ============================================================
   Pointer — Homepage (minimal redesign)
   Scoped to .hm-* classes; relies on tokens from styles.css
   ============================================================ */

/* flat look: no color gradients anywhere on the homepage */
.bg-gradient { display: none; }

/* ---------- Hero ---------- */
.hm-hero {
  position: relative;
  padding: calc(var(--nav-height) + 96px) 0 48px;
  text-align: center;
  z-index: 30;
}

.hm-in {
  opacity: 0;
  transform: translateY(18px);
  animation: hmFadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: var(--d, 0s);
}

@keyframes hmFadeUp {
  to { opacity: 1; transform: translateY(0); }
}

.hm-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--text-muted);
  margin-bottom: 36px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hm-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(0, 122, 204, 0.5);
  animation: hmPulse 2.4s ease-out infinite;
}

@keyframes hmPulse {
  0%   { box-shadow: 0 0 0 0 rgba(0, 122, 204, 0.45); }
  70%  { box-shadow: 0 0 0 8px rgba(0, 122, 204, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 122, 204, 0); }
}

.hm-hero-strike {
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: rgba(255, 255, 255, 0.28);
  text-decoration: line-through;
  text-decoration-color: rgba(255, 255, 255, 0.22);
  text-decoration-thickness: 1.5px;
  margin: 0 0 10px;
}

.hm-hero-title {
  font-size: clamp(2.6rem, 6.5vw, 4.75rem);
  font-weight: 650;
  letter-spacing: -0.045em;
  line-height: 1.05;
  margin: 0 auto 24px;
  max-width: 16ch;
  color: #fff;
  padding-bottom: 0.08em;
}

.hm-hero-title em {
  font-style: normal;
  color: #58aee5;
}

.hm-hero-sub {
  font-size: clamp(1rem, 1.6vw, 1.1875rem);
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 40px;
  text-wrap: balance;
}

.hm-hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.hm-hero-meta {
  margin-top: 28px;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.32);
  letter-spacing: 0.02em;
}

/* ---------- Demo window ---------- */
.hm-demo {
  position: relative;
  z-index: 30;
  padding: 32px 0 96px;
}

.hm-demo .container { max-width: 860px; }

.hm-window {
  position: relative;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(16, 16, 19, 0.94);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.4),
    0 30px 80px -20px rgba(0, 0, 0, 0.7);
  overflow: hidden;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.hm-window-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.hm-window-dots { display: flex; gap: 7px; }

.hm-window-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
}

.hm-window-title {
  flex: 1;
  text-align: left;
  font-size: 0.78125rem;
  color: var(--text-muted);
  letter-spacing: 0.01em;
  margin-left: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* write-mode segmented control */
.hm-modes {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.hm-mode {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  font-family: inherit;
  font-size: 0.6875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.35);
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.35s ease, background 0.35s ease;
}

.hm-mode:hover { color: rgba(255, 255, 255, 0.7); }

.hm-mode:focus-visible {
  outline: 1px solid rgba(255, 255, 255, 0.4);
  outline-offset: 1px;
}

.hm-mode svg { width: 11px; height: 11px; flex: none; }

.hm-mode-active { animation: hmModePop 0.3s cubic-bezier(0.16, 1, 0.3, 1); }

@keyframes hmModePop {
  from { transform: scale(0.92); }
  to   { transform: scale(1); }
}

.hm-mode-active[data-mode="read"]     { background: rgba(78, 201, 176, 0.13);  color: #5ecdb2; }
.hm-mode-active[data-mode="confirm"]  { background: rgba(229, 181, 103, 0.13); color: #e5b567; }
.hm-mode-active[data-mode="auto"]     { background: rgba(0, 122, 204, 0.18);   color: #6cb8e8; }
.hm-mode-active[data-mode="unlocked"] { background: rgba(229, 115, 115, 0.13); color: #e57373; }

.hm-window-body {
  padding: 28px 28px 24px;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  font-size: 0.9rem;
  transition: opacity 0.45s ease;
}

.hm-window-body.hm-fading { opacity: 0; }

.hm-prompt {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 1rem;
  color: #e8e8ea;
  font-weight: 450;
}

.hm-prompt-mark {
  color: var(--accent);
  font-family: var(--font-mono);
  font-weight: 700;
}

.hm-caret {
  display: inline-block;
  width: 1.5px;
  height: 1.05em;
  background: rgba(255, 255, 255, 0.75);
  vertical-align: text-bottom;
  margin-left: 2px;
  animation: hmBlink 1.05s steps(1) infinite;
}

@keyframes hmBlink { 50% { opacity: 0; } }

.hm-steps {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding-left: 2px;
}

.hm-step {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8125rem;
  color: var(--text-muted);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.hm-step.hm-on { opacity: 1; transform: translateY(0); }

.hm-step svg { width: 14px; height: 14px; flex: none; }

.hm-step .hm-step-check { color: #4ec9b0; }

.hm-step.hm-running .hm-step-label {
  color: #d4d4d8;
  animation: hmBreath 1.6s ease-in-out infinite;
}

@keyframes hmBreath {
  0%, 100% { opacity: 0.55; }
  50%      { opacity: 1; }
}

.hm-spin {
  animation: hmRotate 1s linear infinite;
  color: var(--accent);
}

@keyframes hmRotate { to { transform: rotate(360deg); } }

/* AI review panel — the agent questions its own tool call */
.hm-review {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-left-width: 2px;
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 0.8125rem;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.hm-review:empty { display: none; }

.hm-review.hm-on { opacity: 1; transform: translateY(0); }

.hm-review-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.71875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hm-review-head svg { width: 13px; height: 13px; flex: none; }

.hm-review-line {
  color: #b8b8bd;
  line-height: 1.55;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.hm-review-line.hm-on { opacity: 1; transform: translateY(0); }

.hm-review-verdict {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 2px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.78125rem;
  font-weight: 500;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.hm-review-verdict.hm-on { opacity: 1; }

.hm-review-verdict svg { width: 13px; height: 13px; flex: none; }

.hm-review-auto     { border-left-color: rgba(0, 122, 204, 0.6); }
.hm-review-auto     .hm-review-head { color: #6cb8e8; }
.hm-review-confirm  { border-left-color: rgba(229, 181, 103, 0.6); }
.hm-review-confirm  .hm-review-head { color: #e5b567; }
.hm-review-unlocked { border-left-color: rgba(229, 115, 115, 0.6); }
.hm-review-unlocked .hm-review-head { color: #e57373; }

.hm-review-verdict-ok   { color: #5ecdb2; }
.hm-review-verdict-wait { color: #e5b567; }
.hm-review-verdict-info { color: #b8b8bd; }

.hm-sql {
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.35);
  padding: 16px 18px;
  font-family: var(--font-mono);
  font-size: 0.78125rem;
  line-height: 1.7;
  overflow-x: auto;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.hm-sql.hm-on { opacity: 1; transform: translateY(0); }

.hm-sql .k { color: #569cd6; }
.hm-sql .f { color: #dcdcaa; }
.hm-sql .s { color: #ce9178; }
.hm-sql .n { color: #b5cea8; }
.hm-sql code { color: #d4d4d4; white-space: pre; display: block; }

.hm-result {
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 10px;
  overflow: hidden;
  font-size: 0.8125rem;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.hm-result.hm-on { opacity: 1; }

.hm-result table { width: 100%; border-collapse: collapse; }

.hm-result th {
  text-align: left;
  font-weight: 500;
  font-size: 0.71875rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.03);
  padding: 9px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.hm-result td {
  padding: 9px 16px;
  color: #c9c9ce;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  font-variant-numeric: tabular-nums;
}

.hm-result tr:last-child td { border-bottom: none; }

.hm-result tbody tr {
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.hm-result tbody tr.hm-on { opacity: 1; transform: translateY(0); }

.hm-window-status {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 9px 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.71875rem;
  color: rgba(255, 255, 255, 0.35);
  font-family: var(--font-mono);
}

.hm-window-status .hm-status-ok { color: #4ec9b0; }

/* ---------- Works-with marquee ---------- */
.hm-dbs {
  position: relative;
  z-index: 30;
  padding: 8px 0 104px;
}

.hm-dbs-label {
  text-align: center;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.3);
  margin-bottom: 28px;
}

.hm-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
}

.hm-marquee-track {
  display: flex;
  gap: 72px;
  width: max-content;
  animation: hmMarquee 36s linear infinite;
}

.hm-marquee:hover .hm-marquee-track { animation-play-state: paused; }

@keyframes hmMarquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.hm-marquee-item {
  font-size: 1.0625rem;
  font-weight: 550;
  letter-spacing: -0.01em;
  color: rgba(255, 255, 255, 0.34);
  white-space: nowrap;
  transition: color 0.3s ease;
}

.hm-marquee-item:hover { color: rgba(255, 255, 255, 0.75); }

/* ---------- Section basics ---------- */
.hm-section {
  position: relative;
  z-index: 30;
  padding: 104px 0;
}

.hm-eyebrow {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 14px;
}

.hm-h2 {
  font-size: clamp(1.9rem, 4vw, 2.75rem);
  font-weight: 650;
  letter-spacing: -0.035em;
  line-height: 1.12;
  margin: 0 0 16px;
  color: #fff;
  padding-bottom: 0.06em;
}

.hm-sub {
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0;
}

.hm-head-center { text-align: center; }
.hm-head-center .hm-sub { margin: 0 auto; }

/* ---------- Features (bento) ---------- */
.hm-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 56px;
}

.hm-card {
  position: relative;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease, background 0.35s ease;
}

.hm-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.03);
}

.hm-card-wide { grid-column: span 2; }
.hm-card-full { grid-column: 1 / -1; }

.hm-card-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 122, 204, 0.1);
  border: 1px solid rgba(0, 122, 204, 0.22);
  color: #6cb8e8;
  margin-bottom: 8px;
}

.hm-card-icon svg { width: 18px; height: 18px; }

.hm-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #f4f4f5;
  margin: 0;
}

.hm-card p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0;
}

.hm-card-visual { margin-top: auto; padding-top: 20px; }

/* mini visuals inside cards */
.hm-mini-steps {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.25);
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 0.78125rem;
  color: var(--text-muted);
}

.hm-mini-step { display: flex; align-items: center; gap: 9px; }
.hm-mini-step svg { width: 13px; height: 13px; flex: none; }
.hm-mini-step .ok { color: #4ec9b0; }

.hm-mini-step-shimmer {
  color: #d4d4d8;
  animation: hmBreath 1.8s ease-in-out infinite;
}

.hm-mention {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.25);
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 0.84375rem;
  color: #d4d4d4;
}

.hm-chip {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 6px;
  background: rgba(0, 122, 204, 0.16);
  border: 1px solid rgba(0, 122, 204, 0.35);
  color: #7fbfea;
  font-family: var(--font-mono);
  font-size: 0.78125rem;
}

.hm-pills { display: flex; gap: 8px; flex-wrap: wrap; }

.hm-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
}

.hm-pill-active {
  border-color: rgba(0, 122, 204, 0.45);
  background: rgba(0, 122, 204, 0.14);
  color: #8ec7ef;
}

.hm-log {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  line-height: 1.8;
  color: var(--text-muted);
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.25);
  border-radius: 10px;
  padding: 14px 18px;
  overflow-x: auto;
  white-space: nowrap;
}

.hm-log .ok { color: #4ec9b0; }
.hm-log .dim { opacity: 0.55; }
.hm-log .acc { color: #6cb8e8; }

/* ---------- USP trio ---------- */
.hm-trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 56px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hm-trio-item {
  padding: 32px 28px 8px;
  position: relative;
}

.hm-trio-item + .hm-trio-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 32px;
  bottom: 8px;
  width: 1px;
  background: rgba(255, 255, 255, 0.07);
}

.hm-trio-item::after {
  content: "";
  position: absolute;
  top: -1px;
  left: 28px;
  width: 44px;
  height: 1px;
  background: var(--accent);
  opacity: 0.85;
}

.hm-trio-item h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #f4f4f5;
  margin: 0 0 10px;
}

.hm-trio-item h3 svg { width: 16px; height: 16px; color: #6cb8e8; }

.hm-trio-item p {
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--text-muted);
  margin: 0;
}

/* ---------- Models ---------- */
.hm-models-list {
  margin-top: 56px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hm-model-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 24px;
  align-items: center;
  padding: 22px 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background 0.3s ease;
}

.hm-model-row:hover { background: rgba(255, 255, 255, 0.015); }

.hm-model-provider {
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #e4e4e7;
}

.hm-model-tags { display: flex; gap: 8px; flex-wrap: wrap; }

.hm-model-tag {
  padding: 5px 13px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.78125rem;
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
  transition: border-color 0.3s ease, color 0.3s ease, background 0.3s ease;
}

.hm-model-row:hover .hm-model-tag {
  color: #d4d4d8;
  border-color: rgba(255, 255, 255, 0.16);
}

.hm-model-tag-soon {
  border-style: dashed;
  color: rgba(255, 255, 255, 0.3);
  font-style: italic;
}

.hm-models-note {
  margin-top: 28px;
  font-size: 0.875rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.hm-models-note svg { width: 15px; height: 15px; color: #4ec9b0; flex: none; }

/* ---------- Pricing ---------- */
.hm-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 56px;
  align-items: stretch;
}

.hm-price-card {
  position: relative;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease;
}

.hm-price-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.15);
}

.hm-price-featured {
  border-color: rgba(0, 122, 204, 0.45);
  background: rgba(0, 122, 204, 0.04);
}

.hm-price-featured:hover { border-color: rgba(0, 122, 204, 0.65); }

.hm-price-flag {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  padding: 3px 12px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.hm-price-tier {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #e4e4e7;
  margin: 0 0 12px;
}

.hm-price-value {
  font-size: 2.5rem;
  font-weight: 650;
  letter-spacing: -0.04em;
  color: #fff;
  line-height: 1;
  margin-bottom: 6px;
  font-variant-numeric: tabular-nums;
}

.hm-price-value .hm-price-period {
  font-size: 0.9375rem;
  font-weight: 450;
  letter-spacing: 0;
  color: var(--text-muted);
}

.hm-price-desc {
  font-size: 0.84375rem;
  line-height: 1.55;
  color: var(--text-muted);
  margin: 0 0 24px;
  min-height: 2.6em;
}

.hm-price-list {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.hm-price-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.84375rem;
  line-height: 1.5;
  color: #b8b8bd;
}

.hm-price-list li svg {
  width: 14px;
  height: 14px;
  flex: none;
  margin-top: 3px;
  color: #4ec9b0;
}

.hm-price-list li strong { color: #e8e8ea; font-weight: 600; }

.hm-soon-tag {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 7px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.65625rem;
  color: rgba(255, 255, 255, 0.4);
}

/* ---------- CTA ---------- */
.hm-cta {
  position: relative;
  z-index: 30;
  padding: 140px 0 150px;
  text-align: center;
}

.hm-cta-title {
  font-size: clamp(2.4rem, 6vw, 4.25rem);
  font-weight: 650;
  letter-spacing: -0.045em;
  line-height: 1.06;
  margin: 0 0 20px;
  color: #fff;
  padding-bottom: 0.08em;
}

.hm-cta-sub {
  font-size: 1.0625rem;
  color: var(--text-muted);
  margin: 0 0 36px;
}

/* ---------- Buttons ---------- */
.hm-btn-soon[disabled] {
  opacity: 0.75;
  cursor: default;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hm-grid { grid-template-columns: repeat(2, 1fr); }
  .hm-card-wide { grid-column: span 2; }
  .hm-trio { grid-template-columns: 1fr; border-top: none; }
  .hm-trio-item {
    padding: 24px 0 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }
  .hm-trio-item + .hm-trio-item::before { display: none; }
  .hm-trio-item::after { left: 0; }
  .hm-pricing-grid { grid-template-columns: 1fr; max-width: 460px; margin-left: auto; margin-right: auto; }
  .hm-model-row { grid-template-columns: 1fr; gap: 12px; }
}

@media (max-width: 860px) {
  /* narrow screens: only the active mode keeps its label */
  .hm-mode-label { display: none; }
  .hm-mode { padding: 4px 8px; }
  .hm-mode-active .hm-mode-label { display: inline; }
}

@media (max-width: 640px) {
  .hm-hero { padding-top: calc(var(--nav-height) + 64px); }
  .hm-grid { grid-template-columns: 1fr; }
  .hm-card-wide, .hm-card-full { grid-column: auto; }
  .hm-window-body { padding: 20px 16px; min-height: 0; }
  .hm-section { padding: 72px 0; }
  .hm-demo { padding-bottom: 64px; }
  .hm-window-title { display: none; }
  .hm-window-bar { justify-content: space-between; }

}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .hm-in { animation: none; opacity: 1; transform: none; }
  .hm-badge-dot { animation: none; }
  .hm-marquee-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .hm-caret { animation: none; }
  .hm-step, .hm-sql, .hm-result, .hm-result tbody tr { transition: none; }
  .hm-review, .hm-review-line, .hm-review-verdict { transition: none; }
  .hm-card, .hm-price-card { transition: none; }
  .hm-mode-active { animation: none; }
}
