/* Homepage v2 — premium SaaS (ink + teal, brand-first) */

:root {
  --hp-primary: #0f766e;
  --hp-primary-dark: #0d5f59;
  --hp-primary-light: #2dd4bf;
  --hp-ink: #0b1220;
  --hp-text: #3d4a5c;
  --hp-muted: #64748b;
  --hp-bg: #f5f7fa;
  --hp-section: #eef2f6;
  --hp-accent: rgba(15, 118, 110, 0.08);
  --hp-line: rgba(11, 18, 32, 0.08);
  --hp-radius: 18px;
  --hp-shadow: 0 4px 24px rgba(11, 18, 32, 0.06);
  --hp-shadow-hover: 0 28px 64px rgba(11, 18, 32, 0.12);
  --hp-font-display: "Plus Jakarta Sans", "Manrope", system-ui, sans-serif;
  --hp-font-body: "Manrope", system-ui, sans-serif;
  --hp-font-mono: "JetBrains Mono", ui-monospace, monospace;
}

.hp-page {
  color: var(--hp-text);
  font-family: var(--hp-font-body);
  background: var(--hp-bg);
}

/* ── Hero (full-bleed visual plane) ── */
.hp-hero {
  position: relative;
  padding: clamp(48px, 8vh, 88px) 0 clamp(72px, 10vh, 110px);
  background:
    radial-gradient(ellipse 90% 60% at 78% 12%, rgba(45, 212, 191, 0.16) 0%, transparent 55%),
    radial-gradient(ellipse 50% 45% at 6% 80%, rgba(15, 118, 110, 0.1) 0%, transparent 50%),
    linear-gradient(165deg, #f8fafc 0%, #eef4f3 42%, #e8eef5 100%);
  overflow: hidden;
}
.hp-hero--bleed {
  min-height: min(92vh, 820px);
  display: flex;
  align-items: flex-end;
  padding: 0;
  background: #eef2f6;
}
.hp-hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hp-hero-media picture,
.hp-hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% center;
}
.hp-hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(245, 247, 250, 0.97) 0%, rgba(245, 247, 250, 0.88) 34%, rgba(245, 247, 250, 0.35) 58%, rgba(245, 247, 250, 0.08) 100%),
    linear-gradient(0deg, rgba(245, 247, 250, 0.55) 0%, transparent 38%);
  pointer-events: none;
}
.hp-hero-atmosphere {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(11, 18, 32, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 18, 32, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 28% 50%, #000 12%, transparent 70%);
  pointer-events: none;
  animation: hp-grid-drift 28s linear infinite;
}
@keyframes hp-grid-drift {
  from { transform: translateY(0); }
  to { transform: translateY(64px); }
}
.hp-hero-stage {
  position: relative;
  z-index: 1;
  width: 100%;
  /* Keep mlx-wrap horizontal padding — do not zero it with the shorthand */
  padding-top: clamp(120px, 18vh, 180px);
  padding-bottom: clamp(56px, 8vh, 88px);
}
.hp-hero--bleed .hp-hero-copy {
  max-width: 38rem;
}
.hp-hero--bleed .hp-hero h1,
.hp-hero--bleed h1 {
  color: var(--hp-ink);
  max-width: 16ch;
}
.hp-hero--bleed h1 span {
  background: linear-gradient(135deg, #0b1220 0%, #0f766e 55%, #14b8a6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hp-hero--bleed .hp-hero-lead {
  color: var(--hp-text);
}
.hp-hero--bleed .hp-hero-meta {
  color: var(--hp-muted);
}
.hp-hero--bleed .hp-hero-meta a {
  color: var(--hp-primary);
}
.hp-hero--bleed .hp-btn-secondary {
  background: rgba(255, 255, 255, 0.92);
  color: var(--hp-ink);
  border-color: rgba(11, 18, 32, 0.1);
  backdrop-filter: blur(10px);
}
.hp-hero--bleed .hp-btn-secondary:hover {
  background: #fff;
  border-color: rgba(11, 18, 32, 0.16);
}
.hp-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 24px;
  padding: 7px 14px 7px 12px;
  font-family: var(--hp-font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hp-primary-dark);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(15, 118, 110, 0.16);
  border-radius: 999px;
  box-shadow: 0 1px 2px rgba(11, 18, 32, 0.04);
  backdrop-filter: blur(8px);
}
.hp-eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--hp-primary);
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.18);
}
.hp-hero h1 {
  font-family: var(--hp-font-display);
  font-size: clamp(36px, 4.8vw, 60px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.038em;
  color: var(--hp-ink);
  margin: 0;
  max-width: 14ch;
}
.hp-hero h1 span {
  display: block;
  margin-top: 8px;
  background: linear-gradient(135deg, #0b1220 0%, #0f766e 55%, #14b8a6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hp-hero-lead {
  margin: 24px 0 0;
  max-width: 34rem;
  font-size: clamp(16px, 1.7vw, 18px);
  font-weight: 500;
  line-height: 1.65;
  color: var(--hp-text);
}
.hp-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}
.hp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 26px;
  font-family: var(--hp-font-body);
  font-size: 15px;
  font-weight: 650;
  letter-spacing: -0.01em;
  border-radius: 14px;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, border-color 0.22s ease;
}
.hp-btn:hover { transform: translateY(-2px); }
.hp-btn-primary {
  background: linear-gradient(180deg, #12857c 0%, #0f766e 100%);
  color: #fff;
  box-shadow:
    0 1px 2px rgba(11, 18, 32, 0.08),
    0 12px 28px rgba(15, 118, 110, 0.28);
}
.hp-btn-primary:hover {
  background: linear-gradient(180deg, #0f766e 0%, #0d5f59 100%);
  box-shadow:
    0 1px 2px rgba(11, 18, 32, 0.08),
    0 16px 36px rgba(15, 118, 110, 0.34);
}
.hp-btn-secondary {
  background: rgba(255, 255, 255, 0.9);
  color: var(--hp-ink);
  border-color: rgba(11, 18, 32, 0.1);
  box-shadow: 0 1px 2px rgba(11, 18, 32, 0.04);
  backdrop-filter: blur(8px);
}
.hp-btn-secondary:hover {
  border-color: rgba(11, 18, 32, 0.16);
  background: #fff;
  box-shadow: 0 8px 24px rgba(11, 18, 32, 0.08);
}
.hp-hero-meta {
  margin: 20px 0 0;
  font-size: 13px;
  letter-spacing: 0.01em;
  color: var(--hp-muted);
}
.hp-hero-meta a {
  color: var(--hp-primary);
  font-weight: 650;
  text-decoration: none;
  transition: color 0.2s ease;
}
.hp-hero-meta a:hover { color: var(--hp-primary-dark); }

/* ── Live counts bar ── */
.hp-live-bar {
  padding: 0 0 clamp(40px, 6vh, 64px);
  margin-top: -28px;
  position: relative;
  z-index: 2;
}
.hp-live-bar-inner {
  padding: 28px clamp(20px, 4vw, 32px);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--hp-line);
  border-radius: 20px;
  box-shadow:
    0 1px 2px rgba(11, 18, 32, 0.04),
    0 18px 48px rgba(11, 18, 32, 0.08);
  text-align: center;
}
.hp-live-label {
  margin: 0 0 18px;
  font-family: var(--hp-font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--hp-muted);
}
.hp-live-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.hp-live-stats .hp-stat-val {
  display: block;
  font-family: var(--hp-font-display);
  font-size: clamp(28px, 3.5vw, 36px);
  font-weight: 750;
  letter-spacing: -0.03em;
  color: var(--hp-ink);
  line-height: 1.1;
}
.hp-live-stats .hp-stat-lbl {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  color: var(--hp-muted);
}
.hp-stats-note {
  margin: 18px 0 0;
  font-size: 12px;
  color: #94a3b8;
}

/* ── Section primitives ── */
.hp-section {
  padding: clamp(64px, 8vh, 96px) 0;
}
.hp-section--alt { background: var(--hp-section); }
.hp-section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}
.hp-section-head h2 {
  font-family: var(--hp-font-display);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--hp-ink);
  margin: 0 0 12px;
}
.hp-section-head p {
  margin: 0;
  font-size: 17px;
  line-height: 1.6;
  color: var(--hp-text);
}

