/* Agentic AI Consulting: shared stylesheet. Light and dark themes, explicit colours throughout. */
/* Self-hosted IBM Plex (SIL Open Font License): no third-party font requests */
@font-face{font-family:"IBM Plex Sans";font-weight:400;font-style:normal;font-display:swap;src:url("../fonts/ibm-plex-sans-latin-400-normal.woff2") format("woff2")}
@font-face{font-family:"IBM Plex Sans";font-weight:500;font-style:normal;font-display:swap;src:url("../fonts/ibm-plex-sans-latin-500-normal.woff2") format("woff2")}
@font-face{font-family:"IBM Plex Sans";font-weight:600;font-style:normal;font-display:swap;src:url("../fonts/ibm-plex-sans-latin-600-normal.woff2") format("woff2")}
@font-face{font-family:"IBM Plex Sans";font-weight:700;font-style:normal;font-display:swap;src:url("../fonts/ibm-plex-sans-latin-700-normal.woff2") format("woff2")}
@font-face{font-family:"IBM Plex Mono";font-weight:400;font-style:normal;font-display:swap;src:url("../fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2")}
@font-face{font-family:"IBM Plex Mono";font-weight:500;font-style:normal;font-display:swap;src:url("../fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2")}
:root {
  --bg: #FFFFFF;
  --soft: #F5F3F0;
  --soft-2: #EDEAE5;
  --ink: #1E1A16;
  --ink-strong: #14110D;
  --muted: #5C564E;
  --accent: #F97316;
  --accent-hover: #EA580C;
  --accent-text: #C2410C;
  --amber: #FBBF24;
  --amber-text: #B45309;
  --rule: #E2DED8;
  --deep: #141210;
  --deep-ink: #FFF7EB;
  --deep-muted: #D9C3A8;
  /* Hero workflow box colours, used for the series boxes across the site */
  --t1: #FDE68A;
  --t2: #FBBF24;
  --t3: #F97316;
  --t4: #EA580C;
  --t5: #C2410C;
  --display: "IBM Plex Sans", Tahoma, Verdana, Geneva, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --body: "IBM Plex Sans", Tahoma, Verdana, Geneva, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
}
/* Dark theme tokens: used when the visitor picks dark, or when their system prefers dark and no choice is saved */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #100E0C;
    --soft: #1A1714;
    --soft-2: #24201C;
    --ink: #F7F4EF;
    --ink-strong: #FFFFFF;
    --muted: #B5ADA2;
    --accent: #F97316;
    --accent-hover: #FB923C;
    --accent-text: #FDBA74;
    --amber: #FBBF24;
    --amber-text: #FCD34D;
    --rule: #302B26;
    --deep: #0A0908;
    --deep-ink: #FFF7EB;
    --deep-muted: #D9C3A8;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #100E0C;
  --soft: #1A1714;
  --soft-2: #24201C;
  --ink: #F7F4EF;
  --ink-strong: #FFFFFF;
  --muted: #B5ADA2;
  --accent: #F97316;
  --accent-hover: #FB923C;
  --accent-text: #FDBA74;
  --amber: #FBBF24;
  --amber-text: #FCD34D;
  --rule: #302B26;
  --deep: #0A0908;
  --deep-ink: #FFF7EB;
  --deep-muted: #D9C3A8;
  color-scheme: dark;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
}
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 3px; }
img, svg { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { font-family: var(--display); line-height: 1.05; text-wrap: balance; margin: 0; }
p { max-width: 68ch; }

.skip-link {
  position: absolute; left: 16px; top: -48px; background: var(--ink-strong); color: var(--bg);
  padding: 10px 14px; border-radius: 8px; z-index: 100; text-decoration: none;
}
.skip-link:focus { top: 12px; }
.wrap { max-width: 1120px; margin-inline: auto; padding-inline: 20px; }
.section { padding-block: 80px; }
.section-soft { background: var(--soft); }
.eyebrow {
  font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--amber-text); margin: 0 0 16px;
}
.section h2, .page-head h1 { font-weight: 800; letter-spacing: -0.02em; }
.section h2 { font-size: clamp(32px, 5vw, 56px); margin-bottom: 32px; }
.lede { color: var(--muted); max-width: 60ch; font-size: 19px; }
.c-orange { color: var(--accent-text); }
.c-amber { color: var(--amber-text); }
.c-burnt { color: var(--accent-text); }

