/* WLD marketing site — shared stylesheet
   Palette: navy #17263C, blue #079AD2, dark blue #076F95, pale blue #EAF7FC,
   orange #C7431A, pale grey #F2F4F7, grey text #666E7C, dark text #111827.

   Every text colour here reads at 4.5:1 or better on the backgrounds it is
   used on (3:1 for large text), measured on every page at 390 and 1440 px
   (issue #126, 2026-10-16):
   - white on the orange buttons 4.95:1, on their hover 7.11:1;
   - dark blue on white 5.65, on pale blue 5.17, on pale grey 5.13;
   - grey text on white 5.14, on pale blue 4.70, on pale grey 4.66;
   - orange on the navy bands is the lighter --orange-on-navy, 5.61:1.
   The orange was #F05A28 (white on it 3.39:1), the dark blue #087BA5 (4.38:1
   on pale blue) and the grey #6B7280 (4.39:1 on pale grey). The logo keeps its
   own orange: it is an image, not text. */

:root {
  --navy: #17263C;
  --blue: #079AD2;
  --dark-blue: #076F95;
  --pale-blue: #EAF7FC;
  --orange: #C7431A;
  --orange-dark: #9E3412;
  --orange-on-navy: #F47A4C;
  --pale-grey: #F2F4F7;
  --grey-text: #666E7C;
  --dark-text: #111827;
  --white: #FFFFFF;
  --border: rgba(23, 38, 60, 0.14);
  --radius: 10px;
  --shadow: 0 1px 3px rgba(17, 24, 39, 0.08), 0 4px 14px rgba(17, 24, 39, 0.05);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--dark-text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3,
h4 {
  color: var(--navy);
  line-height: 1.2;
  margin: 0 0 0.5em;
  font-weight: 700;
}

h1 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.6rem, 3.2vw, 2.25rem);
  letter-spacing: -0.01em;
}

h3 {
  font-size: 1.2rem;
}

p {
  margin: 0 0 1em;
}

a {
  color: var(--dark-blue);
  text-decoration: underline;
  text-underline-offset: 2px;
}

a:hover {
  color: var(--navy);
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
  border-radius: 4px;
}

/* On the navy bands the ring takes the lighter orange: 5.61:1 against the navy
   where the site orange is 3.08:1. */
.site-footer a:focus-visible,
.cta-band a:focus-visible,
.flagship a:focus-visible,
.fp-apart a:focus-visible {
  outline-color: var(--orange-on-navy);
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 100;
  background: var(--navy);
  color: var(--white);
  padding: 10px 16px;
  border-radius: 6px;
  transition: top 0.15s ease;
}

.skip-link:focus {
  top: 12px;
  color: var(--white);
}

/* ---------- Header ---------- */

.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 28px;
  padding-top: 14px;
  padding-bottom: 14px;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  margin-right: auto;
}

.brand img {
  display: block;
}

.module-note {
  margin: 14px 0 0;
  font-size: 0.86rem;
  color: var(--grey-text);
  font-style: italic;
}

.main-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav a {
  color: var(--navy);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.98rem;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
}

.main-nav a:hover {
  color: var(--dark-blue);
  border-bottom-color: var(--blue);
}

.main-nav a[aria-current="page"] {
  color: var(--dark-blue);
  border-bottom-color: var(--orange);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  line-height: 1.3;
  border: 2px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--orange);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--orange-dark);
  color: var(--white);
}

.btn-outline {
  border-color: var(--navy);
  color: var(--navy);
  background: transparent;
}

.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
}

.btn-outline-light {
  border-color: var(--white);
  color: var(--white);
  background: transparent;
}

.btn-outline-light:hover {
  background: var(--white);
  color: var(--navy);
}

/* ---------- Hero ---------- */

.hero {
  background: var(--pale-blue);
  padding: 96px 0 88px;
}

.hero p.lead {
  font-size: clamp(1.15rem, 2.4vw, 1.4rem);
  color: var(--navy);
  max-width: 44ch;
  margin-bottom: 1.4em;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dark-blue);
  margin-bottom: 14px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.hero-note {
  margin-top: 22px;
  font-size: 0.95rem;
  color: var(--grey-text);
}

/* ---------- Sections ---------- */

.section {
  padding: 80px 0;
}

.section-alt {
  background: var(--pale-grey);
}

.section-pale-blue {
  background: var(--pale-blue);
}

