/*
Theme Name: Line & Load
Theme URI: https://example.com/
Author: Ohm Electricals
Description: Theme for Line & Load, a business of Ohm Electricals — business apps for electrical distributors and contractors. Page layouts are built from the class system below; pages are created by the Line & Load Setup plugin.
Version: 1.1.0
Requires at least: 6.0
Requires PHP: 7.4
License: Proprietary
Text Domain: line-and-load
*/

/* ==========================================================================
   1. Tokens
   ========================================================================== */
:root {
  --ll-ink: #16181A;
  --ll-muted: #4A4F55;
  --ll-bg: #F4F5F6;
  --ll-white: #FFFFFF;
  --ll-rule: #D7DADE;
  --ll-steel: #CFD3D7;
  --ll-copper: #A8471A;
  --ll-blue: #1D4A73;
  --ll-ink-rule: #3A3D40;
  --ll-ink-muted: #C4C8CD;

  /* Layer pill colours */
  --ll-pill-1: #DCEBFA; /* Get found */
  --ll-pill-2: #DDF3E8; /* Engage */
  --ll-pill-3: #FFF1CC; /* Buy / Sell */
  --ll-pill-4: #ECE4FB; /* Price & product */
  --ll-pill-5: #FDE3D3; /* Deliver & serve */
  --ll-pill-6: #FBE0EC; /* People */
  --ll-pill-7: #E1E6EC; /* Back office */

  /* Side chips */
  --ll-chip-contractors-bg: #DCE6F0;
  --ll-chip-distributors-bg: #F6E4DA;
  --ll-chip-both-bg: #E6E8EB;

  --ll-display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --ll-body: 'IBM Plex Sans', 'Helvetica Neue', Arial, sans-serif;
  --ll-mono: 'IBM Plex Mono', ui-monospace, monospace;

  --ll-wrap: 1200px;
  --ll-gutter: 24px;
  --ll-pad-x: clamp(20px, 5vw, 120px);
  --ll-section-y: clamp(56px, 7vw, 96px);
}

/* ==========================================================================
   2. Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--ll-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ll-ink);
  background: var(--ll-bg);
}
img, svg { max-width: 100%; height: auto; }
[hidden] { display: none !important; }
a { color: inherit; }
a:hover { color: var(--ll-muted); }
:focus-visible { outline: 3px solid var(--ll-blue); outline-offset: 2px; }
.ll-skip {
  position: absolute; left: -9999px; top: 8px; z-index: 100;
  background: var(--ll-ink); color: var(--ll-white); padding: 10px 16px;
}
.ll-skip:focus { left: 8px; }
.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
html { scroll-behavior: smooth; }

/* ==========================================================================
   3. Layout
   ========================================================================== */
.ll-section {
  padding: var(--ll-section-y) var(--ll-pad-x);
  border-top: 1px solid var(--ll-rule);
}
.ll-section--flush { border-top: 0; }
.ll-section--white { background: var(--ll-white); }
.ll-section--steel { background: var(--ll-steel); border-top: 0; }
.ll-section--ink { background: var(--ll-ink); color: var(--ll-white); border-top: 0; }
.ll-section--copper { background: var(--ll-copper); color: var(--ll-white); border-top: 0; }
.ll-section--blue { background: var(--ll-blue); color: var(--ll-white); border-top: 0; }
.ll-section--tight { padding-top: 40px; padding-bottom: 40px; }

.ll-wrap { max-width: var(--ll-wrap); margin: 0 auto; display: flex; flex-direction: column; gap: 32px; }
.ll-stack { display: flex; flex-direction: column; gap: 20px; }
.ll-stack--sm { gap: 12px; }
.ll-stack--lg { gap: 40px; }
.ll-row { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.ll-row--between { justify-content: space-between; align-items: flex-end; }

.ll-grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 720px) {
  .ll-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ll-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ll-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .ll-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ll-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ll-grid--gap-lg { gap: 48px; }
}

/* 12-column split used for label/content, article/sidebar and hero layouts */
.ll-split { display: grid; gap: 32px; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 1024px) {
  .ll-split { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--ll-gutter); }
  .ll-split > .ll-col-3 { grid-column: span 3; }
  .ll-split > .ll-col-4 { grid-column: span 4; }
  .ll-split > .ll-col-5 { grid-column: span 5; }
  .ll-split > .ll-col-6 { grid-column: span 6; }
  .ll-split > .ll-col-7 { grid-column: span 7; }
  .ll-split > .ll-col-8 { grid-column: span 8; }
  .ll-split > .ll-col-9 { grid-column: span 9; }
  .ll-split > .ll-col-12 { grid-column: span 12; }
  .ll-split > .ll-col-right-4 { grid-column: 9 / span 4; }
  .ll-split > .ll-col-right-5 { grid-column: 8 / span 5; }
  .ll-split > .ll-col-right-3 { grid-column: 10 / span 3; }
  .ll-split--center { align-items: center; }
}

/* ==========================================================================
   4. Typography
   ========================================================================== */
