/* ==========================================================================
   DocsLit landing page. Builds on site.css (tokens, nav, buttons, footer, motion).
   ========================================================================== */

.ic { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; display: inline-block; vertical-align: -2px; }

code:not(pre code) {
  font-size: .86em; padding: .14em .42em; border-radius: 6px;
  background: var(--tonal);
  overflow-wrap: anywhere;
}

/* ---------- Terminal ---------- */
.term { margin: 0; background: var(--term-bg); color: var(--term-fg); border: 1px solid var(--term-line); border-radius: 20px; overflow: hidden; min-width: 0; }
.term-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 18px; background: var(--term-bar); border-bottom: 1px solid var(--term-line); font: 500 12px/1.2 var(--font-mono); color: var(--term-mute); }
.term-title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.term-badge { flex: none; border: 1px solid var(--term-line); border-radius: 999px; padding: 3px 9px; color: var(--term-ok); font-size: 11px; }
.term-body { margin: 0; padding: 20px 22px; overflow-x: auto; font: 400 13px/1.7 var(--font-mono); tab-size: 2; }
.term-body code { font: inherit; background: none; padding: 0; color: inherit; }
.term figcaption { padding: 12px 22px 14px; border-top: 1px solid var(--term-line); font-size: 12.5px; line-height: 1.5; color: var(--term-mute); }
.term figcaption code { background: rgba(255,255,255,.08) !important; }
.t-m { color: var(--term-mute); } .t-k { color: var(--term-key); } .t-s { color: var(--term-str); }
.t-n { color: var(--term-warn); } .t-ok { color: var(--term-ok); } .t-err { color: var(--term-err); }
.t-w { color: var(--term-warn); } .t-a { color: var(--term-accent); } .t-p { color: var(--term-accent); user-select: none; }

/* ---------- Browser frame ---------- */
.frame { border: 1px solid var(--line-2); border-radius: 20px; overflow: hidden; background: var(--surface); box-shadow: var(--shadow-2); }
.frame-bar { height: 42px; display: flex; align-items: center; gap: 14px; padding: 0 16px; background: var(--bg-2); border-bottom: 1px solid var(--line); }
.frame-dots { display: inline-flex; gap: 7px; }
.frame-dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); display: block; }
.frame-url { flex: 1; max-width: 440px; margin: 0 auto; height: 26px; padding: 0 12px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); font: 400 12px/24px var(--font-mono); color: var(--ink-3); text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.frame picture, .frame img { width: 100%; height: auto; }

/* ---------- Hero ---------- */
.l-hero { position: relative; margin-top: calc(-1 * var(--nav-h)); padding: calc(var(--nav-h) + 72px) 0 0; overflow: hidden; }
.l-field {
  position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 45%, transparent 82%); mask-image: linear-gradient(to bottom, #000 0%, #000 45%, transparent 82%);
}
.l-hero-in { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; }

