/* ==========================================================================
   Wayvia theme: global styles
   1. Theme variables (heading weights come from Theme settings)
   2. The mockups' shared design system, copied exactly
   3. Theme additions: one-font rule, heading weights, icons, reveal, HubSpot grid
   4. Styles for the generic "wv-" building-block modules
   ========================================================================== */

/* 1. Variables ------------------------------------------------------------- */
:root {
  /* Colors */
  --wv-plum: #380A2E;
  --wv-deep-plum: #66264D;
  --wv-mauve: #EBB8FF;
  --wv-lilac: #F2E5FF;
  --wv-orchid: #D58CF0;
  --wv-cream: #FAF5ED;
  --wv-card: #FFFDF8;
  --wv-grad-start: #4A1340;
  --wv-grad-end: #66264D;
  --wv-text-muted: rgba(56, 10, 46, 0.72);
  --wv-text-muted-dark: rgba(250, 245, 237, 0.76);
  --wv-border: rgba(56, 10, 46, 0.10);
  --wv-border-dark: rgba(235, 184, 255, 0.28);

  /* Typography tokens: one family (Google Sans Flex). Change type here or in Theme settings › Typography. */
  --wv-font: "Google Sans Flex", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  /* Weight scale. 800 is reserved for retailer wordmarks drawn in text inside product mockups. */
  --wv-fw-light: 300;
  --wv-fw-regular: 400;
  --wv-fw-medium: 500;
  --wv-fw-semibold: 600;
  --wv-fw-bold: 700;
  --wv-fw-wordmark: 800;
  /* Roles (weight / size) */
  --wv-fw-h1: 600;
  --wv-fs-h1: clamp(44px, 5.6vw, 82px);
  --wv-fw-h2: 600;
  --wv-fs-h2: clamp(32px, 4vw, 54px);
  --wv-fw-h3: 700;
  --wv-fs-h3: 22px;
  --wv-fw-h4: 600;
  --wv-fw-h5: 600;
  --wv-fw-h6: 600;
  --wv-fw-list-title: var(--wv-fw-semibold);  /* selectable lists: Shoppable journeys, Media metrics/channels/rules, RI signals, Price monitoring steps */
  --wv-fs-list-title: 21px;
  --wv-fw-eyebrow: var(--wv-fw-semibold);
  --wv-fs-eyebrow: 13px;
  --wv-fw-body: 400;
  --wv-fs-body: 18px;
  --wv-fw-lede: var(--wv-fw-regular);
  --wv-fs-lede: clamp(18px, 1.4vw, 20px);
  --wv-fw-button: 700;
  --wv-fs-button: 15px;
  --wv-fs-button-sm: 14px;
  --wv-fw-link: var(--wv-fw-bold);
  --wv-fs-link: 15px;
  --wv-fw-nav: var(--wv-fw-medium);
  --wv-fs-nav: 15px;
  --wv-fw-nav-btn: var(--wv-fw-bold);
  --wv-fs-nav-btn: 14px;
  --wv-fw-footer-head: var(--wv-fw-bold);
  --wv-fs-footer-head: 13px;
  --wv-fw-footer-tagline: var(--wv-fw-light);
  --wv-fs-footer-tagline: 18px;
  --wv-fw-chip: var(--wv-fw-semibold);
  --wv-fs-chip-sm: 13px;
  --wv-fs-chip: 14px;
  --wv-fw-faq: var(--wv-fw-semibold);
  --wv-fs-faq: 16.5px;
  --wv-fw-label: var(--wv-fw-semibold);
  --wv-fs-label: 14px;
  --wv-fw-input: var(--wv-fw-regular);
  --wv-fs-input: 15px;
  --wv-fw-caption: var(--wv-fw-semibold);
  --wv-fs-caption: 13px;
  --wv-fw-stat: var(--wv-fw-semibold);
  --wv-fw-strong: var(--wv-fw-bold);
  --wv-fs-icon: 20px;
  --wv-fs-icon-lg: 22px;
  /* Inside product mockups (sizes stay per element) */
  --wv-fw-ui-value: var(--wv-fw-semibold);
  --wv-fw-ui-small: var(--wv-fw-regular);
  --wv-fw-ui-flag: var(--wv-fw-bold);
  /* Older names, kept so nothing that still references them breaks */
  --wv-h1-weight: var(--wv-fw-h1);
  --wv-h2-weight: var(--wv-fw-h2);
  --wv-h3-weight: var(--wv-fw-h3);
  --wv-h4-weight: var(--wv-fw-h4);
  --wv-h5-weight: var(--wv-fw-h5);
  --wv-h6-weight: var(--wv-fw-h6);
  --wv-body-weight: var(--wv-fw-body);
  --wv-button-weight: var(--wv-fw-button);
  --wv-h1-size: var(--wv-fs-h1);
  --wv-h2-size: var(--wv-fs-h2);
  --wv-h3-size: var(--wv-fs-h3);
  --wv-body-size: var(--wv-fs-body);

  /* Layout */
  --wv-max: 1200px;
  --wv-gutter: clamp(16px, 4vw, 40px);
  --wv-section-y: clamp(64px, 9vw, 120px);
  --wv-radius-card: 24px;
  --wv-radius-ui: 20px;
  --wv-radius-faq: 16px;
  --wv-radius-icon: 12px;
  --wv-radius-input: 10px;
  --wv-shadow-card: 0 1px 2px rgba(56, 10, 46, 0.04), 0 12px 32px -12px rgba(56, 10, 46, 0.14);
  --wv-shadow-media: 0 1px 2px rgba(56, 10, 46, 0.04), 0 24px 48px -20px rgba(56, 10, 46, 0.28);
  --wv-ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* 2. Mockup design system (shared by every page) -------------------------- */
body{margin:0;background:#FAF5ED}
a{color:#380A2E}
a:hover{color:#66264D}
button{cursor:pointer}
.d{font-family:"Google Sans Flex",system-ui,sans-serif;font-weight:var(--wv-fw-semibold);letter-spacing:-0.03em;line-height:1.02;text-wrap:balance}
.ms{font-family:"Material Symbols Rounded";font-weight:var(--wv-fw-light);font-style:normal;font-size:var(--wv-fs-icon);line-height:1;letter-spacing:normal;text-transform:none;white-space:nowrap;display:inline-block;font-variation-settings:"FILL" 0,"wght" 300,"opsz" 24}
.wrap{max-width:1200px;margin:0 auto;padding:0 clamp(16px,4vw,40px);box-sizing:border-box}
.sec{padding:clamp(64px,9vw,120px) 0}
.eb{display:inline-block;font-size:var(--wv-fs-eyebrow);font-weight:var(--wv-fw-eyebrow);letter-spacing:.12em;text-transform:uppercase;color:#66264D}
.eb-d{color:#EBB8FF}
.h1{margin:0;font-size:var(--wv-fs-h1);color:#FAF5ED}
.h2{margin:0;font-size:var(--wv-fs-h2)}
.h3{margin:0;font-size:var(--wv-fs-h3);font-weight:var(--wv-fw-h3);line-height:1.25;letter-spacing:-0.01em}
.lede{margin:0;font-size:var(--wv-fs-lede);line-height:1.55;color:rgba(56,10,46,0.72);max-width:60ch}
.lede-d{color:rgba(250,245,237,0.74)}
.body{margin:0;font-size:var(--wv-fs-body);line-height:1.55;color:rgba(56,10,46,0.72)}
.body-d{color:rgba(250,245,237,0.78)}
.head{display:flex;flex-direction:column;gap:16px;max-width:780px}
.head.c{align-items:center;text-align:center;margin:0 auto}
.card{background:#FFFDF8;border:1px solid rgba(56,10,46,0.10);border-radius:24px;box-shadow:0 1px 2px rgba(56,10,46,0.04),0 12px 32px -12px rgba(56,10,46,0.14);box-sizing:border-box}
.split{display:flex;flex-wrap:wrap;gap:clamp(32px,5vw,72px);align-items:center}
.split>*{flex:1 1 440px;min-width:0}
.split.rev{flex-direction:row-reverse}
.g2{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,420px),1fr));gap:24px}
.g3{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:20px}
.g4{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:16px}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:0 24px;border-radius:9999px;font-family:inherit;font-weight:var(--wv-fw-button);font-size:var(--wv-fs-button);text-decoration:none;box-sizing:border-box;border:none;transition:transform .2s ease,box-shadow .2s ease,background-color .2s ease}
.btn:hover{transform:translateY(-1px)}
.btn svg{width:16px;height:16px;transition:transform .2s ease}
.btn:hover svg{transform:translateX(3px)}
.btn-plum,.btn-plum:hover{background:#380A2E;color:#FAF5ED}
.btn-plum:hover{box-shadow:0 8px 20px -8px rgba(56,10,46,0.5)}
.btn-mauve,.btn-mauve:hover{background:#EBB8FF;color:#380A2E}
.btn-mauve:hover{box-shadow:0 8px 24px -8px rgba(235,184,255,0.6)}
.btn-ghost-d,.btn-ghost-d:hover{background:transparent;color:#FAF5ED;border:1.5px solid rgba(250,245,237,0.4)}
.btn-ghost-d:hover{background:rgba(250,245,237,0.08)}
.btn-sm{min-height:40px;padding:0 18px;font-size:var(--wv-fs-button-sm)}
.tlink{display:inline-flex;align-items:center;gap:8px;font-weight:var(--wv-fw-link);font-size:var(--wv-fs-link);text-decoration:none;border-bottom:1.5px solid #EBB8FF;padding-bottom:2px;color:#380A2E;align-self:flex-start}
.tlink:hover{border-color:#380A2E;color:#380A2E}
.tlink svg{width:14px;height:14px;transition:transform .2s ease}
.tlink:hover svg{transform:translateX(3px)}
.tlink-d,.tlink-d:hover{color:#FAF5ED}
.tlink-d:hover{border-color:#FAF5ED}
.nav-link{color:rgba(250,245,237,0.74);text-decoration:none}
.nav-link:hover{color:#FAF5ED}
.nav-cur{color:#FAF5ED;box-shadow:inset 0 -2px 0 #EBB8FF;padding-bottom:4px}
.crumb{display:flex;gap:8px;align-items:center;font-size:13.5px;color:rgba(250,245,237,0.74)}
.chip{display:inline-flex;align-items:center;gap:6px;font-size:var(--wv-fs-chip-sm);font-weight:var(--wv-fw-chip);background:#F2E5FF;color:#380A2E;border-radius:9999px;padding:6px 12px}
.ico{flex:none;width:44px;height:44px;border-radius:12px;background:#F2E5FF;display:flex;align-items:center;justify-content:center;color:#380A2E}
.ico .ms{font-size:var(--wv-fs-icon-lg)}
.ico-d{background:rgba(235,184,255,0.16);color:#EBB8FF}
.ui{background:#FAF8F5;border:1px solid rgba(56,10,46,0.10);border-radius:20px;box-shadow:0 1px 2px rgba(56,10,46,0.04),0 24px 48px -20px rgba(56,10,46,0.28);overflow:hidden;font-size:12.5px;color:#380A2E;box-sizing:border-box}
.ui-bar{height:40px;display:flex;align-items:center;gap:8px;padding:0 14px;border-bottom:1px solid rgba(56,10,46,0.08);background:#FFFFFF}
.ui-dot{width:9px;height:9px;border-radius:9999px;background:rgba(56,10,46,0.16)}
.ui-pad{padding:16px;display:flex;flex-direction:column;gap:12px}
.ui-card{background:#FFFFFF;border-radius:12px;padding:12px;box-shadow:0 1px 2px rgba(56,10,46,0.06)}
.ui-k{font-size:11px;color:rgba(56,10,46,0.66)}
.ui-v{font-size:20px;font-weight:var(--wv-fw-ui-value);font-variant-numeric:tabular-nums}
.ui-up{font-size:11px;color:#66264D;font-weight:var(--wv-fw-ui-value)}
.bar{height:8px;border-radius:4px;background:#66264D}
.bar2{background:#D58CF0}
.row{display:flex;align-items:center;justify-content:space-between;gap:10px}
.rrow{display:flex;align-items:center;gap:10px;padding:8px 10px;border-radius:10px;background:#FFFFFF;box-shadow:0 1px 2px rgba(56,10,46,0.06)}
.rlogo{flex:none;min-width:74px;font-weight:var(--wv-fw-wordmark);font-size:13px;letter-spacing:-0.01em}
.go{flex:none;width:26px;height:26px;border-radius:9999px;background:#EBB8FF;display:flex;align-items:center;justify-content:center;color:#380A2E}
.go svg{width:12px;height:12px}
.flag{font-size:10.5px;font-weight:var(--wv-fw-ui-flag);border-radius:9999px;padding:3px 8px;background:#380A2E;color:#FAF5ED}
.flag-ok{background:#F2E5FF;color:#380A2E}
.num{font-variant-numeric:tabular-nums}
.logo-roll{width:100%;overflow:hidden;-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 8%,#000 92%,transparent 100%);mask-image:linear-gradient(90deg,transparent 0,#000 8%,#000 92%,transparent 100%)}
.logo-track{display:flex;width:max-content;animation:logoRoll 34s linear infinite}
.logo-roll:hover .logo-track{animation-play-state:paused}
.logo-set{display:flex;gap:16px;padding-right:16px}
.logo-tile{flex:none;width:176px;height:60px;border-radius:16px;background:rgba(235,184,255,0.12);border:1px solid rgba(235,184,255,0.28);display:flex;align-items:center;justify-content:center;font-size:var(--wv-fs-caption);font-weight:var(--wv-fw-caption);color:#FAF5ED}
@keyframes logoRoll{from{transform:translateX(-50%)}to{transform:translateX(0)}}
.rv-l,.rv-r,.rv-u{transition:opacity .9s cubic-bezier(0.16,1,0.3,1),transform 1.1s cubic-bezier(0.16,1,0.3,1)}
.rv-r{transition-delay:.1s}
.rv-l.is-pre{opacity:0;transform:translateX(-120px)}
.rv-r.is-pre{opacity:0;transform:translateX(120px)}
.rv-u.is-pre{opacity:0;transform:translateY(48px)}
.d2{transition-delay:.12s}
.d3{transition-delay:.24s}
.d4{transition-delay:.36s}
.faq-card{background:#FFFDF8;border:1px solid rgba(56,10,46,0.10);border-radius:16px;transition:box-shadow .2s}
.faq-card.is-open{box-shadow:0 1px 2px rgba(56,10,46,0.04),0 12px 32px -12px rgba(56,10,46,0.14)}
.faq-q{width:100%;font-family:inherit;font-size:var(--wv-fs-faq);font-weight:var(--wv-fw-faq);background:transparent;border:none;color:#380A2E;text-align:left;padding:20px 22px;display:flex;justify-content:space-between;align-items:center;gap:16px;min-height:44px}
.faq-sign{flex:none;width:28px;height:28px;border-radius:9999px;display:flex;align-items:center;justify-content:center;font-size:var(--wv-fs-body);font-weight:var(--wv-fw-semibold)}
.field{display:flex;flex-direction:column;gap:6px;font-size:var(--wv-fs-label);font-weight:var(--wv-fw-label)}
.field input,.field select{font-family:inherit;font-size:var(--wv-fs-input);padding:13px 14px;border-radius:10px;border:1px solid rgba(56,10,46,0.18);background:#FAF5ED;color:#380A2E}
.tab{font-family:inherit;font-size:var(--wv-fs-chip);font-weight:var(--wv-fw-chip);border-radius:9999px;padding:10px 16px;min-height:44px;border:1px solid rgba(56,10,46,0.14);background:#FFFDF8;color:#380A2E;display:inline-flex;align-items:center;gap:8px;transition:background .2s,color .2s,border-color .2s}
.tab:hover{border-color:#380A2E}
.tab.is-on{background:#380A2E;color:#FAF5ED;border-color:#380A2E}
.tab-d{background:transparent;color:rgba(250,245,237,0.82);border-color:rgba(250,245,237,0.22)}
.tab-d:hover{border-color:rgba(250,245,237,0.6)}
.tab-d.is-on{background:#EBB8FF;color:#380A2E;border-color:#EBB8FF}
.flow-line{stroke-dasharray:3 10;animation:flowDash 1.4s linear infinite}
@keyframes flowDash{to{stroke-dashoffset:-26}}
.pulse{animation:pulse 2.4s ease-in-out infinite}
@keyframes pulse{0%,100%{opacity:.55}50%{opacity:1}}
.deck{position:relative;width:100%;max-width:600px;aspect-ratio:600/540;margin:0 auto}
.deck-card{position:absolute;left:50%;top:50%;width:40%;transform:translate(-50%,-50%);padding:0;margin:0;border:0;background:transparent;font:inherit;border-radius:28px}
.deck-card img{display:block;width:100%;height:auto;filter:drop-shadow(0 28px 36px rgba(0,0,0,0.45));transition:transform .35s cubic-bezier(0.16,1,0.3,1)}
.deck-card:hover img{transform:translateY(-10px)}
.deck-card:focus-visible{outline:3px solid #EBB8FF;outline-offset:6px}
.deck-left{z-index:1;animation:deckLeft 1.1s cubic-bezier(0.22,1,0.36,1) .45s both}
.deck-right{z-index:2;animation:deckRight 1.1s cubic-bezier(0.22,1,0.36,1) .65s both}
.deck-mid{z-index:3;animation:deckMid .8s cubic-bezier(0.22,1,0.36,1) .1s both}
.deck-card.is-top{z-index:5;cursor:default}
@keyframes deckMid{from{opacity:0;transform:translate(-50%,-44%) scale(.96)}to{opacity:1;transform:translate(-50%,-52%) scale(1.04)}}
@keyframes deckLeft{0%{opacity:0;transform:translate(-50%,-50%) rotate(-2deg)}25%{opacity:1}100%{opacity:1;transform:translate(-112%,-46%) rotate(-8deg)}}
@keyframes deckRight{0%{opacity:0;transform:translate(-50%,-50%) rotate(2deg)}25%{opacity:1}100%{opacity:1;transform:translate(12%,-46%) rotate(8deg)}}
.deck-float{display:block;animation:deckFloat 6s ease-in-out 1.8s infinite}
.deck-left .deck-float{animation-duration:6.6s;animation-delay:2s}
.deck-right .deck-float{animation-duration:7.2s;animation-delay:2.2s}
@keyframes deckFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-8px)}}
a:focus-visible,button:focus-visible{outline:3px solid #EBB8FF;outline-offset:3px}
@media (max-width:760px){.hide-sm{display:none}}
@media (prefers-reduced-motion: reduce){.rv-l,.rv-r,.rv-u{transition:none}}
@media (prefers-reduced-motion: reduce){.rv-l.is-pre,.rv-r.is-pre,.rv-u.is-pre{opacity:1;transform:none}}
@media (prefers-reduced-motion: reduce){.logo-track,.flow-line,.pulse,.deck-float{animation:none}}
@media (prefers-reduced-motion: reduce){.deck-card{animation:none !important}}
@media (prefers-reduced-motion: reduce){.deck-mid{transform:translate(-50%,-52%) scale(1.04)}}
@media (prefers-reduced-motion: reduce){.deck-left{transform:translate(-112%,-46%) rotate(-8deg)}}
@media (prefers-reduced-motion: reduce){.deck-right{transform:translate(12%,-46%) rotate(8deg)}}
.nav-link{color:rgba(250,245,237,0.74) !important}
.nav-link:hover{color:#FAF5ED !important}
.nav-cur{color:#FAF5ED !important;box-shadow:inset 0 -2px 0 #EBB8FF;padding-bottom:4px}

/* 3. Theme additions ------------------------------------------------------- */
body{font-family:"Google Sans Flex",system-ui,-apple-system,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;color:#380A2E;background:#FAF5ED;font-size:var(--wv-fs-body);line-height:1.55;-webkit-font-smoothing:antialiased}
button,input,select,textarea,.hs-form,.hs-form *{font-family:inherit}
/* Heading weights and sizes come from the typography tokens in :root (Theme settings › Typography) */
h1.d,h1.h1{font-weight:var(--wv-fw-h1)}
h2.d,h2.h2{font-weight:var(--wv-fw-h2)}
h3.d,h3.h3,.h3{font-weight:var(--wv-fw-h3)}
h4{font-weight:var(--wv-fw-h4)} h5{font-weight:var(--wv-fw-h5)} h6{font-weight:var(--wv-fw-h6)}
.hl-m{color:#EBB8FF}
.rt>p{margin:0} .rt>p+p{margin-top:.75em} .rt a{color:inherit}
.ms.msi{font-family:inherit}
.wv-skip{position:absolute;left:-9999px;top:8px;z-index:100;background:#EBB8FF;color:#380A2E;padding:10px 16px;border-radius:9999px;font-weight:var(--wv-fw-bold)}
.wv-skip:focus{left:16px}
.wv-header-wrap{position:sticky;top:0;z-index:50}
main#main-content{overflow-x:clip}
.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
/* Scroll reveal is only switched on outside the editor (html.wv-anim) */
html:not(.wv-anim) .rv-l,html:not(.wv-anim) .rv-r,html:not(.wv-anim) .rv-u{opacity:1!important;transform:none!important}
/* HubSpot drag-and-drop: sections are full width, modules draw their own backgrounds */
.dnd-section{padding:0!important}
.dnd-section>.row-fluid{max-width:none;margin:0 auto}
.row-fluid{display:flex;flex-wrap:wrap;width:100%}
.row-fluid [class*="span"]{min-height:1px;width:100%}
@media (min-width:761px){.row-fluid .span1{width:8.333%}.row-fluid .span2{width:16.666%}.row-fluid .span3{width:25%}.row-fluid .span4{width:33.333%}.row-fluid .span5{width:41.666%}.row-fluid .span6{width:50%}.row-fluid .span7{width:58.333%}.row-fluid .span8{width:66.666%}.row-fluid .span9{width:75%}.row-fluid .span10{width:83.333%}.row-fluid .span11{width:91.666%}.row-fluid .span12{width:100%}}

/* 4. Generic "wv-" building blocks ---------------------------------------- */
.wv-section,.wv-section *{box-sizing:border-box}
.wv-section img{max-width:100%;height:auto}
/* ---------- Text helpers ---------- */
.wv-eyebrow { display: inline-block; font-size: var(--wv-fs-eyebrow); font-weight: var(--wv-fw-eyebrow); letter-spacing: 0.12em; text-transform: uppercase; color: var(--wv-deep-plum); }
.wv-lede { margin: 0; font-size: var(--wv-fs-lede); line-height: 1.55; color: var(--wv-text-muted); max-width: 60ch; }
.wv-body { color: var(--wv-text-muted); }
.wv-hl { color: var(--wv-mauve); }
.wv-small { font-size: 13px; }
.wv-num { font-variant-numeric: tabular-nums; }

/* ---------- Layout ---------- */
.wv-wrap { max-width: var(--wv-max); margin: 0 auto; padding: 0 var(--wv-gutter); }
.wv-section { padding: var(--wv-section-y) 0; position: relative; }
.wv-head { display: flex; flex-direction: column; gap: 16px; max-width: 780px; margin-bottom: clamp(40px, 5vw, 64px); }
.wv-head--center { align-items: center; text-align: center; margin-left: auto; margin-right: auto; }
.wv-head--center .wv-lede { margin: 0 auto; }
.wv-split { display: flex; flex-wrap: wrap; gap: clamp(32px, 5vw, 72px); align-items: center; }
.wv-split > * { flex: 1 1 440px; min-width: 0; }
.wv-split--rev { flex-direction: row-reverse; }
.wv-grid { display: grid; gap: 20px; }
.wv-grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 24px; }
.wv-grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.wv-grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 16px; }

/* ---------- Section backgrounds (shared by every module) ---------- */
.bg-cream { background: var(--wv-cream); color: var(--wv-plum); }
.bg-white { background: var(--wv-card); color: var(--wv-plum); }
.bg-lilac { background: var(--wv-lilac); color: var(--wv-plum); }
.bg-plum  { background: var(--wv-plum); color: var(--wv-cream); }
.bg-plum .wv-eyebrow { color: var(--wv-mauve); }
.bg-plum .wv-lede, .bg-plum .wv-body { color: var(--wv-text-muted-dark); }
.bg-plum a:not(.wv-btn) { color: var(--wv-cream); }

/* ---------- Buttons and links ---------- */
.wv-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 24px; border-radius: 9999px; border: none;
  font-family: inherit; font-weight: var(--wv-fw-button); font-size: var(--wv-fs-button); line-height: 1;
  text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.wv-btn:hover { transform: translateY(-1px); }
.wv-btn svg { width: 16px; height: 16px; transition: transform .2s ease; }
.wv-btn:hover svg { transform: translateX(3px); }
.wv-btn--sm { min-height: 40px; padding: 0 18px; font-size: var(--wv-fs-button-sm); }
.wv-btn--plum, .wv-btn--plum:hover { background: var(--wv-plum); color: var(--wv-cream); }
.wv-btn--plum:hover { box-shadow: 0 8px 20px -8px rgba(56, 10, 46, 0.5); }
.wv-btn--mauve, .wv-btn--mauve:hover { background: var(--wv-mauve); color: var(--wv-plum); }
.wv-btn--mauve:hover { box-shadow: 0 8px 24px -8px rgba(235, 184, 255, 0.6); }
.wv-btn--ghost, .wv-btn--ghost:hover { background: transparent; color: var(--wv-cream); border: 1.5px solid rgba(250, 245, 237, 0.4); }
.wv-btn--ghost:hover { background: rgba(250, 245, 237, 0.08); }
.wv-btns { display: flex; gap: 12px; flex-wrap: wrap; }

.wv-tlink {
  display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
  font-weight: var(--wv-fw-link); font-size: var(--wv-fs-link); text-decoration: none; color: var(--wv-plum);
  border-bottom: 1.5px solid var(--wv-mauve); padding-bottom: 2px;
}
.wv-tlink:hover { border-color: var(--wv-plum); color: var(--wv-plum); }
.wv-tlink svg { width: 14px; height: 14px; transition: transform .2s ease; }
.wv-tlink:hover svg { transform: translateX(3px); }
.bg-plum .wv-tlink, .bg-plum .wv-tlink:hover { color: var(--wv-cream); }
.bg-plum .wv-tlink:hover { border-color: var(--wv-cream); }

/* ---------- Shared components ---------- */
.wv-card {
  background: var(--wv-card); border: 1px solid var(--wv-border); border-radius: var(--wv-radius-card);
  box-shadow: var(--wv-shadow-card); padding: clamp(24px, 3vw, 32px);
  display: flex; flex-direction: column; gap: 14px; color: var(--wv-plum);
}
.bg-white .wv-card { background: var(--wv-cream); }
.bg-plum .wv-card { background: rgba(250, 245, 237, 0.06); border-color: var(--wv-border-dark); box-shadow: none; color: var(--wv-cream); }
.bg-plum .wv-card .wv-body { color: var(--wv-text-muted-dark); }

.wv-ico {
  flex: none; width: 44px; height: 44px; border-radius: var(--wv-radius-icon);
  background: var(--wv-lilac); color: var(--wv-plum);
  display: flex; align-items: center; justify-content: center;
}
.wv-ico svg { width: 22px; height: 22px; fill: currentColor; }
.bg-lilac .wv-ico { background: var(--wv-card); }
.bg-plum .wv-ico { background: rgba(235, 184, 255, 0.16); color: var(--wv-mauve); }

.wv-chip {
  display: inline-flex; align-items: center; gap: 6px; font-size: var(--wv-fs-chip-sm); font-weight: var(--wv-fw-chip);
  background: var(--wv-lilac); color: var(--wv-plum); border-radius: 9999px; padding: 6px 12px;
}
.wv-chips { display: flex; flex-wrap: wrap; gap: 8px; }

.wv-checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.wv-checks li { display: flex; gap: 10px; align-items: flex-start; }
.wv-checks svg { flex: none; width: 20px; height: 20px; margin-top: 2px; color: var(--wv-deep-plum); }
.bg-plum .wv-checks svg { color: var(--wv-mauve); }

.wv-media img { width: 100%; border-radius: var(--wv-radius-ui); }
.wv-media--shadow img { box-shadow: var(--wv-shadow-media); }
.wv-media--float img { border-radius: 0; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.35)); }


/* ---------- Spacing options (the "Spacing" field on modules) ---------- */
.wv-section.pad-tight-top { padding-top: clamp(16px, 2vw, 24px); }
.wv-section.pad-tight-bottom { padding-bottom: clamp(16px, 2vw, 24px); }
.wv-section.pad-tight { padding-top: clamp(16px, 2vw, 24px); padding-bottom: clamp(16px, 2vw, 24px); }
.wv-section.pad-none-bottom { padding-bottom: 0; }

/* ---------- Utilities ---------- */
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wv-header-wrap { position: sticky; top: 0; z-index: 50; }
.wv-header__wordmark { font-size: 22px; font-weight: var(--wv-fw-bold); letter-spacing: -0.02em; }
.wv-cards__more { margin-top: 40px; display: flex; justify-content: center; }

/* 5. Mobile layer (generated by mobile.py) ----------------------------------
   Google mobile guidance: legible text (12px minimum, 16px inputs), touch targets
   of at least 44-48px with spacing, no horizontal scroll, no hover-only content. */
:where(img[width][height]){height:auto}
/* Icon box is reserved here so icons.css can load without blocking first paint */
.msi{display:inline-block;width:1em;height:1em;flex:none;background-color:currentColor;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-position:center;mask-position:center;-webkit-mask-size:100% 100%;mask-size:100% 100%;vertical-align:-0.125em;font-style:normal;-webkit-mask-image:var(--msi);mask-image:var(--msi)}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
a,button{-webkit-tap-highlight-color:rgba(235,184,255,0.25)}
@media (pointer:coarse),(max-width:760px){
  /* Text links: grow the tap area without changing the look */
  .tlink,.crumb a,.m-wv-stats-list .sl-meta a,.m-wv-faq .rt a,.m-wv-resource-hero .rh-note a{position:relative}
  .tlink::after,.crumb a::after,.m-wv-stats-list .sl-meta a::after,.m-wv-faq .rt a::after,.m-wv-resource-hero .rh-note a::after{content:"";position:absolute;left:-4px;right:-4px;top:-13px;bottom:-13px}
  .m-wv-footer nav[aria-label="Footer"] a,.m-wv-footer nav[aria-label="Footer"]>div>span{display:flex;align-items:center;min-height:44px}
  .m-wv-footer nav[aria-label="Footer"]>div{gap:0!important}
  .m-wv-footer .nav-link{display:inline-flex;align-items:center;min-height:44px}
  .btn{min-height:48px}
  .btn-sm{min-height:44px}
  html .m-wv-stats-list .sl-copy{height:44px;padding:0 14px}
  html .m-wv-stats-list .sl-pill{min-height:44px}
  html .m-wv-glossary .gl-search{height:48px}
  html .m-wv-glossary .gl-search input{height:100%;font-size:16px}
  html .m-wv-glossary .gl-l{width:36px;height:44px}
  .m-wv-media-touchpoints button[aria-label][data-wvs-style]{position:relative}
  .m-wv-media-touchpoints button[aria-label][data-wvs-style]::after{content:"";position:absolute;left:-7px;right:-7px;top:-17px;bottom:-17px}
  .m-wv-media-touchpoints div:has(>button[data-wvs-style]){gap:16px!important}
}
/* Switcher lists: inactive items stay readable (WCAG AA 4.5:1) while still looking secondary */
html :is(.m-wv-media-data .ch-item,.m-wv-media-touchpoints .ch-item,.m-wv-media-rules .rule-item,.m-wv-pm-how .ls-item,.m-wv-ri-signals .ws-item,.m-wv-shop-journeys .ls-item):not(.is-on){opacity:.7}
html :is(.m-wv-media-data .ch-item,.m-wv-media-touchpoints .ch-item,.m-wv-media-rules .rule-item,.m-wv-pm-how .ls-item,.m-wv-ri-signals .ws-item,.m-wv-shop-journeys .ls-item):not(.is-on):hover{opacity:.88}
html :is(.m-wv-media-data .ch-item,.m-wv-media-touchpoints .ch-item,.m-wv-pm-how .ls-item,.m-wv-ri-signals .ws-item,.m-wv-shop-journeys .ls-item):not(.is-on) [style*="rgba(56, 10, 46, 0.72)"]{color:#380A2E!important}
/* Light cards in the dark hero: text must be plum, not the inherited cream */
.m-wv-hero .card{color:#380A2E}
/* Accordion mode for click-through lists (see js/main.js section 11) */
.wv-acc :is(.ch-item,.rule-item,.ls-item,.ws-item){position:relative;padding-right:44px!important}
.wv-acc :is(.ch-item,.rule-item,.ls-item,.ws-item):not(.is-on)>span+span{display:none!important}
.wv-acc :is(.ch-item,.rule-item,.ls-item,.ws-item)::after{content:"";position:absolute;right:8px;top:50%;width:24px;height:24px;margin-top:-12px;background:currentColor;opacity:.7;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/24px no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/24px no-repeat;transition:transform .2s ease}
.wv-acc :is(.ch-item,.rule-item,.ls-item,.ws-item).is-on::after{transform:rotate(180deg)}
.wv-acc :is(.ch-item,.rule-item,.ls-item,.ws-item)+:not(:is(.ch-item,.rule-item,.ls-item,.ws-item)){margin:8px 0 24px!important;width:100%!important;max-width:100%!important;flex:none!important}
/* Media "connect it to your stack" (tablet/desktop): rotating network drawing in the Home retailer-network style */
.m-wv-media-data .od-orbit{transform-box:view-box;transform-origin:270px 230px;animation:wv-od-spin 60s linear infinite}
.m-wv-media-data .od-node{transform-box:view-box;animation:wv-od-spin 60s linear infinite reverse}
.m-wv-media-data .orbit:hover .od-orbit,.m-wv-media-data .orbit:hover .od-node{animation-play-state:paused}
@keyframes wv-od-spin{to{transform:rotate(360deg)}}
@media (prefers-reduced-motion:reduce){.m-wv-media-data .od-orbit,.m-wv-media-data .od-node{animation:none}}
/* Media "connect it to your stack": on phones the orbit is replaced by a scalable network drawing (like the Home retailer network) */
.m-wv-media-data .orbit-m{display:none;margin:0}
.m-wv-media-data .om-node{animation:wv-om-float 5.4s ease-in-out infinite}
.m-wv-media-data .om-pulse{transform-box:fill-box;transform-origin:center;animation:wv-om-pulse 3.2s ease-in-out infinite}
@keyframes wv-om-float{0%,100%{transform:translateY(0)}50%{transform:translateY(-4px)}}
@keyframes wv-om-pulse{0%,100%{transform:scale(1);opacity:.55}50%{transform:scale(1.05);opacity:.9}}
@media (max-width:640px){
  html .m-wv-media-data .orbit{display:none!important}
  html .m-wv-media-data .orbit-m{display:block;flex:1 1 100%;width:100%}
}
@media (prefers-reduced-motion:reduce){.m-wv-media-data .om-node,.m-wv-media-data .om-pulse{animation:none}}
}
/* Decorative layers must never block taps */
.m-wv-hero svg.wv-commerce-build image,.m-wv-media-data .orbit-ring,.m-wv-home-platform img,img[style*="max-width:none"]{pointer-events:none}
@media (max-width:640px){
  /* Shoppable Solutions AI scene: stack the chat window under the photo so it can't cover the copy */
  html .m-wv-shop-ai .ai-scene{padding-bottom:0!important}
  html .m-wv-shop-ai .ai-win{position:relative!important;right:auto!important;top:auto!important;width:auto!important;margin:-56px 12px 0 32px}
}
@media (max-width:760px){
  /* Legible text: mockup UI labels step up to 12px on phones */
  .ui-k,.ui-up,.flag,.ui{font-size:12px}
  /* Forms: 16px inputs stop iOS from zooming in on focus */
  input,select,textarea,.hs-form .hs-input{font-size:16px!important}
  .hs-form .hs-button{min-height:52px}
  /* Footer: two columns, 44px link rows */
  .m-wv-footer nav[aria-label="Footer"]{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 16px!important;width:100%}
  .m-wv-footer nav[aria-label="Footer"]>div{gap:0!important;min-width:0!important}
}

/* Placeholder frames: once an editor picks an image, drop the dashed placeholder frame and let the photo fill it (v17). */
.wv-ph-filled{border:0 !important;background:none !important;padding:0 !important}
.wv-ph-filled.wv-ph-cover>.wv-vis-img{position:absolute;inset:0;width:100% !important;height:100% !important;object-fit:cover;border-radius:inherit}
.wv-ph-filled.wv-ph-static>.wv-vis-img{border-radius:inherit}

/* Whole-image mode: show an uploaded composite at its own shape, uncropped (v17). */
.wv-ph-filled.wv-ph-whole{aspect-ratio:auto !important;overflow:visible !important;border-radius:0 !important}
.wv-ph-filled.wv-ph-whole>.wv-vis-img{width:100% !important;height:auto !important;display:block}