/* ============================================
   SimuTalk homepage (v2) and pricing page. Loaded by index.html and pricing.html.
   Part 1: layout and components. Part 2: motion and graphics. Part 3: pricing page.
   Reference: docs/homepage-v2.md
   ============================================ */

/* The site-wide watermark (a fixed app icon in the middle of the viewport) shows through the white
   bands of this page as a grey box behind whatever is in the middle. Off on the homepage. */
.brand-watermark { display: none; }

/* ---------- Hero ---------- */
/* .hero is min-height:100vh with centred content, which left a tall empty band under the navbar on
   large screens. Here the hero is as tall as its content, with fixed space above and below. */
.hv2-hero { min-height: 0; align-items: flex-start; padding-top: 132px; padding-bottom: 88px; }
.hv2-hero .hero-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 56px; }
.hv2-hero .hero-content h1 { font-size: clamp(2.25rem, 1.35rem + 2.7vw, 3.375rem); }
.hv2-hero .hero-content h1 .hv2-h1-line { display: block; }
.hv2-hero .hero-actions { gap: 10px; margin-bottom: 28px; align-items: stretch; }
.hv2-hero .hero-actions .btn-lg { padding: 13px 20px; }
.hv2-hero .hero-actions .store-badge { padding: 8px 16px; }
.hv2-hero .hero-trust { gap: 10px 22px; }

/* ---------- Hero demo (three tabs) ---------- */
.hv2-demo { position: relative; z-index: 2; width: 100%; max-width: 470px; margin: 0 auto; }
.hv2-tabs {
  display: flex; gap: 6px; padding: 6px; margin-bottom: 14px;
  border-radius: 14px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.14);
}
[data-theme="light"] .hv2-tabs { background: rgba(var(--navy-rgb), 0.06); border-color: rgba(var(--navy-rgb), 0.12); }
.hv2-tab {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 7px;
  padding: 10px 8px; border-radius: 10px; min-height: 44px;
  font-size: 0.875rem; font-weight: 650; line-height: 1.2; color: rgba(255,255,255,0.78);
  transition: background var(--transition), color var(--transition);
}
[data-theme="light"] .hv2-tab { color: var(--text-secondary); }
.hv2-tab svg { width: 16px; height: 16px; flex-shrink: 0; }
.hv2-tab:hover { background: rgba(255,255,255,0.08); }
[data-theme="light"] .hv2-tab:hover { background: rgba(var(--navy-rgb), 0.06); }
.hv2-tab[aria-selected="true"],
[data-theme="light"] .hv2-tab[aria-selected="true"] {
  background: var(--accent); color: var(--text-on-accent);
  box-shadow: 0 4px 12px rgba(var(--accent-rgb), 0.3);
}

/* The stage is artwork (an app screen), so it stays dark in both themes. */
.hv2-stage {
  position: relative; min-height: 404px; overflow: hidden; text-align: left; color: #fff;
  background: linear-gradient(180deg, var(--ink-700) 0%, var(--ink-900) 100%);
  border: 1px solid rgba(255,255,255,0.12); border-radius: 24px;
  box-shadow: 0 30px 70px rgba(0,0,0,0.35);
}
[data-theme="light"] .hv2-stage { box-shadow: 0 30px 70px rgba(var(--navy-rgb), 0.25); }
.hv2-scene { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 18px; min-height: 404px; }
.hv2-scene[hidden] { display: none; }