/* Hero entrance: pure CSS so it never waits for JS */
.l-in { animation: l-rise 1.1s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 90ms + 80ms); }
@keyframes l-rise { from { opacity: 0; transform: translate3d(0, 26px, 0); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }

.l-pill { display: inline-flex; align-items: center; gap: 10px; padding: 5px 16px 5px 5px; margin-bottom: 36px; border: 1px solid var(--line-2); border-radius: 999px; background: color-mix(in srgb, var(--bg) 70%, transparent); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: var(--ink-2); font-size: 14px; text-decoration: none; max-width: 100%; transition: border-color .2s, color .2s; }
.l-pill:hover { border-color: var(--ink-3); color: var(--ink); }
.l-pill:hover .ic { transform: translateX(3px); }
.l-pill .ic { transition: transform .3s var(--ease-out); }
.l-pill-tag { background: var(--ink); color: var(--bg); border-radius: 999px; padding: 4px 11px; font: 600 12px/1.3 var(--font-sans); }

.l-title { display: flex; flex-direction: column; font-family: var(--font-display); font-weight: 600; font-size: clamp(2.9rem, 8.4vw, 7.6rem); line-height: .98; letter-spacing: -0.05em; margin: 0 0 30px; }
.l-title > span { display: block; padding-bottom: .04em; }
.l-grad { background: linear-gradient(100deg, var(--flame-1) 0%, var(--flame-2) 45%, var(--ink) 95%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.l-lede { font-size: clamp(1.08rem, 1.5vw, 1.3rem); line-height: 1.55; color: var(--ink-2); max-width: 46rem; margin: 0 0 40px; text-wrap: pretty; }

.l-cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.l-hero .l-cta, .l-cta-center { justify-content: center; }
.l-install .l-prompt { opacity: .6; }
.l-install .l-ic-done { display: none; }
.l-install.is-copied .l-ic-copy { display: none; }
.l-install.is-copied .l-ic-done { display: inline-block; }
.l-facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 28px; list-style: none; padding: 0; margin: 32px 0 0; font-size: 14px; color: var(--ink-3); }
.l-facts li { display: inline-flex; align-items: center; gap: 9px; }
.l-facts li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: linear-gradient(135deg, var(--flame-1), var(--flame-2)); }

/* Screenshot stage: tilts flat as it scrolls into view where scroll-driven animations exist */
.l-stage { position: relative; z-index: 1; margin: 80px auto 0; perspective: 1600px; }
.l-stage-in { animation: l-rise 1.3s var(--ease-out) .55s both; }
.l-stage figcaption { margin-top: 16px; font-size: 13.5px; color: var(--ink-3); text-align: center; }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .l-stage .frame { transform-origin: 50% 0; animation: l-tilt linear both; animation-timeline: view(); animation-range: entry 0% cover 45%; }
    @keyframes l-tilt { from { transform: rotateX(18deg) scale(.9); } to { transform: none; } }
  }
}

/* ---------- Statement ---------- */
.l-statement { padding: 160px 0 0; }
.l-statement-text { margin: 0; max-width: 21em; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.9rem, 4.4vw, 3.9rem); line-height: 1.12; letter-spacing: -0.035em; color: var(--ink); text-wrap: pretty; }
.l-statement-text .w { transition: opacity .25s linear; }

.l-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 112px 0 0; }
.l-stats > div { padding: 28px 28px 0 0; border-top: 1px solid var(--line-2); }
.l-stats dt { font-family: var(--font-display); font-weight: 600; font-size: clamp(2.6rem, 4.6vw, 4.2rem); letter-spacing: -0.045em; line-height: 1; color: var(--ink); }
.l-stats dd { margin: 14px 0 0; font-size: 15px; line-height: 1.5; color: var(--ink-3); max-width: 26ch; }

/* ---------- Sections ---------- */
.l-sec { padding: 160px 0 0; }
.l-sec-top0 { padding-top: 140px; }
.l-sec-tint { margin-top: 160px; padding: 140px 0; background: var(--bg-2); }
.l-sec-tint + .l-sec { padding-top: 140px; }
.l-head { max-width: 900px; margin: 0 0 64px; }
.l-head-wide { max-width: 1000px; }
.l-eyebrow { margin: 0 0 20px; font: 500 14px/1.4 var(--font-sans); color: var(--ink-3); display: inline-flex; align-items: center; gap: 10px; }
.l-eyebrow::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--flame-1), var(--flame-2)); }
.l-head h2, .l-final h2, .l-oss h2, .l-faq-wrap > h2, .l-row-head h2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(2.3rem, 5.4vw, 4.6rem); line-height: 1.02; letter-spacing: -0.045em; margin: 0 0 24px; text-wrap: balance; }
.l-head p:not(.l-eyebrow) { margin: 0; max-width: 46rem; font-size: clamp(1.05rem, 1.4vw, 1.25rem); line-height: 1.6; color: var(--ink-2); }

.l-split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: start; }
.l-split-rev { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }

.l-more { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-weight: 600; font-size: 15px; color: var(--ink); text-decoration: none; }
.l-more .ic { transition: transform .3s var(--ease-out); }
.l-more:hover .ic { transform: translateX(4px); }