/* Header: logo and links on one row, always visible, sticky while scrolling */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--bg); border-bottom: 1px solid var(--rule); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 8px 12px; flex-wrap: nowrap; padding-block: 6px; }
.brand { display: block; flex-shrink: 0; }
.brand img { display: block; width: auto; filter: contrast(1.12); }
.brand .brand-full { height: 52px; }
.brand .brand-dark { display: none; }
.brand .brand-mark { display: none; height: 40px; }
[data-theme="dark"] .brand .brand-light { display: none; }
[data-theme="dark"] .brand .brand-dark { display: block; }
.site-nav { flex: 1 1 auto; min-width: 0; display: flex; justify-content: flex-end; }
.site-nav ul { display: flex; flex-wrap: nowrap; align-items: center; gap: 4px 16px; list-style: none; margin: 0; padding: 0; overflow-x: auto; scrollbar-width: none; }
.site-nav ul::-webkit-scrollbar { display: none; }
.site-nav a { display: block; white-space: nowrap; text-decoration: none; font-weight: 600; font-size: 14px; padding-block: 4px; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--accent-text); }
.theme-toggle {
  flex: none; display: inline-grid; place-items: center; width: 40px; height: 40px; padding: 0;
  border-radius: 999px; border: 1.5px solid var(--ink); background: transparent; color: var(--ink); cursor: pointer;
}
.theme-toggle:hover { background: var(--ink); color: var(--bg); }
.theme-toggle[hidden] { display: none; }
.theme-toggle svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.theme-toggle .i-sun { display: none; }
[data-theme="dark"] .theme-toggle .i-sun { display: block; }
[data-theme="dark"] .theme-toggle .i-moon { display: none; }
/* Industries drop-down in the header (desktop only; phones use the Industries page link) */
.site-nav li { position: relative; }
.site-nav .sub { display: none; position: absolute; top: 100%; left: -12px; min-width: 240px; list-style: none; margin: 0; padding: 8px; background: var(--bg); border: 1px solid var(--rule); border-radius: 12px; box-shadow: 0 12px 30px rgba(43, 33, 24, 0.12); flex-direction: column; align-items: stretch; gap: 0; text-align: left; z-index: 60; }
.site-nav .sub::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.site-nav .sub a { display: block; padding: 8px 12px; border-radius: 8px; font-size: 15px; font-weight: 600; }
.site-nav .sub a:hover, .site-nav .sub a:focus-visible, .site-nav .sub a[aria-current="page"] { background: var(--soft); color: var(--accent-text); }
@media (min-width: 900px) {
  .site-nav ul { overflow: visible; }
  .site-nav .has-sub:hover > .sub, .site-nav .has-sub:focus-within > .sub { display: flex; }
}
@media (max-width: 639px) {
  .site-header .wrap { padding-inline: 14px; gap: 8px 8px; }
  .site-header .brand .brand-full { display: none; }
  .site-header .brand .brand-mark { display: block; height: 36px; }
  .theme-toggle { width: 36px; height: 36px; }
  .site-nav ul { gap: 4px 6px; }
}
@media (max-width: 379px) {
  .site-header .wrap { padding-inline: 12px; gap: 8px 6px; }
  .site-header .brand .brand-mark { height: 36px; }
  .theme-toggle { width: 36px; height: 36px; }
  .site-nav a { font-size: 13px; }
  .site-nav ul { gap: 4px 5px; }
}
@media (min-width: 900px) {
  .brand .brand-full { height: 76px; }
  .site-nav ul { gap: 6px 22px; }
  .site-nav a { font-size: 15px; padding-block: 6px; }
}
html { scroll-padding-top: 110px; }

