/* ============================================================
   ShipIt landing layer — index.html and supabase-toolkit.html
   Loaded after tokens.css and styles.css on pages whose body
   carries the .lp class. New classes are prefixed lp-; overrides
   of shared components (.button, .decision-card, .cta-panel and
   the hero accent word) are scoped here and documented below.
   Accent architecture: the palette is monochrome, so the accent
   tokens in tokens.css serve every context, and its
   [data-theme="light"] block flips them for the light theme.
   Section layouts mirror the reference site one-to-one; content,
   copy and figures stay ours.
   ============================================================ */

/* ------------------------------------------------------------
   Landing-only tokens. The palette, type and spacing come from
   tokens.css so they follow the theme; this layer only adds
   timing, display-scale and page-local ink.
   ------------------------------------------------------------ */
:root {
  /* Shared hover timing for cards */
  --lp-hover-time: var(--duration);

  /* Display-light treatment — hero and CTA scale only.
     Inter's variable axis at weight 340, one step larger than the
     documented display scale and tracked slightly tighter. This is the
     documented usage rule: apply it to hero and closing-CTA headlines,
     never to section headings or body copy. No new fonts; body and UI
     weights are unchanged. Fold into BRAND.md section 6 and tokens.*
     once the owner decides on the type swap. */
  --display-light-weight: 340;
  --display-light-tracking: -0.038em;
  --display-light-leading: 1.02;
  --display-hero-size: clamp(48px, 6vw, 92px);
  --display-cta-size: clamp(40px, 5.4vw, 68px);

  /* Low-emphasis ink for the metrics numerals: large text, so the
     contrast floor is 3:1, and it measures 3.8:1 on --code. */
  --lp-metric-ink: rgba(246, 241, 231, .42);
}

/* ------------------------------------------------------------
   Entrance motion (driven by assets/landing-motion.js and the
   inline head flag in index.html)
   Every hidden state hangs off .lp-motion, which only JavaScript
   adds and only when motion is allowed — no-JS and reduced-motion
   visitors always see the finished page. Transform, opacity and
   filter only, so there is no layout shift.
   ------------------------------------------------------------ */
@media (prefers-reduced-motion: no-preference) {
  /* Hero: hidden until the module starts the reveal */
  .lp-motion .lp-hero .eyebrow,
  .lp-motion .lp-hero h1,
  .lp-motion .lp-hero .lp-hero-lede,
  .lp-motion .lp-hero .hero-actions {
    opacity: 0;
    filter: blur(20px);
  }

  /* Headline word groups take over the reveal once the module splits them */
  .lp-motion.lp-motion-words .lp-hero h1 { opacity: 1; filter: none; }
  .lp-motion.lp-motion-words .lp-hero h1 .lp-word {
    display: inline-block;
    opacity: 0;
    filter: blur(20px);
  }

  /* Reveal */
  .lp-motion.lp-go .lp-hero .eyebrow,
  .lp-motion.lp-go .lp-hero .lp-hero-lede,
  .lp-motion.lp-go .lp-hero .hero-actions,
  .lp-motion.lp-go:not(.lp-motion-words) .lp-hero h1,
  .lp-motion.lp-go .lp-hero h1 .lp-word {
    opacity: 1;
    filter: none;
    transition: opacity 500ms var(--ease-out), filter 500ms var(--ease-out);
    transition-delay: var(--lp-delay, 0ms);
  }

  /* Sections: each block rises 12px into place on first view */
  .lp-motion .lp-rise {
    opacity: 0;
    transform: translateY(12px);
  }

  .lp-motion .lp-rise.lp-in {
    opacity: 1;
    transform: none;
    transition: opacity 450ms var(--ease-out), transform 450ms var(--ease-out);
    transition-delay: var(--lp-delay, 0ms);
  }
}

/* ------------------------------------------------------------
   Hero — copy low in the frame, metrics pinned to the bottom
   edge, accent bloom behind. No canvas; the frame reads as
   copy, CTAs and the bloom only.
   ------------------------------------------------------------ */
.lp-hero {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: clamp(500px, 68vh, 780px);
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}

.lp-hero-shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(92% 72% at 14% 96%, var(--code) 0%, rgba(12, 11, 9, .88) 42%, rgba(12, 11, 9, 0) 78%),
    linear-gradient(180deg, rgba(12, 11, 9, 0) 58%, rgba(12, 11, 9, .96) 100%),
    radial-gradient(118% 96% at 70% 34%, rgba(12, 11, 9, 0) 55%, rgba(12, 11, 9, .55) 100%);
}