/* ---------- Product bento ---------- */
.l-bento { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.l-tile { display: flex; flex-direction: column; gap: 32px; padding: 36px; border-radius: var(--radius-card); background: var(--bg-2); border: 1px solid var(--line); overflow: hidden; transition: border-color .3s, transform .5s var(--ease-out); }
.l-tile:hover { border-color: var(--line-2); }
.l-tile h3 { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.5rem, 2.3vw, 2rem); letter-spacing: -0.035em; line-height: 1.1; margin: 0 0 12px; }
.l-tile-copy p { margin: 0; max-width: 34rem; font-size: 15.5px; line-height: 1.6; color: var(--ink-2); }
.l-tile-media { margin-top: auto; border-radius: 18px; }
.l-tile-media.term .term-body { font-size: 12.8px; }
.l-tile:hover .l-tile-media { transform: translateY(-4px); }
.l-tile-media { transition: transform .6s var(--ease-out); }
.l-tools ul { list-style: none; margin: 0; padding: 18px; display: flex; flex-wrap: wrap; gap: 8px; border-radius: 18px; background: var(--term-bg); border: 1px solid var(--term-line); }
.l-tools li { padding: 7px 12px; border-radius: 999px; border: 1px solid var(--term-line); background: var(--term-bar); color: var(--term-fg); font: 400 12.5px/1 var(--font-mono); transition: border-color .3s, color .3s; }
.l-tile:hover .l-tools li:nth-child(3n+1) { border-color: color-mix(in srgb, var(--term-accent) 45%, var(--term-line)); color: var(--term-accent); }

/* ---------- Agents ---------- */
.l-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.l-steps li { display: grid; grid-template-columns: 56px 1fr; gap: 12px; padding: 24px 0; border-top: 1px solid var(--line-2); }
.l-steps li:first-child { border-top: 0; padding-top: 0; }
.l-step-n { font: 500 14px/1.6 var(--font-mono); color: var(--ink-3); }
.l-steps strong { font-family: var(--font-display); font-weight: 600; font-size: 22px; letter-spacing: -0.025em; }
.l-steps p { margin: 6px 0 0; font-size: 15.5px; color: var(--ink-2); line-height: 1.6; }
.l-connect { margin-top: 28px; }
.l-connect-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 10px 8px 20px; background: var(--term-bar); border-bottom: 1px solid var(--term-line); font: 500 12px/1.2 var(--font-mono); color: var(--term-mute); }
.l-copy { display: inline-flex; align-items: center; gap: 7px; min-height: 32px; padding: 0 12px; border: 1px solid transparent; border-radius: 999px; background: transparent; cursor: pointer; font: 500 12px/1 var(--font-mono); color: inherit; }
.l-copy:hover { border-color: currentColor; }
.term .l-copy, .l-code-inline .l-copy { color: var(--term-mute); }
.term .l-copy:hover, .l-code-inline .l-copy:hover { color: var(--term-fg); }
.l-copy.is-copied { color: var(--term-ok) !important; }
.l-transcript { position: sticky; top: calc(var(--nav-h) + 24px); box-shadow: var(--shadow-2); }
.l-transcript .term-body { font-size: 12.8px; }

.l-minis { list-style: none; margin: 96px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.l-minis .ic, .l-feats .ic { width: 22px; height: 22px; color: var(--ink); stroke-width: 1.7; }
.l-minis h3, .l-feats h3 { font-family: var(--font-display); font-weight: 600; font-size: 19px; letter-spacing: -0.02em; line-height: 1.3; margin: 18px 0 8px; }
.l-minis p, .l-feats p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--ink-2); }

