/* Hallmark · genre: modern-minimal · macrostructure: Workbench · tone: graphite + cobalt, product-led · anchor hue: cobalt #315DFF
 * Home page sections of the White Page Kit landing. Loaded only by landing.php, after landing.css (shared
 * palette roles, header, footer). Colours come from the --wpk-color-* roles, so the page follows
 * prefers-color-scheme; .lt-dark bands stay graphite in both schemes and .lt-close is the cobalt field. */
body.landing-page {
  --lt-ground: #16161D;
  --lt-ground-raised: #1D1E27;
  --lt-ground-hover: #2B2D38;
  --lt-ground-line: #343641;
  --lt-ground-strong: #747B8B;
  --lt-ground-ink: #F4F6FA;
  --lt-ground-muted: #B1B7C3;
  --lt-ground-accent: #B4C4FF;
  --lt-radius: 0.75rem;
  --lt-radius-lg: 1.25rem;
  --lt-pad: clamp(3rem, 2rem + 3.5vw, 4.75rem);
  caret-color: var(--wpk-color-brand);
}
body.landing-page ::selection { background: var(--wpk-color-brand); color: var(--wpk-color-on-navy); }

/* Always-graphite band (kit mosaic, API): re-points the colour roles for everything inside. */
.lt-dark {
  --wpk-color-ink: var(--lt-ground-ink);
  --wpk-color-muted: var(--lt-ground-muted);
  --wpk-color-caption: var(--lt-ground-muted);
  --wpk-color-border: var(--lt-ground-line);
  --wpk-color-card-border: var(--lt-ground-line);
  --wpk-color-border-strong: var(--lt-ground-strong);
  --wpk-color-control-border: var(--lt-ground-strong);
  --wpk-color-surface: var(--lt-ground-raised);
  --wpk-color-surface-hover: var(--lt-ground-hover);
  --wpk-color-focus: var(--lt-ground-accent);
  --wpk-color-heading-accent: var(--lt-ground-accent);
  background: var(--lt-ground);
  color: var(--lt-ground-ink);
  color-scheme: dark;
}

/* ---------- Shared section type ---------- */
.lt-section { padding-block: var(--lt-pad); scroll-margin-block-start: 5rem; }
.lt-band { background: var(--wpk-color-surface-section); border-block: 1px solid var(--wpk-color-border); }
.lt-head { max-width: 46rem; margin-block-end: clamp(1.5rem, 1.2rem + 1.4vw, 2.5rem); }
.lt-head-row { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem 2rem; max-width: none; }
.lt-hero h1,
.lt-title {
  margin: 0;
  font-family: var(--wpk-font-display);
  font-weight: 700;
  letter-spacing: -0.035em;
  text-wrap: balance;
  overflow-wrap: anywhere;
  hyphens: auto;
  min-width: 0;
}
.lt-title { font-size: clamp(1.875rem, 1.25rem + 2.6vw, 3.125rem); line-height: 1.08; }
.lt-head .lt-title + .lt-lead { margin-block-start: 1rem; }
.lt-lead { margin: 0; max-width: 60ch; color: var(--wpk-color-muted); font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem); line-height: 1.6; text-wrap: pretty; }
h3 { margin: 0; font-family: var(--wpk-font-display); font-size: 1.25rem; font-weight: 700; line-height: 1.25; letter-spacing: -0.015em; overflow-wrap: anywhere; hyphens: auto; }
html[dir="rtl"] body.landing-page :is(h1, h2, h3) { letter-spacing: 0; line-height: 1.35; }
.lt-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.lt-link {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  min-height: 2.75rem;
  color: var(--wpk-color-heading-accent);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.35rem;
}
.lt-link:hover { text-decoration-thickness: 2px; }
/* Arrow nudge on every CTA and text link. `translate` sits outside the RTL scaleX flip. */
[dir="rtl"] .lt-flip { transform: scaleX(-1); }
.wpk-btn .lt-flip,
.lt-link .lt-flip { transition: translate var(--wpk-duration-base) var(--wpk-ease-out); }
.wpk-btn:hover .lt-flip,
.lt-link:hover .lt-flip { translate: 4px 0; }
html[dir="rtl"] .wpk-btn:hover .lt-flip,
html[dir="rtl"] .lt-link:hover .lt-flip { translate: -4px 0; }

