@font-face {
  font-family: Inter;
  src: url("inter.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --bg: #080808;
  --panel: #101010;
  --panel-2: #171717;
  --line: #292929;
  --fg: #f4f4f4;
  --muted: #b6b6b6;
  --accent: #2bf6a3;
  --ink: #082019;
  --measure: 66ch;
  font-family: Inter, system-ui, sans-serif;
  scroll-behavior: smooth;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--bg); color: var(--fg); font-size: 16px; line-height: 1.65; }
.home { display: grid; grid-template-rows: auto 1fr; min-height: 100svh; overflow-x: clip; background: radial-gradient(ellipse at 73% 48%, #101010 0%, transparent 67%), var(--bg); }
img, svg, video { display: block; max-width: 100%; }
a { color: var(--accent); text-underline-offset: .19em; }
a:hover { color: #a6ffd9; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
::selection { color: var(--ink); background: var(--accent); }
h1, h2, h3 { margin: 0; line-height: 1.13; }
p { margin: 0; }
code, pre { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; }
[id] { scroll-margin-top: 1.5rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.shell { width: min(1180px, calc(100% - 64px)); margin-inline: auto; }
.skip-link { position: fixed; top: .5rem; left: 1rem; z-index: 10; padding: .6rem 1rem; background: var(--bg); transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }
.site-header { border-bottom: 1px solid var(--line); background: var(--bg); }
.nav { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; color: var(--fg); font-weight: 680; font-size: 1.16rem; letter-spacing: -.04em; text-decoration: none; white-space: nowrap; }
.brand-mark { flex: none; position: relative; width: 35px; height: 35px; border-radius: 10px; background: var(--accent); }
.brand-mark::before { content: ""; position: absolute; inset: 6px 8px; background: var(--ink); mask: url("lam-alif.svg") center / contain no-repeat; }
.nav-actions, .social-links { display: flex; align-items: center; gap: .35rem; }
.nav-docs { color: var(--fg); text-decoration: none; font-size: .91rem; font-weight: 590; padding: .45rem .65rem; }
.icon-link { display: grid; place-items: center; width: 40px; height: 40px; color: var(--fg); text-decoration: none; border-radius: .6rem; }
.icon-link:is(:hover, :focus-visible) { color: var(--accent); background: var(--panel-2); }
.icon-link svg { width: 21px; height: 21px; }
.hero { display: grid; grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr); align-items: center; align-content: center; gap: clamp(2rem, 5vw, 4.5rem); padding-block: clamp(1.5rem, 5vh, 4rem); }
.eyebrow { color: var(--accent); font-size: .73rem; font-weight: 680; letter-spacing: .14em; text-transform: uppercase; display: flex; align-items: center; gap: .55rem; }
.status-dot { width: .42rem; height: .42rem; border-radius: 50%; background: var(--accent); }
h1 { font-size: clamp(2.6rem, 5.1vw, 4.6rem); font-weight: 620; letter-spacing: -.059em; line-height: 1.04; }
.hero h1 { margin-top: .85rem; }
.hero h1 span { color: var(--accent); }
.lede { color: var(--muted); font-size: clamp(.98rem, 1.5vw, 1.16rem); max-width: 52ch; }
.hero .lede { margin-top: 1.1rem; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 49px; padding: .62rem .98rem; border: 1px solid transparent; border-radius: .65rem; text-decoration: none; white-space: nowrap; font-size: .92rem; font-weight: 670; transition: background .16s; }
.hero .button { margin-top: 1.3rem; }
.button svg { width: 18px; height: 18px; }
.button-primary { background: var(--accent); color: var(--ink); }
.button-primary:hover { background: #a6ffd9; color: var(--ink); }
.feature-deck { min-width: 0; padding-inline: 24px; overflow: clip; overflow-clip-margin: 12px; }
.feature-deck .swiper { overflow: visible; }
.feature-deck .swiper:not(.swiper-initialized) .swiper-slide:not(:first-child) { display: none; }
.feature-deck .deck-card { border: 1px solid #333; border-radius: .9rem; overflow: hidden; background: var(--panel); }
.feature-deck .swiper-slide-active { box-shadow: 0 14px 44px #0009; }
.feature-deck .swiper-slide:not(.swiper-slide-active) { filter: brightness(.75); }
.deck-video { width: 100%; height: auto; aspect-ratio: 1080 / 514; background: #111; object-fit: cover; }
.card-copy { padding: .83rem 1.05rem .92rem; border-top: 1px solid var(--line); min-height: 4.7rem; }
.card-copy h3 { font-size: clamp(1.03rem, 2vw, 1.32rem); font-weight: 650; letter-spacing: -.035em; }
.card-copy p { margin-top: .24rem; color: var(--muted); font-size: .85rem; line-height: 1.4; }
.deck-controls { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: .4rem 0; margin-top: .85rem; }
.deck-progress { grid-column: 1 / -1; height: 3px; overflow: hidden; border-radius: 3px; background: var(--line); }
.deck-progress span { display: block; width: 100%; height: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; }
.deck-tabs { display: flex; grid-column: 2; gap: .08rem; }
.deck-tab, .deck-play { display: grid; place-items: center; background: none; border: 0; color: var(--muted); cursor: pointer; border-radius: .5rem; width: 34px; height: 34px; padding: 0; }
.deck-tab span { width: 7px; height: 7px; border-radius: 7px; background: #686868; transition: width .16s, background .16s; }
.deck-tab[aria-pressed="true"] span { background: var(--accent); width: 19px; }
.deck-tab:hover, .deck-play:hover { background: var(--panel-2); color: var(--fg); }
.deck-play { justify-self: end; border: 1px solid var(--line); }
.deck-play[data-playing="true"] .play-icon, .deck-play[data-playing="false"] .pause-icon { display: none; }
.site-footer { border-top: 1px solid var(--line); background: var(--bg); }
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; align-items: center; padding-block: 1.25rem; gap: .75rem 1.25rem; color: var(--muted); font-size: .88rem; }
.footer-inner a { color: var(--muted); }
.footer-inner a:hover { color: var(--accent); }
.footer-inner p span { color: #777777; padding-inline: .25rem; }

/* Docs share the site's palette while keeping the page quiet and legible. */
.docs-layout { display: grid; grid-template-columns: minmax(11rem, .73fr) minmax(0, 2.8fr); gap: clamp(1.4rem, 6vw, 4.5rem); align-items: start; padding-block: clamp(2.2rem, 7vw, 5rem); }
.docs-sidebar { position: sticky; top: 1.25rem; border: 1px solid var(--line); border-radius: .9rem; background: var(--panel); padding: 1rem 1.1rem; }
.docs-sidebar :is(ul,ol) { padding-left: 0; margin: .4rem 0 0; list-style: none; }
.docs-sidebar a { color: var(--muted); display: block; padding: .34rem 0; text-decoration: none; font-size: .92rem; }
.docs-sidebar a:hover { color: var(--accent); text-decoration: underline; }
.docs-sidebar :is(h2,h3,summary) { margin: 0; font-weight: 670; font-size: .86rem; }
.docs-content { min-width: 0; max-width: 820px; }
.docs-content > header .eyebrow { margin-bottom: .7rem; }
.docs-content h1 { font-size: clamp(2.85rem, 6vw, 4.4rem); }
.docs-content .lede { margin: .95rem 0 1.2rem; }
.docs-content section { border-top: 1px solid var(--line); padding-top: 1.75rem; margin-top: 1.75rem; }
.docs-content h2 { font-size: clamp(1.7rem, 3.6vw, 2.35rem); letter-spacing: -.053em; font-weight: 625; }
.docs-content h3 { margin-top: 1.12rem; font-weight: 650; font-size: 1.08rem; letter-spacing: -.023em; }
.docs-content :is(p,ol,ul,dl) { max-width: var(--measure); }
.docs-content :is(p,ol,ul,dl,pre) { margin-top: .62rem; margin-bottom: .85rem; }
.docs-content :is(ol,ul) { padding-left: 1.35rem; }
.docs-content li { padding-left: .22rem; margin-block: .35rem; }
.docs-content li::marker { color: var(--accent); }
.docs-content strong, .docs-content dt { color: var(--fg); font-weight: 680; }
.docs-content dt { margin-top: .6rem; }
.docs-content dd { color: var(--muted); margin-left: 0; }
.docs-content pre { background: #080808; border: 1px solid var(--line); color: var(--fg); border-radius: .6rem; padding: .78rem .85rem; overflow-x: auto; font-size: clamp(.77rem, 2vw, .91rem); line-height: 1.55; }
.docs-content :not(pre) > code { background: var(--panel-2); color: #e1e1e1; padding: .04em .27em; border-radius: .25rem; font-size: .88em; overflow-wrap: anywhere; }
.docs-content details { margin-top: .65rem; border-top: 1px solid var(--line); padding: .7rem .1rem .05rem; }
.docs-content summary, .docs-sidebar summary { cursor: pointer; }
.callout { margin-block: .9rem; padding: .7rem .9rem; border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: .5rem; background: var(--panel); }
.callout p:last-child { margin-bottom: .2rem; }
.doc-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .65rem; }
.doc-grid > * { min-width: 0; }

@media (max-width: 850px) {
  .hero { grid-template-columns: 1fr; width: min(620px, calc(100% - 56px)); gap: 1.65rem; }
  .docs-layout { grid-template-columns: minmax(9rem, .67fr) minmax(0, 2.5fr); }
}
@media (min-width: 621px) and (max-width: 850px) and (max-height: 800px) {
  .hero { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); width: calc(100% - 48px); gap: 1.25rem; }
}
@media (max-width: 600px) {
  .shell, .hero { width: calc(100% - 36px); }
  .nav { min-height: 60px; }
  .feature-deck { padding-inline: 20px; }
  .docs-layout, .doc-grid { grid-template-columns: 1fr; }
  .docs-sidebar { position: static; }
  .docs-sidebar ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 .65rem; }
}
@media (max-width: 620px) and (max-height: 650px) {
  .hero { gap: .9rem; padding-block: .5rem; }
  .hero h1 { font-size: clamp(2.02rem, 7.4vw, 2.65rem); margin-top: .52rem; }
  .hero .lede { font-size: .89rem; margin-top: .6rem; }
  .hero .button { min-height: 43px; margin-top: .77rem; }
  .card-copy { padding-block: .57rem .68rem; min-height: 3.65rem; }
  .deck-controls { margin-top: .65rem; }
}
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
