:root {
  --bg: #F4F8FD; --bg-2: #FFFFFF; --bg-3: #EDF3FA;
  --border: #DCE8F5; --border-2: #C3D7EA;
  --cyan: #0086B8; --cyan-soft: rgba(0,180,216,0.12);
  --text: #0A1B33; --muted: #46617F; --muted-2: #6B84A0;
  --navy: #1a2e4a;
  --grad: linear-gradient(120deg, #006DA8 0%, #0096C7 55%, #00B4D8 100%);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg); color: var(--text); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }

/* ── Nav ── */
body > nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,0.85); backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border); padding: 0 32px; height: 56px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { height: 26px; }
.nav-links { display: flex; gap: 24px; align-items: center; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 500; }
.nav-links a:hover { color: var(--text); }
.nav-cta {
  background: var(--grad); color: #fff !important; padding: 8px 18px;
  border-radius: 8px; font-weight: 600; font-size: 13.5px;
}

/* ── Layout ── */
.wrap { max-width: 760px; margin: 0 auto; padding: 0 32px; }
.wrap-wide { max-width: 1040px; margin: 0 auto; padding: 0 32px; }

/* ── Breadcrumb ── */
.crumb { padding-top: 88px; font-size: 13px; color: var(--muted-2); }
.crumb a { color: var(--muted-2); text-decoration: none; }
.crumb a:hover { color: var(--cyan); }
.crumb span { margin: 0 7px; opacity: 0.55; }

/* ── Hero ── */
.post-head { padding: 20px 0 8px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 11.5px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  color: var(--cyan); margin-bottom: 16px;
}
.eyebrow::before { content: ''; width: 22px; height: 2px; border-radius: 2px; background: var(--cyan); }
h1 {
  font-family: 'Space Grotesk', sans-serif; font-size: clamp(30px, 5vw, 44px);
  font-weight: 800; letter-spacing: -1.2px; line-height: 1.12; margin-bottom: 18px;
}
.standfirst { font-size: 18px; color: var(--muted); line-height: 1.62; margin-bottom: 22px; }
.post-meta {
  display: flex; gap: 16px; flex-wrap: wrap; align-items: center;
  font-size: 13px; color: var(--muted-2);
  padding-bottom: 28px; border-bottom: 1px solid var(--border); margin-bottom: 36px;
}
.post-meta .dot { opacity: 0.5; }

