/* =========================================================================
   SharkNinja Design System — colors_and_type.css
   Reverse-engineered from sharkninja.com (no Figma / codebase provided).
   ========================================================================= */

/* ---------- 1. WEB FONTS ------------------------------------------------- */
/* Display: Archivo (+Archivo Black) — geometric grotesque substitute for
   the brand's Helvetica-family display stack.
   Body: Manrope — clean humanist sans.
   FLAGGED SUBSTITUTION: replace with the real brand fonts when available. */

@import url("https://fonts.googleapis.com/css2?family=Archivo:wght@400;500;600;700;800;900&family=Archivo+Black&family=Manrope:wght@300;400;500;600;700;800&display=swap");

/* ---------- 2. ROOT TOKENS ----------------------------------------------- */

:root {

  /* ---- 2a. Neutrals (the system's main palette) ---- */
  --ink:                 #0B0B0B;   /* primary text, button fills */
  --ink-soft:            #1A1A1A;   /* hover / pressed for ink */
  --graphite:            #333333;
  --slate-700:           #4A4A4A;
  --slate-600:           #6B6B6B;
  --slate-500:           #8A8A8A;
  --slate-400:           #B5B5B5;
  --slate-300:           #D6D6D6;
  --slate-200:           #E5E5E5;   /* default border */
  --slate-100:           #F2F2F2;   /* tile wash */
  --slate-50:            #F8F8F8;   /* page-section background */
  --paper:               #FFFFFF;

  /* ---- 2b. Shark sub-brand ---- */
  --shark-cyan:          #00B7E5;   /* primary brand accent */
  --shark-cyan-deep:     #008AB8;
  --shark-navy:          #00263E;
  --shark-aqua-wash:     #E5F7FC;   /* tile wash */

  /* ---- 2c. Ninja sub-brand ---- */
  --ninja-flame:         #FF6A1A;   /* primary kitchen/outdoor accent */
  --ninja-ember:         #D9480F;
  --ninja-onyx:          #111111;
  --ninja-wine:          #6E1A1A;   /* premium SKUs (Luxe Café) */
  --ninja-amber-wash:    #FFF1E6;   /* tile wash */

  /* ---- 2d. Semantic / status ---- */
  --sale:                #D6271D;
  --sale-deep:           #A81E16;
  --positive:            #198754;
  --positive-deep:       #126B41;
  --warning:             #C77700;
  --info:                #0066CC;

  /* ---- 2e. Product colorway accents (soft, low-sat washes) ---- */
  /* Pulled from currently-shipping SKU colorway names. Use as tile washes,
     never as primary UI fill. Each pairs with a deeper ink-friendly text. */
  --cw-plum-satin:       #B89BBE;   --cw-plum-satin-wash:       #F3EDF5;
  --cw-stone:            #C6BFB4;   --cw-stone-wash:            #F4F1EC;
  --cw-onyx:             #1A1A1A;   --cw-onyx-wash:             #EAEAEA;
  --cw-crema:            #E8D9B8;   --cw-crema-wash:            #FAF5EA;
  --cw-purple-mist:      #B6A6D4;   --cw-purple-mist-wash:      #F0ECF7;
  --cw-cherry-blossom:   #F4B6C3;   --cw-cherry-blossom-wash:   #FDEBEF;
  --cw-raspberry-blush:  #E76A82;   --cw-raspberry-blush-wash:  #FBE5EB;
  --cw-blush:            #F1C4C8;   --cw-blush-wash:            #FBECEE;
  --cw-diamond:          #D9E2EA;   --cw-diamond-wash:          #F1F5F8;
  --cw-soft-sage:        #B7C9A8;   --cw-soft-sage-wash:        #ECF1E6;
  --cw-poolside-punch:   #6FBFD3;   --cw-poolside-punch-wash:   #E2F1F5;
  --cw-strawberry:       #E0535B;   --cw-strawberry-wash:       #FBE1E3;
  --cw-charcoal:         #3A3A3A;   --cw-charcoal-wash:         #EDEDED;
  --cw-carbon:           #1E1E1E;   --cw-carbon-wash:           #E8E8E8;
  --cw-dove:             #DAD7CF;   --cw-dove-wash:             #F4F3EF;
  --cw-blue-frost:       #A6C5DC;   --cw-blue-frost-wash:       #ECF2F7;
  --cw-lilac-chill:      #C7BDE0;   --cw-lilac-chill-wash:      #F1EEF7;
  --cw-taupe:            #B6A797;   --cw-taupe-wash:            #F1EDE8;
  --cw-stone-gold:       #C9B486;   --cw-stone-gold-wash:       #F5EFE2;

  /* ---- 2f. Semantic foreground / background aliases ---- */
  --fg-1:    var(--ink);
  --fg-2:    var(--slate-700);
  --fg-3:    var(--slate-500);
  --fg-on-dark: var(--paper);
  --bg-page: var(--paper);
  --bg-soft: var(--slate-50);
  --bg-tile: var(--slate-100);
  --bg-inverse: var(--ink);
  --border:  var(--slate-200);
  --border-strong: var(--slate-300);

  /* ---- 2g. Type stacks ---- */
  --font-display:  "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-heavy:    "Archivo Black", "Archivo", "Helvetica Neue", sans-serif;
  --font-body:     "Manrope", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-mono:     ui-monospace, "SF Mono", Menlo, monospace;

  /* ---- 2h. Type scale (px) ---- */
  --fs-display-1: 96px;   --lh-display-1: 1.02;
  --fs-display-2: 72px;   --lh-display-2: 1.04;
  --fs-h1:        56px;   --lh-h1:        1.08;
  --fs-h2:        44px;   --lh-h2:        1.12;
  --fs-h3:        32px;   --lh-h3:        1.18;
  --fs-h4:        24px;   --lh-h4:        1.25;
  --fs-h5:        20px;   --lh-h5:        1.30;
  --fs-body-lg:   18px;   --lh-body-lg:   1.55;
  --fs-body:      16px;   --lh-body:      1.55;
  --fs-body-sm:   14px;   --lh-body-sm:   1.50;
  --fs-caption:   12px;   --lh-caption:   1.40;
  --fs-eyebrow:   12px;   --lh-eyebrow:   1.10;

  /* ---- 2i. Spacing (8pt grid) ---- */
  --sp-0:  0;
  --sp-1:  4px;
  --sp-2:  8px;
  --sp-3:  12px;
  --sp-4:  16px;
  --sp-5:  24px;
  --sp-6:  32px;
  --sp-7:  48px;
  --sp-8:  64px;
  --sp-9:  96px;
  --sp-10: 128px;

  /* ---- 2j. Radii ---- */
  --r-none: 0;
  --r-xs:  2px;
  --r-sm:  4px;    /* product tiles */
  --r-md:  8px;    /* bundle / promo cards */
  --r-lg:  16px;   /* large feature modules */
  --r-pill: 999px; /* CTAs, badges, chips */

  /* ---- 2k. Shadows ---- */
  --shadow-sm:    0 1px 2px rgba(0,0,0,.04);
  --shadow-md:    0 4px 12px rgba(0,0,0,.06);
  --shadow-lg:    0 8px 24px rgba(0,0,0,.08);
  --shadow-hover: 0 12px 32px rgba(0,0,0,.10);
  --shadow-inset: inset 0 0 0 1px var(--border);

  /* ---- 2l. Motion ---- */
  --ease-out:    cubic-bezier(.2,.7,.2,1);
  --ease-in:     cubic-bezier(.5,0,.85,.35);
  --ease-in-out: cubic-bezier(.5,0,.2,1);
  --dur-1: 120ms;
  --dur-2: 200ms;
  --dur-3: 300ms;
  --dur-4: 400ms;

  /* ---- 2m. Layout ---- */
  --content-max: 1440px;
  --gutter:      24px;
  --gutter-lg:   32px;
}