.hv2-bar { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid rgba(255,255,255,0.09); }
.hv2-bar-icon {
  width: 38px; height: 38px; flex-shrink: 0; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(var(--accent-rgb), 0.18); color: var(--orange-300);
}
.hv2-bar-icon svg { width: 18px; height: 18px; }
.hv2-bar-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.hv2-bar-text strong { font-size: 0.875rem; font-weight: 700; color: #fff; }
.hv2-bar-text span { font-size: 0.75rem; color: rgba(255,255,255,0.62); }
.hv2-wave { margin-left: auto; display: flex; align-items: center; gap: 3px; height: 22px; }
.hv2-wave i { width: 3px; height: 30%; border-radius: 2px; background: var(--accent); animation: hv2Wave 1.1s ease-in-out infinite; }
.hv2-wave i:nth-child(2) { animation-delay: -0.9s; }
.hv2-wave i:nth-child(3) { animation-delay: -0.6s; }
.hv2-wave i:nth-child(4) { animation-delay: -0.3s; }
.hv2-wave i:nth-child(5) { animation-delay: -0.75s; }
@keyframes hv2Wave { 0%, 100% { height: 25%; } 50% { height: 100%; } }

.hv2-line {
  max-width: 90%; padding: 11px 14px; border-radius: 16px;
  opacity: 0; transform: translateY(10px);
}
.hv2-scene.is-active .hv2-line { animation: hv2In 0.5s ease forwards; animation-delay: calc(var(--i, 0) * 1.25s + 0.25s); }
@keyframes hv2In { to { opacity: 1; transform: none; } }
.hv2-line--them { align-self: flex-start; background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.11); border-bottom-left-radius: 6px; }
.hv2-line--you { align-self: flex-end; background: rgba(var(--accent-rgb), 0.16); border: 1px solid rgba(var(--accent-rgb), 0.38); border-bottom-right-radius: 6px; }
.hv2-who { display: flex; align-items: center; gap: 8px; margin-bottom: 5px; font-size: 0.6875rem; font-weight: 600; color: rgba(255,255,255,0.6); }
.hv2-chip {
  display: inline-block; padding: 1px 7px; border-radius: 6px;
  font-size: 0.625rem; font-weight: 800; letter-spacing: 0.06em;
  background: rgba(255,255,255,0.14); color: #fff;
}
.hv2-chip--accent { background: var(--accent); color: var(--text-on-accent); }
.hv2-orig { font-size: 0.8125rem; line-height: 1.4; color: rgba(255,255,255,0.6); }
.hv2-tr { display: flex; align-items: baseline; gap: 8px; margin-top: 5px; font-size: 1rem; line-height: 1.35; font-weight: 600; color: #fff; }
.hv2-tr .hv2-chip { flex-shrink: 0; transform: translateY(-1px); }

/* Bottom row of a scene: mirrors the app's own controls (decorative). */
.hv2-foot { margin-top: auto; display: flex; align-items: center; gap: 8px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,0.09); }
.hv2-pill { padding: 6px 14px; border-radius: 999px; font-size: 0.75rem; font-weight: 700; background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.7); }
.hv2-pill.is-on { background: var(--accent); color: var(--text-on-accent); }
.hv2-round { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: #fff; }
.hv2-round svg { width: 17px; height: 17px; }
.hv2-round--end { margin-left: auto; background: #D93F45; }
.hv2-round--end svg { transform: rotate(135deg); }
.hv2-round--mic { background: var(--accent); color: var(--text-on-accent); }
.hv2-foot-label { font-size: 0.75rem; font-weight: 600; color: rgba(255,255,255,0.62); }

.hv2-split { display: flex; align-items: center; gap: 10px; font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.4); }
.hv2-split::before, .hv2-split::after { content: ""; flex: 1; height: 1px; background: rgba(255,255,255,0.12); }

/* Meeting scene: a pretend meeting grid with the floating window on top */
.hv2-meet { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; height: 150px; }
.hv2-tile { position: relative; border-radius: 12px; background: linear-gradient(135deg, #243163 0%, #141D3C 100%); display: flex; align-items: center; justify-content: center; }
.hv2-tile span { width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,0.16); }
.hv2-tile--live { box-shadow: 0 0 0 2px var(--accent); }
.hv2-tile--live span { background: rgba(var(--accent-rgb), 0.55); }
.hv2-float {
  position: relative; margin: -34px 6px 0 34px; padding: 10px 12px 12px;
  background: rgba(5, 11, 33, 0.96); border: 1px solid rgba(255,255,255,0.2); border-radius: 14px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.6);
}
.hv2-float-head { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; font-size: 0.6875rem; font-weight: 700; color: rgba(255,255,255,0.7); }
.hv2-float-head svg { width: 14px; height: 14px; color: var(--orange-300); }
.hv2-float .hv2-line { max-width: 100%; padding: 6px 0 0; border: 0; background: none; border-radius: 0; }
.hv2-float .hv2-line + .hv2-line { margin-top: 8px; padding-top: 8px; border-top: 1px solid rgba(255,255,255,0.09); }
.hv2-float .hv2-tr { font-size: 0.9375rem; }

@media (prefers-reduced-motion: reduce) {
  .hv2-line, .hv2-scene.is-active .hv2-line { opacity: 1; transform: none; animation: none; }
  .hv2-wave i { animation: none; height: 60%; }
}

/* ---------- Trust strip ---------- */
.hv2-strip .social-proof-logos { justify-content: center; gap: 16px 44px; }
.hv2-strip .proof-logo { opacity: 0.85; }

/* ---------- Three ways to talk ---------- */
.hv2-ways-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.hv2-way {
  display: flex; flex-direction: column; padding: 32px 28px;
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-card);
  box-shadow: var(--shadow-sm); transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.hv2-way:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(var(--accent-rgb), 0.35); }
.hv2-way h3 { font-size: 1.375rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; color: var(--text-primary); margin-bottom: 8px; }
.hv2-tagline { font-size: 1rem; font-weight: 650; color: var(--accent-ink); margin-bottom: 14px; line-height: 1.45; }
.hv2-way > p { font-size: 0.9375rem; color: var(--text-secondary); line-height: 1.68; margin-bottom: 16px; }
.hv2-list { display: flex; flex-direction: column; gap: 9px; margin-bottom: 18px; }
.hv2-list li { position: relative; padding-left: 26px; font-size: 0.9375rem; line-height: 1.5; color: var(--text-secondary); }
.hv2-list li::before {
  content: ""; position: absolute; left: 2px; top: 0.42em; width: 12px; height: 7px;
  border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg);
}
.hv2-list li strong { color: var(--text-primary); font-weight: 650; }
.hv2-note {
  font-size: 0.8125rem; line-height: 1.55; color: var(--text-tertiary);
  padding: 2px 0 2px 12px; border-left: 3px solid rgba(var(--accent-rgb), 0.55); margin-bottom: 20px;
}
.hv2-way-actions { margin-top: auto; display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; }
.hv2-also {
  margin-top: 28px; text-align: center; font-size: 0.9375rem; color: var(--text-secondary);
}
.hv2-also strong { color: var(--text-primary); }
.hv2-also a { color: var(--accent-ink); font-weight: 650; white-space: nowrap; }
.hv2-also a:hover { text-decoration: underline; }

/* ---------- Moments ---------- */
.hv2-moments .use-case-card { display: flex; flex-direction: column; align-items: flex-start; }
.hv2-tag {
  margin-top: auto; padding: 4px 10px; border-radius: var(--radius-sm);
  font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  background: var(--accent-soft); color: var(--accent-ink);
}
.hv2-moments .use-case-card p { margin-bottom: 18px; }
a.use-case-card.hv2-moment-link { text-decoration: none; cursor: pointer; }

/* ---------- How it works (three step cards) ---------- */
.hv2-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; max-width: 1080px; margin: 0 auto; }
.hv2-step {
  position: relative; padding: 28px 26px 30px; text-align: left;
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-card);
  box-shadow: var(--shadow-sm);
}
.hv2-step-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.hv2-step-num {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-ink);
}
.hv2-step-num b {
  width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent); color: var(--text-on-accent);
  font-size: 1.0625rem; font-weight: 800; letter-spacing: 0;
  box-shadow: 0 4px 14px rgba(var(--accent-rgb), 0.3);
}
.hv2-step-icon {
  width: 52px; height: 52px; border-radius: var(--radius-md); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.1), rgba(var(--navy-rgb), 0.08));
}
.hv2-step-icon svg { width: 24px; height: 24px; stroke: var(--accent); }
.hv2-step h3 { font-size: 1.25rem; font-weight: 750; letter-spacing: -0.015em; color: var(--text-primary); margin-bottom: 8px; }
.hv2-step p { font-size: 0.9375rem; color: var(--text-secondary); line-height: 1.65; }
/* Arrow in the gap between two cards */
.hv2-step:not(:last-child)::after {
  content: ""; position: absolute; z-index: 1; top: 50%; right: -29px; width: 30px; height: 30px; margin-top: -15px;
  border-radius: 50%; background-color: var(--bg-card); border: 1px solid var(--border); box-shadow: var(--shadow-xs);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23EE7C30' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='9 6 15 12 9 18'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center; background-size: 16px 16px;
}

