/* pxl.chat website. Built to match Particl's real CSS, measured from particl.com:
   #fafafa ground, stone neutrals, one royal blue, Archivo headlines (h1 600 / h2 500), Inter body, 2px engraved section dividers, a 6x6 diagonal-line tile behind feature
   sections, a 10px SVG dot grid with random highlights, a canvas dot field (4px squares, 10px pitch, random opacity), double-bezel containers and gradient-ring buttons.
   Colors: blue and stone only. */

:root {
  --bg: #fafafa;
  --bg-2: #f5f5f4;
  --card: #ffffff;
  --fg: #1c1917;
  --fg-2: #44403c;
  --secondary: #525252;
  --muted: #78716c;
  --muted-2: #a8a29e;
  --line: #e7e5e4;
  --line-2: #d6d3d1;
  --line-soft: #e9e9e9;
  --accent: #2563eb;
  --accent-2: #1d4ed8;
  --accent-soft: #eff4ff;
  --accent-line: #bfd0fb;
  --blue-300: #93c5fd;
  --radius: 8px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --shadow-xs: 0 1px 2px rgba(23, 23, 23, 0.04);
  --shadow-sm: 0 1px 2px rgba(23, 23, 23, 0.05), 0 1px 1px rgba(23, 23, 23, 0.03);
  --shadow-md: 0 1px 2px rgba(23, 23, 23, 0.04), 0 10px 28px -12px rgba(23, 23, 23, 0.14);
  --shadow-lg: 0 2px 4px rgba(23, 23, 23, 0.04), 0 28px 64px -24px rgba(23, 23, 23, 0.24);
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-head: "Archivo", "Inter", ui-sans-serif, system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --wrap: 1152px;
  --nav-h: 65px;
  --diag: url("data:image/svg+xml,%3Csvg width='6' height='6' viewBox='0 0 6 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23d4d4d4' fill-opacity='0.4' fill-rule='evenodd'%3E%3Cpath d='M5 0h1L0 6V5zM6 5v1H5z'/%3E%3C/g%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--fg); font-family: var(--font); font-size: 16px; line-height: 1.5;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
::selection { background: #cfdcff; color: #0b1b4a; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 200; background: var(--fg); color: #fff; padding: 8px 12px; border-radius: 6px; }
.skip:focus { left: 8px; }

/* ------------------------------------------------------------------ layout: engraved 2px dividers between sections, faint guide lines at the container edges */
.sec { position: relative; isolation: isolate; overflow-x: clip; }
.sec-div { height: 2px; width: 100%; border-top: 1px solid var(--line-soft); background: #fff; }
.wrap { position: relative; z-index: 1; max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(18px, 4vw, 32px); border-left: 1px solid #efeeed; border-right: 1px solid #efeeed; }
.sec-pad { padding-block: clamp(64px, 8vw, 96px); }

/* Particl's diagonal-line tile (a 6x6 SVG, #d4d4d4 at 40%) fills the section behind its content */
.diag-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; background-image: var(--diag); }

/* Particl's SVG dot grid: 1px dots on a 10px pitch with a few 7px highlights that fade in and out. JS draws it into .gridpat */
.gridpat { position: absolute; left: 0; right: 0; top: 0; height: 288px; z-index: 0; opacity: .8; pointer-events: none; overflow: hidden;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 0, transparent 85%, transparent 100%); mask-image: radial-gradient(ellipse at center, #000 0, transparent 85%, transparent 100%); }
.gridpat[data-gp="full"] { inset: 64px 0 0 0; height: auto; -webkit-mask-image: radial-gradient(ellipse at center, #000 0, transparent 100%); mask-image: radial-gradient(ellipse at center, #000 0, transparent 100%); }
.gridpat svg { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; }
.gp-sq { fill: rgba(41, 37, 36, .1); opacity: 0; animation: gpfade 4s ease-in-out infinite; }
@keyframes gpfade { 0%, 100% { opacity: 0; } 50% { opacity: 1; } }

/* Particl's canvas dot field: 4px square dots, 10px pitch, #d1d5db, each with its own random opacity; the field fades out from the center. JS draws it */
.dotfield { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
  -webkit-mask-image: radial-gradient(ellipse 100% 100% at 50% 50%, #fff 0%, transparent 75%, transparent 100%); mask-image: radial-gradient(ellipse 100% 100% at 50% 50%, #fff 0%, transparent 75%, transparent 100%); }
.dotfield canvas { display: block; width: 100%; height: 100%; }

/* ------------------------------------------------------------------ type */
h1, h2, h3, h4 { font-family: var(--font-head); margin: 0; color: var(--fg); }
h1 { font-size: clamp(38px, 5.4vw, 60px); font-weight: 600; line-height: 1; letter-spacing: -0.025em; text-wrap: balance; }
h2 { font-size: clamp(30px, 4vw, 48px); font-weight: 500; line-height: 1.04; letter-spacing: 0; color: #292524; text-wrap: balance; }
h3 { font-size: 18px; font-weight: 600; line-height: 1.3; letter-spacing: -0.005em; }
h4 { font-weight: 600; }
p { margin: 0; }
.lede { font-size: clamp(16px, 1.5vw, 18px); line-height: 1.75; color: var(--secondary); text-wrap: pretty; }
.eyebrow { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); }
.mono { font-family: var(--mono); }
.sec-head { max-width: 720px; margin: 0 auto; text-align: center; display: flex; flex-direction: column; gap: 16px; align-items: center; }
.sec-head .lede { max-width: 560px; }
.sec-head.left { margin: 0; text-align: left; align-items: flex-start; }
.sub-h { font-size: 26px; font-weight: 500; color: #292524; }

/* ------------------------------------------------------------------ buttons (Particl's gradient-ring button), pills, tags */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 42px; padding: 0 16px; border-radius: 8.8px;
  font-size: 14.5px; font-weight: 500; line-height: 1; border: 2px solid transparent; cursor: pointer; white-space: nowrap;
  transition: background-color .15s ease, border-color .15s ease, box-shadow .15s ease, transform .15s ease, color .15s ease, filter .15s ease;
}
.btn-primary {
  color: #fff;
  background: linear-gradient(var(--accent), var(--accent)) padding-box, linear-gradient(to bottom, rgba(59, 130, 246, .8), #2563eb) border-box;
  filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .25));
}
.btn-primary:hover { background: linear-gradient(var(--accent-2), var(--accent-2)) padding-box, linear-gradient(to bottom, rgba(59, 130, 246, .8), #2563eb) border-box; transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .25)); }
.btn-ghost { background: var(--card); color: var(--fg-2); border: 1px solid var(--line-2); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { border-color: #a8a29e; color: var(--fg); transform: translateY(-1px); }
.btn-lg { height: 46px; padding: 0 22px; font-size: 15px; }
.btn-block { width: 100%; }
.btn .arr { transition: transform .18s ease; }
.btn:hover .arr { transform: translateX(3px); }
.pill {
  display: inline-flex; align-items: center; gap: 8px; height: 28px; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--card);
  font-size: 12.5px; color: var(--fg-2); box-shadow: var(--shadow-sm); white-space: nowrap;
}
.pill b { color: var(--fg); font-weight: 600; }
.pill .tag { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); background: var(--accent-soft); border-radius: 999px; padding: 2px 8px; }
.tagpill { display: inline-flex; align-items: center; height: 20px; padding: 0 8px; border-radius: 999px; font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; flex: none; white-space: nowrap; }
.tagpill.live { color: var(--accent-2); background: var(--accent-soft); border: 1px solid var(--accent-line); }
.tagpill.next { color: var(--fg-2); background: var(--bg-2); border: 1px dashed var(--line-2); }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.5); animation: pulse 2s infinite; display: inline-block; }

/* double bezel: a gradient frame with 4px padding around a white pane that sits on a 1px ring */
.bezel { border: 1px solid rgba(231, 229, 228, .4); background: linear-gradient(to top, rgba(214, 211, 209, .2), #fafaf9); padding: 4px; border-radius: 10px; }
.bezel-in { background: #fff; border-radius: 7px; box-shadow: 0 0 0 1px #d6d3d1, 0 1px 2px rgba(0, 0, 0, .05); overflow: hidden; }
@media (min-width: 768px) { .bezel { border-radius: 12px; padding: 6px; } .bezel-in { border-radius: 8px; } }
@media (min-width: 1024px) { .bezel { border-radius: 16px; padding: 8px; } .bezel-in { border-radius: 10px; } }
/* icon in a mini bezel */
.ibz { width: fit-content; border: 1px solid var(--line); background: #fff; border-radius: 12px; padding: 2px; }
.ibz-in { border-radius: 10px; background: #f5f5f5; padding: 8px; color: #525252; display: grid; place-items: center; }

/* ------------------------------------------------------------------ nav (solid, hairline, no blur: like Particl) */
.nav { position: sticky; top: 0; z-index: 60; height: var(--nav-h); background: var(--bg); border-bottom: 1px solid var(--line); }
.nav-inner { height: calc(var(--nav-h) - 1px); display: flex; align-items: center; justify-content: space-between; gap: 24px; max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(18px, 4vw, 32px); }
.brand { display: inline-flex; align-items: center; gap: 9px; }
.brand-img { width: 28px; height: 28px; border-radius: 50%; }
.brand-word { font-family: var(--font-head); font-weight: 600; font-size: 19px; letter-spacing: -0.02em; color: var(--fg); }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a { padding: 8px 12px; border-radius: 6px; font-size: 14px; font-weight: 500; color: var(--fg-2); transition: color .15s, background-color .15s; }
.nav-links a:hover { color: var(--fg); background: var(--bg-2); }
.nav-cta { display: flex; align-items: center; gap: 8px; }
.nav-cta .btn { height: 38px; }
.nav-toggle { display: none; width: 40px; height: 40px; border: 1px solid var(--line); background: var(--card); border-radius: 8px; padding: 0; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.nav-toggle span { width: 16px; height: 1.5px; background: var(--fg); border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-mobile { display: none; }

/* ------------------------------------------------------------------ hero */
.hero { position: relative; overflow: hidden; }
.hero .wrap { padding-top: clamp(48px, 7vw, 80px); padding-bottom: clamp(36px, 5vw, 56px); text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero h1 { max-width: 820px; position: relative; }
.hero .lede { max-width: 560px; margin-top: 24px; position: relative; font-size: clamp(16px, 1.6vw, 18px); line-height: 1.8; }
.hero-pill { margin-bottom: 26px; position: relative; max-width: 100%; }
.hero-cta { display: flex; gap: 10px; margin-top: 30px; position: relative; flex-wrap: wrap; justify-content: center; }
.hero-note { margin-top: 14px; font-size: 13px; color: var(--muted); position: relative; }

/* the input: a gradient bezel, a white pane on a 1px zinc ring with a 2px bottom border, and a dot field behind it */
.ask-wrap { position: relative; width: 100%; max-width: 768px; margin-top: 26px; padding: 44px 0 20px; }
.ask { position: relative; z-index: 1; width: 100%; max-width: 640px; margin: 0 auto; }
.ask-bezel { border: 1px solid rgba(231, 229, 228, .4); background: linear-gradient(to top, rgba(214, 211, 209, .2), #fafaf9); padding: 4px; border-radius: 10px; }
@media (min-width: 1024px) { .ask-bezel { border-radius: 12px; } }
.ask-box {
  display: flex; align-items: center; gap: 10px; padding: 4px 4px 4px 14px; background: #fff; border: 1px solid rgba(212, 212, 216, .5); border-bottom-width: 2px; border-radius: 8px;
  box-shadow: 0 0 0 1px #d4d4d8, 0 1px 3px rgba(9, 9, 11, .15), 0 1px 2px -1px rgba(9, 9, 11, .15); text-align: left; transition: box-shadow .15s;
}
.ask-box:focus-within { box-shadow: 0 0 0 1px var(--accent), 0 0 0 4px rgba(37, 99, 235, .12), 0 1px 3px rgba(9, 9, 11, .15); }
.ask-ico { color: var(--muted-2); flex: none; }
.ask-input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: inherit; font-size: 14.5px; color: var(--fg); height: 40px; }
.ask-input::placeholder { color: var(--muted); }
.ask-send { flex: none; width: 36px; height: 36px; border-radius: 7px; border: 0; background: var(--accent); color: #fff; display: grid; place-items: center; cursor: pointer; transition: background .15s, transform .15s; }
.ask-send:hover { background: var(--accent-2); transform: translateY(-1px); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 14px; }
.chip {
  display: inline-flex; align-items: center; gap: 7px; height: 28px; padding: 0 11px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); box-shadow: var(--shadow-xs);
  font-size: 12px; color: var(--fg-2); cursor: pointer; transition: border-color .15s, transform .15s, box-shadow .15s, color .15s;
}
.chip svg { color: var(--muted); }
.chip:hover { border-color: var(--accent-line); color: var(--fg); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.chip.on { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }
.chip.on svg { color: var(--accent); }

/* the stage the hero input answers into: Particl's screenshot frame (gradient, 1px border, 8px padding, inner 1px ring) */
.stage { position: relative; width: 100%; max-width: 880px; margin: 18px auto 0; text-align: left; }
.frame { border: 1px solid var(--line); background: linear-gradient(to top, rgba(214, 211, 209, .3), #fafaf9); padding: 6px; border-radius: 14px; box-shadow: var(--shadow-lg); }
@media (min-width: 1024px) { .frame { padding: 8px; border-radius: 16px; } }
.frame-in { position: relative; background: var(--card); border-radius: 9px; box-shadow: 0 0 0 1px #d6d3d1; overflow: hidden; }
.frame-bar { position: relative; z-index: 2; display: flex; align-items: center; gap: 12px; height: 38px; padding: 0 14px; border-bottom: 1px solid var(--line); background: #fcfcfb; }
.frame-dots { display: flex; gap: 6px; }
.frame-dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-2); display: block; }
.frame-url { flex: 1; text-align: center; font-family: var(--mono); font-size: 11.5px; color: var(--muted); }
.frame-in > .dotfield { top: 38px; }
.frame-body { position: relative; z-index: 1; min-height: 360px; padding: 22px; }
.stage-empty { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); font-size: 14px; text-align: center; padding: 24px; }
.convo { display: flex; flex-direction: column; gap: 14px; max-width: 640px; margin: 0 auto; }

/* ------------------------------------------------------------------ the shared assistant UI atoms (hero stage and every template mock) */
.msg-u { align-self: flex-end; max-width: 80%; background: var(--fg); color: #fff; padding: 9px 14px; border-radius: 14px 14px 4px 14px; font-size: 14px; line-height: 1.45; animation: rise .35s ease both; }
.msg-b { align-self: flex-start; width: 100%; font-size: 14px; line-height: 1.5; color: var(--fg); animation: rise .4s ease both; }
.msg-b .say { display: block; margin-bottom: 10px; color: var(--fg-2); }
.typing { display: inline-flex; gap: 4px; padding: 10px 12px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-xs); }
.typing i { width: 5px; height: 5px; border-radius: 50%; background: var(--muted-2); animation: blink 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
.src { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-top: 10px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.src span { text-transform: none; letter-spacing: 0; font-family: var(--font); font-size: 11.5px; color: var(--fg-2); background: var(--bg-2); border: 1px solid var(--line); border-radius: 999px; padding: 2px 9px; }
.src .prev { border-color: var(--accent-line); color: var(--accent-2); background: var(--accent-soft); }

.ph { position: relative; display: grid; place-items: center; border-radius: 10px; overflow: hidden; background: linear-gradient(145deg, var(--c1, #eff4ff), var(--c2, #dbe6ff)); color: var(--ic, #2563eb); }
.ph svg { width: 46%; height: 46%; stroke-width: 1.5; filter: drop-shadow(0 6px 10px rgba(23, 23, 23, 0.12)); }
.ph::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.55), transparent 55%); }

.pcard { background: var(--card); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-sm); overflow: hidden; display: flex; flex-direction: column; }
.pcard .ph { border-radius: 0; aspect-ratio: 1.15; }
.pcard-b { padding: 11px 12px 12px; display: flex; flex-direction: column; gap: 5px; flex: 1; }
.pname { font-size: 13px; font-weight: 600; line-height: 1.25; letter-spacing: -0.005em; }
.prate { display: flex; align-items: center; gap: 4px; font-size: 11.5px; color: var(--fg-2); }
.prate .st { color: var(--fg); }
.prate .ct { color: var(--muted); }
.pprice { display: flex; align-items: baseline; gap: 6px; font-size: 13px; font-weight: 650; }
.pprice s { font-weight: 400; color: var(--muted); font-size: 12px; }
.pprice.sale { color: var(--accent); }
.badge-sale { align-self: flex-start; font-family: var(--mono); font-size: 9.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-2); background: var(--accent-soft); border: 1px solid var(--accent-line); border-radius: 4px; padding: 1px 5px; }
.opt-l { font-size: 10.5px; color: var(--muted); margin-top: 2px; }
.swatches { display: flex; gap: 5px; flex-wrap: wrap; }
.sw { width: 17px; height: 17px; border-radius: 50%; background: var(--sw); border: 1px solid rgba(23, 23, 23, 0.18); cursor: pointer; padding: 0; transition: transform .15s, box-shadow .15s; }
.sw.on { box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px var(--accent); transform: scale(1.05); }
.opts { display: flex; gap: 5px; flex-wrap: wrap; }
.op { font-size: 11px; padding: 2px 8px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--fg-2); cursor: pointer; transition: all .15s; }
.op.on { border-color: var(--accent); color: var(--accent); font-weight: 600; box-shadow: inset 0 0 0 1px var(--accent); }
.atc { margin-top: auto; height: 32px; border-radius: 8px; border: 0; background: var(--accent); color: #fff; font-size: 12.5px; font-weight: 500; display: inline-flex; align-items: center; justify-content: center; gap: 6px; cursor: pointer; transition: background .15s, transform .15s; }
.atc:hover { background: var(--accent-2); }
.atc.pending { background: #c7d4f5; color: #fff; cursor: default; }
.atc.done { background: var(--fg); }
.atc.press { transform: scale(.96); }

.row-scroll { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(158px, 1fr); gap: 10px; overflow: hidden; }

/* a real carousel: snap scrolling, the next card peeking in, arrows that appear only when there is more, dots for where you are */
.car { position: relative; width: 100%; min-width: 0; }
.car-track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(150px, 38%); gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: auto; scrollbar-width: none; padding: 2px 2px 6px; outline: none; }
.car-track::-webkit-scrollbar { display: none; }
.car-track:focus-visible { box-shadow: 0 0 0 3px rgba(37, 99, 235, .25); border-radius: 12px; }
.car-track > .pcard { scroll-snap-align: start; }
.car-btn { position: absolute; top: 34%; z-index: 2; width: 32px; height: 32px; display: grid; place-items: center; padding: 0 0 2px; border-radius: 50%; border: 1px solid var(--line); background: var(--card);
  color: var(--fg); font-size: 20px; line-height: 1; cursor: pointer; box-shadow: var(--shadow-md); transition: opacity .15s ease, transform .15s ease; }
.car-btn:hover { transform: scale(1.06); }
.car-btn.prev { left: -6px; } .car-btn.next { right: -6px; }
.car-btn:disabled { opacity: 0; pointer-events: none; }
.car-btn:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(37, 99, 235, .3), var(--shadow-md); }
.car-dots { display: flex; justify-content: center; gap: 6px; margin-top: 8px; }
.car-dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--line); transition: background .2s ease, width .2s ease; }
.car-dots i.on { width: 16px; border-radius: 3px; background: var(--accent); }
@media (prefers-reduced-motion: reduce) { .car-btn, .car-dots i { transition: none; } }

.cmp { background: var(--card); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-sm); }
.cmp table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.cmp th, .cmp td { padding: 8px 12px; text-align: left; vertical-align: top; border-top: 1px solid var(--line); }
.cmp thead th, .cmp thead td { border-top: 0; vertical-align: bottom; }
.cmp tbody th { width: 84px; font-size: 11px; font-weight: 600; color: var(--muted); background: var(--bg); }
.cmp .ph { width: 56px; height: 56px; margin-bottom: 6px; }
.cmp .cn { font-weight: 650; font-size: 13px; line-height: 1.25; }
.cmp tr.row { opacity: 0; transform: translateY(4px); }
.cmp.play tr.row { animation: rise .4s ease forwards; animation-delay: calc(var(--i) * 90ms); }
.cmp .hl { color: var(--accent); font-weight: 600; }

.trk { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 14px; box-shadow: var(--shadow-sm); }
.trk-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.trk-id { font-family: var(--mono); font-size: 12px; color: var(--fg-2); }
.trk-st { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--accent-2); }
.trk-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 18px 0 8px; position: relative; }
.trk-steps::before { content: ""; position: absolute; left: 12.5%; right: 12.5%; top: 6px; height: 2px; background: var(--line); }
.trk-steps::after { content: ""; position: absolute; left: 12.5%; top: 6px; height: 2px; width: 0; background: var(--accent); transition: width 1.4s cubic-bezier(.2, .7, .2, 1) .3s; }
.trk.play .trk-steps::after { width: 50%; }
.trk-s { text-align: center; position: relative; font-size: 10.5px; color: var(--muted); }
.trk-s i { display: block; width: 14px; height: 14px; margin: 0 auto 7px; border-radius: 50%; background: var(--card); border: 2px solid var(--line-2); position: relative; z-index: 1; transition: all .3s ease; }
.trk-s.done i { background: var(--accent); border-color: var(--accent); }
.trk-s.now i { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.16); }
.trk-s.done, .trk-s.now { color: var(--fg); font-weight: 500; }
.trk-meta { display: flex; justify-content: space-between; gap: 10px; padding-top: 10px; border-top: 1px solid var(--line); font-size: 12px; color: var(--fg-2); }
.trk-meta b { display: block; font-size: 10px; font-weight: 500; color: var(--muted); font-family: var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.verify { display: flex; align-items: center; gap: 8px; margin-top: 8px; font-size: 11.5px; color: var(--accent-2); }

.cpn { display: flex; align-items: center; gap: 12px; background: var(--card); border: 1px dashed var(--accent-line); border-radius: 12px; padding: 12px 14px; box-shadow: var(--shadow-sm); }
.cpn-ico { width: 38px; height: 38px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; flex: none; }
.cpn-t { flex: 1; min-width: 0; }
.cpn-code { font-family: var(--mono); font-size: 13px; font-weight: 600; color: var(--fg); }
.cpn-d { font-size: 12px; color: var(--muted); }
.cpn-btn { height: 32px; padding: 0 12px; border-radius: 8px; border: 1px solid var(--accent); background: var(--accent-soft); color: var(--accent); font-size: 12.5px; font-weight: 600; cursor: pointer; transition: all .2s; white-space: nowrap; }
.cpn-btn[disabled] { opacity: .55; cursor: default; border-color: var(--line-2); color: var(--muted); background: var(--bg-2); }
.cpn-btn.done { background: var(--accent); border-color: var(--accent); color: #fff; }
.cpn-sum { margin-top: 8px; display: grid; gap: 3px; font-size: 12px; color: var(--fg-2); padding: 0 4px; }
.cpn-sum div { display: flex; justify-content: space-between; }
.cpn-sum .sv { color: var(--accent-2); font-weight: 600; }

/* ------------------------------------------------------------------ the product spotlight template */
.spot { background: var(--card); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-md); overflow: hidden; text-align: left; }
.sp-main { display: grid; grid-template-columns: .9fr 1.1fr; }
.sp-media { position: relative; padding: 12px; background: var(--bg); border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.sp-ph { aspect-ratio: 1; border-radius: 10px; }
.sp-ph svg { width: 52%; height: 52%; }
.sp-badge { position: absolute; top: 22px; left: 22px; z-index: 2; font-family: var(--mono); font-size: 9.5px; letter-spacing: .1em; text-transform: uppercase; color: #fff; background: var(--accent); border-radius: 4px; padding: 2px 7px; }
.sp-thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.sp-thumbs i { display: block; border-radius: 8px; border: 1px solid var(--line); overflow: hidden; opacity: .75; height: 50px; }
.sp-thumbs i.on { opacity: 1; border-color: var(--accent); box-shadow: 0 0 0 2px rgba(37, 99, 235, .15); }
.sp-thumbs .ph { width: 100%; height: 100%; border-radius: 0; }
.sp-thumbs .ph svg { width: 44%; height: 44%; }
.sp-dist { margin-top: auto; border: 1px solid var(--line); background: #fff; border-radius: 9px; padding: 10px 12px; display: grid; gap: 5px; }
.sp-dh { display: flex; justify-content: space-between; align-items: baseline; font-size: 11.5px; margin-bottom: 2px; } .sp-dh b { font-weight: 600; } .sp-dh span { color: var(--muted); font-size: 11px; }
.dr { display: grid; grid-template-columns: 10px 1fr 30px; gap: 8px; align-items: center; font-size: 10.5px; color: var(--muted); }
.dr i { display: block; height: 5px; background: var(--bg-2); border-radius: 3px; overflow: hidden; } .dr u { display: block; height: 100%; background: var(--accent); border-radius: 3px; text-decoration: none; } .dr em { font-style: normal; text-align: right; }
.sp-info { padding: 16px; display: flex; flex-direction: column; gap: 7px; }
.sp-kick { font-family: var(--mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.sp-name { font-family: var(--font-head); font-size: 21px; font-weight: 600; letter-spacing: -0.015em; line-height: 1.15; }
.sp-rate { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--fg-2); }
.sp-rate .st { color: var(--fg); letter-spacing: 1px; font-size: 11px; }
.sp-rate .ct { color: var(--muted); }
.sp-price { display: flex; align-items: baseline; gap: 8px; }
.sp-price b { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; }
.sp-price s { color: var(--muted); font-size: 13px; }
.sp-price em { font-style: normal; font-size: 11px; font-weight: 600; color: var(--accent-2); background: var(--accent-soft); border: 1px solid var(--accent-line); border-radius: 4px; padding: 1px 6px; }
.sp-revs { display: grid; gap: 7px; margin-top: 4px; }
.rv { border: 1px solid var(--line); border-radius: 9px; padding: 8px 10px; background: var(--bg); }
.rv-h { display: flex; align-items: center; gap: 6px; font-size: 11.5px; }
.rv-h i { width: 20px; height: 20px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-2); font-style: normal; font-size: 9px; font-weight: 700; display: grid; place-items: center; flex: none; }
.rv-v { color: var(--muted); font-size: 10.5px; }
.rv-h .st { margin-left: auto; color: var(--fg); font-size: 9px; letter-spacing: 1px; }
.rv p { margin-top: 4px; font-size: 12px; color: var(--fg-2); line-height: 1.4; }
.sp-info .atc { height: 38px; font-size: 13.5px; margin-top: 6px; }
.sp-stock { display: flex; align-items: center; gap: 6px; font-size: 11.5px; color: var(--fg-2); }
.sp-stock i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.sp-foot { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: center; padding: 12px 14px; border-top: 1px solid var(--line); background: linear-gradient(to top, rgba(214, 211, 209, .2), #fafaf9); }
.sp-cart { display: flex; align-items: baseline; gap: 8px; font-size: 12px; color: var(--muted); white-space: nowrap; }
.sp-cart b { font-size: 14px; color: var(--fg); font-variant-numeric: tabular-nums; }
.sp-new { transition: color .3s; }
.spot.added .sp-new { color: var(--accent-2); }
.sp-cpn { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px dashed var(--line-2); border-radius: 10px; padding: 8px 10px; transition: border-color .3s, background-color .3s, box-shadow .3s; min-width: 0; }
.sp-cpn .cpn-ico { width: 32px; height: 32px; border-radius: 8px; }
.sp-cpn.locked .cpn-ico { background: var(--bg-2); color: var(--muted-2); }
.sp-cpn.ready { border: 1px solid var(--accent-line); background: var(--accent-soft); box-shadow: 0 0 0 3px rgba(37, 99, 235, .08); }
.sp-cpn.applied { border: 1px solid var(--accent); background: #fff; }
.sp-cpn .cpn-d { line-height: 1.3; }

.bundle-note { display: none; }

/* ------------------------------------------------------------------ why templates: text vs template */
.vs { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 44px; }
.vs-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 18px; box-shadow: var(--shadow-sm); }
.vs-card h4 { font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.vs-card.us { border-color: var(--accent-line); box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.06), var(--shadow-md); }
.vs-card.us h4 { color: var(--accent); }
.vs-card.us .row-scroll { justify-content: center; }
.txtwall { font-size: 13px; line-height: 1.55; color: var(--fg-2); }
.txtwall p + p { margin-top: 8px; }
.txtwall a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.vs-note { margin-top: 12px; font-size: 12.5px; color: var(--muted); }

/* ------------------------------------------------------------------ templates (bento) */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; margin-top: 52px; }
.tile { position: relative; background: linear-gradient(to top, rgba(214, 211, 209, .12), #fff 40%); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: 20px; display: flex; flex-direction: column; gap: 14px; overflow: hidden; transition: box-shadow .25s ease, border-color .25s ease, transform .25s ease; }
.tile:hover { box-shadow: var(--shadow-md); border-color: var(--line-2); transform: translateY(-2px); }
.tile.c7 { grid-column: span 7; } .tile.c5 { grid-column: span 5; } .tile.c4 { grid-column: span 4; } .tile.c6 { grid-column: span 6; } .tile.c8 { grid-column: span 8; }
.tile-h { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.tile-h h3 { font-size: 17px; }
.tile-d { font-size: 13.5px; color: var(--secondary); line-height: 1.5; margin-top: 4px; max-width: 46ch; }
.tpl-wrap { position: relative; flex: 1; display: flex; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); overflow: hidden; isolation: isolate; }
.tpl { position: relative; z-index: 1; flex: 1; min-width: 0; min-height: 200px; padding: 14px; display: flex; flex-direction: column; justify-content: center; }
.soonbox { flex-direction: row !important; flex-wrap: wrap; align-content: center; gap: 8px; justify-content: center; min-height: 120px; }
.vs-card .tpl, .vs-card [data-tpl] { min-width: 0; }

/* ------------------------------------------------------------------ how it works (pipeline) */
.pipe { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 56px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--card); box-shadow: var(--shadow-sm); overflow: hidden; position: relative; }
.pstep { padding: 24px 22px 26px; border-left: 1px solid var(--line); position: relative; display: flex; flex-direction: column; gap: 10px; opacity: .45; transition: opacity .5s ease, background-color .5s ease; }
.pstep:first-child { border-left: 0; }
.pstep.on { opacity: 1; background: linear-gradient(180deg, #fff, #fbfbfa); }
.pstep .num { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; color: var(--muted); }
.pstep.on .num { color: var(--accent); }
.pstep p { font-size: 13.5px; color: var(--secondary); line-height: 1.5; }
.pstep .ex { margin-top: auto; font-family: var(--mono); font-size: 11.5px; color: var(--fg-2); background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 9px 10px; line-height: 1.5; }
.pstep .ex em { color: var(--accent); font-style: normal; }
.pipe-bar { position: absolute; left: 0; bottom: 0; height: 2px; background: var(--accent); width: 0; transition: width 1.6s cubic-bezier(.2, .7, .2, 1); }
.pipe.play .pipe-bar { width: 100%; }

/* ------------------------------------------------------------------ product tour */
.shots { position: relative; max-width: 1040px; margin: 0 auto; }
.shot { display: none; }
.shot.on { display: block; animation: fadein .45s ease both; }
.shot img { width: 100%; height: auto; background: #fff; }
.shot-cap { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; margin-top: 18px; }
.shot-cap p { font-size: 14.5px; color: var(--secondary); max-width: 62ch; line-height: 1.55; }
.shot-cap .eyebrow { white-space: nowrap; }
.shots-tabs { display: flex; justify-content: center; margin: 40px 0 22px; }
.tabs-list { display: inline-flex; align-items: center; gap: 2px; padding: 4px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 10px; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.tabs-list::-webkit-scrollbar { display: none; }
.stab { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 12px; border-radius: 7px; border: 0; background: transparent; font-size: 13px; font-weight: 500; color: var(--muted); cursor: pointer; box-shadow: none; white-space: nowrap; transition: color .15s, background-color .15s, box-shadow .15s; }
.stab i { font-style: normal; font-family: var(--mono); font-size: 10.5px; color: var(--muted-2); }
.stab:hover { color: var(--fg); }
.stab.on { background: var(--card); color: var(--fg); box-shadow: var(--shadow-sm), 0 0 0 1px var(--line); }
.stab.on i { color: var(--accent); }
.zoom { display: block; width: 100%; padding: 0; border: 0; background: #fff; cursor: zoom-in; line-height: 0; }
.lightbox { position: fixed; inset: 0; z-index: 150; background: rgba(23, 23, 23, 0.72); backdrop-filter: blur(5px); display: grid; place-items: center; padding: 3vw; animation: fadein .2s ease both; cursor: zoom-out; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 96vw; max-height: 92vh; width: auto; height: auto; border-radius: 12px; box-shadow: var(--shadow-lg); background: #fff; }
.lb-close { position: absolute; top: 18px; right: 22px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.32); background: rgba(255, 255, 255, 0.12); color: #fff; font-size: 26px; line-height: 1; cursor: pointer; }

.kpis { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--card); box-shadow: var(--shadow-sm); margin-top: 40px; overflow: hidden; }
.kpi { padding: 20px 22px; border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: 3px; }
.kpi:first-child { border-left: 0; }
.kpi .kn { font-family: var(--font-head); font-size: 34px; font-weight: 600; letter-spacing: -0.03em; line-height: 1.05; }
.kpi .kl { font-size: 13px; color: var(--fg-2); font-weight: 500; }
.kpi .kd { font-size: 12px; color: var(--muted); }

/* ------------------------------------------------------------------ features: Particl's open grid, an icon in a mini bezel, a thin blue tick before each title */
.fcat { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 52px; }
.fc { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: 24px 24px 26px; display: flex; flex-direction: column; gap: 10px; transition: box-shadow .25s, border-color .25s, transform .25s; }
.fc:hover { box-shadow: var(--shadow-md); border-color: var(--line-2); transform: translateY(-2px); }
.fc .eyebrow { color: var(--muted); }
.fc p { font-size: 14.5px; color: var(--secondary); line-height: 1.6; }
.ticks { list-style: none; margin: 8px 0 0; padding: 16px 0 0; border-top: 1px dashed var(--line-2); display: grid; gap: 10px; font-size: 13.5px; color: var(--fg-2); }
.ticks li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.45; }
.ticks li::before { content: ""; flex: none; width: 14px; height: 14px; margin-top: 2px; background: var(--accent); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat; }
.fgrid { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 48px; row-gap: 48px; margin-top: 40px; padding-left: 16px; }
.fcell { display: flex; flex-direction: column; gap: 4px; }
.fcell .ibz { margin-bottom: 14px; transition: transform .2s; }
.fcell:hover .ibz { transform: translateY(-2px); }
.fcell h3 { position: relative; font-family: var(--font); font-size: 16px; font-weight: 600; letter-spacing: 0; }
.fcell h3::after { content: ""; position: absolute; top: 4px; bottom: 4px; left: -16px; width: 1px; background: var(--blue-300); }
.fcell p { font-size: 14px; color: var(--secondary); line-height: 1.55; }

/* ------------------------------------------------------------------ integrations */
.intg { display: grid; grid-template-columns: 5fr 7fr; gap: 16px; margin-top: 52px; }
.ig { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: 22px; display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.ig-h { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.ig-h h3 { font-size: 18px; }
.ig-h p { font-size: 14px; color: var(--secondary); margin-top: 6px; line-height: 1.55; }
.ig-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.ichip { height: 26px; display: inline-flex; align-items: center; padding: 0 10px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: 12px; color: var(--fg-2); }
.ichip.on { border-color: var(--accent-line); background: var(--accent-soft); color: var(--accent-2); font-weight: 500; }
.ichip.soon { border-style: dashed; color: var(--muted); }
/* every surface a connected ad platform runs on */
.ad-i svg { display: block; }
.surfaces { display: grid; gap: 10px; margin: 18px 0 16px; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); }
.sf { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.sf-k { width: 100%; font-family: var(--mono); font-size: 10.5px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.sf .ichip { height: 24px; font-size: 11.5px; }
.ig-note { font-size: 12.5px; color: var(--muted); border-top: 1px dashed var(--line-2); padding-top: 12px; line-height: 1.5; }
.flow { display: grid; gap: 0; }
.fl-node { border: 1px solid var(--line); background: #fff; border-radius: 10px; padding: 10px 12px; box-shadow: var(--shadow-xs); display: grid; gap: 1px; opacity: .5; transition: opacity .5s ease, border-color .5s ease, box-shadow .5s ease; }
.fl-node b { font-size: 13.5px; font-weight: 600; }
.fl-node small { font-size: 12px; color: var(--muted); }
.fl-k { font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.flow.play .fl-node { opacity: 1; border-color: var(--accent-line); box-shadow: 0 0 0 3px rgba(37, 99, 235, .06), var(--shadow-xs); }
.flow.play .fl-node:nth-child(3) { transition-delay: .6s; } .flow.play .fl-node:nth-child(5) { transition-delay: 1.2s; }
.fl-arrow { display: grid; place-items: center; height: 22px; color: var(--muted-2); font-style: normal; }
.fl-arrow::before { content: "↓"; font-size: 15px; }
.fl-arrow.big { height: auto; width: 24px; align-self: center; }
.fl-arrow.big::before { content: "→"; font-size: 18px; }
.adflow { display: grid; grid-template-columns: 1.15fr auto 1fr; gap: 12px; align-items: stretch; }
.ad-src { display: grid; gap: 8px; align-content: start; }
.ad { display: flex; gap: 10px; text-align: left; border: 1px solid var(--line); border-radius: 10px; background: #fff; padding: 10px; cursor: pointer; align-items: center; transition: border-color .2s, background-color .2s, box-shadow .2s; }
.ad:hover { border-color: var(--line-2); }
.ad.on { border-color: var(--accent); background: var(--accent-soft); box-shadow: 0 0 0 3px rgba(37, 99, 235, .08); }
.ad-i { width: 28px; height: 28px; border-radius: 8px; background: var(--bg-2); border: 1px solid var(--line); display: grid; place-items: center; font-style: normal; font-weight: 700; font-size: 12px; color: var(--fg-2); flex: none; }
.ad.on .ad-i { background: #fff; color: var(--accent-2); border-color: var(--accent-line); }
.ad b { display: block; font-size: 13px; font-weight: 600; }
.ad small { display: block; font-size: 11.5px; color: var(--muted); line-height: 1.3; }
.ad-out { display: grid; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); padding: 14px; min-height: 150px; }
.ao { grid-area: 1 / 1; display: flex; flex-direction: column; gap: 6px; opacity: 0; transform: translateY(6px); transition: opacity .4s ease, transform .4s ease; pointer-events: none; }
.ao.on { opacity: 1; transform: none; pointer-events: auto; }
.ao b { font-family: var(--font-head); font-size: 17px; font-weight: 600; line-height: 1.2; }
.ao small { font-size: 12.5px; color: var(--secondary); line-height: 1.45; }
.ao-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: auto; padding-top: 8px; }
.ao-tags span { font-family: var(--mono); font-size: 10.5px; border: 1px solid var(--line); background: #fff; border-radius: 6px; padding: 2px 7px; color: var(--fg-2); }

/* ------------------------------------------------------------------ setup: four steps on the left, the numbers they move on the right */
.setup { display: grid; grid-template-columns: .9fr 1.3fr; gap: clamp(24px, 4vw, 48px); margin-top: 52px; align-items: stretch; }
.steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; align-self: center; }
.sstep { display: grid; grid-template-columns: 34px 1fr auto; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: start; opacity: .5; transition: opacity .4s ease; }
.sstep:first-child { border-top: 1px solid var(--line); }
.sstep.on, .sstep.done { opacity: 1; }
.sn { width: 32px; height: 32px; border-radius: 10px; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; position: relative; font-family: var(--mono); font-size: 12px; color: var(--muted); transition: background-color .3s, border-color .3s, color .3s, box-shadow .3s; }
.sn b { font-weight: 500; transition: opacity .2s; }
.sn svg { position: absolute; opacity: 0; transition: opacity .2s; }
.sstep.on .sn { border-color: var(--accent); color: var(--accent); box-shadow: 0 0 0 4px rgba(37, 99, 235, .1); }
.sstep.done .sn { background: var(--accent); border-color: var(--accent); color: #fff; box-shadow: none; }
.sstep.done .sn b { opacity: 0; } .sstep.done .sn svg { opacity: 1; }
.st h3 { font-size: 17px; }
.st p { font-size: 14px; color: var(--secondary); margin-top: 3px; max-width: 40ch; line-height: 1.5; }
.sbar { display: block; height: 2px; margin-top: 12px; background: var(--line); border-radius: 2px; position: relative; overflow: hidden; }
.sbar::after { content: ""; position: absolute; inset: 0; width: 0; background: var(--accent); }
.sstep.on .sbar::after { animation: fillbar var(--dur, 2.4s) linear forwards; }
.sstep.done .sbar::after { width: 100%; }
@keyframes fillbar { to { width: 100%; } }
.sd { font-family: var(--mono); font-size: 11px; color: var(--muted-2); padding-top: 8px; }
.mpanel { min-width: 0; }
.mp-bar { display: flex; align-items: center; gap: 12px; height: 40px; padding: 0 14px; border-bottom: 1px solid var(--line); background: #fcfcfb; position: relative; z-index: 2; }
.mp-url { flex: 1; text-align: center; font-family: var(--mono); font-size: 11.5px; color: var(--muted); }
.mp-status { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 500; color: var(--fg-2); border: 1px solid var(--line); border-radius: 999px; padding: 2px 9px; background: #fff; white-space: nowrap; }
.mp-status i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted-2); }
.mp-status.live { color: var(--accent-2); border-color: var(--accent-line); background: var(--accent-soft); }
.mp-status.live i, .mp-status.run i { background: var(--accent); animation: pulse 1.6s infinite; }
.mp-grid { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 14px; isolation: isolate; }
.mt { position: relative; z-index: 1; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 12px; display: flex; flex-direction: column; gap: 2px; opacity: .5; transition: opacity .5s ease, border-color .5s ease, box-shadow .5s ease, transform .5s ease; min-width: 0; }
.mt.on { opacity: 1; border-color: var(--line-2); box-shadow: var(--shadow-sm); }
.ml { font-size: 11.5px; color: var(--muted); }
.mv b { font-family: var(--font-head); font-size: 26px; font-weight: 600; letter-spacing: -0.02em; color: var(--fg); font-variant-numeric: tabular-nums; }
.ms { font-size: 11px; color: var(--muted-2); }
.mt.wide { grid-column: span 3; display: grid; grid-template-columns: auto 1fr; grid-template-areas: "l s" "v s" "m s"; column-gap: 24px; }
.mt.wide .ml { grid-area: l; } .mt.wide .mv { grid-area: v; } .mt.wide .ms { grid-area: m; } .mt.wide .spk { grid-area: s; }
.spk { width: 100%; height: 56px; align-self: center; }
.spk-a { fill: rgba(37, 99, 235, .1); opacity: 0; transition: opacity 1s ease .5s; }
.spk-l { fill: none; stroke: var(--accent); stroke-width: 1.6; vector-effect: non-scaling-stroke; stroke-dasharray: 400; stroke-dashoffset: 400; transition: stroke-dashoffset 1.6s ease; }
.mt.on .spk-l { stroke-dashoffset: 0; } .mt.on .spk-a { opacity: 1; }

/* ------------------------------------------------------------------ pricing */
.price-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 18px; margin-top: 52px; align-items: stretch; }
.plan { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: 26px; display: flex; flex-direction: column; gap: 16px; }
.plan.hl { border-color: var(--accent-line); box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.06), var(--shadow-md); }
.plan-top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.plan-price { font-family: var(--font-head); font-size: 44px; font-weight: 600; letter-spacing: -0.03em; line-height: 1; }
.plan-price small { font-family: var(--font); font-size: 13px; font-weight: 400; color: var(--muted); letter-spacing: 0; margin-left: 6px; }
.plan-sub { font-size: 14px; color: var(--secondary); }
.plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 14px; color: var(--fg-2); }
.plan li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.45; }
.plan li svg { flex: none; margin-top: 3px; color: var(--accent); }
.plan li b { color: var(--fg); font-weight: 600; }
.plan .btn { margin-top: auto; }
.packs { display: grid; gap: 10px; }
.pack { display: grid; grid-template-columns: 1fr auto auto; gap: 18px; align-items: center; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); transition: border-color .2s, box-shadow .2s, background-color .2s; }
.pack:hover { background: #fff; border-color: var(--accent-line); box-shadow: var(--shadow-md); }
.pack .pt { font-weight: 650; font-size: 15px; letter-spacing: -0.01em; }
.pack .pd { font-size: 12.5px; color: var(--muted); }
.pack .pp { font-family: var(--font-head); font-size: 22px; font-weight: 600; letter-spacing: -0.02em; text-align: right; }
.pack .pe { font-family: var(--mono); font-size: 11px; color: var(--accent-2); background: var(--accent-soft); border: 1px solid var(--accent-line); border-radius: 999px; padding: 3px 9px; white-space: nowrap; }
.pack .pe.none { color: var(--muted); background: var(--bg-2); border-color: var(--line); }
.price-note { margin-top: 14px; font-size: 13px; color: var(--muted); text-align: center; }

/* ------------------------------------------------------------------ FAQ */
.faq-wrap { display: grid; grid-template-columns: 250px 1fr; gap: clamp(28px, 5vw, 72px); margin-top: 56px; align-items: start; }
.faq-side { position: sticky; top: calc(var(--nav-h) + 24px); }
.faq-cats { display: flex; flex-direction: column; gap: 2px; margin-top: 14px; }
.faq-cat { display: flex; align-items: center; justify-content: space-between; padding: 8px 12px; border-radius: 8px; border: 0; background: transparent; font-size: 14px; color: var(--fg-2); cursor: pointer; text-align: left; transition: background-color .15s, color .15s; }
.faq-cat span { font-family: var(--mono); font-size: 11px; color: var(--muted-2); }
.faq-cat:hover { background: var(--bg-2); color: var(--fg); }
.faq-cat.on { background: var(--card); color: var(--fg); font-weight: 500; box-shadow: var(--shadow-sm), 0 0 0 1px var(--line); }
.faq-ask { margin-top: 26px; padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); box-shadow: var(--shadow-sm); font-size: 13.5px; color: var(--fg-2); }
.faq-ask a { color: var(--accent); font-weight: 500; }
.faq-list { border-top: 1px solid var(--line); }
.q { border-bottom: 1px solid var(--line); }
.q[hidden] { display: none; }
.q summary { list-style: none; display: grid; grid-template-columns: 38px 1fr 22px; gap: 10px; align-items: center; padding: 20px 4px; cursor: pointer; font-size: 17px; font-weight: 500; letter-spacing: -0.012em; }
.q summary::-webkit-details-marker { display: none; }
.q summary .qn { font-family: var(--mono); font-size: 11.5px; color: var(--muted-2); }
.q summary .pm { width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--muted); transition: transform .25s, background-color .2s, color .2s, border-color .2s; }
.q[open] summary .pm { transform: rotate(45deg); background: var(--accent); color: #fff; border-color: var(--accent); }
.q summary:hover .pm { border-color: var(--line-2); }
.q .qa { padding: 0 34px 24px 48px; font-size: 15px; line-height: 1.65; color: var(--secondary); max-width: 74ch; animation: fadein .3s ease both; }
.q .qa p + p { margin-top: 10px; }
.q .qa b { color: var(--fg); font-weight: 600; }
.q .qa a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }

/* ------------------------------------------------------------------ get it + footer */
.cta-sec { overflow: hidden; }
.cta-band { position: relative; text-align: center; background: linear-gradient(to top, rgba(214, 211, 209, .3), #fafaf9); border: 1px solid var(--line); border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); padding: 8px; }
.cta-band > * { position: relative; }
.cta-inner { background: #fff; border-radius: 14px; box-shadow: 0 0 0 1px #d6d3d1; padding: clamp(32px, 5vw, 56px) clamp(20px, 5vw, 56px); }
.cta-band h2 { max-width: 640px; margin: 0 auto; }
.cta-band .cta-inner > p { max-width: 520px; margin: 16px auto 0; color: var(--secondary); font-size: 16px; line-height: 1.7; }
#dlRoot { margin-top: 30px; display: flex; justify-content: center; }
.dl-card { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 24px 26px; background: var(--bg); border: 1px solid var(--line); border-radius: 16px; width: min(100%, 420px); box-shadow: var(--shadow-sm); }
.dl-mark { width: 52px; height: 52px; border-radius: 50%; }
.dl-title { font-family: var(--font-head); font-weight: 600; font-size: 18px; letter-spacing: -0.015em; }
.dl-logos { display: flex; align-items: center; gap: 18px; color: var(--muted); } .dl-logos svg { height: 22px; width: auto; }
.dl-ver { font-family: var(--mono); font-size: 11.5px; color: var(--muted); }
.dl-foot-note { font-size: 12.5px; color: var(--muted); }
.foot { border-top: 1px solid var(--line); background: #fafaf9; }
.foot-inner { display: flex; justify-content: space-between; gap: 40px; padding-block: 44px 28px; flex-wrap: wrap; }
.foot-brand { max-width: 340px; display: flex; flex-direction: column; gap: 12px; }
.foot-brand p { font-size: 14px; color: var(--muted); line-height: 1.55; }
.foot-cols { display: flex; gap: clamp(32px, 7vw, 96px); }
.foot-cols h4 { font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.foot-cols a { display: block; font-size: 14px; color: var(--fg-2); padding: 5px 0; transition: color .15s; } .foot-cols a:hover { color: var(--accent); }
.foot-base { display: flex; justify-content: space-between; gap: 16px; padding-block: 18px 30px; border-top: 1px dashed var(--line-2); font-size: 12.5px; color: var(--muted); }

.works { display: flex; align-items: center; justify-content: center; gap: 28px; flex-wrap: wrap; padding: 22px 0; color: var(--muted); }
.works-label { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.works svg { height: 22px; width: auto; color: var(--fg-2); opacity: .8; } .works svg.woo { height: 17px; }
.works-soon { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--muted-2); } .works-soon svg { height: 22px; width: auto; opacity: .8; } .works-soon em { font-style: normal; }

/* ------------------------------------------------------------------ cookie consent + legal */
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 110; max-width: 560px; margin-inline: auto; display: flex; align-items: center; gap: 14px; padding: 12px 14px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); font-size: 13px; color: var(--fg-2); animation: rise .4s ease both; }
.consent p { flex: 1; line-height: 1.45; } .consent a { color: var(--accent); text-decoration: underline; }
.consent-actions { display: flex; gap: 8px; flex: none; } .consent .btn { height: 36px; padding: 0 12px; }
.legal { max-width: 720px; margin: 0 auto; padding-block: 56px 88px; }
.legal h1 { font-size: clamp(34px, 5vw, 46px); margin-bottom: 8px; }
.legal h2 { font-size: 20px; font-weight: 600; margin: 34px 0 10px; letter-spacing: -0.015em; }
.legal p, .legal li { color: var(--secondary); line-height: 1.7; font-size: 15.5px; }
.legal p + p { margin-top: 12px; }
.legal .upd { color: var(--muted); font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 26px; }
.legal a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.notfound { min-height: 62vh; display: grid; place-items: center; text-align: center; padding: 60px 0; }
.notfound .big { font-family: var(--font-head); font-size: clamp(80px, 16vw, 160px); font-weight: 600; letter-spacing: -0.05em; line-height: 1; color: var(--fg); }

/* ------------------------------------------------------------------ motion: scroll reveals + keyframes */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(var(--d, 0) * 90ms); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal.from-left { transform: translateX(-22px); } .js .reveal.from-right { transform: translateX(22px); } .js .reveal.scale { transform: scale(.97) translateY(14px); }
.js .reveal.in.from-left, .js .reveal.in.from-right, .js .reveal.in.scale { transform: none; }
.js .stagger > * { opacity: 0; transform: translateY(14px); transition: opacity .6s cubic-bezier(.2, .7, .2, 1), transform .6s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(var(--i, 0) * 70ms); }
.js .stagger.in > * { opacity: 1; transform: none; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }
@keyframes blink { 0%, 80%, 100% { opacity: .25; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-2px); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.5); } 70% { box-shadow: 0 0 0 7px rgba(37, 99, 235, 0); } 100% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0); } }

/* ------------------------------------------------------------------ responsive */
@media (max-width: 980px) {
  .bento { grid-template-columns: repeat(6, 1fr); }
  .tile.c7, .tile.c5, .tile.c4, .tile.c6, .tile.c8 { grid-column: span 6; }
  .pipe { grid-template-columns: 1fr 1fr; } .pstep:nth-child(3) { border-left: 0; } .pstep:nth-child(n+3) { border-top: 1px solid var(--line); }
  .setup, .price-grid, .intg { grid-template-columns: 1fr; }
  .fcat { grid-template-columns: 1fr; }
  .fgrid { grid-template-columns: 1fr 1fr; }
  .faq-wrap { grid-template-columns: 1fr; } .faq-side { position: static; } .faq-cats { flex-direction: row; flex-wrap: wrap; gap: 6px; } .faq-cat { border: 1px solid var(--line); background: var(--card); } .faq-ask { display: none; }
}
@media (max-width: 820px) {
  .nav-links, .nav-cta { display: none; } .nav-toggle { display: flex; }
  .nav-mobile { display: none; flex-direction: column; gap: 2px; padding: 10px 18px 18px; background: var(--bg); border-bottom: 1px solid var(--line); position: absolute; top: var(--nav-h); left: 0; right: 0; box-shadow: var(--shadow-md); }
  .nav.open .nav-mobile { display: flex; } .nav-mobile a { padding: 12px 6px; font-weight: 500; border-bottom: 1px solid var(--line); } .nav-mobile .btn { margin-top: 12px; border-bottom: 0; }
  .kpis { grid-template-columns: 1fr 1fr; } .kpi:nth-child(3) { border-left: 0; } .kpi:nth-child(n+3) { border-top: 1px solid var(--line); }
  .vs { grid-template-columns: 1fr; }
  .shot-cap { flex-direction: column; gap: 10px; }
  .foot-inner { flex-direction: column; }
  .adflow { grid-template-columns: 1fr; } .adflow .fl-arrow.big { width: auto; height: 22px; } .adflow .fl-arrow.big::before { content: "↓"; }
  .sp-main { grid-template-columns: 1fr; } .sp-media { border-right: 0; border-bottom: 1px solid var(--line); } .sp-ph { aspect-ratio: 1.6; } .sp-foot { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .pill { white-space: normal; height: auto; min-height: 28px; padding: 5px 12px; flex-wrap: wrap; justify-content: center; text-align: center; row-gap: 2px; }
  .pipe { grid-template-columns: 1fr; } .pstep { border-left: 0; border-top: 1px solid var(--line); } .pstep:first-child { border-top: 0; }
  .pack { grid-template-columns: 1fr auto; } .pack .pe { grid-column: 1 / -1; justify-self: start; }
  .consent { flex-direction: column; align-items: stretch; } .consent-actions { justify-content: flex-end; }
  .wrap { border-left: 0; border-right: 0; }
  .q summary { font-size: 16px; grid-template-columns: 28px 1fr 22px; } .q .qa { padding: 0 8px 22px 38px; }
  .row-scroll { grid-auto-columns: 148px; }
  .car-track { grid-auto-columns: 148px; }
  .fgrid { grid-template-columns: 1fr; padding-left: 14px; row-gap: 36px; }
  .mp-grid { grid-template-columns: 1fr 1fr; } .mt.wide { grid-column: span 2; grid-template-columns: 1fr; grid-template-areas: "l" "v" "m" "s"; }
  .sd { display: none; } .sstep { grid-template-columns: 34px 1fr; }
  .mp-url { display: none; } .mp-bar { justify-content: space-between; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js .reveal, .js .stagger > * { opacity: 1; transform: none; }
  .gp-sq { opacity: .6; }
}

/* ---- hero results: the search takeover in miniature. The frame keeps ONE height whatever it shows (answers scroll inside it), so the page
   never moves when an answer arrives. */
.stage .frame-body { height: 480px; min-height: 0; padding: 0; overflow: hidden; }
@media (max-width: 640px) { .stage .frame-body { height: 560px; } }
.tk { display: flex; flex-direction: column; height: 100%; }
.tk-tabs { flex: none; display: flex; align-items: center; gap: 6px; min-height: 48px; padding: 9px 16px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; background: #fcfcfb; }
.tk-tabs::-webkit-scrollbar { display: none; }
.tk-tab { flex: none; height: 28px; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); color: var(--fg-2); font: 500 12.5px/1 var(--font); white-space: nowrap; cursor: pointer; transition: border-color .15s, color .15s, background .15s; }
.tk-tab:hover { border-color: var(--line-2); color: var(--fg); }
.tk-tab.on { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }
.tk-new { flex: none; padding: 0 6px; color: var(--muted-2); font-size: 17px; line-height: 1; }
.tk-page { flex: 1; min-height: 0; overflow: hidden; padding: 16px 20px 18px; }   /* no inner scroll: the page is scaled to fit (templates.js fitPage) */
.tk-q span, .tk-label { display: block; font-family: var(--mono); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.tk-q b { display: block; margin: 3px 0 12px; font-family: var(--font-head); font-size: 18px; font-weight: 600; line-height: 1.3; color: var(--fg); }
.tk-a { animation: rise .35s ease both; }
.tk-a .say { margin: 0 0 12px; font-size: 14px; line-height: 1.5; color: var(--fg-2); }
.tk-roll p { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; font-size: 13px; color: var(--muted); animation: rise .3s ease both; }
.tk-roll i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); animation: blink 1s infinite; }
.tk-h { margin: 0 0 12px; font-family: var(--font-head); font-size: 18px; font-weight: 600; color: var(--fg); }
.tk-sugg { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.tk-label { margin: 0 0 8px; }

/* ---- the hero search is one unit: search box, tabs and answer page in one frame (2026-11-26) */
.hero-unit { max-width: 880px; padding: 34px 0 6px; }
.hero-unit .stage { margin: 0 auto; }
.tk-search { max-width: none; margin: 0; padding: 12px 14px 10px; background: var(--card); border-bottom: 1px solid var(--line); }
.tk-search .ask-box { box-shadow: 0 0 0 1px #d4d4d8, 0 1px 2px rgba(9, 9, 11, .08); }
.tk-tab { display: inline-flex; align-items: center; gap: 2px; padding: 0 4px 0 12px; overflow: hidden; }
.tk-tab-t { all: unset; cursor: pointer; white-space: nowrap; font: 500 12.5px/1 var(--font); }
.tk-tab-t:focus-visible, .tk-x:focus-visible, .tk-new:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
.tk-x { all: unset; display: grid; place-items: center; width: 18px; height: 18px; border-radius: 999px; color: var(--muted-2); font-size: 14px; line-height: 1; cursor: pointer; }
.tk-x:hover { background: var(--bg-2); color: var(--fg); }
.tk-new { all: unset; flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 999px; color: var(--muted); font-size: 17px; line-height: 1; cursor: pointer; }
.tk-new:hover { background: var(--bg-2); color: var(--fg); }
.tk-grow { animation: tkgrow .38s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes tkgrow { from { max-width: 0; opacity: 0; padding-left: 0; padding-right: 0; border-width: 0; } to { max-width: 240px; opacity: 1; } }
.tk-chip { cursor: pointer; }
@media (prefers-reduced-motion: reduce) { .tk-grow { animation: none; } }

/* ---- "your store's search today": a plain results page, on purpose */
.serp { font-size: 13px; color: var(--fg-2); }
.serp-h { display: flex; flex-direction: column; gap: 2px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.serp-h b { font-weight: 600; color: var(--fg); font-size: 14px; }
.serp-h span, .serp-bar span { color: var(--muted); font-size: 12px; }
.serp-bar { display: flex; gap: 14px; padding: 8px 0 12px; }
.serp-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 12px; }
.serp-i { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.serp-img { display: grid; place-items: center; aspect-ratio: 1 / 1; border: 1px solid var(--line); background: var(--bg-2); color: var(--muted-2); }
.serp-img svg { width: 34%; height: 34%; stroke-width: 1.4; }
.serp-i a { color: #1d4ed8; text-decoration: underline; font-size: 12.5px; line-height: 1.35; }
.serp-i > span { font-size: 12px; color: var(--fg-2); }
.serp-pg { display: flex; gap: 8px; justify-content: center; padding-top: 14px; font-size: 12px; color: var(--muted); }
.serp-pg .on { color: var(--fg); font-weight: 600; text-decoration: underline; }
.stock-note { display: flex; align-items: center; gap: 8px; margin: 10px 0 0; font-size: 12.5px; color: var(--fg-2); }
.dot-ok { width: 7px; height: 7px; border-radius: 50%; background: #16a34a; }

/* ---- the hero demo is a normal store: its own navbar (logo, search, links) over a homepage. A submitted search widens to full width and the
   results slide down beneath it; before the next one they slide up and the search narrows. The frame keeps one height throughout. */
.hero-unit .frame-in { background: #fff; }
.shop { position: relative; height: 600px; overflow: hidden; background: #fff; text-align: left; }
@media (max-width: 640px) { .shop { height: 640px; } }
.shop-nav { position: relative; z-index: 3; display: flex; align-items: center; height: 62px; padding: 0 16px; border-bottom: 1px solid var(--line); background: #fff; }
.shop-logo { display: inline-flex; align-items: center; gap: 8px; max-width: 150px; margin-right: 16px; overflow: hidden; white-space: nowrap; font-family: var(--font-head); font-weight: 700; font-size: 16px; color: var(--fg);
  transition: max-width .45s cubic-bezier(.2, .8, .2, 1), margin .45s cubic-bezier(.2, .8, .2, 1), opacity .3s ease; }
.shop-logo i { flex: none; width: 18px; height: 18px; border-radius: 5px; background: var(--fg); }
.shop-search { flex: 1 1 auto; max-width: 360px; margin: 0 auto; transition: max-width .45s cubic-bezier(.2, .8, .2, 1); }
.shop-search .ask-box { padding: 3px 3px 3px 12px; box-shadow: 0 0 0 1px #d4d4d8, 0 1px 2px rgba(9, 9, 11, .06); border-bottom-width: 1px; }
.shop-search .ask-input { height: 34px; font-size: 13.5px; }
.shop-search .ask-send { width: 32px; height: 32px; }
.shop-close { all: unset; display: none; place-items: center; width: 28px; height: 28px; border-radius: 999px; color: var(--muted); font-size: 18px; line-height: 1; cursor: pointer; }
.shop-close:hover { background: var(--bg-2); color: var(--fg); }
.shop.is-open .shop-close { display: grid; }
.shop-links { display: flex; align-items: center; gap: 18px; max-width: 280px; margin-left: 16px; overflow: hidden; white-space: nowrap; font-size: 13px; color: var(--fg-2);
  transition: max-width .45s cubic-bezier(.2, .8, .2, 1), margin .45s cubic-bezier(.2, .8, .2, 1), opacity .3s ease; }
.shop-bag { position: relative; display: inline-flex; color: var(--fg); }
.shop-bag b { position: absolute; top: -6px; right: -8px; min-width: 15px; height: 15px; padding: 0 4px; border-radius: 999px; background: var(--accent); color: #fff; font: 700 9.5px/15px var(--font); text-align: center; }
.shop.is-open .shop-logo, .shop.is-open .shop-links { max-width: 0; margin: 0; opacity: 0; }
.shop.is-open .shop-search { max-width: 100%; }
@media (max-width: 640px) { .shop-links { display: none; } .shop-search { max-width: none; } .shop-logo { margin-right: 10px; } }

.shop-home { padding: 16px; }
.sh-banner { display: grid; grid-template-columns: 1.3fr 1fr; align-items: center; gap: 12px; padding: 18px 20px; border-radius: 10px; background: linear-gradient(135deg, #f5f5f4, #eff4ff); }
.sh-banner > div { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.sh-kicker { font-family: var(--mono); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.sh-banner b { font-family: var(--font-head); font-size: 22px; line-height: 1.15; color: var(--fg); }
.sh-btn { margin-top: 4px; padding: 7px 12px; border-radius: 7px; background: var(--fg); color: #fff; font-size: 12px; font-weight: 600; }
.sh-banner .sh-hero { height: 120px; border-radius: 10px; }
.sh-cats { display: flex; gap: 8px; flex-wrap: wrap; margin: 14px 0 12px; }
.sh-cats span { padding: 5px 11px; border: 1px solid var(--line); border-radius: 999px; font-size: 12px; color: var(--fg-2); background: #fff; }
.sh-h { margin: 0 0 8px; font-weight: 600; font-size: 13.5px; color: var(--fg); }
.sh-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.sh-p { display: flex; flex-direction: column; gap: 4px; min-width: 0; font-size: 12px; color: var(--fg-2); }
.sh-p .ph { height: 92px; border-radius: 8px; }
.sh-p span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.sh-p b { color: var(--fg); font-size: 12.5px; }
@media (max-width: 640px) { .sh-banner { grid-template-columns: 1fr; } .sh-banner .sh-hero { display: none; } .sh-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.shop-overlay { position: absolute; z-index: 2; top: 62px; left: 0; right: 0; bottom: 0; height: auto; background: #fff;
  clip-path: inset(0 0 100% 0); opacity: .6; pointer-events: none; transition: clip-path .5s cubic-bezier(.2, .8, .2, 1), opacity .35s ease; }
.shop.is-open .shop-overlay { clip-path: inset(0 0 0 0); opacity: 1; pointer-events: auto; }
.stage .shop-overlay.frame-body { height: auto; }
@media (prefers-reduced-motion: reduce) { .shop-logo, .shop-links, .shop-search, .shop-overlay { transition: none; } }

.tk-fit { transform-origin: top left; }
/* ---- the sneaker answer: a product page in miniature */
.vx { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 18px; align-items: start; }
.vx-media { position: relative; }
.vx .vx-ph { height: 250px; border-radius: 12px; transition: background .4s ease, color .4s ease; }
.vx .vx-ph svg { width: 46%; height: 46%; stroke-width: 1.1; transition: color .4s ease; }
.vx-flag { position: absolute; top: 10px; left: 10px; padding: 3px 8px; border-radius: 999px; background: #fff; font-size: 11px; font-weight: 600; color: var(--fg); box-shadow: var(--shadow-xs); }
.vx-thumbs { display: flex; gap: 6px; margin-top: 8px; }
.vx-thumbs i { width: 42px; height: 34px; border-radius: 7px; background: var(--bg-2); border: 1px solid var(--line); }
.vx-thumbs i.on { border-color: var(--fg); }
.vx-info { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.vx-brand { font-family: var(--mono); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.vx-name { font-family: var(--font-head); font-size: 20px; line-height: 1.2; color: var(--fg); }
.vx-price { display: flex; align-items: baseline; gap: 10px; font-size: 18px; font-weight: 700; color: var(--fg); }
.vx-ship { font-size: 12px; font-weight: 500; color: #15803d; }
.vx-l { margin-top: 4px; font-size: 12px; color: var(--muted); } .vx-l b { color: var(--fg); font-weight: 600; }
.vx-sw { display: flex; gap: 8px; }
.vx-sizes { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.vx-z { height: 30px; border: 1px solid var(--line); border-radius: 7px; background: #fff; font: 500 12px/1 var(--font); color: var(--fg-2); cursor: pointer; transition: border-color .15s, background .15s, color .15s; }
.vx-z:hover { border-color: var(--line-2); }
.vx-z.on { border-color: var(--fg); background: var(--fg); color: #fff; }
.vx-z.out { color: var(--muted-2); background: repeating-linear-gradient(135deg, #fafaf9 0 6px, #f5f5f4 6px 7px); text-decoration: line-through; cursor: not-allowed; }
.vx-fit { display: flex; align-items: center; gap: 8px; margin: 2px 0 0; font-size: 12px; color: var(--fg-2); }
.vx-atc { margin-top: 6px; }
.vx-price s { font-size: 13px; font-weight: 500; color: var(--muted-2); }
.vx-rv { margin: 2px 0 0; padding: 8px 10px; border-radius: 8px; background: var(--bg-2); font-size: 12px; line-height: 1.45; color: var(--fg-2); }
.vx-rv .st { color: #f59e0b; letter-spacing: 1px; } .vx-rv cite { display: block; margin-top: 2px; font-style: normal; font-size: 11px; color: var(--muted); }
.vx-cpn { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border: 1px dashed var(--accent-line, #bfd0ff); border-radius: 9px; background: var(--accent-soft); transition: background .3s, border-color .3s; }
.vx-cpn.on { border-style: solid; border-color: #86efac; background: #f0fdf4; }
.vx-cpn-ico { display: grid; place-items: center; color: var(--accent); } .vx-cpn-ico svg { width: 16px; height: 16px; }
.vx-cpn-t { flex: 1; min-width: 0; font-size: 12px; color: var(--fg-2); } .vx-cpn-t b { font-family: var(--mono); color: var(--fg); margin-right: 4px; }
.vx-cpn-b { flex: none; height: 26px; padding: 0 10px; border: 1px solid var(--accent); border-radius: 7px; background: #fff; color: var(--accent); font: 600 12px/1 var(--font); cursor: pointer; }
.vx-cpn-b.done { border-color: #16a34a; color: #15803d; background: #fff; }
.shop-bag b.bump { animation: bagbump .5s cubic-bezier(.2, .8, .2, 1); }
@keyframes bagbump { 30% { transform: scale(1.45); } }
@media (max-width: 640px) { .vx { grid-template-columns: 1fr; gap: 12px; } .vx .vx-ph { height: 150px; } .vx-thumbs { display: none; } }

/* ---- hero-only answers: back-in-stock sign-up, the drone kit, shipping to Canada */
.nt { display: flex; flex-direction: column; gap: 12px; max-width: 520px; }
.nt-p { display: flex; align-items: center; gap: 12px; padding: 10px; border: 1px solid var(--line); border-radius: 10px; }
.nt-p .nt-ph { width: 72px; height: 72px; flex: none; border-radius: 9px; }
.nt-p b { display: block; font-size: 14px; color: var(--fg); } .nt-p span { display: block; font-size: 12.5px; color: var(--fg-2); }
.nt-out { margin-top: 4px; color: #b45309 !important; font-weight: 500; }
.nt-f { display: flex; gap: 8px; }
.nt-f input { flex: 1; min-width: 0; height: 36px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 8px; font: inherit; font-size: 13px; color: var(--fg); background: #fff; }
.nt-b { height: 36px; padding: 0 14px; border: 0; border-radius: 8px; background: var(--fg); color: #fff; font: 600 13px/1 var(--font); cursor: pointer; transition: transform .15s; }
.nt-b.press { transform: scale(.96); }
.nt-done { display: flex; align-items: center; gap: 8px; margin: 0; padding: 10px 12px; border-radius: 9px; background: #f0fdf4; font-size: 13px; color: #166534; animation: rise .35s ease both; }
.nt-alt { margin: 0; font-size: 12px; color: var(--muted); } .nt-alt a { color: var(--accent); }
.kt { display: flex; flex-direction: column; gap: 6px; max-width: 560px; }
.kt-i { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border: 1px solid var(--line); border-radius: 9px; cursor: pointer; transition: border-color .15s, background .15s; }
.kt-i:has(input:checked) { border-color: var(--accent-line, #bfd0ff); background: var(--accent-soft); }
.kt-i.base { cursor: default; }
.kt-i input { accent-color: var(--accent); width: 15px; height: 15px; }
.kt-i .kt-ph { width: 40px; height: 40px; flex: none; border-radius: 7px; }
.kt-i > span { flex: 1; min-width: 0; } .kt-i b { display: block; font-size: 13px; color: var(--fg); } .kt-i em { font-style: normal; font-size: 11.5px; color: var(--muted); }
.kt-i strong { font-size: 13px; color: var(--fg); }
.kt-sum { display: flex; justify-content: space-between; align-items: baseline; padding: 4px 2px 0; font-size: 13px; color: var(--fg-2); }
.kt-sum s { color: var(--muted-2); font-size: 12px; } .kt-sum b { font-size: 16px; color: var(--fg); }
.sp { display: flex; flex-direction: column; gap: 10px; max-width: 600px; }
.sp-eta { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; background: var(--accent-soft); font-size: 13px; color: var(--fg-2); }
.sp-ico { display: grid; place-items: center; color: var(--accent); } .sp-ico svg { width: 20px; height: 20px; }
.sp-t { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.sp-t th, .sp-t td { padding: 8px 10px; border-bottom: 1px solid var(--line); text-align: left; color: var(--fg-2); }
.sp-t th { font-weight: 600; color: var(--fg); }
.sp-t tr.hl th, .sp-t tr.hl td { background: #fff; transition: background .6s; }
.sp-t tr.hl.flash th, .sp-t tr.hl.flash td { background: var(--accent-soft); }
.sp-pol { display: flex; gap: 10px; flex-wrap: wrap; }
.sp-pol span { flex: 1 1 200px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 9px; font-size: 12px; color: var(--fg-2); } .sp-pol b { color: var(--fg); }

/* ---- hero: ranked picks (the headphones answer) */
.pk-list { display: flex; flex-direction: column; gap: 8px; }
.pk { display: grid; grid-template-columns: 22px 64px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 11px; background: #fff; transition: border-color .4s, box-shadow .4s; }
.pk.lit { border-color: var(--accent-line, #bfd0ff); box-shadow: 0 0 0 3px rgba(37, 99, 235, .07); }
.pk-n { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 999px; background: var(--bg-2); font: 700 12px/1 var(--font); color: var(--fg-2); }
.pk.top .pk-n { background: var(--accent); color: #fff; }
.pk .pk-ph { width: 64px; height: 64px; border-radius: 9px; }
.pk-b { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.pk-b b { font-size: 14px; color: var(--fg); }
.pk-badge { align-self: flex-start; padding: 2px 8px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-2, #1d4ed8); font-size: 11px; font-weight: 600; }
.pk-why { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 2px; }
.pk-why span { padding: 2px 7px; border-radius: 6px; background: var(--bg-2); font-size: 11px; color: var(--fg-2); }
.pk-r { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.pk-r .pprice { font-size: 15px; }
.pk-atc { width: auto; padding: 0 12px; }
@media (max-width: 640px) { .pk { grid-template-columns: 22px 52px minmax(0, 1fr); } .pk .pk-ph { width: 52px; height: 52px; } .pk-r { grid-column: 2 / -1; flex-direction: row; justify-content: space-between; align-items: center; } }
/* ---- the sign-up's button: pressed, then confirmed */
.nt-b { display: inline-flex; align-items: center; gap: 6px; transition: transform .15s, background .25s; }
.nt-b.press { transform: scale(.93); background: #000; }
.nt-b.done { background: #16a34a; }
.nt-b svg { width: 14px; height: 14px; }
.nt-f input:disabled { color: var(--fg-2); background: var(--bg-2); }
/* ---- Email and forms: the sign-up travels to the email tools, which light up one by one */
.fl-wide { grid-column: 1 / -1; }
.fl-tools { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 10px; }
.fl-tool { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 6px 10px; border: 1px solid var(--line); border-radius: 10px; background: #fff;
  color: var(--muted-2); opacity: .55; transition: opacity .45s ease, color .45s ease, border-color .45s ease, transform .45s ease; transition-delay: 0s; }
.fl-tool svg { width: 22px; height: 22px; }
.fl-tool b { font-size: 11.5px; font-weight: 500; color: var(--muted); text-align: center; line-height: 1.2; }
.fl-ok { position: absolute; top: 6px; right: 6px; width: 8px; height: 8px; border-radius: 50%; background: #16a34a; transform: scale(0); transition: transform .35s cubic-bezier(.2, .8, .2, 1); }
.flow.play .fl-tool { opacity: 1; color: var(--fg); border-color: var(--line-2); transform: translateY(-1px); transition-delay: calc(1.5s + var(--i) * 110ms); }
.flow.play .fl-tool b { color: var(--fg-2); }
.flow.play .fl-ok { transform: scale(1); transition-delay: calc(1.7s + var(--i) * 110ms); }
@media (max-width: 640px) { .fl-tools { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (prefers-reduced-motion: reduce) { .fl-tool, .fl-ok { transition: none; } }

/* ---- the demo store's homepage fills its taller frame */
.sh-promos { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.sh-promo { display: flex; flex-direction: column; gap: 3px; padding: 14px 16px; border-radius: 10px; background: var(--fg); color: #e7e5e4; }
.sh-promo b { font-family: var(--font-head); font-size: 15px; color: #fff; }
.sh-promo span:last-child { font-size: 12px; color: #a8a29e; }
.sh-promo .sh-kicker { color: #a8a29e; }
.sh-promo.alt { background: var(--accent-soft); color: var(--fg-2); }
.sh-promo.alt b { color: var(--fg); } .sh-promo.alt span:last-child, .sh-promo.alt .sh-kicker { color: var(--muted); }
.sh-trust { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }
@media (max-width: 640px) { .sh-promos { grid-template-columns: 1fr; } .sh-trust { justify-content: flex-start; gap: 6px 14px; } }
.sh-banner { padding: 14px 18px; } .sh-banner .sh-hero { height: 100px; } .sh-cats { margin: 12px 0 10px; }   /* (fits the 600px frame with the promos) */
.sh-promos { margin-top: 12px; } .sh-trust { margin-top: 10px; padding-top: 10px; }

/* ---- hero: matched by meaning (search in the shopper's words) */
.pk.pkm { grid-template-columns: 64px minmax(0, 1fr) auto; }
.pk.pkm .pk-badge { background: var(--bg-2); color: var(--fg-2); }
.pk.pkm.lit .pk-badge { background: var(--accent-soft); color: var(--accent-2, #1d4ed8); }
@media (max-width: 640px) { .pk.pkm { grid-template-columns: 52px minmax(0, 1fr); } .pk.pkm .pk-r { grid-column: 1 / -1; } }
/* ---- hero: accessories for a product (never the product itself) */
.acc-for { display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 10px; align-items: center; margin-bottom: 10px; padding: 8px 10px;
  border: 1px solid var(--line); border-radius: 10px; background: var(--bg-2); font-size: 13px; color: var(--fg-2); }
.acc-for .acc-ph { width: 40px; height: 40px; border-radius: 8px; grid-row: span 2; }
.acc-for b { color: var(--fg); }
.acc-for em { font-style: normal; font-size: 11.5px; color: var(--muted); }
/* ---- hero: an average over every product (totals, not a guess from the few shown) */
.stt { padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.stt-tiles { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 8px; }
.stt-t { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: 10px; background: var(--bg-2); }
.stt-t span { font-size: 11.5px; color: var(--muted); }
.stt-t b { font-family: var(--font-head); font-size: 20px; color: var(--fg); font-variant-numeric: tabular-nums; }
.stt-t.main { background: var(--accent-soft); }
.stt-t.main b { font-size: 26px; color: var(--accent-2, #1d4ed8); }
.stt-bar { position: relative; height: 34px; margin: 14px 4px 2px; }
.stt-bar i { position: absolute; left: 0; right: 0; top: 8px; height: 6px; border-radius: 999px; background: linear-gradient(90deg, var(--bg-2), var(--accent-soft)); }
.stt-bar u { position: absolute; left: 0; top: 4px; width: 14px; height: 14px; margin-left: -7px; border-radius: 999px; background: var(--accent); box-shadow: 0 0 0 3px #fff;
  transition: left 1.1s cubic-bezier(.2, .8, .2, 1); }
.stt-bar span { position: absolute; top: 20px; font-size: 11px; color: var(--muted); }
.stt-bar .lo { left: 0; } .stt-bar .hi { right: 0; }
.stt-meta { margin: 6px 0 10px; font-size: 12.5px; color: var(--fg-2); }
.stt-list { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.stt-r { display: grid; grid-template-columns: 130px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.stt-r em { font-style: normal; font-size: 11.5px; color: var(--muted); }
.stt-r span { color: var(--fg); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.stt-r b { font-variant-numeric: tabular-nums; }
@media (max-width: 640px) { .stt-tiles { grid-template-columns: 1fr 1fr 1fr; } .stt-t.main b { font-size: 22px; } .stt-r { grid-template-columns: 96px minmax(0, 1fr) auto; } }
@media (prefers-reduced-motion: reduce) { .stt-bar u { transition: none; } }
/* ---- the hero pill: its tag sits as close to the left edge as to the top and bottom (4px all round) */
.pill.hero-pill { padding-left: 3px; }