/* ---------- 3. SEMANTIC ELEMENT STYLES ---------------------------------- */

html, body {
  color-scheme: light only;       /* lock to light — prevents Chrome's auto-dark-mode from inverting our photography-first surfaces */
  background: var(--bg-page);
  color: var(--fg-1);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6 {
  font-family: var(--font-display);
  color: var(--fg-1);
  letter-spacing: -0.01em;
  margin: 0;
}

.display-1   { font-family: var(--font-heavy); font-size: var(--fs-display-1); line-height: var(--lh-display-1); letter-spacing: -0.02em; text-transform: uppercase; }
.display-2   { font-family: var(--font-heavy); font-size: var(--fs-display-2); line-height: var(--lh-display-2); letter-spacing: -0.02em; text-transform: uppercase; }
h1, .h1      { font-size: var(--fs-h1); line-height: var(--lh-h1); font-weight: 800; }
h2, .h2      { font-size: var(--fs-h2); line-height: var(--lh-h2); font-weight: 700; }
h3, .h3      { font-size: var(--fs-h3); line-height: var(--lh-h3); font-weight: 700; }
h4, .h4      { font-size: var(--fs-h4); line-height: var(--lh-h4); font-weight: 700; }
h5, .h5      { font-size: var(--fs-h5); line-height: var(--lh-h5); font-weight: 600; }

p, .body     { font-size: var(--fs-body); line-height: var(--lh-body); color: var(--fg-1); margin: 0; }
.body-lg     { font-size: var(--fs-body-lg); line-height: var(--lh-body-lg); }
.body-sm     { font-size: var(--fs-body-sm); line-height: var(--lh-body-sm); color: var(--fg-2); }
.caption     { font-size: var(--fs-caption); line-height: var(--lh-caption); color: var(--fg-3); }

.eyebrow {
  font-family: var(--font-display);
  font-size: var(--fs-eyebrow);
  line-height: var(--lh-eyebrow);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--fg-2);
}