/* ---------- Privacy ---------- */
.hv2-privacy-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.hv2-privacy-item { text-align: left; }
.hv2-privacy-item h3 { font-size: 1.0625rem; font-weight: 700; color: var(--text-primary); margin-bottom: 6px; }
.hv2-privacy-item p { font-size: 0.9375rem; color: var(--text-secondary); line-height: 1.6; }
.hv2-notice {
  max-width: 760px; margin: 40px auto 0; padding: 16px 22px;
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-md);
  font-size: 0.875rem; line-height: 1.6; color: var(--text-secondary);
}
.hv2-notice strong { color: var(--text-primary); }
.hv2-center-link { text-align: center; margin-top: 24px; }

/* ---------- Price ---------- */
.hv2-price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 960px; margin: 0 auto; }
.hv2-price-card {
  padding: 30px 26px; text-align: center;
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-card); box-shadow: var(--shadow-sm);
}
.hv2-price-name { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-ink); margin-bottom: 10px; }
.hv2-price-value { font-size: 2.25rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; color: var(--text-primary); font-variant-numeric: tabular-nums; }
.hv2-price-value small { font-size: 0.9375rem; font-weight: 600; letter-spacing: 0; color: var(--text-tertiary); }
.hv2-price-card p { margin-top: 12px; font-size: 0.9375rem; line-height: 1.6; color: var(--text-secondary); }
.hv2-price-foot { max-width: 720px; margin: 28px auto 0; text-align: center; font-size: 0.875rem; line-height: 1.65; color: var(--text-tertiary); }
.hv2-price-foot strong { color: var(--text-secondary); font-weight: 650; }
.hv2-price-foot a { color: var(--accent-ink); text-decoration: underline; }

/* ---------- FAQ: answers here are a little longer than the old ones ---------- */
.hv2-faq .faq-item.active .faq-answer { max-height: 520px; }
.hv2-faq .faq-answer-inner a { color: var(--accent-ink); text-decoration: underline; }

/* ---------- Built in Finland / Living in Finland / For organisations ---------- */
.hv2-trio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.hv2-trio-card {
  display: flex; flex-direction: column; padding: 30px 26px;
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-card); box-shadow: var(--shadow-sm);
}
.hv2-trio-card h3 { font-size: 1.1875rem; font-weight: 750; color: var(--text-primary); margin-bottom: 8px; }
.hv2-trio-card p { font-size: 0.9375rem; color: var(--text-secondary); line-height: 1.65; margin-bottom: 18px; }
.hv2-trio-links { margin-top: auto; display: flex; flex-wrap: wrap; gap: 8px 20px; }

/* ---------- Final CTA ---------- */
.hv2-cta .cta-actions { align-items: stretch; }
.hv2-cta .cta-actions .store-badge { padding: 9px 20px; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hv2-hero { padding-top: 108px; padding-bottom: 64px; }
  .hv2-hero .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hv2-ways-grid, .hv2-trio-grid { grid-template-columns: 1fr; max-width: 640px; margin-left: auto; margin-right: auto; }
  .hv2-privacy-grid { grid-template-columns: repeat(2, 1fr); }
  .hv2-steps { grid-template-columns: 1fr; max-width: 640px; gap: 30px; }
  .hv2-step:not(:last-child)::after { top: auto; bottom: -31px; right: 50%; margin: 0 -15px 0 0; transform: rotate(90deg); }
}
@media (max-width: 768px) {
  /* On a phone the store badges come first. */
  .hv2-hero .hero-actions .hv2-web { order: 3; }
  .hv2-price-grid { grid-template-columns: 1fr; max-width: 420px; }
}
@media (max-width: 480px) {
  .hv2-hero { padding-top: 96px; padding-bottom: 56px; }
  .hv2-hero .hero-content h1 { font-size: 1.9rem; }
  .hv2-hero .hero-badge { font-size: 0.625rem; letter-spacing: 0.05em; padding: 7px 12px; }
  .hv2-privacy-grid { grid-template-columns: 1fr; }
  .hv2-tab { font-size: 0.8125rem; padding: 10px 4px; }
  .hv2-tab svg { display: none; }
  .hv2-stage, .hv2-scene { min-height: 424px; }
  .hv2-cta .cta-actions .btn { width: 100%; max-width: 320px; }
}

/* ============================================
   PART 2 — MOTION AND GRAPHICS
   Rules of this layer:
   - Only transform, opacity and translate are animated, so motion stays on the compositor.
     Two small exceptions repaint: the travelling light on the demo border and on the Starter price card.
   - Every looping animation stops while its section is off screen (js/home.js adds .is-offscreen).
   - Without animation every element rests in its finished state, so reduced-motion users and
     browsers without JS still get the complete picture (see the last block of this file).
   ============================================ */

@property --hv2-a { syntax: '<angle>'; initial-value: 0deg; inherits: false; }

:root {
  --hv2-ease: cubic-bezier(0.22, 1, 0.36, 1);      /* entrances: fast start, soft landing */
  --hv2-spring: cubic-bezier(0.34, 1.56, 0.64, 1);  /* small overshoots: pops and icon hovers */
}

.is-offscreen, .is-offscreen *, .is-offscreen *::before, .is-offscreen *::after { animation-play-state: paused !important; }

/* ---------- Reading progress (element created by js/home.js) ---------- */
.hv2-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 1300; pointer-events: none;
  background: linear-gradient(90deg, var(--accent), var(--orange-300));
  transform: scaleX(0); transform-origin: 0 50%;
}