/* ── Image media badge ── */
.hp-media-badge {
  position: absolute;
  left: 14px;
  bottom: 14px;
  margin: 0;
  padding: 6px 10px;
  font-family: var(--hp-font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--hp-ink);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(11, 18, 32, 0.08);
  border-radius: 999px;
  backdrop-filter: blur(8px);
}

/* ── Product pillars (image-led) ── */
.hp-pillars {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.hp-pillar {
  display: grid;
  grid-template-rows: auto 1fr;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 1px solid var(--hp-line);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--hp-shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.hp-pillar:hover {
  transform: translateY(-4px);
  box-shadow: var(--hp-shadow-hover);
  border-color: rgba(15, 118, 110, 0.22);
}
.hp-pillar-media {
  position: relative;
  background: #eef2f6;
  overflow: hidden;
  padding: 14px;
}
.hp-pillar-media img {
  display: block;
  width: 100%;
  height: auto;
}
.hp-pillar:hover .hp-ui {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(11, 18, 32, 0.1);
}
.hp-pillar-body {
  padding: 22px 22px 26px;
}
.hp-pillar-body h3 {
  margin: 0 0 8px;
  font-family: var(--hp-font-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--hp-ink);
}
.hp-pillar-body p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--hp-text);
}

/* ── Content + image bands ── */
.hp-band {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
}
.hp-band--reverse { direction: rtl; }
.hp-band--reverse > * { direction: ltr; }
.hp-band-copy h2 {
  margin: 0 0 14px;
  font-family: var(--hp-font-display);
  font-size: clamp(26px, 3.2vw, 36px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--hp-ink);
}
.hp-band-copy > p {
  margin: 0 0 24px;
  font-size: 17px;
  line-height: 1.65;
  color: var(--hp-text);
  max-width: 36rem;
}
.hp-band-media {
  position: relative;
  margin: 0;
  min-width: 0;
}
.hp-band-media img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 22px;
}