/* ---------- Migration ---------- */
.l-marquee { display: flex; overflow: hidden; margin: 0 0 72px; padding: 6px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.l-marquee-track { flex: none; display: flex; gap: 14px; margin: 0; padding: 0 14px 0 0; list-style: none; animation: l-marquee 38s linear infinite; }
.l-marquee:hover .l-marquee-track { animation-play-state: paused; }
.l-marquee-track li { padding: 14px 26px; border-radius: 999px; border: 1px solid var(--line-2); font-family: var(--font-display); font-weight: 600; font-size: clamp(1.1rem, 2vw, 1.5rem); letter-spacing: -0.02em; white-space: nowrap; color: var(--ink-2); }
@keyframes l-marquee { to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) {
  .l-marquee { -webkit-mask-image: none; mask-image: none; }
  .l-marquee-track { animation: none; flex-wrap: wrap; justify-content: center; padding: 0 20px; }
  .l-marquee-track[aria-hidden] { display: none; }
}

.l-migrate-side h3 { font-family: var(--font-display); font-weight: 600; font-size: 28px; letter-spacing: -0.035em; line-height: 1.15; margin: 0 0 12px; }
.l-migrate-side > p { margin: 0 0 28px; color: var(--ink-2); line-height: 1.65; }
.l-map { width: 100%; border-collapse: collapse; margin: 0; font-size: 14px; }
.l-map th { text-align: left; font: 500 13px/1.3 var(--font-sans); color: var(--ink-3); padding: 0 12px 12px 0; }
.l-map td { padding: 12px 12px 12px 0; border-top: 1px solid var(--line-2); vertical-align: top; color: var(--ink-2); }
.l-map code { white-space: nowrap; }
.l-links { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 0; }
.l-links a { padding: 9px 16px; border-radius: 999px; background: var(--tonal); color: var(--ink); font-weight: 600; font-size: 14px; text-decoration: none; transition: background-color .2s; }
.l-links a:hover { background: var(--tonal-hover); }
.l-import .term-body { font-size: 12.3px; line-height: 1.6; white-space: pre-wrap; overflow-wrap: anywhere; }

/* ---------- Themes ---------- */
.l-themes { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.l-theme-left { position: sticky; top: calc(var(--nav-h) + 24px); }
.l-theme-stage { margin: 0; }
.l-theme-stage img { transition: opacity .35s; }
.l-picker { border: 0; padding: 0; margin: 0; min-width: 0; display: grid; gap: 10px; }
.l-opt { display: block; position: relative; cursor: pointer; }
.l-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.l-opt-in { display: grid; grid-template-columns: 116px minmax(0, 1fr); gap: 16px; align-items: center; padding: 10px; border: 1px solid transparent; border-radius: 20px; background: transparent; transition: border-color .2s, background-color .2s; }
.l-opt:hover .l-opt-in { background: var(--tonal); }
.l-opt input:checked + .l-opt-in { background: var(--surface); border-color: var(--line-2); box-shadow: var(--shadow-1); }
.l-opt input:focus-visible + .l-opt-in { outline: 3px solid var(--focus); outline-offset: 3px; }
.l-opt-in picture, .l-opt-in img { width: 116px; height: auto; }
.l-opt-in img { border-radius: 10px; border: 1px solid var(--line); }
.l-opt-t strong { display: block; font-family: var(--font-display); font-weight: 600; font-size: 17px; letter-spacing: -0.015em; }
.l-opt-t span { display: block; font-size: 13.5px; line-height: 1.5; color: var(--ink-3); margin-top: 2px; }
.l-theme-cmd { margin-top: 24px; display: grid; grid-template-columns: minmax(0, 1fr); justify-items: start; gap: 14px; }
.l-code-inline { display: flex; min-width: 0; align-items: center; gap: 14px; padding: 6px 6px 6px 20px; background: var(--term-bg); color: var(--term-fg); border: 1px solid var(--term-line); border-radius: 999px; font: 400 14px/1.4 var(--font-mono); max-width: 100%; }
.l-code-inline code { background: none !important; padding: 0 !important; font: inherit; overflow-x: auto; white-space: nowrap; min-width: 0; flex: 1; }
.l-palettes { margin: 0; font-size: 14px; color: var(--ink-3); }

/* ---------- Features ---------- */
.l-feats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 48px; }
.l-feats li { padding: 32px 0 40px; border-top: 1px solid var(--line-2); }
.l-feats h3 { margin-top: 16px; }

/* ---------- Open source (inverse band) ---------- */
.l-oss { margin-top: 160px; padding: 140px 0 120px; background: #07080a; color: #f2f4f7;
  --ink: #f2f4f7; --ink-2: #c3c9d3; --ink-3: #939cab; --line: rgba(242,244,247,.08); --line-2: rgba(242,244,247,.16); --tonal: rgba(242,244,247,.07); --tonal-hover: rgba(242,244,247,.12); --bg: #07080a; --bg-2: #0e1013; --accent: #55d7e2; --accent-soft: rgba(85,215,226,.1);
  position: relative; overflow: hidden; }
.l-oss::before { content: ""; position: absolute; inset: -40% -10% auto auto; width: 70%; height: 120%; pointer-events: none;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--flame-1) 26%, transparent), transparent), radial-gradient(closest-side at 70% 60%, color-mix(in srgb, var(--flame-2) 18%, transparent), transparent);
  filter: blur(40px); opacity: .8; }
