/* ═══════════════════════════════════════════════════════════════════════
   Celeste — Newegg AI Mode · Landing Page
   A premium, motion-forward landing surface for the AI build co-pilot.
   Aesthetic: clean light canvas, deep-ink contrast bands, blue→purple
   Celeste gradient, glassmorphism, and a WebGL dithering hero.
   ═══════════════════════════════════════════════════════════════════════ */

/* ── Design tokens ───────────────────────────────────────────────────── */
:root {
  /* Brand */
  --brand:      #2563eb;   /* Celeste blue  */
  --brand-2:    #7b3cff;   /* Celeste purple */
  --brand-ink:  #1d4ed8;
  --grad:       linear-gradient(135deg, #1e62ff 0%, #7b3cff 100%);
  --grad-blue:  linear-gradient(-90deg, #1274ff, #013dea);  /* matches the input send button */
  --grad-spark: linear-gradient(135deg, #1f5cf5 0%, #3e66ec 42%, #ff861e 100%); /* vivid blue → orange (blue-weighted to avoid a muddy center) */
  --grad-soft:  linear-gradient(135deg, rgba(30,98,255,.12), rgba(123,60,255,.12));

  /* Neutrals */
  --ink:    #0b1020;       /* near-black headings */
  --ink-2:  #1b2235;
  --body:   #475069;       /* body text */
  --mut:    #6b7488;       /* muted / captions */
  --line:   #e6eaf1;
  --line-2: #eef1f6;
  --fill:   #f4f6fb;
  --card:   #ffffff;
  --bg:     #f6f8fc;

  /* Dark band */
  --d-bg:   #0a0d14;
  --d-card: #11151f;
  --d-line: #232a38;
  --d-body: #aab2c2;
  --d-mut:  #6f7a8e;

  /* Effects */
  --star:   #f5a623;
  --save:   #ff6a3d;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(16,24,40,.05), 0 1px 3px rgba(16,24,40,.06);
  --shadow:    0 12px 32px -8px rgba(16,24,40,.16), 0 4px 12px -4px rgba(16,24,40,.08);
  --shadow-lg: 0 30px 70px -20px rgba(30,60,140,.30), 0 12px 28px -12px rgba(16,24,40,.16);
  --ring:      0 0 0 4px rgba(37,99,235,.16);

  /* Content container: 1720px inside a 1920px window (≈89.58%), and it scales
     by that same ratio on smaller viewports. */
  --maxw: 1720px;
  --content-ratio: 89.58vw;
  --hero-w: 945px;   /* shared width: input matches the 4-chip row at 20px gaps */
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
}

.SM-mark {
  font-size: 10px;
}

/* ── Reset ───────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; scroll-behavior: smooth; }

body {
  font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  color: var(--body);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Ambient page gradient orbs */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(680px 420px at 12% -4%, rgba(30,98,255,.08), transparent 60%),
    radial-gradient(620px 460px at 92% 2%, rgba(123,60,255,.07), transparent 60%);
  pointer-events: none;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; }

/* Titles in Montserrat; all body/content stays Open Sans (from body) */
h1, h2, h3, h4, h5, h6, .eyebrow, .stepno, .step .ic .num {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.wrap { width: min(var(--content-ratio), var(--maxw)); margin: 0 auto; }

/* Section rhythm */
.section { padding: 96px 0; position: relative; }
.section--tight { padding: 72px 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 3px;
  font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--brand-ink);
}
.eyebrow .spark { color: var(--brand-2); }

/* Brand-name highlight */
.celeste { font-weight: 800; }

/* Centered heads span the full container by default; The Shift stays narrow. */
.section-head { max-width: none; margin: 0 auto 56px; text-align: center; }
.section-head--narrow { max-width: 640px; }
.section-head h2 {
  font-size: clamp(28px, 4vw, 44px); line-height: 1.1; letter-spacing: -.02em;
  color: var(--ink); font-weight: 800; margin: 14px 0 14px;
}
.section-head p { font-size: 17px; color: var(--mut); }

.grad-text {
  background: var(--grad-blue); -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ── Newegg AI spark assets (hotlinked from the live AI Mode app) ───────────
   .spark      — small inline sparkle (AI-spark2.png), used in eyebrows, chips,
                 follow-up affordances, and inside answer text.
   .spark-name — the brand sparkle (AI-spark1.png) placed before every
                 mention of "Celeste". */
.spark, .spark-name {
  display: inline-block; flex-shrink: 0;
  background-repeat: no-repeat; background-position: center; background-size: contain;
  vertical-align: -0.14em;
}
.spark {
  width: 1em; height: 1em;
  background-image: url('https://c1.neweggimages.com/WebResource/Themes/Nest/images/icons/AI-spark2.png');
}
.spark-name {
  /* 25% larger than the previous 1.05em */
  width: 1.31em; height: 1.31em; margin-right: .22em; vertical-align: -0.24em;
  background-image: url('https://c1.neweggimages.com/WebResource/Themes/Nest/images/icons/AI-spark1.png');
}
/* Section-title eyebrows: spark 40% larger than the inline default */
.eyebrow .spark { width: 1.4em; height: 1.4em; }

/* ════════════════════════════════════════════════════════════════════════
   HEADER
   ════════════════════════════════════════════════════════════════════════ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.72);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--line-2);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 66px; gap: 24px;
}
.brand { display: flex; align-items: center; gap: 11px; font-weight: 800; font-size: 18px; color: var(--ink); letter-spacing: -.01em; }
.brand .orb {
  width: 28px; height: 28px; border-radius: 50%;
  background: conic-gradient(from 200deg, #1e62ff, #7b3cff, #ff8a00, #1e62ff);
  box-shadow: 0 2px 10px rgba(60,80,255,.4);
  position: relative;
}
.brand .orb::after {
  content: ''; position: absolute; inset: 6px; border-radius: 50%;
  background: #fff; opacity: .14;
}
.brand .divider { color: var(--line); font-weight: 300; }
.brand .mode { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.nav { display: flex; gap: 28px; font-size: 14px; font-weight: 500; color: var(--body); }
.nav a { position: relative; transition: color .2s; }
.nav a::after {
  content: ''; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0;
  background: var(--grad); transition: width .25s var(--ease-spring); border-radius: 2px;
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after { width: 100%; }

.header-cta { display: flex; align-items: center; gap: 14px; }
.save-note { font-size: 12px; color: var(--mut); }
.save-note .b { color: var(--brand-ink); font-weight: 600; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  border-radius: 999px; padding: 9px 18px; font-size: 14px; font-weight: 600;
  border: 1px solid var(--line); background: #fff; color: var(--ink);
  transition: transform .2s var(--ease-spring), box-shadow .25s, background .2s, border-color .2s;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.btn--ghost { background: transparent; }
.btn--solid { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn--solid:hover { background: #000; }
.btn--brand {
  background: var(--grad); color: #fff; border: none;
  box-shadow: 0 8px 24px -6px rgba(60,80,255,.5);
}
.btn--brand:hover { box-shadow: 0 12px 32px -6px rgba(60,80,255,.6); transform: translateY(-2px); }
.btn--light { background: #fff; color: var(--brand-ink); border: none; box-shadow: 0 8px 24px -8px rgba(20,40,90,.28); }
.btn--light:hover { box-shadow: 0 14px 34px -8px rgba(20,40,90,.34); transform: translateY(-2px); }
.btn--lg { padding: 15px 32px; font-size: 16px; }

.icon-16 { width: 16px; height: 16px; }
.icon-18 { width: 18px; height: 18px; }
.icon-20 { width: 20px; height: 20px; }

/* ════════════════════════════════════════════════════════════════════════
   HERO  (WebGL dithering card)
   ════════════════════════════════════════════════════════════════════════ */
/* Full-bleed motion hero — the WebGL gradient fills the whole section.
   Sized below the fold so the next section peeks in on the first scroll;
   content sits slightly above center so it reads higher on the page. */
.hero {
  position: relative;
  min-height: 72vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  background: #e9f1fd; /* pastel fallback before the canvas paints */
}
.hero .hero-content { margin-top: -2vh; }

/* Dithering layer — opaque, edge-to-edge background (no blend = no graying) */
.dither-layer {
  position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
}
#waveCanvas { display: block; width: 100%; height: 100%; }

/* Soft edge vignette to seat the hero against the next section */
.hero::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; z-index: 1;
  background: linear-gradient(180deg, rgba(246,248,252,0), var(--bg));
  pointer-events: none;
}

.hero-content {
  position: relative; z-index: 10;
  padding: 36px 24px; width: 100%; max-width: 1060px; margin: 0 auto; text-align: center;
  display: flex; flex-direction: column; align-items: center;
}

/* live badge */
.badge {
  margin-bottom: 20px;
  display: inline-flex; align-items: center; gap: 9px;
  border-radius: 999px; border: 1px solid rgba(37,99,235,.2);
  background: rgba(255,255,255,.7); backdrop-filter: blur(6px);
  padding: 7px 16px 7px 13px; font-size: 13px; font-weight: 600;
  color: var(--brand-ink); letter-spacing: .01em;
}
.ping-wrapper { position: relative; display: inline-flex; width: 8px; height: 8px; }
.ping { position: absolute; inset: 0; border-radius: 50%; background: var(--brand); opacity: .75; animation: ping 1.6s cubic-bezier(0,0,.2,1) infinite; }
.dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); }
@keyframes ping { 75%, 100% { transform: scale(2.4); opacity: 0; } }

