/* ============================================================
   HEALINK — Marketing site styles
   Built on tokens.css. Premium, spacious, brand-true.
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--cream);
  color: var(--fg);
  font-family: var(--font-body);
  font-weight: 500;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
::selection { background: var(--azure); color: var(--ink); }

/* ---- Fluid type scale ---- */
:root {
  --t-display: clamp(48px, 8vw, 104px);
  --t-h1:      clamp(38px, 5.6vw, 72px);
  --t-h2:      clamp(30px, 4.2vw, 52px);
  --t-h3:      clamp(22px, 2.6vw, 32px);
  --t-lead:    clamp(18px, 2.1vw, 23px);
  --gutter:    clamp(20px, 5vw, 64px);
  --section-y: clamp(72px, 11vw, 160px);
}

/* ---- Layout helpers ---- */
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding-inline: var(--gutter); }
.wrap-tight { max-width: 980px; }
.measure { max-width: 640px; }
.section { padding-block: var(--section-y); position: relative; }
.center { text-align: center; }
.stack { display: flex; flex-direction: column; }

/* ---- Type utilities ---- */
.display { font-family: var(--font-display); font-weight: 500; font-size: var(--t-display); line-height: .98; letter-spacing: -0.045em; color: var(--fg); margin: 0; text-wrap: balance; }
.h1 { font-family: var(--font-display); font-weight: 500; font-size: var(--t-h1); line-height: 1.02; letter-spacing: -0.03em; color: var(--fg); margin: 0; text-wrap: balance; }
.h2 { font-family: var(--font-display); font-weight: 500; font-size: var(--t-h2); line-height: 1.04; letter-spacing: -0.025em; color: var(--fg); margin: 0; text-wrap: balance; }
.h3 { font-family: var(--font-display); font-weight: 500; font-size: var(--t-h3); line-height: 1.1; letter-spacing: -0.015em; color: var(--fg); margin: 0; }
.lead { font-size: var(--t-lead); line-height: 1.45; color: var(--fg-muted); margin: 0; text-wrap: pretty; }
.body { font-size: 16px; line-height: 1.6; color: var(--fg-muted); margin: 0; text-wrap: pretty; }
.on-dark { color: var(--fg-on-dark); }
.on-dark .lead, .on-dark .body, .lead.on-dark, .body.on-dark { color: var(--fg-on-dark-mut); }