/* ---------- Hero background ---------- */
.hv2-hero { --mx: 0; --my: 0; }
[data-theme="dark"] .hv2-hero .hero-orb { opacity: 0.5; }
/* Orbs drift with the pointer. "translate" is separate from the "transform" their float animation uses. */
.hv2-hero .hero-orb { transition: translate 0.9s var(--hv2-ease); }
.hv2-hero .hero-orb-1 { translate: calc(var(--mx) * -34px) calc(var(--my) * -22px); }
.hv2-hero .hero-orb-2 { translate: calc(var(--mx) * 26px) calc(var(--my) * 18px); }
.hv2-hero .hero-orb-3 { translate: calc(var(--mx) * -16px) calc(var(--my) * 26px); }

.hv2-grid {
  position: absolute; inset: 0 -28px -28px 0; pointer-events: none; opacity: 0.75;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.17) 1px, transparent 1.7px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(ellipse 62% 72% at 70% 46%, #000 0%, transparent 74%);
          mask-image: radial-gradient(ellipse 62% 72% at 70% 46%, #000 0%, transparent 74%);
  animation: hv2GridDrift 9s linear infinite;
}
[data-theme="light"] .hv2-grid { background-image: radial-gradient(circle at 1px 1px, rgba(var(--navy-rgb), 0.2) 1px, transparent 1.7px); }
@keyframes hv2GridDrift { to { transform: translate3d(-28px, -28px, 0); } }

/* ---------- Hero headline: each line rises out of a mask, the second line carries a moving light ---------- */
.hv2-h1 .hv2-h1-line { overflow: hidden; padding-bottom: 0.22em; margin-bottom: -0.22em; }
/* Bottom padding keeps descenders (y, g, p) inside the box that background-clip: text paints */
.hv2-h1 .hv2-h1-in { display: inline-block; padding-bottom: 0.2em; margin-bottom: -0.2em; transform: translateY(112%); animation: hv2LineUp 1s var(--hv2-ease) 0.1s forwards; }
@keyframes hv2LineUp { to { transform: translateY(0); } }

.hv2-grad {
  background-image: linear-gradient(100deg, var(--accent) 0%, var(--orange-300) 30%, #FFEFE3 50%, var(--orange-300) 70%, var(--accent) 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
[data-theme="light"] .hv2-grad { background-image: linear-gradient(100deg, var(--brand-navy) 0%, var(--accent) 34%, #FFA873 50%, var(--accent) 66%, var(--brand-navy) 100%); }
.hv2-h1 .hv2-h1-in.hv2-grad { animation: hv2LineUp 1s var(--hv2-ease) 0.24s forwards, hv2Shine 7s linear 1.4s infinite; }
@keyframes hv2Shine { from { background-position: 0% 0; } to { background-position: 200% 0; } }

/* The rest of the hero follows in order */
.hv2-hero .hero-badge.reveal { transition-delay: 0.05s; }
.hv2-hero .hero-desc.reveal { transition-delay: 0.38s; }
.hv2-hero .hero-actions.reveal { transition-delay: 0.5s; }
.hv2-hero .hero-trust.reveal { transition-delay: 0.62s; }
.hv2-demo.reveal { transform: translateY(36px) scale(0.955); transition: opacity 0.9s var(--hv2-ease) 0.3s, transform 1.1s var(--hv2-ease) 0.3s; }
.hv2-demo.reveal.visible { transform: none; }

.hv2-hero .hero-actions .btn svg { transition: transform 0.4s var(--hv2-spring); }
.hv2-hero .hero-actions .btn:hover svg { transform: scale(1.18) rotate(-6deg); }

/* ---------- Hero demo: glow, sound rings, greeting bubbles ---------- */
.hv2-demo { isolation: isolate; }
.hv2-demo::before {
  content: ""; position: absolute; inset: 6% -8% -6% -8%; z-index: -2; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(var(--accent-rgb), 0.46), transparent 72%);
  filter: blur(36px);
  animation: hv2Glow 6s ease-in-out infinite;
}
[data-theme="light"] .hv2-demo::before { background: radial-gradient(closest-side, rgba(var(--accent-rgb), 0.3), transparent 72%); }
@keyframes hv2Glow { 0%, 100% { opacity: 0.55; transform: scale(0.94); } 50% { opacity: 1; transform: scale(1.06); } }

.hv2-rings { position: absolute; inset: 0; z-index: -1; display: flex; align-items: center; justify-content: center; pointer-events: none; }
.hv2-rings i {
  position: absolute; width: 84%; aspect-ratio: 1; border-radius: 50%;
  border: 1.5px solid rgba(var(--accent-rgb), 0.5); opacity: 0;
  animation: hv2Ring 5.4s cubic-bezier(0.2, 0.6, 0.3, 1) infinite;
}
.hv2-rings i:nth-child(2) { animation-delay: 1.8s; }
.hv2-rings i:nth-child(3) { animation-delay: 3.6s; }
@keyframes hv2Ring { 0% { transform: scale(0.6); opacity: 0; } 14% { opacity: 0.75; } 100% { transform: scale(1.26); opacity: 0; } }

.hv2-chips { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.hv2-float-chip {
  position: absolute; padding: 8px 14px; border-radius: 16px 16px 16px 5px; white-space: nowrap;
  font-size: 0.9375rem; font-weight: 700; line-height: 1.3; color: #fff;
  background: rgba(255,255,255,0.13); border: 1px solid rgba(255,255,255,0.24);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 10px 26px rgba(0,0,0,0.28);
  animation: hv2Float 7s ease-in-out infinite;
  translate: calc(var(--mx) * var(--d, 12px)) calc(var(--my) * var(--d, 12px));
  transition: translate 0.6s var(--hv2-ease);
}
[data-theme="light"] .hv2-float-chip:not(.hv2-float-chip--1):not(.hv2-float-chip--6) { color: var(--text-primary); background: rgba(255,255,255,0.94); border-color: var(--border); box-shadow: var(--shadow-md); }
.hv2-float-chip--1, .hv2-float-chip--6 { background: var(--accent); color: var(--text-on-accent); border-color: transparent; }
.hv2-float-chip--1 { top: -46px; left: -38px; --d: 18px; }
.hv2-float-chip--2 { bottom: -24px; left: -46px; --d: -14px; animation-delay: -2.2s; border-radius: 16px 16px 5px 16px; }
.hv2-float-chip--3 { top: 138px; right: -66px; --d: 22px; animation-delay: -1.1s; }
.hv2-float-chip--4 { bottom: 96px; right: -48px; --d: -18px; animation-delay: -3.6s; border-radius: 16px 16px 5px 16px; }
.hv2-float-chip--5 { top: -52px; right: 58px; --d: 12px; animation-delay: -4.4s; }
.hv2-float-chip--6 { bottom: -32px; right: 92px; --d: -10px; animation-delay: -5.2s; border-radius: 16px 16px 5px 16px; }
@keyframes hv2Float { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-12px) rotate(2deg); } }

/* ---------- Hero demo: the stage itself ---------- */
.hv2-stage {
  border: 1.5px solid transparent;
  background:
    linear-gradient(180deg, var(--ink-700) 0%, var(--ink-900) 100%) padding-box,
    conic-gradient(from var(--hv2-a), rgba(238,124,48,0.95), rgba(255,255,255,0.14) 20%, rgba(255,255,255,0.1) 50%, rgba(255,175,129,0.75) 72%, rgba(255,255,255,0.12) 86%, rgba(238,124,48,0.95)) border-box;
  animation: hv2Spin 8s linear infinite;
  transition: transform 0.5s var(--hv2-ease);
}
@keyframes hv2Spin { to { --hv2-a: 360deg; } }
.hv2-stage::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, transparent 40%, rgba(255,255,255,0.07) 50%, transparent 60%);
  transform: translateX(-100%);
  animation: hv2Sheen 7s ease-in-out 1s infinite;
}
@keyframes hv2Sheen { 0%, 55% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }

.hv2-scene.is-active { animation: hv2SceneIn 0.5s var(--hv2-ease); }
@keyframes hv2SceneIn { from { opacity: 0; transform: translateX(16px); } }

.hv2-bar-icon { position: relative; }
.hv2-bar-icon::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--accent); opacity: 0; animation: hv2Ping 2.2s ease-out infinite; }
@keyframes hv2Ping { 0% { transform: scale(1); opacity: 0.75; } 80%, 100% { transform: scale(1.75); opacity: 0; } }