/* ── Spotlight image ── */
.hp-spotlight {
  position: relative;
  margin: 0 auto 36px;
  max-width: 980px;
}
.hp-spotlight img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 24px;
}

/* ── Dashboard / checklist ── */
.hp-checklist {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}
.hp-checklist li {
  display: block;
  padding: 14px 16px 14px 18px;
  background: #fff;
  border: 1px solid var(--hp-line);
  border-left: 3px solid var(--hp-primary);
  border-radius: 14px;
  font-weight: 650;
  color: var(--hp-ink);
}

/* ── Workflow ── */
.hp-workflow {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 28px;
}
.hp-workflow-step {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: #fff;
  border: 1px solid var(--hp-line);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: var(--hp-ink);
}
.hp-workflow-dot {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--hp-ink);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}
.hp-thesis {
  text-align: center;
  max-width: 46rem;
  margin: 0 auto;
  font-family: var(--hp-font-display);
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.45;
  color: var(--hp-ink);
}

/* ── Split sides with imagery ── */
.hp-split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.hp-side {
  background: #fff;
  border: 1px solid var(--hp-line);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--hp-shadow);
}
.hp-side-media {
  position: relative;
  background: #eef2f6;
  padding: 14px;
}
.hp-side-media img {
  display: block;
  width: 100%;
  height: auto;
}
.hp-side .hp-split-role,
.hp-side h3,
.hp-side ul,
.hp-side .hp-product-note {
  margin-left: 28px;
  margin-right: 28px;
}
.hp-split-role {
  margin: 22px 0 8px;
  font-family: var(--hp-font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--hp-primary);
}
.hp-side h3 {
  margin: 0 0 16px;
  font-family: var(--hp-font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--hp-ink);
}
.hp-side ul {
  margin: 0 0 16px;
  padding-left: calc(28px + 1.1rem);
  padding-right: 28px;
  margin-left: 0;
  margin-right: 0;
  color: var(--hp-text);
  line-height: 1.7;
}
.hp-side .hp-product-note {
  margin: 0 28px 28px;
}
.hp-product-note {
  margin: 0;
  font-size: 13px;
  color: var(--hp-muted);
}