/* ---------- Hero: offer first, then real renderer output in a browser frame ---------- */
.lt-hero { position: relative; isolation: isolate; overflow: clip; padding-block: clamp(2.5rem, 1.5rem + 5vw, 6rem) 0; }
.lt-hero-grid { display: grid; gap: clamp(2.5rem, 2rem + 3vw, 4.5rem); align-items: center; }
.lt-hero-copy { display: grid; justify-items: start; gap: 1.5rem; min-width: 0; }
.lt-hero h1 { font-size: clamp(2.5rem, 1.25rem + 4.4vw, 4.5rem); line-height: 1.04; overflow-wrap: break-word; hyphens: manual; }
html[dir="rtl"] .lt-hero h1 { font-size: clamp(2.25rem, 1.25rem + 3.8vw, 4rem); }
.lt-accent { display: block; color: var(--wpk-color-heading-accent); }
.lt-hero .lt-lead { max-width: 50ch; }
.lt-hero .lt-actions { margin-block-start: 0.5rem; }
.lt-points { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; margin: 0; padding: 0; list-style: none; color: var(--wpk-color-muted); font-size: 0.9375rem; }
.lt-points li { display: inline-flex; align-items: center; gap: 0.5rem; }
.lt-points .wpk-icon { color: var(--wpk-color-check); stroke-width: 2.5; }

.lt-hero-visual { position: relative; isolation: isolate; min-width: 0; padding-block-end: 0.5rem; }
.lt-shot { margin: 0; }
.lt-frame { overflow: hidden; border: 1px solid var(--wpk-color-border-stage); border-radius: var(--lt-radius); background: var(--wpk-color-surface-raised); }
.lt-frame img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; object-position: top; }
.lt-shot--main .lt-frame { border-radius: var(--lt-radius-lg); box-shadow: var(--wpk-shadow-stage); }
.lt-frame-bar { display: flex; gap: 0.375rem; padding: 0.6875rem 1rem; border-block-end: 1px solid var(--wpk-color-border); background: var(--wpk-color-surface); }
.lt-frame-bar i { inline-size: 0.625rem; block-size: 0.625rem; border-radius: 50%; background: var(--wpk-color-border-strong); opacity: 0.45; }
.lt-shot figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.25rem 1rem; margin-block-start: 0.75rem; color: var(--wpk-color-caption); font-size: 0.8125rem; }
.lt-shot--aux { display: none; }
@media (min-width: 640px) {
  .lt-hero-visual::before { content: ""; position: absolute; z-index: -1; inset: 10% -4% -5% 12%; border-radius: var(--lt-radius-lg); background: var(--wpk-color-brand-tint); }
  /* Deck: the other kits sit behind the main frame, offset up and outward, so the catalogue reads as a stack. */
  .lt-shot--aux { position: absolute; display: block; inset: 0 0 auto; z-index: -1; transform-origin: top; }
  .lt-shot--aux .lt-frame { box-shadow: var(--wpk-shadow-card-hover); }
  .lt-shot--a { transform: translate(1.25rem, -1.25rem) scale(0.97); }
  .lt-shot--b { transform: translate(2.5rem, -2.5rem) scale(0.94); }
  [dir="rtl"] .lt-shot--a { transform: translate(-1.25rem, -1.25rem) scale(0.97); }
  [dir="rtl"] .lt-shot--b { transform: translate(-2.5rem, -2.5rem) scale(0.94); }
}
@media (min-width: 1024px) {
  .lt-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
}
@media (prefers-reduced-motion: no-preference) {
  .lt-hero-copy > * { animation: lt-rise var(--wpk-duration-hero) var(--wpk-ease-out) both; }
  .lt-hero-copy > :nth-child(2) { animation-delay: 80ms; }
  .lt-hero-copy > :nth-child(3) { animation-delay: 160ms; }
  .lt-hero-copy > :nth-child(4) { animation-delay: 240ms; }
}
@keyframes lt-rise {
  from { opacity: 0; transform: translateY(var(--wpk-motion-distance-hero)); }
  to { opacity: 1; transform: none; }
}