.ll-display, .ll-h1, .ll-h2, .ll-h3 {
  font-family: var(--ll-display);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 0.98;
  margin: 0;
}
.ll-h1 { font-size: clamp(44px, 6.4vw, 96px); }
.ll-h1--md { font-size: clamp(40px, 5.2vw, 72px); }
.ll-h2 { font-size: clamp(34px, 4.2vw, 60px); line-height: 1; }
.ll-h2--md { font-size: clamp(30px, 3.2vw, 44px); }
.ll-h2--sm { font-size: clamp(24px, 2.4vw, 32px); }
.ll-h3 { font-size: clamp(22px, 2vw, 28px); line-height: 1.05; }
@media (min-width: 1024px) { .ll-nowrap { white-space: nowrap; } }

.ll-eyebrow {
  font-family: var(--ll-mono);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ll-muted);
  margin: 0;
}
.ll-section--ink .ll-eyebrow { color: var(--ll-ink-muted); }
.ll-section--copper .ll-eyebrow, .ll-section--blue .ll-eyebrow, .ll-eyebrow--inverse { color: var(--ll-white); }

.ll-lead { margin: 0; max-width: 760px; font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; }
.ll-text { margin: 0; max-width: 860px; font-size: 18px; line-height: 1.65; color: var(--ll-muted); }
.ll-section--ink .ll-text { color: var(--ll-ink-muted); }
.ll-section--copper .ll-text, .ll-section--blue .ll-text { color: var(--ll-white); }
.ll-small { font-size: 15px; color: var(--ll-muted); }
.ll-meta { font-size: 14px; color: var(--ll-muted); }

/* ==========================================================================
   5. Buttons, links, pills, chips
   ========================================================================== */
.ll-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 28px;
  border: 2px solid var(--ll-ink); border-radius: 2px;
  background: var(--ll-ink); color: var(--ll-white);
  font-family: var(--ll-body); font-weight: 600; font-size: 17px;
  text-decoration: none; cursor: pointer;
}
.ll-btn:hover { background: var(--ll-white); color: var(--ll-ink); }
.ll-btn--copper { background: var(--ll-copper); border-color: var(--ll-copper); }
.ll-btn--copper:hover { background: var(--ll-white); color: var(--ll-copper); }
.ll-btn--blue { background: var(--ll-blue); border-color: var(--ll-blue); }
.ll-btn--blue:hover { background: var(--ll-white); color: var(--ll-blue); }
.ll-btn--white { background: var(--ll-white); border-color: var(--ll-white); color: var(--ll-ink); }
.ll-btn--white:hover { background: transparent; color: var(--ll-white); }
.ll-btn--white-copper { background: var(--ll-white); border-color: var(--ll-white); color: var(--ll-copper); }
.ll-btn--white-blue { background: var(--ll-white); border-color: var(--ll-white); color: var(--ll-blue); }
.ll-btn--white-copper:hover, .ll-btn--white-blue:hover { background: transparent; color: var(--ll-white); }
.ll-btn--block { width: 100%; }

.ll-link { font-weight: 600; font-size: 16px; min-height: 44px; display: inline-flex; align-items: center; }
.ll-link--copper { color: var(--ll-copper); }
.ll-link--blue { color: var(--ll-blue); }
.ll-link--inverse { color: var(--ll-white); }

.ll-pill {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 22px; border-radius: 999px;
  font-family: var(--ll-display); font-weight: 700; font-size: 22px; line-height: 1;
  text-transform: uppercase; white-space: nowrap; color: var(--ll-ink); margin: 0;
}
.ll-pill--1 { background: var(--ll-pill-1); }
.ll-pill--2 { background: var(--ll-pill-2); }
.ll-pill--3 { background: var(--ll-pill-3); }
.ll-pill--4 { background: var(--ll-pill-4); }
.ll-pill--5 { background: var(--ll-pill-5); }
.ll-pill--6 { background: var(--ll-pill-6); }
.ll-pill--7 { background: var(--ll-pill-7); }
.ll-pill-strip { display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ll-pill-strip .ll-pill { font-size: 18px; padding: 0 10px; }
@media (min-width: 720px) { .ll-pill-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .ll-pill-strip { grid-template-columns: repeat(7, minmax(0, 1fr)); } .ll-pill-strip .ll-pill { font-size: 20px; } }

.ll-chip {
  display: inline-flex; align-items: center; padding: 3px 12px; border-radius: 999px;
  font-size: 13px; font-weight: 600; white-space: nowrap; background: var(--ll-chip-both-bg);
}
.ll-chip--contractors { background: var(--ll-chip-contractors-bg); color: var(--ll-blue); }
.ll-chip--distributors { background: var(--ll-chip-distributors-bg); color: var(--ll-copper); }
.ll-chip--plain { background: var(--ll-white); color: var(--ll-ink); }

.ll-tag {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px;
  border: 1px solid var(--ll-rule); border-radius: 999px; background: var(--ll-white);
  color: var(--ll-ink); text-decoration: none; font-size: 15px;
}
.ll-tags { display: flex; flex-wrap: wrap; gap: 8px; }

/* Side filter (All / Distributors / Contractors) */
.ll-filter {
  display: inline-flex; flex-wrap: wrap; align-self: flex-start; gap: 4px; padding: 4px;
  background: var(--ll-white); border: 1px solid var(--ll-rule); border-radius: 999px;
}
.ll-filter a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 22px;
  border-radius: 999px; font-size: 15px; font-weight: 600; text-decoration: none; color: var(--ll-ink);
}
.ll-filter a[aria-current="page"] { background: var(--ll-ink); color: var(--ll-white); }