.lp-hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 0 0 clamp(52px, 8vh, 100px);
}

.lp-hero h1 {
  max-width: 860px;
  margin: 24px 0 20px;
  font-size: var(--display-hero-size);
  font-weight: var(--display-light-weight);
  letter-spacing: var(--display-light-tracking);
  line-height: var(--display-light-leading);
}

/* Umbrella hero: the accent word reads white. Inside a product
   context it would take that product's hover accent. */
.lp-hero .gradient-text { color: var(--accent-hover); }

.lp-hero-lede {
  max-width: 600px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.lp-hero-version-note {
  max-width: 600px;
  margin: 16px 0 0;
  color: var(--quiet);
  font-size: 13px;
  line-height: 1.55;
}

.lp-hero-meta {
  display: none;
  position: absolute;
  left: 24px;
  top: 88px;
  z-index: 3;
  font: 500 11px/1.4 var(--font-mono);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--quiet);
}

@media (hover: hover) and (pointer: fine) {
  .lp-hero-meta { display: block; }
}

/* ------------------------------------------------------------
   Metrics — low-emphasis numerals that read as texture, not
   content. The hero row stays compact under the copy; the
   dedicated section runs the huge, reference-style numerals.
   ------------------------------------------------------------ */
.lp-metrics { position: relative; }

.lp-metrics--hero {
  z-index: 2;
  width: 100%;
}

.lp-metrics--hero .shell { padding: 0 0 40px; }

.lp-metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px 32px;
}

.lp-metric-value {
  display: block;
  font-size: clamp(44px, 6vw, 84px);
  font-weight: var(--display-light-weight);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--lp-metric-ink);
  font-variant-numeric: tabular-nums;
}

/* Hero row: compact values, like the reference's bottom stats. */
.lp-metrics--hero .lp-metric-value {
  font-size: clamp(26px, 2.6vw, 36px);
  letter-spacing: -0.02em;
}

.lp-metric-label {
  display: block;
  max-width: 30ch;
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--quiet);
}

.lp-metrics--hero .lp-metric-label {
  margin-top: 8px;
  font-size: 12px;
}

.lp-metric-sublabel {
  display: block;
  max-width: 30ch;
  margin-top: 10px;
  font: 500 11px/1.6 var(--font-mono);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--quiet);
}

/* A static echo of the reference's dot graphs. */
.lp-metric-spark {
  display: block;
  height: 10px;
  margin-top: 20px;

  background-size: 8px 10px;
  background-repeat: repeat-x;
}

.lp-metrics-chip {
  display: inline-block;
  margin: 20px 0 0;
  padding: 6px 12px;
  border: 1px solid var(--accent-line);
  border-radius: 999px;
  background: var(--accent-soft);
  font: 600 11px/1.2 var(--font-mono);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent-hover);
}

.lp-ticker {
  margin: 48px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font: 500 12px/1.8 var(--font-mono);
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--quiet);
}

/* ------------------------------------------------------------
   Brand, toolkits lineup and flagship — the first bands after
   the hero, sharing one quiet card and grid system.
   ------------------------------------------------------------ */
.lp-brand,
.lp-toolkits,
.lp-flagship { scroll-margin-top: 88px; }

.lp-brand .lp-head,
.lp-toolkits .lp-head,
.lp-flagship .lp-head { margin-bottom: 48px; }

.lp-brand .section-lead,
.lp-toolkits .section-lead,
.lp-flagship .section-lead { margin-top: 16px; }

/* Flagship divider — the stats row that used to sit in the hero. */
.lp-metrics--flagship { margin-top: 48px; }

.lp-metrics--flagship .lp-metric-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.lp-metrics--flagship .lp-metric-value { font-size: clamp(28px, 3vw, 40px); }

.lp-metrics--flagship .lp-metric-label { margin-top: 10px; }

.lp-toolkit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.lp-toolkit-card {
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: border-color var(--lp-hover-time) var(--ease-out);
}

.lp-toolkit-tag {
  font: 600 11px/1.4 var(--font-mono);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--quiet);
}

.lp-toolkit-card h3 {
  margin: 16px 0 10px;
  font-size: 20px;
  letter-spacing: -.025em;
  line-height: 1.25;
}