/* Facts bar: three catalogue facts, one bordered strip at the foot of the hero. */
.lt-facts-wrap { padding-block: clamp(1.5rem, 1rem + 2vw, 2.5rem) clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.lt-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; overflow: hidden; border: 1px solid var(--wpk-color-border); border-radius: var(--lt-radius-lg); background: var(--wpk-color-page); box-shadow: var(--wpk-shadow-card); }
.lt-facts li { display: grid; justify-items: center; gap: 0.125rem; min-width: 0; padding: clamp(0.875rem, 0.5rem + 1.5vw, 1.5rem) 0.5rem; text-align: center; }
.lt-facts li + li { border-inline-start: 1px solid var(--wpk-color-border); }
.lt-facts strong { color: var(--wpk-color-heading-accent); font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.25rem); line-height: 1.1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.lt-facts span { color: var(--wpk-color-muted); font-size: clamp(0.75rem, 0.7rem + 0.25vw, 0.9375rem); line-height: 1.35; overflow-wrap: anywhere; }

/* ---------- How it works: four steps on a graphite band; reading fills the rule above each one ---------- */
.lt-steps { display: grid; gap: 2.5rem; margin: 0; padding: 0; list-style: none; counter-reset: lt-step; }
.lt-steps > li { position: relative; display: flex; flex-direction: column; gap: 0.625rem; padding-block-start: 1.5rem; border-block-start: 1px solid var(--wpk-color-border); counter-increment: lt-step; }
.lt-steps > li::before { content: counter(lt-step, decimal-leading-zero); margin-block-end: 1rem; color: var(--wpk-color-heading-accent); font-size: clamp(2.5rem, 2rem + 2vw, 3.5rem); font-weight: 700; line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; transition: opacity 450ms var(--wpk-ease-out); }
.lt-steps > li::after { content: ""; position: absolute; inset-block-start: -1px; inset-inline: 0; block-size: 2px; background: var(--wpk-color-heading-accent); transform-origin: left; transition: transform 800ms var(--wpk-ease-out); }
html[dir="rtl"] .lt-steps > li::after { transform-origin: right; }
.lt-js .lt-steps > li:not(.is-read)::before { opacity: 0.4; }
.lt-js .lt-steps > li:not(.is-read)::after { transform: scaleX(0); }
@media (prefers-reduced-motion: reduce) {
  .lt-js .lt-steps > li:not(.is-read)::before { opacity: 1; }
  .lt-js .lt-steps > li:not(.is-read)::after { transform: none; }
}
.lt-steps h3 { font-size: 1.375rem; }
.lt-steps p { max-width: 36ch; margin: 0; color: var(--wpk-color-muted); font-size: 1.0625rem; line-height: 1.6; }
@media (min-width: 640px) { .lt-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3rem 2rem; } }
@media (min-width: 1000px) { .lt-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; } }

