/* Product landings (/mcp, /winning-ads): loaded after styles.css and blog.css, uses their tokens.
   Same rules as blog.css: text never waits for an animation, motion only with
   prefers-reduced-motion: no-preference and only on transform, no blur on scrolling content,
   every box has its size before fonts arrive. */

/* ---------- hero: copy on the left, a double-bezel exhibit on the right ---------- */
.pl-hero { padding: 72px 0 96px; border-bottom: 0; overflow-x: clip; }
.pl-hero .wrap { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: 64px; align-items: center; }
.pl-hero h1 { margin-top: 24px; max-width: 15ch; font-size: clamp(38px, 3.9vw + 8px, 64px); line-height: 1.02; letter-spacing: -0.045em; text-wrap: balance; }
.pl-hero .lede { margin-top: 22px; max-width: 54ch; color: var(--ink-2); text-wrap: pretty; }
.pl-ctas { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.pl-ctas .cta-radar { text-decoration: none; }
.pl-hero .blog-hero-facts { margin-top: 28px; }
.pl-hero .crumbs { margin-bottom: 22px; }

/* the double bezel: a tinted tray (shell) around the card (core), concentric radii */
.pl-shell { padding: 6px; border-radius: var(--r-xl); background: var(--shell); box-shadow: 0 0 0 1px var(--shell-line); }
.pl-core { height: 100%; border-radius: calc(var(--r-xl) - 6px); background: var(--surface); box-shadow: inset 0 1px 0 var(--core-hi), var(--ambient); }
.pl-exhibit { position: relative; isolation: isolate; }
.pl-exhibit::before {
  content: ""; position: absolute; inset: -12% -8% -12% -8%; z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, var(--accent-soft), transparent 75%);
}
.pl-exhibit .chat { border: 0; border-radius: calc(var(--r-xl) - 6px); box-shadow: inset 0 1px 0 var(--core-hi), var(--ambient); }
.pl-exhibit .stats { margin: 0; }
.pl-exhibit-cap { margin-top: 12px; text-align: center; font-family: var(--mono); font-size: 12px; color: var(--ink-3); }

/* icons inside the example chat: thin inline strokes, no icon font */
.calls svg { flex: none; color: var(--c-accent); }

/* ---------- sections ---------- */
.pl-sec { padding: 104px 0 0; scroll-margin-top: 72px; }
.pl-sec:last-of-type { padding-bottom: 8px; }
.pl-head { max-width: 64ch; }
.pl-head h2 { margin-top: 14px; font-size: clamp(30px, 3.2vw, 44px); line-height: 1.08; letter-spacing: -0.035em; font-weight: 650; text-wrap: balance; }
.pl-head > p:not(.eyebrow) { margin-top: 16px; color: var(--ink-2); font-size: 18px; line-height: 1.6; text-wrap: pretty; }
.pl-head > p a, .pl-text a, .pl-note a, .pl-card p a { color: var(--accent); text-underline-offset: 3px; text-decoration-thickness: 1px; }
.pl-text { max-width: 68ch; margin-top: 20px; color: color-mix(in srgb, var(--ink) 84%, var(--bg)); font-size: 17px; line-height: 1.7; }
.pl-text p + p { margin-top: 14px; }
.pl-text strong { color: var(--ink); font-weight: 600; }
.pl-note { margin-top: 14px; font-size: 13.5px; line-height: 1.55; color: var(--ink-3); max-width: 80ch; }