.eyebrow {
  font-family: var(--font-mono); font-weight: 900;
  font-variation-settings: 'ROND' 100, 'wght' 900;
  font-size: 14px; letter-spacing: 0.12em; line-height: 1;
  color: var(--slate); text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before {
  content: none; display: none;
}
.eyebrow.no-rule::before { display: none; }
.eyebrow.azure { color: var(--azure); }

/* ---- Buttons ---- */
.btn {
  --b-bg: var(--azure); --b-fg: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-body); font-weight: 600; font-size: 16px;
  background: var(--b-bg); color: var(--b-fg);
  border: 1px solid transparent; border-radius: var(--r-sm);
  padding: 14px 22px; cursor: pointer; white-space: nowrap;
  transition: filter .2s ease, transform .12s ease, background .2s ease, border-color .2s ease;
}
.btn:hover { filter: brightness(.96); }
.btn:active { transform: scale(.98); }
.btn svg { width: 17px; height: 17px; }
.btn-dark { --b-bg: var(--healink-green); --b-fg: var(--cream); }
.btn-ghost { --b-bg: transparent; --b-fg: var(--healink-green); border-color: var(--border); }
.btn-ghost:hover { filter: none; border-color: var(--slate); background: rgba(46,57,57,.03); }
.btn-cream { --b-bg: var(--cream); --b-fg: var(--healink-green); border-color: var(--border); }
.btn-cream:hover { filter: none; background: #fff; border-color: var(--slate); }
.btn-ghost-light { --b-bg: transparent; --b-fg: var(--cream); border-color: var(--border-dark); }
.btn-ghost-light:hover { filter: none; border-color: rgba(254,252,246,.4); background: rgba(254,252,246,.06); }
.btn-lg { padding: 17px 28px; font-size: 17px; }
.btn-arrow svg { transition: transform .2s ease; }
.btn:hover .btn-arrow svg, .btn.btn-arrow:hover svg { transform: translateX(3px); }

/* ---- Badges / chips ---- */
.badge {
  font-family: var(--font-mono); font-weight: 900;
  font-variation-settings: 'ROND' 100, 'wght' 900;
  font-size: 13px; letter-spacing: 0.06em; line-height: 1;
  border-radius: var(--r-xs); padding: 6px 9px; white-space: nowrap;
}
.badge-new { background: var(--healink-green); color: var(--azure); }
.badge-info { background: var(--light-grey); color: var(--slate); }
.badge-row { display: inline-flex; gap: 4px; align-items: center; }

/* ---- Hero badge choreography ----
   On load "NEW" sits centered alone; after it settles, the second badge
   expands rightward. Because the row is center-aligned, that growth re-centers
   the row every frame, so "NEW" glides left as "AI PATIENT REACTIVATION" is
   revealed through a blurred, eased dissolve. Driven by a keyframe animation
   (not a transition) so a repainting canvas sibling can't restart it. */
.badge-row .badge-info {
  overflow: hidden;
  max-width: 0;
  padding-left: 0;
  padding-right: 0;
  margin-left: -4px;            /* cancel the row gap while collapsed */
  opacity: 0;
  filter: blur(9px);
  transform: translateX(-8px);
}
@keyframes badgeReveal {
  to {
    max-width: 260px;
    padding-left: 9px;
    padding-right: 9px;
    margin-left: 0;
    opacity: 1;
    filter: none;       /* end on no filter layer so text stays crisp */
    transform: none;
  }
}
html.motion .badge-row.in .badge-info {
  animation: badgeReveal 1.35s cubic-bezier(.22,.61,.36,1) 1.275s both;
}
@media (prefers-reduced-motion: reduce) {
  .badge-row .badge-info {
    max-width: 260px; padding-left: 9px; padding-right: 9px;
    margin-left: 0; opacity: 1; filter: none; transform: none;
  }
  html.motion .badge-row.in .badge-info { animation: none; }
}

/* ---- Nav ---- */
.nav-outer { position: sticky; top: 16px; z-index: 100; padding-inline: var(--gutter); }
/* opt-in overlay (index): float the nav over the hero so the warm-radiance
   background reaches the very top of the window instead of sitting below a band */
.nav-outer.nav-overlay { position: fixed; top: 16px; left: 0; right: 0; }
.nav {
  width: 100%; max-width: 1080px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(254,252,246,.72);
  -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid var(--border); border-radius: var(--r-md);
  padding: 9px 9px 9px 22px;
  transition: box-shadow .3s ease, background .3s ease;
}
.nav.scrolled { box-shadow: var(--shadow-md); background: rgba(254,252,246,.92); }
.nav-logo { height: 26px; width: auto; }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { font-size: 15px; font-weight: 500; color: var(--slate); transition: color .18s ease; }
.nav-links a:hover { color: var(--healink-green); }
.nav-cta { display: flex; align-items: center; gap: 8px; }
.nav-toggle { display: none; }
.nav-home-link { display: none; }

/* ---- Header entrance — staggered blur dissolve on load ----
   Gated on html.motion (added once JS confirms the motion clock is live) so
   the header can never get stuck hidden, matching the scroll-reveal system. */
@keyframes headerBarIn {
  from { opacity: 0; transform: translateY(-12px); }
  to   { opacity: 1; transform: none; }
}
@keyframes headerItemIn {
  from { opacity: 0; transform: translateY(-9px); filter: blur(8px); }
  to   { opacity: 1; transform: none; filter: none; }
}
html.motion .nav { animation: headerBarIn .7s cubic-bezier(.22,.61,.36,1) backwards; }
html.motion .nav > a,
html.motion .nav-links > a,
html.motion .nav-cta > * {
  animation: headerItemIn .62s cubic-bezier(.22,.61,.36,1) backwards;
}
html.motion .nav > a            { animation-delay: .16s; }
html.motion .nav-links > a:nth-child(1) { animation-delay: .24s; }
html.motion .nav-links > a:nth-child(2) { animation-delay: .30s; }
html.motion .nav-links > a:nth-child(3) { animation-delay: .36s; }
html.motion .nav-links > a:nth-child(4) { animation-delay: .42s; }
html.motion .nav-links > a:nth-child(5) { animation-delay: .48s; }
html.motion .nav-cta > *        { animation-delay: .54s; }
@media (prefers-reduced-motion: reduce) {
  html.motion .nav,
  html.motion .nav > a,
  html.motion .nav-links > a,
  html.motion .nav-cta > * { animation: none; }
}
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav { padding: 8px 8px 8px 16px; }
  .nav-logo { height: 22px; }
  .nav-cta { gap: 8px; }
  .nav-cta .btn { padding: 11px 16px; font-size: 14.5px; }
  .nav-home-link { display: block; }
  .nav-cta .btn-ghost { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute; top: calc(100% + 10px);
    left: 0; right: 0; background: var(--cream); border: 1px solid var(--border);
    border-radius: var(--r-md); padding: 18px 22px; gap: 18px; box-shadow: var(--shadow-md);
  }
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border: 1px solid var(--border); background: transparent;
    border-radius: var(--r-sm); cursor: pointer; color: var(--slate);
  }
}

/* ---- Hero ---- */
/* .hero-zone carries the warm-radiance bg + 3D texture for hero AND logo strip,
   ending where the dark Problem section begins. */
.hero-zone { position: relative; overflow: hidden; }
.hero { position: relative; padding-block: clamp(96px, 15vh, 180px) clamp(64px, 9vw, 120px); }
.hero-bg { position: absolute; inset: 0; background: radial-gradient(120% 90% at 50% -10%, var(--warm-1) 0%, rgba(250,242,214,.32) 32%, var(--cream) 70%); z-index: 0; }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }

/* ---- Hero background video (oversized, low-opacity texture) ---- */
.hero-video {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  opacity: .2;
  /* multiply keeps the warm-radiance gradient intact; only the dark tones print through */
  mix-blend-mode: multiply;
  /* fade the dense center a touch so the headline always reads crisp */
  -webkit-mask-image: radial-gradient(58% 50% at 50% 46%, rgba(0,0,0,.25) 0%, rgba(0,0,0,.6) 36%, #000 66%);
  mask-image: radial-gradient(58% 50% at 50% 46%, rgba(0,0,0,.25) 0%, rgba(0,0,0,.6) 36%, #000 66%);
  overflow: hidden; container-type: size;
}
.hero-video iframe {
  position: absolute; top: 50%; left: 50%; border: 0;
  /* 16:9 cover of the hero zone, then scaled up to read as ambient texture */
  width: max(100cqw, 177.78cqh); height: max(100cqh, 56.25cqw);
  transform: translate(-50%, -50%) scale(1.3);
}
@media (prefers-reduced-motion: reduce) { .hero-video { display: none; } }
.hero-inner { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; text-align: center; gap: clamp(24px, 3.5vw, 36px); }
.hero h1 { max-width: 14ch; }
.hero .lead { max-width: 52ch; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.hero-note { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--slate-soft); }
.hero-note svg { width: 15px; height: 15px; color: var(--slate); }
/* Hero proof row: solid Doto chip + HIPAA badge, replaces the old plain-text note */
.hero-proof { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; }
.proof-chip {
  font-family: var(--font-mono); font-weight: 900;
  font-variation-settings: 'ROND' 100, 'wght' 900;
  font-size: 11px; letter-spacing: .14em;
  color: var(--azure); background: var(--healink-green);
  border-radius: var(--r-xs); padding: 10px 14px; white-space: nowrap;
}
.proof-hipaa { width: 72px; height: 72px; border-radius: 50%; display: block; }

/* ---- Hero content entrance — guaranteed-smooth keyframe blur dissolve ----
   Overrides the generic transition-based reveal for hero items so the canvas
   sibling can't stall the motion. Staggered via the data-reveal-delay attrs. */
@keyframes heroIn {
  from { opacity: 0; transform: translateY(20px) scale(.99); filter: blur(16px); }
  to   { opacity: 1; transform: none; filter: none; }
}
html.motion .hero-inner > [data-reveal] {
  animation: heroIn 1s cubic-bezier(.22,.61,.36,1) backwards;
}
html.motion .hero-inner > [data-reveal]:not([data-reveal-delay]) { animation-delay: .10s; }
html.motion .hero-inner > [data-reveal][data-reveal-delay="1"] { animation-delay: .22s; }
html.motion .hero-inner > [data-reveal][data-reveal-delay="2"] { animation-delay: .34s; }
html.motion .hero-inner > [data-reveal][data-reveal-delay="3"] { animation-delay: .46s; }
html.motion .hero-inner > [data-reveal][data-reveal-delay="4"] { animation-delay: .58s; }
@media (prefers-reduced-motion: reduce) {
  html.motion .hero-inner > [data-reveal] { animation: none; opacity: 1; }
}

/* ---- Logo strip ---- */
.logos { position: relative; z-index: 2; padding-block: clamp(28px, 4vw, 44px); }
.logos-label { text-align: center; font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--slate-soft); font-weight: 600; margin-bottom: 26px; }
/* Infinite marquee: two identical .logos-set children; the track slides one
   full set width (-50%) and loops seamlessly. Pauses on hover so links stay
   clickable; falls back to a static scrollable row for reduced motion. */
.logos-row {
  overflow: hidden; padding-inline: 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.logos-track { display: flex; width: max-content; animation: logosMarquee 32s linear infinite; }
.logos-row:hover .logos-track { animation-play-state: paused; }
.logos-set { display: flex; align-items: center; gap: clamp(28px, 5vw, 60px); padding-right: clamp(28px, 5vw, 60px); }
.logos-set .logo-item { flex-shrink: 0; white-space: nowrap; }
@keyframes logosMarquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .logos-row { overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; -webkit-mask-image: none; mask-image: none; }
  .logos-row::-webkit-scrollbar { display: none; }
  .logos-track { animation: none; }
  .logos-set[aria-hidden="true"] { display: none; }
}
.logo-item { font-family: var(--font-display); font-weight: 500; font-size: clamp(16px, 2vw, 21px); color: var(--slate); letter-spacing: -.01em; opacity: .72; transition: opacity .2s; }
.logo-item img { height: 34px; width: auto; display: block; }
.logo-item img[src*="client-igo"] { height: 50px; }
.logo-item img[src*="client-advanced"] { height: 42px; }
.logo-item img[src*="client-capital"] { height: 28px; }
@media (max-width: 600px){
  .logo-item img { height: 28px; }
  .logo-item img[src*="client-igo"] { height: 42px; }
  .logo-item img[src*="client-advanced"] { height: 36px; }
  .logo-item img[src*="client-capital"] { height: 24px; }
}
.logo-item:hover { opacity: 1; }
a.logo-item { text-decoration: none; }
.placeholder-tag { display: inline-block; font-family: var(--font-mono); font-variation-settings: 'ROND' 100,'wght' 900; font-size: 9px; letter-spacing: .1em; color: #d63636; border: 1px dashed #d63636; border-radius: 4px; padding: 2px 5px; vertical-align: middle; }

/* ---- Dark section ---- */
.section-dark { background: var(--healink-green); color: var(--fg-on-dark); }
.section-dark .h1, .section-dark .h2, .section-dark .h3, .section-dark .display { color: var(--cream); }
.section-dark .eyebrow { color: var(--azure); }
.section-dark .lead, .section-dark .body { color: var(--fg-on-dark-mut); }

/* ---- Section heading block ---- */
.sec-head { display: flex; flex-direction: column; gap: 20px; max-width: 720px; }
.sec-head.center { align-items: center; text-align: center; margin-inline: auto; }

/* ---- Problem / reactivation viz ---- */
#problem { overflow: hidden; }
.problem-grid { position: relative; z-index: 1; }
/* faint blurred Healink symbol mark, anchored to the collage so its molecular
   lobes always halo the photos in the dark space around them */
.problem-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
@media (max-width: 900px){ .problem-grid { grid-template-columns: 1fr; } }
.bignum { font-family: var(--font-display); font-weight: 500; font-size: clamp(56px, 9vw, 104px); line-height: .92; letter-spacing: -.02em; color: var(--cream); }
.bignum .bignum-dash { margin: 0 .07em; font-weight: 400; }
.bignum .unit { font-size: .42em; color: var(--azure); letter-spacing: -.02em; margin-left: .08em; }
/* ---- Problem collage — floating photo cards w/ glass feature labels + parallax ---- */
.collage {
  position: relative; width: 100%; max-width: 500px; margin-inline: auto;
  aspect-ratio: 1 / 1.06;
}
/* big faint brand mark centered behind the cards — lobes spill into the dark
   area around the collage so it reads as a watermark without fighting a card */
.collage-mark {
  position: absolute; top: 50%; left: 50%;
  width: 170%; max-width: none; height: auto; z-index: 0; pointer-events: none;
  transform: translate(-50%, -50%) rotate(-6deg);
  opacity: .5; filter: blur(2px);
}
/* outer card = scroll-parallax target (JS writes an inline transform here) */
.cphoto { position: absolute; margin: 0; will-change: transform; }
/* inner wrapper = continuous idle float, so the two transforms compose
   cleanly instead of fighting over one element's `transform`. */
/* inner wrapper holds the photo + label; static — motion comes only from
   scroll parallax on the .cphoto parent, no idle float. */
.cfloat {
  position: relative; width: 100%; height: 100%; border-radius: 24px;
  padding: 8px;
  background: rgba(254,252,246,.16);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: inset 0 0 0 1px rgba(254,252,246,.32), 0 26px 54px -22px rgba(0,0,0,.62);
}
/* baked photos — each frame's aspect ratio matches its source photo so the
   cover fit does no crop-upscale, and the card stays small enough that the
   native pixels aren't stretched on retina: tack sharp. */
.cphoto .cimg {
  display: block; width: 100%; height: 100%; border-radius: 16px;
  object-fit: cover; object-position: center;
}
/* Frame aspect ratios match each photo (3:2 / 3:4 / 2:3); stacked so a higher
   card only overlaps the TOP of a lower one, keeping every bottom label visible. */
/* a + b span the full top edge; c fills bottom-left; the open bottom-right is
   intentional negative space for the symbol mark + warm glow. Frame aspect
   ratios still match each photo (3:2 / 3:4 / 2:3) so there's no crop-upscale. */
.cphoto-a { top: -5%;  left: -6%; width: 59%; aspect-ratio: 3 / 2; z-index: 3; }
.cphoto-b { top: 0;    right: -6%; width: 50%; aspect-ratio: 3 / 4; z-index: 2; }
.cphoto-c { bottom: 0; left: 8%; width: 46%; aspect-ratio: 2 / 3; z-index: 1; }
/* small frosted feature box overset on each photo */
.cglass {
  position: absolute; left: 13px; right: 13px; bottom: 13px;
  display: flex; align-items: center; gap: 9px;
  padding: 8px 11px 8px 8px; border-radius: 12px;
  background: var(--glass-bg);
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  box-shadow: 0 8px 22px -10px rgba(0,0,0,.55), inset 0 0 0 1px rgba(254,252,246,.16);
  pointer-events: none;   /* never block reframe / drop on the photo */
}
.cglass .check-dot { width: 22px; height: 22px; flex: 0 0 auto; }
.cglass .check-dot svg { width: 12px; height: 9px; }
.cg-text {
  font-family: var(--font-display); font-weight: 500; font-size: 13px;
  line-height: 1.2; letter-spacing: -.012em; color: #fff; text-wrap: balance;
}
/* decorative warm-radiance orb behind the cards — enlarged ambient glow */
/* warm-radiance glow filling the collage top-to-bottom behind the cards */
.collage-orb {
  position: absolute; top: -12%; left: -12%; width: 124%; height: 124%;
  border-radius: 50%; z-index: 0; will-change: transform;
  background: radial-gradient(ellipse 58% 72% at 50% 50%, rgba(250,242,214,.30), rgba(200,228,229,.13) 56%, transparent 80%);
  filter: blur(12px);
}
@media (max-width: 900px){
  .collage { max-width: 420px; margin-top: 8px; }
}
@media (prefers-reduced-motion: reduce){
  .cfloat { animation: none; }
}

/* ---- Steps / how it works ---- */
.steps { display: grid; gap: 24px; }
.steps.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px){ .steps.cols-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px){ .steps.cols-4 { grid-template-columns: 1fr; } }
.step {
  position: relative; border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 28px 26px 32px; background: var(--surface); display: flex; flex-direction: column; gap: 16px;
  min-height: 220px; overflow: hidden;
}
.step-num { font-family: var(--font-mono); font-variation-settings: 'ROND' 100,'wght' 900; font-weight: 900; font-size: 13px; letter-spacing: .1em; color: var(--slate-soft); }
.step h3 { font-size: 21px; }
.step .body { font-size: 15px; }
.step-icon { width: 46px; height: 46px; border-radius: var(--r-full); background: var(--azure); display: flex; align-items: center; justify-content: center; color: var(--ink); margin-bottom: 2px; }
.step-icon svg { width: 22px; height: 22px; }

/* ---- Interactive image accordion (How it works, variant A) ----
   Hover/focus a panel to expand it; others collapse to a slim rail with a
   vertical caption. Width animates via flex-grow so it fills the row fluidly. */
.accordion { display: flex; gap: 14px; height: clamp(380px, 44vw, 470px); margin-top: 64px; }
.acc-panel {
  position: relative; flex: 0 1 96px; min-width: 0; overflow: hidden;
  border-radius: var(--r-xl); cursor: pointer; background: var(--healink-green);
  transition: flex-grow .62s cubic-bezier(.4,0,.2,1), flex-basis .62s cubic-bezier(.4,0,.2,1);
  outline: none;
}
.acc-panel.is-active { flex-grow: 1; flex-basis: 0; }
.acc-panel:focus-visible { box-shadow: 0 0 0 3px var(--azure); }
.acc-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* nudge the Step 03 photo (phone framing) up within its frame */
.acc-panel:nth-child(3) .acc-img { object-position: center 60%; }
.acc-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(46,57,57,.9) 0%, rgba(46,57,57,.5) 32%, rgba(46,57,57,.12) 64%, rgba(46,57,57,.28) 100%);
}
/* collapsed: vertical caption rising from the bottom */
/* collapsed: step number at top + non-clipping vertical title rising from bottom */
.acc-num {
  position: absolute; top: 20px; left: 0; right: 0; text-align: center;
  font-family: var(--font-mono); font-variation-settings: 'ROND' 100,'wght' 900;
  font-weight: 900; font-size: 11px; letter-spacing: .1em; color: var(--azure);
  pointer-events: none; transition: opacity .3s ease;
}
.acc-panel.is-active .acc-num { opacity: 0; }
.acc-vlabel {
  position: absolute; left: 50%; bottom: 26px;
  transform: translateX(-50%) rotate(180deg); writing-mode: vertical-rl;
  white-space: nowrap; pointer-events: none;
  font-family: var(--font-display); font-weight: 500; font-size: 17px; letter-spacing: -.01em;
  color: var(--cream); transition: opacity .3s ease; opacity: 1;
}
.acc-panel.is-active .acc-vlabel { opacity: 0; }
/* active: full caption at bottom-left */
.acc-caption {
  position: absolute; left: 0; bottom: 0; width: 100%;
  padding: 28px; display: flex; flex-direction: column; gap: 8px;
  pointer-events: none; opacity: 0; transform: translateY(8px);
  transition: opacity .4s ease .12s, transform .4s ease .12s;
}
/* on the notification (step 04) panel, drop the caption lower so the
   centered banner never sits on top of the STEP 04 / title text */