.section-header {
  max-width: 720px;
  margin-bottom: 44px;
}

.section-header p {
  color: var(--grey-text);
  font-size: 1.1rem;
}

/* ---------- Grids & cards ---------- */

.grid {
  display: grid;
  gap: 24px;
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
}

.card h3 {
  margin-top: 0;
}

.card p:last-child {
  margin-bottom: 0;
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--pale-blue);
  margin-bottom: 14px;
}

.card-icon svg {
  width: 24px;
  height: 24px;
}

.card-link {
  color: var(--navy);
  text-decoration: none;
}

.card-link:hover {
  color: var(--dark-blue);
  text-decoration: underline;
}

.card-more {
  display: inline-block;
  margin-top: 12px;
  font-weight: 600;
  font-size: 0.95rem;
}

/* ---------- Loop diagram ---------- */

.loop-figure {
  margin: 0;
  text-align: center;
}

.loop-figure img {
  max-width: 640px;
  width: 100%;
}

.loop-figure figcaption {
  margin-top: 14px;
  color: var(--grey-text);
  font-size: 0.95rem;
}

/* ---------- Delivery model strip ---------- */

.model-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  counter-reset: step;
}

.model-step {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 26px 26px 78px;
  box-shadow: var(--shadow);
}

.model-step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 24px;
  top: 26px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.model-step h3 {
  margin-bottom: 6px;
}

.model-step p {
  margin: 0;
  color: var(--grey-text);
  font-size: 0.98rem;
}

/* ---------- CTA band ---------- */

.cta-band {
  background: var(--navy);
  color: var(--white);
  padding: 72px 0;
  text-align: center;
}

.cta-band h2 {
  color: var(--white);
}

.cta-band p {
  color: var(--pale-blue);
  max-width: 56ch;
  margin: 0 auto 28px;
}

/* ---------- Platform page ---------- */

.module-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.module-nav a {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--navy);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
}

.module-nav a:hover {
  border-color: var(--blue);
  color: var(--dark-blue);
}

.module {
  scroll-margin-top: 32px;
  padding: 56px 0;
  border-bottom: 1px solid var(--border);
}

.module:last-of-type {
  border-bottom: 0;
}

.module-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 40px;
  align-items: start;
}

.module-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dark-blue);
  margin-bottom: 10px;
}

.module p.lead {
  color: var(--grey-text);
  margin: 0;
}

.cap-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.cap-list li {
  position: relative;
  padding: 12px 0 12px 34px;
  border-bottom: 1px solid var(--border);
}

.cap-list li:last-child {
  border-bottom: 0;
}

.cap-list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 18px;
  width: 14px;
  height: 14px;
  border-radius: 4px;
  background: var(--orange);
}

/* ---------- Process page ---------- */

.steps {
  counter-reset: pstep;
  display: grid;
  gap: 24px;
}

.step {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 30px 30px 92px;
  box-shadow: var(--shadow);
}

.step::before {
  counter-increment: pstep;
  content: counter(pstep);
  position: absolute;
  left: 30px;
  top: 30px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0;
  padding: 0;
  list-style: none;
}

.step-meta li {
  background: var(--pale-blue);
  color: var(--navy);
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 0.85rem;
  font-weight: 600;
}

.promise-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.promise-col {
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid var(--border);
}

.promise-col.promise {
  background: var(--pale-blue);
}

.promise-col.boundary {
  background: var(--pale-grey);
}

.promise-col ul {
  margin: 0;
  padding-left: 1.2em;
}

.promise-col li {
  margin-bottom: 10px;
}

.promise-col li:last-child {
  margin-bottom: 0;
}

/* ---------- Pricing ---------- */

.table-wrap {
  overflow-x: auto;
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 1rem;
}

.pricing-table caption {
  text-align: left;
  color: var(--grey-text);
  font-size: 0.95rem;
  padding-bottom: 12px;
}

.pricing-table th,
.pricing-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}

.pricing-table thead th {
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
}

.pricing-table tbody tr:nth-child(even) {
  background: var(--pale-grey);
}

.pricing-table tbody th {
  color: var(--navy);
}

.notes-list {
  margin: 0;
  padding-left: 1.2em;
}

.notes-list li {
  margin-bottom: 10px;
}

/* ---------- About ---------- */

.contact-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 30px;
  max-width: 420px;
}