/* ── Roles ── */
.hp-roles { padding: clamp(64px, 8vh, 96px) 0; background: var(--hp-section); }
.hp-role-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 28px;
}
.hp-role-tab {
  appearance: none;
  border: 1px solid var(--hp-line);
  background: #fff;
  color: var(--hp-text);
  padding: 10px 16px;
  border-radius: 999px;
  font-family: var(--hp-font-body);
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.hp-role-tab.active,
.hp-role-tab[aria-selected="true"] {
  background: var(--hp-ink);
  color: #fff;
  border-color: var(--hp-ink);
}

/* ── CTA footer band ── */
.hp-final-cta {
  position: relative;
  padding: clamp(64px, 9vh, 100px) 0;
  text-align: center;
  background:
    radial-gradient(ellipse 70% 80% at 50% 100%, rgba(15, 118, 110, 0.12) 0%, transparent 60%),
    linear-gradient(180deg, #0b1220 0%, #122033 100%);
  color: #e8eef5;
  overflow: hidden;
}
.hp-final-cta--image {
  background: #0b1220;
}
.hp-final-cta-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hp-final-cta-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hp-final-cta-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11, 18, 32, 0.82) 0%, rgba(11, 18, 32, 0.78) 55%, rgba(11, 18, 32, 0.88) 100%),
    radial-gradient(ellipse 60% 70% at 50% 40%, rgba(15, 118, 110, 0.18) 0%, transparent 65%);
}
.hp-final-cta .mlx-wrap {
  position: relative;
  z-index: 1;
}
.hp-final-cta-actions {
  justify-content: center;
}
.hp-final-cta h2 {
  margin: 0 0 12px;
  font-family: var(--hp-font-display);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 750;
  letter-spacing: -0.03em;
  color: #fff;
}
.hp-final-cta p {
  margin: 0 auto 28px;
  max-width: 36rem;
  color: rgba(232, 238, 245, 0.72);
  font-size: 17px;
  line-height: 1.6;
}
.hp-final-cta .hp-btn-primary {
  background: linear-gradient(180deg, #2dd4bf 0%, #14b8a6 100%);
  color: #042f2e;
  box-shadow: 0 12px 32px rgba(45, 212, 191, 0.25);
}
.hp-final-cta .hp-btn-secondary {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.22);
}
.hp-faq-wrap { max-width: 760px; }