.lp-toolkit-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.lp-toolkit-card .lp-text-link {
  align-self: flex-start;
  margin-top: auto;
  padding-top: 24px;
}

@media (hover: hover) and (pointer: fine) {
  .lp-toolkit-card:hover { border-color: var(--line-strong); }
}

/* ------------------------------------------------------------
   Bands — every second section drops to the deepest token
   (#0C0B09) so the page keeps reading as true black, and the
   landing runs one step more generous than the base site.
   ------------------------------------------------------------ */
.lp-deep {
  background-color: var(--code);

}

.lp-main .section { padding: 128px 0; }

/* The first band after the hero carries the bloom forward. */
.lp-main > section:first-child {

}

/* ------------------------------------------------------------
   Section headers — stacked by default, split for editorial
   sections (heading left, lead right, aligned to the baseline).
   ------------------------------------------------------------ */
.lp-head { margin-bottom: 64px; }

/* Anchor targets clear the sticky nav if headings are linked to directly. */
.lp-head h1[id], .lp-head h2[id] { scroll-margin-top: 88px; }

.lp-head--split {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: 40px;
  align-items: end;
}

.lp-head--split .section-lead { margin-top: 0; }

.lp-note {
  display: block;
  margin-top: 16px;
  font: 500 11px/1.6 var(--font-mono);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--quiet);
}

/* ------------------------------------------------------------
   Features — numbered blocks beside a visual panel, mirroring
   the reference's large card (text left, image right).
   ------------------------------------------------------------ */
.lp-feature-card {
  display: grid;
  grid-template-columns: 1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.lp-feature-list {
  display: flex;
  flex-direction: column;
  padding: 40px;
}

.lp-feature-block {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 20px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
}

.lp-feature-block:first-child { border-top: 0; padding-top: 0; }
.lp-feature-block:last-child { padding-bottom: 0; }

.lp-feature-block h3 {
  margin: 0 0 8px;
  font-size: 20px;
  letter-spacing: -.025em;
  line-height: 1.25;
}

.lp-feature-block p {
  margin: 0;
  max-width: 56ch;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.lp-feature-stat {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 16px;
}

.lp-feature-value {
  font-size: clamp(28px, 3vw, 38px);
  font-weight: var(--display-light-weight);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--lp-metric-ink);
  font-variant-numeric: tabular-nums;
}

.lp-feature-label {
  font: 500 11px/1.4 var(--font-mono);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--quiet);
}

.lp-feature-visual {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: var(--bg-soft);
}

.lp-feature-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
}

.lp-feature-fade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, var(--surface) 0%, rgba(18, 17, 15, 0) 38%);
}

.lp-feature-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 12px 20px;
  border-top: 1px solid var(--line);
  background: rgba(18, 17, 15, .92);
  font-size: 12px;
  line-height: 1.6;
  color: var(--quiet);
}

/* ------------------------------------------------------------
   Process — the reference's stacked, fading headline with a
   supporting rail, then three numbered step cards.
   ------------------------------------------------------------ */
.lp-process-head {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: 48px;
  align-items: end;
  margin-bottom: 64px;
}

.lp-steps-heading {
  margin: 20px 0 0;
  font-family: var(--font-sans);
  font-size: clamp(36px, 4.2vw, 56px);
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1.08;
}

.lp-steps-heading span { display: block; opacity: 1; }
.lp-fade-2 { opacity: .42; }
.lp-fade-3 { opacity: .14; }

.lp-process-aside { display: grid; gap: 24px; }
.lp-process-aside .section-lead { margin-top: 0; }

.lp-rail {
  display: grid;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
}

.lp-rail-row {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 16px 20px;
  border-top: 1px solid var(--line);
  font-size: 15px;
  color: var(--text);
}

.lp-rail-row:first-child { border-top: 0; }

.lp-rail-row span {
  font: 700 12px/1.2 var(--font-mono);
  letter-spacing: .1em;
  color: var(--accent);
}

/* Surface card used by the product, hardening and boundary blocks. */
.lp-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
}

.lp-card h3 {
  margin: 16px 0 10px;
  font-size: 20px;
  letter-spacing: -.025em;
  line-height: 1.25;
}