/* ---------- bento of cards (tools, dimensions) ---------- */
.pl-bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 14px; margin-top: 36px; }
.pl-bento > li { display: flex; grid-column: span 4; }
.pl-bento > .pl-w7 { grid-column: span 7; }
.pl-bento > .pl-w5 { grid-column: span 5; }
.pl-bento > .pl-w12 { grid-column: span 12; }
.pl-bento .pl-shell { flex: 1; display: flex; transition: transform .7s var(--ease-spring), box-shadow .5s var(--ease); }
.pl-bento .pl-shell:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 40%, transparent); }
.pl-card { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 24px 24px 22px; }
.pl-card h3 { font-size: 20px; line-height: 1.25; letter-spacing: -0.02em; font-weight: 620; }
.pl-card p { color: var(--ink-2); font-size: 15.5px; line-height: 1.6; }
.pl-chip {
  align-self: flex-start; display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 999px;
  background: var(--accent-soft); color: var(--accent); font-family: var(--mono); font-size: 12px; letter-spacing: 0.02em;
}
.pl-ask { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); font-family: var(--mono); font-size: 13px; line-height: 1.55; color: var(--ink-2); }
.pl-ask::before { content: "Ask: "; color: var(--ink-3); }
.pl-w7 .pl-card { padding: 30px 30px 26px; background: radial-gradient(80% 90% at 100% 0%, var(--accent-soft), transparent 70%), var(--surface); }
.pl-w7 .pl-card h3 { font-size: 24px; }
.pl-w12 .pl-card { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.pl-w12 .pl-card p { flex: 1 1 320px; }
.pl-w12 .pl-ask { margin: 0; padding: 0; border: 0; flex: 0 1 auto; }

/* ten dimensions: numbered compact cards */
.pl-dims { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin-top: 32px; counter-reset: dim; }
.pl-dims li {
  counter-increment: dim; display: grid; gap: 6px; align-content: start; padding: 18px 18px 16px; border-radius: var(--r-l);
  background: var(--surface); box-shadow: 0 0 0 1px var(--shell-line), inset 0 1px 0 var(--core-hi);
}
.pl-dims li::before { content: counter(dim, decimal-leading-zero); font-family: var(--mono); font-size: 12px; color: var(--accent); }
.pl-dims strong { font-size: 16px; font-weight: 620; letter-spacing: -0.01em; color: var(--ink); }
.pl-dims span { font-size: 14px; line-height: 1.5; color: var(--ink-2); }

/* ---------- setup: two paths side by side ---------- */
.pl-paths { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 36px; }
.pl-paths .pl-card { gap: 14px; padding: 26px; }
.pl-paths ol { display: grid; gap: 12px; counter-reset: step; }
.pl-paths ol > li { position: relative; padding-left: 36px; counter-increment: step; color: var(--ink-2); font-size: 15.5px; line-height: 1.6; }
.pl-paths ol > li::before {
  content: counter(step); position: absolute; left: 0; top: 1px; display: grid; place-items: center; width: 24px; height: 24px;
  border-radius: 50%; background: var(--shell); box-shadow: 0 0 0 1px var(--shell-line); font-family: var(--mono); font-size: 12px; color: var(--ink);
}
.pl-paths ol strong { color: var(--ink); font-weight: 600; }
.pl-paths code, .pl-text code { font-family: var(--mono); font-size: 0.88em; padding: 1px 6px; border-radius: 6px; background: var(--surface-2); color: var(--ink); overflow-wrap: anywhere; }
.pl-paths .setup { border-radius: 16px; }
.pl-paths .setup pre { white-space: pre-wrap; overflow-wrap: anywhere; }

/* ---------- prompt examples: what you ask, what comes back ---------- */
.pl-prompts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 36px; }
.pl-prompts > li { display: flex; }
.pl-prompts .pl-card { gap: 16px; padding: 26px; }
.pl-you {
  align-self: flex-start; max-width: 100%; padding: 12px 16px; border-radius: 16px 16px 16px 4px;
  background: var(--surface-2); box-shadow: 0 0 0 1px var(--shell-line); color: var(--ink); font-size: 16px; line-height: 1.5;
}
.pl-calls { display: flex; flex-wrap: wrap; gap: 6px; }
.pl-calls li { font-family: var(--mono); font-size: 12px; line-height: 1; padding: 6px 9px; border-radius: 6px; background: var(--surface-2); box-shadow: 0 0 0 1px var(--shell-line); color: var(--ink-2); }
.pl-back { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.pl-prompts .pl-card > p:last-child { color: var(--ink-2); font-size: 15.5px; line-height: 1.65; }

/* ---------- example ads: the blog's ad cards, two per row ---------- */
.pl-ads { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 36px; align-items: start; }
.pl-ads .ad-card { margin: 0; }
.pl-ads .ad-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.pl-ads .ad-tags li { padding: 3px 10px; border-radius: 999px; background: var(--surface); box-shadow: 0 0 0 1px var(--shell-line); color: var(--ink-2); font-size: 13px; line-height: 20px; }
.pl-ads .ad-note { margin-top: 16px; }

/* ---------- lists and tables ---------- */
.pl-list { margin-top: 16px; display: grid; gap: 10px; }
.pl-list > li { position: relative; padding-left: 24px; }
.pl-list > li::before { content: ""; position: absolute; left: 0; top: 0.8em; width: 12px; height: 2px; background: var(--accent); }
.pl-sec .blog-table-wrap { max-width: 760px; }
.pl-sec .cmp-table-wrap { margin-top: 28px; }

/* related research: the arrow sits in its own circle */
.rr-f .nest { width: 26px; height: 26px; }
.rr-card:hover .rr-f .nest { background: var(--accent); color: var(--accent-ink); transform: translate(2px, -2px) scale(1.06); }

/* more comparisons: inline arrow instead of the icon font */
.cmp-more svg { flex: none; color: var(--accent); transition: transform .5s var(--ease-spring); }
.cmp-more a:hover svg { transform: translateX(3px); }

/* cards below the fold rise in as they scroll into view: CSS only, transform only */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .pl-bento > li, .pl-prompts > li, .pl-ads .ad-card, .pl-dims li, .pl-paths > .pl-shell {
      animation: blog-rise var(--ease) both; animation-timeline: view(); animation-range: entry 0% entry 40%;
    }
  }
}

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .pl-dims { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pl-bento > li, .pl-bento > .pl-w7, .pl-bento > .pl-w5 { grid-column: span 6; }
  .pl-bento > .pl-w7 { grid-column: span 12; }
}
@media (max-width: 900px) {
  .pl-hero { padding: 40px 0 64px; }
  .pl-hero .wrap { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .pl-paths, .pl-prompts, .pl-ads { grid-template-columns: minmax(0, 1fr); }
  .pl-sec { padding-top: 80px; }
}
@media (max-width: 640px) {
  .pl-hero { padding: 28px 0 56px; }
  .pl-hero h1 { margin-top: 18px; font-size: clamp(34px, 9.6vw, 44px); }
  .pl-hero .lede { font-size: 17px; }
  .pl-ctas .cta-radar { width: 100%; justify-content: space-between; }
  .pl-sec { padding-top: 72px; }
  .pl-head > p:not(.eyebrow) { font-size: 17px; }
  .pl-bento > li, .pl-bento > .pl-w7, .pl-bento > .pl-w5, .pl-bento > .pl-w12 { grid-column: span 12; }
  .pl-card, .pl-w7 .pl-card, .pl-paths .pl-card, .pl-prompts .pl-card { padding: 20px 18px 18px; }
  .pl-w7 .pl-card h3 { font-size: 21px; }
  .pl-shell { padding: 5px; border-radius: 22px; }
  .pl-core { border-radius: 17px; }
  .pl-dims { grid-template-columns: minmax(0, 1fr); }
  .pl-dims li { grid-template-columns: 3ch minmax(0, 1fr); column-gap: 12px; padding: 14px 16px; }
  .pl-dims li::before { grid-row: span 2; padding-top: 2px; }
  .pl-ads .ad-card { padding: 16px; border-width: 5px; border-radius: 22px; }
}
.pl-paths .setup code { padding: 0; border-radius: 0; background: none; color: inherit; font-size: inherit; }
.pl-hero + .wrap > .pl-sec:first-child { padding-top: 24px; }
@media (max-width: 640px) {
  .pl-exhibit .stat { grid-template-columns: minmax(0, 11ch) 1fr; }
}
