/* Marketing pages and MCP docs. The product mark, brand blue and warm orange
   extend the shared application tokens; spacing follows a 4px rhythm. */
.lp {
  --wrap: min(1200px, calc(100% - 40px));
  --lp-ink-soft: color-mix(in srgb, var(--ink) 76%, var(--surface));
  --lp-panel: color-mix(in srgb, var(--surface) 92%, var(--surface-3));
  --lp-shadow: 0 24px 60px rgba(19, 43, 74, .14), 0 4px 12px rgba(19, 43, 74, .07);
  --lp-space-1: 4px;
  --lp-space-2: 8px;
  --lp-space-3: 12px;
  --lp-space-4: 16px;
  --lp-space-6: 24px;
  --lp-space-8: 32px;
  --lp-space-12: 48px;
  --lp-space-16: 64px;
  min-height: 100vh;
  background:
    radial-gradient(ellipse at 82% 13%, color-mix(in srgb, var(--brand) 9%, transparent), transparent 34%),
    var(--canvas-glow), var(--canvas);
}
.lp-skip { position: absolute; left: -999px; top: 8px; background: var(--surface); color: var(--ink); padding: 10px 14px; border-radius: var(--radius-sm); z-index: 20; box-shadow: var(--shadow); }
.lp-skip:focus { left: 16px; }
.lp-nav { width: var(--wrap); min-height: 76px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 0; }
.lp-brand { display: flex; align-items: center; gap: 10px; min-width: max-content; font-weight: 800; color: var(--ink); text-decoration: none; letter-spacing: -.02em; }
.lp-brand img { border-radius: 11px; box-shadow: 0 4px 12px rgba(8, 104, 204, .18); }
.lp-links { display: flex; align-items: center; justify-content: flex-end; gap: 4px; flex-wrap: wrap; }
.lp-links a:not(.btn) { color: var(--ink-2); text-decoration: none; padding: 9px 11px; border-radius: var(--radius-sm); font-weight: 600; font-size: 14px; }
.lp-links a:not(.btn):hover, .lp-links a:not(.btn):focus-visible { background: var(--surface); color: var(--ink); }
.lp-main { width: var(--wrap); margin: 0 auto; display: grid; gap: clamp(68px, 9vw, 112px); padding: clamp(20px, 4.4vw, 56px) 0 80px; }
.lp-hero { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(36px, 5vw, 68px); align-items: center; }
.lp-hero-copy { display: grid; justify-items: start; align-content: center; gap: 22px; min-width: 0; }
.lp-hero h1 { max-width: 13ch; font-size: clamp(42px, 5.7vw, 70px); line-height: 1.04; letter-spacing: -.035em; font-weight: 780; text-wrap: balance; }
.lp-hero h1 em { color: var(--brand); font-style: normal; }
.lp-lead { max-width: 60ch; font-size: clamp(16px, 1.3vw, 18px); line-height: 1.72; color: var(--ink-2); }
.lp-compatibility { display: flex; align-items: center; gap: 9px; color: var(--ink); font-size: 14px; font-weight: 650; }
.lp-compatibility span { width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px var(--ok-bg); }
.lp-cta { display: flex; gap: 10px; flex-wrap: wrap; }
.lp-cta .btn { min-height: 48px; text-decoration: none; }
.lp-cta .btn.primary { padding-inline: 22px; }
.lp-cta .btn.primary svg { width: 15px; height: 15px; }
.lp-platforms { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 4px 0 0; }
.lp-platforms li { min-height: 34px; display: inline-flex; align-items: center; gap: 7px; padding: 6px 10px; border: 1px solid var(--line); background: color-mix(in srgb, var(--surface) 74%, transparent); border-radius: 999px; font-size: 12px; font-weight: 650; white-space: nowrap; }
.lp-platforms small { color: var(--ink-2); font-size: 11px; font-weight: 500; }