/* Buttons: text stays dark on the orange so it reads in both themes */
.btn {
  display: inline-block; padding: 14px 24px; border-radius: 999px; font-weight: 700;
  text-decoration: none; border: 1.5px solid transparent; font: 700 16px var(--body); cursor: pointer;
}
.btn-primary { background: var(--accent); color: #1F150D; }
.btn-primary:hover { background: var(--accent-hover); color: #1F150D; }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: var(--bg); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* Home hero */
.hero { display: grid; gap: 40px; align-items: start; padding-block: 64px 80px; }
@media (min-width: 900px) { .hero { grid-template-columns: 1fr 1fr; } }
.hero h1 { font-weight: 800; font-size: clamp(36px, 5.96vw, 70px); letter-spacing: -0.025em; }
.hero h1 em { font-style: normal; color: var(--accent-text); }
.tagline { font-family: var(--display); font-weight: 600; font-size: clamp(18px, 2.2vw, 22px); color: var(--amber-text); margin: 28px 0 0; }
.hero .lede { margin: 20px 0 0; }
/* The diagram sits on a fixed cream panel so its dark labels read in both themes */
.hero-visual { position: relative; justify-self: center; width: min(600px, 100%); overflow: hidden; background: #FFF7EB; border: 1px solid #EADCC6; border-radius: 16px; padding: 16px; }
.hero-visual .diagram { position: relative; z-index: 1; width: 100%; height: auto; }
/* Diagram text keeps fixed colours so it reads on the diagram panel in either theme */
.wf-label { font-family: var(--body); font-size: 13px; font-weight: 600; fill: #2B2118; }
.axis { font-family: var(--body); font-size: 12px; font-weight: 600; fill: #6B5744; }
.tag { font-family: var(--body); font-size: 11px; font-weight: 600; fill: #6B5744; }
@media (prefers-reduced-motion: no-preference) {
  .hero-visual .floaty { transform-box: fill-box; transform-origin: center; animation: zoom-whole 6s ease-in-out infinite; }
  @keyframes zoom-whole { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.15); } }
}
@media (prefers-reduced-motion: reduce) {
  .hero-visual .pulse { display: none; }
}

/* Services as rows (coloured in the tone system below) */
.service-list { display: grid; gap: 14px; }
.service { display: grid; gap: 8px 48px; padding-block: 28px; border-top: 1px solid var(--rule); }
@media (min-width: 720px) { .service { grid-template-columns: 1fr 1.4fr; align-items: baseline; } }
.service h3 { font-weight: 700; font-size: clamp(22px, 2.6vw, 28px); }
.service p { margin: 0; color: var(--muted); }
.service ul { margin: 8px 0 0; padding-left: 18px; color: var(--muted); }

/* Dark band: selected work */
.work { background: var(--deep); color: var(--deep-ink); }
.work h2 { color: var(--deep-ink); }
.work h2 span { color: var(--amber); }
.work .eyebrow { color: var(--amber); }
.project { display: grid; gap: 12px 40px; padding-block: 36px; border-top: 1px solid rgba(255, 247, 235, 0.18); }
@media (min-width: 720px) { .project { grid-template-columns: 1fr 1.4fr; align-items: start; } }
.project h3 { font-weight: 800; font-size: clamp(28px, 3.6vw, 40px); }
.project p { margin: 0; color: var(--deep-muted); }
.project a.more { color: var(--amber); font-weight: 600; }
.status {
  display: inline-block; margin-top: 14px; padding: 4px 12px; border-radius: 999px;
  background: var(--amber); color: #1F150D; font-size: 13px; font-weight: 700;
}
.status.next { background: transparent; color: var(--amber-text); border: 1px solid var(--amber); }
.status.design { background: transparent; color: var(--amber-text); border: 1px solid var(--amber); }

/* Numbered steps (genuine sequence) */
.steps { display: grid; gap: 16px; }
@media (min-width: 820px) { .steps { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); } }
.step .num { font-family: var(--display); font-weight: 800; font-size: 56px; line-height: 1; color: var(--accent-text); margin-bottom: 14px; }
.step h3 { font-weight: 700; font-size: 24px; margin-bottom: 10px; }
.step p { margin: 0; color: var(--muted); }

/* Lists of industries */
.industry-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.industry-list li { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 24px; padding-block: 20px; border-top: 1px solid var(--rule); }
.industry-list a { font-family: var(--display); font-weight: 700; font-size: clamp(22px, 3vw, 30px); text-decoration: none; }
.industry-list a:hover { color: var(--accent-text); text-decoration: underline; }
.industry-list span { font-size: 14px; font-weight: 600; color: var(--amber-text); }
.industry-list span.later { color: var(--muted); }

/* Two column about */
.two-col { display: grid; gap: 32px 64px; }
@media (min-width: 820px) { .two-col { grid-template-columns: 0.9fr 1.1fr; } }
.two-col p { margin: 0 0 18px; }
.points { list-style: none; margin: 0; padding: 0; }
.points li { padding-block: 16px; border-top: 1px solid var(--rule); }
.points li:last-child { border-bottom: 1px solid var(--rule); }
.points strong { display: block; font-family: var(--display); font-weight: 700; font-size: 20px; }
.points span { color: var(--muted); font-size: 16px; }

/* Page heads for inner pages */
.page-head { padding-block: 64px 40px; border-bottom: 1px solid var(--rule); }
.page-head h1 { font-size: clamp(40px, 6.5vw, 76px); }
.page-head .lede { margin-top: 20px; }
.crumbs { font-size: 14px; color: var(--muted); margin: 0 0 18px; }
.crumbs a { color: var(--muted); }

/* Prose for legal and FAQ */
.prose h2 { font-size: 28px; font-weight: 700; margin: 40px 0 12px; letter-spacing: -0.01em; }
.prose h3 { font-size: 20px; font-weight: 700; margin: 24px 0 8px; }
.prose p, .prose li { color: var(--ink); }
.prose ul { padding-left: 22px; }
.prose li { margin-bottom: 6px; }

/* FAQ accordion */
.faq details { border-top: 1px solid var(--rule); padding-block: 18px; }
.faq details:last-child { border-bottom: 1px solid var(--rule); }
.faq summary { cursor: pointer; font-weight: 700; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent-text); font-weight: 400; font-size: 24px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 12px 0 0; color: var(--muted); max-width: 64ch; }

/* Project pages */
.project-hero { padding-block: 56px 48px; }
.project-hero h1 { font-weight: 800; font-size: clamp(42px, 7vw, 84px); letter-spacing: -0.025em; }
.facts { display: grid; gap: 12px; margin: 32px 0 0; padding: 0; }
@media (min-width: 720px) { .facts { grid-template-columns: repeat(4, 1fr); gap: 12px; } }
.facts div { padding-block: 16px; border-top: 1px solid var(--rule); }
.facts dt { font-size: 13px; color: var(--muted); letter-spacing: 0.04em; text-transform: uppercase; font-weight: 600; }
.facts dd { margin: 4px 0 0; font-weight: 700; font-family: var(--display); font-size: 20px; }
.pillars { display: grid; gap: 16px; }
@media (min-width: 720px) { .pillars { grid-template-columns: repeat(2, 1fr); } }
.pillar { border-top: 2px solid var(--accent); padding-top: 16px; }
.pillar h3 { font-size: 22px; font-weight: 700; margin-bottom: 8px; }
.pillar p { margin: 0; color: var(--muted); }
.pill-list { margin: 16px 0 0; padding-left: 20px; color: var(--muted); }
.card-grid { display: grid; gap: 16px; }
@media (min-width: 900px) { .card-grid.three { grid-template-columns: repeat(3, 1fr); } .card-grid.two { grid-template-columns: repeat(2, 1fr); } }
.card {
  background: var(--soft); border: 1px solid var(--rule); border-radius: 12px; padding: 24px;
  display: flex; flex-direction: column; gap: 10px; min-width: 0;
}
.card.featured { border: 2px solid var(--ink-strong); }
.card h3 { font-size: 22px; font-weight: 700; }
.card .price { font-family: var(--display); font-weight: 800; font-size: 30px; color: var(--ink-strong); }
.card .price small { font-family: var(--body); font-size: 15px; font-weight: 600; color: var(--muted); }
.card p { margin: 0; color: var(--muted); }
.card ul { margin: 0; padding-left: 18px; color: var(--ink); font-size: 16px; }
.badge { align-self: flex-start; background: #1F150D; color: #FFF7EB; font-size: 13px; font-weight: 700; padding: 4px 12px; border-radius: 999px; }
.note { font-size: 15px; color: var(--muted); }
.figure { margin: 0; background: var(--soft); border: 1px solid var(--rule); border-radius: 12px; padding: 16px; }
.figure img { width: 100%; border-radius: 8px; }
.figure figcaption { font-size: 14px; color: var(--muted); margin-top: 10px; }
.placeholder { border: 2px dashed var(--amber-text); border-radius: 12px; padding: 24px; color: var(--amber-text); background: var(--soft); font-weight: 600; }
.bars { display: grid; gap: 14px; }
.bar-row { display: grid; gap: 6px; }
@media (min-width: 720px) { .bar-row { grid-template-columns: 220px 1fr 56px; align-items: center; gap: 16px; } }
.bar-row .label { font-weight: 600; }
.bar-row .track { background: var(--soft-2); border-radius: 999px; height: 14px; overflow: hidden; }
.bar-row .fill { height: 100%; background: linear-gradient(90deg, var(--t2), var(--t4)); border-radius: 999px; }
.bar-row .value { font-family: var(--display); font-weight: 700; text-align: right; }
.bar-row .desc { color: var(--muted); font-size: 15px; grid-column: 1 / -1; }
.timeline { display: grid; gap: 12px; list-style: none; padding: 0; margin: 0; }
.timeline li { display: grid; gap: 4px 24px; padding-block: 18px; border-top: 1px solid var(--rule); }
@media (min-width: 720px) { .timeline li { grid-template-columns: 180px 1fr; } }
.timeline strong { font-family: var(--display); font-size: 20px; }
.timeline span { color: var(--muted); }
.two-cols-list { display: grid; gap: 24px; }
@media (min-width: 720px) { .two-cols-list { grid-template-columns: 1fr 1fr; } }
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { padding: 8px 0 8px 26px; position: relative; border-bottom: 1px solid var(--rule); }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--accent-text); font-weight: 700; }
.compare { display: grid; gap: 16px; }
@media (min-width: 720px) { .compare { grid-template-columns: 1fr 1fr; } }
.compare .col { padding: 20px; border-radius: 12px; background: var(--soft); }
.compare h3 { font-size: 20px; margin-bottom: 10px; }

/* Forms */
.form-grid { display: grid; gap: 16px; max-width: 640px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; }
.field input, .field textarea, .field select {
  font: 16px var(--body); color: var(--ink-strong); background: var(--bg); border: 1.5px solid var(--rule);
  border-radius: 8px; padding: 12px 14px; min-height: 48px; width: 100%;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--accent); outline: 2px solid var(--accent); outline-offset: 0; }