/* A–Z jump strips */
.ll-az { display: flex; flex-wrap: wrap; gap: 6px; }
.ll-az--nowrap { flex-wrap: wrap; }
@media (min-width: 1024px) { .ll-az--nowrap { flex-wrap: nowrap; } }
.ll-split > *, .ll-hero-split > *, .ll-grid > * { min-width: 0; }
.ll-az a {
  display: inline-flex; flex: none; align-items: center; justify-content: center;
  width: 44px; height: 44px; border: 1px solid var(--ll-rule); background: var(--ll-white);
  color: var(--ll-ink); text-decoration: none; font-family: var(--ll-mono); font-size: 15px;
}
.ll-section--ink .ll-az a { background: transparent; border-color: var(--ll-ink-rule); color: var(--ll-white); }

/* Breadcrumbs */
.ll-crumbs { display: flex; flex-wrap: wrap; gap: 10px; font-size: 15px; color: var(--ll-muted); }
.ll-crumbs a { color: var(--ll-muted); }
.ll-section--copper .ll-crumbs, .ll-section--copper .ll-crumbs a,
.ll-section--blue .ll-crumbs, .ll-section--blue .ll-crumbs a { color: var(--ll-white); }

/* ==========================================================================
   6. Header and footer
   ========================================================================== */
.ll-header {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  min-height: 88px; padding: 0 var(--ll-pad-x);
  background: var(--ll-bg); border-bottom: 1px solid var(--ll-rule);
  position: relative; z-index: 10;
}
.ll-logo { display: inline-flex; align-items: center; gap: 12px; color: var(--ll-ink); text-decoration: none; }
.ll-logo__text { font-family: var(--ll-display); font-weight: 700; font-size: 28px; letter-spacing: 0.04em; text-transform: uppercase; white-space: nowrap; }
.ll-nav { display: flex; align-items: center; gap: 28px; }
.ll-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 28px; }
.ll-nav a:not(.ll-btn) {
  color: var(--ll-ink); text-decoration: none; font-size: 16px; font-weight: 500;
  padding: 12px 0; border-bottom: 2px solid transparent; white-space: nowrap;
}
.ll-nav .current-menu-item > a, .ll-nav .current-page-ancestor > a, .ll-nav a[aria-current="page"] { border-bottom-color: currentColor; }
.ll-menu-toggle {
  display: none; min-height: 44px; padding: 0 16px; border: 2px solid var(--ll-ink); border-radius: 2px;
  background: transparent; font: 600 16px var(--ll-body); color: var(--ll-ink); cursor: pointer;
}
@media (max-width: 1100px) {
  .ll-menu-toggle { display: inline-flex; align-items: center; }
  .ll-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 12px var(--ll-pad-x) 24px; background: var(--ll-bg); border-bottom: 1px solid var(--ll-rule);
  }
  .ll-nav.is-open { display: flex; }
  .ll-nav ul { flex-direction: column; gap: 0; }
  .ll-nav a:not(.ll-btn) { display: block; padding: 14px 0; border-bottom: 1px solid var(--ll-rule); }
  .ll-nav .ll-btn { margin-top: 16px; }
}

.ll-footer { background: var(--ll-ink); color: var(--ll-white); padding: 72px var(--ll-pad-x) 48px; }
.ll-footer__inner { max-width: var(--ll-wrap); margin: 0 auto; display: flex; flex-direction: column; gap: 48px; }
.ll-footer a:not(.ll-btn) { color: var(--ll-white); }
.ll-talkband {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 32px;
  padding-bottom: 48px; border-bottom: 1px solid var(--ll-ink-rule);
}
.ll-talkband__title { font-family: var(--ll-display); font-weight: 700; font-size: clamp(34px, 3.4vw, 48px); line-height: 1.05; text-transform: uppercase; margin: 0; }
.ll-talkband p { margin: 8px 0 0; font-size: 18px; color: var(--ll-ink-muted); }
.ll-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 32px; }
.ll-footer__tagline { margin: 12px 0 0; font-size: 16px; color: var(--ll-ink-muted); }
.ll-footer__links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 24px; font-size: 15px; }
.ll-footer__copy { margin: 0; padding-top: 24px; border-top: 1px solid var(--ll-ink-rule); font-size: 14px; color: var(--ll-ink-muted); }

/* ==========================================================================
   7. Components
   ========================================================================== */
