/* Fashion Christmas landing (MKT-2385, fashion_xmas ad set).
   Base, tokens and the reused blocks (demo, quote, trust, footer) are copied from the RC
   homepage (public/homepage-rc-20260918: index.html inline styles + styles.css); the gallery
   card is the Popup Library card (.pl-ph phone frame); the playbook cards are the use-case
   feature cards (.uc-feat). Only the Christmas band (--xm-*) and the store form are new. */

/* ===== tokens (homepage) ===== */
:root{
  --paper:#F7F5F1;--white:#FFFFFF;--admin-page:#F9FAFB;
  --ink:#23262A;--ink-600:#505763;--ink-500:#8F97A4;--ink-400:#B9BEC6;
  --gray-300:#D5D8DD;--gray-200:#E3E5E8;--gray-100:#F1F2F4;
  --orange:#ED5A29;--orange-hover:#F17E58;--orange-100:#FEEFEA;
  --phone:#1A1C1F;
  --shadow:0 1px 2px 0 rgba(16,24,40,.04),0 1px 3px 0 rgba(16,24,40,.06);
  --shadow-md:0 18px 40px -22px rgba(35,38,42,.38);
  --r-btn:9px;--r-input:12px;--r-card:16px;--r-window:20px;--r-pill:999px;
  --ease:cubic-bezier(.16,1,.3,1);
  --font:'Funnel Sans','Helvetica Neue',Arial,sans-serif;
  --container:min(1160px, 100% - 48px);
  --h1-size:48px;--h1-lh:56px;
  --h2-size:32px;--h2-lh:40px;
  --lead-size:17px;--lead-lh:26px;
  --section-gap:96px;
  /* page-local Christmas colours: not design-system tokens */
  --xm-green:#1E3A2F;--xm-green-2:#24463A;--xm-gold:#F3D9A4;--xm-red:#B3261E;--xm-text:#E8E2D6;
}
@media (min-width:1280px){
  :root{--container:min(1200px, 100% - 48px);--h1-size:56px;--h1-lh:64px;--h2-size:36px;--h2-lh:44px;--lead-size:18px;--lead-lh:28px;--section-gap:120px}
}
@media (min-width:1440px){
  :root{--container:min(1360px, 100% - 48px);--h1-size:64px;--h1-lh:72px;--h2-size:40px;--h2-lh:48px;--lead-size:20px;--lead-lh:30px;--section-gap:144px}
}
@media (max-width:767px){
  :root{--container:min(1160px, 100% - 40px);--h1-size:36px;--h1-lh:42px;--h2-size:28px;--h2-lh:36px;--lead-size:16px;--lead-lh:26px;--section-gap:72px}
}

