/* AI Customer Account Hub landing page v2. Builds on home-pro / font-makro / cta-makro / cbv-lp
   and only adds ahh- (hero) / acc- (the mock account page) / ahv- classes.
   The hero is the one loud thing: a pinned stage where a plain account page builds itself as you scroll.
   Everything after it stays quiet and uses the family's bands, heads and pills. */

.ahv-page {
  --acc-ink: #1f2a44;     /* the mock store's navy */
  --acc-hot: #e2553f;     /* the mock store's coral */
  --acc-sand: #f6f3ee;
  --star: #f2a516;
  --st-grey: #5f6470; --st-grey-bg: #eef0f3;
  --st-draft: #8a5a00; --st-draft-bg: #fff1d6;
  --st-live: #24704a;  --st-live-bg: #e2f4e9;
  --st-wait: #2b5fb3;  --st-wait-bg: #e3edff;
}

/* =========================== 1. HERO: the empty room =========================== */
.ahh { position: relative; margin: 0 10px; border-radius: 26px; background: radial-gradient(60% 40% at 85% 8%, rgba(185, 156, 255, 0.55), rgba(185, 156, 255, 0) 70%), radial-gradient(50% 30% at 0% 30%, rgba(220, 207, 255, 0.7), rgba(220, 207, 255, 0) 70%), linear-gradient(180deg, #f1ebff 0%, #f7f4ff 50%, #fbfaff 100%); }
.ahh.is-pin { height: 560vh; }
.ahh__pin { position: relative; display: flex; flex-direction: column; padding: 118px 0 56px; }
.ahh { --ahh-p: clamp(24px, 5.5vh, 60px); }
.ahh.is-pin .ahh__pin { position: sticky; top: 0; height: 100vh; height: 100svh; padding: var(--ahh-p) 0; overflow: hidden; }
.ahh.is-pin .ahh__in, .ahh.is-pin .ahh__foot { width: calc(100% - 2 * var(--ahh-p)); }
/* spare height (a wide screen where the page is limited by width) goes equally above and below */
.ahh.is-pin .ahh__pin { justify-content: center; }
.ahh.is-pin .ahh__in { flex: none; }
/* while the hero fills the screen, the site header and the bottom blur step aside so the spacing stays even */
html.ahh-stuck .hd:not(.is-open) { transform: translateY(-110%); }
html.ahh-stuck .fade { opacity: 0 !important; }
.ahh__in { display: grid; grid-template-columns: minmax(0, 480px) minmax(0, 1fr); align-items: center; gap: clamp(32px, 4vw, 64px); width: min(var(--wrap), 100% - 48px); margin: 0 auto; flex: 1; min-height: 0; }

.ahh__pill { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 20px; padding: 4px 14px 4px 4px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px rgba(125, 64, 255, 0.18); font-size: 13.5px; color: #4a2ab0; }
.ahh__pill b { padding: 4px 11px; border-radius: 999px; background: var(--brand); font-weight: 600; color: #fff; }
.ahh h1 { font-size: clamp(40px, 4.2vw, 62px); font-weight: 500; line-height: 1.05; letter-spacing: -0.04em; text-wrap: balance; }
.ahh__lede { max-width: 34em; margin-top: 18px; font-size: 17px; line-height: 1.55; color: var(--ink-2); }

/* the five things you add; the active one opens, finished ones get a tick */
.ahh__steps { list-style: none; display: grid; gap: 2px; margin: 26px 0 0; padding: 0; counter-reset: s; }
.ahh__steps button { display: flex; align-items: flex-start; gap: 12px; width: 100%; padding: 8px 10px; border: 0; border-radius: 14px; background: none; text-align: left; cursor: pointer; transition: background 0.3s ease; }
.ahh__steps button:hover { background: rgba(125, 64, 255, 0.06); }
.ahh__steps button:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.ahh__n { flex: none; display: grid; place-items: center; width: 26px; height: 26px; margin-top: 1px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 1.5px #d9cdfb; font-size: 13px; font-weight: 600; color: #4a2ab0; transition: background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease; }
.ahh__steps b { display: block; font-size: 16px; font-weight: 600; line-height: 1.6; color: var(--ink); }
.ahh__steps em { display: block; font-style: normal; font-size: 14.5px; line-height: 1.45; color: var(--ink-2); }
.ahh.is-live:not(.is-static) .ahh__steps b { color: var(--ink-3); transition: color 0.3s ease; }
.ahh.is-live:not(.is-static) .ahh__steps em { max-height: 0; overflow: hidden; opacity: 0; transition: max-height 0.45s var(--ease), opacity 0.3s ease; }
.ahh__steps li.is-on b, .ahh__steps li.is-done b { color: var(--ink) !important; }
.ahh__steps li.is-on em { max-height: 64px !important; opacity: 1 !important; }
.ahh__steps li.is-on .ahh__n { background: var(--brand); color: #fff; box-shadow: 0 6px 16px -6px rgba(125, 64, 255, 0.8); }
.ahh__steps li.is-done .ahh__n { background: #ede6ff; box-shadow: none; color: transparent; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237d40ff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E"); background-size: 14px; background-position: center; background-repeat: no-repeat; }

.ahh__act { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 26px; }
.ahh__link { font-size: 16px; font-weight: 500; color: #4a2ab0; text-decoration: underline; text-decoration-color: rgba(74, 42, 176, 0.35); text-underline-offset: 4px; }
.ahh__link:hover { text-decoration-color: currentColor; }

/* foot: scroll hint, the closing line and a progress rail (pinned mode only) */
.ahh__foot { display: none; }
.ahh.is-pin .ahh__foot { position: relative; display: flex; align-items: center; justify-content: center; gap: 16px; width: min(var(--wrap), 100% - 48px); height: 34px; margin: 6px auto 0; }
.ahh__hint, .ahh__done { position: absolute; left: 50%; display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; white-space: nowrap; transform: translateX(-50%); transition: opacity 0.4s ease, transform 0.5s var(--ease); }
.ahh__hint { color: var(--ink-2); }
.ahh__hint svg { width: 16px; height: 16px; animation: ahh-bob 1.8s ease-in-out infinite; }
.ahh__done { font-size: 16px; font-weight: 600; color: #4a2ab0; opacity: 0; transform: translate(-50%, 8px); }
.ahh.s1 .ahh__hint { opacity: 0; transform: translate(-50%, -6px); }
.ahh.s6 .ahh__done { opacity: 1; transform: translate(-50%, 0); }
.ahh__rail { position: absolute; left: 0; right: 0; bottom: -4px; height: 3px; border-radius: 3px; background: rgba(125, 64, 255, 0.12); overflow: hidden; }
.ahh__rail i { position: absolute; inset: 0; background: var(--brand); transform: scaleX(var(--p, 0)); transform-origin: left; }
@keyframes ahh-bob { 50% { transform: translateY(3px); } }

/* ---------- the stage: one fixed-size canvas (760 x 580) scaled to fit by ahv-lp.js ---------- */
.ahh__stage { position: relative; z-index: 0; width: 100%; height: 580px; }
/* the builder's canvas: a dotted grid behind the stage, fading out at the edges */
.ahh__stage::before { content: ""; position: absolute; inset: -48px -24px; z-index: -1; background-image: radial-gradient(rgba(125, 64, 255, 0.22) 1.2px, transparent 1.6px); background-size: 20px 20px; -webkit-mask-image: radial-gradient(closest-side, #000 55%, transparent); mask-image: radial-gradient(closest-side, #000 55%, transparent); pointer-events: none; }
.ahh__canvas { position: absolute; left: var(--cx, 0px); top: 0; width: var(--cw, 760px); height: 580px; transform: scale(var(--k, 1)); transform-origin: 0 0; }

/* the block palette */
.ahh__pal { position: absolute; left: 0; top: 96px; z-index: 3; display: flex; flex-direction: column; gap: 8px; width: 146px; padding: 14px 12px; border-radius: 20px; background: #fff; box-shadow: inset 0 0 0 1px #ebe4fd; }
.ahh__pal-h { margin: 0 2px 2px; font-size: 12px; font-weight: 600; color: var(--ink-3); }
.ahh__chip { display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 10px; border-radius: 11px; background: #f6f2ff; font-size: 13.5px; font-weight: 500; color: #3b2394; transition: opacity 0.35s ease, transform 0.35s var(--ease), box-shadow 0.35s ease, background 0.35s ease; }
.ahh__chip svg { flex: none; width: 17px; height: 17px; }
.ahh__chip.is-lift { transform: translateY(-2px) scale(1.04); background: #fff; box-shadow: 0 10px 22px -10px rgba(76, 36, 190, 0.6), inset 0 0 0 1.5px var(--brand); }
.ahh.s1 [data-chip="1"], .ahh.s2 [data-chip="2"], .ahh.s3 [data-chip="3"], .ahh.s4 [data-chip="4"], .ahh.s5 [data-chip="5"] { opacity: 0.45; background: #f3f3f6; color: var(--ink-2); }

/* the browser window */
.ahh__win { position: absolute; left: 140px; right: 0; top: 0; height: 580px; overflow: hidden; border-radius: 22px; background: #fff; box-shadow: 0 0 0 1px rgba(76, 36, 190, 0.1); transition: box-shadow 0.6s ease; }
.ahh.s6 .ahh__win { box-shadow: 0 0 0 4px rgba(125, 64, 255, 0.22); }
.ahh__bar { display: flex; align-items: center; gap: 6px; height: 38px; padding: 0 16px; background: #f4f2f8; }
.ahh__bar i { width: 10px; height: 10px; border-radius: 50%; background: #dcd7e6; }
.ahh__bar span { margin-left: 14px; padding: 4px 12px; border-radius: 8px; background: #fff; font-size: 12px; color: var(--ink-3); }
.ahh__tag { position: absolute; right: 12px; top: 6px; z-index: 2; display: flex; align-items: center; gap: 8px; height: 26px; padding: 0 4px 0 12px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px #e6e2ee; font-size: 12px; }
.ahh__tag b { font-weight: 600; }
.ahh__st { display: none; padding: 2px 9px; border-radius: 999px; font-style: normal; font-size: 11.5px; font-weight: 600; }
.ahh__st--0 { background: var(--st-grey-bg); color: var(--st-grey); }
.ahh__st--1 { background: var(--st-draft-bg); color: var(--st-draft); }
.ahh__st--2 { background: var(--st-live-bg); color: var(--st-live); }
.ahh.is-live:not(.s1) .ahh__st--0 { display: inline-block; }
.ahh.is-live.s1:not(.s6) .ahh__st--1 { display: inline-block; }
.ahh.s6 .ahh__st--2, .ahh:not(.is-live) .ahh__st--2 { display: inline-block; }
.ahh__toast { position: absolute; left: 50%; bottom: 18px; z-index: 3; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px 10px 12px; border-radius: 12px; background: var(--ink); font-size: 13.5px; font-weight: 500; color: #fff; box-shadow: 0 16px 30px -12px rgba(0, 0, 0, 0.5); transform: translate(-50%, 0); transition: opacity 0.4s ease, transform 0.5s var(--ease); }
.ahh__toast svg { width: 16px; height: 16px; color: #8de0a8; stroke-width: 3; }
.ahh.is-live:not(.s6) .ahh__toast { opacity: 0; transform: translate(-50%, 16px); }
.ahh.is-static .ahh__toast { display: none; }

/* the cursor and the block it carries */
.ahh__cur { position: absolute; left: 0; top: 0; z-index: 6; display: none; width: 26px; height: 26px; transform: translate(600px, 300px); pointer-events: none; }
.ahh.is-live:not(.is-static) .ahh__cur { display: block; }
.ahh__cur svg { position: relative; z-index: 1; width: 26px; height: 26px; fill: #fff; stroke: var(--ink); stroke-width: 1.6; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.25)); }
.ahh__ghost { position: absolute; left: 14px; top: 16px; display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 12px; border-radius: 11px; background: #fff; font-size: 13.5px; font-weight: 500; color: #3b2394; white-space: nowrap; box-shadow: 0 16px 30px -12px rgba(76, 36, 190, 0.7), inset 0 0 0 1.5px var(--brand); opacity: 0; transform: scale(0.8) rotate(-4deg); transition: opacity 0.2s ease, transform 0.3s var(--ease); }
.ahh__ghost svg { width: 17px; height: 17px; }
.ahh__cur.is-grab .ahh__ghost { opacity: 1; transform: scale(1) rotate(-4deg); }

/* ============ the mock account page (also copied into the before/after slider) ============ */
.acc { position: relative; height: 542px; background: #fff; font-size: 13px; color: var(--acc-ink); transition: filter 0.8s ease; }
.acc__top { display: flex; align-items: center; gap: 18px; height: 46px; padding: 0 18px; border-bottom: 1px solid #eceaf0; font-size: 12.5px; color: #6b7080; }
.acc__logo { margin-right: auto; font-family: Georgia, "Times New Roman", serif; font-size: 17px; font-weight: 700; letter-spacing: -0.01em; color: var(--acc-ink); }
.acc__me { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--acc-ink); font-style: normal; font-size: 12px; font-weight: 600; color: #fff; }
.acc__body { display: grid; grid-template-columns: var(--sw, 128px) minmax(0, 1fr); grid-template-rows: minmax(0, 1fr); gap: var(--sg, 12px); height: 496px; padding: 14px; background: var(--acc-sand); transition: grid-template-columns 0.8s var(--ease), gap 0.8s var(--ease); }
.acc__side { display: flex; flex-direction: column; gap: 3px; min-width: 0; padding: 10px 8px; overflow: hidden; border-radius: 14px; background: #fff; transition: opacity 0.5s ease 0.25s; }
.acc__side span { display: flex; align-items: center; gap: 8px; height: 32px; padding: 0 8px; border-radius: 9px; font-size: 12.5px; white-space: nowrap; color: #4c5366; }
.acc[data-page="home"] [data-nav="home"], .acc[data-page="rev"] [data-nav="rev"], .acc[data-page="wish"] [data-nav="wish"], .acc[data-page="loy"] [data-nav="loy"], .acc[data-page="sup"] [data-nav="sup"] { background: var(--acc-ink); color: #fff; }
.acc__side span { transition: background 0.3s ease, color 0.3s ease; }
.acc__side svg { flex: none; width: 15px; height: 15px; }
.acc__main { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 84px repeat(3, minmax(0, 1fr)); grid-template-areas: "head head" "ord wish" "ord tkt" "loy prof"; gap: 10px; min-width: 0; }
.acc__head { position: relative; grid-area: head; }
.acc__plain { position: absolute; left: 2px; bottom: 10px; font-size: 22px; font-weight: 600; color: #3a3f4d; transition: opacity 0.4s ease; }
.acc__banner { position: absolute; inset: 0; display: flex; align-items: center; gap: 12px; padding: 0 18px; overflow: hidden; border-radius: 14px; background: radial-gradient(80% 140% at 100% 0%, rgba(226, 85, 63, 0.55), rgba(226, 85, 63, 0) 60%), var(--acc-ink); color: #fff; transition: opacity 0.6s ease, transform 0.7s var(--ease); }
.acc__banner p { flex: 1; min-width: 0; }
.acc__banner small { display: block; font-size: 11.5px; color: rgba(255, 255, 255, 0.7); }
.acc__banner b { display: block; font-family: Georgia, "Times New Roman", serif; font-size: 18px; font-weight: 700; line-height: 1.2; }
.acc__shop { flex: none; padding: 8px 12px; border-radius: 9px; background: #fff; font-size: 12px; font-weight: 600; color: var(--acc-ink); }
.acc__coupon { flex: none; display: grid; justify-items: center; padding: 6px 10px; border: 1.5px dashed rgba(255, 255, 255, 0.7); border-radius: 10px; line-height: 1.2; transition: opacity 0.5s ease, transform 0.6s var(--ease); }
.acc__coupon small { font-size: 10px; color: rgba(255, 255, 255, 0.75); }
.acc__coupon b { font-family: inherit; font-size: 13px; letter-spacing: 0.04em; }
.acc__coupon em { font-style: normal; font-size: 10.5px; color: #ffd0c6; }
.acc__card { min-width: 0; padding: 12px 14px; overflow: hidden; border-radius: 14px; background: #fff; transition: opacity 0.5s ease, transform 0.6s var(--ease); }
.acc__h { margin-bottom: 8px; font-size: 12.5px; font-weight: 700; color: var(--acc-ink); }
.acc__orders { grid-area: ord; display: flex; flex-direction: column; }
.acc__ord { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid #f0eee9; }
.acc__ord:last-child { border-bottom: 0; }
.acc__ord img { width: 46px; height: 46px; border-radius: 10px; object-fit: cover; background: #f2efe9; }
.acc__ord b { display: block; font-size: 12.5px; font-weight: 600; }
.acc__ord em { font-style: normal; font-size: 11.5px; color: #6b7080; }
.acc__rate { display: flex; align-items: center; justify-content: space-between; max-height: 40px; margin: 2px 0 4px; padding: 7px 10px; overflow: hidden; border-radius: 10px; background: #fff7e6; font-size: 12px; font-weight: 500; transition: max-height 0.6s var(--ease), opacity 0.4s ease, padding 0.6s var(--ease), margin 0.6s var(--ease); }
.acc__stars { display: inline-flex; gap: 2px; font-style: normal; font-size: 16px; line-height: 1; }
.acc__stars u { text-decoration: none; color: var(--star); }
/* the wishlist tiles fill the card's real height (no forced square), so they never get cut off when
   the page is drawn wider (before/after section); the product is shown whole, not cropped */
.acc__wish { grid-area: wish; display: flex; flex-direction: column; }
.acc__wl { flex: 1; min-height: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: minmax(0, 1fr); gap: 8px; }
.acc__wl span { position: relative; min-height: 0; max-height: 120px; overflow: hidden; border-radius: 10px; background: #f2efe9; }
.acc__wl img { display: block; width: 100%; height: 100%; padding: 8%; object-fit: contain; border-radius: 10px; }
.acc__wl i { position: absolute; right: 4px; top: 4px; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: #fff; color: var(--acc-hot); }
.acc__wl i svg { width: 12px; height: 12px; fill: currentColor; }
.acc__tkt { grid-area: tkt; }
.acc__tr { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 12px; }
.acc__tr b { font-weight: 600; }
.acc__pill { position: relative; display: inline-grid; flex: none; }
.acc__pill em { grid-area: 1 / 1; padding: 2px 8px; border-radius: 999px; font-style: normal; font-size: 11px; font-weight: 600; text-align: center; }
.acc__open { background: var(--st-draft-bg); color: var(--st-draft); opacity: 0; }
.acc__done { background: var(--st-live-bg); color: var(--st-live); }
.acc__msg { display: flex; align-items: center; gap: 7px; margin-top: 10px; padding: 7px 9px; border-radius: 10px; background: #f4f6fb; font-size: 11.5px; color: #4c5366; }
.acc__msg i { display: grid; place-items: center; flex: none; width: 20px; height: 20px; border-radius: 50%; background: var(--acc-hot); font-style: normal; font-size: 10px; font-weight: 700; color: #fff; }
.acc__loy { grid-area: loy; }
.acc__pts { font-size: 12px; color: #6b7080; }
.acc__pts b { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; color: var(--acc-ink); font-variant-numeric: tabular-nums; }
.acc__meter { display: block; height: 7px; margin: 6px 0 5px; overflow: hidden; border-radius: 7px; background: #f0ece5; }
.acc__meter i { display: block; width: 83%; height: 100%; border-radius: 7px; background: linear-gradient(90deg, var(--acc-hot), #f08a5d); }
.acc__next { font-size: 11px; color: #6b7080; }
.acc__prof { grid-area: prof; }
.acc__kv { display: flex; justify-content: space-between; gap: 8px; padding: 5px 0; border-bottom: 1px solid #f0eee9; font-size: 12px; }
.acc__kv:last-child { border-bottom: 0; }
.acc__kv span { color: #6b7080; }
.acc__kv b { font-weight: 600; }

/* ---------- the tool pages: wishlist, order review, support and rewards, one at a time ---------- */
.acc__pages { position: relative; min-width: 0; }
.acc .pg { position: absolute; inset: 0; opacity: 0; visibility: hidden; transform: translateX(16px); transition: opacity 0.4s ease, transform 0.55s var(--ease), visibility 0s linear 0.4s; }
.acc[data-page="home"] .pg--home, .acc[data-page="wish"] .pg--wish, .acc[data-page="rev"] .pg--rev, .acc[data-page="sup"] .pg--sup, .acc[data-page="loy"] .pg--loy { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.pg:not(.pg--home) { display: flex; flex-direction: column; gap: 10px; }
.pg__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 2px 2px 0; }
.pg__head b { display: block; font-family: Georgia, "Times New Roman", serif; font-size: 19px; font-weight: 700; color: var(--acc-ink); }
.pg__head em { font-style: normal; font-size: 11.5px; color: #6b7080; }
.pg__btn { flex: none; padding: 7px 12px; border-radius: 9px; background: var(--acc-ink); font-size: 11.5px; font-weight: 600; color: #fff; text-align: center; white-space: nowrap; }
.pg__btn--line { background: #fff; box-shadow: inset 0 0 0 1px #d9d4cc; color: var(--acc-ink); }
.pg__pill { flex: none; padding: 3px 10px; border-radius: 999px; background: var(--st-grey-bg); font-size: 11px; font-weight: 600; color: var(--st-grey); }
.pg__pill--ok { background: var(--st-live-bg); color: var(--st-live); }
.pg__pill--wait { background: var(--st-draft-bg); color: var(--st-draft); }
.pg__pill--gold { background: #fff1d6; color: #8a5a00; }
.pg__drop { flex: 1; min-height: 0; border-radius: 14px; transition: opacity 0.5s ease, transform 0.6s var(--ease); }

/* wishlist */
.wsh { flex: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; align-content: start; }
.wsh__seen { flex: 1; min-height: 0; padding: 12px 14px; border-radius: 14px; background: #fff; transition: opacity 0.5s ease 0.25s, transform 0.6s var(--ease) 0.25s; }
.wsh__seen-h { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.wsh__seen-h b { font-size: 12.5px; font-weight: 700; }
.wsh__seen-h em { font-style: normal; font-size: 10.5px; color: #6b7080; }
.wsh__seen-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.wsh__seen-row span { display: grid; grid-template-columns: 38px minmax(0, 1fr); column-gap: 8px; align-items: center; }
.wsh__seen-row img { grid-row: span 2; width: 38px; height: 38px; border-radius: 9px; background: #f2efe9; }
.wsh__seen-row b { font-size: 11px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wsh__seen-row em { font-style: normal; font-size: 10.5px; color: #6b7080; }
.wsh__card { display: flex; flex-direction: column; gap: 6px; padding: 8px; border-radius: 14px; background: #fff; }
.wsh__img { position: relative; display: block; height: 100px; border-radius: 10px; background: #f2efe9; }
.wsh__img img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; }
.wsh__hue { filter: hue-rotate(150deg) saturate(0.55) brightness(1.15); }
.wsh__h { position: absolute; right: 6px; top: 6px; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #fff; color: var(--acc-hot); }
.wsh__h svg { width: 12px; height: 12px; fill: currentColor; }
.wsh__tag { position: absolute; left: 6px; bottom: 6px; padding: 2px 7px; border-radius: 999px; background: var(--st-live-bg); font-style: normal; font-size: 9.5px; font-weight: 700; color: var(--st-live); }
.wsh__tag--hot { background: #ffe4dc; color: #b23a22; }
.wsh__card p { display: flex; justify-content: space-between; gap: 4px; font-size: 11.5px; }
.wsh__card p b { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wsh__card p span { flex: none; color: #4c5366; }
.wsh__card s { color: #9a9ca3; }

/* order review */
.rvw { display: flex; flex-direction: column; gap: 9px; padding: 14px; background: #fff; }
.rvw__item { display: flex; align-items: center; gap: 10px; }
.rvw__item img, .rvw__more img { width: 44px; height: 44px; border-radius: 10px; background: #f2efe9; }
.rvw__item p, .rvw__more p { flex: 1; min-width: 0; }
.rvw__item b, .rvw__more b { display: block; font-size: 12.5px; font-weight: 600; }
.rvw__item em, .rvw__more em { font-style: normal; font-size: 11px; color: #6b7080; }
.rvw__jm { flex: none; padding: 4px 9px; border-radius: 999px; background: var(--ink); font-size: 10.5px; font-weight: 600; color: #fff; }
.rvw__q { font-size: 12.5px; font-weight: 600; }
.rvw__stars { display: flex; gap: 3px; font-size: 22px; line-height: 1; }
.rvw__stars u { text-decoration: none; color: var(--star); }
.rvw__box { min-height: 48px; padding: 9px 11px; border-radius: 10px; background: #f7f5f0; box-shadow: inset 0 0 0 1px #ebe6dc; font-size: 12px; line-height: 1.45; color: var(--acc-ink); }
.rvw__foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; }
.rvw__fit { display: flex; gap: 6px; }
.rvw__fit span { padding: 5px 10px; border-radius: 999px; box-shadow: inset 0 0 0 1px #e1dcd2; font-size: 11px; color: #4c5366; }
.rvw__fit .is-on { background: var(--acc-ink); box-shadow: none; color: #fff; }
.rvw__photo { display: flex; align-items: center; gap: 8px; font-size: 11.5px; font-weight: 600; color: #4c5366; }
.rvw__photo i { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; border: 1.5px dashed #c9c2b5; font-style: normal; font-size: 15px; color: #9a9ca3; }
.rvw__pts { padding: 4px 9px; border-radius: 999px; background: #fff7e6; font-size: 11px; font-weight: 600; color: #8a5a00; }
.rvw__more { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; background: #fff; }

/* support */
.sup { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 10px; }
.sup__list { display: flex; flex-direction: column; gap: 4px; padding: 8px; border-radius: 14px; background: #fff; }
.sup__t { display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 8px; border-radius: 10px; }
.sup__t.is-on { background: #f4f1fb; }
.sup__t > span:first-child { min-width: 0; }
.sup__t b { display: block; font-size: 12px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sup__t em { font-style: normal; font-size: 10.5px; color: #6b7080; }
.sup__thread { display: flex; flex-direction: column; gap: 8px; padding: 12px; border-radius: 14px; background: #fff; }
.sup__h { padding-bottom: 8px; border-bottom: 1px solid #f0eee9; }
.sup__h b { display: block; font-size: 13px; font-weight: 700; }
.sup__h em { font-style: normal; font-size: 11px; color: #6b7080; }
.sup__me, .sup__us { max-width: 88%; padding: 8px 10px; border-radius: 12px; font-size: 11.5px; line-height: 1.4; }
.sup__me { align-self: flex-end; border-bottom-right-radius: 4px; background: var(--acc-ink); color: #fff; }
.sup__us { display: flex; gap: 7px; border-bottom-left-radius: 4px; background: #f4f6fb; color: #2c3242; }
.sup__us i { display: grid; place-items: center; flex: none; width: 20px; height: 20px; border-radius: 50%; background: var(--acc-hot); font-style: normal; font-size: 10px; font-weight: 700; color: #fff; }
.sup__sys { align-self: center; padding: 3px 10px; border-radius: 999px; background: var(--st-live-bg); font-size: 10.5px; font-weight: 600; color: var(--st-live); }
.sup__reply { margin-top: auto; padding: 8px 10px; border-radius: 10px; box-shadow: inset 0 0 0 1px #e6e2ee; font-size: 11.5px; color: #9a9ca3; }

/* rewards */
.loy { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto auto auto; gap: 8px; align-content: start; }
.loy > div { padding: 10px 12px; border-radius: 14px; background: #fff; }
.loy small { display: block; font-size: 11px; color: #6b7080; }
.loy__pts { grid-row: span 2; display: flex; flex-direction: column; justify-content: center; background: radial-gradient(90% 120% at 100% 0%, rgba(226, 85, 63, 0.5), rgba(226, 85, 63, 0) 60%), var(--acc-ink) !important; color: #fff; }
.loy__pts small { color: rgba(255, 255, 255, 0.7); }
.loy__pts b { font-size: 32px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.loy__pts .acc__meter { height: 8px; margin: 10px 0 6px; background: rgba(255, 255, 255, 0.18); }
.loy__pts em { font-style: normal; font-size: 11px; color: rgba(255, 255, 255, 0.75); }
.loy__h { margin-bottom: 4px; font-size: 12px; font-weight: 700; }
.loy__earn p:not(.loy__h) { display: flex; justify-content: space-between; gap: 6px; padding: 4px 0; border-bottom: 1px solid #f0eee9; font-size: 11px; }
.loy__earn p:last-child { border-bottom: 0; }
.loy__earn p b { flex: none; color: var(--acc-hot); }
.loy__code { display: flex; align-items: center; gap: 8px; box-shadow: inset 0 0 0 1.5px #f2b4a6; }
.loy__code p { flex: 1; min-width: 0; line-height: 1.3; }
.loy__code b { display: block; font-size: 15px; letter-spacing: 0.05em; }
.loy__code em { font-style: normal; font-size: 10.5px; color: #6b7080; }
.loy__ref { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; background: #f4f1fb !important; }
.loy__ref b { font-size: 12.5px; }
.loy__ref em { margin-left: auto; font-style: normal; font-size: 11px; color: #4a2ab0; }
.loy__ref small { margin-right: 4px; }
.loy__red { grid-column: 1 / -1; }
.loy__red p:not(.loy__h) { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 4px 0; border-bottom: 1px solid #f0eee9; }
.loy__red p:last-child { border-bottom: 0; padding-bottom: 0; }
.loy__red b { display: block; font-size: 12px; font-weight: 600; }
.loy__red em { font-style: normal; font-size: 10.5px; color: #6b7080; }

/* ---------- support as a chat: agent header, timed messages, typing dots, a rich card, quick replies, composer ---------- */
.sup { grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr); }
.cht { gap: 0 !important; padding: 0 !important; overflow: hidden; }
.cht__top { display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-bottom: 1px solid #f0eee9; }
.cht__top p { flex: 1; min-width: 0; line-height: 1.2; }
.cht__top b { display: block; font-size: 12.5px; font-weight: 700; }
.cht__top em { font-style: normal; font-size: 10.5px; color: var(--st-live); }
.cht__id { padding: 2px 8px; border-radius: 999px; background: #f4f1fb; font-size: 10px; font-weight: 600; color: #4a2ab0; }
.cht__av { position: relative; display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--acc-hot); font-style: normal; font-size: 12px; font-weight: 700; color: #fff; }
.cht__av u { position: absolute; right: -1px; bottom: -1px; width: 9px; height: 9px; border-radius: 50%; background: #2fbf71; box-shadow: 0 0 0 2px #fff; }
.cht__av--s { width: 20px; height: 20px; font-size: 9.5px; }
.cht__body { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 6px; padding: 10px 12px 6px; background: linear-gradient(180deg, #fbfaf8, #fff); }
.cht__m { display: flex; flex-direction: column; max-width: 86%; font-size: 11.5px; line-height: 1.4; }
.cht__m span { padding: 7px 10px; border-radius: 12px; }
.cht__m small { margin-top: 2px; font-size: 9.5px; color: #9a9ca3; }
.cht__m small b { color: #4a7dff; font-weight: 700; letter-spacing: -0.15em; }
.cht__m--me { align-self: flex-end; align-items: flex-end; }
.cht__m--me span { border-bottom-right-radius: 4px; background: var(--acc-ink); color: #fff; }
.cht__m--us { flex-direction: row; align-items: flex-end; gap: 6px; }
.cht__m--us span { border-bottom-left-radius: 4px; background: #f1f2f6; color: #2c3242; }
.cht__typing { display: flex; align-items: flex-end; gap: 6px; height: 0; overflow: hidden; opacity: 0; }
.cht__typing span { display: flex; gap: 3px; padding: 8px 10px; border-radius: 12px; border-bottom-left-radius: 4px; background: #f1f2f6; }
.cht__typing u { width: 5px; height: 5px; border-radius: 50%; background: #9a9ca3; animation: cht-dot 1s ease-in-out infinite; }
.cht__typing u:nth-child(2) { animation-delay: 0.15s; } .cht__typing u:nth-child(3) { animation-delay: 0.3s; }
.cht__card { display: flex; align-items: center; gap: 8px; margin-left: 26px; padding: 6px 8px; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1px #ebe6dc; }
.cht__card img { width: 30px; height: 30px; border-radius: 8px; background: #f2efe9; }
.cht__card p { flex: 1; min-width: 0; line-height: 1.25; }
.cht__card b { display: block; font-size: 11px; font-weight: 700; }
.cht__card em { font-style: normal; font-size: 10px; color: #6b7080; }
.cht__card > span { padding: 4px 8px; border-radius: 8px; background: var(--acc-ink); font-size: 10px; font-weight: 600; color: #fff; }
.cht__sys { align-self: center; padding: 3px 10px; border-radius: 999px; background: var(--st-live-bg); font-size: 10px; font-weight: 600; color: var(--st-live); }
.cht__quick { display: flex; flex-wrap: wrap; gap: 5px; padding: 0 12px 8px; }
.cht__quick span { padding: 4px 9px; border-radius: 999px; box-shadow: inset 0 0 0 1px #d9cdfb; font-size: 10px; font-weight: 600; color: #4a2ab0; }
.cht__in { display: flex; align-items: center; gap: 8px; margin: 0 10px 10px; padding: 5px 5px 5px 10px; border-radius: 12px; box-shadow: inset 0 0 0 1px #e6e2ee; font-size: 11px; color: #9a9ca3; }
.cht__in span { flex: 1; }
.cht__clip svg { width: 14px; height: 14px; color: #9a9ca3; }
.cht__in b { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: var(--brand); color: #fff; }
.cht__in b svg { width: 14px; height: 14px; stroke-width: 2.4; }
@keyframes cht-dot { 0%, 100% { transform: translateY(0); opacity: 0.5; } 50% { transform: translateY(-3px); opacity: 1; } }
/* the conversation plays once when the support step lands */
.ahh.is-live.s4 .cht__m, .ahh.is-live.s4 .cht__card, .ahh.is-live.s4 .cht__sys, .ahh.is-live.s4 .cht__quick { animation: cht-in 0.45s var(--ease) var(--d, 0s) both; }
.ahh.is-live.s4 .cht__typing { animation: cht-typing 1.5s ease 0.5s both; }
.ahh.is-live.s4 .sup__t .acc__open { animation: ahh-out 3.2s ease both; }
.ahh.is-live.s4 .sup__t .acc__done { animation: ahh-in 3.2s ease both; }
@keyframes cht-in { from { opacity: 0; transform: translateY(8px) scale(0.96); } to { opacity: 1; transform: none; } }
@keyframes cht-typing { 0% { height: 0; opacity: 0; } 10%, 85% { height: 26px; opacity: 1; } 100% { height: 0; opacity: 0; } }

/* ---------- every tool page fills its whole window: the last block takes the spare height and spreads its rows ---------- */
.wsh__more { flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; transition: opacity 0.5s ease 0.25s, transform 0.6s var(--ease) 0.25s; }
.wsh__box { display: flex; flex-direction: column; min-height: 0; padding: 10px 12px; border-radius: 14px; background: #fff; }
.wsh__box-h { display: flex; align-items: baseline; justify-content: space-between; gap: 6px; margin-bottom: 2px; }
.wsh__box-h b { font-size: 12.5px; font-weight: 700; }
.wsh__box-h em { font-style: normal; font-size: 10px; color: #6b7080; }
.wsh__row { flex: 1; display: flex; align-items: center; gap: 8px; min-height: 0; border-top: 1px solid #f0eee9; }
.wsh__box-h + .wsh__row { border-top: 0; }
.wsh__row img { flex: none; width: 34px; height: 34px; border-radius: 9px; background: #f2efe9; object-fit: cover; }
.wsh__row span { flex: 1; min-width: 0; line-height: 1.25; }
.wsh__row b { display: block; font-size: 11.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wsh__row em { font-style: normal; font-size: 10.5px; color: #6b7080; }
.wsh__chip { flex: none; padding: 2px 7px; border-radius: 999px; background: var(--st-live-bg); font-style: normal; font-size: 9.5px; font-weight: 700; color: var(--st-live); }
.wsh__chip--hot { background: #ffe4dc; color: #b23a22; }
.wsh__tog { position: relative; flex: none; width: 26px; height: 15px; border-radius: 999px; background: var(--acc-ink); }
.wsh__tog::after { content: ""; position: absolute; right: 2px; top: 2px; width: 11px; height: 11px; border-radius: 50%; background: #fff; }
.wsh__ol { flex: none; color: var(--acc-hot); }
.wsh__ol svg { width: 15px; height: 15px; }
/* order review: the form spreads over the card instead of leaving a gap */
.rvw { justify-content: space-between; }
.rvw__foot { margin-top: 0; }
/* support: tickets share the column's height, and the chat spreads from the top */
.sup__t { flex: 1; min-height: 0; }
.cht__body { justify-content: space-between; }
.cht__day { display: flex; align-items: center; gap: 8px; font-size: 9.5px; font-weight: 600; color: #9a9ca3; }
.cht__day::before, .cht__day::after { content: ""; flex: 1; height: 1px; background: #ece9e3; }
.cht__open { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 10px; background: #f6f4ef; font-size: 10.5px; color: #4c5366; }
.cht__open img { width: 24px; height: 24px; border-radius: 6px; }
.cht__open b { color: var(--acc-ink); }
/* rewards: the cards stretch to the window */
.loy { grid-template-rows: minmax(0, 1fr) minmax(0, 1fr) auto auto; align-content: stretch; }
.loy__earn { display: flex; flex-direction: column; }
.loy__earn p:not(.loy__h) { flex: 1; align-items: center; }

/* a page's tool waits for its step */
.ahh.is-live:not(.s2) .pg--wish .wsh__more,
.ahh.is-live:not(.s2) .pg--wish .pg__drop, .ahh.is-live:not(.s3) .pg--rev .pg__drop, .ahh.is-live:not(.s4) .pg--sup .pg__drop, .ahh.is-live:not(.s5) .pg--loy .pg__drop { opacity: 0; transform: translateY(12px) scale(0.97); }
.ahh.s2 .wsh__h { animation: ahh-pop 0.55s var(--ease) both; }
.ahh.s2 .wsh__card:nth-child(2) .wsh__h { animation-delay: 0.12s; } .ahh.s2 .wsh__card:nth-child(3) .wsh__h { animation-delay: 0.24s; } .ahh.s2 .wsh__card:nth-child(4) .wsh__h { animation-delay: 0.36s; }
.ahh.is-live .rvw__stars u { color: #e3ddd2; }
.ahh.s3 .rvw__stars u { animation: ahh-star 0.4s var(--ease) both; }
.ahh.s3 .rvw__stars u:nth-child(1) { animation-delay: 0.3s; } .ahh.s3 .rvw__stars u:nth-child(2) { animation-delay: 0.45s; } .ahh.s3 .rvw__stars u:nth-child(3) { animation-delay: 0.6s; } .ahh.s3 .rvw__stars u:nth-child(4) { animation-delay: 0.75s; } .ahh.s3 .rvw__stars u:nth-child(5) { animation-delay: 0.9s; }
.ahh.is-live.s3 .rvw__box span { animation: ahh-type 1.6s steps(28) 1.1s both; }
@keyframes ahh-type { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }

/* ---------- what is missing before each step (hero while live, and the "before" copy) ---------- */
/* step 1: no colour, no side menu, no banner */
.ahh.is-live:not(.s1) .acc, .acc--empty { filter: grayscale(1) contrast(0.92); }
.ahh.is-live:not(.s1) .acc__body, .acc--empty .acc__body { --sw: 0px; --sg: 0px; }
.ahh.is-live:not(.s1) .acc__side, .acc--empty .acc__side { opacity: 0; transition-delay: 0s; }
.ahh.is-live:not(.s1) .acc__banner, .acc--empty .acc__banner { opacity: 0; transform: translateY(10px) scale(0.98); }
.ahh.is-live.s1 .acc__plain, .ahh:not(.is-live) .acc__plain, .acc:not(.acc--empty) .acc__plain { opacity: 0; }
.acc--empty .acc__plain { opacity: 1 !important; }
/* steps 2 to 5: each card waits for its step */
.ahh.is-live:not(.s6) .acc__wish, .ahh.is-live:not(.s6) .acc__tkt, .ahh.is-live:not(.s6) .acc__loy,
.acc--empty .acc__wish, .acc--empty .acc__tkt, .acc--empty .acc__loy { opacity: 0; transform: translateY(12px) scale(0.95); }
.ahh.is-live:not(.s6) .acc__rate, .acc--empty .acc__rate { max-height: 0; margin: 0; padding-block: 0; opacity: 0; }
.ahh.is-live:not(.s6) .acc__coupon, .acc--empty .acc__coupon { opacity: 0; transform: scale(0.8); }
.acc--empty .acc__shop { display: none; }
.acc--empty .acc__top { color: #9a9ca3; }

/* ---------- what plays as each block lands ---------- */
.ahh.s2 .acc__wl i { animation: ahh-pop 0.55s var(--ease) both; }
.ahh.s2 .acc__wl span:nth-child(2) i { animation-delay: 0.15s; }
.ahh.s2 .acc__wl span:nth-child(3) i { animation-delay: 0.3s; }
.ahh.is-live .acc__stars u { color: #e3ddd2; }
.ahh.s3 .acc__stars u { animation: ahh-star 0.4s var(--ease) both; }
.ahh.s3 .acc__stars u:nth-child(1) { animation-delay: 0.35s; } .ahh.s3 .acc__stars u:nth-child(2) { animation-delay: 0.5s; } .ahh.s3 .acc__stars u:nth-child(3) { animation-delay: 0.65s; } .ahh.s3 .acc__stars u:nth-child(4) { animation-delay: 0.8s; } .ahh.s3 .acc__stars u:nth-child(5) { animation-delay: 0.95s; }
.ahh.is-live.s4 .acc__open { animation: ahh-out 1.6s ease both; }
.ahh.is-live.s4 .acc__done { animation: ahh-in 1.6s ease both; }
.ahh.is-live:not(.s4) .acc__done { opacity: 0; }
@keyframes ahh-pop { 0% { transform: scale(0); } 60% { transform: scale(1.3); } 100% { transform: scale(1); } }
@keyframes ahh-star { from { color: #e3ddd2; transform: scale(0.6); } to { color: var(--star); transform: scale(1); } }
@keyframes ahh-out { 0%, 70% { opacity: 1; } 100% { opacity: 0; } }
@keyframes ahh-in { 0%, 70% { opacity: 0; transform: scale(0.85); } 100% { opacity: 1; transform: scale(1); } }

/* ---------- hero on phones and narrow screens: copy, then the finished page ---------- */
@media (max-width: 899px) {
  .ahh__in { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .ahh__pin { padding: 104px 0 40px; }
  .ahh__copy { text-align: left; }
}
@media (max-width: 720px) { .ahh { border-radius: 24px; } .ahh__in { width: calc(100% - 32px); } }
/* pinned hero on laptop-height screens: everything in the copy column must fit one screen */
@media (min-width: 900px) and (max-height: 920px) {
  .ahh.is-pin h1 { font-size: clamp(38px, 3.6vw, 54px); }
  .ahh.is-pin .ahh__lede { margin-top: 12px; font-size: 15.5px; }
  .ahh.is-pin .ahh__pill { margin-bottom: 14px; }
  .ahh.is-pin .ahh__steps { margin-top: 16px; }
  .ahh.is-pin .ahh__steps button { padding-block: 6px; }
  .ahh.is-pin .ahh__act { margin-top: 16px; }
}
/* the lede is short now, so it stays on every screen height */
/* short windows (a laptop with the dev tools or a panel open): smaller type, steps without their
   descriptions, no foot; under 540px the list goes too and the page itself tells the story */
/* the short-screen pieces stay hidden until a short screen needs them */
.ahh__lede-s, .ahh__now { display: none; }
/* short windows (a laptop with a panel open): the "now building" card (shown on every screen, see the
   hero copy refresh below) stays; type and spacing tighten so the column still fits. */
@media (min-width: 900px) and (max-height: 640px) {
  .ahh.is-pin .ahh__foot { display: none; }
  .ahh.is-pin .ahh__in { grid-template-columns: minmax(0, 430px) minmax(0, 1fr); gap: clamp(24px, 2.6vw, 40px); }
  .ahh.is-pin .ahh__pill { margin-bottom: 12px; }
  .ahh.is-pin h1 { font-size: clamp(34px, 3.2vw, 44px); line-height: 1.04; }
  .ahh.is-pin .ahh__act { margin-top: 16px; }
  .ahh.is-pin .ahh__act .btn { height: 50px; }
}
.ahh__now-row { display: flex; align-items: center; gap: 10px; }
.ahh__now-n { display: grid; place-items: center; flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--brand); font-style: normal; font-size: 13px; font-weight: 600; color: #fff; box-shadow: 0 0 0 4px rgba(125, 64, 255, 0.22); }
.ahh.is-zero .ahh__now-n { background: rgba(255, 255, 255, 0.08); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.25); }
.ahh__now-row b { flex: 1; min-width: 0; font-size: 15px; font-weight: 600; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ahh__now-row span { flex: none; font-size: 13px; color: rgba(255, 255, 255, 0.55); font-variant-numeric: tabular-nums; }
.ahh__now-bar { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; margin-top: 10px; }
.ahh__now-bar i { height: 4px; border-radius: 4px; background: rgba(255, 255, 255, 0.12); transition: background 0.4s ease; }
.ahh__now-bar i.is-on { background: linear-gradient(90deg, #7d40ff, #b99cff); }

/* ---------- hero, second pass: story notes, drop slots, the drop ripple and the publish pulse ---------- */
.ahh__note { position: absolute; left: 0; top: 452px; z-index: 4; width: 134px; margin: 0; font-size: 14.5px; font-weight: 500; line-height: 1.3; color: #3b2394; transition: opacity 0.45s ease, transform 0.6s var(--ease); pointer-events: none; }
.ahh__note span { display: block; padding: 10px 12px; border-radius: 14px 14px 14px 4px; background: #fff; box-shadow: 0 16px 30px -18px rgba(60, 30, 140, 0.6), inset 0 0 0 1px #e6dcff; }
.ahh__arw { position: absolute; left: 96px; top: -44px; width: 66px; height: 48px; color: var(--brand); stroke-width: 2.2; }
.ahh__note--b span { background: var(--brand); color: #fff; box-shadow: 0 16px 30px -14px rgba(125, 64, 255, 0.8); }
.ahh__note--b { opacity: 0; transform: translateY(10px); }
.ahh.s1 .ahh__note--a { opacity: 0; transform: translateY(10px); }
.ahh.s6 .ahh__note--b { opacity: 1; transform: none; }
.ahh:not(.is-live) .ahh__note, .ahh.is-static .ahh__note { display: none; }

/* where the carried block will land: a dashed slot, like a real builder */
.ahh [data-drop].is-target { opacity: 1 !important; transform: none !important; background: rgba(125, 64, 255, 0.07) !important; animation: ahh-slot 0.8s ease-in-out infinite alternate; }
.ahh [data-drop].is-target > * { visibility: hidden; }
.ahh .acc__rate.is-target { max-height: 40px !important; margin: 2px 0 4px !important; padding: 7px 10px !important; }
.ahh .acc__banner.is-target, .ahh .acc__card.is-target { max-height: none; }
@keyframes ahh-slot { from { box-shadow: inset 0 0 0 2px rgba(125, 64, 255, 0.3); } to { box-shadow: inset 0 0 0 2px rgba(125, 64, 255, 0.85); } }

/* a ring where the block drops */
.ahh__ripple { position: absolute; left: 0; top: 0; z-index: 5; width: 0; height: 0; pointer-events: none; }
.ahh__ripple::before { content: ""; position: absolute; left: -40px; top: -40px; width: 80px; height: 80px; border-radius: 50%; border: 2px solid var(--brand); opacity: 0; }
.ahh__ripple.is-on::before { animation: ahh-ripple 0.7s var(--ease) both; }
@keyframes ahh-ripple { from { opacity: 0.8; transform: scale(0.2); } to { opacity: 0; transform: scale(1.6); } }

/* the page goes live */
.ahh.is-live.s6 .ahh__st--2 { animation: ahh-pulse 1.1s ease 2; }
@keyframes ahh-pulse { 0% { box-shadow: 0 0 0 0 rgba(36, 112, 74, 0.45); } 100% { box-shadow: 0 0 0 10px rgba(36, 112, 74, 0); } }

/* ---------- hero, dark: the same night room as the search page, so the lit account page is the brightest thing on screen ---------- */
.ahh { background: radial-gradient(55% 45% at 0% 100%, rgba(125, 64, 255, 0.38), rgba(125, 64, 255, 0) 70%), radial-gradient(45% 40% at 30% 0%, rgba(154, 107, 255, 0.22), rgba(154, 107, 255, 0) 70%), radial-gradient(40% 35% at 100% 25%, rgba(125, 64, 255, 0.24), rgba(125, 64, 255, 0) 70%), #0c0b12; color: #fff; }
/* while the hero is pinned (wide screens), frame the sticky panel itself: the same 10px gap on all four sides and
   32px corners as the other landing-page heroes, instead of a full-screen panel touching the top and bottom edges */
.ahh.is-pin { --ahh-gap: 10px; background: none; border-radius: 0; }
.ahh.is-pin .ahh__pin { top: var(--ahh-gap); height: calc(100vh - 2 * var(--ahh-gap)); height: calc(100svh - 2 * var(--ahh-gap)); margin-bottom: var(--ahh-gap); border-radius: 26px; background: radial-gradient(55% 45% at 0% 100%, rgba(125, 64, 255, 0.38), rgba(125, 64, 255, 0) 70%), radial-gradient(45% 40% at 30% 0%, rgba(154, 107, 255, 0.22), rgba(154, 107, 255, 0) 70%), radial-gradient(40% 35% at 100% 25%, rgba(125, 64, 255, 0.24), rgba(125, 64, 255, 0) 70%), #0c0b12; }
.ahh h1 { color: #fff; }
.ahh__lede { color: rgba(255, 255, 255, 0.68); }
.ahh__pill { background: rgba(255, 255, 255, 0.06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12); color: #c4a8ff; }
.ahh__pill b { background: #fff; color: var(--ink); }
.ahh__steps button:hover { background: rgba(255, 255, 255, 0.06); }
.ahh__steps b { color: #fff; }
.ahh__steps em { color: rgba(255, 255, 255, 0.62); }
.ahh.is-live:not(.is-static) .ahh__steps b { color: rgba(255, 255, 255, 0.5); }
.ahh__steps li.is-on b, .ahh__steps li.is-done b { color: #fff !important; }
.ahh__n { background: rgba(255, 255, 255, 0.06); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.22); color: #d9ccff; }
.ahh__steps li.is-on .ahh__n { box-shadow: 0 0 0 4px rgba(125, 64, 255, 0.25), 0 6px 16px -6px rgba(125, 64, 255, 0.9); }
.ahh__steps li.is-done .ahh__n { background-color: rgba(125, 64, 255, 0.22); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c4a8ff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E"); }
.ahh__link { color: #c4a8ff; text-decoration-color: rgba(196, 168, 255, 0.4); }
.ahh__hint { color: rgba(255, 255, 255, 0.6); }
.ahh__done { color: #c4a8ff; }
.ahh__rail { background: rgba(255, 255, 255, 0.1); }
.ahh__rail i { background: linear-gradient(90deg, #7d40ff, #b99cff); }
.ahh__stage::before { background-image: radial-gradient(rgba(196, 168, 255, 0.2) 1.2px, transparent 1.6px); }
.ahh__pal { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.6); }
.ahh__win { box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08); }
.ahh.s6 .ahh__win { box-shadow: 0 0 0 4px rgba(154, 107, 255, 0.45); }
.ahh__arw { color: #c4a8ff; }
.ahh__note--a span { box-shadow: 0 16px 30px -14px rgba(0, 0, 0, 0.6); }
.ahh__toast { background: #fff; color: var(--ink); }
.ahh__tag { color: var(--ink); }
.ahh__toast svg { color: var(--st-live); }
.ahh__steps button:focus-visible, .ahh__link:focus-visible { outline-color: #c4a8ff; }

/* ---- Hero copy refresh: one headline, a short lede, and the horizontal "now building" card on every
   screen in place of the vertical step list (the list stays in the HTML because ahv-lp.js reads its titles). ---- */
.ahh__pill span { color: rgba(255, 255, 255, 0.72); }
.ahh__pill { gap: 8px; padding: 3px 12px 3px 3px; font-size: 12.5px; }
.ahh__pill b { padding: 3px 9px; }
.ahh h1 { max-width: 11.5em; font-size: clamp(42px, 4.4vw, 66px); line-height: 1.02; }
.ahh__nw { white-space: nowrap; }
.ahh__lede { max-width: 26em; font-size: 17.5px; line-height: 1.55; color: rgba(255, 255, 255, 0.7); }

.ahh__steps { display: none; }
.ahh__now { display: block; max-width: 360px; margin-top: 26px; padding: 14px 16px; border-radius: 16px; background: rgba(255, 255, 255, 0.05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1); }
.ahh__now-bar { margin-bottom: 0; }

.ahh__act { margin-top: 30px; }
@media (min-width: 900px) and (max-height: 920px) {
  .ahh.is-pin .ahh__now { margin-top: 18px; padding: 12px 14px; }
}
/* grouped spacing, the same on every screen height (outranks the short-screen tightening above):
   the message (pill, headline, intro) sits tight; a bigger gap; then the progress card and the button sit together */
.ahh .ahh__pill, .ahh.is-pin .ahh__pill { margin-bottom: 16px; }
.ahh .ahh__lede, .ahh.is-pin .ahh__lede { margin-top: 14px; }
.ahh .ahh__now, .ahh.is-pin .ahh__now { margin-top: 36px; }
.ahh .ahh__act, .ahh.is-pin .ahh__act { margin-top: 18px; }

/* ---- Hero stage, matched to the real Page Builder: the palette reads like its "Sections" panel
   (drag handle, block icon, block name, "+ Add block"), and the dashboard's empty columns show the
   builder's dashed "+ Drag component here" slots until the page goes live. ---- */
.ahh__pal { top: 84px; gap: 6px; width: 152px; padding: 14px 10px 10px; border-radius: 18px; }
.ahh__pal-h { margin: 0 4px 6px; font-size: 14px; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); }
.ahh__chip { position: relative; gap: 7px; height: 36px; padding: 0 8px 0 6px; border-radius: 10px; background: #fff; box-shadow: inset 0 0 0 1px #e9e3fb; font-size: 13px; color: #2a2346; }
.ahh__chip svg { width: 16px; height: 16px; color: #5b3fd0; }
.ahh__grip { flex: none; width: 8px; height: 12px; background-image: radial-gradient(circle, #a59dc2 1.1px, transparent 1.4px); background-size: 4px 4px; background-position: 0 0; }
/* a block that is already on the page: muted, with a tick, like a placed block in the builder */
.ahh.s1 [data-chip="1"], .ahh.s2 [data-chip="2"], .ahh.s3 [data-chip="3"], .ahh.s4 [data-chip="4"], .ahh.s5 [data-chip="5"] { opacity: 1; background: #f7f6fa; box-shadow: none; color: #8b87a0; }
.ahh.s1 [data-chip="1"] svg, .ahh.s2 [data-chip="2"] svg, .ahh.s3 [data-chip="3"] svg, .ahh.s4 [data-chip="4"] svg, .ahh.s5 [data-chip="5"] svg { color: #aaa6bb; }
.ahh.s1 [data-chip="1"]::after, .ahh.s2 [data-chip="2"]::after, .ahh.s3 [data-chip="3"]::after, .ahh.s4 [data-chip="4"]::after, .ahh.s5 [data-chip="5"]::after { content: ""; margin-left: auto; width: 14px; height: 14px; flex: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2324704a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat; }
.ahh__pal-add { display: flex; align-items: center; gap: 6px; margin: 4px 0 0; padding: 9px 6px 2px; border-top: 1px solid #f0ecfa; font-size: 12.5px; font-weight: 500; color: var(--brand); }
.ahh__pal-add svg { width: 14px; height: 14px; stroke-width: 2.4; }
.ahh__ghost .ahh__grip { display: none; }

.acc__slot { display: none; place-items: center; min-width: 0; padding: 8px; border-radius: 14px; border: 1.5px dashed #cfc9dd; background: rgba(255, 255, 255, 0.45); font-size: 11.5px; font-weight: 500; text-align: center; color: #8e889f; transition: opacity 0.4s ease; }
.acc__slot--wish { grid-area: wish; } .acc__slot--tkt { grid-area: tkt; } .acc__slot--loy { grid-area: loy; }
.ahh.is-live.s1:not(.s6) .acc__slot { display: grid; }
.acc__slot em { font-style: normal; }
.acc__slot-m { display: none; }

/* Shopify's default page (before/after "before", and the hero before step 1): the empty columns say what is
   missing, so the gaps tell the story instead of looking broken */
.acc--empty .acc__slot, .ahh.is-live:not(.s1) .acc__slot { display: grid !important; border-color: #d9d6de; background: rgba(255, 255, 255, 0.55); }
.acc--empty .acc__slot-b, .ahh.is-live:not(.s1) .acc__slot-b { display: none; }
.acc--empty .acc__slot-m, .ahh.is-live:not(.s1) .acc__slot-m { display: grid; justify-items: center; gap: 3px; max-width: 220px; font-size: 11px; line-height: 1.35; color: #7b7787; }
.acc__slot-m svg { width: 18px; height: 18px; margin-bottom: 2px; color: #a19cae; }
.acc__slot-m b { font-size: 12.5px; font-weight: 600; color: #4c4857; }

/* ---- Support row visual: the team's Support Tickets inbox, after the app's admin screen
   (title, date range, the five metrics, the ticket list with Open / Closed) in the site's colours. ---- */
.ahv-tkx { width: min(470px, 100%); overflow: hidden; border-radius: 22px; background: #fff; box-shadow: 0 0 0 1px rgba(76, 36, 190, 0.06); font-size: 13px; color: var(--ink); }
.ahv-tkx__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 18px 18px 14px; border-bottom: 1px solid #f0edf7; }
.ahv-tkx__head b { display: block; font-size: 17px; font-weight: 600; letter-spacing: -0.02em; }
.ahv-tkx__head span { display: block; margin-top: 2px; font-size: 12px; line-height: 1.4; color: var(--ink-3); }
.ahv-tkx__range { display: inline-flex; flex: none; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border-radius: 9px; background: #fff; box-shadow: inset 0 0 0 1px #e4def3; font-style: normal; font-size: 12px; font-weight: 500; white-space: nowrap; }
.ahv-tkx__range svg { width: 14px; height: 14px; color: #5b3fd0; }
.ahv-tkx__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 14px 18px 0; }
.ahv-tkx__stats p { padding: 10px 12px; border-radius: 14px; background: #f7f5fc; box-shadow: inset 0 0 0 1px #eee9fa; }
.ahv-tkx__stats span { display: block; padding-bottom: 3px; border-bottom: 1px dashed #d6cff0; font-size: 11.5px; font-weight: 500; color: var(--ink-2); width: max-content; max-width: 100%; }
.ahv-tkx__stats b { display: block; margin-top: 6px; font-size: 24px; font-weight: 600; letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.ahv-tkx__stats small { font-size: 13px; font-weight: 500; letter-spacing: 0; color: var(--ink-3); }
.ahv-tkx__stats .is-hot { background: linear-gradient(160deg, #7d40ff, #9a6bff); box-shadow: 0 12px 24px -14px rgba(125, 64, 255, 0.9); color: #fff; }
.ahv-tkx__stats .is-hot span { color: rgba(255, 255, 255, 0.85); border-bottom-color: rgba(255, 255, 255, 0.4); }
.ahv-tkx__rate { margin: 8px 18px 0; padding: 10px 12px; border-radius: 14px; background: #f7f5fc; box-shadow: inset 0 0 0 1px #eee9fa; }
.ahv-tkx__rate p { display: flex; align-items: baseline; gap: 8px; }
.ahv-tkx__rate span { font-size: 11.5px; font-weight: 500; color: var(--ink-2); }
.ahv-tkx__rate b { font-size: 15px; font-weight: 600; }
.ahv-tkx__rate em { margin-left: auto; font-style: normal; font-size: 11.5px; color: var(--ink-3); }
.ahv-tkx__rate i { display: block; height: 6px; margin-top: 8px; overflow: hidden; border-radius: 6px; background: #e8e2f8; }
.ahv-tkx__rate u { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, #7d40ff, #b99cff); }
.ahv-tkx__list { padding: 12px 18px 14px; }
.ahv-tkx__cols, .ahv-tkx__row { display: grid; grid-template-columns: 74px minmax(0, 1fr) auto; align-items: center; gap: 10px; }
.ahv-tkx__cols { padding: 0 8px 7px; border-bottom: 1px solid #f0edf7; font-size: 11px; font-weight: 500; color: var(--ink-3); }
.ahv-tkx__cols span:last-child { text-align: right; }
.ahv-tkx__row { padding: 9px 8px; border-bottom: 1px solid #f4f2f9; }
.ahv-tkx__row:last-child { border-bottom: 0; }
.ahv-tkx__row.is-new { margin-top: 4px; border-radius: 10px; border-bottom-color: transparent; background: rgba(125, 64, 255, 0.07); }
.ahv-tkx__row code { font-family: inherit; font-size: 12.5px; font-weight: 600; color: #5b3fd0; font-variant-numeric: tabular-nums; }
.ahv-tkx__row b { overflow: hidden; font-size: 13px; font-weight: 500; white-space: nowrap; text-overflow: ellipsis; }
.ahv-tkx__st { padding: 3px 9px; border-radius: 999px; font-style: normal; font-size: 11.5px; font-weight: 600; }
.ahv-tkx__st--open { background: #dcf5e4; color: #1d6b40; }
.ahv-tkx__st--closed { background: #fde4e4; color: #a12b2b; }
.ahv-tkx__ca { display: flex; align-items: center; gap: 10px; padding: 12px 18px; background: var(--ink); font-size: 13px; color: rgba(255, 255, 255, 0.8); }
.ahv-tkx__ca svg { flex: none; width: 17px; height: 17px; color: #c4a8ff; }
.ahv-tkx__ca b { color: #fff; }
.ahv-tkx__ca em { margin-left: auto; padding: 3px 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.12); font-style: normal; font-size: 11.5px; color: #d9ccff; }
@media (max-width: 480px) {
  .ahv-tkx__head { flex-direction: column; }
  .ahv-tkx__stats b { font-size: 20px; }
  .ahv-tkx__cols, .ahv-tkx__row { grid-template-columns: 66px minmax(0, 1fr) auto; gap: 8px; }
}

/* =========================== 2. BEFORE / AFTER =========================== */
.ahv-ba { position: relative; max-width: 880px; margin: 0 auto; }
/* laptops and up (set by ahv-lp.js): a stacked-card reveal. The heading scrolls away, the card sticks and
   fills one screen showing "before"; scrolling slides the "after" page up from below over it, while the
   "before" page sinks back a little. The site header hides while the card is stuck. */
.ahv-ba-sec.is-pin { padding-bottom: 0; }
/* the scroll room is a real box (not padding): a sticky card can only travel inside its parent's content */
.ahv-ba-sec.is-pin > .wrap::after { content: ""; display: block; height: 260vh; }
/* the card sits the usual 40px (--cbv-hgap) under the heading like every section, then sticks centred on screen
   (ahv-lp.js sets --ba-top so the tag + card are centred while pinned) */
.ahv-ba-sec.is-pin .ahv-ba { position: sticky; top: var(--ba-top, 0px); display: block; max-width: none; padding-top: 48px; }
.ahv-ba-sec.is-pin .ahv-ba__view { margin: 0 auto; overflow: visible; border-radius: 28px; background: #1d1830; box-shadow: 0 0 0 1px rgba(76, 36, 190, 0.1); }
.ahv-ba-sec.is-pin .ahv-ba__before { z-index: 1; clip-path: none; transform: scale(calc(1 - 0.07 * var(--t, 0))); transform-origin: 50% 0; filter: brightness(calc(1 - 0.4 * var(--t, 0))); border-radius: 28px; overflow: hidden; }
/* the card no longer clips (the tags sit above it), so the rising page clips its own part below the card */
.ahv-ba-sec.is-pin .ahv-ba__after { z-index: 2; transform: translateY(var(--ty, 110%)); clip-path: inset(0 0 var(--ty, 110%) 0 round 28px 28px 0 0); overflow: hidden; border-radius: 28px; box-shadow: none; will-change: transform; }
.ahv-ba-sec.is-pin .ahv-ba__handle, .ahv-ba-sec.is-pin .ahv-ba__range { display: none; }
/* the tags float just above the card's top-left corner, outside the page, so they never cover it */
.ahv-ba-sec.is-pin .ahv-ba__lbl { z-index: 3; top: -46px; bottom: auto; left: 0; right: auto; font-size: 14px; padding: 8px 14px; box-shadow: 0 8px 20px -8px rgba(20, 10, 60, 0.5); }
.ahv-ba-sec.is-pin .ahv-ba__lbl--b { opacity: calc(1 - 2.5 * var(--t, 0)); }
.ahv-ba-sec.is-pin .ahv-ba__lbl--a { opacity: calc(3 * var(--t, 0) - 1.2); }
html.ahv-ba-stuck .hd:not(.is-open) { transform: translateY(-110%); }
.ahv-ba__view { position: relative; height: 542px; overflow: hidden; border-radius: 24px; background: #fff; box-shadow: var(--cbv-card-sh); user-select: none; }
.ahv-ba__layer { position: absolute; inset: 0; }
.ahv-ba__layer > .acc { width: var(--cw, 620px); transform: scale(var(--k, 1)); transform-origin: 0 0; }
.ahv-ba__before { clip-path: inset(0 calc(100% - var(--x)) 0 0); }
.ahv-ba__handle { position: absolute; top: 0; bottom: 0; left: var(--x); width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 0 1px rgba(76, 36, 190, 0.25); pointer-events: none; }
.ahv-ba__handle i { position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--brand); color: #fff; box-shadow: 0 10px 24px -8px rgba(76, 36, 190, 0.8), 0 0 0 4px #fff; transform: translate(-50%, -50%); }
.ahv-ba__handle svg { width: 20px; height: 20px; stroke-width: 2.4; }
.ahv-ba__lbl { position: absolute; bottom: 14px; z-index: 2; padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; pointer-events: none; }
.ahv-ba__lbl--b { left: 14px; background: var(--ink); color: #fff; }
.ahv-ba__lbl--a { right: 14px; background: var(--brand); color: #fff; }
.ahv-ba__range { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.ahv-ba:has(.ahv-ba__range:focus-visible) .ahv-ba__view { outline: 3px solid var(--brand); outline-offset: 4px; }

/* =========================== 3. SIX TOOLS =========================== */
.ahv-ic { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: linear-gradient(160deg, #9a6bff, #7d40ff); color: #fff; box-shadow: 0 10px 20px -10px rgba(125, 64, 255, 0.8); }
.ahv-ic svg { width: 22px; height: 22px; }

/* =========================== 4. STEPS: visuals for the shared steps module =========================== */
.ahv-st { flex: none; padding: 3px 10px; border-radius: 999px; background: var(--st-grey-bg); font-style: normal; font-size: 12.5px; font-weight: 600; color: var(--st-grey); }
.ahv-st--draft { background: var(--st-draft-bg); color: var(--st-draft); }
.ahv-st--live { background: var(--st-live-bg); color: var(--st-live); }
.ahv-st--wait { background: var(--st-wait-bg); color: var(--st-wait); }

/* =========================== 5. FEATURE ROWS =========================== */
/* both sides of a feature row are the same height: the visual box stretches to the text column (tops and bottoms line up) */
.ahv-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: stretch; gap: clamp(32px, 5vw, 80px); }
.ahv-row + .ahv-row { margin-top: 96px; }
.ahv-row--flip .ahv-row__copy { order: 2; }
.ahv-row__copy { max-width: 500px; }
/* the feature table sits on the bottom of its column, so it always lines up with the bottom of the preview panel
   beside it (even when the panel is the taller of the two); the space above the table stays the same */
.ahv-row__copy { display: flex; flex-direction: column; align-items: flex-start; }
.ahv-row__copy > .ahv-spec { margin-top: auto; }
.ahv-row__copy > :nth-last-child(2) { margin-bottom: var(--cbv-hgap); }
.ahv-row__copy h3 { font-size: clamp(28px, 2.8vw, 40px); font-weight: 500; line-height: 1.1; letter-spacing: -0.03em; }
.ahv-row__copy > p:not(.ahv-tier) { max-width: 30em; margin-top: 14px; font-size: 17px; line-height: 1.6; color: var(--ink-2); }
.ahv-row__copy h3 { max-width: 14em; text-wrap: balance; }

/* which plans include the feature: one soft pill with a tick */
.ahv-tier { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 18px; padding: 5px 12px 5px 9px; border-radius: 999px; background: #f3effd; font-size: 13.5px; font-weight: 500; line-height: 1.3; color: #4a2ab0; }
.ahv-tier svg { flex: none; width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }

/* spec table: a header row, the feature in the first column, what you get in the second */
.ahv-spec { width: 100%; margin: var(--cbv-hgap) 0 0; table-layout: fixed; border-collapse: separate; border-spacing: 0; overflow: hidden; border: 1.5px solid #d6cbf6; border-radius: 16px; background: #fff; text-align: left; }
.ahv-spec th, .ahv-spec td { padding: 12px 16px; vertical-align: middle; border-bottom: 1px solid #e2daf6; }
.ahv-spec thead th { padding-block: 10px; background: #efe9ff; font-size: 12.5px; font-weight: 600; letter-spacing: 0; color: #5b3fd0; border-bottom: 1.5px solid #d6cbf6; }
.ahv-spec thead th + th { border-left: 1px solid #d6cbf6; }
.ahv-spec thead th:first-child { width: 36%; }
.ahv-spec tbody th { font-size: 15px; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); }
.ahv-spec td { font-size: 15px; line-height: 1.5; color: var(--ink-2); border-left: 1px solid #e2daf6; }
.ahv-spec tbody tr:last-child th, .ahv-spec tbody tr:last-child td { border-bottom: 0; }
.ahv-spec tbody tr:nth-child(even) { background: #faf8ff; }
.ahv-spec__pro { display: inline-block; margin-left: 4px; padding: 1px 8px; border-radius: 999px; background: #f3effd; font-style: normal; font-size: 12px; font-weight: 600; color: #4a2ab0; vertical-align: 1px; }
@media (max-width: 480px) {
  .ahv-spec th, .ahv-spec td { padding: 10px 12px; font-size: 14px; }
  .ahv-spec thead th:first-child { width: 40%; }
}
.ahv-ticks { list-style: none; display: grid; gap: 10px; margin: 22px 0 0; padding: 0; }
.ahv-ticks li { position: relative; padding-left: 30px; font-size: 15.5px; line-height: 1.5; }
.ahv-ticks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: #ede6ff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237d40ff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat; }
.ahv-row__vis { display: grid; place-items: center; min-height: 400px; padding: clamp(24px, 4vw, 48px); border-radius: 28px; background: linear-gradient(160deg, #c9b3ff, #e6deff 55%, #f6f3ff); }

/* builder: try a layout */
.ahv-lay { width: min(470px, 100%); padding: 16px; border-radius: 22px; background: #fff; box-shadow: none; }
.ahv-lay__bar { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.ahv-lay__bar button { min-height: 36px; padding: 0 12px; border: 0; border-radius: 10px; background: #f3f2f7; font-size: 13.5px; font-weight: 500; cursor: pointer; transition: background 0.2s ease, color 0.2s ease; }
.ahv-lay__bar button:hover { background: #ebe6f8; }
.ahv-lay__bar button[aria-pressed="true"] { background: var(--brand); color: #fff; }
.ahv-lay__bar button:focus-visible, .ahv-wl__ctl button:focus-visible, .ahv-ly__code button:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.ahv-lay__can { display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: 54px; gap: 8px; padding: 10px; border-radius: 14px; background: var(--acc-sand); }
.ahv-lay__b { display: grid; place-items: center; border-radius: 10px; background: #fff; font-size: 12.5px; font-weight: 500; color: #4c5366; text-align: center; box-shadow: inset 0 0 0 1px #ece8e0; }
.ahv-lay__b--ban { grid-column: 1 / -1; background: var(--acc-ink); color: #fff; box-shadow: none; }
.ahv-lay__side { display: none; grid-column: 1; grid-row: 1 / span 4; flex-direction: column; gap: 6px; padding: 8px; border-radius: 10px; background: #fff; }
.ahv-lay__side i { height: 18px; border-radius: 6px; background: #eeeaf5; }
.ahv-lay__side i:first-child { background: var(--acc-ink); }
.ahv-lay[data-ahv-lay="1"] .ahv-lay__can { grid-template-columns: 1fr; grid-auto-rows: 34px; }
.ahv-lay[data-ahv-lay="3"] .ahv-lay__can { grid-template-columns: repeat(3, 1fr); }
.ahv-lay[data-ahv-lay="side"] .ahv-lay__can { grid-template-columns: 96px 1fr 1fr; }
.ahv-lay[data-ahv-lay="side"] .ahv-lay__side { display: flex; }
.ahv-lay[data-ahv-lay="side"] .ahv-lay__b--ban { grid-column: 2 / -1; }
.ahv-lay.is-swap .ahv-lay__b { animation: ahv-in 0.45s var(--ease) both; }
@keyframes ahv-in { from { opacity: 0; transform: scale(0.94); } }

/* wishlist: icon and style switcher */
.ahv-wl { display: grid; grid-template-columns: 200px minmax(0, 1fr); align-items: center; gap: 20px; width: min(480px, 100%); padding: 18px; border-radius: 22px; background: #fff; box-shadow: none; }
.ahv-wl__img { position: relative; display: block; aspect-ratio: 1; border-radius: 16px; background: var(--acc-sand); }
.ahv-wl__img img { width: 100%; height: 100%; object-fit: cover; border-radius: 16px; }
.ahv-wl__ic { position: absolute; right: 10px; top: 10px; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: #fff; color: var(--acc-hot); box-shadow: 0 6px 14px -6px rgba(0, 0, 0, 0.3); transition: background 0.2s ease, box-shadow 0.2s ease; }
.ahv-wl__ic svg { display: none; width: 20px; height: 20px; }
.ahv-wl[data-icon="heart"] .ahv-wl__heart, .ahv-wl[data-icon="star"] .ahv-wl__star, .ahv-wl[data-icon="book"] .ahv-wl__book { display: block; animation: ahh-pop 0.45s var(--ease) both; }
.ahv-wl[data-style="solid"] .ahv-wl__ic svg { fill: currentColor; }
.ahv-wl[data-style="plain"] .ahv-wl__ic { background: none; box-shadow: none; color: #fff; }
.ahv-wl[data-style="plain"] .ahv-wl__ic svg { filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.4)); }
.ahv-wl__card p { display: flex; justify-content: space-between; margin-top: 10px; font-size: 14.5px; color: var(--acc-ink); }
.ahv-wl__card em { font-style: normal; color: #6b7080; }
.ahv-wl__ctl { display: grid; gap: 14px; }
.ahv-wl__ctl div { display: flex; flex-wrap: wrap; gap: 6px; }
.ahv-wl__ctl p { flex-basis: 100%; font-size: 13px; font-weight: 600; color: var(--ink-3); }
.ahv-wl__ctl button { min-height: 36px; padding: 0 12px; border: 0; border-radius: 10px; background: #f3f2f7; font-size: 13.5px; font-weight: 500; cursor: pointer; }
.ahv-wl__ctl button[aria-pressed="true"] { background: var(--acc-ink); color: #fff; }

/* reviews: rate the order */
.ahv-rv { position: relative; width: min(420px, 100%); padding: 20px; border-radius: 22px; background: #fff; box-shadow: none; }
.ahv-rv__ord { display: flex; align-items: center; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid #f0eee9; }
.ahv-rv__ord img { width: 56px; height: 56px; border-radius: 12px; background: var(--acc-sand); }
.ahv-rv__ord b { display: block; font-size: 15px; font-weight: 600; }
.ahv-rv__ord em { font-style: normal; font-size: 13px; color: #6b7080; }
.ahv-rv__q { margin-top: 16px; font-size: 15px; font-weight: 600; }
.ahv-rv__stars { display: flex; gap: 4px; margin-top: 8px; }
.ahv-rv__stars button { width: 44px; height: 44px; padding: 0; border: 0; border-radius: 10px; background: none; font-size: 30px; line-height: 1; color: #e3ddd2; cursor: pointer; transition: color 0.15s ease, transform 0.2s var(--ease); }
.ahv-rv__stars button.is-on { color: var(--star); }
.ahv-rv__stars button:hover { transform: scale(1.12); }
.ahv-rv__stars button:focus-visible { outline: 2px solid var(--brand); outline-offset: 1px; }
.ahv-rv__ok { min-height: 22px; margin-top: 8px; font-size: 14px; color: var(--st-live); }
.ahv-rv__jm { position: absolute; right: 16px; top: -14px; padding: 6px 12px; border-radius: 999px; background: var(--ink); font-size: 12.5px; font-weight: 500; color: #fff; }

/* support: tickets and Customer Access */

/* loyalty and discounts */
.ahv-ly { display: grid; gap: 12px; width: min(420px, 100%); }
.ahv-ly > * { padding: 18px 20px; border-radius: 20px; background: #fff; box-shadow: none; }
.ahv-ly__pts p { font-size: 13.5px; color: #6b7080; }
.ahv-ly__pts b { display: block; font-size: 40px; font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; color: var(--acc-ink); }
.ahv-ly__pts .acc__meter { height: 9px; margin: 12px 0 8px; }
.ahv-ly__pts em { font-style: normal; font-size: 13px; color: #6b7080; }
.ahv-ly__code { display: flex; align-items: center; gap: 14px; background: var(--acc-ink) !important; color: #fff; }
.ahv-ly__code p { flex: 1; min-width: 0; line-height: 1.3; }
.ahv-ly__code small { display: block; font-size: 12px; color: rgba(255, 255, 255, 0.65); }
.ahv-ly__code b { display: block; font-size: 20px; letter-spacing: 0.06em; }
.ahv-ly__code em { font-style: normal; font-size: 13px; color: #ffcabd; }
.ahv-ly__code button { flex: none; min-height: 40px; padding: 0 14px; border: 0; border-radius: 10px; background: #fff; font-size: 13.5px; font-weight: 600; color: var(--acc-ink); cursor: pointer; }
.ahv-ly__ref { display: flex; flex-direction: column; gap: 2px; font-size: 13px; color: #6b7080; }
.ahv-ly__ref b { font-size: 14.5px; font-weight: 500; color: var(--acc-ink); }

/* =========================== 6. B2B =========================== */
.ahv-b2b { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 360px); align-items: center; gap: 40px; padding: clamp(28px, 4vw, 52px); border-radius: 28px; background: #fff; box-shadow: inset 0 0 0 3px #e2d9fb, 0 2px 4px rgba(60, 30, 140, 0.04); }
.ahv-b2b h2 { font-size: clamp(28px, 3vw, 42px); font-weight: 500; letter-spacing: -0.03em; line-height: 1.1; }
.ahv-b2b h2 + p { max-width: 44ch; margin-top: 14px; font-size: 17px; line-height: 1.55; color: var(--ink-2); }
.ahv-b2b__card { padding: 18px 20px; border-radius: 22px; background: #ede5d6; color: var(--acc-ink); }
.ahv-b2b__card .acc__kv { font-size: 14px; border-color: #ddd3c2; }
.ahv-b2b__co { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.ahv-b2b__co i { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--acc-ink); font-style: normal; font-size: 14px; font-weight: 700; color: #fff; }
.ahv-b2b__co b { display: block; font-size: 16px; }
.ahv-b2b__co em { font-style: normal; font-size: 13px; color: #6b7080; }

/* =========================== 8. SIX APPS INTO ONE =========================== */
/* played once when it comes into view (ahv-lp.js adds is-live, then is-in, then is-fold) */

/* =========================== 9. PRICING =========================== */
.ahv-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; max-width: 1080px; margin: 0 auto; }
.ahv-plan-card { position: relative; display: flex; flex-direction: column; padding: 30px 28px; border-radius: 26px; background: #fff; box-shadow: var(--cbv-card-sh); }
.ahv-plan-card.is-pick { box-shadow: inset 0 0 0 2px var(--brand); }
.ahv-plan-card__tag { position: absolute; right: 22px; top: 26px; padding: 4px 11px; border-radius: 999px; background: var(--brand); font-size: 12.5px; font-weight: 600; color: #fff; }
.ahv-plan-card h3 { font-size: 24px; font-weight: 600; letter-spacing: -0.02em; }
.ahv-plan-card__for { margin-top: 4px; font-size: 15px; color: var(--ink-2); }
.ahv-price { display: flex; align-items: baseline; gap: 4px; margin-top: 22px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.ahv-price b { font-family: var(--display); font-size: 52px; font-weight: 500; letter-spacing: -0.04em; line-height: 1; }
.ahv-price span { font-size: 16px; color: var(--ink-2); }
.ahv-plan-card .ahv-ticks { flex: 1; margin-top: 22px; }
.ahv-plan-card__go { display: grid; place-items: center; height: 50px; margin-top: 28px; border-radius: 999px; background: #f3effd; font-size: 16px; font-weight: 500; color: #3b2394; transition: background 0.25s ease, color 0.25s ease; }
.ahv-plan-card__go:hover { background: #e8dfff; }
.ahv-plan-card.is-pick .ahv-plan-card__go { background: linear-gradient(180deg, #9a6bff, #7d40ff); color: #fff; box-shadow: 0 10px 24px -10px rgba(125, 64, 255, 0.8); }
.ahv-plan-card__go:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }

/* =========================== responsive =========================== */
@media (max-width: 899px) {
  .ahv-plans { grid-template-columns: minmax(0, 1fr); max-width: 520px; }
}
@media (max-width: 899px) {
  .ahv-row, .ahv-b2b { grid-template-columns: minmax(0, 1fr); }
  .ahv-row--flip .ahv-row__copy { order: 0; }
  .ahv-row + .ahv-row { margin-top: 64px; }
  .ahv-row__vis { min-height: 0; }
}
@media (max-width: 620px) {
  .ahv-wl { grid-template-columns: minmax(0, 1fr); }
  .ahv-wl__img { max-width: 220px; }
  .ahv-ba__lbl { bottom: 10px; font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .ahh *, .ahv-ba *, .ahv-lay *, .ahv-wl * { animation: none !important; transition: none !important; }
}

/* every section sits 80px from the next on every screen size (the shared file drops it to 60px / 48px on
   tablets and phones; .cbv.ahv-page outranks those .cbv rules at every width) */
.cbv.ahv-page { --cbv-gap: 80px; }

.ahh.is-static .ahh__pal { display: none; }

/* ---- How it works: each step is the app itself (title bar, the Page Builder bar, then the step).
   1 the page picker open, 2 the Sections panel and the canvas with a block being dropped, 3 live and set up. ---- */
.ahv-page .cbv-steps__vis { min-height: 470px; }
.ahv-page .cbv-sv { padding: 18px; }
.ahv-app { width: min(600px, 100%); overflow: hidden; border-radius: 18px; background: #fff; box-shadow: 0 0 0 1px rgba(76, 36, 190, 0.08); font-size: 12.5px; color: var(--ink); text-align: left; }
.ahv-app__top { display: flex; align-items: center; gap: 8px; padding: 9px 14px; border-bottom: 1px solid #efedf4; font-size: 12.5px; }
.ahv-app__top i { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 6px; background: var(--ink); font-style: normal; font-size: 11px; font-weight: 700; color: #fff; }
.ahv-app__top b { font-weight: 600; }
.ahv-app__bar { display: flex; align-items: center; gap: 10px; padding: 9px 14px; border-bottom: 1px solid #efedf4; }
.ahv-app__pb { display: flex; align-items: center; gap: 7px; }
.ahv-app__pb b { font-size: 13.5px; font-weight: 600; letter-spacing: -0.01em; }
.ahv-app__pb .ahv-st { padding: 2px 8px; font-size: 11px; }
.ahv-app__pv { display: inline-flex; align-items: center; gap: 5px; padding: 4px 8px; border-radius: 8px; color: var(--ink-2); }
.ahv-app__pv svg { width: 15px; height: 15px; }
.ahv-app__pv.is-on { background: #f3effd; color: #4a2ab0; }
.ahv-app__sel { display: inline-flex; flex: 1; min-width: 0; align-items: center; justify-content: center; gap: 4px; height: 28px; margin-left: 4px; padding: 0 10px; border-radius: 8px; background: #f2f1f6; font-weight: 500; white-space: nowrap; }
.ahv-app__sel svg { width: 14px; height: 14px; flex: none; }
.ahv-app__sel.is-open { background: #fff; box-shadow: inset 0 0 0 1.5px var(--brand); color: #4a2ab0; }
.ahv-app__save { padding: 6px 12px; border-radius: 8px; background: var(--ink); font-weight: 600; color: #fff; }
.ahv-app__save.is-done { background: var(--st-live-bg); color: var(--st-live); }
.ahv-app__body { background: #f6f5f9; }

/* 1. pick a page: the page menu, open under the picker */
.ahv-pk { display: flex; justify-content: center; padding: 10px 14px 16px; }
.ahv-pk__menu { width: min(330px, 100%); padding: 6px; border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px #ebe7f6; }
.ahv-pk__grp { margin: 4px 8px 2px; font-size: 11px; font-weight: 600; color: var(--ink-3); }
.ahv-pk__row { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 4px 8px; border-radius: 8px; }
.ahv-pk__row b { font-size: 12.5px; font-weight: 500; }
.ahv-pk__row .ahv-st { padding: 2px 8px; font-size: 11px; }
.ahv-pk__row.is-pick { background: #f3effd; box-shadow: inset 0 0 0 1.5px #c9b6ff; }

/* 2. drag in blocks: the Sections panel and the canvas */
.ahv-bd { display: grid; grid-template-columns: 150px minmax(0, 1fr); min-height: 0; }
.ahv-bd__side { padding: 12px 10px; border-right: 1px solid #efedf4; background: #fff; }
.ahv-bd__h { margin: 0 4px 6px; font-size: 14px; font-weight: 600; letter-spacing: -0.01em; }
.ahv-bd__set { margin: 0 4px 8px; padding-bottom: 8px; border-bottom: 1px solid #f0eef5; font-size: 11.5px; font-weight: 500; color: #2c6ecb; }
.ahv-bd__sec, .ahv-bd__blk { display: flex; align-items: center; gap: 6px; padding: 5px 4px; }
.ahv-bd__sec b { font-size: 12px; font-weight: 600; }
.ahv-bd__col { margin: 1px 0 1px 18px; font-size: 11px; font-weight: 600; color: var(--ink-2); }
.ahv-bd__blk { margin-left: 14px; border-radius: 7px; font-size: 11.5px; color: #2c6ecb; }
.ahv-bd__blk.is-new { background: #f3effd; box-shadow: inset 0 0 0 1.5px #c9b6ff; color: #4a2ab0; font-weight: 500; }
.ahv-bd__grip { flex: none; width: 8px; height: 12px; background-image: radial-gradient(circle, #a8a3b8 1.1px, transparent 1.4px); background-size: 4px 4px; }
.ahv-bd__add { margin: 6px 0 0 18px; font-size: 11.5px; color: var(--ink-2); }
.ahv-bd__add.is-sec { display: flex; align-items: center; justify-content: center; gap: 5px; margin: 10px 0 0; font-weight: 500; color: var(--ink); }
.ahv-bd__add svg { width: 14px; height: 14px; }
.ahv-bd__can { display: grid; align-content: start; gap: 6px; padding: 12px; }
.ahv-bd__lbl { display: flex; justify-content: space-between; padding: 0 2px; font-size: 10.5px; color: var(--ink-3); }
.ahv-bd__lbl em { font-style: normal; }
.ahv-bd__row3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-bottom: 6px; }
.ahv-bd__card { border-radius: 10px; background: #fff; box-shadow: 0 0 0 1px #ebe8f2; }
.ahv-bd__ban { display: flex; flex-direction: column; justify-content: space-between; gap: 6px; min-height: 92px; padding: 10px; background: linear-gradient(135deg, #1f2a44, #3a2f5c 70%, #7a3f4f); color: #fff; }
.ahv-bd__ban b { font-family: Georgia, "Times New Roman", serif; font-size: 12px; line-height: 1.2; }
.ahv-bd__ban span { align-self: flex-start; padding: 3px 8px; border-radius: 6px; background: #fff; font-size: 10px; font-weight: 600; color: var(--acc-ink); }
.ahv-bd__slot { position: relative; display: grid; place-items: center; min-height: 92px; padding: 6px; border-radius: 10px; border: 1.5px dashed #cfcadc; font-size: 10.5px; text-align: center; color: #8e889f; }
.ahv-bd__slot.is-drop { border-color: var(--brand); background: rgba(125, 64, 255, 0.07); animation: ahh-slot 0.9s ease-in-out infinite alternate; }
.ahv-bd__drag { display: inline-flex; align-items: center; gap: 6px; padding: 7px 10px; border-radius: 9px; background: #fff; font-size: 11.5px; font-weight: 500; color: #3b2394; white-space: nowrap; box-shadow: 0 14px 26px -12px rgba(76, 36, 190, 0.75), inset 0 0 0 1.5px var(--brand); transform: translate(-10px, -14px) rotate(-4deg); }
.ahv-bd__tl { padding: 10px 12px; }
.ahv-bd__tlh { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; }
.ahv-bd__tlh b { font-size: 12px; font-weight: 600; }
.ahv-bd__tlh span { padding: 4px 9px; border-radius: 7px; background: #2c6ecb; font-size: 10.5px; font-weight: 600; color: #fff; }
.ahv-bd__tlr { display: grid; grid-template-columns: 62px minmax(0, 1fr) auto; align-items: center; gap: 8px; padding: 6px 0; border-top: 1px solid #f1eff6; font-size: 11.5px; }
.ahv-bd__tlr code { font-family: inherit; font-weight: 600; color: #2c6ecb; }
.ahv-bd__tlr .ahv-tkx__st { padding: 2px 8px; font-size: 10.5px; }

/* 3. preview and publish: the finished page in preview, and the setup steps done */
.ahv-go { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 12px; padding: 14px; }
.ahv-go__pv { padding: 8px; border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px #ebe8f2; }
.ahv-go__url { margin-bottom: 8px; padding: 4px 8px; border-radius: 6px; background: #f2f1f6; font-size: 10.5px; color: var(--ink-3); }
.ahv-go__ban { display: flex; flex-direction: column; gap: 8px; padding: 12px; border-radius: 9px; background: linear-gradient(135deg, #1f2a44, #3a2f5c 70%, #7a3f4f); color: #fff; }
.ahv-go__ban b { font-family: Georgia, "Times New Roman", serif; font-size: 13px; line-height: 1.2; }
.ahv-go__ban span { align-self: flex-start; padding: 3px 8px; border-radius: 6px; background: #fff; font-size: 10px; font-weight: 600; color: var(--acc-ink); }
.ahv-go__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 6px; }
.ahv-go__list { display: grid; align-content: start; gap: 6px; }
.ahv-go__ok { display: flex; gap: 10px; margin-bottom: 4px; padding: 12px; border-radius: 12px; background: var(--st-live-bg); color: var(--st-live); }
.ahv-go__ok svg { flex: none; width: 22px; height: 22px; }
.ahv-go__ok span { font-size: 12px; line-height: 1.4; color: #2c4a3a; }
.ahv-go__ok b { display: block; font-size: 13.5px; color: var(--st-live); }
.ahv-go__step { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 10px; background: #fff; box-shadow: 0 0 0 1px #ebe8f2; font-size: 12px; font-weight: 500; }
.ahv-go__step i { display: grid; place-items: center; flex: none; width: 20px; height: 20px; border-radius: 50%; background: #f2f1f6; font-style: normal; font-size: 10.5px; font-weight: 600; color: var(--ink-2); }
.ahv-go__step.is-done i { color: transparent; background: var(--st-live-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2324704a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat; }

@media (max-width: 620px) {
  .ahv-page .cbv-steps__vis { min-height: 520px; }
  .ahv-page .cbv-sv { padding: 14px; }
  .ahv-app__pv { display: none; }
  .ahv-bd { grid-template-columns: minmax(0, 1fr); }
  .ahv-bd__side { display: none; }
  .ahv-go { grid-template-columns: minmax(0, 1fr); }
  .ahv-go__pv { display: none; }
}
@media (prefers-reduced-motion: reduce) { .ahv-bd__slot.is-drop { animation: none; } }

/* ---- How it works, livelier: brand purple instead of grey and blue, a glow behind the window,
   real content in the canvas and preview, and one short animation each time a step opens. ---- */
.ahv-app { box-shadow: 0 0 0 1px rgba(76, 36, 190, 0.1); }
.ahv-app__top { background: linear-gradient(180deg, #fff, #fbfaff); }
.ahv-app__top i { background: linear-gradient(135deg, #7d40ff, #4a2ab0); }
.ahv-app__body { background: linear-gradient(180deg, #f7f4ff, #f3f0fb); }
.ahv-app__save { background: linear-gradient(180deg, #8a55ff, var(--brand)); box-shadow: 0 6px 14px -6px rgba(125, 64, 255, 0.8); }
.ahv-app__save.is-done { box-shadow: none; }

/* 1. pick a page: a faint page behind the open menu, a cursor on the chosen page, rows cascade in */
.ahv-pk { position: relative; display: block; min-height: 0; padding: 10px 14px 16px; overflow: hidden; }
.ahv-pk__ghost { position: absolute; inset: 14px; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 84px 1fr 1fr; gap: 8px; opacity: 0.55; filter: blur(1.5px); }
.ahv-pk__ghost i { border-radius: 10px; background: #fff; box-shadow: 0 0 0 1px #ebe7f6; }
.ahv-pk__ghost .ahv-pk__gban { grid-column: 1 / -1; background: linear-gradient(135deg, #1f2a44, #3a2f5c 70%, #7a3f4f); }
.ahv-pk__menu { position: relative; z-index: 1; margin: 0 auto; box-shadow: 0 0 0 1px #e4dcfb; }
.ahv-pk__row.is-pick { background: linear-gradient(90deg, #efe8ff, #f7f3ff); box-shadow: inset 3px 0 0 var(--brand), inset 0 0 0 1px #d9cbff; }
.ahv-pk__row.is-pick b { font-weight: 600; color: #3b2394; }
.ahv-pk__cur { position: absolute; z-index: 2; left: calc(50% + 70px); top: 52px; width: 22px; height: 22px; fill: #fff; stroke: var(--ink); stroke-width: 1.6; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.25)); }
.cbv-sv.is-on .ahv-pk__menu > * { animation: ahv-rise 0.45s var(--ease) both; }
.ahv-pk__menu > :nth-child(2) { animation-delay: 0.04s !important; } .ahv-pk__menu > :nth-child(3) { animation-delay: 0.08s !important; }
.ahv-pk__menu > :nth-child(4) { animation-delay: 0.12s !important; } .ahv-pk__menu > :nth-child(5) { animation-delay: 0.16s !important; }
.ahv-pk__menu > :nth-child(6) { animation-delay: 0.2s !important; } .ahv-pk__menu > :nth-child(7) { animation-delay: 0.24s !important; }
.ahv-pk__menu > :nth-child(8) { animation-delay: 0.28s !important; } .ahv-pk__menu > :nth-child(9) { animation-delay: 0.32s !important; }
.ahv-pk__menu > :nth-child(10) { animation-delay: 0.36s !important; } .ahv-pk__menu > :nth-child(11) { animation-delay: 0.4s !important; }
.ahv-pk__menu > :nth-child(12) { animation-delay: 0.44s !important; } .ahv-pk__menu > :nth-child(13) { animation-delay: 0.48s !important; }
.cbv-sv.is-on .ahv-pk__cur { animation: ahv-point 0.9s var(--ease) 0.5s both; }

/* 2. drag in blocks: purple links, and "Product list" travels from the panel into the slot, then fills it */
.ahv-bd__set, .ahv-bd__blk { color: #5b3fd0; }
.ahv-bd__blk.is-new { background: linear-gradient(90deg, #efe8ff, #f7f3ff); box-shadow: inset 3px 0 0 var(--brand); }
.ahv-bd__tlh span { background: linear-gradient(180deg, #8a55ff, var(--brand)); }
.ahv-bd__tlr code { color: #5b3fd0; }
.ahv-bd__slot.is-drop { overflow: visible; }
.ahv-bd__pl { position: absolute; inset: 6px; display: flex; flex-direction: column; gap: 6px; padding: 6px; border-radius: 8px; background: #fff; opacity: 0; }
.ahv-bd__pl b { font-size: 10.5px; font-weight: 600; color: var(--ink); text-align: left; }
.ahv-bd__pl p { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; flex: 1; min-height: 0; }
.ahv-bd__pl img { width: 100%; height: 100%; min-height: 0; padding: 3px; object-fit: contain; border-radius: 6px; background: #f2efe9; }
.ahv-bd__drag { position: relative; z-index: 2; }
.ahv-bd__cur { position: absolute; right: -12px; bottom: -14px; width: 20px; height: 20px; fill: #fff; stroke: var(--ink); stroke-width: 1.6; filter: drop-shadow(0 3px 5px rgba(0, 0, 0, 0.25)); }
.cbv-sv.is-on .ahv-bd__drag { animation: ahv-drag 3.6s var(--ease) infinite; }
.cbv-sv.is-on .ahv-bd__pl { animation: ahv-fill 3.6s ease infinite; }
.cbv-sv.is-on .ahv-bd__slot.is-drop { animation: ahv-slot 3.6s ease infinite; }

/* 3. preview and publish: a real mini dashboard, the tick pops, the steps tick one by one */
.ahv-go__c { padding: 7px; border-radius: 8px; background: #faf8f4; box-shadow: 0 0 0 1px #efebe3; }
.ahv-go__c:first-child { grid-row: span 2; }
.ahv-go__c > b { display: block; margin-bottom: 5px; font-size: 10.5px; font-weight: 600; color: var(--acc-ink); }
.ahv-go__o { display: flex; align-items: center; gap: 6px; padding: 4px 0; border-top: 1px solid #efebe3; font-size: 9.5px; line-height: 1.25; color: var(--acc-ink); }
.ahv-go__o img { flex: none; width: 26px; height: 26px; padding: 2px; object-fit: contain; border-radius: 5px; background: #f2efe9; }
.ahv-go__o em { display: block; font-style: normal; color: var(--st-live); }
.ahv-go__s { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3px; }
.ahv-go__s img { width: 100%; aspect-ratio: 1; padding: 2px; object-fit: contain; border-radius: 5px; background: #f2efe9; }
.ahv-go__pts { font-size: 9.5px; color: #6b7080; }
.ahv-go__pts strong { font-size: 15px; font-weight: 700; color: var(--acc-ink); }
.ahv-go__bar { display: block; height: 5px; margin-top: 4px; overflow: hidden; border-radius: 5px; background: #eee8df; }
.ahv-go__bar u { display: block; width: 83%; height: 100%; border-radius: 5px; background: linear-gradient(90deg, var(--acc-hot), #f08a5d); }
.ahv-go__ok { box-shadow: inset 0 0 0 1px #bfe6cd; }
.cbv-sv.is-on .ahv-go__ok { animation: ahv-rise 0.5s var(--ease) both; }
.cbv-sv.is-on .ahv-go__ok svg { animation: ahv-pop 0.6s var(--ease) 0.2s both; }
.cbv-sv.is-on .ahv-go__step { animation: ahv-rise 0.45s var(--ease) both; }
.cbv-sv.is-on .ahv-go__step.is-done i { animation: ahv-tick 0.5s var(--ease) both; }
.ahv-go__step:nth-of-type(2), .ahv-go__step:nth-of-type(2) i { animation-delay: 0.35s !important; }
.ahv-go__step:nth-of-type(3), .ahv-go__step:nth-of-type(3) i { animation-delay: 0.6s !important; }
.ahv-go__step:nth-of-type(4), .ahv-go__step:nth-of-type(4) i { animation-delay: 0.85s !important; }
.cbv-sv.is-on .ahv-go__bar u { animation: ahv-grow 1.1s var(--ease) 0.3s both; }

@keyframes ahv-rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes ahv-point { from { opacity: 0; transform: translate(40px, 60px); } to { opacity: 1; transform: none; } }
@keyframes ahv-pop { 0% { transform: scale(0); } 60% { transform: scale(1.25); } 100% { transform: scale(1); } }
@keyframes ahv-tick { 0% { transform: scale(0.4); background-color: #f2f1f6; } 60% { transform: scale(1.2); } 100% { transform: scale(1); } }
@keyframes ahv-grow { from { width: 0; } }
/* the drag loop: start on the panel, lift, travel to the slot, drop, then the products show */
@keyframes ahv-drag {
  0%, 8% { opacity: 0; transform: translate(-290px, 72px) rotate(0deg) scale(0.95); }
  14% { opacity: 1; transform: translate(-290px, 72px) rotate(-4deg) scale(1.04); }
  52% { opacity: 1; transform: translate(-6px, -4px) rotate(-4deg) scale(1.04); }
  60% { opacity: 1; transform: translate(0, 0) rotate(0deg) scale(0.96); }
  66%, 100% { opacity: 0; transform: translate(0, 0) scale(0.9); }
}
@keyframes ahv-fill { 0%, 60% { opacity: 0; transform: scale(0.94); } 68%, 94% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes ahv-slot {
  0%, 58% { border-color: var(--brand); background: rgba(125, 64, 255, 0.08); box-shadow: 0 0 0 4px rgba(125, 64, 255, 0.12); }
  66%, 100% { border-color: transparent; background: transparent; box-shadow: none; }
}
@media (prefers-reduced-motion: reduce) {
  .cbv-sv.is-on .ahv-pk__menu > *, .cbv-sv.is-on .ahv-pk__cur, .cbv-sv.is-on .ahv-go__ok, .cbv-sv.is-on .ahv-go__ok svg,
  .cbv-sv.is-on .ahv-go__step, .cbv-sv.is-on .ahv-go__step i, .cbv-sv.is-on .ahv-go__bar u, .cbv-sv.is-on .ahv-bd__slot.is-drop { animation: none !important; }
  .cbv-sv.is-on .ahv-bd__drag { animation: none; opacity: 0; }
  .cbv-sv.is-on .ahv-bd__pl { animation: none; opacity: 1; }
  .ahv-bd__slot.is-drop { border-color: transparent; }
}
@media (max-width: 620px) { .ahv-pk__cur { display: none; } }

/* ---- Six apps in, one app out: one soft panel, the heading on the left, four reasons on the right,
   each with a small white icon tile (same layout as the other v2 pages' "what's standing between" panel). ---- */
/* the section uses the shared centred head (pill, heading, line); the four reasons sit under it as cards */
.ahv-why2 { max-width: 880px; margin: 0 auto; }
.ahv-why2__list { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin: 0; padding: 0; }
.ahv-why2__list li { display: flex; flex-direction: column; gap: 16px; padding: 24px; border: 1.5px solid #d6cbf6; border-radius: 22px; background: #fff; box-shadow: 0 2px 4px rgba(60, 30, 140, 0.04); }
.ahv-why2__ic { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: #f3effd; box-shadow: inset 0 0 0 1px #e6dcff; color: #5b3fd0; }
.ahv-why2__ic svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ahv-why2__list b { display: block; font-size: 17px; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); }
.ahv-why2__list span { display: block; margin-top: 5px; font-size: 14.5px; line-height: 1.5; color: var(--ink-2); }
@media (max-width: 560px) { .ahv-why2__list { grid-template-columns: minmax(0, 1fr); } }

/* =========================== responsive pass: every width, every device =========================== */

/* 1. hero on laptops 900-1199px: a narrower text column so the account-page demo keeps a readable size */
@media (min-width: 900px) and (max-width: 1199px) {
  .ahh__in, .ahh.is-pin .ahh__in { grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: clamp(24px, 3vw, 40px); }
  .ahh h1 { font-size: clamp(38px, 4vw, 48px); }
}
/* 5. hero on very short laptop windows (under 560px tall): tighter groups so the button stays on screen */
@media (min-width: 900px) and (max-height: 560px) {
  .ahh.is-pin .ahh__pill { margin-bottom: 10px; }
  .ahh.is-pin .ahh__lede { margin-top: 10px; }
  .ahh.is-pin .ahh__now { margin-top: 20px; padding: 10px 12px; }
  .ahh.is-pin .ahh__act { margin-top: 12px; }
}

/* 2. how it works: the step windows answer to their own width (container queries), not the screen's,
   so they simplify whenever the window is narrow, on a laptop or a phone alike */
.ahv-page .cbv-steps__vis { container: ahv-steps / inline-size; }
@container ahv-steps (max-width: 600px) {
  .ahv-bd { grid-template-columns: minmax(0, 1fr); }
  .ahv-bd__side { display: none; }
  .cbv-sv.is-on .ahv-bd__drag { animation-name: ahv-drag-in; }
}
@container ahv-steps (max-width: 520px) {
  .ahv-app__pv { display: none; }
  .ahv-go { grid-template-columns: minmax(0, 1fr); }
  .ahv-go__pv { display: none; }
  .ahv-pk__cur { display: none; }
  .ahv-bd__row3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ahv-bd__row3 > :last-child { display: none; }
}
@container ahv-steps (max-width: 380px) {
  .ahv-app__top b { font-size: 11.5px; }
  .ahv-app__bar { gap: 6px; padding: 8px 10px; }
  .ahv-app__pb b { font-size: 12px; }
  .ahv-app__sel { padding: 0 6px; font-size: 11.5px; }
  .ahv-app__save { padding: 5px 9px; }
}
/* without the side panel, the block slides in from the left edge of the canvas instead */
@keyframes ahv-drag-in {
  0%, 8% { opacity: 0; transform: translate(-120px, 30px) rotate(0deg) scale(0.95); }
  14% { opacity: 1; transform: translate(-120px, 30px) rotate(-4deg) scale(1.04); }
  52% { opacity: 1; transform: translate(-6px, -4px) rotate(-4deg) scale(1.04); }
  60% { opacity: 1; transform: translate(0, 0) rotate(0deg) scale(0.96); }
  66%, 100% { opacity: 0; transform: translate(0, 0) scale(0.9); }
}

/* 4. support inbox on small phones: the three stats become rows (label left, number right) */
@media (max-width: 420px) {
  .ahv-tkx__stats { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .ahv-tkx__stats p { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 12px; }
  .ahv-tkx__stats b { margin-top: 0; font-size: 18px; }
  .ahv-tkx__stats span { padding-bottom: 0; border-bottom: 0; }
}

/* small phones (under 360px): keep text and tables inside the screen */
@media (max-width: 359px) {
  .ahh h1 { font-size: 36px; }
  .ahh__nw { white-space: normal; }
  .ahv-spec th, .ahv-spec td { padding: 9px 10px; font-size: 13.5px; }
  .ahv-why2__list li { padding: 20px; }
}


/* hero no longer pins to the scroll: it plays by itself in a loop (ahv-lp.js), so the section is one screen tall.
   The panel keeps its framed full-screen look; it fills the screen under the site header (the hero starts 88px down), with the 10px gap on every side. */
.ahh.is-pin.is-loop { height: auto; }
.ahh.is-pin.is-loop .ahh__pin { position: relative; top: auto; height: calc(100vh - 108px); height: calc(100svh - 108px); min-height: 600px; margin-top: var(--ahh-gap); }
.ahh.is-loop .ahh__chip { cursor: pointer; }
.ahh.is-loop .ahh__now { cursor: pointer; }
.ahh.is-loop .ahh__now-bar i { cursor: pointer; }