html.dark .l-oss { background: #0e1013; border-block: 1px solid rgba(242,244,247,.06); }
.l-oss .dl-wrap { position: relative; }
.l-oss-top { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 56px; align-items: end; margin-bottom: 80px; }
.l-oss h2 { margin: 0; }
.l-oss-copy p { margin: 0 0 32px; font-size: 1.15rem; line-height: 1.65; color: var(--ink-2); }
.l-table-wrap { overflow-x: auto; }
.l-compare { width: 100%; min-width: 720px; border-collapse: collapse; font-size: 15.5px; }
.l-compare caption { caption-side: bottom; text-align: left; padding-top: 18px; font-size: 13.5px; color: var(--ink-3); }
.l-compare th, .l-compare td { padding: 22px 24px 22px 0; text-align: left; vertical-align: top; border-top: 1px solid var(--line-2); line-height: 1.55; }
.l-compare thead th { border-top: 0; padding-top: 0; font: 500 13px/1.3 var(--font-sans); color: var(--ink-3); }
.l-compare thead th.is-us { color: var(--ink); }
.l-compare tbody th { font-weight: 600; width: 30%; color: var(--ink); }
.l-compare td { color: var(--ink-3); width: 30%; }
.l-compare td.is-us { color: var(--ink); width: 40%; }
.l-compare td.is-us::before { content: ""; display: inline-block; width: 6px; height: 6px; margin: 0 10px 2px 0; border-radius: 50%; background: linear-gradient(135deg, var(--flame-1), var(--flame-2)); }

/* ---------- Paths: free vs Cloud ---------- */
.l-paths { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 20px; }
.l-path { padding: 48px; border-radius: var(--radius-card); border: 1px solid var(--line); background: var(--bg-2); display: flex; flex-direction: column; align-items: flex-start; }
.l-path-main { background:
  radial-gradient(80% 120% at 100% 0%, color-mix(in srgb, var(--flame-2) 16%, transparent), transparent 60%),
  radial-gradient(70% 100% at 0% 100%, color-mix(in srgb, var(--flame-1) 12%, transparent), transparent 60%),
  var(--bg-2); }
.l-path-k { margin: 0 0 20px; display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-3); }
.l-path h2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(2rem, 3.6vw, 3.2rem); letter-spacing: -0.045em; line-height: 1.02; margin: 0 0 16px; }
.l-path-cloud h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); letter-spacing: -0.03em; }
.l-path p:not(.l-path-k) { margin: 0 0 32px; max-width: 34rem; color: var(--ink-2); line-height: 1.6; font-size: 16px; }
.l-path-cloud p:not(.l-path-k) { margin-bottom: 8px; font-size: 15px; }
.l-path-cloud .l-more { margin-top: auto; padding-top: 16px; }

/* ---------- Latest posts (cards injected by scripts/build-blog.mjs) ---------- */
.l-row-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 48px; }
.l-row-head h2 { margin: 0; }
.l-posts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.l-post { position: relative; display: flex; flex-direction: column; gap: 14px; }
.l-post-art { border-radius: 22px; overflow: hidden; aspect-ratio: 1 / 1; background: var(--bg-2); }
.l-post-art svg { width: 100%; height: 100%; transition: transform .8s var(--ease-out); }
.l-post:hover .l-post-art svg { transform: scale(1.04); }
.l-post h3 { margin: 4px 0 0; font-family: var(--font-display); font-weight: 600; font-size: 21px; line-height: 1.25; letter-spacing: -0.025em; }
.l-post h3 a { text-decoration: none; }
.l-post h3 a::after { content: ""; position: absolute; inset: 0; }
.l-post h3 a:focus-visible { outline: none; }
.l-post:focus-within { outline: 3px solid var(--focus); outline-offset: 6px; border-radius: 22px; }
.l-post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 0; font-size: 13.5px; color: var(--ink-3); }
.l-chip { padding: 4px 10px; border-radius: 999px; background: var(--tonal); color: var(--ink-2); font-size: 12.5px; font-weight: 500; }