.lp-card p {
  margin: 0;
  max-width: 62ch;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.lp-num {
  font: 700 12px/1.2 var(--font-mono);
  letter-spacing: .1em;
  color: var(--accent);
}

@media (hover: hover) and (pointer: fine) {
  .lp-card,
  .lp-step {
    transition: transform var(--lp-hover-time) var(--ease-out), border-color var(--lp-hover-time) var(--ease-out);
  }
  .lp-card:hover,
  .lp-step:hover {
    transform: translateY(-3px);
    border-color: var(--accent-line);
  }
}

/* ------------------------------------------------------------
   Products — the single product card.
   ------------------------------------------------------------ */
.lp-product {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: 32px;
  align-items: center;
  padding: 32px;
}

.lp-product h3 {
  margin: 18px 0 12px;
  font-size: 24px;
  letter-spacing: -.03em;
  line-height: 1.2;
}

.lp-product p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.lp-product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.lp-product-shot {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--bg-soft);
}

.lp-product-shot img {
  display: block;
  width: 100%;
  height: auto;
}

.lp-product-shot figcaption {
  padding: 12px 16px;
  border-top: 1px solid var(--line);
  color: var(--quiet);
  font-size: 12px;
}

.lp-facts {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.lp-facts li {
  display: grid;
  grid-template-columns: 8px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.lp-facts li::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-top: 8px;
  border-radius: 2px;
  background: var(--accent);
}

.lp-workshop {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 14px;
}

/* ------------------------------------------------------------
   Steps — connect, build, operate.
   ------------------------------------------------------------ */
.lp-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.lp-step {
  position: relative;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.lp-step-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}

.lp-step-line {
  flex: 1 1 auto;
  height: 1px;
  background: var(--line-strong);
}

.lp-step-num {
  font: 700 13px/1 var(--font-mono);
  letter-spacing: .12em;
  color: var(--accent);
}

.lp-step h3 {
  margin: 18px 0 10px;
  font-size: 18px;
  letter-spacing: -.02em;
}

.lp-step p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.lp-step-code {
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font: 500 11px/1.6 var(--font-mono);
  letter-spacing: .06em;
  color: var(--quiet);
  overflow-wrap: anywhere;
}

/* ------------------------------------------------------------
   Infrastructure — large diagram card, stacked facts, then the
   reference's four-column list row.
   ------------------------------------------------------------ */
.lp-infra-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(300px, 1fr);
  gap: 16px;
  align-items: stretch;
}

.lp-infra-large {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.lp-infra-line {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.lp-infra-stack {
  display: grid;
  gap: 16px;
  align-content: start;
}

.lp-stat-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.lp-stat-value {
  display: block;
  font-size: clamp(44px, 5vw, 68px);
  font-weight: var(--display-light-weight);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--lp-metric-ink);
  font-variant-numeric: tabular-nums;
}

.lp-stat-label {
  display: block;
  max-width: 26ch;
  margin-top: 12px;
  color: var(--quiet);
  font-size: 13px;
  line-height: 1.5;
}

.lp-flow {
  display: flex;
  align-items: stretch;
}

.lp-flow-node {
  flex: 1 1 0;
  min-width: 0;
  padding: 20px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--surface);
}

.lp-flow-node b {
  display: block;
  font-size: 15px;
  letter-spacing: -.01em;
}

.lp-flow-node span {
  display: block;
  margin-top: 8px;
  font: 500 11px/1.5 var(--font-mono);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--quiet);
}

.lp-flow-arrow {
  flex: 0 0 88px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--accent);
  font: 600 18px/1 var(--font-mono);
}

.lp-flow-arrow small {
  font: 500 10px/1 var(--font-mono);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--quiet);
}

.lp-fact-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.lp-fact {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--overlay-faint);
}

.lp-fact span {
  display: block;
  font: 600 11px/1.7 var(--font-mono);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--quiet);
}

.lp-fact p {
  margin: 10px 0 0;
  color: var(--text);
  font-size: 14px;
  line-height: 1.6;
}

/* ------------------------------------------------------------
   Integrations — the reference's centered header over a grid of
   compatibility tiles.
   ------------------------------------------------------------ */
.lp-center-head {
  display: grid;
  justify-items: center;
  gap: 20px;
  margin-bottom: 64px;
  text-align: center;
}

.lp-center-head .section-heading { max-width: 760px; }
.lp-center-head .section-lead { max-width: 680px; margin-top: 0; }

.lp-tiles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.lp-tile {
  display: grid;
  gap: 8px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: border-color var(--lp-hover-time) var(--ease-out), background-color var(--lp-hover-time) var(--ease-out);
}