.acc-panel:last-child .acc-caption { padding-bottom: 14px; }
.acc-panel.is-active .acc-caption { opacity: 1; transform: none; }
.acc-step {
  font-family: var(--font-mono); font-variation-settings: 'ROND' 100,'wght' 900;
  font-weight: 900; font-size: 12px; letter-spacing: .12em; color: var(--azure);
}
.acc-title {
  font-family: var(--font-display); font-weight: 500; font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.05; letter-spacing: -.015em; color: var(--cream); text-wrap: balance;
}
.acc-body { font-size: 15px; line-height: 1.45; color: var(--light-grey); max-width: 34ch; }

/* ---- Step 04: iPhone-style notification that scrolls up into frame ----
   Hidden until panel 4 is active, then slides up + fades in like an iOS banner. */
.acc-notif {
  position: absolute; top: 40%; left: 50%; width: 68%; z-index: 4;
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px; border-radius: 18px;
  background: rgba(254,252,246,.72);
  -webkit-backdrop-filter: blur(22px) saturate(1.4); backdrop-filter: blur(22px) saturate(1.4);
  box-shadow: 0 18px 40px -12px rgba(46,57,57,.45), inset 0 0 0 1px rgba(255,255,255,.5);
  opacity: 0; transform: translate(-50%, -50%); pointer-events: none;
}
.notif-icon {
  flex: none; width: 40px; height: 40px; border-radius: 10px; overflow: hidden;
  box-shadow: 0 2px 6px rgba(46,57,57,.3);
}
.notif-icon img { width: 100%; height: 100%; display: block; }
.notif-body { min-width: 0; flex: 1; }
.notif-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.notif-app {
  font-family: var(--font-mono); font-variation-settings: 'ROND' 100,'wght' 900;
  font-weight: 900; font-size: 10px; letter-spacing: .14em; color: var(--slate);
}
.notif-time { font-family: var(--font-body); font-size: 11px; color: var(--slate); opacity: .8; }
.notif-title {
  font-family: var(--font-body); font-weight: 700; font-size: 15px;
  letter-spacing: -.01em; color: var(--healink-green); margin-top: 1px;
}
.notif-msg {
  font-family: var(--font-body); font-size: 13px; line-height: 1.3; color: var(--slate);
  margin-top: 1px;
}
/* trigger: only when step 4 is the active panel + motion is enabled */
html.motion .acc-panel.is-active .acc-notif {
  animation: notifRiseIn .7s cubic-bezier(.2,.8,.3,1) .45s both;
}
@keyframes notifRiseIn {
  0%   { opacity: 0; transform: translate(-50%, calc(-50% + 90px)); }
  100% { opacity: 1; transform: translate(-50%, -50%); }
}
@media (prefers-reduced-motion: reduce){
  html.motion .acc-panel.is-active .acc-notif { animation: none; opacity: 1; transform: translate(-50%, -50%); }
}
@media (max-width: 760px){
  .accordion { flex-direction: column; height: auto; gap: 12px; }
  /* flex: 0 0 auto resets the desktop is-active flex-basis:0, which otherwise
     collapses the active panel to zero height in the stacked column layout */
  .acc-panel, .acc-panel.is-active { flex: 0 0 auto; width: 100%; height: 168px; }
  .acc-vlabel, .acc-num { display: none; }
  .acc-caption { opacity: 1; transform: none; }
  .acc-body { display: none; }
  /* taller last card + notification pinned high so it clears the
     STEP 04 caption in the bottom-left corner */
  .acc-panel:last-child { height: 208px; }
  .acc-notif { top: 27%; left: 50%; width: 86%; padding: 9px 11px; opacity: 1; transform: translate(-50%, -50%); animation: none; }
  .acc-notif .notif-msg { display: none; }
}

