/* ==========================================================================
   LiveSlide.Pro — Home page
   Loaded only by index.php (body.hp-home), on top of livedeck.css.
   Dark by design. Every animation sits behind
   `prefers-reduced-motion: no-preference` and the `.hp-ready` class that
   home.js sets, so the static styles always show the finished state.
   ========================================================================== */

/* ---------- Fonts (self-hosted; the hero serif is preloaded) ---------- */
@font-face {
  font-family: 'Instrument Serif';
  src: url('../fonts/instrument-serif-latin-400-normal.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Instrument Serif';
  src: url('../fonts/instrument-serif-latin-400-italic.woff2') format('woff2');
  font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter-latin-400-normal.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter-latin-600-normal.woff2') format('woff2');
  font-weight: 500 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter-latin-700-normal.woff2') format('woff2');
  font-weight: 700 800; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'JetBrains Mono';
  src: url('../fonts/jetbrains-mono-latin-400-normal.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
/* Metric-matched fallbacks keep the swap from shifting the layout. */
@font-face {
  font-family: 'Hp Serif Fallback';
  src: local('Georgia'), local('Times New Roman');
  size-adjust: 86%; ascent-override: 98%; descent-override: 26%; line-gap-override: 0%;
}
@font-face {
  font-family: 'Hp Sans Fallback';
  src: local('Arial'), local('Helvetica');
  size-adjust: 107%; ascent-override: 90%; descent-override: 22%; line-gap-override: 0%;
}

@property --hp-n {
  syntax: '<integer>';
  inherits: false;
  initial-value: 30;
}

/* ---------- Tokens ---------- */
.hp-home {
  --hp-bg: #08080a;
  --hp-bg-2: #0c0c0f;
  --hp-surface: #111115;
  --hp-surface-2: #17171c;
  --hp-line: rgba(237, 233, 220, 0.08);
  --hp-line-2: rgba(237, 233, 220, 0.15);
  --hp-text: #ede9dc;
  --hp-soft: #c2bcaa;
  --hp-muted: #9d9888;
  --hp-head: #faf8f1;
  --hp-accent: #c4f04c;
  --hp-accent-hi: #d9ff70;
  --hp-coral: #ff7a5e;
  --hp-serif: 'Instrument Serif', 'Hp Serif Fallback', Georgia, 'Times New Roman', serif;
  --hp-sans: 'Inter', 'Hp Sans Fallback', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, system-ui, sans-serif;
  --hp-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --hp-ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --hp-ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --hp-radius: 22px;

  /* Re-point the shared tokens so the header and footer match the page. */
  --bg: var(--hp-bg);
  --bg-alt: var(--hp-bg-2);
  --font-sans: var(--hp-sans);
  --font-display: var(--hp-serif);

  background: var(--hp-bg);
  color: var(--hp-text);
  font-family: var(--hp-sans);
  interpolate-size: allow-keywords;
}
.hp-home main { overflow-x: clip; position: relative; }

/* Film grain over the whole page, very faint. */
.hp-home::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 70;
  pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .6 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

.hp-home .ld-header { background: rgba(8, 8, 10, 0.72); border-bottom-color: var(--hp-line); }
.hp-home .ld-footer { border-top: 1px solid var(--hp-line); background: var(--hp-bg); }

.hp-sr {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* ---------- Layout primitives ---------- */
.hp-wrap {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 40px);
}
.hp-section { position: relative; padding-block: clamp(4.5rem, 10vw, 8.5rem); }

.hp-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 1.25rem;
  font: 400 0.75rem/1.2 var(--hp-mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--hp-accent);
}
.hp-eyebrow::before {
  content: '';
  width: 22px; height: 1px;
  background: currentColor;
  opacity: 0.7;
}

.hp-display,
.hp-h2,
.hp-h3 {
  font-family: var(--hp-serif);
  font-weight: 400;
  color: var(--hp-head);
  text-wrap: balance;
}
.hp-display {
  font-size: clamp(3.1rem, 7.2vw, 6.5rem);
  line-height: 0.94;
  letter-spacing: -0.028em;
  margin: 0;
}
.hp-h2 {
  font-size: clamp(2.35rem, 5vw, 4.25rem);
  line-height: 1;
  letter-spacing: -0.022em;
  margin: 0 0 1.25rem;
}
.hp-h3 {
  font-size: clamp(1.75rem, 2.7vw, 2.4rem);
  line-height: 1.06;
  letter-spacing: -0.015em;
  margin: 0 0 0.9rem;
}
.hp-display em,
.hp-h2 em {
  font-style: italic;
  padding-right: 0.06em; /* italic overhang */
  background: linear-gradient(100deg, #eaffb0 0%, var(--hp-accent) 38%, #a9dc32 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--hp-accent);
}

.hp-head { max-width: 46rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.hp-head-center { margin-inline: auto; text-align: center; }
.hp-head-center .hp-eyebrow::after {
  content: '';
  width: 22px; height: 1px;
  background: currentColor;
  opacity: 0.7;
}
.hp-sub {
  margin: 0;
  font-size: clamp(1.05rem, 1.3vw, 1.175rem);
  line-height: 1.65;
  color: var(--hp-soft);
}
.hp-head-center .hp-sub { margin-inline: auto; max-width: 40rem; }
.hp-body { color: var(--hp-soft); font-size: 1.0625rem; line-height: 1.7; margin: 0; }
.hp-note {
  margin: 1.25rem 0 0;
  font: 400 0.75rem/1.5 var(--hp-mono);
  letter-spacing: 0.04em;
  color: var(--hp-muted);
}
.hp-more { margin: clamp(2.5rem, 5vw, 3.5rem) 0 0; color: var(--hp-soft); }

.hp-home main a:not([class]) { color: var(--hp-accent); text-decoration-color: rgba(196, 240, 76, 0.45); }
.hp-home main a:not([class]):hover { color: var(--hp-accent-hi); text-decoration-color: currentColor; }

/* ---------- Buttons ---------- */
.hp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 52px;
  padding: 0.9rem 1.55rem;
  border-radius: 999px;
  font: 600 1rem/1 var(--hp-sans);
  letter-spacing: -0.005em;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.3s var(--hp-ease), background-color 0.3s, box-shadow 0.3s, color 0.3s;
}
.hp-btn:hover { text-decoration: none; transform: translateY(-2px); }
.hp-btn:active { transform: translateY(0); }
.hp-btn-primary {
  color: #0a0a0d;
  background: var(--hp-accent);
  box-shadow: 0 0 0 1px rgba(214, 255, 110, 0.7) inset, 0 12px 36px -10px rgba(196, 240, 76, 0.65), 0 1px 0 rgba(255, 255, 255, 0.55) inset;
}
.hp-btn-primary:hover {
  color: #0a0a0d;
  background: var(--hp-accent-hi);
  box-shadow: 0 0 0 1px rgba(230, 255, 160, 0.9) inset, 0 18px 48px -10px rgba(196, 240, 76, 0.8), 0 1px 0 rgba(255, 255, 255, 0.6) inset;
}
.hp-btn-arrow { transition: transform 0.3s var(--hp-ease); }
.hp-btn:hover .hp-btn-arrow { transform: translateX(3px); }
.hp-btn-ghost {
  color: var(--hp-head);
  background: rgba(255, 255, 255, 0.035);
  box-shadow: 0 0 0 1px var(--hp-line-2) inset;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.hp-btn-ghost:hover {
  color: var(--hp-head);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 0 0 1px rgba(196, 240, 76, 0.55) inset;
}
.hp-cta-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hp-cta-center { justify-content: center; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hp-hero {
  position: relative;
  isolation: isolate;
  overflow: clip;
  display: flex;
  align-items: center;
  min-height: min(900px, calc(100svh - 64px));
  padding-block: clamp(3rem, 6vw, 5.5rem) clamp(3.5rem, 6vw, 5.5rem);
}
.hp-hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(52% 58% at 74% 44%, rgba(196, 240, 76, 0.11), transparent 70%),
    radial-gradient(36% 40% at 96% 96%, rgba(255, 122, 94, 0.09), transparent 70%),
    radial-gradient(44% 50% at 4% 0%, rgba(110, 195, 255, 0.06), transparent 70%);
}
.hp-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(237, 233, 220, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(237, 233, 220, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 60% 40%, #000 0%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 60% 40%, #000 0%, transparent 75%);
}
.hp-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}
.hp-hero-copy { position: relative; z-index: 2; max-width: 40rem; }

.hp-pill {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.65rem;
  margin: 0 0 1.9rem;
  padding: 0.45rem 0.95rem 0.45rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  box-shadow: 0 0 0 1px var(--hp-line-2) inset;
  font: 500 0.8125rem/1.3 var(--hp-sans);
  color: var(--hp-head);
}
.hp-pill-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--hp-accent);
  box-shadow: 0 0 0 4px rgba(196, 240, 76, 0.16), 0 0 14px rgba(196, 240, 76, 0.9);
}
.hp-pill-sep { width: 1px; height: 12px; background: var(--hp-line-2); }
.hp-pill-soft { color: var(--hp-soft); }

.hp-lede {
  margin: 1.75rem 0 2.25rem;
  max-width: 34rem;
  font-size: clamp(1.075rem, 1.35vw, 1.225rem);
  line-height: 1.62;
  color: var(--hp-soft);
}
.hp-hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.5rem;
  margin: 2.25rem 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.875rem;
  color: var(--hp-muted);
}
.hp-hero-facts li { display: inline-flex; align-items: center; gap: 0.55rem; }
.hp-hero-facts li::before {
  content: '';
  width: 14px; height: 14px;
  flex: none;
  border-radius: 50%;
  background:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'><path d='M4 7.2l2 2 4-4.4' fill='none' stroke='%23c4f04c' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / 14px no-repeat,
    rgba(196, 240, 76, 0.12);
}

/* Hero stage: three.js canvas over a static CSS illustration */
.hp-hero-visual {
  position: relative;
  aspect-ratio: 1 / 0.9;
  min-height: 420px;
}
.hp-stage { position: absolute; inset: -8% -16% -10% -10%; }
.hp-stage-fallback,
.hp-stage-canvas {
  position: absolute;
  inset: 0;
  -webkit-mask-image: radial-gradient(ellipse 62% 62% at 50% 50%, #000 58%, transparent 100%);
  mask-image: radial-gradient(ellipse 62% 62% at 50% 50%, #000 58%, transparent 100%);
  transition: opacity 1.6s var(--hp-ease);
}
.hp-stage-canvas { display: block; width: 100%; height: 100%; opacity: 0; }
.hp-stage.is-3d .hp-stage-canvas { opacity: 1; }
.hp-stage.is-3d .hp-stage-fallback { opacity: 0; }

.hp-fb-room {
  position: absolute;
  left: 4%; right: 4%; bottom: 8%;
  height: 46%;
  background-image:
    radial-gradient(circle, rgba(196, 240, 76, 0.9) 1.6px, transparent 2.2px),
    radial-gradient(circle, rgba(237, 233, 220, 0.5) 1.3px, transparent 1.9px);
  background-size: 66px 44px, 22px 22px;
  background-position: 11px 0, 0 0;
  transform: perspective(700px) rotateX(60deg);
  transform-origin: 50% 100%;
  -webkit-mask-image: radial-gradient(ellipse 58% 90% at 50% 100%, #000 35%, transparent 78%);
  mask-image: radial-gradient(ellipse 58% 90% at 50% 100%, #000 35%, transparent 78%);
}
.hp-fb-deck {
  position: absolute;
  left: 50%; top: 38%;
  width: min(54%, 400px);
  aspect-ratio: 16 / 9;
  transform: translate(-50%, -50%);
  perspective: 1400px;
  container-type: inline-size;
}
.hp-fb-slide {
  position: absolute;
  inset: 0;
  border-radius: 2.6cqi;
  background: linear-gradient(160deg, #1b1c22, #0f1014);
  box-shadow: 0 0 0 1px rgba(237, 233, 220, 0.12), 0 40px 90px -30px rgba(0, 0, 0, 0.9), 0 0 80px rgba(196, 240, 76, 0.12);
  transform: rotateY(-16deg) rotateX(5deg);
}
.hp-fb-s2 { transform: translate(10%, -12%) rotateY(-16deg) rotateX(5deg) scale(0.93); opacity: 0.6; }
.hp-fb-s3 { transform: translate(20%, -24%) rotateY(-16deg) rotateX(5deg) scale(0.86); opacity: 0.32; }
.hp-fb-s1 {
  display: flex;
  flex-direction: column;
  gap: 3.4cqi;
  padding: 7cqi 8cqi;
  background: #f3efe4;
  color: #1a1a1c;
}
.hp-fb-kicker { font: 400 2.9cqi/1.2 var(--hp-mono); letter-spacing: 0.08em; text-transform: uppercase; color: #b8432a; }
.hp-fb-title { font: 400 7.4cqi/1 var(--hp-serif); letter-spacing: -0.02em; max-width: 86%; }
.hp-fb-line { height: 1.7cqi; width: 78%; border-radius: 1cqi; background: rgba(26, 26, 28, 0.16); }
.hp-fb-line-s { width: 56%; margin-top: -1.6cqi; }
.hp-fb-prompt {
  margin-top: auto;
  padding: 2.4cqi 3cqi;
  border-radius: 1.6cqi;
  background: #1a1a1c;
  color: #e9f9c0;
  font: 400 2.8cqi/1.3 var(--hp-mono);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.hp-stage-hud {
  position: absolute;
  top: 4%; right: 16%;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.4rem;
  z-index: 3;
}
.hp-stage-hud > span,
.hp-stage-toast {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  background: rgba(12, 12, 15, 0.72);
  box-shadow: 0 0 0 1px var(--hp-line-2) inset, 0 10px 30px -12px rgba(0, 0, 0, 0.8);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  font: 400 0.72rem/1.2 var(--hp-mono);
  color: var(--hp-soft);
  white-space: nowrap;
}
.hp-stage-hud b { color: var(--hp-head); font-weight: 400; font-variant-numeric: tabular-nums; }
.hp-hud-live { color: var(--hp-accent) !important; letter-spacing: 0.1em; text-transform: uppercase; }
.hp-hud-live i {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--hp-accent);
  box-shadow: 0 0 10px var(--hp-accent);
}
.hp-stage-toast {
  position: absolute;
  left: 12%; bottom: 13%;
  z-index: 3;
  padding: 0.45rem 0.9rem 0.45rem 0.45rem;
  gap: 0.6rem;
  font: 400 0.8125rem/1.25 var(--hp-sans);
  transition: opacity 0.45s var(--hp-ease), transform 0.45s var(--hp-ease);
}
.hp-stage-toast.is-out { opacity: 0; transform: translateY(8px); }
.hp-toast-avatar {
  display: inline-grid; place-items: center;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--hp-accent); color: #0a0a0d;
  font: 700 0.8rem/1 var(--hp-sans);
}
.hp-toast-text b { color: var(--hp-head); font-weight: 600; }
.hp-toast-role { color: var(--hp-muted); }
.hp-toast-role::before { content: '· '; }

/* ==========================================================================
   Audience strip
   ========================================================================== */
.hp-for { border-block: 1px solid var(--hp-line); background: linear-gradient(180deg, rgba(255, 255, 255, 0.015), transparent); }
.hp-for-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2.5rem;
  padding-block: 1.6rem;
}
.hp-for-title {
  margin: 0;
  font: 400 0.75rem/1.4 var(--hp-mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hp-muted);
}
.hp-for-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
  margin: 0; padding: 0;
  list-style: none;
}
.hp-for-list li {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  font: italic 400 clamp(1.15rem, 1.7vw, 1.45rem)/1.3 var(--hp-serif);
  color: var(--hp-text);
}
.hp-for-list li + li::before {
  content: '';
  flex: none;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--hp-accent);
  opacity: 0.8;
}

/* ==========================================================================
   Definition (GEO)
   ========================================================================== */
.hp-define-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}
.hp-define-lead {
  margin: 0 0 1.4rem;
  font-size: clamp(1.2rem, 1.8vw, 1.45rem);
  line-height: 1.55;
  color: var(--hp-text);
}
.hp-define-lead dfn {
  font-style: normal;
  font-weight: 600;
  color: var(--hp-head);
  background: linear-gradient(transparent 62%, rgba(196, 240, 76, 0.28) 62%);
}
.hp-facts {
  position: relative;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border-radius: var(--hp-radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015));
  box-shadow: 0 0 0 1px var(--hp-line) inset;
}
.hp-facts-title {
  margin: 0 0 1.25rem;
  font: 400 0.75rem/1.3 var(--hp-mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hp-accent);
}
.hp-facts-list { margin: 0; display: grid; }
.hp-facts-list > div {
  display: grid;
  grid-template-columns: 9.5rem 1fr;
  gap: 1rem;
  padding: 0.85rem 0;
  border-top: 1px solid var(--hp-line);
}
.hp-facts-list > div:first-child { border-top: 0; padding-top: 0; }
.hp-facts-list dt { font: 400 0.75rem/1.6 var(--hp-mono); letter-spacing: 0.04em; color: var(--hp-muted); }
.hp-facts-list dd { margin: 0; font-size: 0.95rem; line-height: 1.5; color: var(--hp-text); }

/* ==========================================================================
   How it works — steps with live CSS mock-ups
   ========================================================================== */
.hp-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: clamp(4rem, 9vw, 7.5rem);
}
.hp-step {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(2rem, 5vw, 5.5rem);
  align-items: center;
}
.hp-step:nth-child(even) .hp-step-copy { order: 2; }
.hp-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  box-shadow: 0 0 0 1px rgba(196, 240, 76, 0.4) inset;
  font: 400 0.75rem/1.3 var(--hp-mono);
  color: var(--hp-accent);
  margin-bottom: 1.25rem;
}
.hp-step-copy p { margin: 0; max-width: 30rem; color: var(--hp-soft); font-size: 1.0625rem; line-height: 1.7; }

