/* =========================================================================
   247 Blinds — Design System tokens (2026 redesign)
   Source: 247_Blinds_Design_System/tokens/*.css, concatenated in the order
   styles.css imports them: fonts, colors, typography, spacing, shape, motion.

   SCOPE: every variable block is wrapped in `.lp2, .hp2` so the tokens only
   apply inside the A/B-tested landing page (.lp2) and home page (.hp2)
   bodies. Nothing here leaks onto other pages. The @font-face rules are
   global by nature — the font files are already used site-wide.

   Fonts are the existing files under public/fonts/ (paths relative to this
   file, same convention as public/web/style.css). No new font was added.
   ========================================================================= */

/* ---------- fonts ---------- */
@font-face{font-family:"Cocogoose";src:url("../fonts/CocogooseProCm-Regular.woff2") format("woff2");font-weight:400 700;font-style:normal;font-display:swap}
@font-face{font-family:"Quicksand";src:url("../fonts/Quicksand-Light.woff2") format("woff2");font-weight:300;font-style:normal;font-display:swap}
@font-face{font-family:"Quicksand";src:url("../fonts/Quicksand-Regular.woff2") format("woff2");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"Quicksand";src:url("../fonts/Quicksand-Medium.woff2") format("woff2");font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:"Quicksand";src:url("../fonts/Quicksand-SemiBold.woff2") format("woff2");font-weight:600;font-style:normal;font-display:swap}
@font-face{font-family:"Quicksand";src:url("../fonts/Quicksand-Bold.woff2") format("woff2");font-weight:700;font-style:normal;font-display:swap}
@font-face{font-family:"Devant";src:url("../fonts/Devant-Medium.woff2") format("woff2");font-weight:500;font-style:normal;font-display:swap}

/* ---------- colors ---------- */
.lp2, .hp2{
  /* --- Brand pink --- */
  --pink-700:#a80054;
  --pink-600:#c20063;   /* pressed / hover fill */
  --pink-500:#e31a82;   /* THE brand pink */
  --pink-400:#f6aed3;   /* soft display pink ("You're") */
  --pink-300:#f4aec6;   /* guide card gradient end */
  --pink-200:#f7c8d2;   /* guide card gradient start */
  --pink-150:#f6d4e4;   /* "Loved by" press band */
  --pink-100:#fbdfee;   /* bestsellers gradient end */
  --pink-050:#fdf1f7;   /* faintest wash */

  /* --- Neutrals --- */
  --white:#ffffff;
  --grey-050:#f8f8f9;
  --grey-100:#f3f3f3;   /* section band */
  --grey-150:#eeeef0;
  --grey-200:#e3e3e5;   /* secondary pill fill */
  --grey-300:#d3d3d6;
  --grey-400:#a6a4a2;
  --grey-500:#6f6b68;
  --ink-700:#3d3936;    /* body copy */
  --ink-800:#2c2c2c;    /* footer surface */
  --ink-900:#111111;
  --black:#000000;

  /* --- Partner / semantic --- */
  --trustpilot-green:#00b67a;
  --trustpilot-ink:#191919;
  --clearpay-mint:#b2fce4;
  --sale-black:#000000;  /* "BLACKOUT" / "Buy 1 Get 1 FREE" labels */
  --success:#1f8a5f;
  --error:#c8102e;

  /* --- Semantic aliases --- */
  --brand:var(--pink-500);
  --brand-hover:var(--pink-600);
  --brand-soft:var(--pink-400);

  --text-body:var(--ink-700);
  --text-heading:var(--ink-800);
  --text-muted:var(--grey-500);
  --text-inverse:var(--white);
  --text-accent:var(--pink-500);
  --text-price:var(--pink-500);
  --text-link:var(--pink-500);
  --text-link-hover:var(--pink-600);

  --surface-page:var(--white);
  --surface-band:var(--grey-100);
  --surface-card:var(--white);
  --surface-brand:var(--pink-500);
  --surface-brand-soft:var(--pink-100);
  --surface-dark:var(--ink-800);
  --surface-input:var(--white);

  --border-subtle:var(--grey-200);
  --border-strong:var(--grey-300);
  --border-on-brand:rgba(255,255,255,.45);

  --gradient-bestseller:linear-gradient(180deg,var(--white) 0%,var(--pink-100) 55%);
  --gradient-guide-card:linear-gradient(180deg,var(--pink-200) 0%,var(--pink-300) 100%);
  --gradient-image-scrim:linear-gradient(180deg,rgba(0,0,0,0) 40%,rgba(0,0,0,.45) 100%);
}

