/* =========================================================
   Mimz — product pages (dark, Vercel AI SDK inspired)
   ========================================================= */
/* Product pages follow the site theme. Dark is the base; light overrides below. */
body[data-page="product"] {
  --bg: #070c18; --ink: #f2f2f6; --ink-2: #b4b5c4; --ink-3: #85869a;
  --line: rgba(255, 255, 255, .09); --line-2: rgba(255, 255, 255, .16);
  --card: #0c1324; --card-2: #111a2d; --hi: #fff; --hi-ink: #0b1220;
  --a2: var(--a2-light);
  background: var(--bg); color: var(--ink);
}
[data-theme="light"] body[data-page="product"] {
  --bg: #f5f8fc; --ink: #0b1220; --ink-2: #4a5468; --ink-3: #6b778d;
  --line: rgba(11, 18, 32, .1); --line-2: rgba(11, 18, 32, .16);
  --card: #ffffff; --card-2: #f1f5fb; --hi: #0b1220; --hi-ink: #fff;
  --a2: color-mix(in srgb, var(--a) 78%, #000);
}
/* Product "screens" (demo window, code, visuals) stay dark in both themes */
body[data-page="product"] :is(.win, .codebox, .how-right, .show-vis, .agent-card .vis) {
  --ink: #eef2f8; --ink-2: #b3bccb; --ink-3: #8590a5;
  --line: rgba(255, 255, 255, .09); --line-2: rgba(255, 255, 255, .16);
  --card: #0c1324; --card-2: #111a2d; --hi: #fff; --hi-ink: #0b1220; --a2: var(--a2-light);
  color: var(--ink);
}
body[data-page="product"] .eyebrow { color: var(--a2); }
body[data-page="product"] .eyebrow.pill { background: none; padding: 0; }
body[data-page="product"] .lede { color: var(--ink-2); }
/* Product pages: the kit's primary colour becomes the product colour */
bodybody[data-page="product"] {
  --mz-primary-300: color-mix(in srgb, var(--a) 55%, #fff);
  --mz-primary-400: color-mix(in srgb, var(--a) 75%, #fff);
  --mz-primary-500: color-mix(in srgb, var(--a) 88%, #fff);
  --mz-primary-600: var(--a);
  --mz-primary-700: color-mix(in srgb, var(--a) 80%, #000);
  --mz-primary-800: color-mix(in srgb, var(--a) 65%, #000);
  --mz-primary-900: color-mix(in srgb, var(--a) 50%, #000);
  --mz-primary: var(--a);
  --mz-primary-hover: color-mix(in srgb, var(--a) 88%, #fff);
  --mz-primary-soft: color-mix(in srgb, var(--a) 16%, transparent);
  --mz-link: var(--a2);
  --mz-glow-primary: 0 0 0 1px color-mix(in srgb, var(--a) 35%, transparent), 0 10px 30px -6px color-mix(in srgb, var(--a) 60%, transparent);
}
body[data-product="momently"] { --mz-on-primary: #1f1400; }
body[data-product="momently"] .plan .badge-top, body[data-product="momently"] .btn-sub, body[data-product="momently"] .sublinks a.active { color: #1f1400; }
body[data-page="product"] .section-head h2 { color: var(--hi); }
body[data-page="product"] .link-arrow { color: var(--a2); }
body[data-page="product"] :focus-visible { outline-color: var(--a2); }
.sec-line { border-top: 1px solid var(--line); }

/* ---------- Hero ---------- */
.p-hero { position: relative; overflow: hidden; padding: clamp(56px, 7vw, 96px) 0 clamp(48px, 6vw, 80px); isolation: isolate; }
.p-hero-in { display: grid; grid-template-columns: 1fr 1.08fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.p-hero h1 { font-size: clamp(40px, 5.4vw, 72px); font-weight: 600; letter-spacing: -0.04em; line-height: 1.02; color: var(--hi); }
.p-hero h1 em { font: inherit; letter-spacing: inherit; background: none; color: inherit; -webkit-text-fill-color: currentColor; }   /* one voice; the serif accent is kept for the homepage headline only */
.p-hero .lede { max-width: 50ch; }
.p-hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.p-hero-login { margin-top: 18px; font-size: 14px; color: var(--ink-3); }
.p-hero-login a { color: var(--a2); font-weight: 600; text-decoration: none; transition: opacity .2s; }
.p-hero-login a:hover { opacity: .75; }
.p-stats { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 40px; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.p-stats div { padding: 18px 18px; border-right: 1px solid var(--line); background: rgba(255, 255, 255, .02); }
.p-stats div:last-child { border-right: 0; }
.p-stats strong { display: block; font-size: clamp(24px, 2.4vw, 32px); font-weight: 750; letter-spacing: -0.04em; color: var(--hi); font-variant-numeric: tabular-nums; }
.p-stats span { display: block; margin-top: 4px; font-size: 13px; color: var(--ink-3); line-height: 1.35; }

/* ---------- Demo window (tabs + code/preview) ---------- */
.dtabs { display: flex; gap: 4px; flex-wrap: wrap; margin-bottom: 14px; }
.dtabs button {
  padding: 8px 14px; border-radius: 10px; border: 1px solid transparent; background: transparent; color: var(--ink-3);
  font-size: 14px; font-weight: 550; cursor: pointer; transition: background-color .2s, border-color .2s, color .2s;
}
.dtabs button:hover { color: var(--hi); }
.dtabs button[aria-selected="true"] { color: var(--hi); background: var(--card-2); border-color: color-mix(in srgb, var(--a) 70%, transparent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--a) 18%, transparent); }
.win { border-radius: 18px; border: 1px solid var(--line-2); background: #0a1120; overflow: hidden; box-shadow: 0 40px 80px -40px color-mix(in srgb, var(--a) 55%, transparent); }
.win-bar { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.win-dots { display: flex; gap: 6px; }
.win-dots i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; }
.win-dots i:nth-child(2) { background: #febc2e; } .win-dots i:nth-child(3) { background: #28c840; }
.win-title { text-align: center; font-family: var(--mono); font-size: 13px; color: var(--ink-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.seg { display: inline-flex; padding: 3px; border-radius: 9px; border: 1px solid var(--line); background: #0d1526; }
.seg button { border: 0; background: none; color: var(--ink-3); font-size: 13px; font-weight: 600; padding: 5px 10px; border-radius: 6px; cursor: pointer; }
.seg button[aria-pressed="true"] { background: #1f2b45; color: var(--hi); }
.win-body { position: relative; height: 400px; overflow: hidden; }
.win-view { position: absolute; inset: 0; padding: 22px; overflow: auto; animation: fadeUp .4s var(--ease); }
.win-dots-nav { display: flex; justify-content: center; gap: 10px; margin-top: 16px; }
.win-dots-nav button { position: relative; width: 8px; height: 8px; border-radius: 50%; border: 0; padding: 0; background: #33415c; cursor: pointer; transition: background-color .3s, transform .3s var(--mz-ease-spring); }
.win-dots-nav button::before { content: ""; position: absolute; inset: -12px -6px; }
.win-dots-nav button[aria-current="true"] { background: var(--a2); transform: scale(1.35); }

/* code */
pre.code { margin: 0; font-family: var(--mono); font-size: 13px; line-height: 1.7; color: #d6d6e2; white-space: pre; tab-size: 2; }
.tok-k { color: #ff7ab2; } .tok-s { color: #a5e5a0; } .tok-c { color: #6b6c80; font-style: italic; } .tok-n { color: #ffcf7a; } .tok-f { color: #8ec5ff; } .tok-p { color: #c9a7ff; }

/* demo widgets (dark) */
.dw-card { border-radius: 14px; border: 1px solid var(--line); background: #0f1729; padding: 14px; }
.dw-card + .dw-card { margin-top: 10px; }
.dw-label { font-family: var(--mono); font-size: 13px; letter-spacing: .1em; color: var(--ink-3); text-transform: uppercase; margin-bottom: 10px; display: flex; justify-content: space-between; gap: 8px; }
.dw-row { display: flex; align-items: center; gap: 10px; padding: 9px 11px; border-radius: 10px; background: rgba(255, 255, 255, .035); border: 1px solid var(--line); font-size: 14px; min-width: 0; }
.dw-row + .dw-row { margin-top: 6px; }
.dw-row .grow { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dw-row .m { font-family: var(--mono); font-size: 13px; color: var(--ink-3); }
.dw-bar { width: 90px; height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .08); overflow: hidden; flex: none; }
.dw-bar i { display: block; height: 100%; border-radius: inherit; background: var(--a2); width: var(--w, 100%); transform: scaleX(0); transform-origin: left; transition: transform 1.1s var(--ease); }
.dw-bar.go i { transform: scaleX(1); }
.pill-s { display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border-radius: 999px; font-size: 13px; font-weight: 650; flex: none; }
.pill-ok { background: rgba(52, 211, 153, .14); color: #6ee7b7; }
.pill-warn { background: rgba(251, 191, 36, .14); color: #fcd34d; }
.pill-bad { background: rgba(248, 113, 113, .14); color: #fca5a5; }
.pill-a { background: color-mix(in srgb, var(--a) 20%, transparent); color: var(--a2); }
.ic-s { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: color-mix(in srgb, var(--a) 18%, transparent); color: var(--a2); flex: none; font-size: 14px; }
.av { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 700; background: color-mix(in srgb, var(--a) 30%, #fff); color: #111; flex: none; }
.chat { display: flex; flex-direction: column; gap: 12px; }
.bubble { max-width: 86%; padding: 11px 14px; border-radius: 14px; font-size: 14px; line-height: 1.5; border: 1px solid var(--line); }
.bubble.me { align-self: flex-end; background: #172238; }
.bubble.ai { align-self: flex-start; background: #0f1729; display: flex; gap: 10px; }
.bubble.ai .ic-s { width: 24px; height: 24px; border-radius: 50%; }
.typing-caret { display: inline-block; width: 7px; height: 1em; background: var(--a2); vertical-align: -2px; margin-left: 2px; animation: blink 1s steps(1) infinite; }
.ask { display: flex; align-items: center; gap: 8px; margin-top: 14px; padding: 6px 6px 6px 14px; border-radius: 12px; border: 1px solid var(--line-2); background: #0c1424; }
.ask input { flex: 1; min-width: 0; background: transparent; border: 0; color: var(--hi); font: inherit; font-size: 14px; padding: 6px 0; }
.ask input:focus { outline: none; }
.ask:focus-within { border-color: var(--a); }
.ask button { width: 32px; height: 32px; border-radius: 8px; border: 0; background: var(--hi); color: var(--hi-ink); display: grid; place-items: center; cursor: pointer; flex: none; }
.ask button:disabled { opacity: .4; cursor: default; }
.gauge-wrap { display: grid; grid-template-columns: 1fr 1.1fr; gap: 14px; align-items: center; }
.gauge { position: relative; width: 100%; max-width: 190px; margin: 0 auto; }
.gauge svg { width: 100%; height: auto; }
.gauge .val { position: absolute; left: 0; right: 0; bottom: 6%; text-align: center; }
.gauge .val b { font-size: 34px; letter-spacing: -0.04em; color: var(--hi); }
.gauge .val span { display: block; font-size: 13px; color: var(--ink-3); }
.ab { display: grid; gap: 10px; }
.ab-row { display: grid; grid-template-columns: 26px 1fr 110px 54px; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); font-size: 14px; }
.ab-row.win-row { border-color: color-mix(in srgb, var(--a) 70%, transparent); background: color-mix(in srgb, var(--a) 10%, transparent); }
.ab-row b.k { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 6px; background: #1a2640; font-size: 13px; }
.phone { width: 220px; margin: 0 auto; border-radius: 30px; border: 1px solid var(--line-2); background: #08101f; padding: 12px; box-shadow: 0 30px 60px -30px #000; }
.phone-scr { border-radius: 20px; background: #121c30; padding: 14px; min-height: 300px; display: flex; flex-direction: column; gap: 10px; }
.notif { border-radius: 14px; background: rgba(255, 255, 255, .08); padding: 10px 12px; font-size: 13px; line-height: 1.45; animation: fadeUp .5s var(--ease) both; }
.notif b { display: flex; justify-content: space-between; font-size: 13px; color: var(--ink-3); font-weight: 600; margin-bottom: 4px; }
.swap { color: var(--a2); font-weight: 700; transition: opacity .3s; }
.journey { display: grid; gap: 0; justify-items: center; }
.jnode { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--line-2); background: #111a2d; font-size: 14px; font-weight: 600; min-width: 220px; opacity: .35; transition: opacity .4s, border-color .4s, box-shadow .4s; }
.jnode.lit { opacity: 1; border-color: color-mix(in srgb, var(--a) 70%, transparent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--a) 14%, transparent); }
.jnode .m { margin-left: auto; font-family: var(--mono); font-size: 13px; color: var(--ink-3); font-weight: 500; }
.jline { width: 2px; height: 22px; background: var(--line-2); position: relative; overflow: hidden; }
.jline.lit::after { content: ""; position: absolute; inset: 0; background: var(--a2); animation: fillY .4s var(--ease) both; }
@keyframes fillY { from { transform: translateY(-100%); } to { transform: none; } }
.jbranch { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 100%; max-width: 470px; }
.jbranch .jnode { min-width: 0; }
.out-media { margin-top: 10px; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 7; display: grid; place-items: center; position: relative;
  background: radial-gradient(60% 80% at 30% 30%, color-mix(in srgb, var(--a) 70%, transparent), transparent 70%), radial-gradient(60% 80% at 80% 80%, color-mix(in srgb, var(--a2) 45%, transparent), transparent 70%), #111a2d; }
.out-media b { font-size: 28px; letter-spacing: -0.03em; color: var(--hi); text-shadow: 0 4px 20px rgba(0, 0, 0, .4); }
.out-media .play { position: absolute; right: 12px; bottom: 12px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .9); color: var(--hi-ink); }
.wave { display: flex; align-items: center; gap: 3px; height: 54px; }
.wave i { flex: 1; border-radius: 3px; background: var(--a2); animation: wv 1.1s ease-in-out infinite; }
@keyframes wv { 0%, 100% { height: 18%; } 50% { height: 100%; } }
.cal { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.cal div { border-radius: 10px; border: 1px solid var(--line); padding: 8px; font-size: 13px; min-height: 92px; }
.cal div b { display: block; font-size: 13px; color: var(--ink-3); margin-bottom: 6px; font-family: var(--mono); }
.slot { display: block; margin-top: 4px; padding: 5px 6px; border-radius: 6px; font-size: 13px; line-height: 1.3; background: color-mix(in srgb, var(--a) 22%, transparent); color: #fff; animation: fadeUp .4s var(--ease) both; }
.slot.busy { background: rgba(255, 255, 255, .06); color: var(--ink-3); }
.checks-list { display: grid; gap: 6px; margin-top: 12px; }
.checks-list div { display: flex; align-items: center; gap: 10px; font-size: 14px; padding: 8px 10px; border-radius: 9px; background: rgba(255, 255, 255, .03); }
.checks-list .st { margin-left: auto; }
.verdict { display: flex; align-items: center; gap: 14px; margin-top: 12px; padding: 14px; border-radius: 12px; border: 1px solid var(--line-2); }
.verdict strong { font-size: 28px; letter-spacing: -0.04em; color: var(--hi); }
.spark-lg { width: 100%; height: 70px; }

/* ---------- Works with strip ---------- */
.works { padding: 30px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.works-in { display: flex; align-items: center; gap: 24px; }
.works small { font-family: var(--mono); font-size: 13px; letter-spacing: .1em; color: var(--ink-3); text-transform: uppercase; white-space: nowrap; }
.works .marquee { flex: 1; min-width: 0; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.works .track { display: flex; gap: 36px; width: max-content; animation: marquee 32s linear infinite; }
.works .track span { display: inline-flex; align-items: center; gap: 8px; color: #9fa0b2; font-weight: 650; font-size: 16px; white-space: nowrap; }
.works .track span i { width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center; font-style: normal; font-size: 13px; font-weight: 800; background: #1a2640; color: #fff; }

/* ---------- Problems we solve ---------- */
.prob-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.prob { border: 1px solid var(--line); border-radius: 20px; background: var(--card); overflow: hidden; display: flex; flex-direction: column; transition: border-color .3s, transform .3s var(--ease); }
.prob:hover { border-color: color-mix(in srgb, var(--a) 55%, transparent); transform: translateY(-3px); }
.prob .before, .prob .after { padding: 22px; }
.prob .before { border-bottom: 1px dashed var(--line-2); }
.prob .lbl { display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 10px; }
.prob .before .lbl { color: #fca5a5; }
.prob .after .lbl { color: var(--a2); }
.prob .before p { color: var(--ink-3); text-decoration: line-through; text-decoration-color: rgba(252, 165, 165, .35); }
.prob h3 { font-size: 18px; font-weight: 650; letter-spacing: -0.02em; color: var(--hi); line-height: 1.3; }
.prob .after p { margin-top: 8px; color: var(--ink-2); font-size: 14px; }
.prob .after { background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--a) 8%, transparent)); flex: 1; }

/* ---------- Features (bordered grid w/ cursor glow) ---------- */
.feat-head { display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; align-items: end; margin-bottom: 44px; }
.feat-head h2 { font-size: clamp(30px, 3.8vw, 52px); font-weight: 720; letter-spacing: -0.045em; color: var(--hi); }
.feat-head p { color: var(--ink-2); font-size: 18px; }
.feat-grid { display: grid; grid-template-columns: repeat(2, 1fr); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; }
.feat-grid.c3 { grid-template-columns: repeat(3, 1fr); }
.feat {
  position: relative; padding: clamp(24px, 3vw, 36px); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; background: var(--card);
  --mx: 50%; --my: 50%;
}
.feat::before { content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .35s; pointer-events: none;
  background: radial-gradient(380px circle at var(--mx) var(--my), color-mix(in srgb, var(--a) 20%, transparent), transparent 60%); }
.feat:hover::before { opacity: 1; }
.feat > * { position: relative; }
.feat .ic-s { width: 42px; height: 42px; border-radius: 12px; font-size: 20px; margin-bottom: 22px; border: 1px solid color-mix(in srgb, var(--a) 35%, transparent); }
.feat h3 { font-size: 20px; font-weight: 650; color: var(--hi); letter-spacing: -0.02em; }
.feat p { margin-top: 10px; color: var(--ink-2); font-size: 16px; max-width: 46ch; }
.feat ul { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 8px; }
.feat li { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; color: var(--ink-2); }
.feat li svg { color: var(--a2); margin-top: 4px; }

/* ---------- Showcase: tabs + cards (Engage "personalize every layer") ---------- */
.show-tabs { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin-bottom: 30px; }
.show-tabs button { padding: 11px 24px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; color: var(--ink-2); font-weight: 600; cursor: pointer; transition: background-color .2s, border-color .2s, color .2s; }
.show-tabs button:hover { color: var(--hi); border-color: var(--hi); }
.show-tabs button[aria-selected="true"] { background: var(--hi); color: var(--hi-ink); border-color: var(--hi); }
.show-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.show-card { border-radius: 20px; border: 1px solid var(--line); background: var(--card); overflow: hidden; animation: fadeUp .45s var(--ease) both; }
.show-card:nth-child(2) { animation-delay: .06s; } .show-card:nth-child(3) { animation-delay: .12s; }
.show-vis { height: 180px; border-bottom: 1px solid var(--line); padding: 16px; position: relative; overflow: hidden;
  background: radial-gradient(90% 80% at 50% 0%, color-mix(in srgb, var(--a) 18%, transparent), transparent 70%), #0c1424; }
.show-card .txt { padding: 22px; }
.show-card h3 { font-size: 20px; font-weight: 650; color: var(--hi); }
.show-card p { margin-top: 8px; color: var(--ink-2); font-size: 14px; }
.mini-browser { border-radius: 10px; border: 1px solid var(--line-2); background: #152036; overflow: hidden; height: 100%; }
.mini-browser .mb-bar { display: flex; gap: 4px; padding: 7px 9px; border-bottom: 1px solid var(--line); }
.mini-browser .mb-bar i { width: 6px; height: 6px; border-radius: 50%; background: #33415c; }
.mini-browser .mb-body { padding: 10px; display: grid; gap: 6px; }
.sk { height: 8px; border-radius: 4px; background: rgba(255, 255, 255, .08); }
.mb-hero { border-radius: 8px; padding: 12px; background: linear-gradient(120deg, var(--a), var(--a2)); color: #fff; font-size: 13px; font-weight: 700; }
.mb-pop { position: absolute; left: 50%; top: 52%; transform: translate(-50%, -50%); width: 70%; border-radius: 10px; padding: 12px; background: var(--hi); color: #111; font-size: 13px; box-shadow: 0 16px 30px -10px #000; }
.mb-pop b { display: block; font-size: 13px; }
.mb-pop span { display: inline-block; margin-top: 8px; padding: 4px 10px; border-radius: 6px; background: var(--a); color: #fff; font-weight: 700; font-size: 13px; }

/* ---------- Showcase: carousel (Agentic agents) ---------- */
.car { position: relative; }
.car-track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 6px 2px 18px; scrollbar-width: none; }
.car-track::-webkit-scrollbar { display: none; }
.agent-card { flex: 0 0 300px; scroll-snap-align: start; border-radius: 20px; border: 1px solid var(--line); background: var(--card); padding: 18px; display: flex; flex-direction: column; gap: 14px; transition: border-color .3s, transform .3s var(--ease); }
.agent-card:hover { border-color: color-mix(in srgb, var(--a) 60%, transparent); transform: translateY(-4px); }
.agent-card .top { display: flex; align-items: center; justify-content: space-between; }
.agent-card h3 { font-size: 18px; font-weight: 650; color: var(--hi); }
.agent-card .prompt { border-radius: 12px; border: 1px dashed var(--line-2); padding: 12px; font-size: 14px; color: var(--ink-2); }
.agent-card .vis { border-radius: 12px; height: 120px; overflow: hidden; position: relative; display: grid; place-items: center; border: 1px solid var(--line);
  background: radial-gradient(70% 90% at 20% 20%, color-mix(in srgb, var(--a) 45%, transparent), transparent 70%), #111a2d; }
.agent-card .run { align-self: flex-end; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 650; padding: 7px 12px; border-radius: 8px; background: var(--hi); color: var(--hi-ink); border: 0; cursor: pointer; }
.car-nav { display: flex; gap: 8px; justify-content: flex-end; margin-top: 6px; }
.car-nav button { width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line-2); background: transparent; color: var(--hi); display: grid; place-items: center; cursor: pointer; }
.car-nav button:hover { background: rgba(255, 255, 255, .08); }
.car-nav button:disabled { opacity: .35; cursor: default; }

/* ---------- Showcase: compare (AI Search before / after) ---------- */
.cmp-prompt { display: flex; gap: 16px; align-items: center; padding: 18px 22px; border-radius: 16px; background: var(--card-2); border: 1px solid var(--line); margin-bottom: 16px; flex-wrap: wrap; }
.cmp-prompt small { font-family: var(--mono); font-size: 13px; color: var(--ink-3); }
.cmp-prompt b { font-size: 18px; color: var(--hi); }
.cmp-prompt select { margin-left: auto; background: var(--card-2); color: var(--hi); border: 1px solid var(--line-2); border-radius: 10px; padding: 8px 12px; font: inherit; font-size: 14px; }
.cmp { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cmp-col { border-radius: 22px; border: 1px solid var(--line); background: var(--card); overflow: hidden; }
.cmp-col.after { border-color: color-mix(in srgb, var(--a) 55%, transparent); box-shadow: 0 30px 60px -40px var(--a); }
.cmp-top { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.cmp-body { padding: 20px; }
.cmp-body small { font-size: 13px; color: var(--ink-3); }
.cmp-body ul { list-style: none; padding: 0; margin: 12px 0 18px; display: grid; gap: 10px; }
.cmp-body li { display: flex; align-items: center; gap: 10px; color: var(--ink-2); }
.cmp-body li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #33415c; }
.cmp-body li.you { color: var(--a2); font-weight: 650; }
.cmp-body li.you::before { background: var(--a2); }
.cmp-src { padding: 10px 12px; border-radius: 10px; background: rgba(255, 255, 255, .04); font-family: var(--mono); font-size: 13px; color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cmp-foot { padding: 12px 20px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-3); }
.cmp-col.after .cmp-foot { color: var(--a2); background: color-mix(in srgb, var(--a) 8%, transparent); }

/* ---------- Use cases (BUILT FOR) ---------- */
.uc { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.uc h2 { font-size: clamp(32px, 4.4vw, 56px); font-weight: 720; letter-spacing: -0.045em; color: var(--hi); }
.uc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.uc-card { border-radius: 18px; border: 1px solid var(--line); background: var(--card); padding: 22px; transition: border-color .3s, background .3s; }
.uc-card:hover { border-color: color-mix(in srgb, var(--a) 55%, transparent); background: var(--card-2); }
.uc-card .ic-s { border-radius: 50%; margin-bottom: 18px; }
.uc-card h3 { font-size: 18px; font-weight: 650; color: var(--hi); }
.uc-card p { margin-top: 8px; font-size: 14px; color: var(--ink-2); }

/* ---------- How it works (stepper) ---------- */
.how { display: grid; grid-template-columns: .9fr 1.1fr; border: 1px solid var(--line); border-radius: 24px; overflow: hidden; }
.how-left { padding: clamp(28px, 4vw, 48px); background: var(--card); border-right: 1px solid var(--line); }
.how-left h2 { font-size: clamp(30px, 3.6vw, 46px); font-weight: 720; letter-spacing: -0.04em; color: var(--hi); }
.how-left > p { margin-top: 14px; color: var(--ink-2); }
.how-steps { list-style: none; padding: 0; margin: 34px 0 0; display: grid; gap: 4px; }
.how-steps button { width: 100%; text-align: left; border: 0; background: none; padding: 14px 0 14px 22px; cursor: pointer; position: relative; color: var(--ink-3); }
.how-steps button::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 2px; background: var(--line-2); border-radius: 2px; }
.how-steps button::after { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 2px; background: var(--hi); border-radius: 2px; transform: scaleY(0); transform-origin: top; }
.how-steps button[aria-current="true"]::after { animation: stepfill var(--dur, 6s) linear forwards; }
.how-steps button.paused::after { animation: none; transform: scaleY(1); }
@keyframes stepfill { to { transform: scaleY(1); } }
.how-steps b { display: flex; gap: 10px; align-items: baseline; font-size: 20px; font-weight: 650; transition: color .2s; }
.how-steps b small { font-family: var(--mono); font-size: 13px; color: var(--ink-3); font-weight: 500; }
.how-steps p { max-height: 0; overflow: hidden; opacity: 0; margin-top: 0; font-size: 14px; color: var(--ink-2); transition: max-height .45s var(--ease), opacity .35s, margin .35s; }
.how-steps button[aria-current="true"] b { color: var(--hi); }
.how-steps button[aria-current="true"] p { max-height: 140px; opacity: 1; margin-top: 8px; }
.how-right { position: relative; min-height: 440px; display: grid; place-items: center; padding: 32px;
  background: radial-gradient(60% 60% at 70% 30%, color-mix(in srgb, var(--a) 22%, transparent), transparent 70%), #08101f; }
.how-vis { width: 100%; max-width: 480px; animation: fadeUp .5s var(--ease); }
.how-big { font-size: clamp(90px, 12vw, 160px); font-weight: 800; letter-spacing: -0.06em; line-height: .8; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .14); position: absolute; right: 24px; bottom: 16px; pointer-events: none; font-family: var(--mono); }

/* ---------- Reviews slider ---------- */
.rev { display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: end; margin-bottom: 30px; }
.rev h2 { font-size: clamp(30px, 3.8vw, 48px); font-weight: 720; letter-spacing: -0.04em; color: var(--hi); }
.rev-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 32px) / 3); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; }
.rev-track::-webkit-scrollbar { display: none; }
.review { scroll-snap-align: start; border-radius: 20px; border: 1px solid var(--line); background: var(--card); padding: 26px; display: flex; flex-direction: column; gap: 16px; }
.stars { display: flex; gap: 3px; color: #fbbf24; }
.stars svg { fill: currentColor; width: 16px; height: 16px; }
.review blockquote { margin: 0; font-size: 16px; line-height: 1.55; color: #e6e6ee; }
.review .by { margin-top: auto; display: flex; align-items: center; gap: 12px; }
.review .by b { display: block; font-size: 14px; color: var(--hi); }
.review .by span { font-size: 13px; color: var(--ink-3); }
.review .by .av { width: 38px; height: 38px; font-size: 13px; }

/* ---------- Pricing ---------- */
/* Billing switch = kit segmented control, tuned for the dark product pages */
.bill.mz-btn-group { margin-top: 26px; background: var(--card-2); border-color: var(--line-2); }
.bill .mz-btn-group__thumb { background: var(--hi); box-shadow: 0 6px 18px -6px color-mix(in srgb, var(--a) 70%, transparent); }
.bill .mz-segment { color: var(--ink-2); display: inline-flex; align-items: center; }
.bill .mz-segment[aria-pressed="true"] { color: var(--hi-ink); }
.bill .save { font-size: 13px; font-weight: 700; padding: 2px 7px; border-radius: 999px; background: color-mix(in srgb, var(--a) 25%, transparent); color: var(--a2); margin-left: 6px; transition: opacity .3s, transform .3s var(--mz-ease-spring); }
.bill .mz-segment[aria-pressed="true"] .save { background: color-mix(in srgb, var(--a) 18%, #fff); color: color-mix(in srgb, var(--a) 70%, #000); }
/* Demo window tilts gently toward the cursor (kit data-mz-tilt); keep inner layers flat */
.win.mz-tilt > * { transform: none; }
.plans { display: grid; grid-template-columns: repeat(var(--plan-cols, 3), 1fr); gap: 16px; align-items: stretch; }
.plan { position: relative; border-radius: 24px; border: 1px solid var(--line); background: var(--card); padding: 30px; display: flex; flex-direction: column; }
.plan.feat-plan { border-color: color-mix(in srgb, var(--a) 70%, transparent); background: radial-gradient(100% 60% at 50% 0%, color-mix(in srgb, var(--a) 16%, transparent), transparent 70%), var(--card); box-shadow: 0 40px 80px -50px var(--a); }
.plan .badge-top { position: absolute; top: -12px; left: 30px; padding: 4px 12px; border-radius: 999px; background: var(--a); color: #fff; font-size: 13px; font-weight: 700; }
.plan h3 { font-size: 20px; font-weight: 650; color: var(--hi); }
.plan .pdesc { margin-top: 8px; color: var(--ink-3); font-size: 14px; min-height: 42px; }
.plan .price { margin-top: 22px; display: flex; align-items: baseline; gap: 6px; }
.plan .price strong { font-size: 46px; font-weight: 750; letter-spacing: -0.05em; color: var(--hi); font-variant-numeric: tabular-nums; }
.plan .price span { color: var(--ink-3); font-size: 14px; }
.plan .note { font-size: 13px; color: var(--ink-3); min-height: 18px; margin-top: 4px; }
.plan .mz-btn { margin-top: 22px; width: 100%; }
.plan ul { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 11px; border-top: 1px solid var(--line); padding-top: 22px; }
.plan li { display: flex; gap: 10px; font-size: 14px; color: var(--ink-2); }
.plan li svg { color: var(--a2); margin-top: 4px; }
.price-foot { text-align: center; margin-top: 26px; color: var(--ink-3); font-size: 14px; }
.price-foot a { color: var(--hi); }

/* Lens pricing only — provider picker + per-card live prompt counts (lens-calculator.js) */
.lens-calc-picker { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px; margin: 24px 0; display: grid; gap: 12px; }
.lens-calc-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.lens-calc-head .eyebrow { margin: 0; }
.lens-calc-summary { font-size: 13px; font-weight: 600; color: var(--hi); font-variant-numeric: tabular-nums; }
.lens-calc-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.lens-chip {
  font: inherit; font-size: 13px; cursor: pointer; border-radius: 10px; border: 1px solid var(--line);
  background: var(--card-2); color: var(--ink-2); padding: 9px 14px; display: inline-flex; align-items: center; gap: 8px;
  transition: background .15s, border-color .15s, color .15s;
}
.lens-chip input[type="checkbox"] { width: 15px; height: 15px; accent-color: var(--a); margin: 0; flex-shrink: 0; }
.lens-chip-ic { width: 16px; height: 16px; flex-shrink: 0; background-color: currentColor; opacity: .75; -webkit-mask-image: var(--ic); mask-image: var(--ic); -webkit-mask-size: contain; mask-size: contain; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-position: center; mask-position: center; }
.lens-chip-w { font-size: 11px; font-variant-numeric: tabular-nums; opacity: .65; padding-left: 2px; }
.lens-chip:has(input:checked) { border-color: var(--a); background: color-mix(in srgb, var(--a) 16%, var(--card-2)); color: var(--hi); font-weight: 600; }
.lens-chip:has(input:checked) .lens-chip-ic { opacity: 1; }
.lens-chip:has(input:focus-visible) { outline: 2px solid var(--a); outline-offset: 2px; }
.lens-calc-note { margin: 0; font-size: 12px; color: var(--ink-3); line-height: 1.5; }

.lens-stat-box { border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; margin: 4px 0 16px; background: var(--card-2); display: grid; gap: 6px; }
.lens-stat-head { display: flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 600; color: var(--ink-3); text-transform: uppercase; letter-spacing: .04em; }
.lens-stat-head svg { width: 14px; height: 14px; color: var(--a2); }
.lens-stat-row { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.lens-stat-row strong { font-size: 17px; font-weight: 700; color: var(--hi); font-variant-numeric: tabular-nums; }
.lens-stat-row span { font-size: 12px; color: var(--ink-3); }
.lens-stat-credits { font-size: 12px; color: var(--ink-3); padding-top: 4px; border-top: 1px solid var(--line); margin-top: 2px; }
.lens-stat-empty { margin: 0; font-size: 12px; color: var(--ink-3); }

/* ---------- Docs ---------- */
.docs { display: grid; grid-template-columns: 1fr 1.15fr; gap: 24px; align-items: start; }
.doc-links { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.docs--guide { grid-template-columns: 1fr; }
.docs--guide .doc-links { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.doc-link { border-radius: 16px; border: 1px solid var(--line); background: var(--card); padding: 20px; text-decoration: none; transition: border-color .25s, transform .25s var(--ease); display: block; }
.doc-link:hover { border-color: color-mix(in srgb, var(--a) 55%, transparent); transform: translateY(-2px); }
.doc-link .ic-s { margin-bottom: 14px; }
.doc-link b { display: flex; justify-content: space-between; align-items: center; color: var(--hi); font-size: 16px; }
.doc-link b svg { color: var(--ink-3); transition: transform .2s; }
.doc-link:hover b svg { transform: translate(2px, -2px); color: var(--hi); }
.doc-link span { display: block; margin-top: 6px; font-size: 14px; color: var(--ink-3); }
.codebox { border-radius: 18px; border: 1px solid var(--line-2); background: #0a1120; overflow: hidden; }
.codebox-bar { display: flex; align-items: center; gap: 4px; padding: 8px; border-bottom: 1px solid var(--line); }
.codebox-bar button.lang-t { border: 0; background: none; color: var(--ink-3); font-family: var(--mono); font-size: 13px; padding: 6px 12px; border-radius: 8px; cursor: pointer; }
.codebox-bar button.lang-t[aria-selected="true"] { background: #1a2640; color: var(--hi); }
.copy { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line-2); background: transparent; color: var(--ink-2); font-size: 13px; padding: 6px 10px; border-radius: 8px; cursor: pointer; }
.copy:hover { color: var(--hi); }
.codebox pre.code { padding: 20px; overflow-x: auto; min-height: 260px; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font-size: 18px; font-weight: 600; color: var(--hi); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; flex: none; transition: transform .3s var(--ease), background .3s; }
.faq details[open] summary .pm { transform: rotate(45deg); background: var(--hi); color: var(--hi-ink); }
.faq details p { padding: 0 0 22px; color: var(--ink-2); max-width: 70ch; animation: fadeUp .35s var(--ease); }

/* ---------- Final product CTA tweaks ---------- */
body[data-page="product"] .cta-band::before { background: radial-gradient(50% 50% at 30% 50%, color-mix(in srgb, var(--a) 45%, transparent), transparent 70%), radial-gradient(40% 50% at 75% 50%, color-mix(in srgb, var(--a2) 25%, transparent), transparent 70%); }
body[data-page="product"] .cta-band { border-top: 1px solid var(--line); }

/* ---------- Responsive ---------- */
@media (max-width: 1060px) {
  .p-hero-in { grid-template-columns: 1fr; }
  .prob-grid { grid-template-columns: 1fr 1fr; }
  .feat-grid.c3 { grid-template-columns: 1fr 1fr; }
  .show-cards { grid-template-columns: 1fr 1fr; }
  .uc { grid-template-columns: 1fr; }
  .how { grid-template-columns: 1fr; }
  .how-left { border-right: 0; border-bottom: 1px solid var(--line); }
  .how-right { min-height: 380px; }
  .docs { grid-template-columns: 1fr; }
  .rev-track { grid-auto-columns: calc((100% - 16px) / 2); }
  .plans { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .feat-head { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .prob-grid, .feat-grid, .feat-grid.c3, .show-cards, .uc-grid, .doc-links, .cmp { grid-template-columns: 1fr; }
  .p-stats { grid-template-columns: 1fr; }
  .p-stats div { border-right: 0; border-bottom: 1px solid var(--line); }
  .p-stats div:last-child { border-bottom: 0; }
  .win-body { height: 430px; }
  .win-view { padding: 16px; }
  .gauge-wrap { grid-template-columns: 1fr; }
  .rev { grid-template-columns: 1fr; }
  .rev-track { grid-auto-columns: 88%; }
  .works-in { flex-direction: column; align-items: flex-start; gap: 14px; }
  .works .marquee { width: 100%; }
  .cal { grid-template-columns: repeat(3, 1fr); }
  .cal div:nth-child(n+4) { display: none; }
  .ab-row { grid-template-columns: 26px 1fr 54px; }
  .ab-row .dw-bar { display: none; }
  .jbranch { grid-template-columns: 1fr; }
  .how-right { padding: 20px; }
}

/* Light theme: stronger red for "The problem" labels */
[data-theme="light"] body[data-page="product"] .prob .before .lbl { color: #dc2626; }
[data-theme="light"] body[data-page="product"] .prob .before p { text-decoration-color: rgba(220, 38, 38, .35); }

/* ---------- Product atmosphere: page-wide colour field in the product's colour ---------- */
body[data-page="product"]::before {
  background:
    radial-gradient(1000px 640px at 86% -8%, color-mix(in srgb, var(--a) 24%, transparent), transparent 70%),
    radial-gradient(820px 600px at -10% 34%, color-mix(in srgb, var(--a2) 12%, transparent), transparent 70%),
    radial-gradient(760px 520px at 55% 112%, color-mix(in srgb, var(--a) 14%, transparent), transparent 70%);
}
[data-theme="light"] body[data-page="product"]::before { opacity: .75; }
/* Hero: slowly drifting colour blobs (soft gradients, transform-only animation = smooth) + cursor spotlight */
.p-mesh { position: absolute; inset: -20% -10% -10%; z-index: -2; pointer-events: none; overflow: hidden; }
.p-mesh i { position: absolute; border-radius: 50%; will-change: transform; animation: pMesh 26s ease-in-out infinite alternate; }
.p-mesh i:nth-child(1) { width: 60vw; height: 60vw; max-width: 900px; max-height: 900px; left: -12%; top: -24%; background: radial-gradient(circle, color-mix(in srgb, var(--a) 55%, transparent) 0%, transparent 62%); }
.p-mesh i:nth-child(2) { width: 46vw; height: 46vw; max-width: 700px; max-height: 700px; right: -10%; top: -6%; background: radial-gradient(circle, color-mix(in srgb, var(--a2) 42%, transparent) 0%, transparent 62%); animation-delay: -9s; }
.p-mesh i:nth-child(3) { width: 38vw; height: 38vw; max-width: 560px; max-height: 560px; left: 38%; top: 34%; background: radial-gradient(circle, color-mix(in srgb, var(--a) 30%, #7c3aed 20%) 0%, transparent 62%); animation-delay: -16s; }
[data-theme="light"] .p-mesh i { opacity: .55; }
@keyframes pMesh { 50% { transform: translate3d(6%, 9%, 0) scale(1.12); } 100% { transform: translate3d(-5%, 4%, 0) scale(.94); } }
.p-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; transition: opacity .5s;
  background: radial-gradient(520px circle at var(--mz-x, 50%) var(--mz-y, 40%), color-mix(in srgb, var(--a) 22%, transparent), transparent 65%); }
.p-hero:hover::before { opacity: 1; }
/* Alternate sections get a whisper of the product colour */
body[data-page="product"] main > section.section:nth-of-type(odd) { background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--a) 4%, transparent) 30%, transparent); }
@media (prefers-reduced-motion: reduce) { .p-mesh i { animation: none; } }

/* Live product background (assets/js/product-bg.js): fixed canvas behind the whole page.
   On wide screens it fades out under the hero text column so copy stays easy to read. */
.p-bg { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }

/* Features: the icon is a plain glyph, not a boxed tile */
.feat .ic-s { width: auto; height: auto; border: 0; border-radius: 0; background: none; font-size: 22px; margin-bottom: 14px; justify-content: start; }
/* No index numbers in front of the how-it-works steps */
.how-steps b small { display: none; }

/* ---------- AI Search hero: rotating platform inside the paragraph + logo row ---------- */
.ai-rot { display: inline-flex; vertical-align: bottom; }
.ai-rot-track { position: relative; display: inline-grid; height: 1.6em; overflow: hidden; transition: width .5s cubic-bezier(.23, 1, .32, 1); }
.ai-rot-item { grid-area: 1 / 1; display: inline-flex; align-items: center; gap: .32em; white-space: nowrap; width: max-content; padding-right: .1em;
  font-weight: 600; color: var(--hi);
  opacity: 0; transform: translateY(105%); transition: transform .55s cubic-bezier(.23, 1, .32, 1), opacity .35s ease-out; }
.ai-rot-item.is-on { opacity: 1; transform: none; }
.ai-rot-item.is-out { opacity: 0; transform: translateY(-105%); transition-duration: .45s, .3s; }
.ai-rot-logo { display: grid; place-items: center; width: 1.1em; height: 1.1em; color: var(--lc); }
.ai-rot-logo svg { width: 100%; height: 100%; display: block; }
.ai-rot-item .ai-rot-logo { transform: scale(.6) rotate(-20deg); transition: transform .6s cubic-bezier(.23, 1, .32, 1) .05s; }
.ai-rot-item.is-on .ai-rot-logo { transform: none; }
/* monochrome marks (ChatGPT, Grok) follow the text colour */
.ai-rot-item[style*="currentColor"] .ai-rot-logo, .ai-logos li[style*="currentColor"] .ai-logo { color: var(--hi); }

/* Logo strip under the Features heading */
.ai-strip { display: flex; align-items: center; gap: 24px 32px; flex-wrap: wrap; margin: -16px 0 32px; padding: 18px 24px; border-radius: 18px;
  border: 1px solid var(--line); background: color-mix(in srgb, var(--ink) 3%, transparent); }
.ai-strip-label { margin: 0; flex: none; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.ai-logos { list-style: none; display: flex; flex: 1; flex-wrap: wrap; justify-content: space-between; gap: 14px 24px; margin: 0; padding: 0; }
.ai-logos li { display: inline-flex; align-items: center; gap: 9px; font-size: 16px; font-weight: 600; color: var(--hi); opacity: .72; transition: opacity .25s; cursor: default; }
.ai-logos li:hover { opacity: 1; }
.ai-logo { display: grid; place-items: center; width: 24px; height: 24px; color: var(--lc); }
.ai-logo svg { width: 100%; height: 100%; display: block; }
@media (max-width: 900px) {
  .ai-strip { flex-direction: column; align-items: flex-start; gap: 14px; padding: 18px; margin-top: -8px; }
  .ai-logos { justify-content: flex-start; gap: 12px 20px; }
  .ai-logos li { font-size: 14px; }
  .ai-logo { width: 20px; height: 20px; }
}
@media (prefers-reduced-motion: reduce) { .ai-rot-item, .ai-rot-logo, .ai-rot-track { transition: none; } }

/* =========================================================
   Problems we solve: problem list (left) + solution card (right)
   ========================================================= */
.pv { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.pv-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.pv-list li { border-bottom: 1px solid var(--line); }
.pv-q { all: unset; box-sizing: border-box; position: relative; width: 100%; display: flex; align-items: center; gap: 16px; padding: 20px 8px 20px 18px; cursor: pointer;
  font-size: 18px; font-weight: 500; line-height: 1.35; color: var(--ink-3); transition: color .2s; }
.pv-q::before { content: ""; position: absolute; left: 0; top: 18px; bottom: 18px; width: 2px; border-radius: 2px; background: var(--a2); transform: scaleY(0); transition: transform .3s cubic-bezier(.23, 1, .32, 1); }
.pv-q:hover { color: var(--ink); }
.pv-q:focus-visible { outline: 2px solid var(--a2); outline-offset: 2px; border-radius: 8px; }
.pv-q[aria-current="true"] { color: var(--hi); }
.pv-q[aria-current="true"]::before { transform: scaleY(1); }
.pv-qt { flex: 1; min-width: 0; }
.pv-ic { position: relative; flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; font-size: 14px;
  color: #ef4444; border: 1px solid color-mix(in srgb, #ef4444 35%, transparent); background: color-mix(in srgb, #ef4444 8%, transparent); transition: background-color .25s, border-color .25s, color .25s; }
.pv-ic > span { position: absolute; inset: 0; display: grid; place-items: center; transition: opacity .2s, transform .3s cubic-bezier(.23, 1, .32, 1); }
.pv-ok { opacity: 0; transform: scale(.5); }
.pv-q[aria-current="true"] .pv-ic { color: #fff; background: var(--a); border-color: transparent; }
.pv-q[aria-current="true"] .pv-x { opacity: 0; transform: scale(.5) rotate(-45deg); }
.pv-q[aria-current="true"] .pv-ok { opacity: 1; transform: none; }
.pv-go { flex: none; color: var(--a2); opacity: 0; transform: translateX(-6px); transition: opacity .2s, transform .3s cubic-bezier(.23, 1, .32, 1); }
.pv-q[aria-current="true"] .pv-go { opacity: 1; transform: none; }
.pv-inline { display: none; }

.pv-panel { position: sticky; top: calc(var(--hdr) + var(--sub) + 24px); display: grid; min-height: 380px; overflow: hidden; isolation: isolate;
  padding: clamp(28px, 3.6vw, 48px); border-radius: 28px; border: 1px solid color-mix(in srgb, var(--a) 26%, var(--line));
  background: radial-gradient(120% 90% at 100% 0%, color-mix(in srgb, var(--a) 22%, transparent), transparent 62%),
              radial-gradient(90% 70% at 0% 100%, color-mix(in srgb, var(--a2) 10%, transparent), transparent 65%), var(--card); }
.pv-mark { position: absolute; right: -28px; bottom: -36px; z-index: -1; font-size: 220px; line-height: 1; color: var(--a); opacity: .08; pointer-events: none; }
.pv-mark svg { width: 1em; height: 1em; }
.pv-ans { grid-area: 1 / 1; align-self: center; opacity: 0; visibility: hidden; transform: translateY(14px); transition: opacity .3s ease-out, transform .45s cubic-bezier(.23, 1, .32, 1), visibility 0s .3s; }
.pv-ans.is-on { opacity: 1; visibility: visible; transform: none; transition-delay: .05s, .05s, 0s; }
.pv-was { display: flex; align-items: flex-start; gap: 8px; margin: 0; font-size: 15px; color: var(--ink-3); }
.pv-was svg { flex: none; width: 15px; height: 15px; margin-top: 3px; color: #ef4444; }
.pv-tag { display: inline-flex; align-items: center; gap: 8px; margin-top: 28px; font-size: 14px; font-weight: 600; color: var(--a2); }
.pv-tag svg { width: 16px; height: 16px; }
.pv-ans h3 { margin-top: 10px; font-family: var(--mz-font-display); font-size: clamp(26px, 2.6vw, 36px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.12; color: var(--hi); }
.pv-fix { margin-top: 14px; max-width: 46ch; font-size: 17px; line-height: 1.6; color: var(--ink-2); }
.pv-prog { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--a2); transform: scaleX(0); transform-origin: left; }
.pv-prog.run { animation: pvProg 6s linear forwards; }
@keyframes pvProg { to { transform: scaleX(1); } }

@media (max-width: 900px) {
  .pv { grid-template-columns: 1fr; }
  .pv-panel { display: none; }
  .pv-q { padding: 18px 4px 18px 16px; font-size: 16px; }
  .pv-go { display: none; }
  .pv-list li.is-on .pv-inline { display: block; padding: 0 8px 20px 60px; animation: pvIn .35s cubic-bezier(.23, 1, .32, 1); }
  .pv-inline .pv-tag { margin-top: 0; }
  .pv-inline h3 { margin-top: 6px; font-family: var(--mz-font-display); font-size: 20px; font-weight: 600; letter-spacing: -0.02em; color: var(--hi); }
  .pv-inline p { margin-top: 6px; font-size: 14px; color: var(--ink-2); }
}
@keyframes pvIn { from { opacity: 0; transform: translateY(-6px); } }
@media (prefers-reduced-motion: reduce) { .pv-ans, .pv-ic > span, .pv-go, .pv-q::before { transition: none; } .pv-prog.run { animation: none; } }
/* 8 platforms: label on top, an even 4 x 2 grid (2 columns on phones) */
.ai-strip { flex-direction: column; align-items: stretch; gap: 16px; padding: 22px 26px; }
.ai-logos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px 24px; justify-content: initial; }
.ai-logos li { white-space: nowrap; }
@media (max-width: 900px) { .ai-strip { padding: 18px; } .ai-logos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; } .ai-logos li { white-space: normal; } }

/* Hero highlights are words, not figures */
.p-stats strong { font-size: clamp(19px, 1.7vw, 23px); letter-spacing: -0.02em; }
/* Problems: numbered markers (no cross / tick) */
.pv-ic { width: auto; height: auto; border: 0; border-radius: 0; background: none !important; color: var(--ink-3);
  font-family: var(--mz-font-mono); font-size: 13px; letter-spacing: .04em; font-variant-numeric: tabular-nums; min-width: 22px; }
.pv-q[aria-current="true"] .pv-ic { color: var(--a2); background: none; }

.pv-was { color: var(--ink-3); font-size: 15px; }

/* Explore cards (no agent names): icon tile, text, button at the bottom */
.agent-card .ac-ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; font-size: 20px; color: var(--a2);
  background: color-mix(in srgb, var(--a) 16%, transparent); border: 1px solid color-mix(in srgb, var(--a) 30%, transparent); }
.agent-card .ac-ic svg { width: 1em; height: 1em; }
.agent-card .prompt { flex: 1; }
/* Explore card redesign: reads as information, not as a text field */
.agent-card { position: relative; overflow: hidden; padding: 22px; gap: 16px; isolation: isolate; }
.agent-card::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .35s;
  background: radial-gradient(120% 70% at 0% 0%, color-mix(in srgb, var(--a) 12%, transparent), transparent 60%); }
.agent-card:hover::before { opacity: 1; }
.agent-card:hover { box-shadow: 0 18px 40px -24px color-mix(in srgb, var(--a) 55%, transparent); }
.agent-card h3 { font-size: 19px; line-height: 1.25; letter-spacing: -0.01em; text-wrap: balance; }
.agent-card .prompt { margin: 0; border: 0; border-radius: 0; padding: 0 0 0 14px; position: relative; font-size: 14.5px; line-height: 1.6; color: var(--ink-2); }
.agent-card .prompt::before { content: ""; position: absolute; left: 0; top: 2px; bottom: 2px; width: 2px; border-radius: 2px;
  background: linear-gradient(var(--a), color-mix(in srgb, var(--a) 15%, transparent)); }
.agent-card .ac-lbl { display: block; margin-bottom: 4px; font: 600 10.5px/1.4 var(--mz-font-mono, monospace); letter-spacing: .12em; text-transform: uppercase; color: var(--a2); }
.agent-card .ac-foot { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); display: flex; justify-content: flex-start; }
.agent-card .run { align-self: auto; padding: 0; background: none; color: var(--hi); font-size: 14px; gap: 10px; border-radius: 0; }
.agent-card .ac-arr { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--hi); color: var(--hi-ink); font-size: 14px; transition: transform .3s var(--ease), background .3s; }
.agent-card .ac-arr svg { width: 1em; height: 1em; }
.agent-card:hover .ac-arr, .agent-card .run:focus-visible .ac-arr { transform: translateX(4px); background: var(--a); color: #fff; }
.agent-card .run:focus-visible { outline: 2px solid var(--a); outline-offset: 4px; border-radius: 6px; }

/* Product hero headline: two balanced halves, one per line */
.p-hero h1 em { display: block; }

/* ---------- Features: separate cards in the product's colour (same style as the homepage "At a glance") ---------- */
.feat-grid, .feat-grid.c3 { gap: 16px; border: 0; border-radius: 0; overflow: visible; }
.feat {
  display: flex; flex-direction: column; border-radius: 24px; isolation: isolate;
  border: 1px solid color-mix(in srgb, var(--a) 24%, var(--line));
  background: radial-gradient(120% 80% at 100% 0%, color-mix(in srgb, var(--a) 14%, transparent), transparent 60%), var(--card);
  transition: transform .35s cubic-bezier(.22, 1, .36, 1), border-color .3s, box-shadow .35s;
}
.feat::after { content: ""; position: absolute; left: 26px; right: 26px; top: 0; height: 3px; border-radius: 0 0 3px 3px;
  background: linear-gradient(90deg, var(--a), var(--a2-light)); }
.feat:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--a) 55%, transparent);
  box-shadow: 0 22px 44px -28px color-mix(in srgb, var(--a) 75%, transparent); }
.feat .ic-s { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; font-size: 21px; margin-bottom: 20px; color: #fff;
  background: linear-gradient(140deg, var(--a2-light), var(--a)); border: 0; box-shadow: 0 10px 22px -10px var(--a); }
.feat .ic-s svg { width: 1em; height: 1em; }
.feat h3 { font-size: 21px; font-weight: 700; }
.feat p { line-height: 1.6; }
.feat li svg { flex: none; width: 18px; height: 18px; padding: 3px; margin-top: 1px; border-radius: 50%; color: #fff; background: var(--a); }
@media (prefers-reduced-motion: reduce) { .feat { transition: none; } .feat:hover { transform: none; } }
.feat .ic-s { background: linear-gradient(140deg, var(--a), color-mix(in srgb, var(--a) 62%, #000)); }
.feat .ic-s svg { stroke-width: 2.2; }
@media (prefers-reduced-motion: reduce) { .feat { transition: none; } .feat:hover { transform: none; } }
.feat .ic-s { background: linear-gradient(140deg, var(--a), color-mix(in srgb, var(--a) 62%, #000)); }
.feat .ic-s svg { stroke-width: 2.2; }

/* "Explore more" button inside the last tile of the product page features grid */
/* Last tile: the whole tile is the Explore more link */
.feat.feat-more { flex-direction: row; align-items: center; justify-content: center; text-align: center; gap: 16px; min-height: 220px; color: #fff; text-decoration: none;
  border-color: transparent; background: radial-gradient(90% 90% at 100% 0%, rgba(255, 255, 255, .22), transparent 60%), linear-gradient(140deg, var(--a), color-mix(in srgb, var(--a) 58%, #000)); }
.feat.feat-more::after, .feat.feat-more::before { display: none; }
.feat-more .fm-txt { font-family: var(--mz-font-display); font-size: clamp(26px, 2.4vw, 34px); font-weight: 720; letter-spacing: -0.03em; line-height: 1.05; }
.feat-more .fm-arrow { flex: none; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: rgba(255, 255, 255, .18);
  border: 1px solid rgba(255, 255, 255, .35); transition: transform .35s cubic-bezier(.22, 1, .36, 1), background .3s; }
.feat-more .fm-arrow svg { width: 24px; height: 24px; transform: rotate(-45deg); transition: transform .35s cubic-bezier(.22, 1, .36, 1); }
.feat.feat-more:hover { opacity: 1; border-color: transparent; box-shadow: 0 24px 50px -24px var(--a); }
.feat.feat-more:hover .fm-arrow { background: #fff; color: var(--a); }
.feat.feat-more:hover .fm-arrow svg { transform: rotate(0deg); }

/* Lens: AI platforms bar under the hero, scrolling left to right */
.ai-marquee { position: relative; z-index: 2; padding: 0 0 clamp(28px, 4vw, 48px); }
.ai-mq-box { overflow: hidden; padding: 16px 0; border-radius: 18px; border: 1px solid var(--line); background: color-mix(in srgb, var(--card) 70%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.ai-mq-track { list-style: none; margin: 0; padding: 0; display: flex; width: max-content; animation: aiMq 38s linear infinite; }
.ai-mq-track li { display: inline-flex; align-items: center; gap: 10px; padding: 0 30px; font-size: 17px; font-weight: 600; color: var(--hi); white-space: nowrap; opacity: .8; transition: opacity .25s; }
.ai-mq-track li:hover { opacity: 1; }
.ai-mq-track .ai-logo { width: 26px; height: 26px; }
.ai-mq-box:hover .ai-mq-track { animation-play-state: paused; }
@keyframes aiMq { from { transform: translateX(-50%); } to { transform: translateX(0); } }
@media (prefers-reduced-motion: reduce) { .ai-mq-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; row-gap: 12px; } .ai-mq-track li[aria-hidden] { display: none; } }

/* Add-ons: a small table of paid extras shown under a product's plan cards */
/* A plan shown as a plain strip instead of a card (e.g. Free Trial on
   Lens) — no border-box/shadow of .plan, just a dashed-top divider. */
.trial-banner { margin-top: 18px; padding-top: 18px; border-top: 1px dashed var(--line); }
.trial-banner-main { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.trial-banner-name { font-weight: 700; margin-right: 10px; }
.trial-banner-desc { color: var(--ink-2); font-size: 14px; }
.trial-banner-cta { display: flex; align-items: center; gap: 14px; }
.trial-banner-price { font-weight: 700; }
.trial-banner-items { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 12px 0 0; padding: 0; list-style: none; font-size: 13px; color: var(--ink-2); }
.trial-banner-items li { display: flex; align-items: center; gap: 5px; }
.trial-banner-items svg { width: 13px; height: 13px; flex-shrink: 0; }

.addons-table { margin-top: clamp(32px, 5vw, 56px); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: color-mix(in srgb, var(--card) 70%, transparent); }
.addons-table h3 { margin: 0; padding: 18px 22px; font-size: 17px; font-weight: 700; color: var(--hi); border-bottom: 1px solid var(--line); }
.addons-table table { width: 100%; border-collapse: collapse; }
.addons-table th, .addons-table td { padding: 12px 22px; text-align: left; font-size: 14px; }
.addons-table th { color: var(--ink-2); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; background: color-mix(in srgb, var(--card) 85%, transparent); }
.addons-table td { color: var(--ink); border-top: 1px solid var(--line); }
.addons-table td:nth-child(2) { color: var(--c, var(--brand)); font-weight: 600; white-space: nowrap; }
.addons-table td:nth-child(3) { color: var(--ink-2); }
.addons-table th:nth-child(4), .addons-table td:nth-child(4) { width: 1%; white-space: nowrap; text-align: right; }
@media (max-width: 640px) {
  .addons-table th:nth-child(3), .addons-table td:nth-child(3) { display: none; }
}