/* ---------- FAQ ---------- */
.l-faq-wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; align-items: start; }
.l-faq-wrap > h2 { position: sticky; top: calc(var(--nav-h) + 24px); }
.l-faq { border-top: 1px solid var(--line-2); }
.l-faq details { border-bottom: 1px solid var(--line-2); }
.l-faq summary { list-style: none; cursor: pointer; position: relative; min-height: 44px; padding: 24px 52px 24px 0; font-family: var(--font-display); font-weight: 600; font-size: 19px; letter-spacing: -0.015em; line-height: 1.35; transition: color .2s; }
.l-faq summary::-webkit-details-marker { display: none; }
.l-faq summary::after { content: ""; position: absolute; right: 4px; top: 50%; width: 30px; height: 30px; margin-top: -15px; border-radius: 50%; background: var(--tonal) center / 12px 12px no-repeat;
  background-image: linear-gradient(currentColor, currentColor), linear-gradient(currentColor, currentColor); background-size: 12px 1.6px, 1.6px 12px; transition: transform .4s var(--ease-out), background-size .4s var(--ease-out); }
.l-faq details[open] summary::after { transform: rotate(180deg); background-size: 12px 1.6px, 1.6px 0; }
.l-faq summary:hover { color: var(--ink-3); }
.l-faq details p { margin: 0 0 26px; max-width: 64ch; color: var(--ink-2); line-height: 1.7; }
.l-faq details p a { color: var(--ink); text-underline-offset: 3px; }

/* ---------- Final CTA ---------- */
.l-final { padding: 180px 0 0; text-align: center; position: relative; }
.l-final .dl-wrap { max-width: 980px; }
.l-final h2 { margin: 0 0 20px; font-size: clamp(2.6rem, 7vw, 6rem); letter-spacing: -0.05em; }
.l-final p { margin: 0 auto 40px; max-width: 40rem; font-size: 1.2rem; color: var(--ink-2); }
.l-final .l-install { max-width: 100%; }
.l-final .l-install span:nth-child(2) { overflow: hidden; text-overflow: ellipsis; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .l-split, .l-split-rev, .l-oss-top, .l-faq-wrap { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .l-transcript, .l-faq-wrap > h2 { position: static; }
  .l-themes { grid-template-columns: minmax(0, 1fr); }
  .l-theme-left { position: static; }
  .l-picker { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .l-stats { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .l-feats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .l-paths { grid-template-columns: minmax(0, 1fr); }
  .l-posts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .l-posts > li:nth-child(3) { display: none; }
}
@media (max-width: 860px) {
  .l-bento { grid-template-columns: minmax(0, 1fr); }
  .l-minis { grid-template-columns: minmax(0, 1fr); gap: 32px; margin-top: 64px; }
}
@media (max-width: 760px) {
  .l-hero { padding-top: calc(var(--nav-h) + 40px); }
  .l-stage { margin-top: 56px; }
  .l-statement, .l-sec { padding-top: 112px; }
  .l-sec-tint { margin-top: 112px; padding: 96px 0; }
  .l-sec-tint + .l-sec { padding-top: 96px; }
  .l-oss { margin-top: 112px; padding: 96px 0 88px; }
  .l-head { margin-bottom: 44px; }
  .l-stats { margin-top: 72px; }
  .l-tile, .l-path { padding: 28px 22px; }
  .l-picker, .l-feats { grid-template-columns: minmax(0, 1fr); }
  .l-posts { grid-template-columns: minmax(0, 1fr); }
  .l-posts > li:nth-child(3) { display: flex; }
  .l-row-head { flex-direction: column; align-items: flex-start; }
  .l-final { padding-top: 120px; }
  .frame-url { display: none; }
  .l-import .term-body { white-space: pre; overflow-wrap: normal; }
  .l-final .l-install { white-space: normal; text-align: left; height: auto; padding-block: 14px; line-height: 1.35; }
  .l-final .l-install span:nth-child(2) { overflow: visible; }
}
@media (max-width: 640px) {
  .l-cta .dl-btn-lg { width: 100%; }
  .l-install { font-size: 15px; }
  .l-stats { grid-template-columns: minmax(0, 1fr); }
  .l-opt-in { grid-template-columns: 96px minmax(0, 1fr); }
  .l-opt-in picture, .l-opt-in img { width: 96px; }
  .term-body, .l-import .term-body, .l-transcript .term-body, .l-tile-media.term .term-body { font-size: 12px; }
}