/* ---------- Features: a bento of four tiles, each shown with its own real material ---------- */
.lt-bento { display: grid; gap: 1rem; margin: 0; padding: 0; list-style: none; }
.lt-tile { --pad: clamp(1.25rem, 1rem + 1vw, 2rem); position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 1.75rem; min-width: 0; padding: var(--pad); overflow: hidden; border: 1px solid var(--wpk-color-card-border); border-radius: var(--lt-radius-lg); background: var(--wpk-color-page); transition: transform 280ms var(--wpk-ease-out), border-color 280ms var(--wpk-ease-out), box-shadow 280ms var(--wpk-ease-out); }
.lt-tile-text { display: grid; align-content: start; gap: 0.625rem; max-width: 34rem; }
.lt-tile p { margin: 0; color: var(--wpk-color-muted); line-height: 1.6; }
.lt-icon { display: grid; place-items: center; inline-size: 2.5rem; block-size: 2.5rem; margin-block-end: 0.5rem; border-radius: var(--wpk-radius-panel); background: var(--wpk-color-brand-tint); color: var(--wpk-color-heading-accent); }
.lt-tile--fast { border-color: var(--wpk-color-brand); background: var(--wpk-color-brand); color: var(--wpk-color-on-navy); }
.lt-tile--fast p { color: var(--wpk-color-on-navy); opacity: 0.9; }
.lt-tile--fast .lt-icon { background: #FFFFFF2E; color: var(--wpk-color-on-navy); }
.lt-tile--fast h3 { font-size: clamp(1.625rem, 1.2rem + 1.2vw, 2.125rem); line-height: 1.15; letter-spacing: -0.02em; text-wrap: balance; }
.lt-tile--fast p { font-size: 1.0625rem; }
/* Screenshot bleeds off the tile edge. */
.lt-tile-art--shot { margin: 0 calc(var(--pad) * -1) calc(var(--pad) * -1); border-block-start: 1px solid var(--wpk-color-border); }
.lt-tile-art--shot img { display: block; inline-size: 100%; block-size: auto; aspect-ratio: 3 / 2; object-fit: cover; object-position: top; }
.lt-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0; padding: 0; list-style: none; }
.lt-chips li { padding: 0.25rem 0.75rem; border: 1px solid var(--wpk-color-border); border-radius: 999px; background: var(--wpk-color-surface); color: var(--wpk-color-ink); font-size: 0.875rem; line-height: 1.5; }
.lt-chips--mono li { font-family: var(--wpk-font-mono); font-size: 0.8125rem; }
@media (hover: hover) {
  .lt-tile:hover { transform: translateY(-4px); border-color: var(--wpk-color-border-strong); box-shadow: 0 18px 40px -20px #16161D59; }
  .lt-tile-art--shot img { transition: transform 700ms var(--wpk-ease-out); }
  .lt-tile:hover .lt-tile-art--shot img { transform: scale(1.04); }
}
@media (min-width: 640px) { .lt-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } .lt-tile--editor, .lt-tile--host { grid-column: 1 / -1; } }
@media (min-width: 1000px) {
  .lt-bento { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .lt-tile--editor { grid-column: 1 / -1; flex-direction: row; justify-content: flex-start; gap: 2rem; max-block-size: 22rem; }
  .lt-tile--editor .lt-tile-text { flex: 1 1 0; }
  .lt-tile--editor .lt-tile-art--shot { flex: 1.8 1 0; margin: calc(var(--pad) * -1) calc(var(--pad) * -1) calc(var(--pad) * -1) 0; border-block-start: 0; border-inline-start: 1px solid var(--wpk-color-border); }
  html[dir="rtl"] .lt-tile--editor .lt-tile-art--shot { margin: calc(var(--pad) * -1) 0 calc(var(--pad) * -1) calc(var(--pad) * -1); }
  .lt-tile--editor .lt-tile-art--shot img { block-size: 100%; aspect-ratio: auto; object-position: top left; }
  .lt-tile--langs, .lt-tile--fast, .lt-tile--host { grid-column: span 2; }
}

/* ---------- Examples: real renderer screenshots of fictional sites ---------- */
.lt-examples { display: grid; gap: 1.75rem 1.5rem; margin: 0; padding: 0; list-style: none; }
.lt-example { margin: 0; }
.lt-example img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; object-position: top; border: 1px solid var(--wpk-color-border-stage); border-radius: var(--lt-radius-lg); background: var(--wpk-color-surface-raised); transition: transform 380ms var(--wpk-ease-out), box-shadow 380ms var(--wpk-ease-out); }
.lt-example figcaption { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.25rem 1rem; padding-block-start: 0.875rem; }
.lt-example strong { font-size: 1.0625rem; }
.lt-example span,
.lt-example em { color: var(--wpk-color-caption); font-size: 0.875rem; font-style: normal; }
.lt-example em { margin-inline-start: auto; }
.lt-note { max-width: 60ch; margin: 2.5rem 0 0; color: var(--wpk-color-caption); font-size: 0.9375rem; line-height: 1.6; }
@media (min-width: 640px) { .lt-examples { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .lt-examples { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (hover: hover) { .lt-example:hover img { transform: translateY(-6px); box-shadow: var(--wpk-shadow-stage); } }

/* ---------- Design-kit mosaic: edge-to-edge renders, catalog size stated beneath ---------- */
.lt-kitband { padding-block-end: var(--lt-pad); }
.lt-kitwall { display: grid; gap: 2px; margin: 0 0 clamp(2rem, 4vw, 3.5rem); overflow: hidden; }
.lt-kitrow { display: grid; grid-template-columns: repeat(6, minmax(9rem, 1fr)); gap: 2px; margin: 0; padding: 0; list-style: none; }
.lt-kitrow li { overflow: hidden; background: var(--lt-ground-raised); }
.lt-kitrow img { display: block; inline-size: 100%; block-size: auto; aspect-ratio: 3 / 2; object-fit: cover; transition: transform 500ms var(--wpk-ease-out); }
/* Rows slide in opposite directions as the band scrolls through the viewport (scroll-driven; static otherwise). */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .lt-kitrow { inline-size: 118%; margin-inline: -9%; animation: lt-slide linear both; animation-timeline: view(); animation-range: entry 0% exit 100%; --lt-from: 7%; }
    .lt-kitrow:nth-child(2) { --lt-from: -7%; }
  }
}
@keyframes lt-slide { from { translate: var(--lt-from) 0; } to { translate: calc(var(--lt-from) * -1) 0; } }
.lt-kitband-foot { display: grid; gap: 1.5rem 4rem; align-items: end; }
.lt-kitband-foot .lt-lead { margin-block-end: 0.75rem; }
@media (min-width: 1000px) { .lt-kitrow { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
@media (min-width: 900px) { .lt-kitband-foot { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
@media (hover: hover) { .lt-kitrow li:hover img { transform: scale(1.05); } }

/* ---------- Ad platforms: campaign contexts, never partners ----------
 * Static default (no JS, reduced motion): one canonical list as a wrapping grid, every logo and name visible.
 * Motion (JS setup + no-preference): two aria-hidden-twinned lanes travel in opposite directions behind soft
 * edge masks. Marks sit on light plates so original logo artwork (black, coloured, wordmark) is never recoloured.
 * Pause: user button (.is-paused), pointer hover, focus within, off-screen (.is-offscreen), hidden tab. */
.lt-wall { display: grid; gap: 1.75rem; min-width: 0; }
.lt-lanes { display: grid; gap: 0.75rem; min-width: 0; direction: ltr; }
.lt-lane { min-width: 0; }
.lt-lane--rev,
.lt-lane-list[aria-hidden] { display: none; }
.lt-lane-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr)); gap: 0.75rem; margin: 0; padding: 0; list-style: none; }
.lt-plat { display: flex; align-items: center; gap: 0.875rem; min-width: 0; padding: 0.5rem 1.25rem 0.5rem 0.5rem; border: 1px solid var(--wpk-color-card-border); border-radius: var(--lt-radius); background: var(--wpk-color-page); }
.lt-plat-mark { display: grid; place-items: center; flex: none; box-sizing: border-box; min-inline-size: 3.5rem; block-size: 3.5rem; padding: 0.5rem 0.75rem; border: 1px solid var(--wpk-color-border); border-radius: 0.5rem; background: #FFFFFF; }
.lt-plat-mark img { display: block; block-size: 2.5rem; inline-size: auto; max-inline-size: 7.5rem; object-fit: contain; }
.lt-plat-mark--outbrain { background: var(--lt-ground); }
.lt-plat-name { min-width: 0; color: var(--wpk-color-ink); font-size: 1rem; font-weight: 600; line-height: 1.3; letter-spacing: -0.01em; overflow-wrap: anywhere; }
.lt-wall-foot { display: grid; gap: 1.25rem 4rem; align-items: start; }
.lt-wall-text { display: grid; gap: 0.75rem; min-width: 0; }
.lt-platforms-other { margin: 0; max-width: 40ch; font-size: 1.125rem; font-weight: 600; line-height: 1.45; text-wrap: balance; }
.lt-platforms-note { margin: 0; max-width: 65ch; color: var(--wpk-color-muted); font-size: 0.9375rem; line-height: 1.7; text-wrap: pretty; }
.lt-rail-toggle { display: none; align-items: center; justify-content: center; gap: 0.625rem; min-inline-size: 2.75rem; min-block-size: 2.75rem; padding-inline: 1.125rem; border: 1px solid var(--wpk-color-control-border); border-radius: var(--wpk-radius-button); background: transparent; color: var(--wpk-color-ink); font: inherit; font-size: 0.9375rem; font-weight: 600; cursor: pointer; transition: background-color var(--wpk-duration-base) var(--wpk-ease-out), border-color var(--wpk-duration-base) var(--wpk-ease-out); }
.lt-rail-toggle:hover { background: var(--wpk-color-surface-hover); border-color: var(--wpk-color-border-strong); }
.lt-rail-toggle:active { transform: translateY(1px); }
.lt-ico { inline-size: 1.125rem; block-size: 1.125rem; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lt-ico-play,
.lt-wall.is-paused .lt-ico-pause { display: none; }
.lt-wall.is-paused .lt-ico-play { display: block; }
@media (min-width: 900px) {
  .lt-wall-foot { grid-template-columns: minmax(0, 1fr) auto; }
  .lt-rail-toggle { justify-self: end; }
}
@media (prefers-reduced-motion: no-preference) {
  .lt-wall.is-live .lt-rail-toggle { display: inline-flex; }
  .lt-wall.is-live .lt-lanes { overflow: hidden; -webkit-mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent); }
  .lt-wall.is-live .lt-lane--rev,
  .lt-wall.is-live .lt-lane-list[aria-hidden] { display: flex; }
  .lt-wall.is-live .lt-track { display: flex; inline-size: max-content; animation: lt-run 68s linear infinite; }
  .lt-wall.is-live .lt-lane--rev .lt-track { animation-duration: 84s; animation-direction: reverse; }
  .lt-wall.is-live .lt-lane-list { display: flex; flex: none; gap: 0.75rem; padding-inline-end: 0.75rem; }
  .lt-wall.is-live .lt-plat { flex: none; white-space: nowrap; }
  .lt-wall.is-paused .lt-track,
  .lt-wall.is-offscreen .lt-track,
  .lt-wall:focus-within .lt-track,
  .lt-wall.is-doc-hidden .lt-track { animation-play-state: paused; }
}
@media (prefers-reduced-motion: no-preference) and (hover: hover) {
  .lt-wall.is-live .lt-lanes:hover .lt-track { animation-play-state: paused; }
}
@keyframes lt-run { to { transform: translate3d(-50%, 0, 0); } }

/* ---------- Latest articles: cards come from blog.css, the list from the blog partial ---------- */
.lt-blog .blog-grid { margin: 0; }

/* ---------- API: actual contract and curl content, no simulated editor frame ---------- */
.lt-api { padding-block: var(--lt-pad); scroll-margin-block-start: 5rem; }
.lt-api-grid { display: grid; gap: 3rem; align-items: center; }
.lt-api .lt-title + .lt-lead { margin-block-start: 1rem; }
.lt-endpoints { max-width: 36rem; margin: 2rem 0 1rem; padding: 0; list-style: none; }
.lt-endpoints li { border-block-end: 1px solid var(--wpk-color-border); }
.lt-endpoints code { display: flex; flex-wrap: wrap; gap: 0.25rem 1rem; padding-block: 0.75rem; color: var(--wpk-color-ink); font: 0.8125rem/1.5 var(--wpk-font-mono); overflow-wrap: anywhere; }
.lt-method { min-inline-size: 3rem; flex: none; color: var(--wpk-color-muted); font-weight: 700; }
.lt-method--post { color: var(--wpk-color-heading-accent); }
.lt-code { min-width: 0; border: 1px solid var(--wpk-color-code-border); border-radius: var(--lt-radius); background: var(--wpk-color-code); }
.lt-code-label { margin: 0; padding: 0.875rem 1.25rem; border-block-end: 1px solid var(--wpk-color-code-border); color: var(--wpk-color-code-accent); font: 0.8125rem/1.5 var(--wpk-font-mono); text-align: left; }
.lt-code pre { margin: 0; padding: 1.25rem; overflow-x: auto; color: var(--wpk-color-code-ink); font: 0.8125rem/1.9 var(--wpk-font-mono); text-align: left; }
.lt-code code { font-family: inherit; }
@media (min-width: 1000px) { .lt-api-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 5rem; } }

/* ---------- FAQ: native details, every answer stays in the document for readers and crawlers ---------- */
.lt-faq-grid { display: grid; gap: 2rem 4rem; }
.lt-faq .lt-head { margin-block-end: 0; }
.lt-faq-list { display: grid; gap: 0.75rem; align-content: start; }
.lt-faq-item { border: 1px solid var(--wpk-color-card-border); border-radius: var(--lt-radius); background: var(--wpk-color-page); transition: border-color 220ms var(--wpk-ease-out), box-shadow 220ms var(--wpk-ease-out); }
.lt-faq-item[open] { border-color: var(--wpk-color-border-strong); box-shadow: var(--wpk-shadow-card); }
.lt-faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-block-size: 3.5rem; padding: 1.125rem 1.375rem; font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem); font-weight: 600; line-height: 1.35; cursor: pointer; list-style: none; border-radius: var(--lt-radius); }
.lt-faq-item summary::-webkit-details-marker { display: none; }
.lt-faq-item summary::after { content: ""; flex: none; inline-size: 1.75rem; block-size: 1.75rem; border-radius: 50%; background: linear-gradient(var(--wpk-color-heading-accent), var(--wpk-color-heading-accent)) center / 0.75rem 2px no-repeat, linear-gradient(var(--wpk-color-heading-accent), var(--wpk-color-heading-accent)) center / 2px 0.75rem no-repeat, var(--wpk-color-brand-tint); transition: transform 280ms var(--wpk-ease-out); }
.lt-faq-item[open] summary::after { background: linear-gradient(var(--wpk-color-on-navy), var(--wpk-color-on-navy)) center / 0.75rem 2px no-repeat, var(--wpk-color-brand); transform: rotate(180deg); }
.lt-faq-item p { max-width: 62ch; margin: 0; padding: 0 1.375rem 1.375rem; color: var(--wpk-color-muted); line-height: 1.7; }
@media (min-width: 1000px) {
  .lt-faq-grid { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); align-items: start; }
  .lt-faq .lt-head { position: sticky; inset-block-start: 6.5rem; }
}

