/* LogsNX website, direction B ("dot matrix"), light and dark.
   Order: fonts, tokens (verbatim from redesign/tokens.css; do not add colours), spacing scale,
   base, layout, buttons, nav, footer, home components, product views, page components. */

/* ---------- fonts (self-hosted, Latin subset, variable weight) ---------- */
@font-face {
  font-family: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("../fonts/inter-latin-var.woff2") format("woff2");
  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: "Onest"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("../fonts/onest-latin-var.woff2") format("woff2");
  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;
}

/* LogsNX web layer, direction B ("dot matrix"). Light and dark.
   Dark applies when the visitor's system is dark, unless they chose light; data-theme on <html> is the manual choice.
   Every pair below was checked for WCAG AA (text 4.5:1, controls 3:1). Do not add colours. */

:root {
  color-scheme: light;
  /* grounds */
  --bg: #ffffff;            /* page */
  --panel: #f3f5f8;         /* tiles, bands, inputs' surround */
  --raised: #ffffff;        /* product windows, menus */
  --ink-ground: #0e1626;    /* footer; stays dark in both modes */
  /* text */
  --head: #0e1626;          /* headings */
  --text: #465264;          /* body, 7.9:1 on --bg */
  --muted: #5c6878;         /* captions, never below 13px */
  --on-ink: #ffffff;
  --on-ink-soft: #aab4c3;
  /* brand */
  --brand: #f37126;         /* FILL only: buttons, lit dots, markers */
  --brand-hover: #e2631b;
  --on-brand: #0e1626;      /* label on a brand fill; never white */
  --brand-text: #b84c0f;    /* orange as text or a tick on light grounds */
  --brand-soft: #feefe6;
  --link: #b84c0f;
  /* lines */
  --line: #dfe3ea;          /* dividers, resting borders */
  --line-control: #7d8b9e;  /* inputs, secondary buttons (3.5:1) */
  /* dot matrix */
  --dot-off: #d6dbe3;       /* unlit dots in a display */
  --dot-dim: #9aa5b5;       /* lit dots of an unselected display */
  --dot-texture: #e3e7ed;   /* faint field behind the hero */
  /* status, always with a word */
  --success: #0f766e; --success-soft: #e6f4f2;
  --warning: #8a5200; --warning-soft: #fdf1dc;
  --danger: #b4232a;  --danger-soft: #fbe9ea;
  --focus: #0e1626;
  --shadow-window: 0 32px 64px -32px rgba(14, 22, 38, 0.38), 0 2px 6px rgba(14, 22, 38, 0.06);

  /* type */
  --font-display: "Onest", "Inter", system-ui, sans-serif;
  --font-text: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --h1: clamp(44px, 6.2vw, 92px);   /* line-height 0.98, tracking -0.035em, weight 700, max 15ch */
  --h2: clamp(32px, 3.6vw, 50px);   /* line-height 1.04, tracking -0.025em, weight 700, max 16ch */
  --h3: clamp(24px, 2.4vw, 30px);   /* line-height 1.2, tracking -0.02em, weight 600 */
  --lead: 19px;                     /* line-height 30px */
  --body: 16px;                     /* line-height 26px */
  --small: 14px;                    /* line-height 22px */

  /* space and shape */
  --wrap: 1240px; --gutter: 32px;
  --section: clamp(72px, 9vw, 136px);
  --r-sm: 8px; --r-md: 10px; --r-lg: 18px; --r-xl: 28px;
}

/* Dark values. Applied twice on purpose: system preference, and manual choice. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #0e1626; --panel: #141d30; --raised: #ffffff;
    --head: #ffffff; --text: #aab4c3; --muted: #8a96a8;
    --brand-text: #f58a47; --brand-soft: #3a1d0b; --link: #ffffff;
    --line: #273549; --line-control: #7d8b9e;
    --dot-off: #243049; --dot-dim: #7d8b9e; --dot-texture: #1b2740;
    --success: #5fd0b3; --success-soft: #0f2f2a;
    --warning: #f2b95b; --warning-soft: #3a2a0c;
    --danger: #f58b90;  --danger-soft: #3e1418;
    --focus: #ffffff;
    --shadow-window: 0 32px 64px -32px rgba(0, 0, 0, 0.7), 0 2px 6px rgba(0, 0, 0, 0.3);
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0e1626; --panel: #141d30; --raised: #ffffff;
  --head: #ffffff; --text: #aab4c3; --muted: #8a96a8;
  --brand-text: #f58a47; --brand-soft: #3a1d0b; --link: #ffffff;
  --line: #273549; --line-control: #7d8b9e;
  --dot-off: #243049; --dot-dim: #7d8b9e; --dot-texture: #1b2740;
  --success: #5fd0b3; --success-soft: #0f2f2a;
  --warning: #f2b95b; --warning-soft: #3a2a0c;
  --danger: #f58b90;  --danger-soft: #3e1418;
  --focus: #ffffff;
  --shadow-window: 0 32px 64px -32px rgba(0, 0, 0, 0.7), 0 2px 6px rgba(0, 0, 0, 0.3);
}

/* Product windows keep their own light palette in both modes (launch decision). */
.lx-window { color-scheme: light; }

