/* ============================================================
   CHEMREG DESIGN SYSTEM
   Enterprise regulatory intelligence — authoritative, scientific,
   structured, calm. White-dominant. Navy / Teal / Amber / Gray.
   ============================================================ */

/* ---------- Fonts (self-hosted — no third-party requests) ----------
   Manrope is a variable font; one file per subset covers weights 200–800. */
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/manrope-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/manrope-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308,
    U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Tokens ---------- */
:root {
  /* Brand — CHEMREG palette (Navy #062B5C · Teal #078C99 · Amber #F39200) */
  --navy-900: #041d3f;
  --navy-800: #062B5C;   /* primary navy */
  --navy-700: #0c3c78;
  --navy-600: #1a5196;
  --navy: #062B5C;

  --teal-700: #056b74;   /* AA text/link on white */
  --teal-600: #06808c;
  --teal: #078C99;        /* primary teal */
  --teal-100: #d3edf0;
  --teal-050: #eef8f9;

  --amber-700: #915700;   /* amber for text on light */
  --amber: #F39200;       /* primary amber — accents/alerts only */
  --amber-100: #fde6c4;
  --amber-050: #fef4e3;

  /* Neutrals */
  --white: #ffffff;
  --gray-050: #F5F8FA;
  --gray-100: #eaf0f4;
  --gray-200: #DCE5EA;    /* border */
  --gray-300: #c4d1da;
  --ink: #24364B;         /* body text */
  --ink-soft: #3f5266;
  --ink-muted: #596b7e;   /* muted text */

  /* Semantic status */
  --status-new: var(--teal-600);
  --status-updated: var(--navy-600);
  --status-action: var(--amber-700);
  --status-upcoming: #5566d6;
  --status-inforce: #3f7a35;

  /* Type */
  --font: "Manrope", "Sora", "Inter", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;

  /* Layout */
  --maxw: 1240px;
  --gutter: clamp(20px, 5vw, 56px);
  --radius: 10px;
  --radius-sm: 7px;
  --radius-lg: 16px;

  --shadow-sm: 0 1px 2px rgba(6, 43, 92, .06), 0 1px 3px rgba(6, 43, 92, .05);
  --shadow-md: 0 8px 24px rgba(6, 43, 92, .09);
  --shadow-lg: 0 24px 56px rgba(6, 43, 92, .15);

  --ease: cubic-bezier(.4, 0, .2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
[hidden] { display: none !important; }
body {
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-wrap: anywhere;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--teal-700); text-decoration: none; }
a:hover { color: var(--teal-600); }
ul { list-style: none; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--teal-100); }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-weight: 800; line-height: 1.1; letter-spacing: -0.022em; color: var(--navy-800); }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.5rem); line-height: 1.08; }
h2 { font-size: clamp(2rem, 3.6vw, 2.75rem); line-height: 1.14; }
h3 { font-size: clamp(1.45rem, 2.2vw, 1.9rem); letter-spacing: -0.018em; }
h4, .heading-small { font-size: 1.12rem; font-weight: 700; letter-spacing: -0.01em; }
p { color: var(--ink-soft); }
strong { color: var(--ink); font-weight: 700; }
.display { font-size: clamp(2.5rem, 6vw, 4.4rem); line-height: 1.04; letter-spacing: -0.03em; font-weight: 800; }

.eyebrow {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--teal-700);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--teal);
}
.lede { font-size: clamp(1.1rem, 1.5vw, 1.28rem); color: var(--ink-soft); max-width: 62ch; line-height: 1.6; }
.text-teal { color: var(--teal); }

