/* ============================================================
   Veuzora landing page (#/start) only. Monochrome, product-led.
   ------------------------------------------------------------
   * Every selector is scoped to .lp, .lp-header, .lp-footer or .lp-*.
   * The only rules that reach shared chrome are in the
     "Landing-active switch" block, each guarded by
     :has(#view-start.active).
   * Colour: pure neutral greys. Blue (#4C6EF5 family) is used ONLY for
     focus rings, one highlighted data point per visual, active states
     and a single button. Never as a background, gradient or glow.
   * Type: Geist (UI + headlines), Geist Mono (labels). Self-hosted, OFL.
   * Motion: 150-250ms transitions; one-time fade/slide and line-draw on
     scroll (assets/landing.js). Off for reduced-motion.
   ============================================================ */

@font-face {
  font-family: "Geist"; src: url("fonts/geist-var-latin.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Geist Mono"; src: url("fonts/geist-mono-var-latin.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Landing-active switch (the only shared-chrome rules) ---------- */
.lp-header, .lp-footer { display: none; }
body:has(#view-start.active) > .site-header,
body:has(#view-start.active) > .site-footer { display: none; }
body:has(#view-start.active) > .lp-header,
body:has(#view-start.active) > .lp-footer { display: block; }
main:has(> #view-start.active) { max-width: none; padding: 0; }
body:has(#view-start.active) { background: #000000; transition: none; }

/* ---------- Tokens ---------- */
.lp, .lp-header, .lp-footer {
  /* neutral surfaces */
  --bg: #000000; --bg-2: #0A0A0A; --card: #0F0F0F; --elev: #161616;
  --line: #1F1F1F; --line-2: #2E2E2E;
  /* text hierarchy */
  --head: #FAFAFA; --text: #EDEDED; --body: #A1A1A1; --muted: #8F8F8F;     /* muted 6.4:1 on black */
  /* blue: rare accent */
  --b4: #7B93F8; --b5: #4C6EF5; --b6: #3B5BDB;
  --sans: "Geist", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --r-btn: 6px; --r-card: 8px;
  --t: 180ms cubic-bezier(.2,.6,.2,1);
  background: var(--bg); color: var(--text);
  font-family: var(--sans); font-size: 1rem; font-weight: 400; line-height: 1.6; letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}

/* ---------- Primitives ---------- */
.lp-container { max-width: 1120px; margin: 0 auto; padding-inline: clamp(20px, 4vw, 32px); }
.lp-sec { padding-block: clamp(72px, 10vw, 128px); border-top: 1px solid var(--line); background: var(--bg); }
.lp-sec--alt { background: var(--bg-2); }
.lp-hero { border-top: 0; padding-top: clamp(56px, 9vw, 112px); padding-bottom: clamp(64px, 9vw, 112px); }
.lp [id^="lp-"] { scroll-margin-top: 72px; }
.lp a:focus-visible, .lp-header a:focus-visible, .lp-footer a:focus-visible { outline: 2px solid var(--b5); outline-offset: 3px; border-radius: 4px; }
:where(.lp) :is(h1, h2, h3, p, ul, ol, dl, dd, figure) { margin: 0; padding: 0; }

/* ---------- Type ---------- */
.lp-h1, .lp-h2, .lp-h3 { font-family: var(--sans); font-weight: 600; color: var(--head); text-wrap: balance; }
.lp-h1 { max-width: 20ch; font-size: clamp(2.5rem, 6vw, 4.25rem); line-height: 1.04; letter-spacing: -.045em; }
.lp-h2 { max-width: 20ch; font-size: clamp(1.75rem, 3.4vw, 2.5rem); line-height: 1.1; letter-spacing: -.035em; }
.lp-h3 { font-size: 1.125rem; line-height: 1.35; letter-spacing: -.015em; }
.lp-lede { max-width: 34em; margin-top: 24px; color: var(--body); font-size: clamp(1.0625rem, 1.6vw, 1.1875rem); line-height: 1.6; }
.lp-body { max-width: 34em; margin-top: 16px; color: var(--body); }
.lp-name { color: var(--head); font-weight: 600; }
.lp-eyebrow, .lp-label { display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: .75rem; font-weight: 500; line-height: 1.2; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.lp-eyebrow { margin-bottom: 20px; }
.lp-eyebrow i { width: 6px; height: 6px; background: var(--head); border-radius: 50%; }
.lp-eyebrow b { font-weight: 500; color: var(--head); }
.lp-label { margin-bottom: 10px; }

/* ---------- Buttons: neutral by default, blue on one ---------- */
.lp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border: 1px solid transparent; border-radius: var(--r-btn); font: 500 .9375rem/1 var(--sans); white-space: nowrap; cursor: pointer; transition: background-color var(--t), border-color var(--t), color var(--t); }
.lp-btn--sm { min-height: 34px; padding: 0 14px; font-size: .875rem; }
.lp-btn--primary { background: var(--head); color: #000; }
.lp-btn--primary:hover { background: #CFCFCF; }
.lp-btn--ghost { background: transparent; border-color: var(--line-2); color: var(--text); }
.lp-btn--ghost:hover { background: var(--elev); border-color: #444; }
.lp-btn--accent { background: var(--b6); color: #fff; }          /* white on #3B5BDB = 5.7:1. The one blue button. */
.lp-btn--accent:hover { background: #2F49B5; }
.lp-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.lp-mono-link { font-family: var(--mono); font-size: .875rem; color: var(--text); border-bottom: 1px solid var(--line-2); padding-bottom: 2px; transition: border-color var(--t), color var(--t); }
.lp-mono-link:hover { border-bottom-color: var(--head); color: var(--head); }

/* ---------- Header ---------- */
.lp-header { position: sticky; top: 0; z-index: 50; background: var(--bg); border-bottom: 1px solid var(--line); }
.lp-header-inner { display: flex; align-items: center; gap: 28px; min-height: 56px; }
.lp-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--head); }
.lp-brand-word { font: 600 1rem var(--sans); letter-spacing: -.02em; }
.lp-nav { display: flex; gap: 2px; margin-left: 8px; }
.lp-nav a { padding: 6px 10px; border-radius: var(--r-btn); font-size: .875rem; color: var(--body); transition: color var(--t), background-color var(--t); }
.lp-nav a:hover { color: var(--head); background: var(--card); }
.lp-header .lp-btn { margin-left: auto; }
@media (max-width: 900px) { .lp-nav { display: none; } }

/* ---------- Boards: abstract dashboard / chart containers ---------- */
.lp-board { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; min-width: 0; }
.lp-board-head { display: flex; justify-content: space-between; gap: 16px; padding: 11px 16px; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: .6875rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.lp-board-head em { font-style: normal; }
.lp-hero-text { display: flex; flex-direction: column; align-items: flex-start; }
.lp-hero-board { margin-top: clamp(48px, 7vw, 80px); }
.lp-board-body { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
.lp-tiles { display: grid; align-content: center; gap: 28px; margin: 0; padding: 24px; list-style: none; border-left: 1px solid var(--line); }
.lp-tile-k { display: flex; align-items: center; gap: 10px; font-size: .875rem; color: var(--text); }
.lp-tile-k b { display: inline-grid; place-items: center; width: 18px; height: 18px; border: 1px solid var(--line-2); border-radius: 4px; font: 600 .6875rem var(--mono); color: var(--body); }
.bar { display: block; height: 4px; margin-top: 10px; background: var(--line); border-radius: 2px; position: relative; }
.bar::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); background: #8F8F8F; border-radius: 2px; }

/* ---------- Charts (inline SVG, monochrome, one blue point) ---------- */
.lp-chart { display: block; width: 100%; height: auto; padding: 8px 12px 4px; }
.lp-chart .grid line { stroke: var(--line); stroke-width: 1; }
.lp-chart .rp { stroke: #4A4A4A; stroke-width: 1; stroke-dasharray: 4 5; }
.lp-chart .line { fill: none; stroke: var(--head); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.lp-chart .t { fill: var(--muted); font: 500 11px var(--mono); }
.lp-chart .t.hi { fill: var(--b4); }
.lp-chart .blue { fill: var(--b5); stroke: #000; stroke-width: 3; }
.lp-chart .ring { fill: #000; stroke: var(--head); stroke-width: 2; }
.lp-chart--s { padding: 12px; }

/* ---------- Section layouts ---------- */
.lp-intro { margin-bottom: clamp(36px, 5vw, 64px); }
.lp-split { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(32px, 5vw, 72px); align-items: start; }
.lp-split > :first-child { grid-column: 1 / span 5; }
.lp-split > :last-child { grid-column: 7 / -1; }

.lp-fields > div { display: grid; grid-template-columns: minmax(0, 9.5rem) minmax(0, 1fr); gap: 16px; align-items: center; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.lp-fields > div:last-child { border-bottom: 0; }
.lp-fields dt { display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: .75rem; letter-spacing: .04em; text-transform: uppercase; color: var(--body); }
.lp-fields dd { margin: 0; }
.lp-fields i { display: block; height: 6px; width: var(--w); background: var(--line-2); border-radius: 3px; }
.lp-fields .key dt { color: var(--head); }
.lp-fields .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--b5); }
.lp-fields .key i { background: var(--b5); }                      /* the one highlighted rule */

/* what it helps with: three rows, not three cards */
.lp-uses { border-top: 1px solid var(--line); }
.lp-use { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(24px, 4vw, 64px); align-items: center; padding-block: clamp(32px, 4.5vw, 52px); border-bottom: 1px solid var(--line); }
.lp-use-text { grid-column: 1 / span 5; }
.lp-use-viz { grid-column: 7 / -1; background: var(--bg); }
.lp-track { display: grid; grid-template-columns: auto minmax(24px, 1fr) auto minmax(24px, 1fr) auto; align-items: center; gap: 12px; padding: 28px 20px; font-size: .8125rem; color: var(--body); }
.lp-track .n { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.lp-track .done { color: var(--head); }
.lp-track .now { color: var(--head); }
.lp-dotb { width: 9px; height: 9px; border-radius: 50%; background: var(--b5); }        /* current state */
.lp-track .rail { height: 2px; background: var(--line-2); border-radius: 1px; position: relative; }
.lp-track .rail .fill { position: absolute; inset: 0 auto 0 0; width: 100%; background: var(--head); border-radius: 1px; }
.lp-track .rail--off { background: var(--line); }
.lp-flow { display: grid; grid-template-columns: auto minmax(40px, 1fr) auto; align-items: center; gap: 12px; padding: 28px 20px 20px; }
.lp-flow .box { padding: 8px 18px; border: 1px solid var(--line-2); border-radius: var(--r-btn); font-size: .875rem; color: var(--head); }
.lp-flow .arrow { height: 1px; background: var(--line-2); position: relative; }
.lp-flow .arrow::after { content: ""; position: absolute; right: 0; top: -4px; border-left: 7px solid var(--line-2); border-top: 4.5px solid transparent; border-bottom: 4.5px solid transparent; }
.lp-flow ul { grid-column: 1 / -1; display: flex; gap: 8px; margin: 12px 0 0; padding: 0; list-style: none; }
.lp-flow li { padding: 3px 10px; border: 1px solid var(--line); border-radius: 999px; font: 500 .6875rem var(--mono); letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }

/* how it works */
.lp-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); margin: 0; padding: 0; list-style: none; }
.lp-steps li { display: grid; align-content: start; gap: 12px; position: relative; }
.lp-steps li p { color: var(--body); max-width: 26em; }
.lp-step-n { font: 500 .75rem var(--mono); letter-spacing: .06em; color: var(--muted); }
.lp-step-viz { background: var(--card); padding: 16px; }
.lp-glyph { display: block; width: 100%; height: auto; }
.lp-glyph rect, .lp-glyph path { fill: none; stroke: #555; stroke-width: 1.5; }
.lp-glyph path { stroke-linecap: round; }
.lp-glyph rect[width="22"] { fill: #2A2A2A; stroke: none; }
.lp-glyph rect.hi { stroke: var(--b5); fill: none; stroke-width: 1.5; }
.lp-glyph rect[width="22"].hi { fill: var(--b5); stroke: none; }

/* rules lists (integrations, who it is for) */
.lp-rules > div { display: grid; grid-template-columns: minmax(0, 12rem) minmax(0, 1fr); gap: 20px; padding: 24px 0; border-top: 1px solid var(--line); }
.lp-rules > div:last-child { border-bottom: 1px solid var(--line); }
.lp-rules dt { font-weight: 500; color: var(--head); }
.lp-rules dd { margin: 0; color: var(--body); }
.lp-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.lp-chips span { padding: 4px 12px; border: 1px solid var(--line-2); border-radius: 999px; font: 500 .75rem var(--mono); letter-spacing: .03em; color: var(--text); }

/* book a demo */
.lp-cta-box { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 40px; padding: clamp(28px, 4.5vw, 56px); background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-card); }
.lp-cta-box .lp-eyebrow { margin-bottom: 16px; }
.lp-cta-box .lp-body { max-width: 36em; }
.lp-cta-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }

/* footer */
.lp-footer { padding-block: clamp(44px, 6vw, 72px) 28px; border-top: 1px solid var(--line); font-size: .9375rem; }
.lp-footer-top { display: grid; grid-template-columns: minmax(0, 1fr) repeat(2, minmax(9rem, 12rem)); gap: 40px; }
.lp-footer-brand p { margin: 14px 0 0; color: var(--body); }
.lp-footer-col h2 { margin: 0 0 12px; font: 500 .6875rem var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.lp-footer-col ul { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
.lp-footer-col a { display: inline-flex; align-items: center; min-height: 32px; color: var(--text); transition: color var(--t); }
.lp-footer-col a:hover { color: var(--head); text-decoration: underline; text-underline-offset: 3px; }
.lp-footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: clamp(32px, 5vw, 56px); padding-top: 18px; border-top: 1px solid var(--line); font: 400 .75rem var(--mono); color: var(--muted); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .lp-split > :first-child, .lp-split > :last-child, .lp-use-text, .lp-use-viz { grid-column: 1 / -1; }
  .lp-board-body { grid-template-columns: minmax(0, 1fr); }
  .lp-tiles { border-left: 0; border-top: 1px solid var(--line); grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .lp-steps { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .lp-step-viz { max-width: 340px; }
}
@media (max-width: 640px) {
  .lp-actions, .lp-cta-actions, .lp-cta-box > div { align-self: stretch; width: 100%; }   /* button rows span the full width on phones */
  .lp-btn { flex: 1 1 100%; }
  .lp-btn--sm { flex: 0 0 auto; }
  .lp-rules > div { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .lp-fields > div { grid-template-columns: minmax(0, 8rem) minmax(0, 1fr); }
  .lp-tiles { grid-template-columns: minmax(0, 1fr); }
  .lp-footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp-footer-brand { grid-column: 1 / -1; }
  .lp-cta-actions .lp-btn { flex: 1 1 100%; }
  .lp-hero-board .lp-chart .t { font-size: 21px; }   /* keeps chart labels legible when the chart scales down */
  .lp-track { grid-template-columns: minmax(0, 1fr); justify-items: start; gap: 10px; }
  .lp-track .rail { width: 2px; height: 20px; margin-left: 4px; }
}

/* ---------- Motion: one-time fade/slide and line-draw (assets/landing.js) ---------- */
.lp-js .lp-reveal { opacity: 0; transform: translateY(8px); transition: opacity 250ms ease-out, transform 250ms ease-out; }
.lp-js .lp-reveal.lp-in { opacity: 1; transform: none; }
.lp-js .lp-draw { stroke-dasharray: 1; stroke-dashoffset: 1; }
.lp-js .lp-in .lp-draw { stroke-dashoffset: 0; transition: stroke-dashoffset 1200ms cubic-bezier(.4,.1,.2,1) 200ms; }
@media (prefers-reduced-motion: reduce) {
  .lp-js .lp-reveal { opacity: 1; transform: none; transition: none; }
  .lp-js .lp-draw, .lp-js .lp-in .lp-draw { stroke-dasharray: none; stroke-dashoffset: 0; transition: none; }
}