/* Focus is visible on every ground. */
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.lx-footer :focus-visible { outline-color: #ffffff; }

/* ---------- spacing scale (used by a few inline styles) ---------- */
:root { --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px; --space-5: 20px; --space-6: 24px; --space-8: 32px; --space-10: 40px; --space-12: 48px; --space-16: 64px; }
@media (max-width: 639px) { :root { --gutter: 20px; } }

/* ---------- base ---------- */
body.lx {
  margin: 0; font-family: var(--font-text); font-size: var(--body); line-height: 26px;
  color: var(--text); background: var(--bg);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
.lx *, .lx *::before, .lx *::after { box-sizing: border-box; }
.lx h1, .lx h2, .lx h3, .lx h4 { margin: 0; color: var(--head); font-family: var(--font-display); }
.lx p { margin: 0; }
.lx :where(a) { color: var(--link); text-decoration: none; }
.lx :where(a:hover) { text-decoration: underline; text-underline-offset: 3px; }
.lx img, .lx svg { display: block; max-width: 100%; }
.lx ul, .lx ol { margin: 0; padding: 0; list-style: none; }
.lx-skip { position: absolute; left: -999px; top: 8px; z-index: 100; padding: 10px 14px; background: var(--panel); color: var(--head); border-radius: var(--r-sm); }
.lx-skip:focus { left: 8px; }

/* ---------- layout ---------- */
.lx-container { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.lx-container--narrow { max-width: 760px; }
.lx-section { padding: var(--section) 0; }
.lx-section--alt { background: var(--panel); }
.lx-section--band { background: var(--panel); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.lx-section--tight { padding: 48px 0; }
.lx-section:not(.lx-section--alt):not(.lx-section--band) + .lx-section:not(.lx-section--alt):not(.lx-section--band) { padding-top: 0; }
.lx-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .lx-grid { gap: 20px; } .lx-grid--2, .lx-grid--3, .lx-grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .lx-grid--3 { grid-template-columns: repeat(3, 1fr); } .lx-grid--4 { grid-template-columns: repeat(4, 1fr); } }

/* the faint dot field behind the nav and the hero; the hero continues the nav's pattern */
.lx-dots { background-image: radial-gradient(circle, var(--dot-texture) 1.5px, transparent 2px); background-size: 16px 16px; }

/* ---------- type helpers ---------- */
.lx-lead { font-size: 18px; line-height: 28px; color: var(--text); }
@media (min-width: 768px) { .lx-lead { font-size: var(--lead); line-height: 30px; } }
.lx-caption { font-size: 13px; line-height: 20px; color: var(--muted); }
.lx-after { margin-top: 24px; }

/* ---------- buttons: 48px, 10px radius, no arrows in labels ---------- */
.lx-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: var(--r-md); border: 1px solid transparent;
  font-family: var(--font-text); font-size: 15px; line-height: 20px; font-weight: 600;
  cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.lx .lx-btn:hover { text-decoration: none; }
.lx-btn svg { display: none; } /* 1.1 templates still pass an arrow; phase 3 removes the markup */
.lx-btn--primary, .lx .lx-btn--primary { background: var(--brand); color: var(--on-brand); border-color: var(--brand); }
.lx-btn--primary:hover, .lx .lx-btn--primary:hover { background: var(--brand-hover); border-color: var(--brand-hover); color: var(--on-brand); }
.lx-btn--secondary, .lx .lx-btn--secondary { background: transparent; color: var(--head); border-color: var(--line-control); }
.lx-btn--secondary:hover, .lx .lx-btn--secondary:hover { border-color: var(--head); color: var(--head); }
.lx-btn--ghost { background: transparent; color: var(--head); padding: 0 12px; }
.lx-btn--ghost:hover { background: var(--panel); }
.lx-btn--compact { min-height: 44px; padding: 0 16px; font-size: 14px; }
.lx-btn--sm { min-height: 44px; padding: 0 16px; font-size: 14px; }
.lx-btn--lg { min-height: 48px; }
.lx-btn--block { width: 100%; }
.lx-btn:disabled, .lx-btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; }
.lx-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- theme-dependent pairs: the logo and the theme switch icon ---------- */
.lx .lx-logo-dark, .lx .lx-theme__sun { display: none; }
:root[data-theme="dark"] .lx .lx-logo-light, :root[data-theme="dark"] .lx .lx-theme__moon { display: none; }
:root[data-theme="dark"] .lx .lx-logo-dark, :root[data-theme="dark"] .lx .lx-theme__sun { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .lx .lx-logo-light, :root:not([data-theme="light"]) .lx .lx-theme__moon { display: none; }
  :root:not([data-theme="light"]) .lx .lx-logo-dark, :root:not([data-theme="light"]) .lx .lx-theme__sun { display: block; }
}

/* ---------- nav ---------- */
.lx-nav { position: relative; z-index: 50; background-image: radial-gradient(circle, var(--dot-texture) 1.5px, transparent 2px); background-size: 16px 16px; }
.lx-nav__bar { display: flex; align-items: center; gap: 8px 32px; min-height: 84px; padding-top: 18px; padding-bottom: 18px; }
.lx-nav__brand { display: block; flex: none; padding: 7px 0; }
.lx-nav__brand img { height: 30px; width: auto; }
.lx-nav__panel { display: flex; align-items: center; gap: 8px 32px; flex: 1 1 auto; }
.lx-nav__links { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 28px; flex: 1 1 auto; }
.lx-nav__link {
  display: inline-flex; align-items: center; gap: 6px; padding: 12px 0; background: none; border: 0; cursor: pointer;
  font-family: var(--font-text); font-size: 15px; line-height: 20px; font-weight: 500; color: var(--text); text-decoration: none;
}
.lx .lx-nav__link:hover { color: var(--head); text-decoration: none; }
.lx-nav__link svg { width: 14px; height: 14px; transition: transform .15s ease; }
.lx-nav__link[aria-expanded="true"] svg { transform: rotate(180deg); }
.lx-nav__link[aria-current="page"], .lx-nav__link[data-current] { color: var(--head); text-decoration: underline; text-decoration-color: var(--brand); text-decoration-thickness: 2px; text-underline-offset: 8px; }
.lx-nav__tools { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.lx-region {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px; border-radius: var(--r-md);
  border: 1px solid var(--line); background: transparent; color: var(--head); cursor: pointer;
  font-family: var(--font-text); font-size: 14px; line-height: 20px; font-weight: 500;
}
.lx-region:hover, .lx-theme:hover { border-color: var(--line-control); }
.lx-theme { display: none; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border-radius: var(--r-md); border: 1px solid var(--line); background: transparent; color: var(--head); cursor: pointer; }
.js .lx-theme { display: inline-flex; }
.lx .lx-nav__login { color: var(--head); font-size: 15px; line-height: 20px; font-weight: 500; padding: 12px 8px; }
.lx-nav__demo-bar, .lx-nav__toggle { display: none; }
.lx-nav__toggle { align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; flex: none; border-radius: var(--r-md); border: 1px solid var(--line-control); background: transparent; color: var(--head); cursor: pointer; }

/* menus: open on click only (logsnx.js), close on Escape and outside click */
.lx-menu { position: relative; }
.lx-menu__panel { display: none; position: absolute; z-index: 60; top: calc(100% + 8px); left: -12px; min-width: 280px; padding: 8px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-md); }
.lx-menu.is-open > .lx-menu__panel { display: block; }
.lx-menu.is-open > .lx-menu__panel--wide { display: grid; grid-template-columns: repeat(2, minmax(240px, 1fr)); gap: 0 8px; }
.lx-menu--end .lx-menu__panel { left: auto; right: 0; min-width: 220px; }
.lx-menu__title { padding: 10px 12px 4px; font-size: 13px; line-height: 18px; font-weight: 600; color: var(--muted); }
.lx .lx-menu__item { display: block; padding: 12px 12px; border-radius: var(--r-sm); font-size: 14px; line-height: 20px; font-weight: 500; color: var(--head); text-decoration: none; }
.lx .lx-menu__item:hover { background: var(--bg); text-decoration: none; }
.lx-menu__item small { display: block; font-size: 13px; line-height: 18px; font-weight: 400; color: var(--muted); }
.lx-menu__item--all, .lx-menu__item[aria-current] { font-weight: 600; }
.lx-menu__item[aria-current] { background: var(--bg); }

@media (max-width: 1023px) {
  .lx-nav__bar { position: relative; gap: 12px; }
  .lx-nav__demo-bar { display: inline-flex; margin-left: auto; }
  .lx-nav__toggle { display: inline-flex; }
  .lx-nav__panel {
    display: none; position: absolute; left: 0; right: 0; top: 100%; z-index: 60;
    flex-direction: column; align-items: stretch; gap: 0; max-height: calc(100vh - 84px); overflow: auto;
    padding: 8px var(--gutter) 24px; background: var(--panel); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  }
  .lx-nav.is-open .lx-nav__panel { display: flex; }
  .lx-nav__links { flex-direction: column; align-items: stretch; gap: 0; }
  .lx-nav__link { width: 100%; justify-content: space-between; min-height: 48px; }
  .lx-menu__panel, .lx-menu--end .lx-menu__panel { position: static; min-width: 0; padding: 0 0 8px; border: 0; background: transparent; }
  .lx-menu.is-open > .lx-menu__panel--wide { grid-template-columns: 1fr; }
  .lx-nav__tools { padding-top: 16px; margin-top: 8px; border-top: 1px solid var(--line); }
  .lx-nav__tools .lx-menu--end.is-open { flex-basis: 100%; }
  .lx-nav__demo { display: none; }
}
@media (max-width: 359px) { .lx-nav__demo-bar { display: none; } }

/* ---------- footer: ink in both modes ---------- */
.lx-footer { background: var(--ink-ground); color: var(--on-ink-soft); padding: 64px 0 36px; border-top: 1px solid var(--line); font-family: var(--font-text); font-size: 14px; line-height: 22px; }
.lx-footer__grid { display: flex; flex-wrap: wrap; gap: 40px 56px; }
.lx-footer__brand { flex: 2 1 280px; max-width: 360px; display: flex; flex-direction: column; gap: 16px; }
.lx-footer__brand img { height: 30px; width: auto; align-self: flex-start; }
.lx-footer__contact { display: grid; gap: 4px; }
.lx-footer .lx-footer__contact a { color: var(--on-ink); font-weight: 500; }
.lx-footer__offices { font-size: 13px; line-height: 20px; }
.lx-footer__col { flex: 1 1 160px; display: flex; flex-direction: column; gap: 6px; }
.lx-footer__title { font-family: var(--font-text); font-size: 13px; line-height: 18px; font-weight: 600; letter-spacing: 0; color: var(--on-ink); }
.lx .lx-footer__title { color: var(--on-ink); font-family: var(--font-text); }
.lx-footer a { color: var(--on-ink-soft); }
.lx-footer__col a { display: inline-block; padding: 10px 0; font-size: 14px; line-height: 24px; }
.lx .lx-footer a:hover { color: var(--on-ink); text-decoration: none; }
.lx-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; margin-top: 48px; padding-top: 24px; border-top: 1px solid #273549; font-size: 13px; line-height: 20px; }
.lx-footer__bottom ul { display: flex; flex-wrap: wrap; gap: 0 20px; }
.lx-footer__bottom a { display: inline-block; padding: 12px 0; }

/* ======================= direction B components ======================= */

/* headings and small parts */
.lx .lx-h2 { font-family: var(--font-display); font-weight: 700; font-size: var(--h2); line-height: 1.04; letter-spacing: -0.025em; color: var(--head); max-width: 16ch; text-wrap: balance; }
.lx-stack { display: flex; flex-direction: column; gap: 56px; }
.lx-dot-rule { display: flex; gap: 7px; }
.lx-dot-rule i { width: 5px; height: 5px; border-radius: 50%; background: var(--brand); }
.lx .lx-more { align-self: flex-start; font-size: 15px; line-height: 22px; font-weight: 600; color: var(--head); text-decoration: underline; text-underline-offset: 4px; padding: 11px 0; margin: -11px 0; }
.lx .lx-more:hover { text-decoration-color: var(--brand); }
.lx-ticks { display: flex; flex-direction: column; gap: 10px; font-size: 15px; line-height: 24px; color: var(--text); }
.lx-ticks li { display: flex; gap: 10px; }
.lx-ticks svg { flex: none; margin-top: 4px; color: var(--brand-text); }

/* section head: h2 left, paragraph right, bottom-aligned */
.lx-head { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 20px 72px; }
.lx-head .lx-h2 { flex: 1 1 420px; }
.lx-head p { flex: 1 1 340px; max-width: 52ch; font-size: 17px; line-height: 28px; color: var(--text); }

/* hero: the dot field continues from the nav (84px tall, so the pattern is offset by 84px) */
.lx-hero { background-image: radial-gradient(circle, var(--dot-texture) 1.5px, transparent 2px); background-size: 16px 16px; background-position: 0 -84px; }
.lx-hero__body { display: flex; flex-direction: column; gap: 28px; padding-top: 72px; padding-bottom: 64px; }
.lx-hero h1 { max-width: 15ch; font-family: var(--font-display); font-weight: 700; font-size: var(--h1); line-height: 0.98; letter-spacing: -0.035em; color: var(--head); text-wrap: balance; }
.lx-hero__row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 64px; }
.lx-hero__lead { flex: 1 1 380px; max-width: 56ch; font-size: var(--lead); line-height: 30px; color: var(--text); }
.lx-hero .lx-btn--secondary { background: var(--bg); }

/* display (matrix.py): unlit dots are the background, lit dots one path in currentColor */
.lx-matrix { position: relative; display: block; flex: none; max-width: 100%; overflow: hidden; }
.lx .lx-matrix svg { position: absolute; left: 0; top: 0; display: block; max-width: none; }

/* product selector */
.lx-picker__tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(270px, 100%), 1fr)); gap: 16px; }
.lx .lx-pick {
  appearance: none; cursor: pointer; text-align: left; min-width: 0; display: flex; flex-direction: column; gap: 18px;
  padding: 22px; border-radius: var(--r-lg); background: var(--panel); border: 1px solid var(--line); color: var(--dot-dim);
  font: inherit; text-decoration: none;
}
.lx .lx-pick:hover { border-color: var(--line-control); text-decoration: none; }
.lx .lx-pick.is-selected { border-color: var(--brand); color: var(--brand); }
.lx-pick__text { display: flex; flex-direction: column; gap: 4px; }
.lx-pick__name { font-family: var(--font-display); font-size: 20px; line-height: 26px; font-weight: 600; color: var(--head); }
.lx-pick__line { font-size: 14px; line-height: 21px; color: var(--text); }
.lx-picker__panel { display: flex; flex-wrap: wrap; gap: 32px 48px; align-items: flex-start; padding-top: 48px; }
.lx-picker__panel[hidden] { display: none; }
.lx-picker__about { flex: 1 1 260px; max-width: 340px; display: flex; flex-direction: column; gap: 20px; padding-top: 8px; }
.lx-picker__about h2 { font-family: var(--font-display); font-size: 30px; line-height: 36px; font-weight: 600; letter-spacing: -0.02em; }
.lx-picker__view { flex: 3 1 520px; min-width: 0; }