/* Product preview: illustrative, clearly captioned, and built from HTML/CSS. */
.lp-showcase { position: relative; min-width: 0; margin: 0; padding: 16px 0 0 14px; isolation: isolate; }
.lp-showcase::before { content: ""; position: absolute; z-index: -2; inset: 14% -4% 5% 12%; border-radius: 32px; background: color-mix(in srgb, var(--brand) 11%, transparent); transform: rotate(3deg); }
.lp-showcase-glow { position: absolute; z-index: -1; width: 55%; aspect-ratio: 1; right: 2%; top: 4%; border-radius: 50%; background: color-mix(in srgb, var(--accent) 24%, transparent); filter: blur(68px); }
.lp-window { overflow: hidden; border: 1px solid color-mix(in srgb, var(--ink) 15%, transparent); border-radius: 18px; background: var(--surface); box-shadow: var(--lp-shadow); transform: perspective(1400px) rotateY(-2deg) rotateX(1deg); transform-origin: center; }
.lp-window-bar { height: 44px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; padding: 0 15px; border-bottom: 1px solid var(--line); background: var(--surface); }
.lp-window-dots { display: inline-flex; gap: 5px; }
.lp-window-dots i { width: 7px; height: 7px; border-radius: 50%; background: #e7ad78; }
.lp-window-dots i:nth-child(2) { background: #e8cd7c; }
.lp-window-dots i:nth-child(3) { background: #81bb98; }
.lp-window-label { color: var(--ink-3); font-size: 10px; font-weight: 650; letter-spacing: .015em; }
.lp-window-avatar { justify-self: end; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 7px; background: var(--surface-3); color: var(--brand); font-size: 11px; font-weight: 800; }
.lp-product { min-height: 318px; display: grid; grid-template-columns: 52px minmax(0, 1fr); background: color-mix(in srgb, var(--surface-2) 68%, var(--surface)); }
.lp-product-nav { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 13px 7px; border-right: 1px solid var(--line); background: var(--surface); }
.lp-product-mark { width: 26px; height: 26px; display: grid; place-items: center; margin-bottom: 9px; border-radius: 8px; background: var(--brand); color: #fff; font-size: 12px; font-weight: 800; }
.lp-nav-icon { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 9px; color: var(--ink-3); }
.lp-nav-icon.active { background: var(--surface-3); color: var(--brand); }
.lp-nav-icon svg { width: 15px; height: 15px; stroke-width: 1.7; }
.lp-product-main { min-width: 0; padding: 19px clamp(12px, 2vw, 22px) 18px; }
.lp-product-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 16px; }
.lp-product-heading small, .lp-mini-card small, .lp-ai-card small { display: block; color: var(--ink-3); font-size: 8px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.lp-product-heading h2 { margin-top: 3px; font-size: clamp(14px, 1.5vw, 18px); letter-spacing: -.025em; }
.lp-product-filter { display: inline-flex; align-items: center; gap: 10px; padding: 6px 9px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--ink-2); font-size: 9px; white-space: nowrap; }
.lp-product-filter b { width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); font-size: 0; }
.lp-product-columns { display: grid; grid-template-columns: minmax(0, 1.28fr) minmax(118px, .82fr); gap: 11px; align-items: stretch; }
.lp-queue-card, .lp-mini-card, .lp-ai-card { min-width: 0; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.lp-queue-card { padding: 10px; }
.lp-queue-top { display: flex; align-items: center; gap: 7px; }
.lp-linkedin-mark { width: 19px; height: 19px; display: grid; place-items: center; border-radius: 5px; background: #0a66c2; color: white; font: 800 11px/1 Arial, sans-serif; letter-spacing: -.06em; }
.lp-post-state { display: inline-flex; align-items: center; gap: 5px; color: var(--ink-3); font-size: 8px; white-space: nowrap; }
.lp-post-state i { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); }
.lp-more { display: flex; gap: 2px; margin-left: auto; }
.lp-more i { width: 2px; height: 2px; border-radius: 50%; background: var(--ink-3); }
.lp-post-copy { margin: 8px 0 9px; color: var(--lp-ink-soft); font-size: 9px; line-height: 1.55; }
.lp-post-media { min-height: 105px; display: grid; place-content: center; justify-items: center; gap: 5px; overflow: hidden; border-radius: 7px; background: radial-gradient(ellipse at 62% 35%, rgba(77, 157, 221, .72), transparent 35%), linear-gradient(135deg, #142f4c, #1c5274 57%, #d68a46); color: white; font-size: 13px; font-weight: 750; letter-spacing: -.02em; }
.lp-media-orbit { position: relative; width: 25px; height: 25px; display: block; border: 1px solid rgba(255, 255, 255, .6); border-radius: 50%; }
.lp-media-orbit::before, .lp-media-orbit::after { content: ""; position: absolute; inset: 4px -3px; border: 1px solid rgba(255, 255, 255, .65); border-radius: 50%; transform: rotate(45deg); }
.lp-media-orbit::after { transform: rotate(-45deg); }
.lp-post-media small { color: rgba(255, 255, 255, .75); font-size: 6px; letter-spacing: .1em; }
.lp-post-footer { display: flex; justify-content: space-between; gap: 6px; margin-top: 9px; color: var(--ink-3); font-size: 7px; }
.lp-clock-mark { display: inline-block; width: 8px; height: 8px; margin: 0 3px -1px 0; border: 1px solid currentColor; border-radius: 50%; position: relative; }
.lp-clock-mark::after { content: ""; position: absolute; width: 2px; height: 2px; left: 3px; top: 1px; border-left: 1px solid currentColor; border-bottom: 1px solid currentColor; }
.lp-side-stack { display: grid; grid-template-rows: 1fr 1.15fr; gap: 10px; }
.lp-mini-card, .lp-ai-card { display: flex; flex-direction: column; align-items: flex-start; padding: 10px; }
.lp-mini-card b { margin-top: 7px; color: var(--ink); font-size: 9px; }
.lp-mini-card > span { margin-top: 2px; color: var(--ink-3); font-size: 7px; }
.lp-mini-line { width: 83%; height: 4px; margin-top: 9px; border-radius: 4px; background: var(--surface-3); }
.lp-mini-line.short { width: 55%; margin-top: 4px; }
.lp-ai-card { position: relative; border-color: color-mix(in srgb, var(--brand) 22%, var(--line)); background: color-mix(in srgb, var(--brand) 5%, var(--surface)); }
.lp-ai-spark { width: 19px; height: 19px; display: grid; place-items: center; margin-bottom: 8px; border-radius: 6px; background: var(--surface-3); color: var(--brand); }
.lp-ai-spark svg { width: 13px; height: 13px; fill: currentColor; stroke: none; }
.lp-ai-card p { margin-top: 6px; color: var(--ink-2); font-size: 8px; line-height: 1.5; }
.lp-ai-dots { display: flex; gap: 3px; margin-top: auto; padding-top: 8px; }
.lp-ai-dots i { width: 3px; height: 3px; border-radius: 50%; background: var(--brand); opacity: .6; }
.lp-showcase figcaption { display: flex; align-items: center; gap: 8px; justify-content: flex-end; padding: 12px 3px 0 0; color: var(--ink-2); font-size: 11px; }
.lp-caption-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

.lp-section { display: grid; gap: 22px; }
.lp-section > header { display: grid; gap: 9px; max-width: 72ch; }
.lp-section h2 { font-size: clamp(24px, 3vw, 34px); letter-spacing: -.025em; line-height: 1.15; text-wrap: balance; }
.lp-section > header p { color: var(--ink-2); line-height: 1.7; }
.lp-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 16px; }
.lp-card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 22px; display: grid; gap: 9px; align-content: start; box-shadow: var(--shadow); }
.lp-card h3 { font-size: 16px; }
.lp-card p { color: var(--ink-2); font-size: 14px; line-height: 1.65; }
.lp-ai { background: var(--lp-panel); border: 1px solid var(--line-strong); border-radius: 20px; padding: clamp(22px, 4vw, 40px); display: grid; gap: 22px; box-shadow: var(--shadow); }
.lp-ai-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 22px; align-items: start; }
.lp-chat { display: grid; gap: 10px; background: var(--surface-2); border-radius: 14px; padding: 18px; font-size: 14px; }
.lp-chat p { padding: 11px 13px; border-radius: 12px; max-width: 92%; }
.lp-chat .me { background: var(--brand); color: #fff; justify-self: end; }
.lp-chat .ai { background: var(--surface); border: 1px solid var(--line); }
.lp-steps { margin: 0; padding-left: 22px; display: grid; gap: 9px; color: var(--ink-2); }
.lp-steps strong { color: var(--ink); }
.lp-code { display: block; padding: 11px 13px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line); font-family: var(--mono); font-size: 13px; overflow-wrap: anywhere; white-space: pre-wrap; }
.lp-check { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.lp-check li { display: grid; grid-template-columns: 22px 1fr; gap: 8px; color: var(--ink-2); }
.lp-check li::before { content: ""; width: 7px; height: 11px; margin: 2px 0 0 6px; border-right: 2px solid var(--ok); border-bottom: 2px solid var(--ok); transform: rotate(45deg); }
.lp-check strong { color: var(--ink); }
.lp-faq { display: grid; gap: 10px; }
.lp-faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 15px 17px; }
.lp-faq summary { cursor: pointer; font-weight: 700; }
.lp-faq details p { margin-top: 9px; color: var(--ink-2); line-height: 1.65; }
.lp-foot { width: var(--wrap); margin: 0 auto; padding: 26px 0 42px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: space-between; color: var(--ink-2); font-size: 13px; }
.lp-foot nav { display: flex; flex-wrap: wrap; gap: 14px; }
.lp-foot a { color: var(--ink-2); }
.lp a:focus-visible, .lp summary:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }

/* MCP docs */
.doc { width: var(--wrap); margin: 0 auto; padding: 10px 0 72px; display: grid; gap: 30px; max-width: 860px; }
.doc h1 { font-size: clamp(28px, 4vw, 40px); letter-spacing: -.025em; }
.doc h2 { font-size: 22px; margin-top: 8px; }
.doc p, .doc li { color: var(--ink-2); line-height: 1.7; }
.doc section { display: grid; gap: 10px; }
.doc table { width: 100%; border-collapse: collapse; font-size: 14px; }
.doc th, .doc td { text-align: left; padding: 9px 11px; border-bottom: 1px solid var(--line); vertical-align: top; }
.doc th { color: var(--ink); }
.doc td code { word-break: normal; white-space: nowrap; }
.doc-table { overflow-x: auto; }

@media (max-width: 920px) {
  .lp { --wrap: min(calc(100% - 36px), 760px); }
  .lp-hero { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .lp-hero-copy { max-width: 680px; }
  .lp-hero h1 { max-width: 14ch; font-size: clamp(44px, 8.5vw, 66px); }
  .lp-showcase { width: min(100%, 680px); margin-inline: auto; }
  .lp-product { min-height: 300px; }
  .lp-main { gap: 76px; }
}
@media (max-width: 620px) {
  .lp { --wrap: calc(100% - 32px); }
  .lp-nav { min-height: 68px; gap: 8px; padding: 10px 0; }
  .lp-brand { gap: 8px; font-size: 14px; }
  .lp-brand img { width: 30px; height: 30px; }
  .lp-links { gap: 2px; }
  .lp-links a:not(.btn):not(.lp-lang) { display: none; }
  .lp-links a.lp-lang { padding: 7px 6px; font-size: 12px; white-space: nowrap; }
  .lp-links .btn.small { padding: 7px 9px; font-size: 12px; white-space: nowrap; }
  .lp-main { gap: 62px; padding: 30px 0 58px; }
  .lp-hero { gap: 29px; }
  .lp-hero-copy { gap: 18px; }
  .lp-hero h1 { max-width: 12ch; font-size: clamp(39px, 11vw, 54px); }
  .lp-lead { font-size: 15px; line-height: 1.7; }
  .lp-compatibility { font-size: 13px; }
  .lp-cta { width: 100%; }
  .lp-cta .btn { flex: 1 1 auto; min-height: 46px; padding-inline: 14px; font-size: 13px; }
  .lp-platforms { gap: 7px; }
  .lp-platforms li { min-height: 32px; gap: 5px; padding: 5px 8px; font-size: 11px; }
  .lp-platforms small { font-size: 10px; }
  .lp-showcase { width: auto; margin: 0; padding: 10px 0 0 6px; }
  .lp-showcase::before { right: 0; }
  .lp-window { border-radius: 14px; transform: none; }
  .lp-window-bar { height: 37px; padding: 0 10px; }
  .lp-product { grid-template-columns: 38px minmax(0, 1fr); min-height: 248px; }
  .lp-product-nav { gap: 7px; padding: 10px 4px; }
  .lp-product-mark { width: 23px; height: 23px; margin-bottom: 6px; }
  .lp-nav-icon { width: 27px; height: 27px; }
  .lp-product-main { padding: 13px 9px 12px; }
  .lp-product-heading { margin-bottom: 10px; }
  .lp-product-heading small { font-size: 6px; }
  .lp-product-heading h2 { font-size: 13px; }
  .lp-product-filter { gap: 6px; padding: 5px 6px; font-size: 8px; }
  .lp-product-columns { grid-template-columns: minmax(0, 1.2fr) minmax(88px, .8fr); gap: 7px; }
  .lp-queue-card { padding: 7px; }
  .lp-post-state { font-size: 6px; }
  .lp-post-copy { font-size: 7px; }
  .lp-post-media { min-height: 80px; font-size: 10px; }
  .lp-post-footer { font-size: 6px; }
  .lp-mini-card, .lp-ai-card { padding: 7px; }
  .lp-mini-card small, .lp-ai-card small { font-size: 6px; }
  .lp-mini-card b { font-size: 7px; }
  .lp-mini-card > span { font-size: 6px; }
  .lp-ai-card p { font-size: 6px; }
  .lp-ai-spark { width: 16px; height: 16px; margin-bottom: 6px; }
  .lp-showcase figcaption { padding-top: 9px; font-size: 10px; }
  .lp-ai { padding: 20px; border-radius: 16px; }
  .lp-foot { gap: 14px; }
}
@media (max-width: 380px) {
  .lp-brand { font-size: 12px; }
  .lp-brand img { width: 27px; height: 27px; }
  .lp-links a.lp-lang { font-size: 11px; }
  .lp-links .btn.small { padding-inline: 7px; font-size: 11px; }
  .lp-platforms li { font-size: 10px; }
  .lp-platforms small { font-size: 9px; }
}
@media (prefers-color-scheme: dark) {
  .lp { --lp-shadow: 0 24px 60px rgba(0, 0, 0, .42), 0 4px 12px rgba(0, 0, 0, .25); }
  .lp-showcase::before { background: color-mix(in srgb, var(--brand) 16%, transparent); }
  .lp-product { background: color-mix(in srgb, var(--surface-2) 76%, var(--canvas)); }
  .lp-post-copy { color: var(--ink-2); }
  .lp-post-media { background: radial-gradient(ellipse at 62% 35%, rgba(77, 157, 221, .58), transparent 35%), linear-gradient(135deg, #0b1e32, #164361 57%, #9b5e2c); }
}
@media (prefers-reduced-motion: no-preference) {
  .lp-hero-copy > *, .lp-showcase { animation: lp-arrive .7s cubic-bezier(.16, 1, .3, 1) both; }
  .lp-hero-copy > *:nth-child(2) { animation-delay: .05s; }
  .lp-hero-copy > *:nth-child(3) { animation-delay: .1s; }
  .lp-hero-copy > *:nth-child(4) { animation-delay: .15s; }
  .lp-hero-copy > *:nth-child(5) { animation-delay: .2s; }
  .lp-showcase { animation-delay: .12s; }
  .lp-card { transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
  .lp-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }
  .lp-cta .btn, .lp-links a:not(.btn) { transition: transform .18s var(--ease), background-color .18s var(--ease), color .18s var(--ease); }
  .lp-cta .btn:hover { transform: translateY(-1px); }
  @keyframes lp-arrive { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
}
@media (prefers-reduced-motion: reduce) {
  .lp *, .lp *::before, .lp *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
