/* Core Link Logistics - trust fixes (promises strip, footer legal line, form reassurance, legal pages).
   Loaded after styles.css; styles.css itself is unchanged from the live site. */

/* ---- "Our promises" strip (factual claims only) ---- */
.promises-section { padding: 90px 0; background: var(--navy); color: #c8d5dd; }
.promises-section .eyebrow { color: #ffad70; }
.promises-section h2 { margin: 0 0 40px; color: var(--white); font-size: clamp(2.4rem, 4.4vw, 3.8rem); font-weight: 600; line-height: 1; letter-spacing: -0.025em; text-transform: uppercase; }
.promises-stat { margin: -18px 0 34px; color: #c8d5dd; font-family: var(--font-display); font-size: clamp(1.3rem, 2.4vw, 1.8rem); text-transform: uppercase; letter-spacing: 0.02em; }
.promises-stat strong { color: var(--orange); font-weight: 600; }
.promises { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid rgba(255,255,255,0.14); }
.promises li { padding: 26px 22px 6px 0; margin-right: 22px; border-right: 1px solid rgba(255,255,255,0.1); }
.promises li:last-child { border-right: 0; margin-right: 0; }
.promises .num { display: block; margin-bottom: 14px; color: var(--orange); font-family: var(--font-display); font-size: 0.85rem; letter-spacing: 0.12em; }
.promises strong { display: block; margin-bottom: 8px; color: var(--white); font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; line-height: 1.15; text-transform: uppercase; }
.promises p { margin: 0; font-size: 0.9rem; line-height: 1.55; }
.promises a { color: #ffad70; font-weight: 700; text-decoration: none; white-space: nowrap; }
.promises small { display: block; margin-top: 8px; color: #8fa3b0; font-size: 0.76rem; }
@media (max-width: 1080px) { .promises { grid-template-columns: repeat(3, minmax(0, 1fr)); } .promises li:nth-child(3) { border-right: 0; } }
@media (max-width: 640px) {
  .promises-section { padding: 70px 0; }
  .promises { grid-template-columns: 1fr; }
  .promises li { margin-right: 0; padding: 20px 0; border-right: 0; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .promises .num { margin-bottom: 6px; }
}

/* ---- Insurance amounts under Our promises ---- */
.promises-creds { list-style: none; margin: 36px 0 0; padding: 22px 0 0; display: flex; flex-wrap: wrap; gap: 14px 36px; border-top: 1px solid rgba(255,255,255,0.14); }
.promises-creds li { margin: 0; color: #c8d5dd; font-size: 0.95rem; line-height: 1.4; }
.promises-creds strong { display: inline; margin-right: 8px; color: var(--white); font-family: var(--font-display); font-size: 0.95rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
@media (max-width: 640px) {
  .promises-creds { margin-top: 24px; padding-top: 18px; gap: 12px 0; flex-direction: column; }
}

/* ---- Affiliations under Our promises (Community Network / Grow London Local) ---- */
.promises-affiliations { margin: 22px 0 0; padding: 18px 0 0; border-top: 1px solid rgba(255,255,255,0.14); color: #c8d5dd; font-size: 0.95rem; line-height: 1.5; }
.promises-affiliations strong { display: inline; margin-right: 12px; color: var(--white); font-family: var(--font-display); font-size: 0.95rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
.promises-affiliations a { color: #ffad70; font-weight: 700; text-decoration: none; }
.promises-affiliations a:hover, .promises-affiliations a:focus-visible { text-decoration: underline; text-underline-offset: 3px; }
.promises-aff-sep { margin: 0 10px; color: #8fa3b0; }
@media (max-width: 640px) {
  .promises-affiliations { margin-top: 16px; padding-top: 14px; }
  .promises-affiliations strong { display: block; margin: 0 0 8px; }
  .promises-aff-sep { display: none; }
  .promises-affiliations a { display: block; margin: 6px 0; }
}

/* ---- Footer fixes (from trust-kit/06) ----
   Transparent light logo (assets/core-link-logo-light.png: navy parts recoloured white, orange kept)
   sits directly on the navy footer: no white tile, filter or blend mode. The PNG keeps the original
   canvas (logo in the middle ~35%), so negative margins trim the empty space above and below. */
.footer-brand img { display: block; filter: none; mix-blend-mode: normal; width: 260px; height: auto; margin: -48px 0 -50px -42px; padding: 0; background: none; border-radius: 0; box-shadow: none; }
.footer-brand p { margin-top: 16px; }
/* footer spans are display:block in styles.css, which broke the copyright line into 3 lines */
.footer-bottom span span { display: inline; margin: 0; }
.footer-bottom .legal { max-width: 760px; line-height: 1.6; }
.footer-bottom .legal-links { display: flex; flex-wrap: wrap; gap: 4px 18px; align-items: baseline; }
.footer-bottom .legal-links a { display: inline; margin: 7px 0; font-size: 0.7rem; text-decoration: underline; text-underline-offset: 2px; }

/* ---- Quote form reassurance line ---- */
.form-reassure { flex-basis: 100%; margin: 12px 0 0; color: var(--muted); font-size: 0.78rem; line-height: 1.55; }
.form-reassure a { color: var(--navy); font-weight: 700; }
.tbc { padding: 0 4px; background: #fff1b8; color: #6b4b00; font-weight: 700; }

/* ---- Legal pages ---- */
.legal-page { padding: 150px 0 90px; background: var(--paper); }
.legal-page .container { max-width: 860px; }
.legal-page h1 { margin: 0 0 10px; color: var(--navy); font-family: var(--font-display); font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 600; line-height: 1.05; text-transform: uppercase; }
.legal-page h2 { margin: 42px 0 12px; color: var(--navy); font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; text-transform: uppercase; }
.legal-page p, .legal-page li { color: var(--ink); font-size: 0.98rem; }
.legal-page table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 0.92rem; }
.legal-page th, .legal-page td { padding: 10px 12px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.legal-page th { background: var(--cream); color: var(--navy); }
.legal-page a { color: var(--navy); font-weight: 700; }
.legal-meta { color: var(--muted); font-size: 0.85rem; }
.draft-banner { margin: 0 0 28px; padding: 14px 18px; background: #fff1b8; border-left: 4px solid #c99700; color: #4d3800; font-weight: 700; }

/* Areas we cover (index.html, just above the footer) */
.areas-strip { padding: 56px 0; background: var(--cream); border-top: 1px solid var(--line); }
.areas-strip h2 { margin: 0 0 8px; color: var(--navy); font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; text-transform: uppercase; }
.areas-intro { margin: 0 0 22px; color: var(--muted); font-size: 0.98rem; }
.areas-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; }
.areas-list li { padding-left: 14px; border-left: 3px solid var(--orange); color: var(--ink); font-size: 0.9rem; line-height: 1.55; }
.areas-list strong { display: block; margin-bottom: 4px; color: var(--navy); font-family: var(--font-display); font-size: 1rem; font-weight: 600; text-transform: uppercase; }
@media (max-width: 860px) { .areas-list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .areas-list { grid-template-columns: 1fr; gap: 16px; } .areas-strip { padding: 40px 0; } }
.footer-bottom .legal-links a.staff-link { opacity: 0.55; text-decoration: none; }
/* Desktop polish: comfortable reading measure on the legal pages (tables stay full width) */
.legal-page .container { max-width: 720px; }
.legal-page p, .legal-page ul, .legal-page ol { max-width: 37rem; }
.legal-page .draft-banner, .legal-page .legal-meta { max-width: none; }

/* Industry communities logo row (footer area) */
.industry-affiliations { background: var(--navy, #0b2a3c); color: #c8d5dd; padding: 36px 0; border-top: 1px solid rgba(255,255,255,0.14); }
.industry-affiliations h2 { margin: 0 0 18px; color: var(--white,#fff); font-family: var(--font-display); font-size: 0.95rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
.industry-aff-row { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 14px 18px; align-items: center; }
.industry-aff-row a { display: inline-flex; align-items: center; gap: 10px; padding: 8px 12px; background: #fff; border-radius: 8px; color: #e8660d; font-weight: 700; text-decoration: none; border: 2px solid transparent; }
.industry-aff-row a:hover, .industry-aff-row a:focus-visible { border-color: #ffad70; text-decoration: underline; text-underline-offset: 3px; }
.industry-aff-row img { height: 40px; width: auto; max-width: 120px; object-fit: contain; }
@media (max-width: 640px) { .industry-aff-row { gap: 10px; } .industry-aff-row img { height: 32px; } }