/* flow track */
.lx-section--flow { padding: 136px 0 120px; }
.lx-flow { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(170px, 100%), 1fr)); gap: 32px 0; }
.lx-flow__step { display: flex; flex-direction: column; min-width: 0; }
.lx-flow__track { display: flex; align-items: center; height: 16px; margin-bottom: 18px;
  background-image: radial-gradient(circle, var(--dot-off) 2.5px, transparent 3px); background-size: 14px 16px; background-repeat: repeat-x; background-position: 20.5px 50%; background-clip: content-box; }
.lx-flow__track i { flex: none; width: 16px; height: 16px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 9px var(--bg); }
.lx-flow__step--last .lx-flow__track { background-image: none; }
.lx-flow__title { padding-right: 16px; font-family: var(--font-display); font-size: 21px; line-height: 26px; font-weight: 600; color: var(--head); }
.lx-flow__module { margin-top: 4px; padding-right: 16px; font-size: 13.5px; line-height: 20px; color: var(--text); }

/* region displays on a --panel band */
.lx-band { background: var(--panel); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.lx-band > .lx-container { display: flex; flex-direction: column; gap: 48px; padding-top: 112px; padding-bottom: 112px; }
.lx-regions { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 48px 56px; }
.lx-region-item { display: flex; flex-direction: column; gap: 20px; min-width: 0; color: var(--brand); }
.lx-region-item h3 { font-family: var(--font-display); font-size: 26px; line-height: 32px; font-weight: 600; letter-spacing: -0.02em; }
.lx-region-item p { font-size: 16px; line-height: 26px; color: var(--text); max-width: 38ch; }

/* FAQ: hairline rows, no boxes */
.lx-faq-block { display: grid; gap: 40px 72px; align-items: start; }
@media (min-width: 1024px) { .lx-faq-block { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }
.lx-faq { border-top: 1px solid var(--line); }
.lx-faq details { border-bottom: 1px solid var(--line); }
.lx-faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 48px; padding: 18px 0; font-family: var(--font-display); font-size: 18px; line-height: 26px; font-weight: 600; color: var(--head); }
.lx-faq summary::-webkit-details-marker { display: none; }
.lx-faq summary::after { content: ""; flex: none; width: 9px; height: 9px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); margin-top: -4px; }
.lx-faq details[open] summary::after { transform: rotate(-135deg); margin-top: 4px; }
.lx-faq__body { padding: 0 0 22px; font-size: 16px; line-height: 26px; color: var(--text); max-width: 68ch; }