/* Variation B: vertical narrative timeline */
.flow { display: flex; flex-direction: column; gap: 0; max-width: 760px; margin-inline: auto; }
.flow-item { display: grid; grid-template-columns: 56px 1fr; gap: 24px; padding-bottom: 44px; position: relative; }
.flow-item:last-child { padding-bottom: 0; }
.flow-rail { display: flex; flex-direction: column; align-items: center; }
.flow-dot { width: 46px; height: 46px; border-radius: var(--r-full); background: var(--azure); color: var(--ink); display: flex; align-items: center; justify-content: center; flex: none; z-index: 1; }
.flow-dot svg { width: 22px; height: 22px; }
.flow-line { width: 2px; flex: 1; background: linear-gradient(var(--border), var(--border)); margin-top: 6px; }
.flow-item:last-child .flow-line { display: none; }
.flow-body { padding-top: 8px; display: flex; flex-direction: column; gap: 8px; }
.flow-body h3 { font-size: 23px; }

/* ---- Feature cards ---- */
.feat-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 24px; }
.feat { grid-column: span 2; border-radius: var(--r-lg); overflow: hidden; position: relative; min-height: 320px; display: flex; flex-direction: column; }
.feat.wide { grid-column: span 3; }
.feat.span-6 { grid-column: span 6; }
@media (max-width: 900px){ .feat-grid { grid-template-columns: 1fr 1fr; } .feat, .feat.wide, .feat.span-6 { grid-column: span 1; } }
@media (max-width: 600px){ .feat-grid { grid-template-columns: 1fr; } }
.feat-light { background: var(--surface); border: 1px solid var(--border); padding: 30px; gap: 16px; }
/* keep the three feature-card headings on a single line at desktop width */
.feat-light .h3 { font-size: clamp(17px, 1.5vw, 19px); letter-spacing: -0.02em; }
.feat-dark { background: var(--healink-green); color: var(--cream); padding: 30px; gap: 16px; }
.feat-dark .body { color: var(--fg-on-dark-mut); }
.feat h3 { font-size: 22px; }
.feat-dark h3 { color: var(--cream); }
.feat-icon { width: 44px; height: 44px; border-radius: var(--r-md); display: flex; align-items: center; justify-content: center; }
.feat-light .feat-icon { background: var(--light-grey); color: var(--healink-green); }
.feat-dark .feat-icon { background: rgba(200,228,229,.16); color: var(--azure); }
.feat-icon svg { width: 22px; height: 22px; }
.feat-spacer { flex: 1; }