.lp-tile-name {
  font-size: 17px;
  letter-spacing: -.015em;
  color: var(--text);
}

.lp-tile-cat {
  font: 600 11px/1.4 var(--font-mono);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--quiet);
}

@media (hover: hover) and (pointer: fine) {
  .lp-tile:hover {
    border-color: var(--accent-line);
    background: var(--accent-soft);
  }
}

.lp-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.lp-chip {
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--overlay-soft);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.lp-chip--live {
  border-color: var(--accent-line);
  background: var(--accent-soft);
  color: var(--accent-hover);
}

/* ------------------------------------------------------------
   Security — the reference's large boundary card beside the
   hardening stack, with the honest boundary card below.
   ------------------------------------------------------------ */
.lp-security-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 16px;
  align-items: stretch;
}

.lp-security-large {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.lp-security-large p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.lp-security-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.lp-boundary-wide { margin-top: 16px; }

.lp-boundary-wide .check-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 32px;
}

.lp-hardening {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.lp-tag {
  font: 700 11px/1.2 var(--font-mono);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
}

.lp-hardening .lp-card h3 { margin-top: 14px; }

/* Slightly tighter than the base card so the four fit in two calm rows. */
.lp-hardening .lp-card { padding: 28px; }

/* Keep the closing panel a touch tighter on the landing. */
.lp-main .cta-panel { padding: 48px; }

/* Closing CTA headline uses the display-light treatment. */
.lp-main .cta-panel h2 {
  font-size: var(--display-cta-size);
  font-weight: var(--display-light-weight);
  letter-spacing: var(--display-light-tracking);
  line-height: var(--display-light-leading);
}

/* Centered closing panel with corner brackets, as in the reference. */
.lp-cta-center { text-align: center; }

.lp-cta-center .section-label { justify-content: center; }
.lp-cta-center h2 { max-width: 880px; margin-inline: auto; }
.lp-cta-center p { max-width: 720px; margin-inline: auto; }
.lp-cta-center .hero-actions { justify-content: center; }

.lp-cta-center::before,
.lp-cta-center::after {
  content: "";
  position: absolute;
  width: 96px;
  height: 96px;
  pointer-events: none;
  border-color: var(--accent-line);
}

.lp-cta-center::before { top: 0; right: 0; border-bottom: 1px solid; border-left: 1px solid; }
.lp-cta-center::after { bottom: 0; left: 0; border-top: 1px solid; border-right: 1px solid; }

.lp-cta-note {
  margin: 28px 0 0;
  font: 500 11px/1.6 var(--font-mono);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--quiet);
}

/* ------------------------------------------------------------
   Developers — copy and a 2x2 feature grid beside the code window.
   ------------------------------------------------------------ */
.lp-dev-split {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 40px;
  align-items: start;
}

/* styles.css pins the window to a 7-of-12 span; inside this split
   it is a plain grid child again. */
.lp-dev-split .code-window { grid-column: auto; }