.hero h1 {
  /* ~30% larger; extra line-height + padding so the "g" descender isn't clipped */
  font-size: clamp(48px, 7vw, 86px); line-height: 1.1; letter-spacing: -.03em;
  font-weight: 800; color: var(--ink); margin-bottom: 18px; padding-bottom: .04em;
}
.hero h1 .grad-text { display: inline-block; line-height: 1.14; padding-bottom: .12em; }
.hero .sub { font-size: clamp(16px, 1.8vw, 19px); color: var(--body); width: 100%; max-width: var(--hero-w); line-height: 1.55; margin: 0 auto 26px; }

/* Primary entry — matched to the live AI Mode input (.ai-input-box):
   white 92% fill, 36px radius, generous padding, 18px text, no heavy border. */
.ask-box {
  width: 100%; max-width: var(--hero-w);
  border: 2px solid transparent;
  border-radius: 36px; padding: 20px 24px 18px;
  /* gradient outline (blue → purple → cyan), white interior */
  background:
    linear-gradient(rgba(255,255,255,.94), rgba(255,255,255,.94)) padding-box,
    linear-gradient(115deg, #2f6bff 0%, #7b3cff 48%, #18c2e6 100%) border-box;
  box-shadow: 0 14px 44px -18px rgba(20,106,219,.30);
  text-align: left; position: relative;
  transition: box-shadow .25s;
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.ask-box:focus-within { box-shadow: 0 18px 52px -16px rgba(20,106,219,.42); }
.ask-box textarea {
  width: 100%; border: none; outline: none; resize: none; background: transparent;
  font-family: inherit; font-size: 18px; color: #111; line-height: 1.5;
  min-height: 76px; padding-right: 78px;
}
.ask-box textarea::placeholder { color: #9aa3b6; }
/* Send — blue gradient pill, matched to .ai-input-btn-send */
.ask-box .send {
  position: absolute; right: 14px; bottom: 14px;
  width: 56px; height: 40px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.4);
  background: linear-gradient(-90deg, #1274ff, #013dea); color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 2px 8px rgba(8,75,166,.4), 0 1px 3px rgba(20,106,219,.5);
  transition: transform .2s var(--ease-spring), filter .2s;
}
.ask-box .send:hover { transform: scale(1.05); filter: brightness(1.06); }
.ask-box .send:active { transform: scale(.95); }

/* Starter keywords — matched to .ai-keyword pills:
   solid white, faint blue ring, fully rounded, sparkle + 8px gap. */
/* 4 chips on one line at a fixed 20px gap; the row width matches the input */
.hero-chips { display: flex; gap: 20px; justify-content: center; flex-wrap: nowrap; width: 100%; max-width: var(--hero-w); margin: 18px auto 0; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0; white-space: nowrap;
  border: 1px solid rgba(16,97,205,.12); background: #fff;
  border-radius: 999px; padding: 9px 20px; font-size: 15px; font-weight: 500; color: #111;
  transition: transform .2s var(--ease-spring), border-color .2s, box-shadow .2s;
}
.chip .spark { color: var(--brand); width: 1.5em; height: 1.5em; }
.chip:hover { transform: translateY(-2px); border-color: rgba(18,116,255,.4); box-shadow: 0 6px 16px -8px rgba(20,106,219,.4); }

.hero-note { margin-top: 16px; font-size: 12.5px; color: var(--mut); display: inline-flex; align-items: center; gap: 7px; }

/* ════════════════════════════════════════════════════════════════════════
   PROBLEM → PROMISE
   ════════════════════════════════════════════════════════════════════════ */
.split { display: grid; grid-template-columns: 35fr 65fr; gap: 28px; align-items: stretch; }
.panel {
  border-radius: var(--radius-lg); padding: 28px; position: relative; overflow: hidden;
  border: 1px solid var(--line); background: var(--card);
}
.panel .tag-label {
  display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase; margin-bottom: 18px;
}
.panel.before .tag-label { color: #b03a2e; }
.panel.after  .tag-label { color: var(--brand-ink); }
.panel h3 { font-size: 20px; color: var(--ink); letter-spacing: -.01em; margin-bottom: 8px; }
.panel p  { font-size: 14.5px; color: var(--mut); }

/* old-way mock: a dense, cluttered search-results page */
.serp { display: flex; flex-direction: column; gap: 7px; margin-top: 16px; }
.serp-bar { display: flex; gap: 6px; align-items: center; }
.serp-search { flex: 1; height: 22px; border-radius: 6px; background: #fff; border: 1px solid #cfd4de; }
.serp-chip { width: 26px; height: 22px; border-radius: 6px; background: #e4e7ee; border: 1px solid #cfd4de; flex-shrink: 0; }
.serp-meta { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.serp-meta .ml { height: 5px; border-radius: 3px; background: #d6dae3; }
.serp-meta .ml.a { width: 42%; }
.serp-meta .ml.b { width: 24%; background: #c1c7d2; }
.serp-body { display: grid; grid-template-columns: 50px 1fr; gap: 8px; }
.serp-filters { display: flex; flex-direction: column; gap: 6px; }
.serp-filters .fh { height: 6px; width: 82%; border-radius: 3px; background: #c4c9d3; margin-top: 3px; }
.serp-filters .fl { display: flex; align-items: center; gap: 5px; }
.serp-filters .fl i { width: 8px; height: 8px; border-radius: 2px; border: 1px solid #c1c7d2; background: #fff; flex-shrink: 0; }
.serp-filters .fl span { height: 4px; border-radius: 2px; background: #d6dae3; flex: 1; }
.serp-results { display: flex; flex-direction: column; gap: 6px; }
.srow { display: flex; gap: 8px; align-items: center; border: 1px solid var(--line-2); border-radius: 7px; padding: 6px; background: var(--fill); }
.srow .sthumb { width: 30px; height: 30px; border-radius: 4px; background: #cfd4de; flex-shrink: 0; }
.srow .slines { flex: 1; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.srow .ln { height: 4px; border-radius: 2px; background: #d6dae3; }
.srow .ln.s { width: 84%; }
.srow .ln.p { width: 36%; background: #c1c7d2; }
.srow .stag { width: 28px; height: 14px; border-radius: 3px; background: #c9ced8; flex-shrink: 0; }
.serp-pager { display: flex; gap: 5px; justify-content: center; margin-top: 3px; }
.serp-pager span { width: 15px; height: 13px; border-radius: 3px; background: #d6dae3; }
.serp-pager span:first-child { background: #b6bcc8; }
/* old card: grayed-out to read as outdated */
.panel.before { background: linear-gradient(180deg, #f6f6f8, #eeeef1); filter: grayscale(.6); }
.panel.before::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 60px;
  background: linear-gradient(180deg, transparent, rgba(238,238,241,.95));
}

/* calm conversation mock */
.calm { margin-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.calm .q { align-self: flex-end; max-width: 80%; background: #1061CD; color: #fff; font-size: 13px; border-radius: 14px 14px 4px 14px; padding: 10px 13px; }
/* AI answer with the spark sitting to the LEFT of the bubble */
/* full width so the bubble's right edge lines up with the user message's right edge */
.calm .a-row { align-self: stretch; width: 100%; display: flex; gap: 8px; align-items: flex-start; }
.calm .a-row .a-spark { width: 20px; height: 20px; flex-shrink: 0; margin-top: 4px; }
.calm .a { flex: 1; min-width: 0; background: var(--fill); color: var(--ink-2); font-size: 13px; border-radius: 14px 14px 14px 4px; padding: 11px 13px; border: 1px solid var(--line-2); }
.panel.after { background: #fff; border-color: rgba(37,99,235,.16); }

/* ─── Newegg-style product card internals (shared by .ccard and .pcard) ─── */
.ne-eggs { display: inline-block; vertical-align: middle; height: 13px; width: auto; }  /* Newegg rating eggs image */
.ne-rate { display: flex; align-items: center; gap: 6px; color: var(--mut); }
.ne-was { display: block; color: var(--mut); text-decoration: line-through; }
.ne-priceRow { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ne-now { font-weight: 800; color: #14181f; line-height: 1; letter-spacing: -.01em; white-space: nowrap; }
.ne-now .ne-cur { font-size: .64em; vertical-align: .16em; margin-right: 1px; }
.ne-now .ne-cents { font-size: .56em; vertical-align: .52em; }
/* Newegg "Save %" callout: red banner with a sloped triangular right edge */
.ne-save { font-weight: 700; color: #fff; background: #DB1600; white-space: nowrap; clip-path: polygon(0 0, 100% 0, calc(100% - 13px) 100%, 0 100%); }

/* real product cards inside an answer (compact) */
.calm-cards { display: flex; gap: 10px; margin-top: 12px; }
.ccard { flex: 1; min-width: 0; background: #fff; border: 1px solid var(--line-2); border-radius: 6px; padding: 11px; display: flex; flex-direction: column; }
.ccard .cimg { height: 92px; display: grid; place-items: center; margin-bottom: 10px; }
.ccard .cimg img { max-width: 100%; max-height: 92px; object-fit: contain; }
.ccard .ctitle { font-size: 11.5px; font-weight: 600; color: #1b2235; line-height: 1.35; height: 31px; overflow: hidden; margin-bottom: 7px; }
.ccard .ne-rate { font-size: 10px; margin-bottom: 8px; }
.ccard .ne-eggs { height: 12px; }
.ccard .ne-was { font-size: 11px; margin-bottom: 2px; }
.ccard .ne-priceRow { margin-top: auto; }
.ccard .ne-now { font-size: 19px; }
.ccard .ne-save { font-size: 9.5px; padding: 3px 14px 3px 7px; }

/* ════════════════════════════════════════════════════════════════════════
   VALUE PROPS
   ════════════════════════════════════════════════════════════════════════ */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
/* Why Celeste cards share the How-it-works card design (no hover) */
.vcard {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 28px 26px; text-align: left;
}
.vcard .ic {
  width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center;
  background: var(--grad-spark); color: #fff; margin-bottom: 18px;
  box-shadow: 0 10px 24px -8px rgba(40,90,210,.45);
}
.vcard h3 { font-size: 18px; color: var(--ink); letter-spacing: -.01em; margin-bottom: 9px; }
.vcard p  { font-size: 14.5px; color: var(--mut); }

/* ════════════════════════════════════════════════════════════════════════
   HOW IT WORKS
   ════════════════════════════════════════════════════════════════════════ */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; position: relative; }
/* connecting timeline behind the cards — only visible in the gaps, linking the step circles 1→2→3 */
.steps::before {
  content: ''; position: absolute; top: 56px; left: 13%; right: 13%; height: 3px; z-index: 0;
  background: linear-gradient(90deg, #1452f0, #ff8a1e); opacity: .35; border-radius: 3px;
}
/* each step is a self-contained card sitting above the timeline */
.step { position: relative; z-index: 1; text-align: left; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px 26px; }
/* step number circle — the number IS the visual; no icon needed */
.step .ic {
  width: 56px; height: 56px; border-radius: 50%; margin-bottom: 20px;
  display: grid; place-items: center;
  background: var(--grad-spark); box-shadow: 0 10px 24px -8px rgba(40,90,210,.45);
}
.step .ic .num {
  font-weight: 800; font-size: 21px; color: #fff; line-height: 1;
}
.step .stepno { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--brand-ink); margin-bottom: 7px; }
.step h4 { font-size: 18px; color: var(--ink); margin-bottom: 8px; letter-spacing: -.01em; }
.step p  { font-size: 14px; color: var(--mut); margin: 0; }

/* ════════════════════════════════════════════════════════════════════════
   FEATURE DEEP-DIVES  (alternating showcase rows)
   ════════════════════════════════════════════════════════════════════════ */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.feature + .feature { margin-top: 96px; }
.feature.reverse .feature-copy { order: 2; }
.feature.reverse .feature-art  { order: 1; }
.feature-copy .eyebrow { margin-bottom: 16px; }
.feature-copy h3 { font-size: clamp(24px, 3vw, 34px); line-height: 1.12; letter-spacing: -.02em; color: var(--ink); font-weight: 800; margin-bottom: 16px; }
.feature-copy > p { font-size: 16px; color: var(--body); margin-bottom: 22px; }
.feature-list { list-style: none; display: flex; flex-direction: column; gap: 13px; }
/* block li with an absolutely-positioned check so the sentence (incl. <strong>)
   flows as ONE inline run — fixes bold keywords splitting into columns. */
.feature-list li { position: relative; padding-left: 34px; font-size: 14.5px; line-height: 1.5; color: var(--ink-2); }
.feature-list .ck {
  position: absolute; left: 0; top: 1px;
  width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center;
  background: var(--grad-soft); color: var(--brand);
}

/* showcase frame */
.frame {
  border-radius: var(--radius-lg); padding: 18px;
  background: linear-gradient(160deg, #fdfdff, #eef3fc);
  border: 1px solid var(--line); box-shadow: var(--shadow);
  position: relative;
}
.frame--dark { background: linear-gradient(160deg, #11151f, #0a0d14); border-color: var(--d-line); }

/* generic mock chat surface */
.mock {
  background: #fff; border: 1px solid var(--line-2); border-radius: 16px; padding: 16px; overflow: hidden;
}
.frame--dark .mock { background: var(--d-card); border-color: var(--d-line); }
.mq { align-self: flex-end; margin-left: auto; max-width: 82%; background: #1061CD; color: #fff; font-size: 13px; border-radius: 14px 14px 4px 14px; padding: 10px 13px; margin-bottom: 12px; }
.ma { max-width: 92%; background: var(--fill); color: var(--ink-2); font-size: 13px; line-height: 1.55; border-radius: 14px 14px 14px 4px; padding: 12px 14px; margin-bottom: 12px; }
.frame--dark .ma { background: #1a2030; color: var(--d-body); border: 1px solid var(--d-line); }
.ma .spark { color: var(--brand-2); }

/* pinned product token in the input */
.pin-input {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  border: 1.5px solid var(--brand); border-radius: 14px; padding: 10px 12px; background: #fff; margin-top: 4px;
}
.pin-token {
  display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; color: var(--brand-ink);
  background: var(--grad-soft); border: 1px solid rgba(37,99,235,.25); border-radius: 9px; padding: 6px 9px;
}
.pin-token .thumb { width: 22px; height: 22px; border-radius: 5px; background: linear-gradient(135deg,#cdd9ff,#e3d6ff); }
.pin-token .x { color: var(--mut); cursor: pointer; font-size: 13px; line-height: 1; }
.pin-input .ph { font-size: 13px; color: #9aa3b6; }

/* "Ask Celeste" highlight affordance */
/* "Ask Celeste" on highlighted text — matches the live app:
   blue text selection + a white pill floating above it. */
.answer-snippet { display: flex; gap: 8px; align-items: flex-start; margin-top: 52px; }
.answer-snippet .a-spark { width: 22px; height: 22px; flex-shrink: 0; margin-top: 2px; }
.highlight-demo { flex: 1; font-size: 13px; color: var(--ink-2); line-height: 1.8; }
.ask-sel { position: relative; background: #1b62d6; color: #fff; border-radius: 2px; padding: 1px 3px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.ask-pop {
  position: absolute; bottom: calc(100% + 9px); left: -2px;
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12.5px; font-weight: 700; color: #1565d8;
  background: #fff; border: 1px solid #bcd4f5; border-radius: 999px; padding: 6px 14px 6px 11px;
  box-shadow: 0 8px 20px -6px rgba(20,60,150,.28); white-space: nowrap;
}
.ask-pop .spark { width: 1.15em; height: 1.15em; }

/* "Discuss more" button (Font Awesome reply icon, inlined as SVG) */
.discuss-wrap { display: flex; }
.discuss-btn {
  display: inline-flex; align-items: center; gap: 9px;
  background: #D7E4F7; border: none; border-radius: 999px;
  padding: 10px 20px; font-size: 13.5px; font-weight: 600; color: #3a4254;
  box-shadow: 0 2px 10px -4px rgba(20,40,90,.14);
}
.discuss-btn .ic-fa { width: 15px; height: 15px; fill: #5b6b86; flex-shrink: 0; }

/* Pinned-product input box — matches the live AI Mode input (gradient border, pin chip) */
.pin-box {
  margin-top: 16px; border-radius: 16px; padding: 2px;
  background: linear-gradient(120deg, #2f6bff, #7b3cff);
  box-shadow: 0 16px 40px -18px rgba(40,70,180,.4);
}
.pin-box .pin-inner { position: relative; background: #fff; border-radius: 14px; padding: 14px 16px 16px; }
.pin-chip {
  display: inline-flex; align-items: center; gap: 8px; max-width: 100%;
  background: #eceff4; border-radius: 9px; padding: 6px 10px 6px 7px;
  font-size: 12.5px; font-weight: 500; color: #1b2235; margin-bottom: 12px;
}
.pin-chip .thumb { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; flex-shrink: 0; background: #cdd9ff; }
.pin-chip .x { color: #8a93a6; cursor: pointer; font-size: 13px; line-height: 1; margin-left: 3px; }
.pin-box .ph { display: block; font-size: 14px; color: #9aa3b6; padding-right: 66px; line-height: 1.4; }
.pin-box .send {
  position: absolute; right: 14px; bottom: 14px; width: 52px; height: 36px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.4); background: linear-gradient(-90deg, #1274ff, #013dea);
  color: #fff; display: grid; place-items: center; box-shadow: 0 2px 8px rgba(8,75,166,.4);
}

/* product cards (carousel / deals) */
/* deals product cards (larger Newegg-style cards with real product images) */
.pcard-row { display: flex; gap: 14px; }
.pcard {
  flex: 1; min-width: 0; background: #fff; border: 1px solid var(--line-2); border-radius: 8px; padding: 14px;
  display: flex; flex-direction: column;
}
.pcard .pimg { height: 116px; display: grid; place-items: center; margin-bottom: 12px; }
.pcard .pimg img { max-width: 100%; max-height: 116px; object-fit: contain; }
.pcard .ptitle { font-size: 13px; font-weight: 600; color: #1b2235; line-height: 1.35; height: 36px; overflow: hidden; margin-bottom: 9px; }
.pcard .ne-rate { font-size: 11px; margin-bottom: 10px; }
.pcard .ne-eggs { height: 14px; }
.pcard .ne-was { font-size: 12px; margin-bottom: 2px; }
.pcard .ne-priceRow { margin-top: auto; }
.pcard .ne-now { font-size: 24px; }
.pcard .ne-save { font-size: 11px; padding: 4px 17px 4px 9px; }
.carousel-arrows { position: absolute; top: 50%; width: 100%; left: 0; display: flex; justify-content: space-between; padding: 0 4px; pointer-events: none; transform: translateY(-50%); }
.carousel-arrows .arr { pointer-events: auto; width: 30px; height: 30px; border-radius: 50%; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; box-shadow: var(--shadow-sm); color: var(--ink); }

/* comparison table — clean & borderless (image 1 reference): no fills,
   no outer border, thin row separators, bold headers, generous padding */
.cmp { width: 100%; border-collapse: collapse; background: none; font-size: 13px; }
.cmp th, .cmp td { padding: 13px 14px; text-align: left; border-bottom: 1px solid var(--line-2); vertical-align: top; }
.cmp thead th { font-weight: 700; color: var(--ink); font-size: 14px; }
.cmp thead th:first-child { width: 24%; }
.cmp tbody th { font-weight: 600; color: var(--ink); width: 24%; }
.cmp td { color: var(--body); font-weight: 400; }
.cmp tr:last-child td, .cmp tr:last-child th { border-bottom: none; }
.cmp-rec { margin-top: 18px; font-size: 13px; color: var(--ink-2); line-height: 1.65; }
.cmp-rec .spark { color: var(--brand-2); }
.cmp-intro { font-size: 13px; color: var(--ink-2); line-height: 1.55; margin-bottom: 14px; }

/* ════════════════════════════════════════════════════════════════════════
   DEMO BAND  (dark "see it in action")
   ════════════════════════════════════════════════════════════════════════ */
.demo-band { background: var(--d-bg); color: #fff; border-radius: 0; }
.demo-band .section-head h2 { color: #fff; }
.demo-band .section-head p { color: var(--d-body); }
.demo-band .eyebrow { color: #9bb8ff; }
.followups { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
.fchip { font-size: 11px; color: #9bb8ff; background: rgba(37,99,235,.14); border: 1px solid #2f4a8a; border-radius: 999px; padding: 6px 11px; }

/* "See it in action" — two-pane workspace: conversation + slide-in product panel */
.workspace { display: grid; grid-template-columns: 1.35fr 1fr; gap: 12px; align-items: stretch; }
.ws-chat { display: flex; flex-direction: column; }
/* AI answer in the workspace chat — spark outside, bubble inside (page-wide style) */
.ws-arow { display: flex; gap: 8px; align-items: flex-start; margin-bottom: 12px; }
.ws-arow .a-spark { width: 20px; height: 20px; flex-shrink: 0; margin-top: 3px; }
.ws-arow .ma { flex: 1; min-width: 0; max-width: none; margin-bottom: 0; }
.ws-chat .followups { margin-top: auto; }   /* pin suggestion chips to the chat's bottom */
.ws-panel { background: #161c2a; border: 1px solid var(--d-line); border-radius: 12px; padding: 12px; display: flex; flex-direction: column; }
.ws-panel .ws-eyebrow { font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #7f8aa3; margin-bottom: 9px; display: flex; align-items: center; gap: 6px; }
.ws-img { height: 84px; border-radius: 8px; background: #fff; display: grid; place-items: center; margin-bottom: 12px; }
.ws-img img { max-height: 76px; max-width: 100%; object-fit: contain; }
.ws-title { font-size: 12px; font-weight: 700; color: #e8ebf2; line-height: 1.35; margin-bottom: 12px; }
/* Specs callout (image 2): titled box with labelled spec pills */
.ws-specs-head { display: flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 700; color: #e8ebf2; margin-bottom: 9px; }
.ws-specs-head svg { color: #6f8bff; }
.ws-specs { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 14px; }
.ws-spec { font-size: 10.5px; color: #cdd8ee; background: rgba(120,150,255,.12); border: 1px solid #2c3650; border-radius: 8px; padding: 5px 9px; }
.ws-spec b { color: #9fb4ff; font-weight: 700; }
/* Actions: Discuss more (full-width, top), then Buy Now (orange) + Add to cart (white) */
.ws-actions { display: flex; flex-direction: column; gap: 8px; margin-top: auto; }
/* all Newegg buttons are pill-shaped */
.ws-btn { display: flex; align-items: center; justify-content: center; gap: 7px; font-size: 11.5px; font-weight: 700; border-radius: 999px; padding: 9px 14px; cursor: pointer; }
/* Discuss more: ~40% min width, right-aligned, one line, light blue pill */
.ws-discuss { align-self: flex-end; min-width: 40%; white-space: nowrap; background: #D7E4F7; border: none; color: #2a3650; padding: 9px 16px; }
.ws-discuss .ic-fa { width: 13px; height: 13px; fill: #5b6b86; }
/* Buy Now and Add to Cart each take their own full-width row */
.ws-buy-row { display: flex; flex-direction: column; gap: 8px; }
.ws-buy-row .ws-btn { width: 100%; }
.ws-buy { background: #ff8a1e; color: #2a1a06; border: none; }
.ws-cart { background: #fff; color: #14181f; border: none; }
@media (max-width: 640px) { .workspace { grid-template-columns: 1fr; } }

/* ════════════════════════════════════════════════════════════════════════
   POLISH STRIP
   ════════════════════════════════════════════════════════════════════════ */
.polish { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pitem { text-align: left; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px 24px; }
.pitem .ic { width: 52px; height: 52px; border-radius: 16px; margin: 0 0 18px; display: grid; place-items: center; background: var(--grad-spark); color: #fff; box-shadow: 0 10px 24px -8px rgba(40,90,210,.45); }
.pitem h5 { font-size: 16px; color: var(--ink); margin-bottom: 7px; letter-spacing: -.01em; }
.pitem p { font-size: 13.5px; color: var(--mut); line-height: 1.55; }

/* trust line (non-fabricated) */
.trust { text-align: center; margin-top: 64px; }
.trust p { font-size: 14px; color: var(--mut); }
.trust .lock { display: inline-flex; align-items: center; gap: 7px; margin-top: 10px; font-size: 12.5px; color: var(--mut); }

/* ════════════════════════════════════════════════════════════════════════
   FINAL CTA
   ════════════════════════════════════════════════════════════════════════ */
.cta-band { position: relative; overflow: hidden; }
.cta-inner {
  border-radius: 36px; padding: 96px 32px; text-align: center; position: relative; overflow: hidden;
  background: #e9f1fd; color: var(--ink);
  border: 1px solid rgba(37,99,235,.14);
  box-shadow: var(--shadow-lg);
}
/* Hero motion graphic as the CTA background */
.cta-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; z-index: 0; pointer-events: none; }
.cta-inner h2 { position: relative; z-index: 1; color: var(--ink); font-size: clamp(28px, 4vw, 46px); font-weight: 800; letter-spacing: -.02em; line-height: 1.1; margin-bottom: 14px; }
.cta-inner p { position: relative; z-index: 1; color: var(--body); font-size: 17px; margin-bottom: 30px; }
.cta-inner .btn { position: relative; z-index: 1; }
.cta-inner .btn .spark { width: 1.4em; height: 1.4em; }  /* 40% larger spark in the CTA button */

/* ════════════════════════════════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════════════════════════════════ */
.site-footer { border-top: 1px solid var(--line); padding: 32px 0; margin-top: 8px; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-inner .left { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--mut); }
.footer-links { display: flex; gap: 22px; font-size: 13px; color: var(--mut); }
.footer-links a:hover { color: var(--ink); }

/* ════════════════════════════════════════════════════════════════════════
   SCROLL REVEAL
   ════════════════════════════════════════════════════════════════════════ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s var(--ease-spring); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .ping { animation: none; }
}

/* ════════════════════════════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════════════════════════════ */
@media (max-width: 980px) {
  .nav, .save-note { display: none; }
  .feature, .feature.reverse { grid-template-columns: 1fr; gap: 32px; }
  .feature.reverse .feature-copy, .feature.reverse .feature-art { order: 0; }
  .split { grid-template-columns: 1fr; }
  .cards-3, .steps, .polish { grid-template-columns: 1fr 1fr; gap: 18px; }
  .steps::before { display: none; }
  /* chips can't stay on one line below the input width — let them wrap + center */
  .hero-chips { flex-wrap: wrap; justify-content: center; }
}
@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .hero { min-height: 82svh; }
  .hero-content { padding: 48px 20px; }
  .cards-3, .steps, .polish { grid-template-columns: 1fr; }
  .pcard-row { flex-direction: column; }
  .cta-inner { padding: 52px 22px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .feature-copy h3 { font-size: 26px; }
}