/* conceptual chat fragment */
.chat-frag { display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; margin-top: 8px; min-height: 330px; }
.bubble {
  max-width: 84%; padding: 13px 16px; border-radius: 16px; font-size: 14px; line-height: 1.4;
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
}
.bubble-them { align-self: flex-start; background: rgba(254,252,246,.1); color: var(--cream); border-bottom-left-radius: 5px; border: 1px solid rgba(254,252,246,.12); }
.bubble-me { align-self: flex-end; background: var(--azure); color: var(--ink); border-bottom-right-radius: 5px; font-weight: 600; }

/* ---- Chat fragment entrance: bubbles arrive one by one, each pushing the
   prior up (the .chat-frag is bottom-anchored). Plays when the card reveals. */
@keyframes chatBubbleIn {
  from { opacity: 0; max-height: 0; transform: translateY(10px) scale(.96); }
  to   { opacity: 1; max-height: 220px; transform: none; }
}
html.motion .feat-dark .chat-frag .bubble { overflow: hidden; }
html.motion .feat-dark.in .chat-frag .bubble {
  animation: chatBubbleIn .75s cubic-bezier(.22,.61,.36,1) both;
}
html.motion .feat-dark.in .chat-frag .bubble:nth-child(1) { animation-delay: .4s; }
html.motion .feat-dark.in .chat-frag .bubble:nth-child(2) { animation-delay: 1.5s; }
html.motion .feat-dark.in .chat-frag .bubble:nth-child(3) { animation-delay: 2.6s; }
html.motion .feat-dark.in .chat-frag .bubble:nth-child(4) { animation-delay: 3.7s; }
@media (prefers-reduced-motion: reduce){
  html.motion .feat-dark.in .chat-frag .bubble { animation: none; }
}

/* glass label on dark feature */
.glass-label {
  margin-top: auto; border-radius: 10px; background: var(--glass-bg);
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  padding: 18px; display: flex; align-items: center; gap: 14px;
}
.check-dot { width: 28px; height: 28px; border-radius: var(--r-full); background: var(--azure); display: flex; align-items: center; justify-content: center; flex: none; }
.check-dot svg { width: 15px; height: 11px; }
.glass-label .gl-text { font-family: var(--font-display); font-weight: 500; font-size: 18px; color: #fff; line-height: 1.1; }

.feat-photo { position: relative; border-radius: var(--r-lg); overflow: hidden; clip-path: inset(0 round var(--r-lg)); }
.feat-photo image-slot { width: 100%; height: 100%; min-height: 320px; }
.feat-photo > img { position: absolute; inset: 0; width: 100%; height: 100%; min-height: 320px; object-fit: cover; transform-origin: center; }
.feat-photo .glass-over { position: absolute; left: 22px; right: 22px; bottom: 22px; }

/* glass label slides up from the bottom of the photo frame on reveal */
@keyframes glassSlideUp {
  from { opacity: 0; transform: translateY(calc(100% + 22px)); }
  to   { opacity: 1; transform: none; }
}
html.motion .feat-photo.in .glass-over .glass-label {
  animation: glassSlideUp .7s cubic-bezier(.22,.61,.36,1) .35s both;
}
@media (prefers-reduced-motion: reduce){
  html.motion .feat-photo.in .glass-over .glass-label { animation: none; }
}

/* watermark */
.wm { position: absolute; pointer-events: none; opacity: .06; }

/* ---- Integration ---- */
.integration-card {
  position: relative; overflow: hidden; border-radius: var(--r-xl); background: var(--healink-green);
  padding: clamp(40px, 6vw, 72px); display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
}
@media (max-width: 860px){ .integration-card { grid-template-columns: 1fr; } }
.integration-card .h2, .integration-card .lead { color: var(--cream); }
.integration-card .lead { color: var(--fg-on-dark-mut); }
.pms-orbit { position: relative; min-height: 280px; display: flex; align-items: center; justify-content: center; }
.pms-lockup { font-family: var(--font-mono); font-variation-settings: 'ROND' 100,'wght' 900; font-weight: 900; font-size: clamp(22px,3vw,30px); letter-spacing: .04em; color: var(--azure); text-align: center; }
.pms-list { display: flex; flex-direction: column; gap: 12px; margin-top: 18px; }
.pms-pill { display: inline-flex; align-items: center; gap: 12px; align-self: center; padding: 11px 20px; border-radius: var(--r-full); border: 1px solid rgba(254,252,246,.16); background: rgba(254,252,246,.04); font-family: var(--font-display); font-size: 19px; color: var(--cream); }
.pms-pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--azure); }
/* PMS integration grid: Healink on a full-width azure tile, 4 PMS logos in a
   2×2 beneath, linked by a central azure node — "everything connects through Healink" */
