/* ════════════════════════════════════════════════════════════════
   LeadDesk front page (index.php) — Chemspectrum navy, brand blue, green.
   Light page with a navy hero; works from 320 px phones to wide screens.
   ════════════════════════════════════════════════════════════════ */
:root {
  --navy: #0D1F3C; --navy-2: #04213B; --navy-3: #16305A;
  --brand: #2E66B8; --brand-600: #24539A; --brand-50: #EAF1FB;
  --green: #4A9E2C; --green-bright: #70C74E; --teal: #1F9E9C;
  --bg: #F4F6FA; --surface: #FFFFFF; --text: #1C2635; --muted: #5B6676; --muted-2: #8792A2; --border: #E3E8EF;
  --head: 'Poppins', 'Segoe UI', system-ui, sans-serif;
  --body: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--body); font-size: 16px; line-height: 1.6; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
h1, h2, h3 { font-family: var(--head); line-height: 1.2; margin: 0; text-wrap: balance; }
.lp-wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding-inline: 24px; }

/* buttons */
.lp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 46px; padding: 0 20px; border-radius: 10px; font-weight: 600; font-size: .95rem; border: 1px solid transparent; transition: transform .15s, box-shadow .15s, background .15s; white-space: nowrap; }
.lp-btn:hover { transform: translateY(-1px); }
.lp-btn:focus-visible { outline: 3px solid #9CC2F2; outline-offset: 2px; }
.lp-btn-brand { background: var(--brand); color: #fff; box-shadow: 0 10px 24px rgba(46,102,184,.35); }
.lp-btn-brand:hover { background: var(--brand-600); }
.lp-btn-light { background: #fff; color: var(--navy); box-shadow: 0 6px 16px rgba(4,33,59,.18); }
.lp-btn-ghost { color: #fff; border-color: rgba(255,255,255,.28); background: rgba(255,255,255,.06); }
.lp-btn-ghost:hover { background: rgba(255,255,255,.12); }
.lp-btn i { font-size: .9em; }

/* top bar */
.lp-top { position: sticky; top: 0; z-index: 20; background: rgba(13,31,60,.92); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(255,255,255,.08); padding-top: env(safe-area-inset-top, 0px); }
.lp-top-in { display: flex; align-items: center; gap: 20px; min-height: 68px; }
.lp-brand { display: flex; align-items: center; gap: 11px; color: #fff; margin-right: auto; }
.lp-brand strong { display: block; font-family: var(--head); font-size: 1.12rem; line-height: 1.1; }
.lp-brand small { display: block; font-size: .74rem; color: rgba(255,255,255,.6); }
.lp-mark { width: 40px; height: 40px; border-radius: 11px; background: #fff; display: grid; place-items: center; flex: none; box-shadow: 0 4px 12px rgba(0,0,0,.18); }
.lp-mark img { width: 30px; height: 30px; }
.lp-nav { display: flex; gap: 26px; font-size: .92rem; }
.lp-nav a { color: rgba(255,255,255,.78); }
.lp-nav a:hover { color: #fff; }
.lp-nav i { font-size: .7em; margin-left: 3px; }
.lp-top .lp-btn { min-height: 40px; padding: 0 16px; font-size: .9rem; }

/* hero */
.lp-hero { position: relative; overflow: hidden; background: radial-gradient(1200px 500px at 85% -10%, #1F4C8F 0%, transparent 60%), linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%); color: #fff; padding-block: 20px 96px; }
.lp-hero-in { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: center; }
.lp-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 600; letter-spacing: .04em; color: #BFE7AE; background: rgba(112,199,78,.12); border: 1px solid rgba(112,199,78,.3); border-radius: 50px; padding: 5px 14px; }
.lp-hero h1 { font-size: clamp(2rem, 4.4vw, 3.3rem); margin: 20px 0 18px; letter-spacing: -.01em; }
.lp-hero h1 em { font-style: normal; color: var(--green-bright); }
.lp-hero-copy > p { font-size: 1.08rem; color: rgba(255,255,255,.78); max-width: 52ch; margin: 0; }
.lp-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.lp-hero-copy > .lp-note { margin: 18px 0 0; font-size: .84rem; color: rgba(255,255,255,.55); display: flex; gap: 8px; align-items: center; }
.lp-hex { position: absolute; right: -80px; bottom: -120px; width: 560px; color: rgba(140,170,215,.14); pointer-events: none; }

/* the molecule art */
.lp-art { position: relative; max-width: 460px; width: 100%; justify-self: center; }
.lp-art svg { width: 100%; height: auto; display: block; filter: drop-shadow(0 20px 40px rgba(0,0,0,.35)); }
.lp-chip { position: absolute; display: flex; align-items: center; gap: 10px; background: #fff; color: var(--text); padding: 10px 14px; border-radius: 12px; box-shadow: 0 16px 34px rgba(0,0,0,.3); font-size: .8rem; line-height: 1.25; }
.lp-chip b { font-family: var(--head); font-size: 1.3rem; color: var(--navy); }
.lp-chip i { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; background: #E8F6EC; color: #15803D; }
.lp-chip-a { left: 0; bottom: 18%; }
.lp-chip-b { right: 0; top: 2%; }

/* company facts */
.lp-facts { margin-top: -42px; position: relative; z-index: 2; }
.lp-facts-in { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: #fff; border-radius: 16px; box-shadow: 0 14px 40px rgba(13,31,60,.1); border: 1px solid var(--border); padding: 0; }
.lp-facts-in > div { padding: 22px 24px; border-right: 1px solid var(--border); }
.lp-facts-in > div:last-child { border-right: 0; }
.lp-facts b { display: block; font-family: var(--head); font-size: 1.8rem; color: var(--navy); line-height: 1.1; font-variant-numeric: tabular-nums; }
.lp-facts span { font-size: .86rem; color: var(--muted); }

/* sections */
.lp-sec { padding-block: 20px; }
.lp-sec-alt { background: #fff; border-block: 1px solid var(--border); }
.lp-head { text-align: center; max-width: 700px; margin: 0 auto 48px; }
.lp-head-left { text-align: left; margin: 0; }
.lp-kicker { display: inline-block; font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); margin-bottom: 10px; }
.lp-head h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--navy); }
.lp-head p { color: var(--muted); margin: 14px auto 0; max-width: 60ch; }
.lp-head-left p { margin-left: 0; }

/* about */
.lp-about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.lp-head-left p + p { margin-top: 14px; }
.lp-why { display: grid; gap: 14px; }
.lp-why-card { display: flex; gap: 16px; align-items: flex-start; background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 20px; }
.lp-why-ic { width: 44px; height: 44px; border-radius: 12px; flex: none; display: grid; place-items: center; background: var(--brand-50); color: var(--brand); font-size: 1.1rem; }
.lp-why-card strong { font-family: var(--head); color: var(--navy); font-size: 1.02rem; }
.lp-why-card p { margin: 4px 0 0; font-size: .9rem; color: var(--muted); }

/* products */
.lp-cats-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.lp-cat { display: flex; flex-direction: column; gap: 8px; border: 1px solid var(--border); border-radius: 14px; padding: 22px; background: #fff; }
.lp-cat-ic { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; background: #EEF6EA; color: var(--green); margin-bottom: 4px; }
.lp-cat strong { font-family: var(--head); font-size: 1.02rem; color: var(--navy); }
.lp-cat p { margin: 0; font-size: .9rem; color: var(--muted); }
.lp-cat-more { background: var(--navy); border-color: var(--navy); transition: transform .15s; }
.lp-cat-more:hover { transform: translateY(-2px); }
.lp-cat-more strong { color: #fff; }
.lp-cat-more p { color: #BFE7AE; font-weight: 600; }
.lp-cat-more .lp-cat-ic { background: rgba(255,255,255,.1); color: #fff; }

/* sign-in band + footer */
.lp-band { background: linear-gradient(120deg, var(--brand) 0%, #1F4C8F 100%); color: #fff; }
.lp-band-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 44px; flex-wrap: wrap; }
.lp-band h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.lp-band p { margin: 6px 0 0; color: rgba(255,255,255,.82); }
.lp-foot { background: var(--navy-2); color: rgba(255,255,255,.7); padding-bottom: env(safe-area-inset-bottom, 0px); }
.lp-foot-in { display: grid; grid-template-columns: auto 1fr; gap: 18px 40px; padding-block: 40px 28px; align-items: start; }
.lp-foot-brand { display: flex; gap: 12px; align-items: center; color: #fff; }
.lp-foot-brand strong { display: block; font-family: var(--head); }
.lp-foot-brand small { color: rgba(255,255,255,.55); font-size: .78rem; }
.lp-foot address { font-style: normal; display: grid; gap: 8px; font-size: .88rem; justify-self: end; }
.lp-foot address i { width: 18px; color: #7FA3D6; margin-right: 8px; }
.lp-foot address a:hover { color: #fff; }
.lp-foot-note a { color: rgba(255,255,255,.7); text-decoration: underline; }
.lp-foot-note { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.1); padding-top: 18px; font-size: .78rem; color: rgba(255,255,255,.45); }

/* ── tablets ── */
@media (max-width: 991px) {
  .lp-nav { display: none; }
  .lp-hero { padding-block: 48px 84px; }
  .lp-hero-in { grid-template-columns: 1fr; gap: 40px; }
  .lp-art { max-width: 380px; }
  .lp-about { grid-template-columns: 1fr; gap: 32px; }
  .lp-cats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp-facts-in { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp-facts-in > div:nth-child(2) { border-right: 0; }
  .lp-facts-in > div:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
  .lp-sec { padding-block: 64px; }
}
/* ── phones ── */
@media (max-width: 600px) {
  .lp-wrap { padding-inline: 16px; }
  .lp-top-in { min-height: 60px; gap: 12px; }
  .lp-mark { width: 36px; height: 36px; }
  .lp-mark img { width: 26px; height: 26px; }
  .lp-top .lp-btn { min-height: 38px; padding: 0 13px; font-size: .85rem; }
  .lp-hero-copy > p { font-size: 1rem; }
  .lp-cta .lp-btn { flex: 1 1 100%; }
  .lp-art { max-width: 320px; }
  .lp-chip { padding: 8px 11px; }
  .lp-cats-grid { grid-template-columns: 1fr; }
  .lp-facts-in > div { padding: 16px; }
  .lp-facts b { font-size: 1.45rem; }
  .lp-band-in .lp-btn { width: 100%; }
  .lp-foot-in { grid-template-columns: 1fr; }
  .lp-foot address { justify-self: start; }
  .lp-hex { width: 380px; right: -140px; bottom: -80px; }
}
@media (max-width: 360px) { .lp-brand small { display: none; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .lp-btn { transition: none; } }
}