/* The translation is typed in by js/home.js; this is its caret */
.hv2-typing::after { content: ""; display: inline-block; width: 2px; height: 1.05em; margin-left: 2px; vertical-align: -0.16em; background: var(--accent); animation: hv2Blink 0.8s steps(1) infinite; }
@keyframes hv2Blink { 50% { opacity: 0; } }

/* A bar fills along the selected tab while the demo is changing by itself */
.hv2-tab { position: relative; overflow: hidden; }
.hv2-tabs.is-auto .hv2-tab[aria-selected="true"]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  background: rgba(9, 16, 62, 0.45); transform-origin: 0 50%;
  animation: hv2Prog var(--hv2-rotate, 7s) linear forwards;
}
@keyframes hv2Prog { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ---------- Language marquee ---------- */
.hv2-marquee {
  margin-top: 26px; display: flex; flex-direction: column; gap: 12px; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.hv2-marquee-row { display: flex; justify-content: center; overflow: hidden; }
.hv2-marquee-track { display: flex; flex: none; width: max-content; }
.hv2-marquee-track span {
  flex: none; margin-right: 12px; padding: 8px 18px; border-radius: 999px; white-space: nowrap;
  font-size: 0.9375rem; font-weight: 600; line-height: 1.4; color: var(--text-secondary);
  background: var(--bg-sunken); border: 1px solid var(--border-light);
}
.hv2-marquee-track span:nth-child(4n+1) { color: var(--accent-ink); background: var(--accent-soft); border-color: rgba(var(--accent-rgb), 0.24); }
/* Until the script has doubled the tracks (or when motion is reduced) the names simply wrap. */
.hv2-marquee:not(.is-ready) { -webkit-mask-image: none; mask-image: none; padding: 0 24px; }
.hv2-marquee:not(.is-ready) .hv2-marquee-track { flex-wrap: wrap; justify-content: center; width: auto; row-gap: 10px; }
.hv2-marquee.is-ready .hv2-marquee-row { justify-content: flex-start; }
.hv2-marquee.is-ready .hv2-marquee-track { animation: hv2Marquee 46s linear infinite; }
.hv2-marquee.is-ready .hv2-marquee-row--rev .hv2-marquee-track { animation-direction: reverse; animation-duration: 56s; }
.hv2-marquee:hover .hv2-marquee-track { animation-play-state: paused; }
@keyframes hv2Marquee { to { transform: translateX(-50%); } }

/* ---------- Section headings arrive in three beats ---------- */
.section-header.reveal .section-badge,
.section-header.reveal .section-title,
.section-header.reveal .section-subtitle { opacity: 0; transform: translateY(20px); transition: opacity 0.7s var(--hv2-ease), transform 0.9s var(--hv2-ease); }
.section-header.reveal .section-badge { transform: translateY(10px) scale(0.86); }
.section-header.reveal .section-title { transition-delay: 0.1s; }
.section-header.reveal .section-subtitle { transition-delay: 0.2s; }
.section-header.reveal.visible .section-badge,
.section-header.reveal.visible .section-title,
.section-header.reveal.visible .section-subtitle { opacity: 1; transform: none; }

/* ---------- Cards arrive one after another ----------
   An animation (not a transition delay) so that hover on a card is never delayed afterwards. */
.hv2-ways-grid > .reveal.visible,
.hv2-moments .use-cases-grid > .reveal.visible,
.hv2-privacy-grid > .reveal.visible,
.hv2-price-grid > .reveal.visible,
.hv2-trio-grid > .reveal.visible { animation: hv2CardIn 0.95s var(--hv2-ease) backwards; }
.hv2-ways-grid > .reveal:nth-child(2), .hv2-moments .use-cases-grid > .reveal:nth-child(2), .hv2-privacy-grid > .reveal:nth-child(2),
.hv2-price-grid > .reveal:nth-child(2), .hv2-trio-grid > .reveal:nth-child(2), .hv2-moments .use-cases-grid > .reveal:nth-child(5) { animation-delay: 0.12s; }
.hv2-ways-grid > .reveal:nth-child(3), .hv2-moments .use-cases-grid > .reveal:nth-child(3), .hv2-privacy-grid > .reveal:nth-child(3),
.hv2-price-grid > .reveal:nth-child(3), .hv2-trio-grid > .reveal:nth-child(3), .hv2-moments .use-cases-grid > .reveal:nth-child(6) { animation-delay: 0.24s; }
.hv2-privacy-grid > .reveal:nth-child(4) { animation-delay: 0.36s; }
@keyframes hv2CardIn { from { opacity: 0; transform: translateY(46px) scale(0.955); } }

/* ---------- Cards: a warm light follows the pointer ---------- */
.hv2-way, .hv2-step, .hv2-price-card, .hv2-trio-card, .hv2-moments .use-case-card { position: relative; }
.hv2-way > *, .hv2-step > *, .hv2-price-card > *, .hv2-trio-card > *, .hv2-moments .use-case-card > * { position: relative; z-index: 1; }
.hv2-way::before, .hv2-step::before, .hv2-price-card::before, .hv2-trio-card::before, .hv2-moments .use-case-card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0;
  background: radial-gradient(360px circle at var(--px, 50%) var(--py, 50%), rgba(var(--accent-rgb), 0.17), transparent 66%);
  transition: opacity 0.35s ease;
}
.hv2-way:hover::before, .hv2-step:hover::before, .hv2-price-card:hover::before, .hv2-trio-card:hover::before, .hv2-moments .use-case-card:hover::before { opacity: 1; }
.hv2-trio-card, .hv2-price-card { transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition); }
.hv2-trio-card:hover, .hv2-price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