.contact-card h3 {
  margin-bottom: 4px;
}

.contact-card .role {
  color: var(--grey-text);
  margin-bottom: 14px;
}

.fact-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.fact-list li {
  position: relative;
  padding: 10px 0 10px 30px;
  border-bottom: 1px solid var(--border);
}

.fact-list li:last-child {
  border-bottom: 0;
}

.fact-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 16px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--blue);
}

/* ---------- Insights ---------- */

.article-card {
  display: flex;
  flex-direction: column;
}

.article-card .abstract {
  color: var(--grey-text);
  flex: 1;
}

.article-card .request-link {
  margin-top: 16px;
  font-weight: 600;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--navy);
  color: var(--pale-blue);
  padding: 56px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
}

.site-footer h2,
.site-footer h3 {
  color: var(--white);
  font-size: 1.05rem;
  margin-bottom: 12px;
}

.site-footer a {
  color: var(--pale-blue);
}

.site-footer a:hover {
  color: var(--white);
}

.footer-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.footer-nav a {
  text-decoration: none;
}

.footer-nav a:hover {
  text-decoration: underline;
}

.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(234, 247, 252, 0.25);
  font-size: 0.9rem;
  color: var(--pale-blue);
}

/* ---------- Utilities ---------- */

.lead {
  font-size: 1.15rem;
}

.muted {
  color: var(--grey-text);
}

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-3,
  .model-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .module-inner {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 640px) {
  .grid-4,
  .grid-3,
  .grid-2,
  .model-strip,
  .promise-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 64px 0 56px;
  }

  .section {
    padding: 56px 0;
  }

  .header-inner {
    gap: 10px 16px;
  }

  .header-cta {
    width: 100%;
    text-align: center;
  }

  .step,
  .model-step {
    padding-left: 26px;
    padding-top: 84px;
  }

  .step::before,
  .model-step::before {
    top: 26px;
  }
}

/* ---------- Flagship: BOM Import + AI Scrubbing ---------- */

.flagship {
  background: var(--navy);
  color: var(--pale-blue);
  padding: 80px 0;
}

.flagship h2 {
  color: var(--white);
}

.flagship-eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange-on-navy);
  margin-bottom: 14px;
}

.flagship p.lead {
  color: var(--pale-blue);
  max-width: 62ch;
}

.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  list-style: none;
  margin: 26px 0 30px;
  padding: 0;
}

.chip-list li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(234, 247, 252, 0.08);
  border: 1px solid rgba(234, 247, 252, 0.35);
  color: var(--white);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 0.95rem;
  font-weight: 600;
}

.chip-list li::before {
  content: "";
  flex: none;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--orange);
}

/* BOM sub-block inside a platform module section */

.bom-block {
  margin-top: 36px;
  background: var(--pale-blue);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  scroll-margin-top: 32px;
}

.bom-block h3 {
  font-size: 1.35rem;
}

.bom-block > p {
  max-width: 70ch;
}

.bom-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 36px;
}

.bom-list li {
  position: relative;
  padding-left: 30px;
}

.bom-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 7px;
  width: 13px;
  height: 13px;
  border-radius: 4px;
  background: var(--orange);
}

@media (max-width: 800px) {
  .bom-list {
    grid-template-columns: 1fr;
  }
}

/* ---------- News ---------- */

.news-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.news-list li {
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
}

.news-list li:last-child {
  border-bottom: 0;
}

.news-date {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--dark-blue);
  margin-bottom: 6px;
}

.news-list h3 {
  margin-bottom: 8px;
}

.news-list p {
  margin: 0;
  color: var(--grey-text);
  max-width: 75ch;
}

.news-list p + p {
  margin-top: 0.75em;
}

.news-compact li {
  padding: 16px 0;
}

.news-compact h3 {
  margin-bottom: 0;
  font-size: 1.1rem;
}

/* ---------- Hosting sub-block (process page) ---------- */

.hosting-block {
  margin-top: 20px;
  background: var(--pale-blue);
  border-radius: 8px;
  padding: 18px 22px;
}

.hosting-block h4 {
  margin-bottom: 6px;
  font-size: 1rem;
}