.hp-step-visual {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 26px;
  overflow: hidden;
  container-type: inline-size;
  background:
    radial-gradient(110% 80% at 25% 0%, rgba(196, 240, 76, 0.09), transparent 60%),
    radial-gradient(80% 70% at 100% 100%, rgba(255, 122, 94, 0.06), transparent 60%),
    linear-gradient(180deg, #111115, #0a0a0d);
  box-shadow: 0 0 0 1px var(--hp-line) inset, 0 50px 100px -50px rgba(0, 0, 0, 0.9);
}
.hp-step-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(237, 233, 220, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(237, 233, 220, 0.05) 1px, transparent 1px);
  background-size: 6cqi 6cqi;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 45%, #000, transparent 80%);
  mask-image: radial-gradient(ellipse 70% 70% at 50% 45%, #000, transparent 80%);
}
.hp-mock { position: absolute; inset: 0; }

/* Shared QR */
.hp-qr { display: block; width: 100%; height: auto; border-radius: 1.2cqi; }

/* Mock 1: create */
.hp-win {
  position: absolute;
  left: 7%; top: 11%;
  width: 64%;
  border-radius: 2.4cqi;
  background: #16161b;
  box-shadow: 0 0 0 1px var(--hp-line-2) inset, 0 3cqi 8cqi -2cqi rgba(0, 0, 0, 0.8);
  overflow: hidden;
}
.hp-win-bar {
  display: flex; align-items: center; gap: 1cqi;
  padding: 1.8cqi 2.4cqi;
  border-bottom: 1px solid var(--hp-line);
  font: 400 1.9cqi/1 var(--hp-mono); color: var(--hp-muted);
}
.hp-win-bar i { width: 1.4cqi; height: 1.4cqi; border-radius: 50%; background: #34343b; }
.hp-win-bar span { margin-left: 1.5cqi; }
.hp-win-body { display: flex; flex-direction: column; gap: 1.5cqi; padding: 3.2cqi; }
.hp-f-label { font: 400 1.8cqi/1 var(--hp-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--hp-muted); }
.hp-f-input {
  display: block;
  padding: 2cqi 2.2cqi;
  margin-bottom: 1.2cqi;
  border-radius: 1.4cqi;
  background: #0b0b0e;
  box-shadow: 0 0 0 1px rgba(196, 240, 76, 0.45) inset, 0 0 0 0.6cqi rgba(196, 240, 76, 0.08);
  font: 400 2.25cqi/1.2 var(--hp-mono);
  color: var(--hp-head);
}
.hp-type { display: inline-block; max-width: 100%; overflow: hidden; white-space: nowrap; vertical-align: bottom; border-right: 0.35cqi solid var(--hp-accent); padding-right: 0.3cqi; }
.hp-swatches { display: flex; gap: 1.4cqi; margin-bottom: 1.4cqi; }
.hp-swatches i { width: 4.2cqi; height: 4.2cqi; border-radius: 50%; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.15) inset; }
.hp-swatches i:nth-child(1) { background: linear-gradient(135deg, #f3efe4 50%, #d2553b 50%); }
.hp-swatches i:nth-child(2) { background: linear-gradient(135deg, #0a0a0d 50%, #c4f04c 50%); box-shadow: 0 0 0 0.45cqi #08080a, 0 0 0 0.8cqi var(--hp-accent); }
.hp-swatches i:nth-child(3) { background: linear-gradient(135deg, #ffffff 50%, #2f5bff 50%); }
.hp-swatches i:nth-child(4) { background: linear-gradient(135deg, #14302a 50%, #8fd6b4 50%); }
.hp-swatches i:nth-child(5) { background: linear-gradient(135deg, #1b1840 50%, #b9a7ff 50%); }
.hp-swatches i:nth-child(6) { background: linear-gradient(135deg, #ffd23f 50%, #111 50%); }
.hp-f-btn {
  align-self: flex-start;
  padding: 1.6cqi 3cqi;
  border-radius: 99px;
  background: var(--hp-accent);
  color: #0a0a0d;
  font: 600 2.1cqi/1 var(--hp-sans);
}
.hp-qr-pop {
  position: absolute;
  right: 7%; bottom: 9%;
  width: 33%;
  display: flex; flex-direction: column; gap: 2cqi;
  padding: 2.6cqi;
  border-radius: 2.6cqi;
  background: #fbfaf5;
  box-shadow: 0 4cqi 10cqi -3cqi rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(255, 255, 255, 0.4) inset;
  transform: rotate(3deg);
}
.hp-qr-pop-text { display: flex; flex-direction: column; gap: 0.6cqi; }
.hp-qr-pop-text b { font: 600 2.1cqi/1.2 var(--hp-sans); color: #0a0a0d; }
.hp-qr-pop-text span { font: 400 1.7cqi/1.2 var(--hp-mono); color: #4a4840; }

/* Mock 2: join */
.hp-scan {
  position: absolute;
  left: 9%; top: 50%;
  width: 34%;
  padding: 2.4cqi;
  border-radius: 2.6cqi;
  background: #fbfaf5;
  transform: translateY(-50%) rotate(-3deg);
  box-shadow: 0 4cqi 10cqi -3cqi rgba(0, 0, 0, 0.85);
  overflow: hidden;
}
.hp-scanline {
  position: absolute;
  left: 0; right: 0; top: 50%;
  height: 0.6cqi;
  background: var(--hp-accent);
  box-shadow: 0 0 3cqi 1cqi rgba(196, 240, 76, 0.7);
  opacity: 0;
}
.hp-phone {
  position: absolute;
  right: 11%; top: 50%;
  width: 37%;
  aspect-ratio: 9 / 18.5;
  transform: translateY(-50%);
  border-radius: 5.6cqi;
  padding: 1.2cqi;
  background: linear-gradient(160deg, #2a2a31, #121216);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12) inset, 0 5cqi 12cqi -3cqi rgba(0, 0, 0, 0.9);
}
.hp-phone-notch {
  position: absolute;
  top: 2.4cqi; left: 50%;
  width: 9cqi; height: 2.2cqi;
  transform: translateX(-50%);
  border-radius: 99px;
  background: #050506;
  z-index: 2;
}
.hp-phone-screen {
  display: flex; flex-direction: column; gap: 1.7cqi;
  height: 100%;
  padding: 7cqi 2.6cqi 3cqi;
  border-radius: 4.6cqi;
  background: #f6f4ee;
  color: #1a1a1c;
}
.hp-ph-brand { font: 400 3.4cqi/1.05 var(--hp-serif); margin-bottom: 0.6cqi; }
.hp-ph-field { display: flex; flex-direction: column; gap: 0.6cqi; padding: 1.4cqi 1.6cqi; border-radius: 1.4cqi; background: #fff; box-shadow: 0 0 0 1px rgba(26, 26, 28, 0.12) inset; }
.hp-ph-field span { font: 400 1.45cqi/1.1 var(--hp-mono); letter-spacing: 0.04em; text-transform: uppercase; color: #5e5b50; }
.hp-ph-field b { font: 600 1.85cqi/1.2 var(--hp-sans); color: #1a1a1c; }
.hp-ph-submit { margin-top: auto; padding: 1.7cqi; border-radius: 99px; background: #1a1a1c; color: #f6f4ee; text-align: center; font: 600 1.9cqi/1 var(--hp-sans); }

/* Mock 3: write */
.hp-pslide {
  position: absolute;
  left: 8%; right: 8%; top: 15%;
  aspect-ratio: 16 / 9;
  display: flex; flex-direction: column; gap: 2.2cqi;
  padding: 4.2cqi 4.6cqi;
  border-radius: 2.2cqi;
  background: #f3efe4;
  color: #1a1a1c;
  box-shadow: 0 5cqi 12cqi -4cqi rgba(0, 0, 0, 0.9), 0 0 9cqi rgba(196, 240, 76, 0.12);
}
.hp-ps-kicker { font: 400 1.7cqi/1 var(--hp-mono); letter-spacing: 0.1em; text-transform: uppercase; color: #a63d24; }
.hp-ps-title { font: 400 4.6cqi/1 var(--hp-serif); letter-spacing: -0.02em; max-width: 80%; }
.hp-ps-cols { display: grid; grid-template-columns: 1fr 1.1fr; gap: 3.4cqi; padding-top: 2cqi; border-top: 1px solid rgba(26, 26, 28, 0.14); }
.hp-ps-col { display: flex; flex-direction: column; gap: 1.1cqi; }
.hp-ps-h { font: 400 1.45cqi/1 var(--hp-mono); letter-spacing: 0.1em; text-transform: uppercase; color: #5e5b50; }
.hp-ps-text { font: 400 1.9cqi/1.45 var(--hp-sans); color: #2e2d28; }
.hp-ps-li { position: relative; padding-left: 2.6cqi; font: 500 1.8cqi/1.35 var(--hp-sans); color: #2e2d28; }
.hp-ps-li::before { position: absolute; left: 0; font: 400 1.6cqi/1.5 var(--hp-mono); color: #a63d24; }
.hp-ps-li1::before { content: '1'; }
.hp-ps-li2::before { content: '2'; }
.hp-ps-li3::before { content: '3'; }
.hp-ps-prompt {
  margin-top: auto;
  padding: 1.6cqi 2cqi;
  border-radius: 1.4cqi;
  background: #1a1a1c;
  color: #e9f9c0;
  font: 400 1.6cqi/1.35 var(--hp-mono);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.hp-ps-prompt b { font-weight: 400; color: var(--hp-accent); margin-right: 1cqi; text-transform: uppercase; letter-spacing: 0.1em; }
.hp-writing {
  position: absolute;
  right: 8%; top: 6%;
  display: inline-flex; align-items: center; gap: 1.2cqi;
  padding: 1.2cqi 2.2cqi;
  border-radius: 99px;
  background: rgba(12, 12, 15, 0.85);
  box-shadow: 0 0 0 1px rgba(196, 240, 76, 0.4) inset;
  font: 400 1.8cqi/1 var(--hp-mono);
  color: var(--hp-accent);
}
.hp-writing i { width: 1.3cqi; height: 1.3cqi; border-radius: 50%; background: var(--hp-accent); box-shadow: 0 0 2cqi var(--hp-accent); }

/* Mock 4: grow */
.hp-proj {
  position: absolute;
  left: 6%; top: 9%;
  width: 66%;
  display: flex; flex-direction: column; gap: 2.4cqi;
  padding: 2.8cqi;
  border-radius: 2.4cqi;
  background: #121216;
  box-shadow: 0 0 0 1px var(--hp-line-2) inset, 0 4cqi 10cqi -3cqi rgba(0, 0, 0, 0.85);
}
.hp-proj-top { display: flex; justify-content: space-between; align-items: center; font: 400 1.8cqi/1 var(--hp-mono); color: var(--hp-muted); }
.hp-proj-live { display: inline-flex; align-items: center; gap: 1cqi; color: var(--hp-accent); text-transform: uppercase; letter-spacing: 0.1em; }
.hp-proj-live i { width: 1.2cqi; height: 1.2cqi; border-radius: 50%; background: var(--hp-accent); box-shadow: 0 0 1.6cqi var(--hp-accent); }
.hp-count b { color: var(--hp-head); font-weight: 400; }
.hp-count-num { counter-reset: hpn var(--hp-n); }
.hp-count-num::after { content: counter(hpn); }
.hp-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.3cqi; }
.hp-th {
  aspect-ratio: 16 / 9;
  border-radius: 0.9cqi;
  background: #1e1e24;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06) inset;
  position: relative;
  overflow: hidden;
}
.hp-th::before, .hp-th::after { content: ''; position: absolute; left: 12%; height: 9%; border-radius: 1cqi; }
.hp-th::before { top: 22%; width: 55%; background: currentColor; opacity: 0.9; }
.hp-th::after { top: 44%; width: 70%; background: rgba(255, 255, 255, 0.18); box-shadow: 0 1.4cqi 0 rgba(255, 255, 255, 0.12); }
.hp-th:nth-child(4n+1) { color: var(--hp-accent); }
.hp-th:nth-child(4n+2) { color: #ff9a82; background: #241a19; }
.hp-th:nth-child(4n+3) { color: #a7c1ff; background: #171b2a; }
.hp-th:nth-child(4n+4) { color: #ede9dc; background: #22211d; }
.hp-themes { display: flex; flex-wrap: wrap; gap: 1cqi; }
.hp-themes span {
  padding: 0.9cqi 1.6cqi;
  border-radius: 99px;
  background: rgba(196, 240, 76, 0.1);
  box-shadow: 0 0 0 1px rgba(196, 240, 76, 0.35) inset;
  font: 500 1.6cqi/1 var(--hp-sans);
  color: var(--hp-head);
}
.hp-pack {
  position: absolute;
  right: 6%; bottom: 9%;
  width: 34%;
  display: flex; flex-direction: column; gap: 1.8cqi;
  padding: 2.4cqi;
  border-radius: 2.6cqi;
  background: #fbfaf5;
  transform: rotate(-3deg);
  box-shadow: 0 5cqi 12cqi -3cqi rgba(0, 0, 0, 0.9);
}
.hp-pack .hp-qr { width: 62%; }
.hp-pack-text { display: flex; flex-direction: column; gap: 0.7cqi; }
.hp-pack-text b { font: 400 3.2cqi/1.05 var(--hp-serif); color: #0a0a0d; }
.hp-pack-text span { font: 400 1.6cqi/1.3 var(--hp-mono); color: #4a4840; }

/* ==========================================================================
   Personal slides
   ========================================================================== */
.hp-people-sec { background: linear-gradient(180deg, transparent, rgba(196, 240, 76, 0.025) 40%, transparent); }
.hp-people-tabs {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin: 0 auto 2rem;
  padding: 0.4rem;
  width: fit-content;
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  box-shadow: 0 0 0 1px var(--hp-line) inset;
}
.hp-people-tabs::-webkit-scrollbar { display: none; }
.hp-ptab {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  flex: none;
  min-height: 52px;
  padding: 0.4rem 1.1rem 0.4rem 0.45rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--hp-soft);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s, box-shadow 0.3s;
}
.hp-ptab:hover { background: rgba(255, 255, 255, 0.05); color: var(--hp-head); }
.hp-ptab[aria-selected='true'] {
  background: var(--hp-surface-2);
  color: var(--hp-head);
  box-shadow: 0 0 0 1px rgba(196, 240, 76, 0.45) inset, 0 8px 24px -12px rgba(0, 0, 0, 0.8);
}
.hp-ptab-avatar {
  display: inline-grid; place-items: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  font: 400 1.15rem/1 var(--hp-serif);
  color: #0a0a0d;
}
.hp-av-maria { background: #f3c6b8; }
.hp-av-james { background: var(--hp-accent); }
.hp-av-priya { background: #b9c8ff; }
.hp-ptab-text { display: flex; flex-direction: column; gap: 0.15rem; }
.hp-ptab-text b { font-size: 0.92rem; font-weight: 600; }
.hp-ptab-text span { font-size: 0.78rem; color: var(--hp-muted); }

.hp-people-panels { display: grid; gap: 2rem; }
.hp-person {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: center;
  container-type: inline-size;
  border-radius: 28px;
}
.hp-person[hidden] { display: none; }
.hp-person.is-entering .hp-slide,
.hp-person.is-entering .hp-follow { animation: hp-panel-in 0.7s var(--hp-ease-out) both; }
.hp-person.is-entering .hp-follow { animation-delay: 0.08s; }

/* The personal slide itself: a real 16:9 slide on wide screens */
.hp-slide {
  position: relative;
  aspect-ratio: 16 / 9;
  display: flex;
  flex-direction: column;
  padding: clamp(1.4rem, 4.2cqi, 3rem) clamp(1.4rem, 4.8cqi, 3.4rem);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 60px 120px -50px rgba(0, 0, 0, 0.95), 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.hp-slide-kicker { margin: 0 0 1.1rem; font: 400 clamp(0.68rem, 1.2cqi, 0.8rem)/1.3 var(--hp-mono); letter-spacing: 0.1em; text-transform: uppercase; }
.hp-slide-q {
  margin: 0 0 auto;
  max-width: 88%;
  font-size: clamp(1.45rem, 3.7cqi, 2.7rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.hp-slide-cols {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(1.25rem, 3.5cqi, 2.5rem);
  margin-top: 1.5rem;
  padding-top: clamp(1rem, 2.4cqi, 1.6rem);
  border-top: 1px solid currentColor;
  border-top-color: color-mix(in srgb, currentColor 18%, transparent);
}
.hp-slide-h { margin: 0 0 0.6rem; font: 400 clamp(0.66rem, 1.05cqi, 0.75rem)/1.3 var(--hp-mono); letter-spacing: 0.12em; text-transform: uppercase; }
.hp-slide-lesson { margin: 0; font-size: clamp(0.9rem, 1.55cqi, 1.05rem); line-height: 1.55; }
.hp-slide-try { margin: 0; padding: 0; list-style: none; counter-reset: hptry; display: grid; gap: 0.55rem; }
.hp-slide-try li { counter-increment: hptry; position: relative; padding-left: 1.7rem; font-size: clamp(0.88rem, 1.45cqi, 1rem); line-height: 1.45; }
.hp-slide-try li::before { content: counter(hptry, decimal-leading-zero); position: absolute; left: 0; top: 0.12em; font: 400 0.72rem/1.5 var(--hp-mono); }

/* Design: editorial (cream paper, serif, coral) */
.hp-slide-editorial { background: #f3efe4; color: #2e2d28; }
.hp-slide-editorial .hp-slide-q { font-family: var(--hp-serif); font-weight: 400; color: #141416; }
.hp-slide-editorial .hp-slide-kicker,
.hp-slide-editorial .hp-slide-try li::before { color: #a63d24; }
.hp-slide-editorial .hp-slide-h { color: #5e5b50; }
.hp-slide-editorial::after {
  content: '';
  position: absolute;
  top: clamp(1.4rem, 4.2cqi, 3rem); right: clamp(1.4rem, 4.8cqi, 3.4rem);
  width: 9cqi; height: 9cqi; max-width: 76px; max-height: 76px;
  border-radius: 50%;
  border: 1px solid rgba(166, 61, 36, 0.5);
  background: radial-gradient(circle, rgba(210, 85, 59, 0.9) 0 18%, transparent 19%);
}

/* Design: block (ink, chartreuse block, bold sans) */
.hp-slide-block { background: #0f1014; color: #d4cfbf; padding-left: clamp(2rem, 8cqi, 5rem); }
.hp-slide-block::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: clamp(0.6rem, 2.6cqi, 1.6rem);
  background: var(--hp-accent);
}
.hp-slide-block .hp-slide-q { font-family: var(--hp-sans); font-weight: 700; letter-spacing: -0.035em; color: #faf8f1; font-size: clamp(1.35rem, 3.4cqi, 2.5rem); }
.hp-slide-block .hp-slide-kicker,
.hp-slide-block .hp-slide-h,
.hp-slide-block .hp-slide-try li::before { color: var(--hp-accent); }

/* Design: swiss (white, blue, grid) */
.hp-slide-swiss { background: #ffffff; color: #26262b; }
.hp-slide-swiss .hp-slide-q { font-family: var(--hp-sans); font-weight: 700; letter-spacing: -0.04em; color: #0b0b0f; font-size: clamp(1.35rem, 3.4cqi, 2.5rem); }
.hp-slide-swiss .hp-slide-kicker { color: #2346d8; }
.hp-slide-swiss .hp-slide-h { color: #55555c; }
.hp-slide-swiss .hp-slide-try li::before { color: #2346d8; }
.hp-slide-swiss .hp-slide-cols { border-top: 2px solid #0b0b0f; }
.hp-slide-swiss::after {
  content: '';
  position: absolute;
  top: clamp(1.4rem, 4.2cqi, 3rem); right: clamp(1.4rem, 4.8cqi, 3.4rem);
  width: 4.5cqi; height: 4.5cqi; max-width: 38px; max-height: 38px;
  border-radius: 50%;
  background: #ff3b30;
}

/* Follow-along phone */
.hp-follow { display: flex; justify-content: center; }
.hp-follow-phone {
  width: 100%;
  max-width: 290px;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  padding: 1.6rem 1.25rem 1.4rem;
  border-radius: 34px;
  background: linear-gradient(180deg, #16161b, #0e0e11);
  box-shadow: 0 0 0 1px var(--hp-line-2) inset, 0 0 0 7px #1d1d22, 0 0 0 8px rgba(255, 255, 255, 0.08), 0 50px 90px -40px rgba(0, 0, 0, 0.95);
}
.hp-follow-top { display: flex; align-items: center; gap: 0.5rem; margin: 0; font: 400 0.72rem/1.3 var(--hp-mono); color: var(--hp-muted); }
.hp-follow-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--hp-accent); box-shadow: 0 0 8px var(--hp-accent); }
.hp-follow-h { margin: 0.4rem 0 0; font: 400 1.5rem/1.1 var(--hp-serif); color: var(--hp-head); }
.hp-follow-prompt {
  margin: 0;
  padding: 0.9rem;
  border-radius: 14px;
  background: #0a0a0d;
  box-shadow: 0 0 0 1px var(--hp-line) inset;
  font: 400 0.78rem/1.55 var(--hp-mono);
  color: #dfe9c4;
}
.hp-copy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.7rem 1rem;
  border: 0;
  border-radius: 999px;
  background: var(--hp-accent);
  color: #0a0a0d;
  font: 600 0.9rem/1 var(--hp-sans);
  cursor: pointer;
  transition: transform 0.2s var(--hp-ease), background-color 0.2s;
}
.hp-copy:hover { background: var(--hp-accent-hi); transform: translateY(-1px); }
.hp-copy.is-done { background: #eaffb0; }
.hp-follow-foot { margin: 0.2rem 0 0; font-size: 0.75rem; line-height: 1.45; color: var(--hp-muted); }
.hp-people .hp-note { text-align: center; }

/* ==========================================================================
   Room intelligence — bento
   ========================================================================== */
.hp-bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1rem; }
.hp-card {
  position: relative;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border-radius: var(--hp-radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012));
  box-shadow: 0 0 0 1px var(--hp-line) inset;
  overflow: hidden;
  transition: box-shadow 0.4s var(--hp-ease);
}
.hp-card:hover { box-shadow: 0 0 0 1px var(--hp-line-2) inset; }
.hp-card-themes { grid-column: span 4; }
.hp-card-personas { grid-column: span 2; }
.hp-card-agenda { grid-column: span 3; }
.hp-card-late { grid-column: span 3; }
.hp-card-label { margin: 0 0 0.75rem; font: 400 0.72rem/1.3 var(--hp-mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--hp-accent); }
.hp-card-title { margin: 0 0 1.5rem; font: 400 clamp(1.45rem, 2.2vw, 1.85rem)/1.1 var(--hp-serif); letter-spacing: -0.01em; color: var(--hp-head); }
.hp-card p:not(.hp-card-label) { color: var(--hp-soft); margin: 0; }

.hp-bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.hp-bars li { display: grid; grid-template-columns: 11rem 1fr; align-items: center; gap: 1rem; font-size: 0.95rem; color: var(--hp-text); }
.hp-bars i {
  position: relative;
  height: 10px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.05);
  overflow: hidden;
}
.hp-bars i::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(196, 240, 76, 0.35), var(--hp-accent));
  transform-origin: left;
  transform: scaleX(var(--w, 0.5));
  box-shadow: 0 0 16px rgba(196, 240, 76, 0.35);
}

.hp-personas { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.9rem; }
.hp-personas li { display: grid; grid-template-columns: auto 1fr; column-gap: 0.75rem; align-items: baseline; }
.hp-personas b { font-weight: 600; color: var(--hp-head); font-size: 0.98rem; }
.hp-personas span:not(.hp-persona-dot) { grid-column: 2; font-size: 0.875rem; color: var(--hp-muted); }
.hp-persona-dot { width: 10px; height: 10px; border-radius: 50%; transform: translateY(-1px); }
.hp-pd1 { background: var(--hp-coral); }
.hp-pd2 { background: #a7c1ff; }
.hp-pd3 { background: var(--hp-accent); }

.hp-agenda { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.hp-agenda li {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  height: 3.25rem;
  padding: 0 1rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  box-shadow: 0 0 0 1px var(--hp-line) inset;
  font-size: 0.95rem;
}
.hp-agenda b { font-weight: 500; color: var(--hp-head); }
.hp-ag-min { font: 400 0.75rem/1 var(--hp-mono); color: var(--hp-muted); min-width: 2.2rem; }
.hp-ag1 { box-shadow: 0 0 0 1px rgba(196, 240, 76, 0.45) inset !important; background: rgba(196, 240, 76, 0.06) !important; }
.hp-ag-tag {
  margin-left: auto;
  padding: 0.3rem 0.6rem;
  border-radius: 99px;
  background: var(--hp-accent);
  color: #0a0a0d;
  font: 600 0.7rem/1 var(--hp-sans);
  white-space: nowrap;
}

.hp-late-viz { display: flex; gap: 0.5rem; margin-top: 1.75rem; }
.hp-late-viz i {
  flex: 1;
  aspect-ratio: 16 / 10;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 0 1px var(--hp-line) inset;
}
.hp-late-viz .is-current { box-shadow: 0 0 0 2px var(--hp-head) inset; background: rgba(255, 255, 255, 0.09); }
.hp-late-viz .is-new { background: rgba(196, 240, 76, 0.18); box-shadow: 0 0 0 1px var(--hp-accent) inset, 0 0 22px rgba(196, 240, 76, 0.35); }

/* ==========================================================================
   Designs gallery
   ========================================================================== */
.hp-designs { overflow: clip; }
.hp-marquee {
  display: grid;
  gap: 1rem;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.hp-marquee-row { overflow: hidden; }
.hp-marquee-track { display: flex; gap: 1rem; width: max-content; }
.hp-marquee-rev .hp-marquee-track { transform: translateX(calc(-50% - 0.5rem)); }

.hp-dz {
  position: relative;
  flex: none;
  width: clamp(240px, 24vw, 340px);
  aspect-ratio: 16 / 9;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 2.4cqi;
  padding: clamp(18px, 1.8vw, 26px);
  border-radius: 14px;
  overflow: hidden;
  container-type: inline-size;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08) inset, 0 24px 50px -30px rgba(0, 0, 0, 0.9);
}
.hp-dz-k { position: relative; z-index: 1; font: 400 3.7cqi/1.2 var(--hp-mono); letter-spacing: 0.1em; text-transform: uppercase; }
.hp-dz-t { position: relative; z-index: 1; font: 400 9.6cqi/0.98 var(--hp-serif); letter-spacing: -0.02em; max-width: 92%; }
.hp-dz-deco { position: absolute; }

.hp-d1 { background: #f3efe4; color: #1a1a1c; }
.hp-d1 .hp-dz-k { color: #a63d24; }
.hp-d1 .hp-dz-deco { top: 9cqi; right: 9cqi; width: 16cqi; height: 16cqi; border-radius: 50%; border: 1px solid #a63d24; background: radial-gradient(circle, #d2553b 0 20%, transparent 21%); }

.hp-d2 { background: #0f1014; color: #faf8f1; }
.hp-d2 .hp-dz-k { color: var(--hp-accent); }
.hp-d2 .hp-dz-t { font: 700 8.6cqi/1 var(--hp-sans); letter-spacing: -0.04em; }
.hp-d2 .hp-dz-deco { left: 0; top: 0; bottom: 0; width: 3.4cqi; background: var(--hp-accent); }

.hp-d3 { background: #ffffff; color: #0b0b0f; }
.hp-d3 .hp-dz-k { color: #2346d8; }
.hp-d3 .hp-dz-t { font: 700 8.8cqi/0.98 var(--hp-sans); letter-spacing: -0.05em; }
.hp-d3 .hp-dz-deco { top: 6cqi; right: 7cqi; font: 700 22cqi/1 var(--hp-sans); color: #2346d8; letter-spacing: -0.06em; }
.hp-d3 .hp-dz-deco::before { content: '01'; }

.hp-d4 { background: #14302a; color: #f4f1e6; }
.hp-d4 .hp-dz-k { color: #8fd6b4; }
.hp-d4 .hp-dz-t { font-style: italic; }
.hp-d4 .hp-dz-deco { left: 7cqi; right: 7cqi; top: 22%; border-top: 1px dashed rgba(244, 241, 230, 0.4); }

.hp-d5 { background: #ff7a5e; color: #0a0a0d; }
.hp-d5 .hp-dz-deco { right: 0; top: 0; bottom: 0; width: 38%; background: #0a0a0d; }
.hp-d5 .hp-dz-t { max-width: 58%; font: 700 8cqi/1 var(--hp-sans); letter-spacing: -0.04em; }

.hp-d6 { background: radial-gradient(120% 120% at 100% 0%, #6d4bff 0%, #1b1840 60%); color: #ffffff; }
.hp-d6 .hp-dz-k { color: #ffb1e3; }
.hp-d6 .hp-dz-deco { right: -10cqi; top: -14cqi; width: 50cqi; height: 50cqi; border-radius: 50%; background: radial-gradient(circle, rgba(255, 143, 209, 0.55), transparent 65%); }

.hp-d7 { background: #e9e9e4; color: #111111; }
.hp-d7 .hp-dz-k { color: #1f8a57; }
.hp-d7 .hp-dz-t { font: 400 7cqi/1.15 var(--hp-mono); letter-spacing: -0.02em; }
.hp-d7 .hp-dz-deco { top: 7cqi; left: 7cqi; font: 400 4cqi/1 var(--hp-mono); color: #7a7a74; }
.hp-d7 .hp-dz-deco::before { content: '$ workshop --start'; }

.hp-d8 {
  background:
    linear-gradient(90deg, transparent 34px, rgba(226, 87, 76, 0.55) 34px, rgba(226, 87, 76, 0.55) 35px, transparent 35px),
    repeating-linear-gradient(180deg, #fbfaf5 0 22px, #c9d6f2 22px 23px);
  color: #1d2d5c;
  padding-left: clamp(46px, 4.4vw, 62px);
}
.hp-d8 .hp-dz-k { color: #2b4c9b; }

.hp-d9 { background: #0f2a2e; color: #e7fff7; }
.hp-d9 .hp-dz-k { color: #7ef0c6; }
.hp-d9 .hp-dz-t { font: 600 8.4cqi/1.02 var(--hp-sans); letter-spacing: -0.03em; }
.hp-d9 .hp-dz-deco { right: 8cqi; top: 8cqi; width: 18cqi; height: 18cqi; border-radius: 50%; border: 2.4cqi solid #7ef0c6; }

.hp-d10 { background: #ffd23f; color: #111111; }
.hp-d10 .hp-dz-t { font: 800 11cqi/0.92 var(--hp-sans); letter-spacing: -0.055em; text-transform: uppercase; }
.hp-d10 .hp-dz-deco { right: 7cqi; top: 7cqi; width: 12cqi; height: 12cqi; background: #ff5a36; transform: rotate(45deg); }

.hp-palettes {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 1.6rem;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
}
.hp-pal { display: inline-flex; }
.hp-pal i {
  width: 22px; height: 22px;
  border-radius: 50%;
  box-shadow: 0 0 0 2px var(--hp-bg), 0 0 0 3px rgba(255, 255, 255, 0.1);
}
.hp-pal i + i { margin-left: -6px; }

/* ==========================================================================
   Presenter experience
   ========================================================================== */
.hp-devices {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 0.72fr) minmax(0, 0.72fr);
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: end;
}
.hp-device { margin: 0; display: flex; flex-direction: column; gap: 1.25rem; }
.hp-device figcaption { font-size: 0.92rem; line-height: 1.5; color: var(--hp-soft); }
.hp-device figcaption b { display: block; margin-bottom: 0.2rem; font-weight: 600; color: var(--hp-head); }

.hp-laptop { container-type: inline-size; }
.hp-laptop-screen {
  aspect-ratio: 16 / 10;
  padding: 1.6cqi;
  border-radius: 2.2cqi 2.2cqi 0 0;
  background: #1b1b20;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1) inset;
}
.hp-laptop-base {
  height: 2.2cqi;
  margin: 0 -4%;
  border-radius: 0 0 2.4cqi 2.4cqi;
  background: linear-gradient(180deg, #2a2a30, #141418);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.9);
}
.hp-con {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 2cqi;
  height: 100%;
  padding: 2.4cqi;
  border-radius: 1.2cqi;
  background: #0b0b0e;
}
.hp-con-main, .hp-con-side { display: flex; flex-direction: column; gap: 1.2cqi; min-width: 0; }
.hp-con-label { font: 400 1.3cqi/1 var(--hp-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--hp-muted); }
.hp-con-slide {
  aspect-ratio: 16 / 9;
  display: flex; flex-direction: column; gap: 1.2cqi;
  padding: 3cqi;
  border-radius: 1cqi;
  background: #f3efe4;
  color: #1a1a1c;
  box-shadow: 0 0 0 0.3cqi var(--hp-accent), 0 0 4cqi rgba(196, 240, 76, 0.25);
}
.hp-con-k { font: 400 1.25cqi/1 var(--hp-mono); letter-spacing: 0.08em; text-transform: uppercase; color: #a63d24; }
.hp-con-t { font: 400 3.4cqi/1.02 var(--hp-serif); letter-spacing: -0.02em; max-width: 80%; margin-bottom: auto; }
.hp-con-l { display: block; height: 0.9cqi; width: 70%; border-radius: 1cqi; background: rgba(26, 26, 28, 0.18); }
.hp-con-l2 { width: 55%; }
.hp-con-l3 { width: 62%; }
.hp-con-next {
  aspect-ratio: 16 / 9;
  display: flex; flex-direction: column; gap: 1cqi; justify-content: flex-end;
  padding: 1.8cqi;
  border-radius: 1cqi;
  background: #0f1014;
  box-shadow: 0 0 0 1px var(--hp-line-2) inset, inset 0.8cqi 0 0 var(--hp-accent);
}
.hp-con-next .hp-con-k { color: var(--hp-accent); }
.hp-con-next .hp-con-l { background: rgba(255, 255, 255, 0.2); }
.hp-con-strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1cqi; }
.hp-con-strip i { aspect-ratio: 16 / 9; border-radius: 0.6cqi; background: #1e1e24; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06) inset; }
.hp-con-strip i:nth-child(odd) { background: #2a2925; }
.hp-con-strip .is-on { background: #f3efe4; box-shadow: 0 0 0 0.25cqi var(--hp-accent); }
.hp-con-notes { font: 400 1.45cqi/1.5 var(--hp-sans); color: var(--hp-soft); }
.hp-con-timer {
  margin-top: auto;
  align-self: flex-start;
  padding: 0.8cqi 1.6cqi;
  border-radius: 99px;
  background: rgba(196, 240, 76, 0.12);
  color: var(--hp-accent);
  font: 400 2cqi/1 var(--hp-mono);
  font-variant-numeric: tabular-nums;
}

.hp-mini-phone {
  width: 100%;
  max-width: 230px;
  margin-inline: auto;
  aspect-ratio: 9 / 18;
  padding: 7px;
  border-radius: 34px;
  background: linear-gradient(160deg, #2a2a31, #121216);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12) inset, 0 40px 80px -40px rgba(0, 0, 0, 0.95);
  container-type: inline-size;
}
.hp-mini-screen {
  height: 100%;
  display: flex; flex-direction: column; align-items: center; gap: 5cqi;
  padding: 16cqi 9cqi 10cqi;
  border-radius: 28px;
  background: #0b0b0e;
  text-align: center;
}
.hp-rm-top { font: 400 5.4cqi/1 var(--hp-mono); color: var(--hp-muted); }
.hp-rm-title { font: 400 10cqi/1.05 var(--hp-serif); color: var(--hp-head); }
.hp-rm-bar { width: 100%; height: 2cqi; border-radius: 99px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.hp-rm-bar i { display: block; width: 44%; height: 100%; background: var(--hp-accent); border-radius: inherit; }
.hp-rm-next {
  display: grid; place-items: center;
  width: 60cqi; height: 60cqi;
  margin-top: auto;
  border-radius: 50%;
  background: var(--hp-accent);
  color: #0a0a0d;
  font: 600 8cqi/1 var(--hp-sans);
  box-shadow: 0 0 0 4cqi rgba(196, 240, 76, 0.1), 0 0 16cqi rgba(196, 240, 76, 0.35);
}
.hp-rm-back { padding: 3cqi 8cqi; border-radius: 99px; box-shadow: 0 0 0 1px var(--hp-line-2) inset; font: 500 5.6cqi/1 var(--hp-sans); color: var(--hp-soft); }
.hp-mini-follow { align-items: stretch; text-align: left; }
.hp-fa-slide {
  aspect-ratio: 16 / 10;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 3cqi;
  padding: 6cqi;
  border-radius: 4cqi;
  background: #f3efe4;
}
.hp-fa-slide .hp-con-k { font-size: 4.6cqi; }
.hp-fa-slide .hp-con-l { height: 3cqi; }
.hp-fa-h { font: 400 9cqi/1 var(--hp-serif); color: var(--hp-head); }
.hp-fa-p { padding: 5cqi; border-radius: 4cqi; background: #16161b; font: 400 5.2cqi/1.45 var(--hp-mono); color: #dfe9c4; }
.hp-fa-btn { margin-top: auto; padding: 5cqi; border-radius: 99px; background: var(--hp-accent); color: #0a0a0d; text-align: center; font: 600 6cqi/1 var(--hp-sans); }

.hp-features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 clamp(1.5rem, 3vw, 3rem);
  margin: clamp(3rem, 6vw, 4.5rem) 0 0;
  padding: 0;
  list-style: none;
}
.hp-features li { display: flex; flex-direction: column; gap: 0.3rem; padding: 1.4rem 0; border-top: 1px solid var(--hp-line); }
.hp-features b { font-weight: 600; color: var(--hp-head); }
.hp-features b::before {
  content: '';
  display: inline-block;
  width: 6px; height: 6px;
  margin-right: 0.65rem;
  border-radius: 50%;
  background: var(--hp-accent);
  vertical-align: 0.2em;
}
.hp-features span { font-size: 0.95rem; color: var(--hp-soft); }

/* ==========================================================================
   Use cases
   ========================================================================== */
.hp-uses-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin: 0; padding: 0; list-style: none; }
.hp-use {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 25rem;
  padding: clamp(1.6rem, 3vw, 2.25rem);
  border-radius: var(--hp-radius);
  overflow: hidden;
  isolation: isolate;
  background: var(--hp-surface);
  box-shadow: 0 0 0 1px var(--hp-line) inset;
  transition: transform 0.5s var(--hp-ease-out), box-shadow 0.4s;
}
.hp-use::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.85;
  transition: opacity 0.5s, transform 0.8s var(--hp-ease-out);
}
.hp-use:nth-child(1)::before { background: radial-gradient(80% 60% at 100% 0%, rgba(196, 240, 76, 0.2), transparent 70%); }
.hp-use:nth-child(2)::before { background: radial-gradient(80% 60% at 100% 0%, rgba(255, 122, 94, 0.2), transparent 70%); }
.hp-use:nth-child(3)::before { background: radial-gradient(80% 60% at 100% 0%, rgba(167, 193, 255, 0.2), transparent 70%); }
.hp-use:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px var(--hp-line-2) inset, 0 40px 80px -40px rgba(0, 0, 0, 0.9); }
.hp-use:hover::before { opacity: 1; transform: scale(1.08); }
.hp-use:focus-within { box-shadow: 0 0 0 3px var(--focus); }
.hp-use-tag {
  align-self: flex-start;
  padding: 0.35rem 0.75rem;
  border-radius: 99px;
  box-shadow: 0 0 0 1px var(--hp-line-2) inset;
  font: 400 0.72rem/1.2 var(--hp-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--hp-soft);
}
.hp-use .hp-h3 { margin-top: clamp(3rem, 7vw, 6rem); }
.hp-use-link { color: var(--hp-head); text-decoration: none; }
.hp-use-link:hover { color: var(--hp-head); text-decoration: none; }
.hp-use-link::after { content: ''; position: absolute; inset: 0; border-radius: inherit; }
.hp-use-link:focus-visible { outline: none; }
.hp-use p { margin: 0 0 1.75rem; color: var(--hp-soft); }
.hp-use-more { margin-top: auto; display: inline-flex; align-items: center; gap: 0.45rem; font-weight: 600; font-size: 0.95rem; color: var(--hp-accent); }
.hp-use:hover .hp-btn-arrow { transform: translateX(4px); }

/* ==========================================================================
   Trust
   ========================================================================== */
.hp-trust { border-top: 1px solid var(--hp-line); }
.hp-trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  border-radius: var(--hp-radius);
  overflow: hidden;
  background: var(--hp-line);
  box-shadow: 0 0 0 1px var(--hp-line);
}
.hp-trust-item { padding: clamp(1.5rem, 3vw, 2.2rem); background: var(--hp-bg); }
.hp-trust-item svg {
  width: 44px; height: 44px;
  padding: 10px;
  margin-bottom: 1.25rem;
  border-radius: 12px;
  color: var(--hp-accent);
  background: rgba(196, 240, 76, 0.08);
  box-shadow: 0 0 0 1px rgba(196, 240, 76, 0.22) inset;
}
.hp-trust-item h3 { margin: 0 0 0.5rem; font: 600 1.075rem/1.3 var(--hp-sans); color: var(--hp-head); letter-spacing: -0.01em; }
.hp-trust-item p { margin: 0; font-size: 0.95rem; line-height: 1.6; color: var(--hp-soft); }
.hp-trust-links { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 2rem; }
.hp-trust-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.55rem 1.1rem;
  border-radius: 99px;
  box-shadow: 0 0 0 1px var(--hp-line-2) inset;
  color: var(--hp-head);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  transition: box-shadow 0.3s, background-color 0.3s;
}
.hp-trust-links a:hover { color: var(--hp-head); background: rgba(255, 255, 255, 0.05); box-shadow: 0 0 0 1px rgba(196, 240, 76, 0.5) inset; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.hp-faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}
.hp-faq-head { position: sticky; top: 110px; margin-bottom: 0; }
.hp-faq-list { border-top: 1px solid var(--hp-line); }
.hp-faq-item { border-bottom: 1px solid var(--hp-line); }
.hp-faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 44px;
  padding: 1.35rem 0;
  list-style: none;
  cursor: pointer;
  font-size: clamp(1.05rem, 1.4vw, 1.18rem);
  font-weight: 500;
  line-height: 1.4;
  color: var(--hp-head);
  transition: color 0.25s;
}
.hp-faq-item summary::-webkit-details-marker { display: none; }
.hp-faq-item summary:hover { color: var(--hp-accent-hi); }
.hp-faq-item summary i {
  position: relative;
  flex: none;
  width: 30px; height: 30px;
  border-radius: 50%;
  box-shadow: 0 0 0 1px var(--hp-line-2) inset;
  transition: transform 0.4s var(--hp-ease), background-color 0.3s, box-shadow 0.3s;
}
.hp-faq-item summary i::before,
.hp-faq-item summary i::after {
  content: '';
  position: absolute;
  left: 50%; top: 50%;
  width: 11px; height: 1.5px;
  background: currentColor;
  transform: translate(-50%, -50%);
}
.hp-faq-item summary i::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform 0.4s var(--hp-ease); }
.hp-faq-item[open] summary i { background: var(--hp-accent); color: #0a0a0d; box-shadow: none; transform: rotate(180deg); }
.hp-faq-item[open] summary i::after { transform: translate(-50%, -50%) rotate(0deg); }
.hp-faq-body { padding: 0 3.5rem 1.6rem 0; }
.hp-faq-body p { margin: 0; color: var(--hp-soft); line-height: 1.7; }
.hp-faq-body code { color: var(--hp-head); }
@supports selector(::details-content) {
  .hp-faq-item::details-content {
    block-size: 0;
    overflow: hidden;
    transition: block-size 0.45s var(--hp-ease), content-visibility 0.45s allow-discrete;
  }
  .hp-faq-item[open]::details-content { block-size: auto; }
}

/* ==========================================================================
   Final CTA
   ========================================================================== */
.hp-final { padding-top: clamp(2rem, 4vw, 3rem); }
.hp-final-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(3.5rem, 9vw, 7.5rem) clamp(1.25rem, 5vw, 4rem);
  border-radius: 32px;
  text-align: center;
  background: linear-gradient(180deg, #101013, #0a0a0c);
  box-shadow: 0 0 0 1px var(--hp-line-2) inset;
}
.hp-final-card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(237, 233, 220, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(237, 233, 220, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 50% 100%, #000, transparent 70%);
  mask-image: radial-gradient(ellipse 70% 80% at 50% 100%, #000, transparent 70%);
}
.hp-final-glow {
  position: absolute;
  left: 50%; bottom: -46%;
  z-index: -1;
  width: 120%;
  aspect-ratio: 2 / 1;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(196, 240, 76, 0.32), rgba(196, 240, 76, 0.08) 55%, transparent);
  filter: blur(10px);
}
.hp-final .hp-eyebrow::after { content: ''; width: 22px; height: 1px; background: currentColor; opacity: 0.7; }
.hp-final-title { font-size: clamp(2.6rem, 6.4vw, 5.6rem); max-width: 15ch; margin-inline: auto; }
.hp-final-sub { max-width: 36rem; margin: 1.75rem auto 2.5rem; font-size: clamp(1.05rem, 1.4vw, 1.2rem); line-height: 1.6; color: var(--hp-soft); }
.hp-final-note { margin: 1.75rem 0 0; font-size: 0.9rem; color: var(--hp-muted); }

/* ==========================================================================
   Motion (only when the visitor welcomes it, and only after home.js runs)
   ========================================================================== */
@keyframes hp-panel-in { from { opacity: 0; transform: translateY(14px) scale(0.985); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: no-preference) {
  .hp-ready .hp-reveal {
    opacity: 0;
    transform: translate3d(0, 30px, 0);
    transition: opacity 1s var(--hp-ease-out), transform 1.2s var(--hp-ease-out);
  }
  .hp-ready .hp-reveal.is-in { opacity: 1; transform: none; }
  .hp-ready .hp-steps .hp-reveal .hp-step-visual { transform: translate3d(0, 40px, 0) scale(0.97); transition: transform 1.4s var(--hp-ease-out); }
  .hp-ready .hp-steps .hp-reveal.is-in .hp-step-visual { transform: none; }

  .hp-pill-dot { animation: hp-pulse 2.4s ease-in-out infinite; }
  .hp-hud-live i { animation: hp-pulse 1.6s ease-in-out infinite; }

  /* Step 1 — create */
  .hp-ready .is-live .hp-type { animation: hp-type 7s steps(34, end) infinite, hp-caret 0.9s step-end infinite; }
  .hp-ready .is-live .hp-swatches i:nth-child(2) { animation: hp-swatch 7s var(--hp-ease) infinite; }
  .hp-ready .is-live .hp-f-btn { animation: hp-press 7s var(--hp-ease) infinite; }
  .hp-ready .is-live .hp-qr-pop { animation: hp-pop-a 7s var(--hp-ease-out) infinite; }

  /* Step 2 — join */
  .hp-ready .is-live .hp-scanline { animation: hp-scan 7s ease-in-out infinite; }
  .hp-ready .is-live .hp-ph-f1 { animation: hp-field1 7s var(--hp-ease-out) infinite; }
  .hp-ready .is-live .hp-ph-f2 { animation: hp-field2 7s var(--hp-ease-out) infinite; }
  .hp-ready .is-live .hp-ph-f3 { animation: hp-field3 7s var(--hp-ease-out) infinite; }
  .hp-ready .is-live .hp-ph-submit { animation: hp-submit 7s var(--hp-ease) infinite; }

  /* Step 3 — write */
  .hp-ready .is-live .hp-ps-kicker,
  .hp-ready .is-live .hp-ps-title { animation: hp-line1 7s var(--hp-ease-out) infinite; }
  .hp-ready .is-live .hp-ps-text { animation: hp-line2 7s var(--hp-ease-out) infinite; }
  .hp-ready .is-live .hp-ps-li1 { animation: hp-line3 7s var(--hp-ease-out) infinite; }
  .hp-ready .is-live .hp-ps-li2 { animation: hp-line4 7s var(--hp-ease-out) infinite; }
  .hp-ready .is-live .hp-ps-li3 { animation: hp-line5 7s var(--hp-ease-out) infinite; }
  .hp-ready .is-live .hp-ps-prompt { animation: hp-line6 7s var(--hp-ease-out) infinite; }
  .hp-ready .is-live .hp-writing { animation: hp-writing 7s ease infinite; }
  .hp-ready .is-live .hp-writing i { animation: hp-pulse 0.9s ease-in-out infinite; }

  /* Step 4 — grow */
  .hp-ready .is-live .hp-th { animation: hp-thumb 7s var(--hp-ease-out) infinite both; }
  .hp-ready .is-live .hp-th2 { animation-delay: 0.3s; }
  .hp-ready .is-live .hp-th3 { animation-delay: 0.6s; }
  .hp-ready .is-live .hp-th4 { animation-delay: 0.9s; }
  .hp-ready .is-live .hp-th5 { animation-delay: 1.2s; }
  .hp-ready .is-live .hp-th6 { animation-delay: 1.5s; }
  .hp-ready .is-live .hp-th7 { animation-delay: 1.8s; }
  .hp-ready .is-live .hp-th8 { animation-delay: 2.1s; }
  .hp-ready .is-live .hp-th9 { animation-delay: 2.4s; }
  .hp-ready .is-live .hp-th10 { animation-delay: 2.7s; }
  .hp-ready .is-live .hp-th11 { animation-delay: 3s; }
  .hp-ready .is-live .hp-th12 { animation-delay: 3.3s; }
  .hp-ready .is-live .hp-count-num { animation: hp-count 3.6s steps(12, end) both; }
  .hp-ready .is-live .hp-themes span { animation: hp-chip 0.7s var(--hp-ease-out) both; }
  .hp-ready .is-live .hp-themes span:nth-child(1) { animation-delay: 1.6s; }
  .hp-ready .is-live .hp-themes span:nth-child(2) { animation-delay: 2.3s; }
  .hp-ready .is-live .hp-themes span:nth-child(3) { animation-delay: 3s; }
  .hp-ready .is-live .hp-pack { animation: hp-pack-in 1s var(--hp-ease-out) 3.6s both; }

  /* Bento */
  .hp-ready .is-live .hp-bars i::after { animation: hp-bar 1.6s var(--hp-ease-out) both; }
  .hp-ready .is-live .hp-bars li:nth-child(2) i::after { animation-delay: 0.12s; }
  .hp-ready .is-live .hp-bars li:nth-child(3) i::after { animation-delay: 0.24s; }
  .hp-ready .is-live .hp-bars li:nth-child(4) i::after { animation-delay: 0.36s; }
  .hp-ready .is-live .hp-ag1 { animation: hp-ag-up 1.2s var(--hp-ease-out) 0.7s both; }
  .hp-ready .is-live .hp-ag2,
  .hp-ready .is-live .hp-ag3 { animation: hp-ag-down 1.2s var(--hp-ease-out) 0.7s both; }
  .hp-ready .is-live .hp-ag-tag { animation: hp-chip 0.6s var(--hp-ease-out) 1.8s both; }
  .hp-ready .is-live .hp-late-viz .is-new { animation: hp-late 3.2s var(--hp-ease-out) infinite; }

  /* Gallery */
  .hp-ready .hp-marquee.is-live .hp-marquee-track { animation: hp-marquee 60s linear infinite; }
  .hp-ready .hp-marquee.is-live .hp-marquee-rev .hp-marquee-track { animation-name: hp-marquee-rev; animation-duration: 70s; }
  .hp-marquee:hover .hp-marquee-track { animation-play-state: paused !important; }

  .hp-stage-toast.is-swap { animation: hp-toast 0.6s var(--hp-ease-out); }
}

@keyframes hp-pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.55; transform: scale(0.8); } }
@keyframes hp-type { 0% { max-width: 0; } 40%, 100% { max-width: 34ch; } }
@keyframes hp-caret { 50% { border-right-color: transparent; } }
@keyframes hp-swatch { 0%, 42% { box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.15) inset; } 46%, 100% { box-shadow: 0 0 0 0.45cqi #08080a, 0 0 0 0.8cqi var(--hp-accent); } }
@keyframes hp-press { 0%, 50% { transform: none; filter: none; } 53% { transform: scale(0.94); filter: brightness(1.15); } 57%, 100% { transform: none; } }
@keyframes hp-pop-a {
  0%, 56% { opacity: 0; transform: translateY(6cqi) rotate(8deg) scale(0.9); }
  64%, 94% { opacity: 1; transform: rotate(3deg); }
  100% { opacity: 0; transform: rotate(3deg) scale(0.97); }
}
@keyframes hp-scan { 0% { top: 4%; opacity: 0; } 6% { opacity: 1; } 22% { top: 92%; opacity: 1; } 26%, 100% { top: 92%; opacity: 0; } }
@keyframes hp-field1 { 0%, 22% { opacity: 0; transform: translateY(2cqi); } 30%, 95% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes hp-field2 { 0%, 36% { opacity: 0; transform: translateY(2cqi); } 44%, 95% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes hp-field3 { 0%, 50% { opacity: 0; transform: translateY(2cqi); } 58%, 95% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes hp-submit { 0%, 66% { background: #1a1a1c; color: #f6f4ee; transform: none; } 69% { transform: scale(0.94); } 72%, 96% { background: var(--hp-accent); color: #0a0a0d; transform: none; } 100% { background: #1a1a1c; color: #f6f4ee; } }
@keyframes hp-line1 { 0%, 4% { opacity: 0; transform: translateY(1.4cqi); } 12%, 95% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes hp-line2 { 0%, 18% { opacity: 0; transform: translateY(1.4cqi); } 27%, 95% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes hp-line3 { 0%, 32% { opacity: 0; transform: translateX(-1.4cqi); } 39%, 95% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes hp-line4 { 0%, 41% { opacity: 0; transform: translateX(-1.4cqi); } 48%, 95% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes hp-line5 { 0%, 50% { opacity: 0; transform: translateX(-1.4cqi); } 57%, 95% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes hp-line6 { 0%, 62% { opacity: 0; transform: translateY(1.4cqi); } 72%, 95% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes hp-writing { 0%, 70% { opacity: 1; } 76%, 96% { opacity: 0; } 100% { opacity: 1; } }
@keyframes hp-thumb { 0% { opacity: 0; transform: scale(0.6); } 6% { opacity: 1; transform: scale(1.06); } 10%, 88% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; transform: scale(0.96); } }
@keyframes hp-count { from { --hp-n: 18; } to { --hp-n: 30; } }
@keyframes hp-chip { from { opacity: 0; transform: translateY(8px) scale(0.92); } to { opacity: 1; transform: none; } }
@keyframes hp-pack-in { from { opacity: 0; transform: translateY(8cqi) rotate(6deg); } to { opacity: 1; transform: rotate(-3deg); } }
@keyframes hp-bar { from { transform: scaleX(0); } to { transform: scaleX(var(--w, 0.5)); } }
@keyframes hp-ag-up { from { transform: translateY(calc(200% + 1rem)); } to { transform: none; } }
@keyframes hp-ag-down { from { transform: translateY(calc(-100% - 0.5rem)); } to { transform: none; } }
@keyframes hp-late { 0% { opacity: 0; transform: translateX(-60%) scale(0.8); } 25%, 85% { opacity: 1; transform: none; } 100% { opacity: 0.2; } }
@keyframes hp-marquee { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 0.5rem)); } }
@keyframes hp-marquee-rev { from { transform: translateX(calc(-50% - 0.5rem)); } to { transform: translateX(0); } }
@keyframes hp-toast { from { opacity: 0; transform: translateY(10px) scale(0.96); } to { opacity: 1; transform: none; } }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .hp-devices { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hp-device-console { grid-column: 1 / -1; }
  .hp-person { grid-template-columns: minmax(0, 1fr) 260px; }
}

@media (max-width: 960px) {
  .hp-hero { min-height: 0; }
  .hp-hero-grid { grid-template-columns: 1fr; gap: 1rem; }
  .hp-hero-copy { max-width: 42rem; }
  .hp-hero-visual { aspect-ratio: auto; height: clamp(340px, 74vw, 560px); min-height: 0; }
  .hp-stage { inset: -4% -12% -4% -12%; }
  .hp-stage-hud { top: 8%; right: 14%; }
  .hp-stage-toast { left: 14%; bottom: 8%; }

  .hp-define-grid,
  .hp-faq-grid { grid-template-columns: 1fr; }
  .hp-faq-head { position: static; }

  .hp-step { grid-template-columns: 1fr; gap: 1.75rem; }
  .hp-step:nth-child(even) .hp-step-copy { order: 0; }

  .hp-bento { grid-template-columns: 1fr 1fr; }
  .hp-card-themes { grid-column: 1 / -1; }
  .hp-card-personas,
  .hp-card-agenda,
  .hp-card-late { grid-column: span 1; }
  .hp-card-personas { grid-column: 1 / -1; }

  .hp-uses-grid { grid-template-columns: 1fr; }
  .hp-use { min-height: 0; }
  .hp-use .hp-h3 { margin-top: 2.5rem; }

  .hp-trust-grid,
  .hp-features { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .hp-person { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .hp-section { padding-block: 4.25rem; }
  .hp-btn { width: 100%; }
  .hp-cta-row { flex-direction: column; }
  .hp-pill-sep { display: none; }
  .hp-hero-facts { flex-direction: column; gap: 0.55rem; }
  .hp-stage { inset: -2% -18% -2% -18%; }
  .hp-pill { border-radius: 18px; }
  .hp-hero { padding-bottom: 1.5rem; }
  .hp-hero-visual { height: 320px; margin-top: 0.5rem; }
  .hp-stage-hud { display: none; }
  .hp-stage-toast { left: 18%; bottom: 4%; }
  .hp-for-list { gap: 0.2rem 1.1rem; }
  .hp-for-list li + li::before { display: none; }
  .hp-fb-deck { width: 60%; }

  .hp-for-inner { flex-direction: column; align-items: flex-start; gap: 0.9rem; }

  .hp-facts-list > div { grid-template-columns: 1fr; gap: 0.25rem; }
  .hp-step-visual { border-radius: 20px; aspect-ratio: 1 / 0.86; }

  .hp-people-tabs { justify-content: flex-start; border-radius: 22px; width: 100%; }
  .hp-ptab-text span { display: none; }
  .hp-slide { aspect-ratio: auto; border-radius: 16px; }
  .hp-slide-q { max-width: 100%; margin-bottom: 1.25rem; }
  .hp-slide-cols { grid-template-columns: 1fr; margin-top: 0; }
  .hp-slide-editorial::after,
  .hp-slide-swiss::after { display: none; }

  .hp-bento { grid-template-columns: 1fr; }
  .hp-card-themes, .hp-card-personas, .hp-card-agenda, .hp-card-late { grid-column: auto; }
  .hp-bars li { grid-template-columns: 1fr; gap: 0.45rem; }

  .hp-devices { grid-template-columns: 1fr 1fr; gap: 1.25rem; align-items: start; }
  .hp-device figcaption { font-size: 0.85rem; }

  .hp-trust-grid,
  .hp-features { grid-template-columns: 1fr; }

  .hp-faq-body { padding-right: 0; }
  .hp-final-card { border-radius: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  .hp-marquee-row { overflow-x: auto; scrollbar-width: none; }
  .hp-marquee-rev .hp-marquee-track { transform: none; }
}

@media (forced-colors: active) {
  .hp-display em, .hp-h2 em { -webkit-text-fill-color: currentColor; background: none; }
  .hp-btn, .hp-ptab, .hp-copy { border: 1px solid ButtonText; }
}