/* ---------- typography ---------- */
.lp2, .hp2{
  --font-display:"Cocogoose","Arial Narrow",Impact,sans-serif;
  --font-core:"Quicksand",system-ui,-apple-system,"Segoe UI",sans-serif;
  --font-promo:"Devant","Quicksand",sans-serif;

  --fw-light:300;
  --fw-regular:400;
  --fw-medium:500;
  --fw-semibold:600;
  --fw-bold:700;

  /* Display — uppercase, leading below 1 */
  --fs-display-hero:120px;   /* "SCORCHIO SAVINGS" */
  --fs-display-page:132px;   /* PLP hero "BLUE BLINDS" */
  --fs-display-xl:74px;      /* "CURTAINS TOO?!" */
  --fs-display-lg:60px;      /* "BLINDS WITH BENEFITS", "BLINDS 101" */
  --fs-display-md:44px;      /* "@247_BLINDS" */
  --fs-display-sm:32px;      /* "NEED HELP?" */
  --lh-display:0.88;
  --ls-display:0.005em;

  /* Headings & body — Quicksand */
  --fs-h1:40px;
  --fs-h2:34px;   /* "Shop By Type", "Peace of mind from start to finish" */
  --fs-h3:26px;   /* PLP block title "Blue Roller Blinds" */
  --fs-h4:22px;   /* card titles */
  --fs-lead:19px; /* intro paragraphs */
  --fs-body:17px;
  --fs-body-sm:15px;
  --fs-caption:13px;
  --fs-eyebrow:14px;

  --lh-heading:1.2;
  --lh-body:1.5;
  --lh-tight:1.3;
  --ls-eyebrow:0.06em;
  --ls-body:0;

  /* Ready-made roles */
  --type-display-hero:var(--fw-bold) var(--fs-display-hero)/var(--lh-display) var(--font-display);
  --type-display-lg:var(--fw-bold) var(--fs-display-lg)/var(--lh-display) var(--font-display);
  --type-h2:var(--fw-semibold) var(--fs-h2)/var(--lh-heading) var(--font-core);
  --type-h4:var(--fw-semibold) var(--fs-h4)/var(--lh-heading) var(--font-core);
  --type-body:var(--fw-medium) var(--fs-body)/var(--lh-body) var(--font-core);
  --type-button:var(--fw-semibold) var(--fs-body)/1 var(--font-core);
  --type-eyebrow:var(--fw-bold) var(--fs-eyebrow)/1.2 var(--font-core);
}

/* ---------- spacing & layout ---------- */
.lp2, .hp2{
  --space-1:4px;
  --space-2:8px;
  --space-3:12px;
  --space-4:16px;
  --space-5:20px;
  --space-6:24px;
  --space-8:32px;
  --space-10:40px;
  --space-12:48px;
  --space-14:56px;
  --space-16:64px;
  --space-20:80px;
  --space-24:96px;
  --space-30:120px;

  /* Homepage grid is wide (1680); PLP content column is narrower (1280). */
  --container:1680px;
  --container-narrow:1280px;
  --gutter:24px;
  --section-y:80px;
  --section-y-tight:56px;

  --grid-gap:18px;        /* room / bestseller card grids */
  --grid-gap-lg:24px;     /* benefit + promo cards */

  --header-h:172px;      /* two rows: utility + main nav */
  --header-h-mobile:78px;
  --trustbar-h:76px;
}

/* ---------- shape ---------- */
.lp2, .hp2{
  --radius-pill:999px;
  --radius-xs:6px;
  --radius-sm:10px;
  --radius-md:16px;   /* room cards, image tiles */
  --radius-lg:24px;   /* benefit cards, guide cards, type-nav panel */
  --radius-xl:32px;
  --radius-none:0;

  --border-hairline:1px solid var(--border-subtle);
  --border-card:1px solid var(--grey-150);

  --shadow-card:0 2px 8px rgba(0,0,0,.08);
  --shadow-raised:0 4px 20px rgba(0,0,0,.06);
  --shadow-panel:0 8px 32px rgba(0,0,0,.10);
  --shadow-pill:0 2px 6px rgba(227,26,130,.25);
  --shadow-none:none;

  /* Product cards sit flat on the page: no shadow, no radius, no border. */
  --product-card-radius:var(--radius-none);
  --product-card-shadow:var(--shadow-none);
}

/* ---------- motion ---------- */
.lp2, .hp2{
  --ease-standard:cubic-bezier(.4,0,.2,1);
  --ease-out:cubic-bezier(0,0,.2,1);
  --dur-fast:120ms;
  --dur-base:200ms;
  --dur-slow:320ms;
  --dur-carousel:450ms;
  --transition-hover:background-color var(--dur-base) var(--ease-standard),color var(--dur-base) var(--ease-standard),opacity var(--dur-base) var(--ease-standard);
  --press-scale:0.98;
}

/* ---------- mobile overrides (typography + spacing) ---------- */
@media (max-width:820px){
  .lp2, .hp2{
    --fs-display-hero:58px;
    --fs-display-page:64px;
    --fs-display-xl:44px;
    --fs-display-lg:38px;
    --fs-h1:28px;
    --fs-h2:24px;
    --fs-h3:21px;
    --fs-h4:18px;
    --fs-lead:17px;
    --fs-body:16px;

    --gutter:16px;
    --section-y:48px;
    --section-y-tight:32px;
    --grid-gap:12px;
    --grid-gap-lg:16px;
  }
}
