/* PVURA Website V2 - design system (docs: ppe-tracker/DESIGN_SYSTEM_2.md §Website V2).
   Mobile first: base rules are the 390-430px experience; min-width queries add space.
   Everything is visible at rest; motion is added only by site.js (html.motion) and
   never under prefers-reduced-motion. */

@font-face { font-family: "Lato"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/Lato-400.d4ae5188a6.woff2") format("woff2"); }
@font-face { font-family: "Lato"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/Lato-700.7a7ce1a34f.woff2") format("woff2"); }
@font-face { font-family: "Lato"; font-style: normal; font-weight: 900; font-display: swap; src: url("/assets/fonts/Lato-900.bd9a619227.woff2") format("woff2"); }

:root {
  --g950: #0B0E11; --g900: #151A1F; --g800: #1B2127; --g700: #232A31; --g600: #2F3841;
  --warm: #F4F1EA; --paper: #FBF9F5;
  --signal: #FF5A11; --signal-deep: #FF390E; --signal-ink: #C93A0B;
  --ink: #0B0E11; --ink-2: #3A4249; --ink-3: #5D666E;
  --fg: #F4F1EA; --fg-2: #B9BFC5; --fg-3: #8E969D;
  --line-0: #FFE6BD; --line-1: #FF9542; --line-2: #FF5A11; --line-3: #FF390E; --line-4: #FF0707;
  --ok: #39D98A; --attn: #F5B942; --block: #FF6257;
  --hair-dark: rgba(244, 241, 234, .10); --hair-light: rgba(11, 14, 17, .12);
  --font: "Lato", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --gutter: 20px; --wrap: 1200px; --radius-ch: 24px; --radius: 14px; --radius-sm: 10px;
  --space-7: 48px; /* kept for the legal pages' existing inline styles */
  --t-hero: clamp(2.5rem, 1.55rem + 4.1vw, 4.6rem);
  --t-h2: clamp(1.9rem, 1.35rem + 2.3vw, 3.1rem);
  --t-h3: clamp(1.3rem, 1.15rem + .6vw, 1.6rem);
  --t-lead: clamp(1.125rem, 1.04rem + .38vw, 1.32rem);
  --ease: cubic-bezier(.22, 1, .36, 1);
  color-scheme: dark;
}
@media (min-width: 600px) { :root { --gutter: 32px; --radius-ch: 32px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--g950); color: var(--fg); font: 400 1.0625rem/1.6 var(--font); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 900; line-height: 1.08; letter-spacing: -.012em; text-wrap: balance; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--accent, var(--signal)); outline-offset: 3px; border-radius: 4px; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--signal); color: var(--ink); font-weight: 700; padding: 10px 14px; border-radius: 8px; text-decoration: none; }
.skip-link:focus { top: 12px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Header ---------- */
.hd { position: sticky; top: 0; z-index: 50; background: rgba(11, 14, 17, .9); -webkit-backdrop-filter: saturate(140%) blur(12px); backdrop-filter: saturate(140%) blur(12px); border-bottom: 1px solid var(--hair-dark); }
.hd-in { display: flex; align-items: center; gap: 16px; min-height: 64px; }
.hd-logo { display: inline-flex; padding: 8px 0; margin-right: auto; }
.hd-logo img { width: 104px; height: auto; }
.hd-nav { display: none; }
.hd-nav a, .hd-login { color: var(--fg-2); text-decoration: none; font-weight: 700; font-size: .95rem; padding: 10px 4px; }
.hd-nav a:hover, .hd-login:hover, .hd-nav a[aria-current="page"] { color: var(--fg); }
.hd-actions { display: none; align-items: center; gap: 18px; }
.mmenu { position: relative; }
.mmenu > summary { list-style: none; display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; margin-right: -10px; border-radius: 12px; cursor: pointer; color: var(--fg); }
.mmenu > summary::-webkit-details-marker { display: none; }
.mmenu > summary .ic-close { display: none; }
.mmenu[open] > summary .ic-open { display: none; }
.mmenu[open] > summary .ic-close { display: block; }
/* .hd has backdrop-filter, which makes it the containing block for this fixed
   panel - so the height is explicit, not bottom: 0. */
.mmenu-panel { position: fixed; left: 0; right: 0; top: 64px; height: calc(100vh - 64px); height: calc(100dvh - 64px); overflow-y: auto; overscroll-behavior: contain; background: var(--g950); padding: 12px var(--gutter) 32px; display: flex; flex-direction: column; gap: 4px; border-top: 1px solid var(--hair-dark); }
.mmenu-panel a.mlink { display: flex; align-items: center; justify-content: space-between; min-height: 56px; font-size: 1.35rem; font-weight: 900; text-decoration: none; border-bottom: 1px solid var(--hair-dark); }
.mmenu-panel .btn { margin-top: 20px; }
.mmenu-panel .mlogin { margin-top: 8px; text-align: center; color: var(--fg-2); font-weight: 700; padding: 14px; text-decoration: none; }
@media (min-width: 1100px) {
  .mmenu { display: none; }
  .hd-nav { display: flex; align-items: center; gap: 22px; margin-right: auto; margin-left: 36px; }
  .hd-logo { margin-right: 0; }
  .hd-actions { display: flex; }
  .hd-logo img { width: 116px; }
}

/* ---------- Buttons ---------- */
.btn { --b-bg: transparent; --b-fg: var(--fg); --b-bd: var(--hair-dark); position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 22px; border-radius: 12px; border: 1.5px solid var(--b-bd); background: var(--b-bg); color: var(--b-fg); font: 700 1.0625rem/1 var(--font); text-decoration: none; cursor: pointer; transition: background .15s var(--ease), border-color .15s var(--ease), color .15s var(--ease); -webkit-tap-highlight-color: transparent; }
.btn-primary { --b-bg: var(--cta-bg, var(--signal)); --b-fg: var(--cta-fg, var(--ink)); --b-bd: var(--cta-bg, var(--signal)); }
.btn-primary:hover { --b-bg: var(--cta-hover, #FF6A26); --b-bd: var(--cta-hover, #FF6A26); }
.btn-primary:active { --b-bg: var(--cta-press, var(--signal-deep)); --b-bd: var(--cta-press, var(--signal-deep)); }
.btn-secondary { --b-bd: rgba(244, 241, 234, .28); }
.btn-secondary:hover { --b-bd: var(--fg); }
.btn-secondary:active { --b-bg: rgba(244, 241, 234, .08); }
.on-light .btn-secondary { --b-fg: var(--ink); --b-bd: rgba(11, 14, 17, .28); }
.on-light .btn-secondary:hover { --b-bd: var(--ink); }
.on-light .btn-secondary:active { --b-bg: rgba(11, 14, 17, .06); }
.btn .arrow { width: 18px; height: 18px; transition: transform .2s var(--ease); flex-shrink: 0; }
.btn:hover .arrow, .btn:focus-visible .arrow { transform: translateX(4px); }
.btn:active .arrow { transform: translateX(2px); }
.btn-block { width: 100%; }
.btn:disabled { opacity: .4; cursor: default; }
.btn-sm { min-height: 44px; padding: 0 16px; font-size: .95rem; }
.cta-row { display: flex; flex-direction: column; gap: 12px; }
.cta-note { color: var(--fg-3); font-size: .92rem; }
.on-light .cta-note { color: var(--ink-3); }
@media (min-width: 600px) { .cta-row { flex-direction: row; flex-wrap: wrap; align-items: center; } }
.tlink { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--fg); text-decoration: none; padding: 10px 0; border-bottom: 2px solid transparent; }
.tlink:hover { border-bottom-color: var(--signal); }
.tlink .arrow { width: 16px; height: 16px; }
.on-light .tlink { color: var(--signal-ink); }
.on-light .tlink:hover { border-bottom-color: var(--signal-ink); }

/* ---------- PVURA line motif (the logo's three bars, five-stop gradient) ---------- */
.pv-lines { display: block; width: 100%; height: 28px; }
.pv-lines path { transform-origin: left center; }
html.motion .pv-lines.draw path { transform: scaleX(0); }
html.motion .pv-lines.draw.is-in path { transform: none; transition: transform .7s var(--ease); }
html.motion .pv-lines.draw.is-in path:nth-child(2) { transition-delay: .08s; }
html.motion .pv-lines.draw.is-in path:nth-child(3) { transition-delay: .16s; }

/* ---------- Chapters ---------- */
.ch { position: relative; padding-block: 64px; }
.ch-light { background: var(--warm); color: var(--ink); border-radius: var(--radius-ch); margin-inline: 8px; }
.ch-light + .ch-light { margin-top: 8px; }
.ch-dark { background: var(--g950); }
.ch-raised { background: var(--g900); border-radius: var(--radius-ch); margin-inline: 8px; }
.eyebrow { display: block; font-size: .8rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; color: var(--fg-3); margin-bottom: 14px; }
.on-light .eyebrow { color: var(--ink-3); }
.h2 { font-size: var(--t-h2); }
.lead { font-size: var(--t-lead); line-height: 1.5; color: var(--fg-2); max-width: 38ch; }
.on-light .lead { color: var(--ink-2); }
.body-copy { color: var(--fg-2); max-width: 60ch; }
.on-light .body-copy { color: var(--ink-2); }
.stack-s > * + * { margin-top: 12px; }
.stack-m > * + * { margin-top: 20px; }
.stack-l > * + * { margin-top: 32px; }
@media (min-width: 960px) {
  .ch { padding-block: 112px; }
  .ch-light, .ch-raised { margin-inline: 16px; }
  .ch-light + .ch-light { margin-top: 16px; }
}

/* ---------- Hero ---------- */
.hero { padding-block: 40px 56px; overflow: hidden; }
.hero-grid { display: grid; gap: 40px; }
.hero h1 { font-size: var(--t-hero); line-height: 1.02; letter-spacing: -.02em; }
.hero h1 .accent { color: var(--signal); }
.hero .lead { max-width: 34ch; }
.hero-lines { margin-top: 28px; max-width: 520px; }
@media (min-width: 960px) {
  .hero { padding-block: 88px 112px; }
  .hero-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: center; gap: 56px; }
}

/* ---------- Product compositions (real PVURA states and labels) ---------- */
.ui { position: relative; background: var(--g900); border: 1px solid var(--hair-dark); border-radius: 18px; color: var(--fg); box-shadow: 0 24px 60px rgba(0, 0, 0, .35); overflow: hidden; }
.ui-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--hair-dark); font-size: .8rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; color: var(--fg-3); }
.ui-head .org { display: inline-flex; align-items: center; gap: 8px; text-transform: none; letter-spacing: 0; font-weight: 700; color: var(--fg-2); font-size: .85rem; }
.ui-head .org i { width: 8px; height: 8px; border-radius: 2px; background: var(--sec, var(--signal)); display: inline-block; }
.ui-body { padding: 18px 16px 16px; }
.ready-fig { display: flex; align-items: baseline; gap: 10px; }
.ready-fig b { font-size: 3.4rem; line-height: 1; font-weight: 900; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.ready-fig span { color: var(--fg-3); font-weight: 700; font-size: 1.15rem; }
.ready-cap { margin-top: 4px; color: var(--fg-2); font-size: .95rem; }
.ready-cap strong { color: var(--fg); }
.statebar { display: flex; gap: 3px; height: 8px; margin-top: 16px; }
.statebar span { border-radius: 2px; }
.statebar .s-ok { background: var(--ok); opacity: .9; }
.statebar .s-attn { background: var(--attn); }
.statebar .s-block { background: var(--block); }
.qlist { list-style: none; margin: 16px 0 0; padding: 0; border-top: 1px solid var(--hair-dark); }
.qlist li { display: grid; grid-template-columns: 8.4em minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--hair-dark); font-size: .92rem; }
.qlist li:last-child { border-bottom: 0; }
.qlist .obj { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.qlist .obj small { display: block; color: var(--fg-3); font-weight: 400; font-size: .82rem; }
.qlist .when { color: var(--fg-3); font-size: .82rem; white-space: nowrap; }
.st { display: inline-flex; align-items: center; gap: 7px; font-size: .78rem; font-weight: 900; white-space: nowrap; }
.st::before { content: ""; width: 9px; height: 9px; background: currentColor; flex-shrink: 0; }
.st-ok { color: var(--ok); } .st-ok::before { border-radius: 50%; }
.st-attn { color: var(--attn); } .st-attn::before { border-radius: 2px; }
.st-block { color: var(--block); } .st-block::before { border-radius: 1px; transform: rotate(45deg) scale(.85); }
.ui-foot { display: flex; gap: 8px; flex-wrap: wrap; padding: 0 16px 16px; }
.ui-chip { font-size: .78rem; font-weight: 700; color: var(--fg-2); background: var(--g800); border: 1px solid var(--hair-dark); border-radius: 8px; padding: 6px 10px; }
.ui-caption { margin-top: 12px; font-size: .85rem; color: var(--fg-3); }
.on-light .ui-caption { color: var(--ink-3); }
.hero-visual { position: relative; }
.hero-visual .ui { max-width: 520px; margin-inline: auto; }
.hero-objs { display: none; }
@media (min-width: 960px) {
  .hero-visual .ui { margin-inline: 0 auto; }
  .ready-fig b { font-size: 4.2rem; }
  .hero-objs { display: flex; gap: 10px; margin-top: 14px; }
}

/* Phone (PVURA Operative) composition */
.phone { color: var(--fg); width: min(300px, 82vw); margin-inline: auto; background: #050607; border-radius: 40px; padding: 10px; box-shadow: 0 24px 60px rgba(0, 0, 0, .4), inset 0 0 0 1.5px #2a2f35; }
.phone-scr { background: var(--g950); border-radius: 31px; overflow: hidden; min-height: 540px; display: flex; flex-direction: column; }
.phone-bar { height: 34px; display: flex; align-items: center; justify-content: center; }
.phone-bar::before { content: ""; width: 86px; height: 22px; border-radius: 12px; background: #050607; }
.phone-top { display: flex; align-items: center; gap: 10px; padding: 8px 18px 12px; font-weight: 900; font-size: 1.05rem; }
.phone-top .back { color: var(--fg-3); font-weight: 700; font-size: .95rem; }
.phone-body { padding: 4px 18px 18px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.p-card { background: var(--g900); border: 1px solid var(--hair-dark); border-radius: 16px; padding: 14px; }
.p-card h4, .p-card .p-name { margin: 4px 0 2px; font-size: 1.15rem; font-weight: 900; color: var(--fg); }
.p-card .meta { color: var(--fg-3); font-size: .85rem; }
.p-row { display: flex; justify-content: space-between; gap: 10px; font-size: .88rem; padding: 8px 0; border-top: 1px solid var(--hair-dark); }
.p-row:first-of-type { border-top: 0; }
.p-row span:first-child { color: var(--fg-3); }
.p-btn { display: flex; align-items: center; justify-content: center; min-height: 50px; border-radius: 14px; font-weight: 900; font-size: 1rem; }
.p-btn.primary { background: #FF6B55; color: #101214; } /* the app's real primary button (Operative colors.coral) */
.p-btn.ghost { border: 1.5px solid var(--hair-dark); color: var(--fg); }
.p-scan { aspect-ratio: 1 / 1; border-radius: 16px; background: radial-gradient(circle at 50% 50%, #1d242a 0, #0f1316 70%); position: relative; display: grid; place-items: center; }
.p-scan::before { content: ""; position: absolute; inset: 22%; border: 3px solid rgba(244, 241, 234, .85); border-radius: 18px; -webkit-mask: linear-gradient(#000 0 0) top left / 28% 28% no-repeat, linear-gradient(#000 0 0) top right / 28% 28% no-repeat, linear-gradient(#000 0 0) bottom left / 28% 28% no-repeat, linear-gradient(#000 0 0) bottom right / 28% 28% no-repeat; mask: linear-gradient(#000 0 0) top left / 28% 28% no-repeat, linear-gradient(#000 0 0) top right / 28% 28% no-repeat, linear-gradient(#000 0 0) bottom left / 28% 28% no-repeat, linear-gradient(#000 0 0) bottom right / 28% 28% no-repeat; }
.p-scan svg { width: 38%; opacity: .9; }

/* ---------- Loop (chapter 2) ---------- */
.problem { display: grid; gap: 28px; }
.problem .big { font-size: var(--t-h2); font-weight: 900; line-height: 1.08; letter-spacing: -.012em; }
.problem .big span { display: block; }
.turn { font-size: var(--t-h3); font-weight: 900; line-height: 1.2; max-width: 24ch; }
.loop { list-style: none; margin: 40px 0 0; padding: 0; position: relative; display: grid; gap: 0; counter-reset: none; }
.loop::before { content: ""; position: absolute; left: 13px; top: 14px; bottom: 14px; width: 4px; border-radius: 2px; background: linear-gradient(180deg, var(--line-1), var(--line-2) 45%, var(--line-3) 75%, var(--line-4)); }
.loop li { position: relative; padding: 0 0 26px 52px; }
.loop li:last-child { padding-bottom: 0; }
.loop .node { position: absolute; left: 3px; top: 2px; width: 24px; height: 24px; border-radius: 50%; background: var(--warm); border: 4px solid var(--signal-ink); }
.loop h3 { font-size: 1.3rem; }
.loop p { margin-top: 4px; color: var(--ink-2); max-width: 34ch; }
@media (min-width: 960px) {
  .problem { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; gap: 56px; }
  .loop { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; margin-top: 72px; }
  .loop::before { left: 14px; right: 14px; top: 11px; bottom: auto; width: auto; height: 4px; background: linear-gradient(90deg, var(--line-0), var(--line-1) 25%, var(--line-2) 50%, var(--line-3) 75%, var(--line-4)); }
  .loop li { padding: 48px 0 0; }
  .loop .node { left: 0; top: 1px; }
}
html.motion .loop.reveal-nodes .node { transform: scale(.6); transition: transform .35s var(--ease); }
html.motion .loop.reveal-nodes.is-in .node { transform: none; }
html.motion .loop.reveal-nodes.is-in li:nth-child(2) .node { transition-delay: .1s; }
html.motion .loop.reveal-nodes.is-in li:nth-child(3) .node { transition-delay: .2s; }
html.motion .loop.reveal-nodes.is-in li:nth-child(4) .node { transition-delay: .3s; }

/* ---------- Two surfaces (chapter 3) ---------- */
.surface { display: grid; gap: 28px; }
.surface + .surface { margin-top: 64px; }
.surface .tag { display: inline-flex; align-items: center; gap: 8px; font-weight: 900; font-size: .95rem; color: var(--signal); }
.surface h3 { font-size: var(--t-h3); }
.surface ul.facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.surface ul.facts li { position: relative; padding-left: 24px; color: var(--fg-2); }
.surface ul.facts li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 10px; height: 3px; border-radius: 2px; background: var(--signal); }
.shot { border-radius: 16px; overflow: hidden; border: 1px solid var(--hair-dark); box-shadow: 0 24px 60px rgba(0, 0, 0, .35); background: var(--g900); }
.shot img { width: 100%; height: auto; }
@media (min-width: 960px) {
  .surface { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); align-items: center; gap: 56px; }
  .surface.flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .surface.flip .surface-copy { order: 2; }
  .surface + .surface { margin-top: 112px; }
}

/* ---------- Sector index (homepage) ---------- */
.sec-index { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 10px; }
.sec-card { --c: var(--signal); position: relative; display: grid; gap: 6px; padding: 22px 22px 22px 26px; min-height: 100%; border-radius: 16px; background: var(--g950); border: 1px solid var(--hair-dark); color: var(--fg); text-decoration: none; overflow: hidden; transition: border-color .2s var(--ease), transform .2s var(--ease); }
.sec-card::before { content: ""; position: absolute; left: 0; top: 18px; bottom: 18px; width: 4px; border-radius: 0 3px 3px 0; background: var(--c); }
.sec-card b { font-size: 1.25rem; font-weight: 900; }
.sec-card .place { font-size: .8rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; color: var(--fg-3); }
.sec-card span:not(.place) { color: var(--fg-2); }
.sec-card .arrow { position: absolute; right: 18px; top: 22px; width: 18px; height: 18px; color: var(--fg-3); transition: transform .2s var(--ease), color .2s var(--ease); }
.sec-card:hover, .sec-card:focus-visible { border-color: color-mix(in srgb, var(--c) 60%, transparent); }
.sec-card:hover .arrow, .sec-card:focus-visible .arrow { transform: translateX(4px); color: var(--c); }
@media (min-width: 760px) { .sec-index { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .sec-index { grid-template-columns: repeat(5, minmax(0, 1fr)); } .sec-card { padding-top: 26px; } }

/* ---------- Import + trust (chapter 5) ---------- */
.import-grid { display: grid; gap: 40px; }
.imp { background: var(--paper); border: 1px solid var(--hair-light); border-radius: 18px; padding: 18px; color: var(--ink); box-shadow: 0 18px 40px rgba(11, 14, 17, .08); }
.imp-file { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--hair-light); }
.imp-file .xl { width: 38px; height: 38px; border-radius: 9px; background: #1F7A4D; color: #fff; display: grid; place-items: center; font-weight: 900; font-size: .8rem; }
.imp-file b { display: block; }
.imp-file small { color: var(--ink-3); }
.imp-rows { list-style: none; margin: 0; padding: 6px 0; }
.imp-rows li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--hair-light); font-size: .95rem; }
.imp-rows li:last-child { border-bottom: 0; }
.imp-rows b { font-variant-numeric: tabular-nums; }
.imp-rows .warn { color: #8A6100; }
.imp-btn { margin-top: 10px; display: flex; align-items: center; justify-content: center; text-align: center; padding: 10px 14px; min-height: 50px; border-radius: 12px; background: var(--ink); color: var(--warm); font-weight: 900; }
.trust { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--hair-light); }
.trust li { padding: 18px 0; border-bottom: 1px solid var(--hair-light); }
.trust h3 { font-size: 1.2rem; }
.trust p { margin-top: 4px; color: var(--ink-2); max-width: 46ch; }
.trust-block { margin-top: 56px; display: grid; gap: 22px; }
@media (min-width: 960px) {
  .import-grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); align-items: center; gap: 72px; }
  .trust-block { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); margin-top: 104px; gap: 56px; }
}

/* ---------- Final CTA + footer ---------- */
.final { padding-block: 80px 48px; }
.final h2 { font-size: var(--t-h2); max-width: 16ch; }
.final-lines { margin-top: 36px; }
@media (min-width: 960px) { .final { padding-block: 128px 72px; } }
.ft { border-top: 1px solid var(--hair-dark); padding-block: 48px 40px; color: var(--fg-2); font-size: .95rem; }
.ft-grid { display: grid; gap: 32px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ft-brand { grid-column: 1 / -1; }
.ft-brand img { width: 120px; }
.ft-brand p { margin-top: 12px; max-width: 34ch; color: var(--fg-3); }
.ft h2 { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--fg-3); margin-bottom: 12px; }
.ft ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.ft a { text-decoration: none; display: inline-block; padding: 6px 0; }
.ft a:hover { color: var(--fg); }
.ft-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--hair-dark); display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; color: var(--fg-3); font-size: .88rem; }
.ft-legal { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.ft-legal a { padding: 6px 0; text-decoration: none; }
.ft-legal a:hover { color: var(--fg); }
.ft-bottom button { background: none; border: 0; padding: 6px 0; font: inherit; color: inherit; cursor: pointer; text-decoration: underline; }
@media (min-width: 760px) { .ft-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .ft-grid { grid-template-columns: 1.6fr repeat(4, minmax(0, 1fr)); } .ft-brand { grid-column: auto; } }

/* ---------- Inner pages ---------- */
.page-head { padding-block: 40px 48px; }
.page-head h1 { font-size: clamp(2.2rem, 1.5rem + 3.2vw, 4rem); line-height: 1.04; letter-spacing: -.018em; max-width: 18ch; }
.page-head .lead { margin-top: 18px; max-width: 44ch; }
@media (min-width: 960px) { .page-head { padding-block: 80px 72px; } }
.crumbs { font-size: .88rem; color: var(--fg-3); margin-bottom: 18px; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .6; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--fg); }

/* Prose (pillar page, legal) */
.prose { max-width: 70ch; color: var(--ink-2); font-size: 1.0625rem; }
.prose h2 { font-size: clamp(1.5rem, 1.25rem + 1vw, 2rem); color: var(--ink); margin: 48px 0 12px; }
.prose h3 { font-size: 1.2rem; color: var(--ink); margin: 28px 0 8px; }
.prose p + p, .prose p + ul, .prose ul + p, .prose ol + p, .prose p + ol { margin-top: 14px; }
.prose ul, .prose ol { padding-left: 1.25em; margin: 14px 0 0; }
.prose li + li { margin-top: 6px; }
.prose strong { color: var(--ink); }
.prose a { color: var(--signal-ink); }
.prose .answer { font-size: var(--t-lead); line-height: 1.5; color: var(--ink); border-left: 4px solid var(--signal-ink); padding-left: 18px; margin-bottom: 8px; }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; margin-top: 14px; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--hair-light); vertical-align: top; }
.prose th { color: var(--ink); font-weight: 900; }
.tbl-scroll { overflow-x: auto; }
.toc { border: 1px solid var(--hair-light); border-radius: var(--radius); padding: 16px 18px; margin: 28px 0 8px; background: var(--paper); }
.toc h2 { font-size: .8rem !important; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3) !important; margin: 0 0 8px !important; }
.toc ol { margin: 0; padding-left: 1.2em; }
.toc a { color: var(--ink); text-decoration: none; }
.toc a:hover { color: var(--signal-ink); }