/* proof row (renders only with real data) */
.lx-proof-row > .lx-container { display: flex; flex-direction: column; gap: 28px; padding-top: 96px; }
.lx-proof-row__headline { font-family: var(--font-display); font-size: clamp(22px, 2.2vw, 28px); line-height: 1.25; font-weight: 600; letter-spacing: -0.015em; color: var(--head); }
.lx-proof-row__logos { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }

/* CTA band: on the page ground, not a box */
.lx-cta__inner { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 32px 64px; padding-top: 136px; padding-bottom: 120px; }
.lx-cta__text { flex: 1 1 480px; display: flex; flex-direction: column; gap: 20px; }
.lx-cta h2 { max-width: 13ch; font-family: var(--font-display); font-weight: 700; font-size: clamp(40px, 5.4vw, 80px); line-height: 0.98; letter-spacing: -0.035em; color: var(--head); text-wrap: balance; }
.lx-cta p { font-size: 18px; line-height: 28px; color: var(--text); max-width: 44ch; }

/* product views: light palette in both modes (the window's own colours, not page tokens) */
.lx-window {
  --w-line: #dfe3ea; --w-head: #0e1626; --w-text: #465264; --w-muted: #5c6878; --w-field: #f3f5f8;
  --w-side: #fafbfc; --w-main: #f6f7f9; --w-off: #c6ccd6; --w-chip: #eceff3; --w-grey: #8a94a6;
  background: #ffffff; border: 1px solid var(--w-line); border-radius: 16px; overflow: hidden; text-align: left;
  font-family: var(--font-text); color: var(--w-text); box-shadow: var(--shadow-window);
}
.lx-window--shot { aspect-ratio: 16 / 10; }
.lx .lx-window--shot img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.lx-window__bar { display: flex; align-items: center; gap: 14px; padding: 10px 16px; border-bottom: 1px solid var(--w-line); background: #ffffff; }
.lx .lx-window__bar img { height: 18px; width: auto; }
.lx-window__search { flex: 0 1 300px; height: 30px; border-radius: 8px; background: var(--w-field); color: var(--w-muted); font-size: 12.5px; line-height: 30px; padding: 0 12px; overflow: hidden; white-space: nowrap; }
.lx-window__me { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.lx-window__ai { padding: 5px 10px; border-radius: 8px; background: var(--w-head); color: #ffffff; font-size: 12px; line-height: 16px; font-weight: 600; white-space: nowrap; }
.lx-window__avatar { width: 26px; height: 26px; border-radius: 50%; background: #feefe6; color: #b84c0f; font-size: 11px; line-height: 26px; font-weight: 700; text-align: center; }
.lx-window__body { display: flex; flex-wrap: wrap; }
.lx-window__side { flex: 0 0 172px; padding: 14px 10px; border-right: 1px solid var(--w-line); background: var(--w-side); display: flex; flex-direction: column; gap: 2px; }
.lx-window__nav { display: flex; align-items: center; gap: 8px; padding: 7px 10px; border-radius: 8px; font-size: 13px; line-height: 18px; color: var(--w-text); }
.lx-window__nav i { width: 6px; height: 6px; border-radius: 50%; background: var(--w-off); }
.lx-window__nav.is-on { background: #ffffff; color: var(--w-head); font-weight: 600; box-shadow: inset 0 0 0 1px var(--w-line); }
.lx-window__nav.is-on i { background: #f37126; }
.lx-window__main { flex: 999 1 380px; min-width: 0; padding: 20px 22px 24px; background: var(--w-main); display: flex; flex-direction: column; gap: 14px; }
.lx-window__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.lx-window__head span { font-size: 17px; line-height: 22px; font-weight: 600; color: var(--w-head); }
.lx-window__head b { padding: 6px 12px; border-radius: 8px; background: var(--w-head); color: #ffffff; font-size: 12.5px; line-height: 16px; font-weight: 600; white-space: nowrap; }
.lx-wkpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr)); gap: 12px; }
.lx-wkpi { background: #ffffff; border: 1px solid var(--w-line); border-radius: 10px; padding: 14px 16px; display: flex; flex-direction: column; gap: 6px; }
.lx-wkpi > div { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 4px 8px; font-size: 12px; line-height: 16px; color: var(--w-muted); }
.lx-wkpi strong { font-size: 22px; line-height: 26px; font-weight: 600; color: var(--w-head); font-variant-numeric: tabular-nums; }
.lx-wchip { display: inline-flex; align-items: center; padding: 2px 8px; border-radius: 6px; font-size: 11.5px; line-height: 16px; font-weight: 600; white-space: nowrap; }
.lx-wchip--ok { color: #0f766e; background: #e6f4f2; }
.lx-wchip--warn { color: #8a5200; background: #fdf1dc; }
.lx-wchip--bad { color: #b4232a; background: #fbe9ea; }
.lx-wchip--plain { color: var(--w-text); background: var(--w-chip); }
.lx-wcards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 12px; }
.lx-wcards--wide { grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }
.lx-wcard { background: #ffffff; border: 1px solid var(--w-line); border-radius: 10px; padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.lx-wcard__title { font-size: 12.5px; line-height: 16px; font-weight: 600; color: var(--w-head); }
.lx .lx-wchart { display: block; width: 100%; height: 110px; }
.lx-wchart polyline { fill: none; vector-effect: non-scaling-stroke; }
.lx-wchart__a { stroke: #f37126; stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.lx-wchart__b { stroke: var(--w-off); stroke-width: 2; stroke-dasharray: 4 4; }
.lx-wbars { display: flex; flex-direction: column; gap: 9px; }
.lx-wbar { display: grid; grid-template-columns: 62px minmax(0, 1fr) 62px; gap: 10px; align-items: center; font-size: 12px; line-height: 16px; color: var(--w-text); }
.lx-wbar > span:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.lx-wbar__track { display: block; height: 8px; border-radius: 4px; background: var(--w-field); }
.lx-wbar__fill { display: block; height: 8px; border-radius: 4px; background: var(--w-head); }
.lx-wbar__fill--grey { background: var(--w-grey); }
.lx-wbar__fill--bad { background: #b4232a; }
.lx-wtable { background: #ffffff; border: 1px solid var(--w-line); border-radius: 10px; overflow: hidden; }
.lx-wtable__head, .lx-wtable__row { display: grid; grid-template-columns: var(--cols); gap: 12px; align-items: center; padding: 10px 16px; font-size: 13px; line-height: 18px; color: var(--w-text); }
.lx-wtable__head { padding: 9px 16px; background: var(--w-side); border-bottom: 1px solid var(--w-line); font-size: 11.5px; line-height: 16px; font-weight: 600; color: var(--w-muted); }
.lx-wtable__row + .lx-wtable__row { border-top: 1px solid var(--w-line); }
.lx-wtable__row > b { font-weight: 600; color: var(--w-head); }
.lx-wlane { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px; align-items: center; background: #ffffff; border: 1px solid var(--w-line); border-radius: 10px; padding: 10px 12px; }
.lx-wlane--hours { background: none; border: 0; padding: 0 12px; font-size: 11.5px; line-height: 16px; color: var(--w-muted); }
.lx-wlane__hours { display: flex; justify-content: space-between; }
.lx-wlane__crew { display: flex; flex-direction: column; font-size: 11.5px; line-height: 16px; color: var(--w-muted); }
.lx-wlane__crew b { font-size: 12.5px; line-height: 16px; font-weight: 600; color: var(--w-head); }
.lx-wlane__jobs { display: flex; gap: 6px; min-width: 0; }
.lx-wjob { min-width: 0; padding: 6px 8px; border-radius: 6px; font-size: 11.5px; line-height: 16px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; border-left: 3px solid; }
.lx-wjob--ok { background: #e6f4f2; color: #0f766e; }
.lx-wjob--warn { background: #fdf1dc; color: #8a5200; }
.lx-wjob--bad { background: #fbe9ea; color: #b4232a; }
.lx-wflag { display: flex; align-items: center; gap: 14px; background: #ffffff; border: 1px solid var(--w-line); border-radius: 10px; padding: 12px 14px; }
.lx-wflag > i { flex: none; width: 4px; align-self: stretch; border-radius: 2px; background: #8a5200; }
.lx-wflag--bad > i { background: #b4232a; }
.lx-wflag--ok > i { background: #0f766e; }
.lx-wflag > span { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 2px; font-size: 12.5px; line-height: 18px; color: var(--w-text); }
.lx-wflag b { font-size: 13.5px; line-height: 18px; font-weight: 600; color: var(--w-head); }
.lx-wflag em, .lx-wask em { flex: none; padding: 6px 12px; border-radius: 8px; font-style: normal; font-size: 12.5px; line-height: 16px; font-weight: 600; }
.lx-wflag em { border: 1px solid #7d8b9e; color: var(--w-head); }
.lx-wask { display: flex; align-items: center; gap: 12px; background: var(--w-head); border-radius: 10px; padding: 12px 14px; }
.lx-wask span { flex: 1 1 0; min-width: 0; font-size: 13px; line-height: 18px; color: #c9d1dc; }
.lx-wask em { background: #f37126; color: var(--w-head); }
.lx-wsheet { aspect-ratio: 2 / 1; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: repeat(6, minmax(0, 1fr)); gap: 3px; padding: 6px; background: #e9edf2; border: 1px solid #b9c1ce; border-radius: 6px; }
.lx-wsheet__p { display: flex; align-items: center; justify-content: center; min-width: 0; overflow: hidden; white-space: nowrap; border-radius: 3px; font-size: 11px; line-height: 14px; font-weight: 600; background: #ffffff; border: 1px solid #b9c1ce; color: var(--w-text); }
.lx-wsheet__p--cut { background: #e6f4f2; border-color: #0f766e; color: #0f766e; }
.lx-wsheet__p--off { background: repeating-linear-gradient(135deg, #feefe6, #feefe6 6px, #ffffff 6px, #ffffff 12px); border: 1px dashed #b84c0f; color: #b84c0f; }
.lx-window { container-type: inline-size; }
@container (max-width: 600px) {
  .lx-window__side, .lx-window__search, .lx-wtable__opt { display: none; }
  .lx-window__main { padding: 16px; }
  .lx-wtable__head, .lx-wtable__row { grid-template-columns: var(--cols-sm, var(--cols)); }
}

/* ======================= page components (phase 3) ======================= */

/* page hero: product display beside the H1, the inner H1 at --h2 plus 20%, breadcrumbs above */
.lx-hero__top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 48px; }
.lx-hero__top h1 { flex: 1 1 480px; min-width: 0; }
.lx-hero__display { flex: none; color: var(--brand); margin-bottom: 6px; }
.lx-hero--inner .lx-hero__body { padding-top: 56px; padding-bottom: 56px; gap: 24px; }
.lx-hero--inner h1 { font-size: calc(var(--h2) * 1.2); line-height: 1.02; letter-spacing: -0.03em; max-width: 18ch; }
.lx-hero--crumbs .lx-hero__body { padding-top: 40px; }
.lx-hero-view { padding-bottom: 24px; display: flex; flex-direction: column; gap: 16px; }
.lx-hero-view + .lx-section { padding-top: var(--section); }
.lx-crumbs { font-size: 14px; line-height: 20px; color: var(--muted); }
.lx-crumbs ol { display: flex; flex-wrap: wrap; gap: 0 8px; }
.lx-crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--line-control); }
.lx .lx-crumbs a { color: var(--text); display: inline-block; padding: 12px 0; }
.lx-crumbs [aria-current] { color: var(--head); display: inline-block; padding: 12px 0; }

/* section heads sit above their content */
.lx-section .lx-head { margin-bottom: 48px; }
.lx-container--narrow .lx-head { display: block; }
.lx-container--narrow .lx-head p { margin-top: 16px; }
.lx-grid > div > .lx-head { display: block; margin-bottom: 24px; }
.lx-grid > div > .lx-head .lx-h2 { font-size: var(--h3); line-height: 1.2; letter-spacing: -0.02em; font-weight: 600; }

/* features: a text grid without boxes */
.lx-grid:has(> .lx-feature) { gap: 40px 32px; }
.lx-feature { display: flex; flex-direction: column; gap: 10px; padding-top: 20px; border-top: 1px solid var(--line); min-width: 0; }
.lx-feature h2, .lx-feature h3 { font-family: var(--font-display); font-size: 20px; line-height: 26px; font-weight: 600; letter-spacing: -0.01em; }
.lx-feature p { font-size: 15px; line-height: 24px; color: var(--text); }
.lx-feature .lx-more { margin-top: 4px; }

/* product list: rows with hairlines */
.lx-plist { border-top: 1px solid var(--line); }
.lx-plist__row { display: grid; gap: 8px 32px; padding: 24px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
@media (min-width: 900px) { .lx-plist__row { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr) auto; } .lx-plist__row .lx-ticks { grid-column: 2; } }
.lx-plist__row h2, .lx-plist__row h3 { font-family: var(--font-display); font-size: 22px; line-height: 28px; font-weight: 600; letter-spacing: -0.015em; }
.lx-plist__row p { font-size: 16px; line-height: 26px; color: var(--text); max-width: 60ch; }

/* stats: large numbers on a band */
.lx-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 32px; }
.lx-stat { display: flex; flex-direction: column; gap: 6px; padding-top: 16px; border-top: 1px solid var(--line-control); }
.lx-stat__num { font-family: var(--font-display); font-size: clamp(40px, 4.4vw, 60px); line-height: 1; font-weight: 700; letter-spacing: -0.03em; color: var(--head); font-variant-numeric: tabular-nums; }
.lx-stat__label { font-size: 14px; line-height: 22px; color: var(--text); }

/* steps: numbered, no step highlighted */
.lx-steps { display: grid; gap: 32px 24px; grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr)); }
.lx-step { display: flex; flex-direction: column; gap: 8px; padding-top: 16px; border-top: 1px solid var(--line-control); }
.lx-step__num { font-family: var(--font-display); font-size: 14px; line-height: 20px; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
.lx-step h3 { font-family: var(--font-display); font-size: 19px; line-height: 26px; font-weight: 600; }
.lx-step p { font-size: 14px; line-height: 22px; color: var(--text); }

/* showcase rows: text beside a product view */
.lx-show { display: grid; gap: 32px; align-items: center; }
.lx-show + .lx-show { margin-top: 96px; }
.lx-show__text { display: flex; flex-direction: column; gap: 16px; }
.lx-show h3 { font-family: var(--font-display); font-size: var(--h3); line-height: 1.2; font-weight: 600; letter-spacing: -0.02em; text-wrap: balance; }
.lx-show p { font-size: 16px; line-height: 26px; color: var(--text); }
.lx-show ul:not(.lx-checks) { display: grid; gap: 8px; }
.lx-show ul:not(.lx-checks) li, .lx-checks li { position: relative; padding-left: 26px; font-size: 15px; line-height: 24px; color: var(--text); }
.lx-show ul:not(.lx-checks) li::before, .lx-checks li::before { content: ""; position: absolute; left: 2px; top: 7px; width: 10px; height: 6px; border-left: 2px solid var(--brand-text); border-bottom: 2px solid var(--brand-text); transform: rotate(-45deg); }
.lx-checks { display: grid; gap: 10px; }
.lx-show .lx-actions { margin-top: 8px; }
@media (min-width: 1024px) { .lx-show { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 72px; } .lx-show--flip .lx-show__text { order: 2; } }

/* cards: only for peers a visitor compares (pricing plans, industries, deployment options) */
.lx-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; color: var(--text); display: flex; flex-direction: column; gap: 12px; }
.lx-card h2, .lx-card h3 { font-family: var(--font-display); font-size: 20px; line-height: 26px; font-weight: 600; letter-spacing: -0.01em; }
.lx-card p { font-size: 15px; line-height: 24px; }
.lx .lx-card--hover { text-decoration: none; }
.lx .lx-card--hover:hover { border-color: var(--line-control); text-decoration: none; }
.lx-card__label { font-size: 13px; line-height: 18px; font-weight: 600; color: var(--muted); }
.lx-card__link { margin-top: auto; padding-top: 4px; font-size: 15px; line-height: 22px; font-weight: 600; color: var(--head); text-decoration: underline; text-underline-offset: 4px; }
.lx-market { padding: 0; overflow: hidden; gap: 0; }
.lx-market__media { padding: 20px 20px 0; }
.lx-market__media .lx-window { box-shadow: none; aspect-ratio: 16 / 10; overflow: hidden; }
.lx-market__body { display: flex; flex-direction: column; gap: 10px; padding: 24px 28px 28px; flex: 1; }
.lx-market__kicker { font-size: 14px; line-height: 22px; color: var(--text); }
.lx-market ul { display: grid; gap: 6px; }
.lx-market li { position: relative; padding-left: 16px; font-size: 14px; line-height: 22px; color: var(--text); }
.lx-market li::before { content: ""; position: absolute; left: 0; top: 9px; width: 5px; height: 5px; border-radius: 50%; background: var(--brand); }
.lx-deploy { display: grid; gap: 20px; margin-bottom: 20px; }
@media (min-width: 768px) { .lx-deploy { grid-template-columns: 1fr 1fr; } }
.lx-deploy .lx-card h2, .lx-card h3 { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }

/* badges: tokens, status always with a word */
.lx-badge { display: inline-flex; align-items: center; padding: 2px 8px; border-radius: 6px; font-size: 12px; line-height: 18px; font-weight: 600; white-space: nowrap; background: var(--bg); color: var(--text); border: 1px solid var(--line); font-family: var(--font-text); letter-spacing: 0; }
.lx-badge--brand { background: var(--brand-soft); color: var(--brand-text); border-color: transparent; }
.lx-badge--success { background: var(--success-soft); color: var(--success); border-color: transparent; }
.lx-badge--warning { background: var(--warning-soft); color: var(--warning); border-color: transparent; }
.lx-badge--danger { background: var(--danger-soft); color: var(--danger); border-color: transparent; }

/* screen cards (a view, a title, a line) */
.lx-screen { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.lx-screen h3 { margin-top: 12px; font-family: var(--font-display); font-size: 20px; line-height: 26px; font-weight: 600; }
.lx-screen p { font-size: 15px; line-height: 24px; color: var(--text); }

/* before and after pairs, pains */
.lx-pairs { display: grid; gap: 0 32px; border-top: 1px solid var(--line); }
@media (min-width: 768px) { .lx-pairs { grid-template-columns: repeat(3, 1fr); } }
.lx-pair { margin: 0; padding: 24px 0; border-bottom: 1px solid var(--line); }
.lx-grid > .lx-pair { border-top: 1px solid var(--line); border-bottom: 0; }
.lx-pair dt { font-size: 13px; line-height: 18px; font-weight: 600; color: var(--muted); }
.lx-pair dd { margin: 4px 0 0; font-size: 15px; line-height: 24px; color: var(--text); }
.lx-pair dd + dt { margin-top: 16px; color: var(--brand-text); }
.lx-pair dd.lx-pair__after { color: var(--head); font-weight: 500; }
.lx-pains { display: grid; border-top: 1px solid var(--line); }
.lx-pains li { position: relative; padding: 16px 0 16px 22px; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 24px; color: var(--head); }
.lx-pains li::before { content: ""; position: absolute; left: 2px; top: 25px; width: 6px; height: 6px; border-radius: 50%; background: var(--danger); }

/* pricing plans */
.lx-plans { display: grid; gap: 20px; }
@media (min-width: 1024px) { .lx-plans { grid-template-columns: repeat(3, 1fr); } }
.lx-plan { gap: 0; }
.lx-plan__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.lx-plan__price { margin-top: 20px; font-family: var(--font-display); font-size: 44px; line-height: 1; font-weight: 700; letter-spacing: -0.03em; color: var(--head); }
.lx-plan__price small { display: block; margin-top: 8px; font-family: var(--font-text); font-size: 13px; line-height: 18px; font-weight: 400; color: var(--muted); letter-spacing: 0; }
.lx-plan__summary { margin-top: 16px; }
.lx-plan ul { margin-top: 20px; display: grid; gap: 8px; flex: 1; }
.lx-plan li { position: relative; padding-left: 26px; font-size: 14px; line-height: 22px; color: var(--text); }
.lx-plan li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 10px; height: 6px; border-left: 2px solid var(--brand-text); border-bottom: 2px solid var(--brand-text); transform: rotate(-45deg); }
.lx-plan .lx-btn { margin-top: 24px; }
.lx-plan__price--text { font-size: 30px; line-height: 1.1; letter-spacing: -0.02em; }

/* tables: no coloured column */
.lx-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.lx-table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 22px; color: var(--text); }
.lx-table th, .lx-table td { padding: 14px 16px 14px 0; text-align: left; border-top: 1px solid var(--line); vertical-align: top; }
.lx-table thead th { border-top: 0; border-bottom: 1px solid var(--line-control); font-size: 13px; line-height: 18px; font-weight: 600; color: var(--muted); }
.lx-table tbody td:first-child { color: var(--head); font-weight: 600; }

/* AI Assistant principles: text items under a five-dot rule */
.lx-principles { display: grid; gap: 40px 32px; }
@media (min-width: 768px) { .lx-principles { grid-template-columns: repeat(3, 1fr); } }
.lx-principle { display: flex; flex-direction: column; gap: 10px; }
.lx-principle::before { content: ""; width: 47px; height: 5px; margin-bottom: 10px; background: radial-gradient(circle, var(--brand) 2.5px, transparent 3px) 0 0 / 12px 5px repeat-x; }
.lx-principle h3 { font-family: var(--font-display); font-size: 20px; line-height: 26px; font-weight: 600; }
.lx-principle p { font-size: 15px; line-height: 24px; color: var(--text); }

/* prose (legal) and facts (about) */
.lx-prose { max-width: 760px; font-size: 16px; line-height: 27px; color: var(--text); }
.lx-prose h2 { font-family: var(--font-display); font-size: 24px; line-height: 30px; font-weight: 600; margin-top: 48px; }
.lx-prose h2:first-child { margin-top: 0; }
.lx-prose h3 { font-size: 18px; line-height: 26px; font-weight: 600; margin-top: 24px; }
.lx-prose p, .lx-prose ul { margin-top: 16px; }
.lx-prose ul { padding-left: 20px; list-style: disc; }
.lx-prose li + li { margin-top: 8px; }
.lx-prose strong { color: var(--head); }
.lx .lx-prose a { text-decoration: underline; text-underline-offset: 3px; }
.lx-facts { margin: 0; border-top: 1px solid var(--line); }
.lx-facts div { display: grid; gap: 4px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.lx-facts dt { font-size: 13px; line-height: 18px; font-weight: 600; color: var(--muted); }
.lx-facts dd { margin: 0; font-size: 15px; line-height: 24px; color: var(--head); }
@media (min-width: 640px) { .lx-facts div { grid-template-columns: 200px 1fr; gap: 16px; align-items: baseline; } }

/* contact and demo: the form on the page ground, one aside card */
.lx-split { display: grid; gap: 48px; }
@media (min-width: 1024px) { .lx-split { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 72px; align-items: start; } }
.lx-aside { gap: 0; padding: 8px 28px; }
.lx-aside__part { display: flex; flex-direction: column; gap: 10px; padding: 20px 0; }
.lx-aside__part + .lx-aside__part { border-top: 1px solid var(--line); }
.lx-aside__part h2 { font-family: var(--font-display); font-size: 18px; line-height: 24px; font-weight: 600; color: var(--head); }
.lx-aside__part p { font-size: 15px; line-height: 24px; }
.lx-contact-lines { display: grid; gap: 10px; font-size: 15px; line-height: 23px; }
.lx-contact-lines small { display: block; color: var(--muted); font-size: 13px; }
.lx .lx-contact-lines a { color: var(--head); font-weight: 600; display: inline-block; padding: 11px 0; }
.lx-contact-lines { gap: 0; }
.lx-contact-lines small { margin-top: -8px; padding-bottom: 6px; }
.lx-offices { display: grid; gap: 12px; }
.lx-offices address { font-style: normal; font-size: 15px; line-height: 23px; color: var(--text); }
.lx-offices address b { display: block; color: var(--head); font-weight: 600; }

/* forms: 48px inputs, labels above, per-field errors */
.lx-form-row { display: grid; gap: 20px; align-items: start; }
@media (min-width: 640px) { .lx-form-row--2 { grid-template-columns: 1fr 1fr; } }
.lx-field { display: grid; gap: 8px; align-content: start; }
.lx-field--wide { margin-top: 20px; }
.lx-label { font-size: 14px; line-height: 20px; font-weight: 600; color: var(--head); }
.lx-label small { font-size: 14px; font-weight: 400; color: var(--muted); }
.lx-input, .lx-select, .lx-textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border-radius: var(--r-md);
  font-family: var(--font-text); font-size: 16px; line-height: 22px; color: var(--head);
  background: var(--bg); border: 1px solid var(--line-control);
}
.lx-textarea { min-height: 132px; resize: vertical; }
.lx-input:focus-visible, .lx-select:focus-visible, .lx-textarea:focus-visible { border-color: var(--head); }
.lx-select { appearance: none; padding-right: 40px; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.lx-field__hint { font-size: 13px; line-height: 18px; color: var(--muted); }
.lx-field__error { font-size: 14px; line-height: 20px; font-weight: 500; color: var(--danger); }
.lx-field.is-invalid .lx-input, .lx-field.is-invalid .lx-select, .lx-field.is-invalid .lx-textarea, .lx [aria-invalid="true"] { border-color: var(--danger); }
.lx-form__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 28px; }
.lx-form__status { margin-top: 16px; min-height: 22px; font-size: 15px; line-height: 22px; }
.lx-form__status.is-ok { color: var(--success); font-weight: 600; }
.lx-form__status.is-err { color: var(--danger); }
.lx-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
