/* landing v4 (owner 2026-11-07): a video hero (one rounded panel the width of the page, the headline bottom left), a
 * header that goes see-through over it once the page scrolls, the "Cheapest inference" strip in white, and the
 * "State-of-the-art models" carousel (landing/v4.js fills it from the catalogue). No inline styles (CSP). */

/* ---------- header: solid at the top, see-through once the page scrolls ---------- */
.lp-nav { transition: background-color 220ms ease, border-color 220ms ease; }
.lp-nav.is-stuck { background: rgba(12, 12, 12, .62); border-bottom-color: rgba(255, 255, 255, .06); }
.lp-nav__login { height: 40px; padding: 0 14px; }
.lp-nav__login, .lp-announce__go { border: 1px solid rgba(255, 255, 255, .7); border-radius: 8px; color: #fff; font-weight: 500; }
.lp-nav__login:hover, .lp-announce__go:hover { background: rgba(255, 255, 255, .08); }
.lp-nav__cta { height: 40px; padding: 0 16px; border-radius: 8px; }

/* ---------- the video hero ---------- */
:root { --lp-strip-h: 150px; }
.lp-vh { padding: 12px 12px 0; background: var(--lp-hero-bg); }
.lp-vh::before { display: none; }
/* the panel leaves the first screen's last ~150px to the strip, so both show at once (owner 2026-11-07) */
.lp-vh__frame { position: relative; overflow: hidden; height: calc(100vh - var(--lp-announce-h) - var(--lp-nav-h) - 12px - var(--lp-strip-h)); height: calc(100svh - var(--lp-announce-h) - var(--lp-nav-h) - 12px - var(--lp-strip-h)); min-height: 460px; max-height: 900px; border-radius: 14px; background: #111; }
.lp-vh__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* a light dim over the whole clip, darker behind the headline at the bottom left so it reads on any frame */
.lp-vh__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 0, 0, .62) 0%, rgba(0, 0, 0, .35) 45%, rgba(0, 0, 0, .12) 75%), linear-gradient(0deg, rgba(0, 0, 0, .35), rgba(0, 0, 0, 0) 55%); }
.lp-vh__copy { position: absolute; left: 0; right: 0; bottom: 0; padding: 0 max(28px, calc((100% - 1320px) / 2)) clamp(48px, 9vh, 96px); }
.lp-vh__title { margin: 0; color: #fff; font: 500 clamp(44px, 5.6vw, 88px)/1.02 var(--lp-font-body); letter-spacing: -0.04em; }
.lp-vh__lead { max-width: 560px; margin: 24px 0 0; color: rgba(255, 255, 255, .92); font: 400 18px/1.55 var(--lp-font-body); }
.lp-vh__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.lp-vh__cta .lp-btn, .lp-sota__cta .lp-btn { height: 46px; padding: 0 18px; border-radius: 8px; font-size: 16px; font-weight: 500; }
.lp-vh__alt { border: 1px solid rgba(255, 255, 255, .8); background: transparent; color: #fff; }
.lp-vh__alt:hover { background: rgba(255, 255, 255, .1); }

/* ---------- "Cheapest inference": the models we serve, in white, looping ---------- */
.lp-strip { box-sizing: border-box; min-height: var(--lp-strip-h); padding: 34px 0 30px; background: var(--lp-hero-bg); }
.lp-strip__k { margin: 0 0 24px; color: #9a9a9a; font: 500 13px/1 var(--lp-font-body); letter-spacing: .14em; text-transform: uppercase; text-align: center; }
.lp-strip__view { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.lp-strip__track { display: flex; align-items: center; gap: 64px; width: max-content; margin: 0; padding: 0 32px; list-style: none; }
.lp-strip__track.is-moving { animation: lp-strip 60s linear infinite; }
.lp-strip__view:hover .lp-strip__track { animation-play-state: paused; }
.lp-strip__track li { display: inline-flex; align-items: center; gap: 10px; color: #fff; font: 600 26px/1 var(--lp-font-body); letter-spacing: -0.03em; white-space: nowrap; }
/* each maker's SVG mark, made plain white (the marks have no background, so only the shape shows) */
.lp-strip__track img { flex: none; width: 26px; height: 26px; object-fit: contain; filter: brightness(0) invert(1); }
@keyframes lp-strip { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .lp-strip__track { flex-wrap: wrap; justify-content: center; width: auto; } }

/* ---------- the sections under the hero (owner 2026-11-07): our own clean style, one system for all of them ----------
 * Every section: a hairline across the top with a small numbered label on it ("01  Models"), a left-aligned headline,
 * one muted line and its buttons, then the content in one 1240px column. Cards are flat #0e0f11 panels with a hairline
 * edge and 16px corners; pictures are 4:5. No gradients, glass or blur. */
:root { --v4-col: 1240px; --v4-pad: max(24px, calc((100% - var(--v4-col)) / 2)); --v4-panel: #0e0f11; --v4-edge: rgba(255, 255, 255, .08); --v4-muted: #a3a4a8; }
.lp-sota, .lp-one, .lp-out, #models.lp-sec, #build.lp-sec, #faq.lp-sec { padding: 104px var(--v4-pad) 112px; background: var(--lp-hero-bg); text-align: left; }
.lp-sota, .lp-one, .lp-out, #models.lp-sec, #build.lp-sec, #faq.lp-sec { border-top: 1px solid var(--v4-edge); }
#models.lp-sec > .lp-wrap, #build.lp-sec > .lp-wrap, #faq.lp-sec > .lp-wrap { max-width: none; padding: 0; }
.lp-k { display: flex; align-items: center; gap: 14px; margin: 0 0 28px; color: var(--v4-muted); font: 500 13px/1 var(--lp-font-body); letter-spacing: .02em; }
.lp-k span { display: inline-grid; place-items: center; min-width: 30px; height: 22px; padding: 0 6px; border: 1px solid var(--v4-edge); border-radius: 6px; color: #fff; font-variant-numeric: tabular-nums; }
.lp-sota__h, .lp-one__h, #models .lp-intro__h, #build .lp-intro__h, #faq .lp-intro__h { max-width: 15em; margin: 0; color: #fff; font: 500 clamp(34px, 3.6vw, 54px)/1.08 var(--lp-font-body); letter-spacing: -0.032em; text-align: left; }
.lp-sota__sub, .lp-one__sub, #models .lp-intro__p, #build .lp-intro__p, #faq .lp-intro__p { max-width: 560px; margin: 18px 0 0; color: var(--v4-muted); font: 400 18px/1.55 var(--lp-font-body); text-align: left; }
#models .lp-intro, #build .lp-intro, #faq .lp-faq__intro { display: block; margin: 0 0 56px; text-align: left; }
#models .lp-intro__side { display: block; }
#models .lp-intro__side .lp-btn { margin-top: 24px; }
.lp-sota__cta, .lp-sota__side .lp-sota__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.lp-sota__cta .lp-btn, .lp-out__btn, #models .lp-intro__side .lp-btn { height: 44px; padding: 0 18px; border-radius: 8px; font-size: 15px; font-weight: 500; }

/* 01 Models: tall cards, the price on the picture, a line of facts under the name */
.lp-sota__head { display: block; margin: 0 0 48px; }
.lp-sota__rail { position: relative; }
.lp-sota__list { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(270px, calc((100% - 60px) / 4)); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.lp-sota__list::-webkit-scrollbar { display: none; }
.lp-sota__card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; scroll-snap-align: start; border: 1px solid var(--v4-edge); border-radius: 16px; background: var(--v4-panel); }
.lp-sota__art { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: #141518; }
.lp-sota__media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lp-sota__price, .lp-sota__kind { position: absolute; top: 12px; padding: 6px 10px; border-radius: 999px; background: rgba(8, 8, 9, .78); color: #fff; font: 500 13px/1 var(--lp-font-body); font-variant-numeric: tabular-nums; }
.lp-sota__price { left: 12px; }
.lp-sota__kind { right: 12px; color: #d6d6d8; text-transform: capitalize; }
.lp-sota__body { display: flex; flex-direction: column; flex: 1; padding: 18px 18px 20px; }
.lp-sota__top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.lp-sota__name { margin: 0; color: #fff; font: 500 19px/1.25 var(--lp-font-body); letter-spacing: -0.01em; }
.lp-sota__maker { flex: none; color: var(--v4-muted); font-size: 13px; }
.lp-sota__desc { display: -webkit-box; margin: 8px 0 0; overflow: hidden; color: var(--v4-muted); font-size: 14.5px; line-height: 1.5; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.lp-sota__facts { display: flex; flex-wrap: wrap; gap: 6px; margin: 16px 0 0; padding: 0; list-style: none; }
.lp-sota__facts li { padding: 5px 9px; border: 1px solid var(--v4-edge); border-radius: 6px; color: #d9dadc; font-size: 12.5px; font-variant-numeric: tabular-nums; }
.lp-sota__go { display: inline-flex; align-items: center; gap: 8px; width: max-content; margin-top: auto; padding-top: 18px; color: #fff; font-size: 15px; text-decoration: none; }
/* the whole card is a link: on hover it lights up a little, picture included */
.lp-sota__card { position: relative; color: inherit; text-decoration: none; transition: border-color 200ms ease, background-color 200ms ease; }
.lp-sota__card::after { content: ""; position: absolute; inset: 0; z-index: 2; border-radius: inherit; background: rgba(255, 255, 255, .045); opacity: 0; pointer-events: none; transition: opacity 200ms ease; }
.lp-sota__card:hover { border-color: rgba(255, 255, 255, .2); background: #121316; }
.lp-sota__card:hover::after { opacity: 1; }
.lp-sota__card:focus-visible { outline: 2px solid rgba(255, 255, 255, .6); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .lp-sota__card, .lp-sota__card::after { transition: none; } }
/* the row fades out at an edge where a card is cut off (v4.js sets is-cut-l / is-cut-r) */
.lp-sota__list { --cut-l: 0px; --cut-r: 0px; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 var(--cut-l), #000 calc(100% - var(--cut-r)), transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 var(--cut-l), #000 calc(100% - var(--cut-r)), transparent 100%); }
.lp-sota__list.is-cut-l { --cut-l: 96px; }
.lp-sota__list.is-cut-r { --cut-r: 96px; }
/* the arrows: a plain chevron in each margin, outside the row (never over a card); each fades in while there is more */
.lp-sota__nav { position: absolute; top: calc((min(100vw - 200px, 1240px) - 60px) / 4 * 1.25 / 2 - 37px); display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 10px; background: transparent; color: #fff; cursor: pointer; opacity: 0; pointer-events: none; transition: opacity 220ms ease, background-color 150ms ease; }
.lp-sota__nav--prev { left: -60px; }
.lp-sota__nav--next { right: -60px; }
.lp-sota__nav.is-on { opacity: .8; pointer-events: auto; }
.lp-sota__nav.is-on:hover { opacity: 1; background: rgba(255, 255, 255, .06); }
.lp-sota__nav:focus-visible { outline: 2px solid rgba(255, 255, 255, .6); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .lp-sota__nav { transition: none; } }
/* where the margins are too narrow for them, the row is swiped instead */
@media (max-width: 1379px) { .lp-sota__nav { display: none; } }

/* 02 Platform: four tiles in one hairline panel */
.lp-one__rows { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: none; margin: 56px 0 0; overflow: hidden; border: 1px solid var(--v4-edge); border-radius: 16px; background: var(--v4-panel); }
.lp-one__rows div { display: flex; flex-direction: column; gap: 14px; padding: 28px 26px 32px; border: 0; border-left: 1px solid var(--v4-edge); }
.lp-one__rows div:first-child { border-left: 0; }
.lp-one__rows div:last-child { border-bottom: 0; }
.lp-one__rows dt { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; color: #fff; font-size: 18px; }
.lp-one__rows dt svg { width: 38px; height: 38px; padding: 9px; border: 1px solid var(--v4-edge); border-radius: 10px; color: #e6e6e8; }
.lp-one__rows dd { margin: 0; color: var(--v4-muted); font-size: 15.5px; line-height: 1.6; }

/* 03 Build: two panels side by side, the picture on top */
.lp-out__pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 56px; }
.lp-out__panel { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--v4-edge); border-radius: 16px; background: var(--v4-panel); }
.lp-out__art { min-height: 300px; border: 0; border-bottom: 1px solid var(--v4-edge); border-radius: 0; background: #0a0b0c; }
.lp-out__art--grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; padding: 22px; align-content: center; }
.lp-out__art--grid img { width: 100%; aspect-ratio: 4 / 5; border-radius: 10px; object-fit: cover; }
.lp-out__art--prompt { display: flex; flex-direction: column; justify-content: center; padding: 30px 32px; }
.lp-out__k { margin: 0 0 14px; color: #8a8b8f; font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; }
.lp-out__q { margin: 0; color: #e8e8ea; font: 400 14.5px/1.75 var(--lp-font-code); }
.lp-out__text { padding: 26px 28px 30px; }
.lp-out__h { margin: 0; color: #fff; font: 500 26px/1.2 var(--lp-font-body); letter-spacing: -0.02em; }
.lp-out__text p { max-width: 480px; margin: 12px 0 0; color: var(--v4-muted); font-size: 16px; line-height: 1.6; }
.lp-out__btn { margin-top: 22px; }
.lp-out__text .lp-cp { margin-top: 22px; }

/* 04 Pricing, 05 Developers and 06 FAQ keep their content, in the same column and heading style */
#build .lp-intro--center { align-items: flex-start; }
.lp-faq .lp-faq__grid { grid-template-columns: minmax(0, 1fr); row-gap: 0; max-width: none; margin: 0; padding: 0; }
.lp-faq .lp-faq__intro { position: static; align-items: flex-start; text-align: left; }
.lp-faq .lp-faq__list { max-width: none; }

@media (max-width: 1100px) {
  .lp-sota__list { grid-auto-columns: minmax(260px, 44%); }
  .lp-one__rows { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp-one__rows div:nth-child(3) { border-left: 0; }
  .lp-one__rows div:nth-child(n + 3) { border-top: 1px solid var(--v4-edge); }
}
@media (max-width: 760px) {
  .lp-sota, .lp-one, .lp-out, #models.lp-sec, #build.lp-sec, #faq.lp-sec { padding: 72px 16px 80px; }
  .lp-sota__list { grid-auto-columns: 82%; }
  .lp-one__rows { grid-template-columns: minmax(0, 1fr); }
  .lp-one__rows div { border-left: 0; border-top: 1px solid var(--v4-edge); }
  .lp-one__rows div:first-child { border-top: 0; }
  .lp-out__pair { grid-template-columns: minmax(0, 1fr); }
  .lp-out__art--grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .lp-vh { padding: 8px 8px 0; }
  .lp-vh__frame { min-height: 520px; border-radius: 12px; }
  .lp-vh__copy { padding: 0 20px 36px; }
  .lp-vh__lead { font-size: 16px; }
  .lp-strip__track li { font-size: 20px; }
  .lp-strip__track { gap: 44px; }
}

/* the older sections' intros: one left-aligned block, no inner indent */
#models .lp-intro, #build .lp-intro, #build .lp-intro--center { display: block; padding: 0; justify-items: start; text-align: left; }
#build .lp-intro--center .lp-intro__h { margin: 0; }
#build .lp-intro--center .lp-intro__p { margin: 18px 0 0; }
#models .lp-models__grid, #build .lp-build__stage, #build .lp-build__code { margin-left: 0; margin-right: 0; }

.lp-footer > .lp-wrap { max-width: none; padding: 0 var(--v4-pad); }

/* 04 Pricing: each model's maker, its real mark in white, in the row's picture slot */
.lp-models__mark { grid-column: 1; grid-row: 1 / span 2; display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--v4-edge); border-radius: 10px; background: #141518; }
.lp-models__mark img { width: 22px; height: 22px; object-fit: contain; filter: brightness(0) invert(1); }
/* the footer's top line runs the whole width of the page, like every section's (owner 2026-11-07) */
.lp-footer { border-top: 1px solid var(--v4-edge); }
.lp-footer .lp-footer__top { border-top: 0; }
/* a soft drop shadow under the hero's words, so they lift off any frame of the clip (owner 2026-11-07) */
.lp-vh__title { text-shadow: 0 2px 4px rgba(0, 0, 0, .35), 0 8px 28px rgba(0, 0, 0, .45); }
.lp-vh__lead { text-shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 4px 16px rgba(0, 0, 0, .45); }
/* Owner 2026-11-10: the gateway diagram under the models heading, open on the page (no panel), as wide as the heading row. */
.lp-sota__flow { min-width: 0; }
.lp-sota__flow .lp-flow { margin-top: 56px; }
@media (max-width: 760px) { .lp-sota__flow .lp-flow { margin-top: 36px; } }
/* The hub's soft glow reaches past the diagram's sides; the section clips it so a phone never scrolls sideways. */
.lp-sota { overflow-x: clip; }
/* Owner 2026-11-10: once copied, the Copy prompt pill gives its place to the line (copy-prompt.js), at the pill's spacing. */
/* Owner 2026-11-10: the copied line sits in a pill of its own, the Copy prompt pill's frame (api-platform/tokens.css .vlpr-cp). */
.lp-cp-hint.is-swapped { display: inline-block; max-width: 100%; min-height: 56px; margin-top: 22px; padding: 17px 24px; box-sizing: border-box; border: 1px solid var(--vla-line-2, rgba(255, 255, 255, .14)); border-radius: 999px; background: #121212; box-shadow: 0 14px 40px -18px rgba(0, 0, 0, .9), inset 0 1px 0 rgba(255, 255, 255, .06); color: var(--lp-ink-2, #b4b4b8); font-size: 14.5px; line-height: 1.4; }
.lp-cp-hint.is-swapped a { color: #fff; }
@media (max-width: 560px) { .lp-cp-hint.is-swapped { border-radius: 28px; } }
.lp-cp[hidden] { display: none; }
/* Owner 2026-11-10: the hero's rotating claim (agent.js): the model name and the number fade out and back in as they
   change, in the title's own white. */
.lp-vh__title.is-out .lp-hero2__model, .lp-vh__title.is-out .lp-hero2__num { opacity: 0; transform: translateY(.22em); }
/* Owner 2026-11-10: always two lines, "Same {model}" and "N% cheaper": "Same" stays on the name's line, the line never
   wraps, and agent.js sizes the title so the longest name fits the column. */
#lp-hero-h .lp-hero2__same { display: inline; }
#lp-hero-h .lp-hero2__line { white-space: nowrap; }
/* Owner 2026-11-20: on an iPhone (in-app browsers too) the first line ran past the hero's right edge ("Same Nano Banana P")
   because agent.js's fit did not shrink it there. On phones the title is capped by the screen width itself, so the longest
   claim ("Same Nano Banana Pro") fits with no script at all (it needs about 10.5em; 11.5 leaves room for font differences);
   the script can still make it smaller, never larger. */
@media (max-width: 760px) { #lp-hero-h.lp-vh__title { font-size: min(44px, calc((100vw - 56px) / 11.5)); } }

/* Owner 2026-11-10: in the Build pair, each panel's action sits at its foot on one shared line: the text block fills the
   panel, the action is pushed down, and both actions take the Copy prompt pill's 56px row. */
.lp-out__text { flex: 1; display: flex; flex-direction: column; align-items: flex-start; }
.lp-out__text > .lp-out__btn, .lp-out__text > .lp-cp, .lp-out__text > .lp-cp-hint.is-swapped { margin-top: auto; }
.lp-out__text > p:not(.lp-cp-hint) { margin-bottom: 22px; }
.lp-out__btn { height: 56px; padding: 0 28px; border-radius: 999px; }
@media (max-width: 1180px) and (min-width: 761px) { .lp-cp-hint.is-swapped { padding: 18px 18px; font-size: 13px; } }
