/* ============================================================================
   LAVABMS — public site
   Dark only. There is no light theme and no theme toggle: the palette below is
   the .dark block from the product's own globals.css, so the site and the app
   are the same surface. Values are hard-coded rather than tokenised per theme
   for exactly that reason — a second theme would need a second decision about
   every one of them, and nobody asked for one.
   ========================================================================= */

:root {
  /* Surfaces, from the app's dark tokens */
  --app:      #101319;
  --sunken:   #0b0d12;
  --card:     #191d26;
  --line:     #2a303c;
  --hair:     #1d2330;
  --strong:   #3a4252;

  /* Ink */
  --ink:      #eef1f6;
  --ink-2:    #a2abb8;
  --ink-3:    #6f7885;

  /* The four channel hues. Order is fixed and a hue never moves family. */
  --email:     #007bff;
  --prime:     #c4193c;
  --webchat:   #e96900;
  --messaging: #00a6c6;

  --focus:    #4da3ff;

  /* The shelf unit. Every tile row is exactly one of these tall, which is what
     lets a single repeating gradient draw all the rules. */
  --shelf-h:  148px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  background: var(--app);
  color: var(--ink);
  font-family: "Public Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 2px; }

.wrap { max-width: 1220px; margin: 0 auto; padding: 0 44px; }

/* Utility face. Used for labels that name a thing, never for prose. */
.eyebrow {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 10.5px; letter-spacing: .15em; text-transform: uppercase;
  color: var(--ink-3);
}

h1, h2, h3, .display { font-family: Archivo, "Public Sans", sans-serif; letter-spacing: -.025em; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--ink); color: var(--app); padding: 12px 18px; font-weight: 600;
}
.skip:focus { left: 12px; top: 12px; }

/* ---------------------------------------------------------------- header -- */
.site-header {
  position: sticky; top: 0; z-index: 30;
  background: rgba(16, 19, 25, .86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--hair);
}
.nav { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; gap: 24px; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; flex-shrink: 0; }
.brand .mark { width: 26px; height: 26px; display: block; }
.brand b { font-family: Archivo, sans-serif; font-weight: 800; font-size: 15px; letter-spacing: -.01em; }
.nav-links { display: flex; gap: 26px; }
.nav-links a { color: var(--ink-2); text-decoration: none; font-size: 13.5px; transition: color .15s; }
.nav-links a:hover { color: var(--ink); }
.nav-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

.btn {
  display: inline-block; font-size: 14px; font-weight: 600; text-decoration: none;
  padding: 11px 20px; border: 1px solid transparent; border-radius: 3px;
  transition: opacity .15s, background-color .15s; cursor: pointer;
}
.btn-primary { background: var(--ink); color: var(--app); }
.btn-primary:hover { opacity: .88; }
.btn-ghost { border-color: var(--strong); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--card); }
.btn-sm { padding: 8px 15px; font-size: 13px; }
.btn-block { width: 100%; }

/* These nine rules replace nine `style="..."` attributes. They are not here for
   tidiness: an inline style attribute is blocked by a Content-Security-Policy
   unless style-src carries 'unsafe-inline', and 'unsafe-inline' re-permits every
   injected style on the page. Nine small classes buy a policy that is actually
   worth having. */
.svg-defs { position: absolute; }
.contact-eyebrow { margin-bottom: 14px; }
.deploy-body { padding: 34px 0 40px; }
.split--stacked { border-top: 1px solid var(--hair); margin-top: 6px; }
.legend .dot--email     { background: var(--email); }
.legend .dot--prime     { background: var(--prime); }
.legend .dot--webchat   { background: var(--webchat); }
.legend .dot--messaging { background: var(--messaging); }

/* ------------------------------------------------------------------ hero -- */
/* The mark, enormous, bled off the right edge. Everywhere else on this site the
   wedges are 18px working parts labelling a section; here the whole mark is
   allowed to simply be the logo, at a size where the geometry is legible. It is
   aria-hidden and pointer-events:none — decoration, carrying no meaning the
   text does not already carry. */
.hero { position: relative; overflow: hidden; }
.hero-mark {
  position: absolute; top: -170px; right: -340px;
  width: 1020px; height: 1020px;
  opacity: .17; pointer-events: none; z-index: 0;
}
.hero-inner { position: relative; z-index: 1; padding: 96px 0 84px; }
.hero h1 {
  font-weight: 800; font-size: clamp(38px, 5.4vw, 66px); line-height: 1.02;
  letter-spacing: -.035em; max-width: 16ch; margin-top: 22px;
}
.hero .lede { margin-top: 26px; max-width: 54ch; font-size: 17px; line-height: 1.6; color: var(--ink-2); }
.hero .actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px; }