.pms-grid {
  position: relative; width: 100%; max-width: 360px;
  display: flex; flex-direction: column; gap: 16px;
}
.pms-sub { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pms-tile {
  display: flex; align-items: center; justify-content: center;
  background: var(--cream); border-radius: 16px; padding: 22px; height: 96px;
  box-shadow: 0 10px 24px -14px rgba(0,0,0,.4);
}
.pms-tile img { max-width: 100%; max-height: 42px; width: auto; height: auto; object-fit: contain; display: block; }
.pms-tile-brand { background: var(--azure); }
.pms-tile-brand img { max-height: 52px; }
.pms-tile-wide { height: 84px; }
.pms-node {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 44px; height: 44px; border-radius: 50%; background: var(--healink-green);
  color: var(--azure); display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 6px var(--healink-green); z-index: 2;
}
.pms-node svg { width: 20px; height: 20px; }
@media (max-width: 860px){ .pms-grid { margin-inline: auto; } }
/* Authorized-vendor + HIPAA badges beneath the PMS grid */
.pms-badges { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px; margin-top: 6px; }
.pms-badges img { width: 96px; height: 96px; border-radius: var(--r-md); display: block; flex: none; }
.pms-badges img[src$=".png"] { border-radius: 50%; }
@media (max-width: 480px){ .pms-badges img { width: 78px; height: 78px; } }

/* Official-partner verification pills */
.partner-links { display: flex; flex-wrap: wrap; gap: 12px; }
.partner-pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 9px 16px 9px 10px; border-radius: var(--r-full);
  border: 1px solid rgba(254,252,246,.16); background: rgba(254,252,246,.05);
  color: var(--cream); font-size: 14px; font-weight: 500; text-decoration: none;
  transition: background .2s, border-color .2s;
}
.partner-pill:hover { background: rgba(254,252,246,.11); border-color: rgba(254,252,246,.32); }
.partner-pill .pp-dot {
  flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%;
  background: var(--azure); color: var(--healink-green);
  display: inline-flex; align-items: center; justify-content: center;
}
.partner-pill .pp-dot svg { width: 12px; height: 12px; }
.partner-pill .pp-arrow { flex-shrink: 0; width: 14px; height: 14px; opacity: .55; transition: opacity .2s; }
.partner-pill:hover .pp-arrow { opacity: 1; }

/* ---- Offerings ---- */
.offer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 760px){ .offer-grid { grid-template-columns: 1fr; } }
.offer { border: 1px solid var(--border); border-radius: var(--r-lg); padding: 36px 34px; display: flex; flex-direction: column; gap: 18px; background: var(--surface); }
.offer-price {
  margin-top: auto; align-self: flex-start;
  padding: 8px 16px; border-radius: 4px; background: var(--azure); color: var(--healink-green);
  font-family: var(--font-mono); font-variation-settings: 'ROND' 100,'wght' 900;
  font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
}
.offer-tag { font-family: var(--font-mono); font-variation-settings: 'ROND' 100,'wght' 900; font-size: 12px; letter-spacing: .08em; color: var(--slate); }
.offer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.offer li { display: flex; gap: 11px; align-items: flex-start; font-size: 15px; color: var(--fg-muted); line-height: 1.4; }
.offer li svg { width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--healink-green); }

/* ---- Stats / results ---- */
.results { background: radial-gradient(120% 120% at 50% 0%, var(--warm-1) 0%, var(--cream) 60%); position: relative; overflow: hidden; }
.results .wrap { position: relative; z-index: 1; }
/* huge faint brand mark for background texture/depth */
.results-mark {
  position: absolute; top: 50%; left: 50%; width: min(900px, 92%); height: auto;
  transform: translate(-50%, -48%); opacity: .08; z-index: 0; pointer-events: none;
}
.stats-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px,4vw,56px); }
@media (max-width: 760px){ .stats-row { grid-template-columns: 1fr; gap: 40px; text-align: center; } }
.stat { display: flex; flex-direction: column; gap: 10px; }
.stat-num { font-family: var(--font-display); font-weight: 500; font-size: clamp(46px,6vw,76px); line-height: .9; letter-spacing: -.03em; color: var(--healink-green); }
.stat-num .unit { color: var(--slate); }
.stat-label { font-size: 15px; color: var(--slate); max-width: 24ch; }
@media (max-width:760px){ .stat-label { margin-inline: auto; } }
.stat-divider { height: 1px; background: var(--border); }

/* ---- Calculator teaser ---- */
.calc-teaser { position: relative; overflow: hidden; border-radius: var(--r-xl); background: var(--healink-green); padding: clamp(40px,6vw,72px); display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.calc-teaser .h2 { color: var(--cream); }
.calc-teaser .lead { color: var(--fg-on-dark-mut); }
.calc-visual { display: flex; align-items: center; justify-content: center; }
.calc-meter { width: 100%; max-width: 320px; aspect-ratio: 1/1; position: relative; }
.calc-meter canvas { width: 100%; height: 100%; display: block; }
@media (max-width: 820px){
  .calc-teaser { grid-template-columns: 1fr; }
  .calc-teaser > * { min-width: 0; }
  .calc-visual { width: 100%; }
  .calc-meter { max-width: min(280px, 100%); }
}

/* ---- Testimonial ---- */
.quote-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 820px){ .quote-grid { grid-template-columns: 1fr; } }
.quote-card2 {
  position: relative; overflow: hidden; border-radius: var(--r-xl);
  background: var(--healink-green); padding: clamp(28px, 3vw, 40px);
  display: flex; flex-direction: column; justify-content: space-between; gap: 32px; margin: 0;
}
.quote-card2 blockquote {
  margin: 0; font-family: var(--font-display); font-weight: 500;
  font-size: clamp(19px, 1.6vw, 23px); line-height: 1.22; letter-spacing: -.015em;
  color: var(--cream); text-wrap: pretty;
}
.quote-author { display: flex; align-items: center; gap: 14px; z-index: 1; }
.quote-avatar { width: 50px; height: 50px; border-radius: var(--r-full); overflow: hidden; flex: none; }
.quote-avatar image-slot { width: 50px; height: 50px; }
.quote-name { font-size: 14px; font-weight: 600; color: var(--cream); }
.quote-role { font-size: 13px; color: var(--light-grey); opacity: .7; }

