/* LAZAPI site — one stylesheet for every page.
 * Palette and spacing measured off darkapi.dev's build (index.734de6aa72.css):
 *   paper #0a0a0a  ink #f5f5f5  line #262626  tint #151515  mute #8b8b8b
 * Grid: 64px cells, 1px axes at rgba(255,255,255,.045), full viewport, vignette overlay.
 */

:root {
  --paper: #0a0a0a;
  --ink: #f5f5f5;
  --line: #262626;
  --tint: #151515;
  --mute: #8b8b8b;
  --dim: #6a6a6a;
  --grid: rgba(255, 255, 255, .045);
  --cell: 64px;
  --ui: "Inter", "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--ui);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* the grid */
.grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, var(--grid) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid) 1px, transparent 1px);
  background-size: var(--cell) var(--cell);
  z-index: 0;
}
.grid::before {
  content: "";
  position: absolute;
  inset: 0;
  /* the gloss: a cool bloom off the top edge and a faint lift at the bottom, so the paper
     reads as a lit surface rather than flat #0a0a0a. Two static radials — nothing animates,
     because sub-pixel drift on a full-viewport layer reads as judder. */
  background:
    radial-gradient(1200px 520px at 50% -8%, rgba(255, 255, 255, .06), transparent 70%),
    radial-gradient(900px 400px at 50% 108%, rgba(255, 255, 255, .028), transparent 72%);
}
.grid::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 120% 90% at 50% 30%, transparent 40%, rgba(10, 10, 10, .55) 100%);
}

.wrap { position: relative; z-index: 1; }

/* nav */
header {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 64px;
  padding: 0 32px;
  max-width: 1440px;
  margin: 0 auto;
  border-bottom: 1px solid transparent;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: 14px; letter-spacing: -.01em;
  text-decoration: none; color: var(--ink);
}
.brand img { display: block; width: 26px; height: 26px; border-radius: 50%; object-fit: contain; }
nav.links { display: flex; gap: 26px; margin-left: 26px; flex: 1; }
nav.links a {
  color: var(--mute); text-decoration: none; font-size: 13px; font-weight: 450;
  transition: color .15s;
}
nav.links a:hover, nav.links a[aria-current] { color: var(--ink); }
.nav-right { display: flex; align-items: center; gap: 18px; }

.icon-btn {
  width: 30px; height: 30px; display: grid; place-items: center;
  border-radius: 8px; color: var(--mute); background: none; border: 0; cursor: pointer;
  transition: color .15s, background .15s;
}
.icon-btn:hover { color: var(--ink); background: var(--tint); }
.icon-btn svg { width: 17px; height: 17px; }

.signin { color: var(--mute); text-decoration: none; font-size: 13px; transition: color .15s; }
.signin:hover { color: var(--ink); }