.field .hint { font-size: 14px; color: var(--muted); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--ink); }
.consent input { margin-top: 5px; width: 18px; height: 18px; flex: none; }
.form-status { font-weight: 600; color: var(--ink); min-height: 1.5em; }
.form-status.error { color: var(--accent-text); }
.form-fallback { background: var(--soft); border-radius: 12px; padding: 20px; color: var(--ink); }

/* Dark CTA panel and contact */
.contact { background: var(--soft); border-radius: 12px; padding: clamp(28px, 6vw, 56px); display: grid; gap: 20px; }
.contact h2 { margin: 0; }
.contact p { margin: 0; color: var(--muted); max-width: 60ch; }
.email-link { font-family: var(--display); font-weight: 700; font-size: clamp(20px, 3vw, 26px); color: var(--ink-strong); word-break: break-word; }
/* Keep "Or email <address>" on one line on wide screens; the 60ch cap in .contact p was forcing a wrap. */
.contact p.note { max-width: none; }
.contact p.note .email-link { font-size: clamp(16px, 3vw, 26px); overflow-wrap: anywhere; }

/* Cookie banner */
.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: env(safe-area-inset-bottom, 0px); margin-bottom: 16px; z-index: 50;
  background: var(--deep); color: var(--deep-ink); border-radius: 12px; padding: 18px 20px;
  display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; justify-content: space-between;
  max-width: 760px; margin-inline: auto;
}
.cookie-banner p { margin: 0; font-size: 15px; max-width: 48ch; color: var(--deep-ink); }
.cookie-banner .btn-ghost { border-color: var(--deep-ink); color: var(--deep-ink); }
.cookie-banner .btn-ghost:hover { background: var(--deep-ink); color: var(--deep); }
.cookie-banner[hidden] { display: none; }