/* Cards */
.ll-card {
  display: flex; flex-direction: column; gap: 14px; padding: 28px;
  background: var(--ll-white); border: 1px solid var(--ll-rule); border-radius: 2px;
  color: var(--ll-ink); text-decoration: none;
}
a.ll-card:hover { border-color: var(--ll-ink); color: var(--ll-ink); }
.ll-card__title { margin: 0; font-size: 21px; font-weight: 600; line-height: 1.3; }
.ll-card__text { margin: 0; font-size: 16px; line-height: 1.55; color: var(--ll-muted); }
.ll-card__need { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--ll-rule); display: flex; flex-direction: column; gap: 6px; font-size: 15px; }
.ll-card__foot { margin-top: auto; }
.ll-card--blue { background: var(--ll-blue); border-color: var(--ll-blue); color: var(--ll-white); }
.ll-card--blue .ll-card__text, .ll-card--copper .ll-card__text { color: var(--ll-white); }
.ll-card--copper { background: var(--ll-copper); border-color: var(--ll-copper); color: var(--ll-white); }
.ll-card--tint { background: var(--ll-pill-1); border-color: var(--ll-pill-1); }
.ll-card--outline-white { background: transparent; border: 2px solid var(--ll-white); color: var(--ll-white); }

/* Door panels on the landing page */
.ll-door { display: flex; flex-direction: column; gap: 20px; padding: clamp(28px, 4vw, 48px); min-height: 300px; color: var(--ll-white); }
.ll-door--line { background: var(--ll-copper); }
.ll-door--load { background: var(--ll-blue); }
.ll-door .ll-btn { margin-top: auto; align-self: flex-start; }

/* Landing hero diagram */
.ll-diagram { display: flex; flex-direction: column; background: var(--ll-white); border: 1px solid var(--ll-rule); }
.ll-diagram__end { display: flex; flex-direction: column; gap: 8px; padding: 28px; color: var(--ll-white); }
.ll-diagram__end--line { background: var(--ll-copper); }
.ll-diagram__end--load { background: var(--ll-blue); }
.ll-diagram__name { font-family: var(--ll-display); font-weight: 700; font-size: 40px; line-height: 1; text-transform: uppercase; }
.ll-diagram__wire { width: 2px; height: 56px; margin: 18px auto; background: var(--ll-ink); }
.ll-diagram__node { align-self: center; padding: 10px 18px; border: 2px solid var(--ll-ink); font-family: var(--ll-mono); font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; }

/* Input tiles (How we work) */
.ll-input { display: flex; flex-direction: column; gap: 12px; padding: 28px; border-top: 3px solid var(--ll-ink); background: var(--ll-white); }
.ll-input h3 { margin: 0; font-size: 22px; font-weight: 600; }
.ll-input p { margin: 0; font-size: 16px; line-height: 1.55; color: var(--ll-muted); }

/* Door page layer rows */
.ll-layer { display: grid; gap: 24px; padding: 48px 0; border-top: 1px solid var(--ll-rule); grid-template-columns: 1fr; }
@media (min-width: 1024px) {
  .ll-layer { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--ll-gutter); }
  .ll-layer__label { grid-column: span 3; }
  .ll-layer__cards { grid-column: span 9; }
}
.ll-layer__label { display: flex; align-items: flex-start; }

/* Link rows (guide lists) */
.ll-rows { display: flex; flex-direction: column; }
.ll-rows > a {
  display: grid; grid-template-columns: 1fr auto; gap: 8px 24px; align-items: start;
  padding: 20px 0; border-top: 1px solid var(--ll-rule); color: var(--ll-ink); text-decoration: none;
}
.ll-rows > a:hover .ll-rows__title { text-decoration: underline; }
.ll-rows__title { font-size: 19px; font-weight: 600; }
.ll-rows__text { display: block; margin-top: 6px; font-size: 16px; line-height: 1.5; color: var(--ll-muted); }
.ll-rows__arrow { font-size: 20px; }
.ll-rows--compact > a { padding: 14px 0; }

/* Topic groups (guides index) and letter groups (glossary index) */
.ll-group { display: grid; gap: 16px; padding: 36px 0; border-top: 1px solid var(--ll-rule); grid-template-columns: 1fr; }
@media (min-width: 1024px) {
  .ll-group { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--ll-gutter); }
  .ll-group__label { grid-column: span 3; }
  .ll-group__items { grid-column: span 9; }
  .ll-group--letter .ll-group__label { grid-column: span 1; }
  .ll-group--letter .ll-group__items { grid-column: span 11; }
}
.ll-letter { font-family: var(--ll-display); font-weight: 700; font-size: 48px; line-height: 1; }
.ll-terms > a {
  display: grid; gap: 6px 24px; grid-template-columns: 1fr; padding: 18px 0;
  border-top: 1px solid var(--ll-rule); color: var(--ll-ink); text-decoration: none;
}
@media (min-width: 900px) { .ll-terms > a { grid-template-columns: 300px 1fr auto; align-items: baseline; } }
.ll-terms__name { font-size: 19px; font-weight: 600; }
.ll-terms__def { font-size: 16px; line-height: 1.5; color: var(--ll-muted); }