/* ── Crisp HTML product UI mocks ── */
.hp-ui {
  position: relative;
  background: #fff;
  border: 1px solid var(--hp-line);
  border-radius: 18px;
  box-shadow: var(--hp-shadow);
  padding: 18px 18px 16px;
  color: var(--hp-ink);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.hp-ui--wide { padding: 22px; }
.hp-ui-badge {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 5px 10px;
  font-family: var(--hp-font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--hp-muted);
  background: var(--hp-section);
  border-radius: 999px;
}
.hp-ui-top {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 16px;
  margin-bottom: 16px;
}
.hp-ui-top strong {
  font-family: var(--hp-font-display);
  font-size: 18px;
  font-weight: 750;
  letter-spacing: -0.02em;
}
.hp-ui-muted {
  font-size: 13px;
  color: var(--hp-muted);
}
.hp-ui-tabs {
  display: inline-flex;
  gap: 14px;
  font-size: 13px;
  font-weight: 650;
  color: var(--hp-muted);
}
.hp-ui-tabs .on {
  color: var(--hp-primary);
  box-shadow: inset 0 -2px 0 var(--hp-primary);
  padding-bottom: 4px;
}
.hp-ui-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.hp-ui-cols.three { gap: 12px; }
.hp-ui-col {
  background: #f8fafc;
  border: 1px solid var(--hp-line);
  border-radius: 14px;
  padding: 12px;
  min-width: 0;
}
.hp-ui-col h4 {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--hp-muted);
}
.hp-ui-col article {
  display: grid;
  gap: 2px;
  padding: 10px 0;
  border-top: 1px solid rgba(11, 18, 32, 0.06);
}
.hp-ui-col article:first-of-type { border-top: 0; padding-top: 0; }
.hp-ui-col strong {
  font-size: 14px;
  font-weight: 700;
  color: var(--hp-ink);
}
.hp-ui-col span {
  font-size: 12px;
  color: var(--hp-muted);
}
.hp-ui-col span.tag {
  display: inline-flex;
  width: fit-content;
  margin-top: 4px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(217, 119, 6, 0.12);
  color: #b45309;
  font-weight: 650;
}
.hp-ui-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.hp-ui-table th,
.hp-ui-table td {
  text-align: left;
  padding: 10px 8px;
  border-bottom: 1px solid rgba(11, 18, 32, 0.06);
}
.hp-ui-table th {
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--hp-muted);
  font-weight: 700;
}
.hp-ui-table em {
  font-style: normal;
  font-size: 12px;
  font-weight: 650;
  color: var(--hp-muted);
}
.hp-ui-table em.ok { color: var(--hp-primary-dark); }
.hp-ui-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.hp-ui-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  background: #f8fafc;
  border: 1px solid var(--hp-line);
  border-radius: 14px;
}
.hp-ui-list strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
}
.hp-ui-list span {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  color: var(--hp-muted);
}
.hp-ui-list em {
  font-style: normal;
  font-size: 12px;
  font-weight: 700;
  color: var(--hp-muted);
  white-space: nowrap;
}
.hp-ui-list em.ok { color: var(--hp-primary-dark); }
.hp-ui-list em.warn { color: #b45309; }
.hp-ui-pair { display: inline-flex; gap: 8px; flex-shrink: 0; }
.hp-ui-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 10px;
  background: var(--hp-primary);
  color: #fff !important;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  border: none;
}
.hp-ui-btn.ghost {
  background: #fff;
  color: var(--hp-ink) !important;
  border: 1px solid var(--hp-line);
}
a.hp-pillar,
a.hp-pillar:visited {
  color: inherit;
}
a.hp-pillar .hp-ui,
a.hp-pillar .hp-ui strong,
a.hp-pillar .hp-ui h4,
a.hp-pillar .hp-ui td,
a.hp-pillar .hp-ui th {
  color: var(--hp-ink);
}
a.hp-pillar .hp-ui-muted,
a.hp-pillar .hp-ui-foot,
a.hp-pillar .hp-ui-note,
a.hp-pillar .hp-ui span:not(.hp-ui-btn):not(.tag):not(.on) {
  color: var(--hp-muted);
}
.hp-ui-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
}
.hp-ui-note {
  font-size: 12px;
  color: var(--hp-muted);
}
.hp-ui-search {
  margin-bottom: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--hp-line);
  background: #f8fafc;
  color: var(--hp-muted);
  font-size: 14px;
}
.hp-ui-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.hp-ui-stats div {
  background: #f8fafc;
  border: 1px solid var(--hp-line);
  border-radius: 14px;
  padding: 14px 12px;
  text-align: center;
}
.hp-ui-stats strong {
  display: block;
  font-family: var(--hp-font-display);
  font-size: 24px;
  font-weight: 750;
  letter-spacing: -0.03em;
}
.hp-ui-stats span {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: var(--hp-muted);
}
.hp-ui-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.hp-ui-checks {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}
.hp-ui-checks li {
  padding: 12px 14px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid var(--hp-line);
  font-size: 14px;
  font-weight: 650;
}
.hp-ui-foot {
  margin: 14px 0 0;
  font-size: 12px;
  line-height: 1.5;
  color: var(--hp-muted);
}

@media (max-width: 720px) {
  .hp-ui-cols,
  .hp-ui-stats,
  .hp-ui-split { grid-template-columns: 1fr; }
  .hp-ui-list li { flex-direction: column; align-items: flex-start; }
}

/* ── Reveal motion ── */
.hp-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.hp-reveal.in {
  opacity: 1;
  transform: none;
}