.hosting-block p {
  margin: 0;
  font-size: 0.98rem;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* ---------- Enquiry dialog ---------- */

.enquiry-dialog {
  border: none;
  border-radius: 14px;
  padding: 0;
  width: min(480px, calc(100vw - 32px));
  box-shadow: 0 24px 60px rgba(13, 27, 42, 0.28);
  color: var(--navy);
}

.enquiry-dialog::backdrop {
  background: rgba(13, 27, 42, 0.55);
}

.enquiry-form {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 26px 26px 22px;
}

.enquiry-title {
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.25;
}

.enquiry-lead {
  margin: 0 0 10px;
  font-size: 0.9rem;
  color: var(--grey-text);
}

.enquiry-form label {
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 8px;
}

.enquiry-optional {
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  color: var(--grey-text);
}

.enquiry-form input,
.enquiry-form textarea {
  font: inherit;
  padding: 8px 10px;
  border: 1px solid #cfd8e3;
  border-radius: 8px;
  width: 100%;
  box-sizing: border-box;
}

.enquiry-form input:focus,
.enquiry-form textarea:focus {
  outline: 2px solid var(--blue, #1971c2);
  border-color: transparent;
}

/* Present for robots, never for people — off-screen rather than display:none,
   which some of them check for. */
.enquiry-trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.enquiry-status {
  margin: 12px 0 0;
  min-height: 1.2em;
  font-size: 0.86rem;
  color: var(--grey-text);
}

.enquiry-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 14px;
}

.enquiry-fallback {
  margin: 14px 0 0;
  font-size: 0.8rem;
  color: var(--grey-text);
}

.enquiry-privacy {
  margin: 14px 0 0;
  font-size: 0.8rem;
  color: var(--grey-text);
}

/* ---------- Module films ---------- */

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.film {
  background: var(--pale-blue, #E9F4FB);
  padding: 0 0 56px;
}

.film-frame {
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  background: var(--navy);
  box-shadow: 0 18px 48px rgba(13, 27, 42, 0.22);
}

.film-frame video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* ---------- Front page (#126) ----------
   Everything here is prefixed fp-, so it reaches no other page.
   Small text on the pale backgrounds is the palette's dark blue, and orange
   on the navy band is --orange-on-navy; see the palette at the top. */

.fp-eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dark-blue);
  margin-bottom: 12px;
}

/* ---- Hero ---- */

.fp-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}

.fp-hero h1 { max-width: 16ch; }

.fp-facts {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px 26px;
}

.fp-facts h2 {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--grey-text);
  margin-bottom: 6px;
}

.fp-facts dl { margin: 0; }

.fp-fact {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 14px;
  align-items: baseline;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.fp-fact:last-child { border-bottom: 0; }

.fp-fact dt {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  color: var(--orange);
  text-align: right;
}

.fp-fact dd {
  margin: 0;
  color: var(--navy);
  font-size: 0.98rem;
  line-height: 1.45;
}

.fp-facts-note {
  margin: 10px 0 0;
  font-size: 0.82rem;
  color: var(--grey-text);
}

/* ---- Industries ---- */

.fp-industry { display: flex; flex-direction: column; }

.fp-industry p { color: var(--dark-text); font-size: 0.98rem; }

.fp-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
}

.fp-tags li {
  background: var(--pale-blue);
  color: var(--dark-blue);
  border-radius: 999px;
  padding: 2px 10px;
  font-size: 0.8rem;
  font-weight: 700;
}

.fp-industry-machinery { background: var(--pale-grey); box-shadow: none; }

.fp-subhead {
  margin: 64px 0 8px;
  font-size: clamp(1.3rem, 2.4vw, 1.6rem);
}

.fp-subhead + p { color: var(--grey-text); max-width: 70ch; }

.fp-quality-list {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 40px;
}

.fp-quality-list li {
  position: relative;
  padding: 12px 0 12px 30px;
  border-bottom: 1px solid var(--border);
}

.fp-quality-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 20px;
  width: 13px;
  height: 13px;
  border-radius: 4px;
  background: var(--orange);
}

.fp-quality-list strong { color: var(--navy); }

.fp-standards {
  margin-top: 36px;
  background: var(--pale-blue);
  border-radius: var(--radius);
  padding: 22px 26px;
}

.fp-standards h4 { margin-bottom: 12px; }

.fp-standards ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
}

.fp-standards li {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 5px 14px;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--navy);
}

.fp-standards p { margin: 0; font-size: 0.92rem; color: var(--dark-blue); }

/* ---- How WLD stands apart ---- */