/* Numbered steps */
.ll-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 24px; grid-template-columns: 1fr; border-top: 3px solid var(--ll-ink); counter-reset: ll-step; }
@media (min-width: 900px) { .ll-steps--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .ll-steps--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } .ll-steps--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.ll-steps > li { display: flex; flex-direction: column; gap: 12px; padding-top: 28px; counter-increment: ll-step; }
.ll-steps > li::before { content: counter(ll-step); font-family: var(--ll-display); font-weight: 700; font-size: 56px; line-height: 1; color: var(--ll-accent, var(--ll-ink)); }
.ll-steps h3 { margin: 0; font-size: 19px; font-weight: 600; line-height: 1.3; }
.ll-steps p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--ll-muted); }

/* Numbered problem list */
.ll-problems { list-style: none; margin: 0; padding: 0; counter-reset: ll-prob; max-width: 900px; }
.ll-problems > li { display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding: 18px 0; border-top: 1px solid var(--ll-rule); font-size: 18px; line-height: 1.5; counter-increment: ll-prob; }
.ll-problems > li::before { content: counter(ll-prob, decimal-leading-zero); font-family: var(--ll-mono); font-size: 14px; color: var(--ll-muted); padding-top: 3px; }

/* Check list */
.ll-checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; max-width: 900px; }
.ll-checks > li { position: relative; padding-left: 34px; font-size: 18px; line-height: 1.5; }
.ll-checks > li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px;
  background: no-repeat center / 20px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22' fill='none' stroke='%231D4A73' stroke-width='2.4'%3E%3Cpath d='M4 11.5l4.5 4.5L18 6.5'/%3E%3C/svg%3E");
}
.ll-checks--copper > li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22' fill='none' stroke='%23A8471A' stroke-width='2.4'%3E%3Cpath d='M4 11.5l4.5 4.5L18 6.5'/%3E%3C/svg%3E"); }

/* Callout boxes */
.ll-answer { max-width: 900px; padding: 24px 28px; background: var(--ll-white); border-top: 4px solid var(--ll-ink); }
.ll-answer--blue { border-top-color: var(--ll-blue); }
.ll-answer--copper { border-top-color: var(--ll-copper); }
.ll-answer p { margin: 10px 0 0; font-size: 20px; line-height: 1.6; }
.ll-box { display: flex; flex-direction: column; gap: 12px; padding: 24px; background: var(--ll-white); border: 1px solid var(--ll-rule); }
.ll-box p { margin: 0; font-size: 15px; line-height: 1.55; }
.ll-box--blue { background: var(--ll-blue); border-color: var(--ll-blue); color: var(--ll-white); }
.ll-box--copper { background: var(--ll-copper); border-color: var(--ll-copper); color: var(--ll-white); }
.ll-box--blue a, .ll-box--copper a { color: var(--ll-white); }
.ll-box--tint { background: var(--ll-pill-1); border-color: var(--ll-pill-1); }
.ll-box--tint-copper { background: var(--ll-chip-distributors-bg); border-color: var(--ll-chip-distributors-bg); }
.ll-toc { display: flex; flex-direction: column; gap: 2px; }
.ll-toc a { padding: 5px 0; font-size: 15px; text-decoration: none; color: var(--ll-ink); }
.ll-toc a:hover { text-decoration: underline; }
@media (min-width: 1024px) { .ll-sticky { position: sticky; top: 24px; } }