/* ---------- Closing CTA: the cobalt field ---------- */
.lt-close { position: relative; isolation: isolate; overflow: clip; padding-block: clamp(4rem, 7vw, 7rem); background: var(--wpk-color-brand); color: var(--wpk-color-on-navy); --wpk-color-focus: var(--wpk-color-on-navy); }
.lt-close::before { content: ""; position: absolute; z-index: -1; inset-block-start: -45%; inset-inline-end: -8%; inline-size: 38rem; block-size: 38rem; border-radius: 50%; background: radial-gradient(circle, #FFFFFF2B, transparent 68%); }
.lt-close::after { content: ""; position: absolute; z-index: -1; inset-block-end: -50%; inset-inline-start: -10%; inline-size: 30rem; block-size: 30rem; border-radius: 50%; background: radial-gradient(circle, #16161D40, transparent 70%); }
.lt-close-grid { display: grid; gap: 2rem; align-items: end; }
.lt-close .lt-title { max-width: 20ch; font-size: clamp(2.25rem, 1.4rem + 3.8vw, 4.5rem); line-height: 1.04; }
.lt-close .lt-lead { margin-block-end: 2rem; color: var(--wpk-color-on-navy); }
body.landing-page .lt-close .wpk-btn { border-color: var(--wpk-color-on-navy); color: var(--wpk-color-on-navy); }
body.landing-page .lt-close .wpk-btn:hover { background: var(--wpk-color-brand-hover); }
body.landing-page .lt-close .wpk-btn-primary { background: var(--wpk-color-on-navy); color: var(--wpk-color-brand); }
body.landing-page .lt-close .wpk-btn-primary:hover { background: var(--wpk-color-final); }
@media (min-width: 900px) { .lt-close-grid { grid-template-columns: minmax(0, 6fr) minmax(0, 4fr); gap: 5rem; } }

/* Reduced motion: no transitions; every state is simply complete. */
@media (prefers-reduced-motion: reduce) {
  body.landing-page *,
  body.landing-page *::before,
  body.landing-page *::after { transition: none !important; }
}

/* ---------- Live layer: ambient motion, reveals, counters. Everything is visible without JS or with reduced motion. ---------- */
.lt-hero::before,
.lt-hero::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; filter: blur(70px); opacity: 0.6; pointer-events: none; }
.lt-hero::before { inline-size: 44rem; block-size: 44rem; inset-block-start: -16rem; inset-inline-end: -12rem; background: radial-gradient(circle, var(--wpk-color-brand-tint), transparent 70%); }
.lt-hero::after { inline-size: 32rem; block-size: 32rem; inset-block-end: -2rem; inset-inline-start: -10rem; background: radial-gradient(circle, color-mix(in srgb, var(--wpk-color-brand) 16%, transparent), transparent 70%); mask-image: linear-gradient(to top, transparent 2rem, #000 12rem); }
.lt-for { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.5rem; margin: 0; color: var(--wpk-color-muted); font-size: 1.0625rem; }
.lt-rotator { display: inline-block; min-inline-size: 8ch; padding: 0.125rem 0.75rem; border-radius: 999px; background: var(--wpk-color-brand-tint); color: var(--wpk-color-heading-accent); font-weight: 700; transition: opacity 280ms ease, transform 280ms ease; }
.lt-rotator.is-swapping { opacity: 0; transform: translateY(0.4em); }
.lt-shot--main img { transition: opacity 400ms ease; }
.lt-hero-visual.is-swapping .lt-shot--main img { opacity: 0.15; }

.landing-header { transition: box-shadow 200ms ease, background-color 200ms ease; }
.landing-header.is-stuck { box-shadow: 0 8px 24px -16px rgb(0 0 0 / 0.35); }

@media (hover: hover) {
  .lt-plat { transition: transform 220ms var(--wpk-ease-out), border-color 220ms; }
  .lt-plat:hover { transform: translateY(-2px); border-color: var(--wpk-color-border-strong); }
}

@media (prefers-reduced-motion: no-preference) {
  .lt-hero::before { animation: lt-drift 22s ease-in-out infinite alternate; }
  .lt-hero::after { animation: lt-drift 28s ease-in-out infinite alternate-reverse; }
  .lt-shot--a { animation: lt-float 7s ease-in-out infinite; }
  .lt-shot--b { animation: lt-float 9s ease-in-out -3s infinite; }
  .lt-js .lt-reveal:not(.is-in) { opacity: 0; }
  .lt-js .lt-reveal.is-in { animation: lt-reveal 700ms var(--wpk-ease-out) backwards; animation-delay: calc(var(--lt-i, 0) * 80ms); }
}
@keyframes lt-drift { to { transform: translate3d(3rem, 2rem, 0) scale(1.12); } }
@keyframes lt-float { 50% { translate: 0 -0.5rem; } }
@keyframes lt-reveal { from { opacity: 0; transform: translateY(1.5rem); } }

/* Pointer tilt: the hero preview leans toward the cursor, its stage tint drifts the other way (set by landing.js). */
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .lt-hero-visual { perspective: 1400px; }
  .lt-shot--main .lt-frame { transform: rotateY(calc(var(--px, 0) * 6deg)) rotateX(calc(var(--py, 0) * -5deg)); transition: transform 320ms var(--wpk-ease-out); }
  .lt-hero-visual::before { translate: calc(var(--px, 0) * -14px) calc(var(--py, 0) * -10px); transition: translate 420ms var(--wpk-ease-out); }
}

/* Smaller screens: fewer repeated previews and a compact static platform grid keep the page short. */
@media (min-width: 640px) and (max-width: 999px) {
  .lt-examples > li:nth-child(n+5) { display: none; }
}
@media (max-width: 639px) {
  .lt-examples > li:nth-child(n+4) { display: none; }
  .lt-blog .blog-grid > :nth-child(n+3) { display: none; }
  .lt-wall .lt-lane-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.5rem; }
  .lt-wall .lt-plat { gap: 0.5rem; padding: 0.375rem 0.5rem 0.375rem 0.375rem; }
  .lt-wall .lt-plat-mark { min-inline-size: 2.5rem; block-size: 2.5rem; padding: 0.25rem 0.5rem; }
  .lt-wall .lt-plat-mark img { block-size: 1.75rem; max-inline-size: 5rem; }
  .lt-wall .lt-plat-name { font-size: 0.8125rem; }
  .lt-wall .lt-plat-mark--outbrain img { max-inline-size: 3.5rem; }
}