/* ── Supplier badge strip ── */
.sup-strip {
  display: flex; align-items: center; gap: 16px;
  background: var(--bg-2); border: 1px solid var(--border);
  border-radius: 14px; padding: 16px 20px; margin-bottom: 36px;
}
.sup-strip img { width: 48px; height: 48px; object-fit: contain; border-radius: 10px; background: #fff; flex: 0 0 auto; }
.sup-strip .s-name { font-weight: 700; font-size: 15px; }
.sup-strip .s-meta { font-size: 13px; color: var(--muted); }

/* ── Prose ── */
article { padding-bottom: 40px; }
article h2 {
  font-family: 'Space Grotesk', sans-serif; font-size: 25px; font-weight: 700;
  letter-spacing: -0.6px; margin: 44px 0 14px; line-height: 1.25;
}
article h3 {
  font-family: 'Space Grotesk', sans-serif; font-size: 18.5px; font-weight: 700;
  letter-spacing: -0.3px; margin: 30px 0 10px;
}
article p { margin-bottom: 18px; color: var(--muted); font-size: 16.5px; line-height: 1.72; }
article p strong, article li strong { color: var(--text); font-weight: 650; }
article ul, article ol { margin: 0 0 20px 20px; color: var(--muted); font-size: 16.5px; line-height: 1.72; }
article li { margin-bottom: 9px; }
article a { color: var(--cyan); text-decoration: none; font-weight: 550; }
article a:hover { text-decoration: underline; }

/* ── Key facts box ── */
.facts {
  background: var(--bg-2); border: 1px solid var(--border); border-radius: 16px;
  padding: 24px 26px; margin: 28px 0;
}
.facts h3 { margin: 0 0 16px; font-size: 16px; }
.facts dl { display: grid; grid-template-columns: auto 1fr; gap: 10px 20px; margin: 0; }
.facts dt { font-size: 14px; color: var(--muted-2); white-space: nowrap; }
.facts dd { font-size: 14px; font-weight: 650; margin: 0; text-align: right; }

/* ── Margin calculator box ── */
.calc {
  background: linear-gradient(160deg, #0E2A47 0%, #0A1B33 78%);
  border-radius: 18px; padding: 26px 28px; color: #fff; margin: 30px 0;
}
.calc-label {
  display: block; font-size: 11px; font-weight: 700; letter-spacing: 1.8px;
  text-transform: uppercase; color: #7DD3FC; margin-bottom: 16px;
}
.calc-row {
  display: flex; justify-content: space-between; gap: 14px;
  font-size: 14.5px; color: #C9DBEE; padding: 7px 0;
}
.calc-row b { font-weight: 600; color: #fff; font-variant-numeric: tabular-nums; }
.calc-row.total {
  border-top: 1px solid rgba(255,255,255,0.15); margin-top: 9px; padding-top: 13px; font-size: 15.5px;
}
.calc-row.total span { color: #fff; font-weight: 700; }
.calc-row.total b {
  font-family: 'Space Grotesk', sans-serif; font-size: 19px; font-weight: 700; color: #4BE1C3;
}
.calc-note { font-size: 11.5px; color: #8FB4DA; margin-top: 14px; line-height: 1.55; }

/* ── Table ── */
.tbl-scroll { overflow-x: auto; margin: 24px 0; -webkit-overflow-scrolling: touch; }
table { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 460px; }
caption { text-align: left; font-size: 13px; color: var(--muted-2); padding-bottom: 10px; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--border); }
thead th { font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.6px; color: var(--muted-2); font-weight: 700; }
tbody th { font-weight: 650; color: var(--text); }
tbody td { color: var(--muted); }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: none; }

/* ── Callout ── */
.callout {
  background: var(--cyan-soft); border: 1px solid rgba(0,180,216,0.28);
  border-radius: 14px; padding: 20px 22px; margin: 28px 0;
}
.callout p { margin: 0; color: var(--text); font-size: 15.5px; }

/* ── CTA ── */
.cta-box {
  background: var(--bg-2); border: 1px solid var(--border); border-radius: 18px;
  padding: 34px 32px; margin: 44px 0 0; text-align: center;
}
.cta-box h2 { margin: 0 0 10px; font-size: 23px; }
.cta-box p { margin: 0 auto 22px; max-width: 460px; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.btn {
  padding: 13px 26px; border-radius: 10px; font-size: 14.5px; font-weight: 650;
  text-decoration: none; display: inline-flex; align-items: center; gap: 7px;
  transition: opacity 0.2s, transform 0.15s; border: none; cursor: pointer; font-family: inherit;
}
.btn:hover { opacity: 0.93; transform: translateY(-1px); }
.btn-primary { background: var(--grad); color: #fff; }
.btn-ghost { background: transparent; color: var(--text); border: 1.5px solid var(--border-2); }

/* ── Related ── */
.related { padding: 48px 0 20px; border-top: 1px solid var(--border); margin-top: 48px; }
.related h2 { font-family: 'Space Grotesk', sans-serif; font-size: 20px; font-weight: 700; margin-bottom: 20px; }
.rel-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.rel-card {
  display: block; background: var(--bg-2); border: 1px solid var(--border);
  border-radius: 14px; padding: 20px; text-decoration: none; color: inherit;
  transition: border-color 0.18s, transform 0.18s;
}
.rel-card:hover { border-color: var(--border-2); transform: translateY(-2px); }
.rel-card .r-tag { font-size: 11px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; color: var(--cyan); }
.rel-card .r-title { font-family: 'Space Grotesk', sans-serif; font-size: 16px; font-weight: 700; margin: 8px 0 6px; line-height: 1.32; }
.rel-card .r-desc { font-size: 13.5px; color: var(--muted); line-height: 1.5; }

/* ── Blog index ── */
.idx-head { padding: 96px 0 12px; text-align: center; }
.idx-head h1 { margin-bottom: 14px; }
.idx-head .standfirst { max-width: 580px; margin: 0 auto 10px; }
.post-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; padding: 44px 0 20px; }
.post-card {
  display: flex; flex-direction: column; background: var(--bg-2);
  border: 1px solid var(--border); border-radius: 18px; overflow: hidden;
  text-decoration: none; color: inherit; transition: border-color 0.18s, transform 0.18s, box-shadow 0.18s;
}
.post-card:hover { border-color: var(--border-2); transform: translateY(-3px); box-shadow: 0 12px 30px rgba(10,27,51,0.08); }
.pc-top { height: 116px; display: flex; align-items: center; justify-content: center; padding: 20px; }
.pc-top img { max-height: 62px; width: auto; object-fit: contain; }
.pc-b1 { background: linear-gradient(140deg, #DCEBFA, #BFD9F2); }
.pc-b2 { background: linear-gradient(140deg, #E4EFE6, #C9E0CE); }
.pc-b3 { background: linear-gradient(140deg, #F6EDE2, #E9D7C3); }
.pc-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.pc-tag { font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--cyan); margin-bottom: 9px; }
.pc-title { font-family: 'Space Grotesk', sans-serif; font-size: 18.5px; font-weight: 700; letter-spacing: -0.3px; line-height: 1.28; margin-bottom: 9px; }
.pc-desc { font-size: 14.5px; color: var(--muted); line-height: 1.58; flex: 1; }
.pc-foot { font-size: 12.5px; color: var(--muted-2); margin-top: 16px; }

/* ── Footer ── */
footer { border-top: 1px solid var(--border); background: var(--bg-2); padding: 42px 32px; margin-top: 60px; }
.footer-inner { max-width: 1040px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px; }
.footer-logo { display: flex; align-items: center; gap: 10px; color: var(--muted-2); font-size: 13.5px; }
.footer-logo img { width: 28px; height: 28px; border-radius: 8px; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a { color: var(--muted-2); text-decoration: none; font-size: 13.5px; }
.footer-links a:hover { color: var(--cyan); }

@media (max-width: 640px) {
  body > nav { padding: 0 16px; }
  .wrap, .wrap-wide { padding: 0 20px; }
  .nav-links a:not(.nav-cta) { display: none; }
  .rel-grid { grid-template-columns: 1fr; }
  .facts dl { grid-template-columns: 1fr; gap: 4px 0; }
  .facts dd { text-align: left; margin-bottom: 8px; }
  .idx-head { padding: 84px 0 8px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