/* ----------------------------------------------------------- proof strip -- */
.proof {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
/* `>` is load-bearing. As a descendant selector this also matched .n and .t —
   they are divs too — giving each 52px of vertical padding and a stray left
   border, which read as a broken gap between the number and its label. */
.proof > div { padding: 26px 24px 26px 0; }
.proof > div + div { border-left: 1px solid var(--hair); padding-left: 26px; }
.proof .n { line-height: 1.1; }
.proof .n { font-family: Archivo, sans-serif; font-weight: 800; font-size: 30px; letter-spacing: -.03em; }
.proof .t { margin-top: 4px; font-size: 13.5px; color: var(--ink-2); }

/* -------------------------------------------------- SIGNATURE: the shelf -- */
/* Section name in a fixed left margin, tiles on ruled shelves to its right.
   The rules are one repeating gradient on the shelf itself rather than borders
   on the tiles, so a half-filled row still shows its shelf and the last row
   never draws a stray line under nothing. */
.section { display: grid; grid-template-columns: 200px minmax(0, 1fr); border-top: 1px solid var(--line); }
.section > .name { padding: 34px 30px 34px 0; }
.section > .name h2 { font-weight: 700; font-size: 26px; line-height: 1.14; }
.section > .name .eyebrow { display: block; margin-top: 10px; }
.section > .name p { margin-top: 12px; font-size: 13.5px; color: var(--ink-3); line-height: 1.55; }

.shelf {
  display: flex; flex-wrap: wrap;
  background-image: repeating-linear-gradient(
    to bottom,
    transparent 0, transparent calc(var(--shelf-h) - 1px),
    var(--hair) calc(var(--shelf-h) - 1px), var(--hair) var(--shelf-h));
}
.tile {
  width: 33.3333%; height: var(--shelf-h);
  padding: 26px 28px 26px 0; display: flex; flex-direction: column;
}
.shelf.cols-2 .tile { width: 50%; }
.shelf.cols-4 .tile { width: 25%; }
.tile .top { display: flex; align-items: center; gap: 10px; margin-bottom: 9px; }
.tile .top svg { width: 18px; height: 18px; flex-shrink: 0; }
.tile b { font-family: Archivo, sans-serif; font-size: 15.5px; font-weight: 700; letter-spacing: -.012em; }
.tile p { font-size: 13.5px; line-height: 1.55; color: var(--ink-2); }
.tile p .muted { color: var(--ink-3); }

/* ------------------------------------------------------------- feature ---- */
/* Two features get a full band each because they are the two things a visitor
   will not have seen elsewhere: an assistant that answers from your own manual,
   and a stock count that survives being interrupted. */
.feature { display: grid; grid-template-columns: 200px minmax(0, 1fr); border-top: 1px solid var(--line); }
.feature > .name { padding: 34px 30px 34px 0; }
.feature > .name h2 { font-weight: 700; font-size: 26px; line-height: 1.14; }
.feature > .name .eyebrow { display: block; margin-top: 10px; }
.feature > .body { padding: 34px 0 40px; display: grid; grid-template-columns: 1.05fr .95fr; gap: 46px; }
.feature .body p { color: var(--ink-2); font-size: 15px; max-width: 52ch; }
.feature .body p + p { margin-top: 14px; }
.feature ul { list-style: none; margin-top: 4px; }
.feature li { display: flex; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--hair); font-size: 14px; }
.feature li:last-child { border-bottom: 0; }
.feature li .k {
  font-family: "IBM Plex Mono", monospace; font-size: 10px; letter-spacing: .13em;
  text-transform: uppercase; color: var(--ink-3); width: 92px; flex-shrink: 0; padding-top: 3px;
}
.feature li .v { color: var(--ink-2); }