.section-head {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: var(--fs-h3);
  line-height: var(--lh-h3);
}

a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 2px; }

code, .mono { font-family: var(--font-mono); font-size: 0.9em; background: var(--slate-100); padding: 0.1em 0.4em; border-radius: var(--r-xs); }

/* ---------- 4. PRIMITIVE COMPONENTS (CSS-only, for previews) ------------ */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-body); font-weight: 700; font-size: 15px;
  padding: 14px 28px; border-radius: var(--r-pill); border: 1.5px solid transparent;
  cursor: pointer; user-select: none;
  transition: background var(--dur-2) var(--ease-out),
              color var(--dur-2) var(--ease-out),
              transform var(--dur-1) var(--ease-out),
              box-shadow var(--dur-2) var(--ease-out);
  white-space: nowrap;
}
.btn-primary  { background: var(--ink); color: var(--paper); }
.btn-primary:hover  { background: var(--ink-soft); text-decoration: none; }
.btn-primary:active { transform: scale(.98); background: #000; }

.btn-secondary { background: var(--paper); color: var(--ink); border-color: var(--ink); }
.btn-secondary:hover { background: var(--slate-50); text-decoration: none; }
.btn-secondary:active { transform: scale(.98); }

.btn-shark { background: var(--shark-cyan); color: var(--paper); }
.btn-shark:hover { background: var(--shark-cyan-deep); text-decoration: none; }

.btn-ninja { background: var(--ninja-flame); color: var(--paper); }
.btn-ninja:hover { background: var(--ninja-ember); text-decoration: none; }

.btn-ghost { background: transparent; color: var(--ink); border-color: var(--border-strong); }
.btn-ghost:hover { background: var(--slate-50); text-decoration: none; }

.btn-sm { padding: 10px 18px; font-size: 13px; }
.btn-lg { padding: 18px 36px; font-size: 17px; }

.badge {
  display: inline-flex; align-items: center; gap: 4px;
  font-family: var(--font-body); font-weight: 700; font-size: 11px;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 5px 10px; border-radius: var(--r-pill);
  background: var(--ink); color: var(--paper);
}
.badge-new   { background: var(--ink); color: var(--paper); }
.badge-sale  { background: var(--sale); color: var(--paper); }
.badge-limited { background: var(--paper); color: var(--ink); border: 1px solid var(--ink); }
.badge-shark { background: var(--shark-cyan); color: var(--paper); }
.badge-ninja { background: var(--ninja-flame); color: var(--paper); }

.chip {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-body); font-weight: 500; font-size: 13px;
  padding: 8px 14px; border-radius: var(--r-pill);
  background: var(--paper); color: var(--ink); border: 1px solid var(--border);
}

.card {
  background: var(--paper); border-radius: var(--r-sm);
  box-shadow: var(--shadow-md);
  transition: box-shadow var(--dur-3) var(--ease-out), transform var(--dur-3) var(--ease-out);
}
.card:hover { box-shadow: var(--shadow-hover); }

.tile-wash { border-radius: var(--r-sm); background: var(--slate-100); }