.lp-dev-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.lp-dev-item {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.lp-dev-item::before {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  margin-bottom: 12px;
  border-radius: 2px;
  background: var(--accent);
}

.lp-dev-split .hero-actions { margin-top: 24px; }

/* ------------------------------------------------------------
   Shared components — accent wiring for this page only.
   styles.css hardcodes the accent ink and one accent glow; these
   overrides keep the shared components on the accent family so a
   context class is enough to recolour them.
   ------------------------------------------------------------ */
.button {
  background: var(--accent);
  color: var(--accent-ink);
}

.button:hover {
  background: var(--accent-hover);
  color: var(--accent-ink);
}

.button:active {
  background: var(--accent-press);
  color: var(--accent-ink);
}

.decision-card {
  background: var(--surface);
}

@media (hover: hover) and (pointer: fine) {
  .button:hover { }
}

/* ------------------------------------------------------------
   Responsive — 1000 px and below, then 720 px.
   ------------------------------------------------------------ */
@media (max-width: 1000px) {
  .lp-head--split { grid-template-columns: 1fr; gap: 16px; }
  .lp-head--split .section-lead { margin-top: 0; }
  .lp-feature-card { grid-template-columns: 1fr; }
  .lp-feature-visual { min-height: 320px; }
  .lp-process-head { grid-template-columns: 1fr; gap: 32px; }
  .lp-toolkit-grid { grid-template-columns: 1fr; }
  .lp-infra-grid { grid-template-columns: 1fr; }
  .lp-fact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lp-security-grid { grid-template-columns: 1fr; }
  .lp-dev-split { grid-template-columns: 1fr; gap: 32px; }
  .lp-product { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 840px) {
  .lp-steps { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .lp-main .section { padding: 80px 0; }
  .lp-hero { min-height: 0; padding-top: 96px; }
  .lp-hero-inner { padding: 0 0 36px; }
  .lp-hero-shade {
    background: linear-gradient(180deg,
      rgba(12, 11, 9, .35) 0%,
      rgba(12, 11, 9, .86) 46%,
      var(--code) 100%);
  }
  .lp-hero-meta { top: 72px; left: 16px; }
  .lp-metrics--hero .shell { padding: 0 0 32px; }
  .lp-metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 24px; }
  .lp-metrics--flagship .lp-metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp-metrics--section .lp-metric-value { font-size: clamp(40px, 13vw, 60px); }
  .lp-feature-list { padding: 24px; }
  .lp-feature-block { grid-template-columns: 40px minmax(0, 1fr); gap: 14px; }
  .lp-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp-fact-grid { grid-template-columns: 1fr; }
  .lp-dev-grid { grid-template-columns: 1fr; }
  .lp-card { padding: 24px; }
  .lp-step { padding: 24px; }
  .lp-product { padding: 24px; }
  .lp-hardening { grid-template-columns: 1fr; }
  .lp-flow { flex-direction: column; gap: 0; }
  .lp-flow-arrow { flex: 0 0 56px; }
  .lp-flow-arrow > span { transform: rotate(90deg); }
  .lp-boundary-wide .check-list { grid-template-columns: 1fr; }
  .lp-main .cta-panel { padding: 36px 24px; }
  .lp-infra-head { grid-template-columns: 1fr; }
  .lp-infra-emblem { max-width: 420px; }
  .lp-stats-row { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   Port pass (2026-09-18) — inspiration look mapped onto ShipIt
    - Font stacks: Instrument Sans (body + display) /
      JetBrains Mono (labels + code), each with system
      fallbacks so file:// and offline stay intact.
      (Instrument Serif removed 2026-09-26: loaded but never applied.)
   - --ease-out was referenced but never defined; defined here.
   - New blocks: pill nav, infra head, stats row, CTA spotlight,
     banner. The stories carousel and pricing plans were removed
     2026-09-29: no page used them, and they held the only raw
     hex values outside tokens.css.
   - Colours come from tokens.css only.
   Token mapping from the reference dark oklch theme:
     background oklch(0.06) -> #12110F · foreground oklch(0.94)
     -> #F6F1E7 · card oklch(0.09) -> #1A1814 · muted oklch(0.12)
     -> #171510/#201D18 · muted-fg oklch(0.55) -> #B8B2A5 ·
      border oklch(0.18) -> rgba(246,241,231,.08) · accent pink
      -> cream #F6F1E7 · radius 0.625rem scale ->
      8/16/24px retained.
   ============================================================ */
body.lp {
  font-family: var(--font-sans);
  overflow-x: clip;
}

body.lp .brand {
  font-family: var(--font-wordmark);
  font-weight: 400;
  font-size: var(--wordmark-size);
  font-variation-settings: "wdth" var(--wordmark-wdth);
  letter-spacing: var(--wordmark-tracking);
}

body.lp .brand .brand-product {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
}

/* Section metrics cards: large first card, two supporting */
.lp-metrics-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  gap: 16px;
}

/* Clean sans for hero, giant section headings, numerals and quotes */
body.lp .lp-hero h1,
body.lp .lp-main .section-heading,
body.lp .lp-metric-value,
body.lp .lp-stat-value,
body.lp .lp-feature-value {
  font-family: var(--font-sans);
  font-weight: 600;
  letter-spacing: -0.02em;
}

/* Mono voice: labels, numbers, code, notes */
body.lp :is(code, pre, .eyebrow, .section-label, .lp-num, .lp-tag,
  .lp-note, .lp-metric-sublabel, .lp-metric-label, .lp-ticker,
  .lp-cta-note, .lp-step-code, .lp-step-num, .lp-rail-row span,
  .lp-feature-label, .lp-tile-cat, .lp-chip, .lp-metrics-chip,
  .lp-fact span, .lp-flow-node span, .lp-flow-arrow,
  .lp-stat-label, .window-title,
  .lp-hero-meta, .lp-brand-sub) {
  font-family: var(--font-mono);
}

/* ------------------------------------------------------------
   Nav on the landing: the shared pill (styles.css) sits above a
   fixed bar here so it floats over the hero; every other page
   keeps the sticky bar. The nav menu overlay stays index-only.
   ------------------------------------------------------------ */
body.lp .site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  border-bottom-color: var(--line);
}

body.lp .lp-brand-sub {
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--quiet);
}

body.lp .mobile-nav-panel {
  padding: 12px;
  gap: 2px;
}

body.lp .mobile-nav-panel .lp-mobile-link {
  min-height: 52px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 8px;
  font-family: var(--font-sans);
  font-size: 26px;
  color: var(--text);
}

body.lp .mobile-nav-panel .lp-mobile-link:hover { background: var(--brand-soft); }

/* Fixed nav overlays the full-height hero */
body.lp .lp-hero { padding-top: 128px; }

.lp-hero-grid-lines {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: .5;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 12.5% 100%, 8.333% 100%;
  mask-image: linear-gradient(to bottom, black 30%, transparent 90%);
  -webkit-mask-image: linear-gradient(to bottom, black 30%, transparent 90%);
}

/* Rotating hero word settles as plain text without JS. No reserved
   width: the word ends the headline, so the full stop follows it and
   nothing else on the page moves when it changes. */
.lp-rotate-word {
  display: inline-block;
  color: var(--accent-hover);
  transition: opacity .28s var(--ease-out), filter .28s var(--ease-out);
}

.lp-rotate-word.is-fading { opacity: 0; filter: blur(12px); }

/* ------------------------------------------------------------
   Infrastructure head: framed emblem left, title right
   ------------------------------------------------------------ */
.lp-infra-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 64px;
}