/* Article body (guides, glossary) */
.ll-article { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.ll-article h2 { margin: 20px 0 0; font-family: var(--ll-display); font-weight: 700; font-size: clamp(28px, 2.6vw, 36px); line-height: 1.05; text-transform: uppercase; scroll-margin-top: 24px; }
.ll-article h3 { margin: 8px 0 0; font-size: 20px; font-weight: 600; }
.ll-article p, .ll-article li { font-size: 18px; line-height: 1.7; }
.ll-article p { margin: 0; }
.ll-article ul, .ll-article ol { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.ll-article .ll-example { padding: 24px; background: var(--ll-white); border: 1px solid var(--ll-rule); }
.ll-article .ll-example p { font-size: 17px; }
.ll-article table { width: 100%; border-collapse: collapse; background: var(--ll-white); font-size: 15px; }
.ll-article th, .ll-article td { padding: 10px 12px; border: 1px solid var(--ll-rule); text-align: left; vertical-align: top; }
.ll-table-scroll { overflow-x: auto; }
.ll-checklist { list-style: none; padding-left: 0 !important; }
.ll-checklist li { position: relative; padding-left: 32px; }
.ll-checklist li::before { content: ""; position: absolute; left: 0; top: 6px; width: 18px; height: 18px; border: 2px solid var(--ll-ink); background: var(--ll-white); }

/* FAQ */
.ll-faq { max-width: 900px; }
.ll-faq > div { display: flex; flex-direction: column; gap: 8px; padding: 22px 0; border-top: 1px solid var(--ll-rule); }
.ll-faq h3 { margin: 0; font-size: 20px; font-weight: 600; }
.ll-faq p { margin: 0; font-size: 17px; line-height: 1.6; color: var(--ll-muted); }

/* Preview tables */
.ll-preview { overflow-x: auto; }
.ll-preview table { width: 100%; min-width: 720px; border-collapse: collapse; background: var(--ll-white); border: 1px solid var(--ll-rule); }
.ll-preview th, .ll-preview td { padding: 12px 14px; border-top: 1px solid var(--ll-rule); font-size: 14px; text-align: left; }
.ll-preview th { font-weight: 600; }

/* Access gate on product pages */
.ll-gate { display: grid; gap: 32px; grid-template-columns: 1fr; }
@media (min-width: 1024px) { .ll-gate { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--ll-gutter); } .ll-gate__text { grid-column: span 5; } .ll-gate__form { grid-column: 7 / span 6; } }
.ll-gate__form, .ll-formcard { padding: clamp(24px, 3vw, 32px); background: var(--ll-white); border: 1px solid var(--ll-rule); }

/* ==========================================================================
   8. Forms (Contact Form 7)
   ========================================================================== */
.wpcf7 form { display: flex; flex-direction: column; gap: 16px; }
.wpcf7 p { margin: 0; }
.wpcf7 label, .ll-form-label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; color: var(--ll-ink); }
.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 input[type="tel"], .wpcf7 input[type="url"],
.wpcf7 select, .wpcf7 textarea {
  width: 100%; min-height: 46px; padding: 10px 14px;
  font: 400 16px var(--ll-body); color: var(--ll-ink);
  background: var(--ll-white); border: 1px solid #9AA1A8; border-radius: 2px;
}
.wpcf7 textarea { min-height: 140px; resize: vertical; }
.wpcf7 input:focus, .wpcf7 select:focus, .wpcf7 textarea:focus { outline: 3px solid var(--ll-blue); outline-offset: 0; border-color: var(--ll-blue); }
.ll-form-row { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .ll-form-row { grid-template-columns: 1fr 1fr; } }
.wpcf7-form-control-wrap { display: block; width: 100%; }
.wpcf7 .wpcf7-list-item { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 8px; }
.wpcf7 .wpcf7-list-item label { flex-direction: row; align-items: flex-start; gap: 10px; font-weight: 400; font-size: 15px; }
.wpcf7 .wpcf7-acceptance .wpcf7-list-item label { font-size: 13px; }
.ll-fieldset { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.ll-fieldset legend { margin-bottom: 8px; padding: 0; }
.wpcf7 .wpcf7-acceptance .wpcf7-list-item-label, .ll-consent { font-size: 13px; font-weight: 400; line-height: 1.5; color: var(--ll-muted); }
.wpcf7 .wpcf7-checkbox, .wpcf7 .wpcf7-radio { display: flex; flex-direction: column; font-weight: 400; }
.wpcf7 input[type="checkbox"], .wpcf7 input[type="radio"] { width: 20px; height: 20px; margin: 0; flex: none; accent-color: var(--ll-blue); }
.wpcf7 input[type="submit"], .wpcf7-submit {
  min-height: 52px; padding: 0 28px; border: 2px solid var(--ll-blue); border-radius: 2px;
  background: var(--ll-blue); color: var(--ll-white); font: 600 17px var(--ll-body); cursor: pointer; width: 100%;
}
.ll-side-line .wpcf7-submit { background: var(--ll-copper); border-color: var(--ll-copper); }
.wpcf7-not-valid-tip { font-size: 14px; font-weight: 500; color: #B42318; margin-top: 4px; }
.wpcf7 form .wpcf7-response-output { margin: 0; padding: 14px 16px; border: 2px solid var(--ll-ink); font-size: 15px; }
.wpcf7 form.sent .wpcf7-response-output { border-color: #1E7A46; }
.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.failed .wpcf7-response-output { border-color: #B42318; }
.wpcf7-spinner { margin: 8px auto 0; }

/* Login form */
.ll-login form { display: flex; flex-direction: column; gap: 16px; }
.ll-login label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; }
.ll-login input[type="text"], .ll-login input[type="password"], .ll-login input[type="email"] {
  width: 100%; min-height: 46px; padding: 10px 14px; font: 400 16px var(--ll-body);
  background: var(--ll-white); border: 1px solid #9AA1A8; border-radius: 2px;
}
.ll-login .login-remember label { flex-direction: row; align-items: center; gap: 10px; font-weight: 400; }
.ll-login input[type="submit"] { min-height: 52px; width: 100%; border: 2px solid var(--ll-ink); background: var(--ll-ink); color: var(--ll-white); font: 600 17px var(--ll-body); cursor: pointer; }
.ll-login p { margin: 0; }

/* ==========================================================================
   9. Utilities
   ========================================================================== */
.ll-mt-auto { margin-top: auto; }
.ll-center { text-align: center; }
.ll-muted { color: var(--ll-muted); }
.ll-accent-blue { --ll-accent: var(--ll-blue); }
.ll-accent-copper { --ll-accent: var(--ll-copper); }
.ll-divider { height: 1px; background: var(--ll-rule); border: 0; margin: 0; }
.ll-main { display: block; }
.ll-default-content { max-width: 860px; }
.ll-default-content p { margin: 0 0 1em; }
@media (min-width: 600px) {
  .ll-fieldset .wpcf7-checkbox { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; }
}
.ll-gate__form > h3, .ll-formcard > h2 { margin-bottom: 16px; }
.ll-box--blue .ll-toc a, .ll-box--copper .ll-toc a { color: var(--ll-white); text-decoration: underline; }
.wpcf7 .ll-consent { margin: 0; font-size: 13px; line-height: 1.5; color: var(--ll-muted); }

/* ==========================================================================
   10. Hero visuals (terminals joined by conductors)
   ========================================================================== */
.ll-hero-split { display: grid; gap: 40px; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 1024px) {
  .ll-hero-split { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--ll-gutter); }
  .ll-hero-split > .ll-hero-text { grid-column: span 7; }
  .ll-hero-split > .ll-hero-vis { grid-column: 9 / span 4; }
}
.ll-hero-text { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.ll-hero-vis { min-width: 0; width: 100%; max-width: 440px; }
@media (max-width: 1023px) { .ll-hero-vis { justify-self: start; } }

.ll-vis { display: flex; flex-direction: column; color: var(--ll-ink); }
.ll-vis--panel { gap: 14px; padding: 24px; background: var(--ll-white); border: 1px solid var(--ll-rule); }
.ll-vis__wire { width: 2px; height: 28px; margin: 0 auto; background: var(--ll-ink); flex: none; }
.ll-vis__wire--short { height: 10px; }
.ll-vis__node {
  align-self: center; padding: 10px 18px; border: 2px solid var(--ll-ink); background: var(--ll-white);
  font-family: var(--ll-mono); font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; text-align: center;
}
.ll-vis__node--blue { border-color: var(--ll-blue); color: var(--ll-blue); }
.ll-vis__node--copper { border-color: var(--ll-copper); color: var(--ll-copper); }
.ll-vis__block { display: flex; flex-direction: column; gap: 8px; padding: 20px 22px; background: var(--ll-white); border: 1px solid var(--ll-rule); }
.ll-vis__block--blue { background: var(--ll-blue); border-color: var(--ll-blue); color: var(--ll-white); }
.ll-vis__block--copper { background: var(--ll-copper); border-color: var(--ll-copper); color: var(--ll-white); }
.ll-vis__text { font-size: 17px; font-weight: 600; line-height: 1.35; }

/* Door: pills */
.ll-vis--pills { gap: 0; }
.ll-vis--pills > .ll-eyebrow { margin-bottom: 12px; }
.ll-vis--pills > .ll-vis__end { margin: 12px 0 0; align-self: flex-end; }
.ll-vis__pill { width: 100%; min-height: 40px; font-size: 19px; }

/* Steps */
.ll-vis__steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.ll-vis__steps { position: relative; gap: 14px; }
.ll-vis__steps li:not(:last-child)::after { content: ""; position: absolute; left: 19px; top: 40px; bottom: -14px; width: 2px; background: currentColor; }
.ll-vis__steps li { position: relative; display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; }
.ll-vis__steps li .ll-vis__stepbody { padding-top: 9px; }
.ll-vis__steps li .ll-vis__stepbody:has(.ll-vis__stepsub) { padding-top: 0; }
.ll-vis__steps--blue { color: var(--ll-blue); }
.ll-vis__steps--copper { color: var(--ll-copper); }
.ll-vis__steps--ink { color: var(--ll-ink); }
.ll-vis__num {
  display: flex; align-items: center; justify-content: center; width: 40px; height: 40px;
  border: 2px solid currentColor; background: var(--ll-white);
  font-family: var(--ll-display); font-weight: 700; font-size: 20px;
}
.ll-vis__stepbody { display: flex; flex-direction: column; gap: 2px; color: var(--ll-ink); }
.ll-vis__steptitle { font-size: 16px; font-weight: 600; line-height: 1.3; }
.ll-vis__stepsub { display: block; font-size: 14px; line-height: 1.4; color: var(--ll-muted); }

/* Template: spreadsheet and document */
.ll-vis__sheet { display: grid; border: 1px solid var(--ll-rule); font-size: 12px; }
.ll-vis__cell { padding: 10px 8px; border-top: 1px solid var(--ll-rule); border-right: 1px solid var(--ll-rule); background: var(--ll-white); }
.ll-vis__cell--head { border-top: 0; background: #EEF0F2; font-weight: 600; font-size: 11px; line-height: 1.25; padding: 8px 6px; overflow-wrap: normal; word-break: normal; }
.ll-vis__cell--best { background: var(--ll-chip-contractors-bg); }
.ll-vis__bar { display: block; height: 8px; border-radius: 2px; background: #C7CCD2; }
.ll-vis__doc { display: flex; flex-direction: column; gap: 10px; padding: 28px 26px; border: 1px solid var(--ll-rule); background: var(--ll-white); box-shadow: 6px 6px 0 var(--ll-steel); }
.ll-vis__doctitle { display: block; width: 55%; height: 14px; background: var(--ll-ink); margin-bottom: 8px; }
.ll-vis__gap { display: block; height: 6px; }

/* Glossary map */
.ll-vis--map svg { display: block; }

/* Resources */
.ll-vis__res { display: grid; grid-template-columns: 64px 1fr; gap: 16px; align-items: center; padding: 18px 20px; background: var(--ll-white); border: 1px solid var(--ll-rule); }
.ll-vis__res--active { border: 2px solid var(--ll-ink); }
.ll-vis__count { font-family: var(--ll-display); font-weight: 700; font-size: 48px; line-height: 1; }
.ll-vis__restitle { display: block; font-family: var(--ll-display); font-weight: 700; font-size: 24px; line-height: 1; text-transform: uppercase; }

/* Logo motif */
.ll-vis--logo { align-items: center; padding: 40px 24px; }
.ll-vis__terminals { display: flex; align-items: flex-start; }
.ll-vis__terminal { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.ll-vis__terminal > span:first-child { display: block; width: 88px; height: 118px; border: 4px solid var(--ll-ink); background: var(--ll-white); }
.ll-vis__terminal--line > span:first-child { border-color: var(--ll-copper); }
.ll-vis__terminal--load > span:first-child { border-color: var(--ll-blue); }
.ll-vis__conductor { width: 80px; height: 4px; margin-top: 57px; background: var(--ll-ink); }
.ll-vis__caption { margin-top: 20px; font-family: var(--ll-display); font-weight: 700; font-size: 26px; text-transform: uppercase; }

/* Visual labels stay readable on coloured heroes */
.ll-vis .ll-eyebrow { color: var(--ll-muted); }
.ll-vis .ll-eyebrow--inverse { color: var(--ll-white); }

/* ==========================================================================
   11. Guide tabs and topic cards (Resources page)
   ========================================================================== */
.ll-tabs { display: flex; flex-direction: column; gap: 24px; }
.ll-tabs__list { display: grid; grid-template-columns: 1fr; border: 2px solid var(--ll-ink); }
@media (min-width: 720px) { .ll-tabs__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ll-tab {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  min-height: 72px; padding: 16px 28px; border: 0; margin: 0; cursor: pointer; text-align: left;
  background: var(--ll-white); color: var(--ll-ink); font: inherit;
}
.ll-tab__name { font-family: var(--ll-display); font-weight: 700; font-size: clamp(24px, 2.4vw, 32px); line-height: 1; text-transform: uppercase; }
.ll-tab__count { font-family: var(--ll-mono); font-size: 14px; white-space: nowrap; }
.ll-tab--load[aria-selected="true"] { background: var(--ll-blue); color: var(--ll-white); }
.ll-tab--line[aria-selected="true"] { background: var(--ll-copper); color: var(--ll-white); }
.ll-tab:hover:not([aria-selected="true"]) { background: var(--ll-bg); }
.ll-tab:focus-visible { outline-offset: -5px; }

.ll-topic-card {
  display: flex; flex-direction: column; background: var(--ll-white); border: 1px solid var(--ll-rule);
  color: var(--ll-ink); text-decoration: none;
}
a.ll-topic-card:hover { border-color: var(--ll-ink); color: var(--ll-ink); }
.ll-topic-card__strip { display: block; height: 8px; background: var(--ll-topic, var(--ll-pill-7)); }
.ll-topic-card__body { display: flex; flex-direction: column; gap: 12px; flex: 1; padding: 20px 24px 24px; }
.ll-topic-tag {
  display: inline-flex; align-self: flex-start; align-items: center; padding: 3px 10px; border-radius: 999px;
  background: var(--ll-topic, var(--ll-pill-7)); font-size: 12px; font-weight: 600; white-space: nowrap;
}
.ll-topic-card__title { font-size: 20px; font-weight: 600; line-height: 1.3; }
.ll-topic-card__text { font-size: 15px; line-height: 1.5; color: var(--ll-muted); }
.ll-topic-card__link { margin-top: auto; font-weight: 600; font-size: 15px; }
.ll-tabs [data-ll-panel="contractors"] .ll-topic-card__link { color: var(--ll-blue); }
.ll-tabs [data-ll-panel="distributors"] .ll-topic-card__link { color: var(--ll-copper); }
.ll-topic--quoting { --ll-topic: var(--ll-pill-3); }
.ll-topic--pricing { --ll-topic: var(--ll-pill-4); }
.ll-topic--projects { --ll-topic: var(--ll-pill-5); }
.ll-topic--maintenance { --ll-topic: var(--ll-pill-2); }
.ll-topic--people { --ll-topic: var(--ll-pill-6); }
.ll-topic--found { --ll-topic: var(--ll-pill-1); }