/* ---- Trust / HIPAA ---- */
.trust-row { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
@media (max-width: 820px){ .trust-row { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px){ .trust-row { grid-template-columns: 1fr; } }
.trust-item { display: flex; flex-direction: column; gap: 12px; padding: 26px; border: 1px solid var(--border); border-radius: var(--r-lg); }
.trust-item .ti-ic { width: 40px; height: 40px; border-radius: var(--r-md); background: var(--light-grey); color: var(--healink-green); display: flex; align-items: center; justify-content: center; }
.trust-item .ti-ic svg { width: 21px; height: 21px; }
.trust-item h4 { margin: 0; font-family: var(--font-display); font-weight: 500; font-size: 17px; color: var(--fg); }
.trust-item p { margin: 0; font-size: 14px; color: var(--fg-muted); line-height: 1.5; }

/* ---- FAQ ---- */
.faq { max-width: 820px; margin-inline: auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q { width: 100%; background: none; border: 0; cursor: pointer; text-align: left; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 26px 4px; font-family: var(--font-display); font-weight: 500; font-size: clamp(18px,2.2vw,22px); color: var(--fg); letter-spacing: -.01em; }
.faq-icon { flex: none; width: 26px; height: 26px; position: relative; }
.faq-icon::before, .faq-icon::after { content:""; position: absolute; background: var(--slate); border-radius: 2px; transition: transform .25s ease, opacity .25s ease; }
.faq-icon::before { left: 4px; right: 4px; top: 12px; height: 2px; }
.faq-icon::after { top: 4px; bottom: 4px; left: 12px; width: 2px; }
.faq-item.open .faq-icon::after { transform: scaleY(0); opacity: 0; }
.faq-a { overflow: hidden; max-height: 0; transition: max-height .32s ease; }
.faq-a-inner { padding: 0 4px 26px; max-width: 64ch; }
.faq-a p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--fg-muted); }

/* ---- CTA footer ---- */
.cta { position: relative; overflow: hidden; border-radius: var(--r-xl); background: var(--healink-green); padding: clamp(56px,8vw,104px) var(--gutter); display: flex; flex-direction: column; align-items: center; text-align: center; gap: 30px; }
.cta img.cta-logo { height: 34px; z-index: 1; }
.cta .h2 { color: var(--cream); max-width: 16ch; z-index: 1; }
.cta .lead { color: var(--fg-on-dark-mut); max-width: 48ch; z-index: 1; }
.cta-doto { font-family: var(--font-mono); font-variation-settings: 'ROND' 100,'wght' 900; font-weight: 900; font-size: 15px; letter-spacing: .08em; color: var(--slate); z-index: 1; }

/* ---- Footer ---- */
.foot { background: var(--healink-green); color: var(--fg-on-dark); padding-block: clamp(56px,7vw,88px) 40px; }
.foot-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 56px; border-bottom: 1px solid var(--border-dark); }
@media (max-width: 820px){ .foot-top { grid-template-columns: 1fr 1fr; gap: 36px; } }
@media (max-width: 480px){ .foot-top { grid-template-columns: 1fr; } }
.foot-brand img { height: 30px; margin-bottom: 18px; }
.foot-brand p { font-size: 14px; color: var(--fg-on-dark-mut); max-width: 30ch; line-height: 1.5; margin: 0; }
.foot-col h5 { margin: 0 0 16px; font-family: var(--font-mono); font-variation-settings: 'ROND' 100,'wght' 900; font-size: 11px; letter-spacing: .1em; color: var(--azure); text-transform: uppercase; }
.foot-col a { display: block; font-size: 14.5px; color: var(--fg-on-dark-mut); padding: 6px 0; transition: color .18s; }
.foot-col a:hover { color: var(--cream); }
.foot-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 28px; }
.foot-bottom p { margin: 0; font-size: 13px; color: var(--fg-on-dark-mut); }
.foot-doto { font-family: var(--font-mono); font-variation-settings: 'ROND' 100,'wght' 900; font-size: 13px; letter-spacing: .08em; color: var(--slate); }

/* ---- Scroll reveal — blur dissolve (only hides once JS confirms the motion clock is live) ---- */
[data-reveal] {
  transition:
    opacity .9s cubic-bezier(.22,.61,.36,1),
    transform .9s cubic-bezier(.22,.61,.36,1),
    filter .9s cubic-bezier(.22,.61,.36,1);
  will-change: opacity, transform, filter;
}
html.motion [data-reveal]:not(.in) {
  opacity: 0;
  transform: translateY(18px) scale(.985);
  filter: blur(14px);
}
html.motion [data-reveal].in {
  opacity: 1;
  transform: none;
  filter: none;
}
/* drop the GPU hint once settled so text stays crisp */
html.motion [data-reveal].in { will-change: auto; }
[data-reveal-delay="1"]{ transition-delay: .10s; }
[data-reveal-delay="2"]{ transition-delay: .20s; }
[data-reveal-delay="3"]{ transition-delay: .30s; }
[data-reveal-delay="4"]{ transition-delay: .40s; }
@media (prefers-reduced-motion: reduce){ html.motion [data-reveal]{ opacity: 1 !important; transform: none !important; filter: none !important; transition: none; } }

/* hide tweak-controlled variants */
[data-variant]{ display: none; }
[data-variant].active-variant { display: block; }
.steps[data-variant].active-variant, .feat-grid[data-variant].active-variant { display: grid; }
.accordion[data-variant].active-variant { display: flex; }
.flow[data-variant].active-variant { display: flex; }