.lp-infra-emblem {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--bg-soft);
}

.lp-infra-emblem img { width: 100%; height: auto; }

.lp-infra-emblem figcaption {
  padding: 10px 14px;
  border-top: 1px solid var(--line);
  color: var(--quiet);
  font-size: 12px;
}

/* Bottom stats row (integrations + metrics) */
.lp-stats-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px 40px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.lp-stats-group { display: flex; flex-wrap: wrap; gap: 40px; }

.lp-stat-inline { display: flex; align-items: baseline; gap: 12px; }

.lp-stat-inline b {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 30px;
  letter-spacing: -0.01em;
}

.lp-stat-inline span { color: var(--quiet); font-size: 13px; }

.lp-text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .04em;
  color: var(--muted);
}

.lp-text-link:hover { color: var(--accent-hover); }
.lp-text-link .lp-arrow { transition: transform .2s var(--ease-out); }
.lp-text-link:hover .lp-arrow { transform: translateX(4px); }

/* Integration tile monograms */
.lp-tile { position: relative; }

.lp-tile-glyph {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: var(--overlay-faint);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--muted);
  transition: color var(--lp-hover-time) var(--ease-out), border-color var(--lp-hover-time) var(--ease-out);
}

.lp-tile:hover .lp-tile-glyph {
  border-color: var(--accent-line);
  color: var(--accent-hover);
}

/* ------------------------------------------------------------
   Closing CTA spotlight + panoramic footer banner
   ------------------------------------------------------------ */
.lp-cta-spot {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: .5;
  background: none;
}

.lp-cta-center > * { position: relative; z-index: 1; }

.lp-banner {
  position: relative;
  height: clamp(240px, 34vw, 420px);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.lp-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.lp-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, transparent 30%, var(--bg) 100%),
    linear-gradient(to right, rgba(18, 17, 15, .45), transparent 30%, transparent 70%, rgba(18, 17, 15, .45));
}

@media (max-width: 1000px) {
  .lp-infra-head { grid-template-columns: 1fr; gap: 28px; }
  .lp-metrics-grid { grid-template-columns: 1fr 1fr; }
  .lp-metrics-grid .lp-stat-card:first-child { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  body.lp .lp-hero { padding-top: 110px; }
  .lp-metrics-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .lp-rotate-word { transition: none; }
}


/* ============================================================
   Light theme (index only) — page-local ink that has no token.
   Backgrounds and surfaces follow the styles.css tokens.
   ============================================================ */
:root[data-theme="light"] {
  /* Low-emphasis numerals: large text, so the floor is 3:1. */
  --lp-metric-ink: rgba(18, 17, 15, .45);
}