/* ── FAQ ── */
.hp-faq-grid { max-width: 720px; margin: 0 auto; }
.hp-faq-item {
  border-bottom: 1px solid var(--hp-line);
  padding: 16px 0;
}
.hp-faq-item summary {
  font-family: var(--hp-font-display);
  font-weight: 650;
  color: var(--hp-ink);
  cursor: pointer;
  list-style: none;
}
.hp-faq-item summary::-webkit-details-marker { display: none; }
.hp-faq-item p {
  margin: 12px 0 0;
  color: var(--hp-text);
  line-height: 1.6;
}

/* ── Role panels ── */
.saas-role-panels {
  max-width: 720px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--hp-line);
  border-radius: 20px;
  padding: 28px;
  box-shadow: var(--hp-shadow);
}
.mp-role-panel[hidden] { display: none !important; }

/* ── Responsive ── */
@media (max-width: 980px) {
  .hp-pillars,
  .hp-split-grid,
  .hp-band,
  .hp-product-band-grid {
    grid-template-columns: 1fr;
  }
  .hp-band--reverse { direction: ltr; }
  .hp-product-band-grid.reverse > :first-child { order: 0; }
  .hp-live-stats,
  .hp-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .hp-testimonials-grid { grid-template-columns: 1fr; }

  /* Stacked hero: copy on clean surface, product image below — readable on phones */
  .hp-hero--bleed {
    min-height: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    background: #f5f7fa;
  }
  .hp-hero--bleed .hp-hero-media {
    position: relative;
    inset: auto;
    order: 2;
    height: min(58vw, 380px);
    min-height: 260px;
    overflow: hidden;
  }
  .hp-hero--bleed .hp-hero-media picture,
  .hp-hero--bleed .hp-hero-media img {
    object-position: center 68%;
  }
  .hp-hero--bleed .hp-hero-shade {
    background:
      linear-gradient(180deg, rgba(245, 247, 250, 0.92) 0%, rgba(245, 247, 250, 0.15) 35%, transparent 70%);
  }
  .hp-hero--bleed .hp-hero-atmosphere { display: none; }
  .hp-hero--bleed .hp-hero-stage {
    order: 1;
    padding-top: 36px;
    padding-bottom: 28px;
  }
  .hp-hero--bleed .hp-hero-copy {
    max-width: none;
  }
  .hp-hero--bleed h1 {
    max-width: none;
    font-size: clamp(30px, 8.2vw, 42px);
  }
  .hp-hero--bleed .hp-hero-lead {
    max-width: none;
    font-size: 16px;
  }
  .hp-hero--bleed .hp-hero-cta {
    margin-top: 24px;
  }
  .hp-live-bar { margin-top: 0; }
}
@media (max-width: 560px) {
  .hp-pillars { grid-template-columns: 1fr; }
  .hp-live-stats,
  .hp-stats-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .hp-btn { width: 100%; }
  .hp-live-bar { margin-top: 0; }
  .hp-hero--bleed .hp-hero-media {
    height: 280px;
    min-height: 240px;
  }
  .hp-hero--bleed .hp-hero-media picture,
  .hp-hero--bleed .hp-hero-media img {
    object-position: center 72%;
  }
  .hp-hero--bleed .hp-hero-stage {
    padding-top: 28px;
    padding-bottom: 20px;
  }
  .hp-side .hp-split-role,
  .hp-side h3,
  .hp-side .hp-product-note {
    margin-left: 20px;
    margin-right: 20px;
  }
  .hp-side ul {
    padding-left: calc(20px + 1.1rem);
    padding-right: 20px;
  }
  .hp-side .hp-product-note { margin-bottom: 22px; }
  .cookie-notice {
    bottom: 0.65rem;
    left: 0.75rem;
    right: 0.75rem;
    transform: none;
    max-width: none;
    width: auto;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hp-hero-atmosphere,
  .hp-reveal,
  .hp-btn,
  .hp-feature-card {
    animation: none !important;
    transition: none !important;
  }
  .hp-reveal { opacity: 1; transform: none; }
}