.fp-apart {
  background: var(--navy);
  color: var(--pale-blue);
  padding: 80px 0;
}

.fp-apart h2,
.fp-apart h3 { color: var(--white); }

.fp-apart .fp-eyebrow { color: var(--orange-on-navy); }

.fp-apart .section-header p { color: var(--pale-blue); }

.fp-compare {
  width: 100%;
  border-collapse: collapse;
  font-size: 1rem;
}

.fp-compare th,
.fp-compare td {
  text-align: left;
  vertical-align: top;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(234, 247, 252, 0.2);
}

.fp-compare thead th {
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(234, 247, 252, 0.75);
}

.fp-compare thead th.fp-wld { color: var(--orange-on-navy); }

.fp-compare tbody th {
  color: var(--white);
  width: 18%;
  font-weight: 700;
}

.fp-compare td.fp-usual { color: rgba(234, 247, 252, 0.72); width: 34%; }

.fp-compare td.fp-wld {
  color: var(--white);
  background: rgba(234, 247, 252, 0.06);
  border-left: 3px solid var(--orange-on-navy);
}

.fp-apart-cards { margin-top: 48px; }

.fp-apart-cards .card {
  background: rgba(234, 247, 252, 0.06);
  border-color: rgba(234, 247, 252, 0.25);
  box-shadow: none;
  color: var(--pale-blue);
}

/* ---- Enquiry-to-invoice flow ---- */

.fp-flow {
  counter-reset: fpstep;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.fp-flow li {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}

.fp-flow li::before {
  counter-increment: fpstep;
  content: counter(fpstep);
  margin-bottom: 12px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fp-flow h3 { font-size: 1.05rem; margin-bottom: 4px; }

.fp-flow h3 a { color: var(--navy); text-decoration: none; }

.fp-flow h3 a:hover { color: var(--dark-blue); text-decoration: underline; }

.fp-flow p { margin: 0; font-size: 0.95rem; color: var(--grey-text); }

.fp-portal {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px 32px;
  align-items: center;
  justify-content: space-between;
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 4px solid var(--blue);
  border-radius: var(--radius);
  padding: 20px 24px;
}

.fp-portal p { margin: 0; max-width: 70ch; }

/* ---- What WLD does not do ---- */

.fp-not-built {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 40px;
}

.fp-not-built li {
  padding: 14px 0 14px 34px;
  border-bottom: 1px solid var(--border);
  position: relative;
}

.fp-not-built li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 25px;
  width: 16px;
  height: 3px;
  border-radius: 2px;
  background: var(--grey-text);
}

.fp-not-built strong { color: var(--navy); }

/* ---- Calls to action ---- */

.fp-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

.fp-more { margin-top: 28px; }


/* ---- Narrow screens ---- */

@media (max-width: 960px) {
  .fp-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .fp-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .fp-quality-list,
  .fp-not-built { grid-template-columns: minmax(0, 1fr); }

  /* The comparison becomes one card per row: the topic, then the usual
     model, then WLD, each labelled from its column heading. */
  .fp-compare thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .fp-compare,
  .fp-compare tbody,
  .fp-compare tr,
  .fp-compare th,
  .fp-compare td { display: block; width: auto; }
  .fp-compare tr {
    border: 1px solid rgba(234, 247, 252, 0.25);
    border-radius: var(--radius);
    margin-bottom: 16px;
    overflow: hidden;
  }
  .fp-compare tbody th { width: auto; padding-bottom: 6px; border-bottom: 0; }
  .fp-compare td { border-bottom: 0; }
  .fp-compare td.fp-usual { width: auto; padding-top: 4px; }
  .fp-compare td.fp-wld { border-left: 0; border-top: 3px solid var(--orange-on-navy); }
  .fp-compare td::before {
    content: attr(data-label);
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 4px;
    color: rgba(234, 247, 252, 0.7);
  }
  .fp-compare td.fp-wld::before { color: var(--orange-on-navy); }
}

@media (max-width: 640px) {
  .fp-flow { grid-template-columns: minmax(0, 1fr); }
  .fp-apart { padding: 56px 0; }
  .fp-subhead { margin-top: 48px; }
  .fp-fact { grid-template-columns: 52px minmax(0, 1fr); }
  .fp-fact dt { font-size: 1.7rem; }
  .fp-hero .hero-actions .btn,
  .fp-cta-actions .btn { width: 100%; text-align: center; }
}