/* Footer */
.site-footer { background: var(--deep); color: var(--deep-muted); font-size: 15px; padding-block: 40px; }
.site-footer .wrap { display: grid; gap: 24px; }
@media (min-width: 720px) { .site-footer .wrap { grid-template-columns: 2fr 1fr 1fr; } }
.site-footer strong { color: var(--deep-ink); font-family: var(--display); font-size: 18px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--deep-ink); }
.site-footer .legal { border-top: 1px solid rgba(255, 247, 235, 0.18); padding-top: 20px; font-size: 14px; grid-column: 1 / -1; }

@media (max-width: 520px) {
  body { font-size: 16px; }
  .section { padding-block: 56px; }
}

/* Pricing tables on the product pages */
.plan { width: 100%; border-collapse: collapse; margin: 12px 0 16px; font-size: 0.95rem; }
.plan th, .plan td { text-align: left; vertical-align: top; padding: 8px 0; border-top: 1px solid var(--rule); }
.plan th { font-weight: 600; color: var(--muted); width: 42%; padding-right: 12px; }
.plan td { color: var(--ink); }
@media (max-width: 480px) {
  .plan th, .plan td { display: block; width: 100%; }
  .plan th { border-top: 1px solid var(--rule); padding-bottom: 0; }
  .plan td { padding-top: 2px; }
}