/* ===== base (homepage) ===== */
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--paper);font-family:var(--font);color:var(--ink);font-size:15px;line-height:24px;-webkit-font-smoothing:antialiased;overflow-x:clip}
a{color:var(--orange);text-decoration:none}
a:hover{color:var(--orange-hover)}
img{max-width:100%}
h1,h2,h3,p,blockquote,ul{margin:0}
ul{padding:0}
:focus-visible{outline:2px solid var(--orange);outline-offset:3px}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.wrap{width:var(--container);max-width:100%;margin:0 auto;padding:0}
.blk{position:relative;padding-bottom:var(--section-gap)}
.blk-first{padding-top:var(--section-gap)}
.eyebrow{font-size:14px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--orange)}
.eyebrow-ico{display:inline-flex;align-items:center;gap:8px}
.eyebrow-ico img{width:16px;height:16px}
.h2{font-size:var(--h2-size);line-height:var(--h2-lh);font-weight:600;letter-spacing:-.01em;color:var(--ink)}
.h2-44{font-size:44px;line-height:52px;font-weight:700;letter-spacing:-.02em}
.lead{font-size:var(--lead-size);line-height:var(--lead-lh);color:var(--ink-600)}
.sec-head{display:flex;flex-direction:column;gap:12px;max-width:720px}
.sec-head-center{margin:0 auto 48px;align-items:center;text-align:center}
.sec-row{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:16px 32px;margin-bottom:40px}
.btn{display:inline-flex;white-space:nowrap;align-items:center;justify-content:center;gap:6px;min-height:40px;padding:8px 18px;border-radius:var(--r-btn);border:0;font:inherit;font-size:15px;font-weight:500;cursor:pointer;transition:background 140ms ease,border-color 140ms ease,color 140ms ease}
.btn-lg{min-height:48px;padding:12px 26px;font-size:16px}
.btn-primary{background:var(--orange);color:#fff;font-weight:600}
.btn-primary:hover{background:var(--orange-hover);color:#fff}
.chip{display:inline-flex;align-items:center;gap:6px;min-height:34px;padding:6px 14px;border-radius:var(--r-btn);border:1px solid var(--gray-200);background:var(--white);color:var(--ink);font:inherit;font-size:14px;font-weight:500;cursor:pointer;transition:background 140ms ease,border-color 140ms ease,color 140ms ease;white-space:nowrap}
.chip:hover{border-color:var(--gray-300);background:#FAFAFA}
.arrow-link{font-size:15px;font-weight:600;display:inline-flex;align-items:center;gap:6px}
.arrow-link-sm{font-size:14px}
.arrow-link svg{transition:transform 140ms ease}
.arrow-link:hover svg{transform:translateX(3px)}
.motif{position:absolute;pointer-events:none;user-select:none;height:auto;z-index:0}

/* ===== Christmas band: hero (new); the header above it is the shared RC header (rc-header.css) ===== */
.xmas-top{position:relative;overflow:hidden;background:radial-gradient(120% 90% at 50% 0%,var(--xm-green-2),var(--xm-green) 70%);color:var(--xm-text)}
.xmas-snow{position:absolute;inset:0;width:100%;height:100%;color:var(--xm-gold);opacity:.5;pointer-events:none}
.hero{position:relative;max-width:840px;padding:80px 0 96px;text-align:center;display:flex;flex-direction:column;align-items:center;gap:20px}
.xm-badge{display:inline-flex;align-items:center;gap:8px;border:1px solid rgba(243,217,164,.5);border-radius:var(--r-pill);padding:6px 14px 6px 6px;font-size:14px;color:var(--xm-gold)}
.xm-badge-tag{background:var(--xm-red);color:#fff;border-radius:var(--r-pill);padding:3px 10px;font-weight:600;font-size:12px;text-transform:uppercase;letter-spacing:.06em}
.hero h1{color:#fff;font-size:var(--h1-size);line-height:var(--h1-lh);font-weight:600;letter-spacing:-.02em}
.hero-lead{font-size:var(--lead-size);line-height:var(--lead-lh);max-width:640px;color:var(--xm-text)}
.store-form{display:flex;flex-wrap:wrap;gap:8px;width:100%;max-width:600px;background:#fff;border-radius:14px;padding:8px;box-shadow:0 0 0 4px rgba(243,217,164,.22),var(--shadow-md)}
.store-form input{flex:1 1 220px;min-width:0;border:0;background:transparent;font:inherit;font-size:16px;color:var(--ink);padding:12px 14px}
.store-form input:focus{outline:none}
.store-form:focus-within{box-shadow:0 0 0 4px rgba(243,217,164,.5),var(--shadow-md)}
.store-form .btn{flex:0 0 auto}
.store-form.is-invalid{box-shadow:0 0 0 4px rgba(179,38,30,.55),var(--shadow-md)}
.hero-note{font-size:14px;color:var(--xm-text)}

/* ===== gallery: Popup Library card, phone frame ===== */
.pl-grid{list-style:none;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:40px 24px}
.pl-card{display:flex;flex-direction:column;gap:6px;min-width:0}
.pl-card-a{display:flex;flex-direction:column;gap:12px;color:var(--ink)}
.pl-card-a:hover{color:var(--ink)}
.pl-ph{display:block;aspect-ratio:1/2;background:var(--phone);border:4px solid var(--phone);border-radius:13px;overflow:hidden;box-shadow:0 18px 36px -24px rgba(35,38,42,.55);transition:transform 160ms ease}
.pl-card-a:hover .pl-ph{transform:translateY(-3px)}
.pl-ph img{display:block;width:100%;height:100%;object-fit:cover;border-radius:9px;background:var(--gray-100)}
.pl-name{font-size:15px;font-weight:600;line-height:22px}
.pl-tag{align-self:flex-start;font-size:12px;line-height:16px;color:var(--ink-600);background:var(--white);border:1px solid var(--gray-200);border-radius:var(--r-pill);padding:3px 10px}

/* ===== live demo (homepage) ===== */
.demo-head{text-align:center;display:flex;flex-direction:column;align-items:center;gap:12px}
.ds-tabs{display:flex;gap:8px;margin-top:12px;justify-content:center;max-width:100%}
.ds-tab{flex-direction:column;align-items:stretch;gap:6px;min-width:112px;min-height:44px;padding:8px 18px 9px;font-size:14px;color:var(--ink-600)}
.ds-tab[aria-selected="true"]{background:var(--ink);color:#fff;border-color:var(--ink)}
.ds-tab[aria-selected="true"]:hover{background:var(--ink);border-color:var(--ink)}
.ds-tab-label{text-align:center;line-height:20px}
.ds-tab-bar{display:block;height:3px;border-radius:3px;background:var(--gray-100);overflow:hidden}
.ds-tab[aria-selected="true"] .ds-tab-bar{background:rgba(255,255,255,.22)}
.ds-tab-fill{display:block;height:100%;border-radius:3px;background:var(--orange);transform:scaleX(0);transform-origin:0 50%}
.ds-demo{position:relative;margin-top:48px}
.demo-cta{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:12px 24px;margin-top:40px}
.ds-win{position:relative;max-width:1100px;margin:0 auto;border-radius:var(--r-window);border:1px solid var(--gray-200);background:var(--white);overflow:hidden;overflow:clip;box-shadow:var(--shadow)}
.ds-winbar{height:clamp(18px,2.4vw,30px);display:flex;align-items:center;gap:6px;padding:0 clamp(8px,1.2vw,14px);background:var(--gray-100);border-bottom:1px solid var(--gray-200)}
.ds-winbar i{width:clamp(6px,.8vw,10px);height:clamp(6px,.8vw,10px);border-radius:50%;background:var(--gray-300)}
.ds-vp{position:relative;width:100%;aspect-ratio:1280/800;overflow:hidden;overflow:clip;background:var(--admin-page)}
@media (max-width:599px){.ds-vp{aspect-ratio:1/1}}
@media (max-width:599px) and (prefers-reduced-motion:reduce){.ds-vp{aspect-ratio:1280/800}}

/* ===== playbook: use-case feature cards ===== */
.uc-feats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.uc-feat{display:flex;flex-direction:column;background:var(--white);border:1px solid var(--gray-200);border-radius:var(--r-card);overflow:hidden}
.uc-ill{background:var(--admin-page);border-bottom:1px solid var(--gray-200);padding:20px;display:flex;align-items:center;justify-content:center}
.uc-ill img{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:contain;border-radius:8px;box-shadow:var(--shadow-md)}
.uc-ftxt{display:flex;flex-direction:column;gap:8px;padding:20px 22px 22px;flex:1}
.uc-when{font-size:13px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--orange)}
.uc-feat h3{font-size:18px;line-height:26px;font-weight:600}
.uc-ftxt p:not(.uc-when){font-size:15px;line-height:24px;color:var(--ink-600)}
.uc-ftxt .arrow-link{margin-top:auto;padding-top:8px}

/* ===== quote (homepage look, static) ===== */
.quote-sec{position:relative;overflow:hidden;background:var(--white);border-block:1px solid var(--gray-200);padding:calc(var(--section-gap) * .9) 0}
.quote-wrap{position:relative;z-index:1;max-width:1040px;text-align:center;display:flex;flex-direction:column;align-items:center}
.quote-text{font-size:44px;line-height:56px;font-weight:400;letter-spacing:-.01em;color:var(--ink)}
.quote-attr{display:flex;align-items:center;justify-content:center;gap:12px;margin-top:36px}
.quote-avatar{width:48px;height:48px;border-radius:50%;object-fit:cover;flex-shrink:0}
.quote-who{text-align:left}
.quote-name{font-size:15px;font-weight:600;line-height:22px}
.quote-role{font-size:14px;line-height:20px;color:var(--ink-500)}
.motif-quote-bamboo{left:24px;bottom:0;width:300px;opacity:.5}
.motif-quote-enso{right:16px;top:24px;width:260px;opacity:.35}

/* ===== trust (homepage) ===== */
#trust{position:relative;z-index:1;background:var(--paper);padding-top:var(--section-gap);padding-bottom:0;overflow-x:clip}
/* the homepage relies on the body to clip the leaf that hangs past the edge on phones; here the section does it */
.motif-leaf-trust{right:0;top:8px;width:240px;opacity:.45}
.trust-head{display:grid;grid-template-columns:360px minmax(0,1fr);gap:40px;align-items:center;position:relative;z-index:1}
.trust-monk{width:300px;height:auto;justify-self:center}
.trust-copy{display:flex;flex-direction:column;gap:12px}
.logo-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:40px 32px;align-items:center;margin-top:56px;position:relative;z-index:1}
.logo{height:26px;width:auto;max-width:min(150px,100%);object-fit:contain;justify-self:center;opacity:.8}
.logo-18{height:18px}.logo-22{height:22px}.logo-24{height:24px}.logo-30{height:30px}.logo-34{height:34px}.logo-40{height:40px}
.trust-mist{position:relative;height:200px;margin-top:var(--section-gap);overflow:hidden}
.trust-mist::before{content:"";position:absolute;left:0;right:0;top:0;height:42%;z-index:1;pointer-events:none;background:linear-gradient(180deg,var(--paper) 0,rgba(247,245,241,0) 100%)}
.breath-mist{position:absolute;bottom:0;left:50%;margin-left:-550px;width:1100px;max-width:none;height:auto;opacity:.6;pointer-events:none;user-select:none}

/* ===== closing CTA: the homepage #cta block on the Christmas green ===== */
.xmas-cta{position:relative;overflow:hidden;background:radial-gradient(120% 100% at 50% 100%,var(--xm-green-2),var(--xm-green) 70%);color:var(--xm-text);padding:var(--section-gap) 0 96px}
.xmas-cta .motif{filter:invert(1)}
.motif-enso{right:-140px;top:-60px;width:520px;opacity:.14;animation:spin 120s linear infinite}
.motif-bamboo-cta{right:-20px;bottom:-180px;width:300px;opacity:.22}
@keyframes spin{to{transform:rotate(360deg)}}
.cta-wrap{position:relative;z-index:1;display:flex;flex-direction:column;align-items:center;text-align:center;gap:16px}
.cta-monk{width:260px;height:auto;animation:float 6s ease-in-out infinite}
@keyframes float{0%,100%{transform:translateY(-6px)}50%{transform:translateY(6px)}}
.cta-h{margin-top:8px;color:#fff;font-size:52px;line-height:60px;font-weight:700;letter-spacing:-.02em}
.cta-accent{color:var(--orange)}
.cta-lead{font-size:var(--lead-size);line-height:var(--lead-lh);color:var(--xm-text)}
.xmas-cta .store-form{margin-top:12px}

/* ===== footer (homepage) ===== */
.site-footer{border-top:1px solid var(--gray-200);position:relative;z-index:1;background:var(--paper)}
.foot-grid{padding:56px 0 40px;display:grid;grid-template-columns:320px repeat(4,minmax(0,1fr));gap:40px;position:relative}
.foot-brand{display:flex;flex-direction:column;gap:12px}
.foot-brand img{height:32px;width:auto;align-self:flex-start}
.foot-tag{font-size:14px;color:var(--ink-600)}
.foot-h{font-size:13px;font-weight:600;margin-bottom:8px}
.foot-link{display:block;font-size:14px;color:var(--ink-600);line-height:26px}
.foot-link:hover{color:var(--ink)}
.foot-bottom{display:flex;justify-content:space-between;padding:0 0 32px;font-size:12px;color:var(--ink-500);position:relative;gap:16px;flex-wrap:wrap}
.foot-legal{display:flex;gap:20px}
.foot-legal .foot-link{font-size:12px;line-height:16px}

/* ===== responsive ===== */
@media (max-width:1199px){
  .logo-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:32px 24px}
  .trust-head{grid-template-columns:260px minmax(0,1fr);gap:24px}
  .trust-monk{width:240px}
  .foot-grid{grid-template-columns:240px repeat(4,minmax(0,1fr));gap:24px}
}
@media (max-width:1023px){
  .pl-grid{gap:14px}
  .uc-feats{grid-template-columns:minmax(0,1fr);max-width:560px;margin:0 auto}
}
@media (max-width:767px){
  .site-header .header-signin{display:none}
  .h2-44{font-size:32px;line-height:40px}
  .hero{padding:40px 0 64px}
  .store-form .btn{width:100%}
  .pl-grid{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scroll-padding-inline:20px;gap:16px;margin-inline:-20px;padding:0 20px 12px;scrollbar-width:thin}
  .pl-card{flex:0 0 46%;scroll-snap-align:start}
  .motif-quote-enso{display:none}
  .motif-quote-bamboo{display:none}
  .quote-text{font-size:30px;line-height:40px}
  .trust-head{grid-template-columns:minmax(0,1fr);gap:16px;text-align:center;justify-items:center}
  .trust-monk{width:180px;order:-1}
  .trust-copy{align-items:center}
  .logo-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:28px 16px;margin-top:36px}
  .logo{height:22px;max-width:100%}
  .logo-30,.logo-34,.logo-40{height:26px}
  .motif-leaf-trust{width:120px;right:-56px;top:auto;bottom:-72px}
  .trust-mist{height:140px}
  .motif-enso{width:280px;right:-110px;top:-30px}
  .motif-bamboo-cta{width:160px;right:-40px;bottom:-80px}
  .cta-monk{width:190px}
  .cta-h{font-size:32px;line-height:40px}
  .demo-cta{flex-direction:column;align-items:stretch;gap:16px;margin-top:28px;text-align:center}
  .demo-cta .arrow-link{justify-content:center}
  .foot-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;padding:40px 0 28px}
  .foot-brand{grid-column:1/-1}
  .foot-bottom{padding:0 0 28px;flex-direction:column;gap:10px}
}
@media (max-width:599px){
  .ds-demo{margin-top:28px}
  .ds-tabs{gap:6px;width:100%}
  .ds-tab{flex:1 1 0;min-width:0;padding:7px 10px 8px;font-size:13px}
  .ds-win{border-radius:12px}
  .pl-card{flex-basis:58%}
}
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{transition:none!important;scroll-behavior:auto!important}
  .motif-enso,.cta-monk{animation:none!important}
}