/* Legal pages (existing markup) */
.section { padding-block: 40px 96px; }
.wrap-narrow { max-width: calc(760px + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.display-1 { font-size: clamp(2rem, 1.5rem + 2.4vw, 3.2rem); line-height: 1.06; }
.legal-draft-flag { display: inline-block; margin-bottom: 18px; font-size: .8rem; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; color: var(--attn); border: 1px solid currentColor; border-radius: 8px; padding: 4px 10px; }
.legal-body { color: var(--fg-2); }
.legal-body h2 { font-size: 1.35rem; color: var(--fg); margin: 36px 0 10px; }
.legal-body h3 { font-size: 1.1rem; color: var(--fg); margin: 22px 0 8px; }
.legal-body p + p, .legal-body ul { margin-top: 12px; }
.legal-body ul { padding-left: 1.2em; }
.legal-body a { color: var(--line-1); }
.legal-note { margin-top: 28px; padding: 14px 16px; border: 1px solid var(--hair-dark); border-radius: 12px; color: var(--fg-3); font-size: .95rem; }
.legal-body button { font: inherit; }

/* Pricing */
.tiers { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.tier { background: var(--paper); border: 1px solid var(--hair-light); border-radius: 18px; padding: 22px; color: var(--ink); display: grid; gap: 6px; }
.tier .vol { font-weight: 900; font-size: 1.05rem; }
.tier .vol small { display: block; font-weight: 700; color: var(--ink-3); font-size: .85rem; letter-spacing: .02em; }
.tier .price { font-size: 2.6rem; font-weight: 900; letter-spacing: -.02em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.tier .price span { font-size: 1rem; font-weight: 700; color: var(--ink-3); letter-spacing: 0; }
.tier.ent { background: transparent; border-style: dashed; }
.tier.ent .price { font-size: 1.7rem; }
.incl { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.incl li { position: relative; padding-left: 28px; color: var(--ink-2); }
.incl li::before { content: ""; position: absolute; left: 2px; top: .38em; width: 14px; height: 8px; border-left: 3px solid var(--signal-ink); border-bottom: 3px solid var(--signal-ink); transform: rotate(-45deg); }
.price-note { color: var(--ink-3); font-size: .92rem; }
@media (min-width: 760px) { .tiers { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .tiers { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.split { display: grid; gap: 32px; }
@media (min-width: 960px) { .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: start; } }

/* Forms */
.form { display: grid; gap: 16px; max-width: 560px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 700; font-size: .95rem; }
.field input, .field textarea { font: 400 1.0625rem/1.4 var(--font); color: var(--ink); background: #fff; border: 1.5px solid rgba(11, 14, 17, .2); border-radius: 12px; padding: 13px 14px; min-height: 52px; width: 100%; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--signal-ink); outline-offset: 1px; border-color: transparent; }
.field textarea { min-height: 120px; resize: vertical; }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-status { min-height: 1.4em; font-weight: 700; }
.form-status.ok { color: #17804E; }
.form-status.err { color: #B3261E; }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.contact-list b { display: block; color: var(--ink); }
.contact-list a { color: var(--signal-ink); font-weight: 700; text-decoration: none; }

/* Cookie consent */
.cookie-consent { position: fixed; left: 8px; right: 8px; bottom: 8px; z-index: 80; background: var(--g900); border: 1px solid var(--hair-dark); border-radius: 16px; box-shadow: 0 18px 50px rgba(0, 0, 0, .5); padding: 16px; padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px)); }
.cookie-consent-inner { display: grid; gap: 14px; max-width: var(--wrap); margin-inline: auto; }
.cookie-consent p { color: var(--fg-2); font-size: .95rem; }
.cookie-consent a { color: var(--fg); }
.cookie-consent-actions { display: flex; gap: 10px; }
.cookie-consent-actions .btn { flex: 1; min-height: 48px; }
@media (min-width: 760px) { .cookie-consent { left: auto; right: 16px; bottom: 16px; max-width: 560px; } }

/* 404 */
.nf { padding-block: 72px 112px; }

/* ================= Website V3 components ================= */

/* Header dropdowns (<details>, work without JS) */
.dd { position: relative; }
.dd > summary { list-style: none; display: inline-flex; align-items: center; gap: 6px; cursor: pointer; color: var(--fg-2); font-weight: 700; font-size: .95rem; padding: 10px 4px; border-radius: 8px; }
.dd > summary::-webkit-details-marker { display: none; }
.dd > summary:hover, .dd[open] > summary, .dd > summary[data-current] { color: var(--fg); }
.dd-caret { width: 12px; height: 12px; transition: transform .2s var(--ease); }
.dd[open] .dd-caret { transform: rotate(180deg); }
.dd-panel { position: absolute; top: calc(100% + 12px); left: -18px; z-index: 60; min-width: 240px; padding: 10px; background: var(--g900); border: 1px solid var(--hair-dark); border-radius: 16px; box-shadow: 0 24px 60px rgba(0, 0, 0, .5); }
.dd-wide { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 8px; width: 620px; }
.dd ul { list-style: none; margin: 0; padding: 0; }
.dd-main a { display: grid; gap: 2px; padding: 11px 12px; border-radius: 10px; text-decoration: none; color: var(--fg); }
.dd-main a b { display: inline-flex; align-items: center; gap: 10px; font-size: .98rem; }
.dd-main a span { color: var(--fg-3); font-size: .86rem; line-height: 1.4; }
.dd-main a:hover, .dd-main a:focus-visible, .dd-main a[aria-current="page"] { background: var(--g800); }
.dd-sectors b i { width: 10px; height: 10px; border-radius: 3px; background: var(--c); display: inline-block; }
.dd-side { background: var(--g950); border-radius: 12px; padding: 14px 14px 10px; }
.dd-label, .m-label { font-size: .75rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; color: var(--fg-3); margin: 0 0 6px; }
.dd-side a { display: block; padding: 8px 0; color: var(--fg-2); text-decoration: none; font-weight: 700; font-size: .95rem; }
.dd-side a:hover, .dd-side a[aria-current="page"] { color: var(--fg); }

/* Mobile sheet groups */
.mmenu-panel .m-label { margin: 22px 0 2px; }
.mmenu-panel .m-label:first-child { margin-top: 8px; }
.m-list { list-style: none; margin: 0; padding: 0; }
.mmenu-panel .m-list a.mlink { font-size: 1.2rem; min-height: 52px; }
.mmenu-panel a.mlink .arrow { width: 20px; height: 20px; flex-shrink: 0; color: var(--fg-3); }
.arrow { width: 18px; height: 18px; }
.m-chips { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.m-chips a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1.5px solid rgba(244, 241, 234, .2); color: var(--fg); text-decoration: none; font-weight: 700; }
.m-chips a i { width: 9px; height: 9px; border-radius: 3px; background: var(--c); display: inline-block; }
.m-chips a[aria-current="page"] { border-color: var(--fg); }

/* Review banner (preview builds only) */
.review-banner { background: #3A2A06; color: #FFE2A3; border-bottom: 1px solid rgba(245, 185, 66, .4); padding: 12px 0; font-size: .95rem; }

/* Sector accent: --sec/--sec-b set on the page wrapper; colour stays a line, never a surface */
.sec-mark { display: inline-flex; align-items: center; gap: 10px; font-size: .8rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; color: var(--fg-2); margin-bottom: 16px; }
.sec-mark::before { content: ""; width: 28px; height: 4px; border-radius: 2px; background: var(--sec-b, var(--signal)); }
.page-head .hero-lines { margin-top: 32px; max-width: 520px; }

/* Real product screenshots */
.pshot { margin: 0; }
.pshot-frame { border-radius: 14px; overflow: hidden; border: 1px solid var(--hair-dark); background: var(--g900); box-shadow: 0 30px 80px rgba(0, 0, 0, .45); }
.pshot-frame img { display: block; width: 100%; height: auto; }
.on-light .pshot-frame { border-color: var(--hair-light); box-shadow: 0 24px 60px rgba(11, 14, 17, .18); }
.on-light .ui-caption { color: var(--ink-3); }
.pshot-phone { max-width: 360px; margin-inline: auto; }
.pshot-phone .pshot-frame { border-radius: 28px; border: 6px solid var(--g700); }
.shot-wide { margin-top: 48px; }
@media (min-width: 960px) { .shot-wide { margin-top: 64px; } }

/* Two-column feature row */
.feat { display: grid; gap: 28px; }
.feat + .feat { margin-top: 72px; }
.feat h3 { font-size: var(--t-h3); }
@media (min-width: 960px) {
  .feat { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: center; }
  .feat.flip .feat-copy { order: 2; }
  .feat.flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .feat + .feat { margin-top: 112px; }
}

/* Workflow strip */
.wf { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 12px; }
.wf li { position: relative; padding: 20px 20px 20px 64px; border-radius: 16px; background: var(--g900); border: 1px solid var(--hair-dark); }
.on-light .wf li { background: var(--paper); border-color: var(--hair-light); }
.wf-n { position: absolute; left: 18px; top: 18px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-weight: 900; font-size: .9rem; background: var(--fg); color: var(--ink); }
.on-light .wf-n { background: var(--ink); color: var(--warm); }
.wf h3 { font-size: 1.1rem; }
.wf p { margin-top: 4px; color: var(--fg-2); font-size: .97rem; }
.on-light .wf p { color: var(--ink-2); }
@media (min-width: 960px) { .wf { grid-template-columns: repeat(4, minmax(0, 1fr)); } .wf li { padding: 64px 20px 22px; } .wf-n { top: 20px; left: 20px; } }

/* Fact grid (terminology, capabilities) */
.facts-grid { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 1px; background: var(--hair-dark); border: 1px solid var(--hair-dark); border-radius: 16px; overflow: hidden; }
.facts-grid li { background: var(--g950); padding: 20px; }
.ch-raised .facts-grid li { background: var(--g900); }
.on-light .facts-grid { background: var(--hair-light); border-color: var(--hair-light); }
.on-light .facts-grid li { background: var(--paper); }
.facts-grid .k { display: block; font-size: .78rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; color: var(--fg-3); }
.on-light .facts-grid .k { color: var(--ink-3); }
.facts-grid b { display: block; margin-top: 6px; font-size: 1.15rem; }
.facts-grid p { margin-top: 6px; color: var(--fg-2); font-size: .95rem; }
.on-light .facts-grid p { color: var(--ink-2); }
@media (min-width: 760px) { .facts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .facts-grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .facts-grid.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Context panel callout (sector pages) */
.ctx { border-left: 4px solid var(--sec-b, var(--signal)); padding: 4px 0 4px 20px; }
.ctx .k { font-size: .78rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; color: var(--fg-3); }
.ctx h3 { font-size: var(--t-h3); margin-top: 6px; }
.ctx p { margin-top: 8px; color: var(--fg-2); max-width: 52ch; }

/* Q&A */
.qa { margin: 32px 0 0; border-top: 1px solid var(--hair-light); }
.qa details { border-bottom: 1px solid var(--hair-light); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; padding: 20px 0; font-weight: 900; font-size: 1.1rem; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--ink-3); }
.qa details[open] summary::after { content: "–"; }
.qa .a { padding: 0 0 22px; color: var(--ink-2); max-width: 68ch; }
.qa .a p + p { margin-top: 10px; }

.qa-dark { border-top-color: var(--hair-dark); }
.qa-dark details { border-bottom-color: var(--hair-dark); }
.qa-dark summary::after { color: var(--fg-3); }
.qa-dark .a { color: var(--fg-2); }
.qa-dark .a a { color: var(--fg); }

/* Related cards */
.rel { padding-block: 56px; }
.h3-title { font-size: var(--t-h3); }
.cards { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 10px; }
.card { position: relative; display: grid; gap: 6px; height: 100%; padding: 22px 52px 22px 22px; border-radius: 16px; background: var(--g900); border: 1px solid var(--hair-dark); color: var(--fg); text-decoration: none; transition: border-color .2s var(--ease); }
.card:hover, .card:focus-visible { border-color: rgba(244, 241, 234, .35); }
.card-k { font-size: .75rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; color: var(--fg-3); }
.card b { font-size: 1.12rem; }
.card span:last-of-type { color: var(--fg-2); font-size: .95rem; }
.card .arrow { position: absolute; right: 20px; top: 24px; width: 18px; height: 18px; color: var(--fg-3); transition: transform .2s var(--ease); }
.card:hover .arrow { transform: translateX(4px); color: var(--fg); }
@media (min-width: 760px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Guide layout */
.guide { display: grid; gap: 40px; }
.guide > * { min-width: 0; }
.prose { overflow-wrap: break-word; }
.guide-meta { color: var(--ink-3); font-size: .92rem; }
.sources { margin-top: 40px; padding: 20px 22px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--hair-light); font-size: .95rem; }
.sources h2 { font-size: 1.1rem !important; margin: 0 0 8px !important; }
.sources ol { margin: 0; padding-left: 1.2em; }
.sources li + li { margin-top: 6px; }
.dl-box { display: grid; gap: 14px; padding: 22px; border-radius: 18px; background: var(--ink); color: var(--fg); }
.dl-box .btn { justify-self: start; }
.dl-box p { color: var(--fg-2); font-size: .95rem; }
@media (min-width: 1100px) { .guide { grid-template-columns: minmax(0, 1fr) 300px; gap: 72px; align-items: start; } .guide-aside { position: sticky; top: 96px; } }

/* Product tour */
.tour { margin-top: 8px; }
.tour-steps { list-style: none; margin: 0; padding: 0; }
.tour-step { display: grid; gap: 24px; padding-block: 40px; border-top: 1px solid var(--hair-dark); }
.tour-step:first-child { border-top: 0; padding-top: 0; }
.tour-copy .k { font-size: .8rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; color: var(--signal); }
.tour-copy h2 { font-size: var(--t-h3); margin-top: 8px; }
.tour-copy p { margin-top: 10px; color: var(--fg-2); max-width: 48ch; }
.tour-copy ul { margin: 12px 0 0; padding-left: 1.1em; color: var(--fg-2); }
.tour-copy li + li { margin-top: 4px; }
.tour-nav { display: none; }
html.js .tour.is-ready .tour-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 24px; }
html.js .tour.is-ready .tour-step { border-top: 0; padding-block: 0; }
html.js .tour.is-ready .tour-step[hidden] { display: none; }
.tour-dots { display: flex; gap: 6px; margin-right: auto; flex-wrap: wrap; }
@media (max-width: 599px) {
  html.js .tour.is-ready .tour-dots { flex-basis: 100%; margin-right: 0; }
  html.js .tour.is-ready [data-tour-prev], html.js .tour.is-ready [data-tour-next] { flex: 1; }
}
.tour-dots button { min-width: 44px; min-height: 44px; padding: 0 12px; border-radius: 999px; border: 1.5px solid rgba(244, 241, 234, .2); background: transparent; color: var(--fg-2); font: 700 .9rem/1 var(--font); cursor: pointer; }
.tour-dots button[aria-current="step"] { background: var(--fg); color: var(--ink); border-color: var(--fg); }
.tour-progress { height: 4px; border-radius: 2px; background: var(--g700); margin-bottom: 28px; overflow: hidden; display: none; }
html.js .tour.is-ready .tour-progress { display: block; }
.tour-progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--line-1), var(--line-2), var(--line-4)); transition: width .3s var(--ease); }
.sector-switch { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.sector-switch button { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1.5px solid rgba(244, 241, 234, .2); background: transparent; color: var(--fg); font: 700 .92rem/1 var(--font); cursor: pointer; }
.sector-switch button i { width: 9px; height: 9px; border-radius: 3px; background: var(--c); display: inline-block; }
.sector-switch button[aria-pressed="true"] { border-color: var(--fg); background: rgba(244, 241, 234, .08); }
@media (min-width: 960px) { .tour-step { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 56px; align-items: start; } }

.incl-dark li { color: var(--fg-2); }
.incl-dark li::before { border-color: var(--sec-b, var(--signal)); }

.trust-mini { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.trust-mini li { font-size: .9rem; font-weight: 700; color: var(--ink-2); background: var(--paper); border: 1px solid var(--hair-light); border-radius: 999px; padding: 8px 14px; }

/* Simple data table on dark */
.dtable { width: 100%; border-collapse: collapse; margin-top: 24px; font-size: .97rem; }
.dtable th, .dtable td { text-align: left; padding: 12px 14px 12px 0; border-bottom: 1px solid var(--hair-dark); vertical-align: top; }
.dtable th { color: var(--fg-3); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.dtable td { color: var(--fg-2); }
.dtable td:first-child { color: var(--fg); font-weight: 700; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
html:not(.js) .js-only { display: none !important; }
/* Review flags (preview builds of review=True pages only) */
.rv { font-size: .7rem; font-weight: 900; color: #8A6100; background: #FFF1CC; border-radius: 4px; padding: 0 4px; margin-left: 3px; }
.review-list { border-color: rgba(138, 97, 0, .4); background: #FFF8E6; }


/* ================= Sector themes (Website V3.1) =================
   One PVURA site, five sector accents. Values are PVURA Control's own
   sector action colours (ppe-tracker/static/css/pvura-control.css,
   [data-brand="sector"]) - WCAG-checked there; test_seo.py re-checks.
   Set on <body data-sector=...> by the sector pages only; every other page
   keeps PVURA Signal. */
[data-sector="industry"]    { --accent: #8FB3D3; --cta-bg: #8FB3D3; --cta-fg: #101214; --cta-hover: #D5E1EC; --cta-press: #D5E1EC; --sec: #3E5C76; --sec-b: #8FB3D3; }
[data-sector="energy"]      { --accent: #8BD450; --cta-bg: #2E9B3E; --cta-fg: #0B1F0F; --cta-hover: #8BD450; --cta-press: #8BD450; --sec: #2E9B3E; --sec-b: #8BD450; }
[data-sector="offshore"]    { --accent: #FF7D2E; --cta-bg: #E8590C; --cta-fg: #101214; --cta-hover: #FF7D2E; --cta-press: #FF7D2E; --sec: #E8590C; --sec-b: #FF7D2E; }
[data-sector="maritime"]    { --accent: #3D9BFF; --cta-bg: #0B6BDE; --cta-fg: #FFFFFF; --cta-hover: #0A52A8; --cta-press: #0A2540; --sec: #0B6BDE; --sec-b: #3D9BFF; }
[data-sector="fire_rescue"] { --accent: #E32219; --cta-bg: #D0101B; --cta-fg: #FFFFFF; --cta-hover: #E32219; --cta-press: #A50F15; --sec: #D0101B; --sec-b: #E32219; }
[data-sector] .tlink:hover, [data-sector] .tlink:focus-visible { border-bottom-color: var(--accent); }
[data-sector] .hd-nav .dd > summary[data-current] { box-shadow: inset 0 -2px 0 var(--accent); }
[data-sector] .dd-main a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--accent); }
[data-sector] .m-chips a[aria-current="page"] { border-color: var(--accent); }
[data-sector] .qa summary::after { color: var(--sec, var(--ink-3)); }
[data-sector] .ctx { border-left-color: var(--accent); }
[data-sector] .final-lines { opacity: .9; }

/* Cinematic sector hero: photo, scrim, text over the image, the product
   screenshot rising into the hero below. */
.s-hero { position: relative; isolation: isolate; overflow: hidden; display: grid; align-items: end; min-height: clamp(560px, 84svh, 860px); background: var(--g950); }
.s-hero-media, .s-hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.s-hero-media { z-index: -2; }
.s-hero-media img { object-fit: cover; object-position: center 40%; }
.s-hero::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(11, 14, 17, .62) 0%, rgba(11, 14, 17, .10) 26%, rgba(11, 14, 17, .30) 52%, rgba(11, 14, 17, .88) 82%, var(--g950) 100%),
    linear-gradient(90deg, rgba(11, 14, 17, .78) 0%, rgba(11, 14, 17, .38) 46%, rgba(11, 14, 17, 0) 72%); }
.s-hero-content { position: relative; padding-block: 120px 132px; }
.s-hero .crumbs { color: rgba(244, 241, 234, .78); }
.s-hero h1 { font-size: clamp(2.5rem, 1.4rem + 4.4vw, 4.8rem); line-height: 1.02; letter-spacing: -.022em; max-width: 15ch; text-wrap: balance; text-shadow: 0 2px 24px rgba(0, 0, 0, .35); }
.s-hero .lead { margin-top: 18px; max-width: 40ch; color: rgba(244, 241, 234, .9); }
.s-hero .sec-mark { color: var(--fg); }
.s-hero .cta-row { margin-top: 30px; }
.s-hero .hero-lines { margin-top: 34px; max-width: 420px; }
.s-hero-shot { position: relative; z-index: 2; margin-top: -96px; padding-bottom: 8px; }
@media (min-width: 960px) {
  .s-hero-content { padding-block: 160px 176px; }
  .s-hero-shot { margin-top: -136px; }
}
@media (max-width: 699px) {
  .s-hero { min-height: 86svh; }
  .s-hero-media img { object-position: center top; }
  .s-hero::after { background: linear-gradient(180deg, rgba(11, 14, 17, .55) 0%, rgba(11, 14, 17, .05) 28%, rgba(11, 14, 17, .55) 58%, rgba(11, 14, 17, .94) 82%, var(--g950) 100%); }
  .s-hero-content { padding-block: 96px 92px; }
  .s-hero-shot { margin-top: -56px; }
}

/* Homepage sector mosaic: five photos, one per sector. */
.mosaic { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 10px; }
.tile { --c: var(--signal); position: relative; display: block; overflow: hidden; border-radius: 18px; min-height: 220px; color: var(--fg); text-decoration: none; isolation: isolate; background: var(--g900); }
.tile picture, .tile img { position: absolute; inset: 0; width: 100%; height: 100%; }
.tile img { object-fit: cover; transition: transform .6s var(--ease); z-index: -2; }
.tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11, 14, 17, 0) 30%, rgba(11, 14, 17, .86) 100%); }
.tile-body { position: absolute; left: 22px; right: 22px; bottom: 20px; display: grid; gap: 6px; }
.tile-body .place { font-size: .78rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; color: rgba(244, 241, 234, .82); display: inline-flex; align-items: center; gap: 10px; }
.tile-body .place::before { content: ""; width: 22px; height: 3px; border-radius: 2px; background: var(--c); }
.tile-body b { font-size: clamp(1.3rem, 1.1rem + .6vw, 1.7rem); font-weight: 900; line-height: 1.1; }
.tile-body span:last-child { color: rgba(244, 241, 234, .82); font-size: .95rem; max-width: 34ch; }
.tile .arrow { position: absolute; right: 20px; top: 20px; width: 20px; height: 20px; color: var(--fg); opacity: .8; transition: transform .25s var(--ease); }
.tile:hover img, .tile:focus-visible img { transform: scale(1.04); }
.tile:hover .arrow, .tile:focus-visible .arrow { transform: translateX(4px); }
.tile:focus-visible { outline-color: var(--c); }
@media (min-width: 760px) {
  .mosaic { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .mosaic li:nth-child(1), .mosaic li:nth-child(2) { grid-column: span 3; }
  .mosaic li:nth-child(n+3) { grid-column: span 2; }
  .mosaic li:nth-child(-n+2) .tile { min-height: 360px; }
  .mosaic li:nth-child(n+3) .tile { min-height: 300px; }
}
@media (min-width: 1100px) { .mosaic li:nth-child(-n+2) .tile { min-height: 420px; } .mosaic li:nth-child(n+3) .tile { min-height: 320px; } }
@media (prefers-reduced-motion: reduce) { .tile img { transition: none; } .tile:hover img { transform: none; } }