/* ---------- Soft colour fields that drift as the page scrolls ---------- */
.hv2-ways, .hv2-price { position: relative; overflow: hidden; }
.hv2-ways > .container, .hv2-price > .container { position: relative; z-index: 1; }
.hv2-blob { position: absolute; z-index: 0; width: 520px; height: 520px; border-radius: 50%; filter: blur(90px); pointer-events: none; }
.hv2-blob--a { top: -150px; left: -170px; background: rgba(var(--accent-rgb), 0.2); }
.hv2-blob--b { bottom: -200px; right: -150px; background: rgba(86, 116, 226, 0.2); }
.hv2-blob--c { top: -140px; right: -130px; background: rgba(var(--accent-rgb), 0.16); }
@supports (animation-timeline: view()) {
  .hv2-blob { animation: hv2Parallax linear both; animation-timeline: view(); }
  @keyframes hv2Parallax { from { transform: translateY(-110px); } to { transform: translateY(110px); } }
}

/* ---------- "Three ways" cards: small animated scenes ---------- */
.hv2-art {
  position: relative; margin: -10px -6px 24px; border-radius: 14px; overflow: hidden;
  background: radial-gradient(120% 95% at 50% 0%, #1F2C63 0%, var(--ink-800) 58%, var(--ink-900) 100%);
  border: 1px solid rgba(255,255,255,0.09);
}
.hv2-art svg { display: block; width: 100%; height: auto; }
.hv2-art .a-ring { fill: none; stroke: #EE7C30; stroke-width: 2; opacity: 0; transform-box: fill-box; transform-origin: center; }
.hv2-art .a-bar, .hv2-art .a-panel { transform-box: fill-box; transform-origin: left center; }
.hv2-art .a-wave, .hv2-art .a-speak { fill: none; }
.hv2-way:hover .hv2-art svg { transform: scale(1.04); }
.hv2-art svg { transition: transform 0.6s var(--hv2-ease); }

/* Call: speech leaves in one language and arrives in another */
.hv2-art .a-dot { offset-path: path("M84 96 Q160 14 236 96"); offset-distance: 50%; }
.hv2-art-bubble {
  position: absolute; top: 14%; padding: 5px 11px; white-space: nowrap;
  font-size: 0.8125rem; font-weight: 700; line-height: 1.3; color: #fff;
  background: rgba(255,255,255,0.16); border: 1px solid rgba(255,255,255,0.22);
}
.hv2-art-bubble--1 { left: 7%; border-radius: 12px 12px 12px 4px; transform-origin: 0 100%; }
.hv2-art-bubble--2 { right: 7%; border-radius: 12px 12px 4px 12px; transform-origin: 100% 100%; background: var(--accent); border-color: transparent; color: var(--text-on-accent); }
.hv2-art--call .a-ring--1 { animation: hv2CallRing1 5.2s ease-out infinite; }
.hv2-art--call .a-ring--2 { animation: hv2CallRing2 5.2s ease-out infinite; }
.hv2-art--call .a-dot { animation: hv2CallDot 5.2s ease-in-out infinite; }
.hv2-art--call .hv2-art-bubble--1 { animation: hv2CallB1 5.2s var(--hv2-ease) infinite; }
.hv2-art--call .hv2-art-bubble--2 { animation: hv2CallB2 5.2s var(--hv2-ease) infinite; }
@keyframes hv2CallRing1 { 0% { transform: scale(1); opacity: 0.9; } 18% { transform: scale(1.5); opacity: 0; } 19% { transform: scale(1); opacity: 0.9; } 38%, 100% { transform: scale(1.5); opacity: 0; } }
@keyframes hv2CallRing2 { 0%, 50% { transform: scale(1); opacity: 0; } 51% { transform: scale(1); opacity: 0.9; } 70% { transform: scale(1.5); opacity: 0; } 71% { transform: scale(1); opacity: 0.9; } 90%, 100% { transform: scale(1.5); opacity: 0; } }
@keyframes hv2CallDot { 0%, 12% { offset-distance: 0%; opacity: 0; } 17% { opacity: 1; } 46% { offset-distance: 100%; opacity: 1; } 52%, 100% { offset-distance: 100%; opacity: 0; } }
@keyframes hv2CallB1 { 0% { opacity: 0; transform: scale(0.6); } 7%, 40% { opacity: 1; transform: scale(1); } 48%, 100% { opacity: 0; transform: scale(0.9); } }
@keyframes hv2CallB2 { 0%, 46% { opacity: 0; transform: scale(0.6); } 54%, 90% { opacity: 1; transform: scale(1); } 98%, 100% { opacity: 0; transform: scale(0.9); } }

/* Face to face: each person speaks, their half of the phone fills with the translation */
.hv2-art--face .a-ring--1 { animation: hv2CallRing1 6s ease-out infinite; }
.hv2-art--face .a-ring--2 { animation: hv2CallRing2 6s ease-out infinite; }
.hv2-art--face .a-wave--1 { animation: hv2FaceWave1 6s ease-in-out infinite; }
.hv2-art--face .a-wave--2 { animation: hv2FaceWave2 6s ease-in-out infinite; }
.hv2-art--face .a-bar--t1 { animation: hv2BarA 6s var(--hv2-ease) infinite; }
.hv2-art--face .a-bar--t2 { animation: hv2BarB 6s var(--hv2-ease) infinite; }
.hv2-art--face .a-bar--b1 { animation: hv2BarC 6s var(--hv2-ease) infinite; }
.hv2-art--face .a-bar--b2 { animation: hv2BarD 6s var(--hv2-ease) infinite; }
@keyframes hv2FaceWave1 { 0% { opacity: 0; } 5%, 40% { opacity: 1; } 47%, 100% { opacity: 0; } }
@keyframes hv2FaceWave2 { 0%, 50% { opacity: 0; } 55%, 88% { opacity: 1; } 95%, 100% { opacity: 0; } }
@keyframes hv2BarA { 0%, 8% { transform: scaleX(0); opacity: 1; } 20%, 94% { transform: scaleX(1); opacity: 1; } 99%, 100% { transform: scaleX(1); opacity: 0; } }
@keyframes hv2BarB { 0%, 24% { transform: scaleX(0); opacity: 1; } 38%, 94% { transform: scaleX(1); opacity: 1; } 99%, 100% { transform: scaleX(1); opacity: 0; } }
@keyframes hv2BarC { 0%, 56% { transform: scaleX(0); opacity: 1; } 68%, 94% { transform: scaleX(1); opacity: 1; } 99%, 100% { transform: scaleX(1); opacity: 0; } }
@keyframes hv2BarD { 0%, 72% { transform: scaleX(0); opacity: 1; } 86%, 94% { transform: scaleX(1); opacity: 1; } 99%, 100% { transform: scaleX(1); opacity: 0; } }

/* Meeting: the floating window slides in and fills line by line */
.hv2-art--meet .a-speak { animation: hv2Speak 1.6s ease-in-out infinite alternate; }
.hv2-art--meet .a-panel { transform-origin: center; animation: hv2Panel 6.5s var(--hv2-ease) infinite; }
.hv2-art--meet .a-bar--m1 { animation: hv2BarA 6.5s var(--hv2-ease) infinite; }
.hv2-art--meet .a-bar--m2 { animation: hv2BarB 6.5s var(--hv2-ease) infinite; }
.hv2-art--meet .a-bar--m3 { animation: hv2BarC 6.5s var(--hv2-ease) infinite; }
.hv2-art--meet .a-bar--m4 { animation: hv2BarD 6.5s var(--hv2-ease) infinite; }
@keyframes hv2Speak { from { opacity: 0.25; } to { opacity: 1; } }
@keyframes hv2Panel { 0% { transform: translateY(16px) scale(0.94); opacity: 0; } 8%, 94% { transform: none; opacity: 1; } 100% { transform: translateY(6px); opacity: 0; } }

/* ---------- Moments ---------- */
.hv2-moments .use-case-icon-wrap { transition: transform 0.45s var(--hv2-spring); }
.hv2-moments .use-case-card:hover .use-case-icon-wrap { transform: scale(1.14) rotate(-7deg); }
.hv2-moments .use-case-card::after {
  content: ""; position: absolute; left: 24px; right: 24px; top: 0; height: 3px; border-radius: 0 0 3px 3px;
  background: linear-gradient(90deg, var(--accent), var(--orange-300));
  transform: scaleX(0); transform-origin: 0 50%; transition: transform 0.5s var(--hv2-ease);
}
.hv2-moments .use-case-card:hover::after { transform: scaleX(1); }

/* ---------- Steps: arrive in order, then light up one after another ---------- */
.hv2-steps > .reveal.visible { animation: hv2CardIn 0.95s var(--hv2-ease) backwards, hv2StepOn 6s ease-in-out 1.2s infinite; }
.hv2-steps > .reveal.visible:nth-child(2) { animation-delay: 0.14s, 3.2s; }
.hv2-steps > .reveal.visible:nth-child(3) { animation-delay: 0.28s, 5.2s; }
@keyframes hv2StepOn {
  0%, 26% { border-color: rgba(var(--accent-rgb), 0.65); box-shadow: 0 0 0 4px rgba(var(--accent-rgb), 0.13), var(--shadow-md); }
  34%, 100% { border-color: var(--border); box-shadow: var(--shadow-sm); }
}
.hv2-steps > .reveal.visible .hv2-step-num b { animation: hv2Pop 0.7s var(--hv2-spring) 0.35s backwards; }
.hv2-steps > .reveal.visible:nth-child(2) .hv2-step-num b { animation-delay: 0.5s; }
.hv2-steps > .reveal.visible:nth-child(3) .hv2-step-num b { animation-delay: 0.65s; }
@keyframes hv2Pop { from { transform: scale(0); } }
.hv2-step-icon { transition: transform 0.45s var(--hv2-spring); }
.hv2-step:hover .hv2-step-icon { transform: scale(1.12) rotate(6deg); }
.hv2-step:not(:last-child)::after { animation: hv2Nudge 1.8s ease-in-out infinite; }
@keyframes hv2Nudge { 50% { translate: 5px 0; } }

/* ---------- Privacy: icons draw themselves (js/home.js adds pathLength="1") ---------- */
.hv2-privacy-item.reveal svg [pathLength] { stroke-dasharray: 1 1.2; stroke-dashoffset: 1.1; transition: stroke-dashoffset 1.3s var(--hv2-ease) 0.3s; }
.hv2-privacy-item.reveal.visible svg [pathLength] { stroke-dashoffset: 0; }
.hv2-privacy-item .use-case-icon-wrap { transition: transform 0.45s var(--hv2-spring); }
.hv2-privacy-item:hover .use-case-icon-wrap { transform: translateY(-4px) scale(1.08); }

/* ---------- Price: a light travels round the Starter card ---------- */
.hv2-price-card--start {
  border: 1.5px solid transparent;
  background:
    linear-gradient(var(--bg-card), var(--bg-card)) padding-box,
    conic-gradient(from var(--hv2-a), var(--accent), rgba(var(--accent-rgb), 0.1) 26%, rgba(var(--accent-rgb), 0.1) 74%, var(--accent)) border-box;
  animation: hv2Spin 6s linear infinite;
}
.hv2-price-grid > .hv2-price-card--start.reveal.visible { animation: hv2CardIn 0.95s var(--hv2-ease) backwards, hv2Spin 6s linear infinite; }

/* ---------- Final call to action: two slow waves ---------- */
.hv2-cta { position: relative; }
.hv2-swells { position: absolute; left: 0; right: 0; bottom: 0; height: 120px; overflow: hidden; pointer-events: none; }
.hv2-swell { position: absolute; left: 0; bottom: 0; width: 200%; height: 100%; animation: hv2SwellMove 18s linear infinite; }
.hv2-swell--1 path { fill: rgba(var(--accent-rgb), 0.17); }
.hv2-swell--2 { height: 76%; animation-duration: 27s; animation-direction: reverse; }
.hv2-swell--2 path { fill: rgba(255,255,255,0.06); }
[data-theme="light"] .hv2-swell--2 path { fill: rgba(var(--navy-rgb), 0.07); }
@keyframes hv2SwellMove { to { transform: translateX(-50%); } }

/* ---------- Responsive adjustments for the motion layer ---------- */
@media (max-width: 1180px) {
  .hv2-float-chip--3 { right: -10px; }
  .hv2-float-chip--4 { right: -6px; }
}
@media (max-width: 1024px) {
  .hv2-float-chip--3, .hv2-float-chip--4 { display: none; }
  .hv2-float-chip--1 { top: -40px; left: 6px; }
  .hv2-float-chip--5 { top: -44px; right: 10px; }
  .hv2-float-chip--2 { left: 10px; }
  .hv2-float-chip--6 { right: 16px; }
  .hv2-step:not(:last-child)::after { animation-name: hv2NudgeDown; }
  @keyframes hv2NudgeDown { 50% { translate: 0 5px; } }
}
@media (max-width: 480px) {
  .hv2-float-chip { font-size: 0.8125rem; padding: 6px 11px; }
  .hv2-marquee-track span { font-size: 0.875rem; padding: 7px 14px; }
}

/* ---------- Reduced motion: no animation, everything in its finished state ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; }
  .hv2-h1 .hv2-h1-in, .hv2-demo.reveal { transform: none; }
  .section-header.reveal .section-badge, .section-header.reveal .section-title, .section-header.reveal .section-subtitle { opacity: 1; transform: none; transition: none; }
  .hv2-privacy-item.reveal svg [pathLength] { stroke-dashoffset: 0; transition: none; }
  .hv2-rings, .hv2-progress, .hv2-tab::after, .hv2-stage::after { display: none; }
  .hv2-hero .hero-orb, .hv2-float-chip { translate: none; }
}

/* ============================================
   PART 3 — PRICING PAGE (pricing.html)
   Reuses the price cards, privacy grid, FAQ and call-to-action styles above.
   ============================================ */
.hv2-page-hero .section-badge { margin-bottom: 22px; }
.hv2-page-hero h1 { font-size: clamp(2.125rem, 1.3rem + 2.6vw, 3.25rem); max-width: 860px; margin-left: auto; margin-right: auto; }

/* Plan cards: a list and a button under the price */
.hv2-plans .hv2-price-card { display: flex; flex-direction: column; text-align: left; padding: 32px 28px; }
.hv2-plans .hv2-price-card .hv2-list { margin: 22px 0 26px; }
.hv2-plans .hv2-price-card .btn { margin-top: auto; width: 100%; }
/* .btn-outline is drawn for dark sections; on a light card it needs the brand ink. */
[data-theme="light"] .hv2-plans .hv2-price-card .btn-outline { color: var(--brand-navy); border-color: var(--border-strong); }
[data-theme="light"] .hv2-plans .hv2-price-card .btn-outline:hover { border-color: var(--brand-navy); }

.hv2-topup {
  max-width: 960px; margin: 28px auto 0; padding: 22px 26px;
  display: flex; align-items: center; gap: 20px;
  background: var(--bg-card); border: 1px dashed rgba(var(--accent-rgb), 0.55); border-radius: var(--radius-card);
}
.hv2-topup .use-case-icon-wrap { margin-bottom: 0; flex-shrink: 0; }
.hv2-topup h3 { font-size: 1.125rem; font-weight: 750; color: var(--text-primary); margin-bottom: 4px; }
.hv2-topup p { font-size: 0.9375rem; line-height: 1.6; color: var(--text-secondary); }

/* The three things an allowance is made of */
.hv2-covers-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 900px; margin: 0 auto; }
.hv2-cover {
  display: flex; align-items: center; gap: 16px; padding: 22px 24px;
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-card); box-shadow: var(--shadow-sm);
}
.hv2-cover .use-case-icon-wrap { margin-bottom: 0; flex-shrink: 0; transition: transform 0.45s var(--hv2-spring); }
.hv2-cover:hover .use-case-icon-wrap { transform: scale(1.12) rotate(-6deg); }
.hv2-cover h3 { font-size: 1.0625rem; font-weight: 700; color: var(--text-primary); }
.hv2-covers-row > .reveal.visible { animation: hv2CardIn 0.95s var(--hv2-ease) backwards; }
.hv2-covers-row > .reveal:nth-child(2) { animation-delay: 0.12s; }
.hv2-covers-row > .reveal:nth-child(3) { animation-delay: 0.24s; }

@media (max-width: 768px) {
  .hv2-covers-row { grid-template-columns: 1fr; max-width: 420px; }
  .hv2-topup { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  .hv2-covers-row > .reveal.visible { animation: none !important; }
}