/* ===== Vibrant series boxes: colours taken from the hero workflow boxes =====
   Each series cycles through the five tones. Dark ink on the first four tones,
   cream ink on the darkest tone (#C2410C). The ink colours are fixed, not theme tokens,
   so the boxes read the same in light and dark mode. */
.steps > *, .pillars > *, .card-grid > *, .facts > div, .service-list > .service,
.compare > .col, .industry-list > li, .timeline > li {
  --tone: var(--t1); --on: #1F150D;
  background: var(--tone); color: var(--on); border: 0; border-radius: 14px; padding: 24px;
}
.steps > :nth-child(5n+2), .pillars > :nth-child(5n+2), .card-grid > :nth-child(5n+2),
.facts > div:nth-child(5n+2), .service-list > .service:nth-child(5n+2), .compare > .col:nth-child(5n+2),
.industry-list > li:nth-child(5n+2), .timeline > li:nth-child(5n+2) { --tone: var(--t2); }
.steps > :nth-child(5n+3), .pillars > :nth-child(5n+3), .card-grid > :nth-child(5n+3),
.facts > div:nth-child(5n+3), .service-list > .service:nth-child(5n+3), .compare > .col:nth-child(5n+3),
.industry-list > li:nth-child(5n+3), .timeline > li:nth-child(5n+3) { --tone: var(--t3); }
.steps > :nth-child(5n+4), .pillars > :nth-child(5n+4), .card-grid > :nth-child(5n+4),
.facts > div:nth-child(5n+4), .service-list > .service:nth-child(5n+4), .compare > .col:nth-child(5n+4),
.industry-list > li:nth-child(5n+4), .timeline > li:nth-child(5n+4) { --tone: var(--t4); }
.steps > :nth-child(5n), .pillars > :nth-child(5n), .card-grid > :nth-child(5n),
.facts > div:nth-child(5n), .service-list > .service:nth-child(5n), .compare > .col:nth-child(5n),
.industry-list > li:nth-child(5n), .timeline > li:nth-child(5n) { --tone: var(--t5); --on: #FFF7EB; }

/* Text inside the coloured boxes takes the box's ink colour */
.steps > * p, .steps > * .num, .pillars > * p, .card-grid > * p, .card-grid > * ul,
.card-grid > * .price, .card-grid > * .price small, .service p, .service ul, .service h3,
.compare > .col p, .compare > .col li, .compare > .col h3, .facts dt, .facts dd,
.industry-list span, .timeline span, .timeline strong, .timeline li strong { color: var(--on); }
.steps > * .num { color: var(--on); }
.card-grid > * th, .card-grid > * td { color: var(--on); border-color: rgba(31, 21, 13, 0.22); }
.steps > * h3, .pillars > * h3, .card-grid > * h3, .timeline > li h3 { color: var(--on); }
.card-grid > * .badge { background: #1F150D; color: #FFF7EB; }
.card-grid > .card.featured { border: 0; box-shadow: 0 0 0 3px #1F150D inset; }
.card-grid > * .price small { font-weight: 600; }
.industry-list > li { align-items: center; }
.service-list > .service { gap: 8px 48px; }
.pillar { border-top: 0; }
.industry-list > li span.later { color: var(--on); }

/* Screenshots: one component used on every product page */
.shots { display: grid; gap: 24px; grid-template-columns: 1fr; margin-top: 32px; }
@media (min-width: 900px) { .shots { grid-template-columns: repeat(2, 1fr); } .shots .shot.wide { grid-column: 1 / -1; } }
.shot { margin: 0; background: var(--soft); color: var(--ink); border: 1px solid var(--rule); border-radius: 12px; padding: 16px; }
.shot-link { display: block; cursor: zoom-in; border-radius: 8px; }
.shot-link:focus-visible { outline: 3px solid var(--orange-text, #C2410C); outline-offset: 3px; }
.shot img { display: block; width: 100%; height: auto; border-radius: 8px; }
.shot figcaption { font-size: 16px; line-height: 1.5; color: var(--ink); margin-top: 12px; }
.shot figcaption strong { display: block; font-family: var(--display); font-size: 18px; color: var(--ink-strong); margin-bottom: 4px; }
.lightbox { border: 0; padding: 0; background: transparent; width: min(96vw, 1400px); max-width: 96vw; }
.lightbox::backdrop { background: rgba(15, 10, 6, 0.85); }
.lightbox-body { background: var(--soft); color: var(--ink); border-radius: 12px; padding: 16px; position: relative; }
.lightbox img { display: block; width: 100%; height: auto; border-radius: 8px; }
.lightbox-cap { font-size: 16px; line-height: 1.5; margin: 12px 0 0; color: var(--ink); }
.lightbox-close { float: right; margin: 0 0 12px 12px; }