.pill {
  display: inline-flex; align-items: center; justify-content: center;
  height: 34px; padding: 0 16px; border-radius: 999px;
  font-size: 13px; font-weight: 550; text-decoration: none;
  border: 1px solid transparent;
  transition: transform .12s, background .15s, border-color .15s, color .15s;
}
.pill.solid { background: var(--ink); color: #0a0a0a; }
.pill.solid:hover { background: #fff; }
.pill.ghost { border-color: #333; color: var(--ink); }
.pill.ghost:hover { border-color: #555; background: var(--tint); }
.pill:active { transform: translateY(1px); }

/* headings */
.eyebrow {
  font-family: var(--mono);
  font-size: 11px; letter-spacing: .22em; text-transform: uppercase;
  color: #6f6f6f;
}
h1 {
  font-size: clamp(40px, 6.2vw, 84px);
  line-height: .98; letter-spacing: -.035em; font-weight: 700;
}
h1 span { display: block; }
h2 {
  font-size: clamp(28px, 3.6vw, 46px);
  line-height: 1.04; letter-spacing: -.03em; font-weight: 700;
}
h3 { font-size: 14px; font-weight: 600; letter-spacing: -.005em; }

/* page shell */
main { max-width: 1440px; margin: 0 auto; padding: 0 32px; }

.hero { padding: 96px 0 40px; text-align: center; }
.hero .eyebrow { margin-bottom: 34px; }
.lede {
  max-width: 620px; margin: 30px auto 0;
  color: var(--mute); font-size: 15px; line-height: 1.62;
}
.cta { display: flex; justify-content: center; gap: 12px; margin-top: 34px; flex-wrap: wrap; }
.cta .pill { height: 40px; padding: 0 22px; font-size: 13.5px; }

.pagehead { padding: 76px 0 0; }
.pagehead .eyebrow { margin-bottom: 20px; }
.pagehead .lede { margin: 20px 0 0; max-width: 680px; text-align: left; }
/* .cta centres itself for the hero and the closing band, which are centred blocks. Inside a
   pagehead or a band the column is left-aligned, so a centred button row was the one element
   still pointing at the old layout. */
.pagehead .cta, section.band .cta { justify-content: flex-start; }

/* works with */
.works { padding: 76px 0 0; text-align: center; }
.works .eyebrow { margin-bottom: 22px; letter-spacing: .26em; font-size: 10px; }
/* pills, matching theirs: rounded-full, hairline border, 18px mark + one-line label */
.logos {
  display: flex; justify-content: center; align-items: center; gap: 8px;
  flex-wrap: wrap;
}
.logos a {
  display: inline-flex; align-items: center; gap: 10px;
  border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 16px; font-size: 13px; font-weight: 500;
  color: var(--mute); text-decoration: none;
  transition: border-color .15s, color .15s;
}
.logos a:hover { border-color: rgba(255,255,255,.22); color: var(--ink); }
.logos svg { flex: 0 0 auto; width: 18px; height: 18px; display: block; }

/* sections */
section.band { margin: 110px 0 0; }
section.band h2 { max-width: 780px; }
section.band .lede { margin-left: 0; margin-right: 0; text-align: left; }

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1px; margin-top: 56px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}
.card { background: var(--paper); padding: 26px 24px 30px; }
.card p { color: var(--mute); font-size: 13.5px; line-height: 1.6; margin-top: 8px; }
.card .n {
  font-family: var(--mono); font-size: 10.5px; color: #5a5a5a;
  letter-spacing: .18em; display: block; margin-bottom: 16px;
}

/* tables */
.tablewrap {
  margin-top: 44px;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}
table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
thead th {
  text-align: left; font-weight: 500; color: var(--dim);
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase;
  padding: 14px 20px; background: #0c0c0c; border-bottom: 1px solid var(--line);
}
tbody td { padding: 15px 20px; border-bottom: 1px solid #1b1b1b; color: #cfcfcf; }
tbody tr:last-child td { border-bottom: 0; }
tbody td:first-child { color: var(--ink); font-weight: 500; }
td code, p code, li code {
  font-family: var(--mono); font-size: 12.5px; color: var(--ink);
  background: var(--tint); border: 1px solid var(--line);
  border-radius: 5px; padding: 1px 6px;
}

/* code blocks */
pre {
  margin-top: 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #0c0c0c;
  padding: 22px 24px;
  font-family: var(--mono);
  font-size: 12.5px;
  line-height: 1.85;
  color: #b9b9b9;
  overflow-x: auto;
}
pre .k { color: #f5f5f5; }
pre .c { color: #5f5f5f; }

/* prose (docs) */
.prose { max-width: 760px; margin-top: 44px; }
.prose h3 { margin: 40px 0 10px; font-size: 15px; }
.prose h3:first-child { margin-top: 0; }
.prose p { color: var(--mute); font-size: 14px; line-height: 1.7; margin-top: 10px; }
.prose ul { margin: 12px 0 0 18px; color: var(--mute); font-size: 14px; line-height: 1.7; }
.prose li { margin-top: 6px; }

/* footer */
footer {
  max-width: 1440px; margin: 120px auto 0;
  padding: 28px 32px 46px;
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  color: var(--dim); font-size: 12.5px;
}
footer a { color: var(--dim); text-decoration: none; }
footer a:hover { color: var(--ink); }

@media (max-width: 820px) {
  header { padding: 0 18px; gap: 14px; }
  nav.links { display: none; }
  main { padding: 0 18px; }
  .hero { padding: 64px 0 30px; }
  footer { padding-left: 18px; padding-right: 18px; flex-direction: column; }
  table { font-size: 12.5px; }
  thead th, tbody td { padding: 12px 14px; }
}

/* ---------- landing page blocks (measured off darkapi.dev's rendered DOM) ---------- */

/* fixed blurred header over a transparent border */
header.site {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: 64px;
  border-bottom: 1px solid transparent;
  background: rgba(10, 10, 10, .7);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 24px;
  max-width: none;
  margin: 0;
}
header.site .inner {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
}
header.site .brand img {
  width: 32px; height: 32px;
  padding: 2px; box-sizing: content-box;
  border-radius: 50%;
  background: #f5f5f5;
  object-fit: contain;
}
header.site .brand span { font-size: 15px; font-weight: 600; letter-spacing: -.01em; }

/* The mark, stated large. His artwork is a dark disc inside a white ring, so on #0a0a0a the
   only thing separating it from the page is that hairline. A 3px white halo gives the black
   edge something to sit against, which is what makes it read at 72px instead of dissolving. */
.heromark {
  display: block;
  width: 72px; height: 72px;
  padding: 3px;
  box-sizing: content-box;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: #f5f5f5;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, .10),
    0 26px 70px -24px rgba(0, 0, 0, .95),
    0 0 110px -30px rgba(255, 255, 255, .16);
}
@media (max-width: 820px) {
  .heromark { width: 56px; height: 56px; padding: 2px; margin-bottom: 16px; }
}
header.site nav.links {
  display: flex; gap: 2px; flex: 1; justify-content: center; margin: 0;
}
header.site nav.links a {
  padding: 7px 14px; border-radius: 999px; font-size: 13px; color: var(--mute);
  white-space: nowrap;
}
header.site nav.links a:hover { background: var(--tint); color: var(--ink); }
header.site nav.links a[aria-current] { color: var(--ink); background: var(--tint); }
header.site .nav-right { gap: 10px; }
header.site .pill { height: 32px; padding: 0 14px; font-size: 12.5px; white-space: nowrap; }
header.site .nav-right a { white-space: nowrap; }
header.site .brand span { white-space: nowrap; }

/* the six nav items plus the right cluster need ~1040px; below that the bar
   wrapped "Model Square" and "Sign in" onto two lines each */
@media (max-width: 1040px) { header.site nav.links { display: none; } }

/* hero offsets for the fixed bar */
main.landing { padding-top: 0; }
main.landing .pagehead { padding-top: 132px; }
.hero.top { padding: 144px 0 8px; }
@media (min-width: 900px) { .hero.top { padding: 168px 0 8px; } }

/* "works with" — five entries, icon + two-line label like theirs */
.works { padding: 0; text-align: center; margin-top: 64px; }
.logos { gap: 8px; }

/* feature band: label / title / body / chips, three columns */
.features { border-top: 1px solid var(--line); margin-top: 72px; padding: 56px 0 96px; }
.features h2 { font-size: clamp(24px, 3vw, 34px); }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1px; margin-top: 48px;
  background: var(--line); border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
}
.feature { background: var(--paper); padding: 28px 26px 30px; }
.feature .label {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase;
  color: #6f6f6f; display: block; margin-bottom: 14px;
}
.feature h3 { font-size: 15px; line-height: 1.35; margin-bottom: 10px; }
.feature p { color: var(--mute); font-size: 13.5px; line-height: 1.65; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.chip-s {
  font-size: 11.5px; color: #cfcfcf; background: var(--tint);
  border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px;
}
.chip-s.mono { font-family: var(--mono); font-size: 10.5px; letter-spacing: .04em; }

/* steps band */
.steps { border-top: 1px solid var(--line); padding: 64px 0 96px; }
.step-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1px; margin-top: 44px;
  background: var(--line); border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
}
.step { background: var(--paper); padding: 26px 24px 30px; }
.step .label {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase;
  color: #6f6f6f; display: block; margin-bottom: 14px;
}
.step h3 { font-size: 15px; margin-bottom: 8px; }
.step p { color: var(--mute); font-size: 13.5px; line-height: 1.65; }

/* closing band */
.closing { border-top: 1px solid var(--line); padding: 88px 0 96px; text-align: center; overflow: hidden; }
.closing h2 { font-size: clamp(30px, 4.4vw, 54px); max-width: 920px; margin: 0 auto; }
.closing p { color: var(--mute); font-size: 14.5px; margin: 20px auto 0; max-width: 560px; }
.closing .cta { margin-top: 32px; }

/* footer: brand block left, meta right */
footer.site {
  border-top: 1px solid #1b1b1b;
  max-width: none; margin: 0;
  padding: 40px 24px 48px;
  display: block;
}
footer.site .inner {
  max-width: 1280px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; flex-wrap: wrap;
}
footer.site .fbrand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 600; font-size: 14px; }
footer.site .fbrand img { width: 28px; height: 28px; border-radius: 50%; }
footer.site .tag { color: var(--dim); font-size: 12.5px; margin-top: 10px; }
footer.site .legal { color: #565656; font-size: 12px; text-align: right; }

/* The interior pages used to end in a plain <footer> with `margin: 120px auto 0`. Switching
   every page to the brand footer dropped that gap, so the last band ran straight into the
   border. `.closing` already carries its own 96px bottom padding, which is why this targets
   the last band rather than the footer. */
main.landing > section.band:last-child { padding-bottom: 96px; }