/* ---------- Layout primitives ---------- */
.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(56px, 9vw, 104px); }
.section--tight { padding-block: clamp(40px, 6vw, 64px); }
.section--gray { background: var(--gray-050); border-block: 1px solid var(--gray-200); }
.section--navy { background: var(--navy-800); color: #d7e2ee; }
.section--navy h1, .section--navy h2, .section--navy h3 { color: #fff; }
.section--navy p { color: #b7c6d6; }

.section-head { max-width: 62ch; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head h2 { margin-top: 14px; }
.section-head p { margin-top: 14px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow::before { display: none; }

.grid { display: grid; gap: clamp(18px, 2.4vw, 28px); }
.grid > * { min-width: 0; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 22px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: .96rem;
  letter-spacing: -0.01em;
  border: 1.5px solid transparent;
  transition: transform .12s var(--ease), background .15s var(--ease), border-color .15s var(--ease), color .15s var(--ease);
  white-space: normal;
  max-width: 100%; min-height: 44px; justify-content: center; text-align: center;
}
.btn svg { width: 17px; height: 17px; flex-shrink: 0; }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--teal-700); color: #fff; border-color: var(--teal-700); }
.btn--primary:hover { background: var(--teal-600); border-color: var(--teal-600); color: #fff; }
.btn--dark { background: var(--navy-800); color: #fff; border-color: var(--navy-800); }
.btn--dark:hover { background: var(--navy-700); border-color: var(--navy-700); color: #fff; }
.btn--ghost { background: transparent; color: var(--navy-800); border-color: var(--gray-300); }
.btn--ghost:hover { border-color: var(--navy-800); color: var(--navy-800); background: var(--white); }
.btn--on-navy { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn--on-navy:hover { border-color: #fff; background: rgba(255, 255, 255, .08); color: #fff; }
.btn--lg { padding: 15px 26px; font-size: 1rem; }

.link-arrow { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; color: var(--teal-700); }
.link-arrow svg { width: 16px; height: 16px; transition: transform .15s var(--ease); }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---------- Cards ---------- */
.card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease), transform .15s var(--ease);
}
.card--link:hover { border-color: var(--teal); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.card h3, .card h4 { color: var(--navy-800); }
.card p { margin-top: 8px; font-size: .97rem; }

.icon-tile {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: var(--radius-sm);
  background: var(--teal-050);
  border: 1px solid var(--teal-100);
  color: var(--teal-700);
  margin-bottom: 18px;
}
.icon-tile svg { width: 26px; height: 26px; }
.icon-tile--sector { width: 88px; height: 88px; background: #f3f8fa; border-color: var(--gray-200); border-radius: 16px; }
.icon-tile--sector .sector-icon { width: 72px; height: 72px; }
.icon-tile--navy { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }

/* ---------- Chips / status ---------- */
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 100px; white-space: normal; max-width: 100%;
  background: var(--gray-100); color: var(--ink-soft); border: 1px solid var(--gray-200);
}
.chip--new { background: var(--teal-050); color: var(--teal-700); border-color: var(--teal-100); }
.chip--updated { background: #eef3f9; color: var(--navy-600); border-color: #dbe6f1; }
.chip--action { background: var(--amber-050); color: var(--amber-700); border-color: var(--amber-100); }
.chip--upcoming { background: #eef0ff; color: #4a58c7; border-color: #dfe3fb; }
.chip--inforce { background: #eef6ec; color: #3f7a35; border-color: #dcecd8; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--gray-200);
}
.site-header .wrap { max-width: 1360px; padding-inline: clamp(18px, 3vw, 34px); }
.site-header__bar { position: relative; display: flex; align-items: center; gap: 14px; height: 72px; }
.header__right .btn--primary { padding: 10px 14px; font-size: .86rem; }
.brand { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand__mark { width: 44px; height: 44px; flex-shrink: 0; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name { font-weight: 800; font-size: 1.14rem; letter-spacing: .01em; color: var(--navy-800); }
.brand__name-alt { color: var(--teal-700); }
.footer__brand .brand__name-alt { color: #3fb4c4; }
.brand__tag { font-size: .64rem; letter-spacing: .13em; text-transform: uppercase; color: var(--ink-muted); font-weight: 600; }

.nav { display: flex; align-items: center; gap: 0; margin-left: 2px; }
.nav__item { position: static; }
.nav__link {
  display: inline-flex; align-items: center; gap: 5px; white-space: nowrap;
  padding: 10px 9px; border-radius: 7px;
  font-weight: 600; font-size: .875rem; color: var(--navy-800);
}
.nav__link:hover { background: var(--gray-050); color: var(--navy-800); }
.nav__link svg { width: 13px; height: 13px; opacity: .55; transition: transform .15s var(--ease); }
.nav__item[data-open="true"] .nav__link svg { transform: rotate(180deg); }

.header__right { margin-left: auto; display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.header__login { white-space: nowrap; }
.header__util { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; background: transparent; border-radius: 7px; color: var(--ink-soft); }
.header__util:hover { background: var(--gray-050); color: var(--navy-800); }
.header__util svg { width: 18px; height: 18px; }
.header__login { font-weight: 600; font-size: .92rem; color: var(--navy-800); padding: 9px 12px; }
.header__login:hover { color: var(--teal-700); }

/* Mega menu */
.mega {
  position: absolute; top: calc(100% - 1px); left: 50%; transform: translate(-50%, 6px);
  width: min(880px, calc(100vw - 40px));
  max-height: calc(100dvh - 88px);
  overflow-y: auto; overscroll-behavior: contain; scrollbar-gutter: stable;
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  padding: 26px; opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .16s var(--ease), transform .16s var(--ease), visibility .16s;
}
.nav__item[data-open="true"] .mega { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0); }
/* Bridge the space from the navigation link to the dropdown. */
.nav__item[data-open="true"]::after { content: ""; position: absolute; top: calc(100% - 16px); left: 0; right: 0; height: 16px; }
.mega__eyebrow { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 16px; }
.mega__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 26px; }
.mega__grid > div, .mega__link > span { min-width: 0; }
.mega__group-label { font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--teal-700); margin: 14px 0 4px; }
.mega__link { display: flex; gap: 13px; padding: 10px; border-radius: 9px; align-items: flex-start; }
.mega__link:hover { background: var(--gray-050); }
.mega__link-icon { flex-shrink: 0; width: 38px; height: 38px; border-radius: 8px; display: grid; place-items: center; background: var(--teal-050); border: 1px solid var(--teal-100); color: var(--teal-700); }
.mega__link-icon svg { width: 20px; height: 20px; }
.mega__link-name { font-weight: 700; font-size: .95rem; line-height: 1.4; color: var(--navy-800); display: flex; align-items: center; gap: 6px; }
.mega__link-desc { display: block; font-size: .84rem; line-height: 1.45; color: var(--ink-muted); margin-top: 4px; }
.mega__foot { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--gray-200); }
.mega__grid--split { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); }
.mega__grid--3 { grid-template-columns: repeat(3, 1fr); }
.mega__link--compact { padding: 9px 11px; }
.mega__link--compact .mega__link-name { font-size: .9rem; }
.mega__n { color: var(--teal-700); font-weight: 800; font-size: .78rem; }
.mega--services { width: min(760px, calc(100vw - 40px)); }
@media (max-width: 720px) { .mega__grid--3 { grid-template-columns: repeat(2, 1fr); } }

/* Mobile nav */
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--gray-200); border-radius: 8px; background: var(--white); place-items: center; }
.nav-toggle svg { width: 20px; height: 20px; color: var(--navy-800); }
.mobile-nav { display: none; }

@media (max-width: 1380px) {
  .nav, .header__login { display: none; }
  .nav-toggle { display: grid; }
  .site-header__bar { gap: 14px; }
  .mobile-nav {
    display: block; position: fixed; inset: 72px 0 0; background: var(--white);
    visibility: hidden; transform: translateY(-8px); transition: transform .22s var(--ease), visibility .22s;
    overflow-y: auto; padding: 20px var(--gutter) 60px; z-index: 99;
  }
  .mobile-nav[data-open="true"] { visibility: visible; transform: translateX(0); }
  .mobile-nav__link { display: block; border-bottom: 1px solid var(--gray-200); padding: 16px 4px; font-weight: 700; color: var(--navy-800); }
  .mobile-nav details { border-bottom: 1px solid var(--gray-200); }
  .mobile-nav summary { list-style: none; padding: 16px 4px; font-weight: 700; font-size: 1.05rem; color: var(--navy-800); display: flex; justify-content: space-between; align-items: center; }
  .mobile-nav summary::-webkit-details-marker { display: none; }
  .mobile-nav summary svg { width: 16px; height: 16px; transition: transform .15s var(--ease); }
  .mobile-nav details[open] summary svg { transform: rotate(180deg); }
  .mobile-nav__sub { padding: 0 4px 14px; display: grid; gap: 2px; }
  .mobile-nav__sub a { padding: 10px 4px; color: var(--ink-soft); font-weight: 600; }
  .mobile-nav__cta { margin-top: 24px; display: grid; gap: 12px; }
}

@media (max-width: 720px) {
  .header__right .btn--primary { display: none; }
}
@media (max-width: 600px) {
  .brand__tag { display: none; }
  .site-header__bar { gap: 10px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(90deg, rgba(4, 29, 63, .90), rgba(4, 29, 63, .72) 48%, rgba(4, 29, 63, .18) 78%), image-set(url("../img/chemical-regulations-it-hero.webp") type("image/webp"), url("../img/chemical-regulations-it-hero.png") type("image/png")) center / cover no-repeat, var(--navy-800); border-bottom: 1px solid var(--gray-200); }
.hero__inner { display: grid; grid-template-columns: minmax(0, 680px); align-items: center; min-height: 640px; padding-block: clamp(56px, 8vw, 104px); }
.hero h1 { color: #fff; }
.hero .eyebrow, .hero .text-teal { color: #7de2e9; }
.hero .eyebrow::before { background: #7de2e9; }
.hero .lede { color: #e1eaf3; }
.hero h1 { font-size: clamp(2.6rem, 5.6vw, 4.4rem); line-height: 1.04; letter-spacing: -0.03em; margin: 22px 0 22px; }
.hero .lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero__proof { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 34px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .25); }
.hero__proof span { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; font-size: .92rem; color: #e1eaf3; letter-spacing: .01em; }
.hero__proof span::before { content: ""; width: 7px; height: 7px; border-radius: 2px; background: var(--teal); transform: rotate(45deg); }
@media (max-width: 940px) {
  .hero { background-position: 60% center; }
  .hero__inner { grid-template-columns: minmax(0, 680px); }
  .hero__proof { gap: 8px 20px; }
}

/* ---------- Coverage strip (regulatory acronyms) ---------- */
.coverage { border-bottom: 1px solid var(--gray-200); background: var(--white); }
.coverage__inner { display: flex; align-items: center; gap: clamp(20px, 4vw, 48px); padding-block: 26px; flex-wrap: wrap; }
.coverage__label { font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-muted); flex-shrink: 0; }
.coverage__list { display: flex; flex-wrap: wrap; gap: 10px 26px; }
.coverage__list span { font-weight: 800; font-size: 1rem; color: var(--navy-700); letter-spacing: .02em; opacity: .8; }

/* ---------- Services (numbered editorial tiles) ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--gray-200); border: 1px solid var(--gray-200); border-radius: var(--radius); overflow: hidden; }
.svc-tile { background: var(--white); padding: clamp(24px, 3vw, 38px); display: flex; flex-direction: column; gap: 8px; transition: background .15s var(--ease); text-decoration: none; }
.svc-tile:hover { background: var(--gray-050); }
.svc-tile__n { font-size: .82rem; font-weight: 800; letter-spacing: .14em; color: var(--teal-700); }
.svc-tile h3 { font-size: 1.32rem; color: var(--navy-800); letter-spacing: -0.015em; }
.svc-tile p { font-size: .96rem; margin-top: 2px; }
.svc-tile .link-arrow { margin-top: auto; padding-top: 14px; font-size: .9rem; }
@media (max-width: 720px) { .svc-grid { grid-template-columns: 1fr; } }

/* ---------- Process flow ---------- */
.process { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 0; align-items: stretch; overflow-x: auto; }
.process__step { position: relative; padding: 28px 24px; border-left: 2px solid var(--gray-200); min-width: 0; }
.process__step:first-child { border-left: 3px solid var(--teal); }
.process__step-n { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 100px; border: 2px solid var(--navy-800); color: var(--navy-800); font-weight: 800; font-size: .82rem; margin-bottom: 12px; }
.process__step :is(h3, h4) { text-transform: uppercase; letter-spacing: .08em; font-size: .96rem; color: var(--navy-800); }
.process__step p { font-size: .88rem; margin-top: 6px; }
@media (max-width: 860px) {
  .process { grid-auto-flow: row; grid-auto-columns: auto; }
  .process__step { border-left: 3px solid var(--gray-200); }
  .process__step:first-child { border-left: 3px solid var(--teal); }
}

/* ---------- Product showcase (alternating) ---------- */
.showcase { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.showcase + .showcase { margin-top: clamp(48px, 8vw, 104px); }
.showcase--reverse .showcase__media { order: 2; }
.showcase__media { border: 1px solid var(--gray-200); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--navy-800); }
.showcase__media img, .showcase__media svg { width: 100%; height: auto; display: block; }
.showcase__eyebrow { display: flex; align-items: center; gap: 12px; font-weight: 800; color: var(--navy-800); letter-spacing: -0.01em; font-size: 1.05rem; }
.showcase__eyebrow .icon-tile { width: 40px; height: 40px; margin: 0; }
.showcase__eyebrow .icon-tile svg { width: 22px; height: 22px; }
.showcase h3 { margin: 16px 0 12px; }
.showcase__features { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; margin: 22px 0; }
.showcase__features li { display: flex; gap: 9px; align-items: flex-start; font-size: .92rem; font-weight: 600; color: var(--ink); }
.showcase__features svg { flex-shrink: 0; width: 17px; height: 17px; color: var(--teal); margin-top: 3px; }
@media (max-width: 860px) {
  .showcase, .showcase--reverse { grid-template-columns: 1fr; }
  .showcase--reverse .showcase__media { order: 0; }
  .showcase__features { grid-template-columns: 1fr; }
}

/* ---------- Regulatory Watch (intelligence dashboard) ---------- */
.watch { border: 1px solid var(--navy-700); border-radius: var(--radius-lg); overflow: hidden; background: var(--navy-800); box-shadow: var(--shadow-lg); }
.watch__head { display: flex; align-items: center; gap: 12px; padding: 16px 22px; border-bottom: 1px solid rgba(255,255,255,.12); }
.watch__pulse { width: 10px; height: 10px; border-radius: 100px; background: var(--amber); box-shadow: 0 0 0 0 rgba(243,146,0,.6); animation: watchpulse 2.4s infinite; }
@keyframes watchpulse { 0%{box-shadow:0 0 0 0 rgba(243,146,0,.5)} 70%{box-shadow:0 0 0 10px rgba(243,146,0,0)} 100%{box-shadow:0 0 0 0 rgba(243,146,0,0)} }
.watch__title { color: #fff; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; font-size: .82rem; }
.watch__body { padding: 8px; display: grid; gap: 8px; }
.watch__row { display: grid; grid-template-columns: 120px 1fr auto; gap: 16px; align-items: center; padding: 16px 18px; border-radius: var(--radius-sm); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.07); }
.watch__jur { font-weight: 800; font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; color: #8fd6dd; }
.watch__reg { font-size: .78rem; color: #b7c6d6; margin-top: 2px; }
.watch__headline { color: #fff; font-weight: 700; font-size: .98rem; }
.watch__meta { color: #9fb2c6; font-size: .82rem; margin-top: 4px; display: flex; gap: 16px; flex-wrap: wrap; }
.watch__action { text-align: right; display: grid; gap: 6px; justify-items: end; }
.watch__flag { font-size: .68rem; font-weight: 800; letter-spacing: .08em; padding: 4px 9px; border-radius: 5px; background: rgba(243,146,0,.15); color: #f7b45a; border: 1px solid rgba(243,146,0,.35); white-space: nowrap; }
.watch__rec { padding: 14px 20px 18px; color: #b7c6d6; font-size: .88rem; border-top: 1px solid rgba(255,255,255,.1); }
.watch__rec b { color: #fff; }
@media (max-width: 720px) {
  .watch__row { grid-template-columns: 1fr; gap: 8px; }
  .watch__action { text-align: left; justify-items: start; }
}

/* ---------- Industries ---------- */
.ind-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.ind-card { position: relative; border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 22px 20px; min-height: 118px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; transition: border-color .15s var(--ease), transform .15s var(--ease); background: var(--white); }
.ind-card:hover { border-color: var(--teal); transform: translateY(-2px); }
.ind-card__name { font-weight: 800; color: var(--navy-800); font-size: 1.02rem; letter-spacing: -0.01em; z-index: 1; }
.ind-card svg { width: 22px; height: 22px; color: var(--teal); }
@media (max-width: 900px) { .ind-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 620px) { .ind-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Insights (featured + list) ---------- */
.insights { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(24px, 4vw, 44px); }
.insight-lead { border: 1px solid var(--gray-200); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; transition: border-color .15s var(--ease); }
.insight-lead:hover { border-color: var(--teal); }
.insight-lead__media { aspect-ratio: 16 / 9; background: var(--navy-800); }
.insight-lead__media svg, .insight-lead__media img { width: 100%; height: 100%; object-fit: cover; }
.insight-lead__body { padding: 26px; }
.insight-lead h3 { font-size: 1.5rem; margin: 12px 0 10px; }
.insight-list { display: grid; gap: 4px; align-content: start; }
.insight-item { padding: 18px 4px; border-bottom: 1px solid var(--gray-200); display: block; }
.insight-item:first-child { padding-top: 0; }
.insight-item :is(h3, h4) { font-size: 1.05rem; margin: 8px 0 4px; color: var(--navy-800); }
.insight-item:hover :is(h3, h4) { color: var(--teal-700); }
.insight-item p { font-size: .88rem; }
@media (max-width: 860px) { .insights { grid-template-columns: 1fr; } }

/* ---------- Pillars (connected) ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; position: relative; }
.pillars__col { padding: 30px; border: 1px solid var(--gray-200); background: var(--white); }
.pillars__col:nth-child(1) { border-radius: var(--radius) 0 0 var(--radius); }
.pillars__col:nth-child(3) { border-radius: 0 var(--radius) var(--radius) 0; }
.pillars__col:not(:first-child) { border-left: none; }
.pillars__num { font-size: .8rem; font-weight: 800; letter-spacing: .1em; color: var(--teal-700); }
.pillars__col h3 { margin: 10px 0 8px; font-size: 1.2rem; }
.pillars__connect { position: absolute; top: 50%; left: 0; right: 0; height: 2px; background: repeating-linear-gradient(90deg, var(--teal) 0 8px, transparent 8px 16px); opacity: .4; z-index: -1; }
@media (max-width: 800px) {
  .pillars { grid-template-columns: 1fr; }
  .pillars__col { border-radius: 0 !important; border-left: 1px solid var(--gray-200) !important; border-top: none; }
  .pillars__col:first-child { border-radius: var(--radius) var(--radius) 0 0 !important; border-top: 1px solid var(--gray-200); }
  .pillars__col:last-child { border-radius: 0 0 var(--radius) var(--radius) !important; }
}

/* ---------- Solution cards ---------- */
.solution-card { display: flex; flex-direction: column; height: 100%; }
.solution-card__tag { font-weight: 700; color: var(--teal-700); font-size: .84rem; letter-spacing: .02em; margin: 14px 0 6px; }
.solution-card__name { font-size: 1.15rem; font-weight: 800; color: var(--navy-800); letter-spacing: -0.01em; }
.solution-card p { flex: 1; }
.solution-card .link-arrow { margin-top: 16px; }
.solution-card__status { margin-left: auto; }

/* ---------- Hexagon capability grid ---------- */
.hex-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 4vw, 56px) clamp(20px, 4vw, 64px);
}
.hex-tile { display: flex; flex-direction: column; align-items: center; text-align: center; color: inherit; }
.hex-tile__media {
  display: block;
  position: relative;
  width: 100%;
  max-width: 300px;
  aspect-ratio: 1 / 1.1547;                 /* regular pointy-top hexagon */
  -webkit-clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  overflow: hidden;
  background: var(--navy-800);
  transition: transform .2s var(--ease);
}
.hex-tile__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* soft drop shadow on the hex silhouette (clip-path can't take box-shadow) */
.hex-tile__shadow {
  display: block;
  position: relative;
  width: 100%;
  max-width: 300px;
  filter: drop-shadow(0 18px 30px rgba(10, 35, 64, .18));
}
.hex-tile__shadow::after {   /* thin brand edge */
  content: "";
  position: absolute; inset: 0;
  -webkit-clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06);
  pointer-events: none;
}
a.hex-tile:hover .hex-tile__media { transform: translateY(-4px) scale(1.015); }
.hex-tile__cap {
  display: flex; align-items: center; gap: 10px;
  margin-top: 22px;
  font-weight: 800; font-size: 1rem; letter-spacing: .02em; text-transform: uppercase;
  color: var(--navy-800); line-height: 1.25;
}
.hex-tile__cap svg { flex-shrink: 0; width: 20px; height: 20px; color: var(--teal); }
a.hex-tile:hover .hex-tile__cap { color: var(--teal-700); }
a.hex-tile:hover .hex-tile__cap svg { color: var(--teal-700); }
.hex-tile__cap span { text-align: left; }
@media (max-width: 860px) { .hex-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) {
  .hex-grid { grid-template-columns: 1fr; }
  .hex-tile__media, .hex-tile__shadow { max-width: 260px; }
}

/* ---------- Trust strip ---------- */
.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--gray-200); border: 1px solid var(--gray-200); border-radius: var(--radius); overflow: hidden; }
.trust__cell { background: var(--white); padding: 26px 24px; }
.trust__cell svg { width: 24px; height: 24px; color: var(--teal-700); margin-bottom: 12px; }
.trust__cell h4 { font-size: 1rem; }
.trust__cell p { font-size: .88rem; margin-top: 4px; }
@media (max-width: 860px) { .trust { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .trust { grid-template-columns: 1fr; } }

/* ---------- Regulatory update card ---------- */
.reg-card { display: flex; flex-direction: column; gap: 12px; }
.reg-card__meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.reg-card__jur { font-weight: 800; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: var(--navy-700); }
.reg-card__reg { font-size: .8rem; font-weight: 700; color: var(--teal-700); padding: 3px 9px; background: var(--teal-050); border-radius: 5px; border: 1px solid var(--teal-100); }
.reg-card :is(h3, h4) { font-size: 1.06rem; line-height: 1.3; }
.reg-card__dates { display: flex; flex-wrap: wrap; gap: 18px; font-size: .82rem; color: var(--ink-muted); border-top: 1px solid var(--gray-200); padding-top: 12px; margin-top: auto; }
.reg-card__dates b { display: block; color: var(--ink); font-size: .9rem; font-weight: 700; }

/* ---------- Filters ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.filters + .filters { margin-top: 0; }
.filter-status { font-size: .84rem; color: var(--ink-soft); margin-bottom: 24px; min-height: 1.2em; }
.filter-btn { padding: 8px 15px; border-radius: 100px; border: 1px solid var(--gray-300); background: var(--white); font-weight: 600; font-size: .88rem; color: var(--ink-soft); }
.filter-btn:hover { border-color: var(--navy-700); color: var(--navy-800); }
.filter-btn[aria-pressed="true"] { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }

/* ---------- Workflow ---------- */
.workflow { display: flex; align-items: stretch; gap: 0; overflow-x: auto; padding-bottom: 8px; }
.workflow__step { flex: 1; min-width: 150px; text-align: center; padding: 22px 16px; border: 1px solid var(--gray-200); background: var(--white); position: relative; }
.workflow__step:not(:last-child) { border-right: none; }
.workflow__step:first-child { border-radius: var(--radius) 0 0 var(--radius); }
.workflow__step:last-child { border-radius: 0 var(--radius) var(--radius) 0; }
.workflow__step-n { width: 30px; height: 30px; margin: 0 auto 10px; border-radius: 100px; background: var(--navy-800); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: .82rem; }
.workflow__step :is(h3, h4) { font-size: .98rem; letter-spacing: .02em; text-transform: uppercase; }
.workflow__step p { font-size: .82rem; margin-top: 5px; }
.workflow__step small { display: block; margin-top: 8px; font-size: .74rem; font-weight: 700; color: var(--teal-700); letter-spacing: .04em; }

/* ---------- Dashboard preview ---------- */
.dash { border: 1px solid var(--gray-200); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); background: var(--white); }
.dash__bar { background: var(--navy-800); padding: 12px 18px; display: flex; align-items: center; gap: 8px; }
.dash__dot { width: 9px; height: 9px; border-radius: 100px; background: rgba(255, 255, 255, .25); }
.dash__title { color: #cdd9e6; font-size: .82rem; font-weight: 600; margin-left: 8px; }
.dash__body { padding: 20px; display: grid; gap: 12px; }
.dash__row { display: grid; grid-template-columns: 88px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 12px; border: 1px solid var(--gray-200); border-radius: 8px; background: var(--gray-050); }
.dash__row-jur { font-weight: 800; font-size: .78rem; color: var(--navy-700); letter-spacing: .04em; }
.dash__row-title { font-size: .9rem; font-weight: 600; color: var(--ink); }
.dash__row-title span { display: block; font-weight: 500; color: var(--ink-muted); font-size: .8rem; }

/* ---------- Page hero (inner) ---------- */
.page-hero { background: linear-gradient(90deg, rgba(4, 29, 63, .94), rgba(4, 29, 63, .76) 48%, rgba(4, 29, 63, .18)), image-set(url("../img/chemical-regulations-it-hero.webp") type("image/webp"), url("../img/chemical-regulations-it-hero.png") type("image/png")) center / cover no-repeat, var(--navy-800); color: #cdd9e6; padding-block: clamp(48px, 7vw, 84px); border-bottom: 4px solid var(--teal); }
.page-hero .eyebrow { color: #7de2e9; }
.page-hero .eyebrow::before { background: var(--teal); }
.page-hero h1 { color: #fff; font-size: clamp(2.1rem, 4.4vw, 3.1rem); margin: 16px 0 16px; max-width: 20ch; }
.page-hero p { color: #e1eaf3; max-width: 60ch; font-size: 1.1rem; }
.page-hero__cta { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 28px; }
.page-hero__app { display: flex; align-items: center; gap: 16px; margin-bottom: 8px; }
.page-hero__app-icon { width: 56px; height: 56px; border-radius: 12px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); display: grid; place-items: center; color: #fff; }
.page-hero__app-icon svg { width: 30px; height: 30px; }
.icon-tile:has(.product-icon, .content-icon) { width: 88px; height: 88px; background: #f3f8fa; border-color: var(--gray-200); border-radius: 16px; }
.icon-tile :is(.product-icon, .content-icon) { width: 72px; height: 72px; }
.mega__link-icon:has(.product-icon, .content-icon) { width: 52px; height: 52px; background: #f3f8fa; }
.mega__link-icon :is(.product-icon, .content-icon) { width: 44px; height: 44px; }
.showcase__eyebrow .icon-tile:has(.product-icon, .content-icon) { width: 60px; height: 60px; flex-shrink: 0; }
.showcase__eyebrow .icon-tile :is(.product-icon, .content-icon) { width: 50px; height: 50px; }
.page-hero__app-icon:has(.product-icon, .content-icon) { width: 76px; height: 76px; background: #f3f8fa; flex-shrink: 0; }
.page-hero__app-icon :is(.product-icon, .content-icon) { width: 64px; height: 64px; }
.page-hero__app-name { font-size: 1.5rem; font-weight: 800; color: #fff; letter-spacing: -0.01em; }
.page-hero__app-sub { font-size: .9rem; color: var(--teal); font-weight: 600; }
/* SDSFORGE hero — conceptual SDS-creation-workflow background:
   substance data → hazard review → authoring → localisation → approved SDS */
.page-hero--sdsforge {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: clamp(480px, 44vw, 600px);
  display: flex;
  align-items: center;
  background-color: var(--navy-900);
  background-image:
    linear-gradient(96deg, rgba(4, 26, 58, .98) 0%, rgba(4, 26, 58, .96) 34%, rgba(4, 26, 58, .82) 52%, rgba(4, 26, 58, .4) 68%, rgba(4, 26, 58, .05) 84%),
    linear-gradient(0deg, rgba(4, 26, 58, .55), rgba(4, 26, 58, 0) 44%),
    var(--sds-workflow-image, image-set(url("../img/sdsforge-creation-workflow-hero.webp") type("image/webp"), url("../img/sdsforge-creation-workflow-hero.png") type("image/png")));
  background-position: center, center, right center;
  background-size: cover, cover, cover;
  background-repeat: no-repeat;
}
.page-hero--sdsforge .page-hero__app-sub { color: #7de2e9; }
.page-hero--sdsforge > .wrap { position: relative; z-index: 1; }
.page-hero--sdsforge h1 { max-width: 13ch; font-size: clamp(2rem, 3.6vw, 2.9rem); line-height: 1.08; }
.page-hero--sdsforge p { max-width: 40ch; }
.page-hero--sdsforge .page-hero__cta { max-width: 460px; }
/* caption naming the workflow stages shown in the artwork */
.page-hero--sdsforge .hero-stages {
  display: flex; flex-wrap: wrap; gap: 8px 10px; margin-top: 26px;
  font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #9fc6ce;
}
.page-hero--sdsforge .hero-stages li { display: inline-flex; align-items: center; gap: 8px; }
.page-hero--sdsforge .hero-stages li:not(:last-child)::after { content: ""; width: 14px; height: 1px; background: currentColor; opacity: .5; }

@media (min-width: 621px) and (max-width: 1100px) {
  .page-hero--sdsforge {
    min-height: clamp(420px, 52vw, 520px);
    background-image:
      linear-gradient(100deg, rgba(4, 29, 63, .97) 0%, rgba(4, 29, 63, .9) 42%, rgba(4, 29, 63, .55) 70%, rgba(4, 29, 63, .22) 100%),
      linear-gradient(0deg, rgba(4, 29, 63, .55), rgba(4, 29, 63, 0) 45%),
      var(--sds-workflow-image, image-set(url("../img/sdsforge-creation-workflow-hero.webp") type("image/webp"), url("../img/sdsforge-creation-workflow-hero.png") type("image/png")));
    background-position: center, center, 78% center;
  }
}
@media (max-width: 620px) {
  .hero, .page-hero {
    background-image: linear-gradient(90deg, rgba(4, 29, 63, .88), rgba(4, 29, 63, .7)), image-set(url("../img/chemical-regulations-it-hero.webp") type("image/webp"), url("../img/chemical-regulations-it-hero.png") type("image/png"));
  }
  .page-hero--sdsforge {
    min-height: 0;
    background-image:
      linear-gradient(180deg, rgba(4, 29, 63, .82) 0%, rgba(4, 29, 63, .94) 58%, rgba(4, 29, 63, .98) 100%),
      var(--sds-workflow-image, image-set(url("../img/sdsforge-creation-workflow-hero.webp") type("image/webp"), url("../img/sdsforge-creation-workflow-hero.png") type("image/png")));
    background-position: center, 82% top;
    background-size: cover, 170% auto;
  }
  .page-hero--sdsforge h1, .page-hero--sdsforge p { max-width: none; }
}

.page-hero--with-document { --sds-workflow-image: image-set(url("../img/sdsforge-workflow-document-stage.webp") type("image/webp"), url("../img/sdsforge-workflow-document-stage.png") type("image/png")); }
.page-hero--with-document > .wrap { width: 100%; }
.page-hero__document {
  position: absolute;
  display: block;
  z-index: 2;
  width: clamp(280px, 27vw, 390px);
  right: 3.5%;
  top: 50%;
  transform: translateY(-50%) perspective(1200px) rotateY(-8deg) rotate(2deg);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .45), 0 0 26px rgba(75, 205, 230, .2);
  border-radius: 3px;
}
.page-hero__document img { width: 100%; height: auto; border-radius: inherit; }
@media (max-width: 1100px) {
  .page-hero--with-document { display: block; }
  .page-hero__document {
    position: relative;
    inset: auto;
    width: min(70vw, 330px);
    margin: 44px auto 0;
    transform: rotate(2deg);
  }
}

.workflow-illustration { margin: 0 0 36px; }
/* SDS authoring service: shared reference typography and spacing in both languages. */
main:has(.page-hero--sdsforge-service) .wrap { max-width: 1600px; padding-inline: clamp(20px, 4vw, 60px); }
.page-hero--sdsforge-service {
  --sds-workflow-image: image-set(url("../img/sdsforge-integrated-workflow-v2.webp") type("image/webp"), url("../img/sdsforge-integrated-workflow-v2.png") type("image/png"));
  min-height: 540px;
  padding-block: clamp(36px, 4vw, 60px);
}
.page-hero--sdsforge-service > .wrap { width: 100%; }
.page-hero--sdsforge-service .page-hero__app, .page-hero--sdsforge-service .eyebrow { display: none; }
.page-hero--sdsforge-service h1 {
  max-width: none;
  width: calc(100% - clamp(240px, 24vw, 340px) - 64px);
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.75rem);
  line-height: 1.22;
  letter-spacing: -.02em;
  color: #fff;
  hyphens: none;
  text-wrap: pretty;
}
.page-hero__title-lead { display: block; font-weight: 500; margin-bottom: 8px; }
.page-hero--sdsforge-service h1 strong { color: inherit; font-weight: 800; }
.page-hero__benefits { display: grid; gap: 12px; width: calc(100% - clamp(240px, 24vw, 340px) - 64px); margin-top: 36px; }
.page-hero__benefits li { display: flex; align-items: flex-start; gap: 14px; color: #e1eaf3; font-size: 1rem; line-height: 1.55; }
.page-hero__benefits svg { width: 24px; height: 24px; padding: 3px; flex-shrink: 0; border-radius: 5px; background: rgba(36, 204, 161, .15); color: #55dfbd; }
@media (max-width: 1100px) {
  .page-hero--sdsforge-service h1, .page-hero__benefits { width: 100%; }
}

.workflow-illustration > a { display: block; background: #fff; border-radius: var(--radius); }
.workflow-illustration img { width: 100%; height: auto; }
.workflow-illustration figcaption { display: flex; align-items: center; justify-content: flex-end; gap: 6px; margin-top: 10px; color: var(--teal-700); font-size: .8rem; }
.workflow-illustration figcaption svg { width: 14px; height: 14px; }
.workflow-illustration figcaption a { display: inline-flex; align-items: center; gap: 6px; }

/* ---------- Breadcrumb ---------- */
.crumb { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: .84rem; color: var(--ink-muted); padding: 14px 0; }
.crumb a { color: var(--ink-muted); font-weight: 600; }
.crumb a:hover { color: var(--teal-700); }
.crumb span { color: var(--gray-300); }

/* ---------- Feature list ---------- */
.feature-list { display: grid; gap: 14px; }
.feature-list li { display: flex; gap: 12px; align-items: flex-start; }
.feature-list svg { flex-shrink: 0; width: 20px; height: 20px; color: var(--teal); margin-top: 3px; }
.feature-list b { display: block; color: var(--navy-800); }
.feature-list span { font-size: .92rem; color: var(--ink-soft); }

/* ---------- Definition rows (specs) ---------- */
.spec-grid { margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--gray-200); border: 1px solid var(--gray-200); border-radius: var(--radius); overflow: hidden; }
.spec-grid div { background: var(--white); padding: 18px 20px; }
.spec-grid dt { font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-muted); font-weight: 700; }
.spec-grid dd { font-weight: 700; color: var(--navy-800); margin-top: 4px; }
@media (max-width: 720px) { .spec-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- FAQ ---------- */
.faq details { border: 1px solid var(--gray-200); border-radius: var(--radius-sm); padding: 4px 20px; margin-bottom: 10px; background: var(--white); }
.faq summary { list-style: none; padding: 16px 0; font-weight: 700; color: var(--navy-800); cursor: pointer; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { flex-shrink: 0; width: 18px; height: 18px; color: var(--teal); transition: transform .15s var(--ease); }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq details p { padding-bottom: 18px; }

/* ---------- Callout ---------- */
.callout { border-left: 3px solid var(--amber); background: var(--amber-050); padding: 18px 22px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.callout p { color: var(--amber-700); font-size: .92rem; }
.callout strong { color: var(--amber-700); }

/* ---------- Form ---------- */
.form { display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 620px) { .form__row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; }
.field label { font-weight: 700; font-size: .86rem; color: var(--navy-800); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; min-width: 0; padding: 12px 14px; border: 1.5px solid var(--gray-300);
  border-radius: var(--radius-sm); background: var(--white); color: var(--ink); width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 3px var(--teal-100); }
.field textarea { min-height: 130px; resize: vertical; }
.checkbox { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: var(--ink-soft); }
.checkbox input { width: 18px; height: 18px; margin-top: 2px; flex-shrink: 0; }

/* ---------- Lead-capture forms (contact / demo / resource / newsletter / watch) ---------- */
.field__req { color: var(--amber-700); }
.field__hint { font-size: .82rem; color: var(--ink-soft); }
.field__error { font-size: .82rem; font-weight: 600; color: #b3261e; display: flex; gap: 6px; align-items: baseline; }
.field__error::before { content: "▲"; font-size: .7em; }
.field input[aria-invalid="true"], .field select[aria-invalid="true"], .field textarea[aria-invalid="true"],
[aria-invalid="true"] { border-color: #b3261e; }
.field input[aria-invalid="true"]:focus { box-shadow: 0 0 0 3px #f5d0cd; }

.field--consent .field__error { margin-top: 4px; }

.checkgroup { border: 0; }
.checkgroup legend { font-weight: 700; font-size: .86rem; color: var(--navy-800); margin-bottom: 8px; }
.checkgroup__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px 16px; }
.checkgroup__item { display: flex; gap: 8px; align-items: center; font-size: .88rem; color: var(--ink-soft); padding: 5px 0; min-height: 30px; }
.checkgroup__item input { width: 18px; height: 18px; flex-shrink: 0; }

/* Honeypot — kept in the accessibility tree for bots, off-screen for people. */
.lead-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.turnstile-mount:not(:empty) { margin: 4px 0; }

.form-status { border-radius: var(--radius-sm); padding: 12px 16px; font-size: .9rem; font-weight: 600; }
.form-status--error { background: #fdeceb; border: 1px solid #f3c4c0; color: #8f1d17; }
.form-status--ok { background: var(--teal-050); border: 1px solid var(--teal-100); color: var(--teal-700); }
button[data-submit][aria-busy="true"] { opacity: .7; cursor: progress; }

.feature-list--on-navy b { color: #fff; }
.feature-list--on-navy span { color: #b7c6d6; }
.feature-list--on-navy svg { color: #8fd6dd; }

/* ---------- Footer newsletter ---------- */
.footer__signup {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 32px 48px;
  padding-bottom: 40px; margin-bottom: 40px; border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.footer__signup h2 { color: #fff; font-size: 1.05rem; }
.footer__signup p { color: #b7c6d6; font-size: .9rem; margin-top: 6px; }
.footer__signup .form { gap: 14px; }
.footer__signup .field label, .footer__signup .checkgroup legend { color: #cdd9e6; }
.footer__signup .checkbox, .footer__signup .checkgroup__item { color: #b7c6d6; }
.footer__signup .field input { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .2); color: #fff; }
.footer__signup .field input::placeholder { color: #8aa0b6; }
.footer__signup a { color: #8fd6dd; }
@media (max-width: 860px) { .footer__signup { grid-template-columns: 1fr; gap: 20px; } }

/* ---------- Legal pages ---------- */
.page-hero--tight { padding-block: clamp(36px, 5vw, 56px); }
.wrap--prose { max-width: 820px; }
.legal-meta { font-size: .82rem !important; color: #b7c6d6 !important; margin-top: 18px; }
.article-meta { font-size: .82rem; color: var(--ink-soft); margin-top: 20px; padding-top: 14px; border-top: 1px solid var(--gray-200); }
.legal-prose h2 { font-size: 1.2rem; margin: 32px 0 10px; color: var(--navy-800); }
.legal-prose h3 { font-size: 1.02rem; margin: 22px 0 8px; color: var(--navy-800); }
.legal-prose p, .legal-prose li { font-size: .96rem; }
.legal-prose ul, .legal-prose ol { padding-left: 20px; }
.legal-prose ul { list-style: disc; }
.legal-prose ol { list-style: decimal; }
.legal-prose a { color: var(--teal-700); }
.legal-prose blockquote { border-left: 3px solid var(--teal); background: var(--teal-050); padding: 10px 16px; margin: 16px 0; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-size: .95rem; }
.legal-prose table { display: block; overflow-x: auto; width: 100%; border-collapse: collapse; margin: 16px 0; font-size: .88rem; }
.legal-prose th, .legal-prose td { border: 1px solid var(--gray-200); padding: 8px 11px; text-align: left; vertical-align: top; }
.legal-prose th { background: var(--gray-050); color: var(--navy-800); font-weight: 700; }
.legal-todo {
  background: var(--amber-050); color: var(--amber-700); border: 1px dashed var(--amber);
  padding: 1px 6px; border-radius: 4px; font-size: .85em; font-weight: 600;
}
.legal-table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: .86rem; display: block; overflow-x: auto; }
.legal-table th, .legal-table td { border: 1px solid var(--gray-200); padding: 8px 10px; text-align: left; vertical-align: top; }
.legal-table th { background: var(--gray-050); color: var(--navy-800); font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; }
.cta-band h2 { max-width: 20ch; margin: 0 auto 16px; }
.cta-band p { max-width: 52ch; margin: 0 auto 28px; }
.cta-band__btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: #9fb2c6; padding-block: 56px 32px; }
.site-footer a { color: #b8c7d8; font-size: .9rem; }
.site-footer a:hover { color: #fff; }
.footer__top { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; padding-bottom: 40px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer__brand .brand__name { color: #fff; }
.footer__brand .brand__tag { color: #7f93a8; }
.footer__brand p { color: #8ea2b6; font-size: .9rem; margin-top: 14px; max-width: 30ch; }
.footer__col h3 { color: #fff; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 14px; font-weight: 700; }
.footer__col a { display: block; padding: 5px 0; }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; font-size: .84rem; color: #7f93a8; }
.footer__bottom a { font-size: .84rem; }
@media (max-width: 900px) { .footer__top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer__top { grid-template-columns: 1fr; } }

/* ---------- Search overlay ---------- */
.search-overlay { position: fixed; inset: 0; z-index: 200; background: rgba(7, 26, 47, .55); backdrop-filter: blur(3px); display: none; padding: min(12vh, 80px) 20px 20px; overflow-y: auto; overscroll-behavior: contain; }
.search-overlay[data-open="true"] { display: block; }
.search-box { max-width: 640px; margin-inline: auto; background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.search-box input { width: 100%; border: none; padding: 22px 24px; font-size: 1.1rem; font-family: inherit; }
.search-box input:focus { outline: none; }
.search-box__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 20px 0; color: var(--navy); }
.search-close { flex-shrink: 0; min-width: 44px; min-height: 44px; border: 1px solid var(--gray-200); background: var(--white); border-radius: 7px; color: var(--navy); padding: 6px 12px; font-size: .9rem; }
.search-results { border-top: 1px solid var(--gray-200); max-height: 50vh; overflow-y: auto; }
.search-results a { display: flex; justify-content: space-between; gap: 12px; padding: 14px 24px; border-bottom: 1px solid var(--gray-100); color: var(--ink); }
.search-results a:hover { background: var(--gray-050); }
.search-results .type { font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); }
.search-hint { padding: 16px 24px; color: var(--ink-muted); font-size: .86rem; }

/* ---------- Misc ---------- */
/* Responsive content: shrink grid tracks, wrap labels, and keep every step visible. */
.language-switch { position: relative; }
.language-switch summary { display: flex; align-items: center; justify-content: center; gap: 4px; min-width: 48px; min-height: 44px; cursor: pointer; list-style: none; font-size: .78rem; font-weight: 800; color: var(--navy); border-radius: 7px; }
.language-switch summary::-webkit-details-marker { display: none; }
.language-switch summary:hover { background: var(--gray-050); }
.language-switch summary svg { width: 12px; height: 12px; }
.language-switch__options { position: absolute; top: calc(100% + 8px); right: 0; min-width: 144px; padding: 6px; background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); box-shadow: var(--shadow-md); }
.language-switch__options a { display: flex; align-items: center; min-height: 44px; padding: 8px 12px; font-size: .9rem; color: var(--navy); border-radius: 6px; }
.language-switch__options a:hover, .language-switch__options a[aria-current] { background: var(--teal-050); color: var(--teal-700); }
html:lang(de) { hyphens: auto; }
.brand, .language-switch, .chip { hyphens: none; }
.showcase > *, .showcase__eyebrow > *, .page-hero__app > *, .form__row > *, .footer__top > *, .spec-grid > * { min-width: 0; }
.eyebrow::before, .hero__proof span::before, .dash__dot, .link-arrow svg { flex-shrink: 0; }
.card { padding: clamp(20px, 3vw, 28px); }
.filter-btn, a.chip { min-height: 44px; }
.contact-layout { gap: 48px; align-items: start; }
.calendar-table { width: 100%; border-collapse: collapse; }
.calendar-shell { border: 1px solid var(--gray-200); border-radius: var(--radius); overflow: hidden; }
.calendar-table th { padding: 14px 16px; font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); border-bottom: 1px solid var(--gray-200); text-align: left; background: var(--gray-050); }
.calendar-table td { padding: 14px 16px; font-size: .9rem; }
.calendar-table td:first-child { font-weight: 700; color: var(--navy); }
.calendar-table tr { border-bottom: 1px solid var(--gray-100); }
.calendar-table .reg-card__reg { display: inline-block; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
@media (max-width: 1100px) {
  .footer__top { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
  .process { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .workflow { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; overflow: visible; padding: 0; }
  .workflow__step, .workflow__step:first-child, .workflow__step:last-child { min-width: 0; border: 1px solid var(--gray-200); border-radius: var(--radius); }
  .workflow__step:not(:last-child) { border-right: 1px solid var(--gray-200); }
  .contact-layout { grid-template-columns: minmax(0, 1fr); }
  .calendar-shell { border: 0; overflow: visible; }
  .calendar-table, .calendar-table tbody { display: block; }
  .calendar-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .calendar-table tbody { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  .calendar-table tr { display: block; padding: 16px; border: 1px solid var(--gray-200); border-radius: var(--radius); background: var(--white); }
  .calendar-table td { display: block; padding: 8px 0; }
  .calendar-table td::before { content: attr(data-label); display: block; margin-bottom: 4px; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); font-weight: 700; }
}
@media (max-width: 900px) {
  .footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .process { grid-template-columns: minmax(0, 1fr); }
  .hero__inner { min-height: 0; }
  .hero h1 { font-size: clamp(2.2rem, 8.5vw, 3rem); }
  .hero__cta, .page-hero__cta, .cta-band__btns { flex-direction: column; align-items: stretch; }
  .dash__body { padding: 14px; }
  .dash__row { grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
  .dash__row-title { grid-column: 1 / -1; grid-row: 2; }
  .dash__row > .chip { grid-column: 2; grid-row: 1; max-width: 160px; }
  .calendar-table tbody { grid-template-columns: minmax(0, 1fr); }
  .search-results a { flex-direction: column; gap: 4px; padding: 14px 20px; }
  .search-box input { padding: 16px 20px; }
  .search-hint { padding: 12px 20px; }
  .footer__col a { min-height: 44px; display: flex; align-items: center; }
}
@media (max-width: 480px) {
  .site-header .brand__mark { width: 32px; height: 32px; }
  .site-header .brand__name { font-size: .95rem; }
  .workflow, .spec-grid, .ind-grid { grid-template-columns: minmax(0, 1fr); }
  .workflow__step { text-align: left; padding: 20px; }
  .workflow__step-n { margin-left: 0; }
  .ind-card { min-height: 92px; flex-direction: row; align-items: center; gap: 16px; }
  .footer__top { grid-template-columns: minmax(0, 1fr); }
  .header__right { gap: 4px; }
  .brand { gap: 8px; }
}

.prose > * + * { margin-top: 1.1em; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose ul { display: grid; gap: 8px; padding-left: 22px; list-style: disc; }
.prose li { color: var(--ink-soft); }
.divider { height: 1px; background: var(--gray-200); border: 0; margin-block: clamp(40px, 6vw, 72px); }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--navy-800); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0; z-index: 300; }
.skip-link:focus { left: 0; color: #fff; }

/* Reveal animation — only applied once JS opts an element in; default state is visible. */
.reveal-init { opacity: 0; transform: translateY(14px); transition: opacity .55s var(--ease), transform .55s var(--ease); will-change: opacity, transform; }
.reveal-init.reveal-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal-init { opacity: 1 !important; transform: none !important; }
}
/* Content-driven calendar: keep uncertain timing and review labels readable. */
.calendar-timing, .calendar-note { margin: .5rem 0 0; font-size: .8125rem; line-height: 1.5; color: var(--ink-muted); }

.field--consent a { text-decoration: underline; text-underline-offset: .15em; }

/* Shared subject artwork: full-size cards and compact navigation / process variants. */
.service-visual { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 10px; }
.service-visual .icon-tile { margin: 0; flex-shrink: 0; }
.mega__link--compact { align-items: center; }
.mobile-nav__sub .mobile-nav__item-link { display: flex; align-items: center; gap: 12px; }
.mobile-nav__item-link > span:last-child { min-width: 0; overflow-wrap: anywhere; }
.step-visual { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.step-visual .icon-tile, .insight-item__visual .icon-tile, .icon-tile.icon-tile--compact { width: 64px; height: 64px; border-radius: 12px; flex-shrink: 0; margin: 0; }
.step-visual .icon-tile svg, .insight-item__visual .icon-tile svg, .icon-tile.icon-tile--compact svg { width: 56px; height: 56px; }
.step-visual :is(.process__step-n, .workflow__step-n) { margin: 0; flex-shrink: 0; }
.workflow__step .step-visual { justify-content: center; }
.ind-grid .ind-card { flex-direction: column; align-items: flex-start; gap: 18px; min-height: 158px; }
.ind-card .sector-icon { width: 64px; height: 64px; flex-shrink: 0; }
.insight-item__visual { display: flex; align-items: center; gap: 14px; }
.reg-card .icon-tile--compact { margin-bottom: 14px; }
@media (max-width: 620px) {
  .workflow__step .step-visual { justify-content: flex-start; }
  .ind-grid .ind-card { padding: 18px 14px; }
}