/* ----------------------------------------------------------- deployment --- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.split > div { padding: 30px 30px 34px 0; }
.split > div + div { border-left: 1px solid var(--hair); padding-left: 32px; }
.split h3 { font-size: 17px; font-weight: 700; margin-bottom: 10px; }
.split p { font-size: 14px; color: var(--ink-2); }
.split .badge {
  display: inline-block; font-family: "IBM Plex Mono", monospace; font-size: 10px;
  letter-spacing: .13em; text-transform: uppercase; color: var(--ink-3);
  border: 1px solid var(--line); padding: 4px 9px; margin-bottom: 14px;
}

/* -------------------------------------------------------------- contact --- */
.contact { border-top: 1px solid var(--line); padding: 56px 0 72px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact h2 { font-size: 34px; font-weight: 800; line-height: 1.1; }
.contact .lede { margin-top: 16px; color: var(--ink-2); max-width: 42ch; }
.contact-detail { margin-top: 30px; }
.contact-detail .row { display: flex; gap: 14px; padding: 12px 0; border-top: 1px solid var(--hair); font-size: 14px; }
.contact-detail .row .k {
  font-family: "IBM Plex Mono", monospace; font-size: 10px; letter-spacing: .13em;
  text-transform: uppercase; color: var(--ink-3); width: 88px; flex-shrink: 0; padding-top: 3px;
}
.contact-detail .row a { color: var(--ink-2); text-decoration: none; border-bottom: 1px solid var(--strong); }
.contact-detail .row a:hover { color: var(--ink); }

.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; font-weight: 500; margin-bottom: 6px; color: var(--ink-2); }
.field input, .field select, .field textarea {
  width: 100%; background: var(--sunken); border: 1px solid var(--line); border-radius: 3px;
  color: var(--ink); font-family: inherit; font-size: 14.5px; padding: 11px 13px;
}
.field textarea { resize: vertical; min-height: 118px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--focus); outline: none; }
/* Chrome paints autofilled inputs near-white, which on a dark page reads as a
   broken field. An inset shadow the size of the box is the only reliable way to
   repaint it; background-color is ignored. */
.field input:-webkit-autofill,
.field input:-webkit-autofill:hover,
.field input:-webkit-autofill:focus,
.field textarea:-webkit-autofill {
  -webkit-text-fill-color: var(--ink);
  -webkit-box-shadow: 0 0 0 1000px var(--sunken) inset;
  caret-color: var(--ink);
  transition: background-color 9999s ease-in-out 0s;
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
/* The honeypot. Off-screen rather than display:none, because some autofill
   engines skip hidden fields entirely and would defeat the trap. */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-note { font-size: 12.5px; color: var(--ink-3); margin-top: 12px; }
.form-msg { margin-top: 16px; padding: 12px 14px; border-radius: 3px; font-size: 14px; display: none; }
.form-msg.show { display: block; }
.form-msg.ok  { background: rgba(52, 196, 139, .10); border: 1px solid rgba(52, 196, 139, .35); color: #7fe0b8; }
.form-msg.err { background: rgba(251, 113, 133, .10); border: 1px solid rgba(251, 113, 133, .35); color: #fb7185; }

/* --------------------------------------------------------------- footer --- */
.site-footer { border-top: 1px solid var(--line); padding: 34px 0 44px; }
.footer-top { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a { color: var(--ink-2); text-decoration: none; font-size: 13.5px; }
.footer-links a:hover { color: var(--ink); }
.legend { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--hair); }
.legend span { display: flex; align-items: center; gap: 7px; }
.legend .dot { width: 8px; height: 8px; border-radius: 50%; }
.copyright { margin-top: 22px; font-size: 12.5px; color: var(--ink-3); }

/* --------------------------------------------------------------- mobile --- */
@media (max-width: 980px) {
  .wrap { padding: 0 24px; }
  .nav-links { display: none; }
  .hero-mark { width: 640px; height: 640px; top: -110px; right: -260px; opacity: .16; }
  .hero-inner { padding: 60px 0 52px; }
  .proof { grid-template-columns: repeat(2, 1fr); }
  .proof > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .proof > div:nth-child(n+3) { border-top: 1px solid var(--hair); }
  .section, .feature { grid-template-columns: 1fr; }
  .section > .name, .feature > .name { padding: 28px 0 14px; }
  .feature > .body { grid-template-columns: 1fr; gap: 26px; padding-top: 0; }
  .shelf { background-image: none; }
  .tile, .shelf.cols-2 .tile, .shelf.cols-4 .tile {
    width: 100%; height: auto; padding: 20px 0; border-bottom: 1px solid var(--hair);
  }
  .split { grid-template-columns: 1fr; }
  .split > div + div { border-left: 0; padding-left: 0; border-top: 1px solid var(--hair); }
  .contact-grid { grid-template-columns: 1fr; gap: 34px; }
  .field-row { grid-template-columns: 1fr; }
}
