/* NPV Group Privacy & DPDP Services: site design system, v2 (DESIGN-RULES-v2.md, 25 Sep 2026)
   White everywhere, thin warm hairlines between sections, white cards with a soft shadow,
   Raleway headings with slightly negative tracking, Roboto body. Tokens named exactly as in BRIEF.md. */

/* ---------- Fonts (self-hosted, latin subset) ---------- */
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/roboto-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/roboto-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/roboto-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Raleway"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/raleway-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Raleway"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/raleway-latin-700-normal.woff2") format("woff2"); }

/* ---------- Tokens ---------- */
:root {
  --brown: #82331A;
  --orange: #F15A31;
  --amber: #FAA61A;
  --yellow: #FFD41C;
  --ink: #2E2A27;
  --body: #4A433D;
  --muted: #756D66;
  --paper: #FFFFFF;
  --warm: #FFF8F3;
  --peach: #FCEBDD;
  --line: #F0E4DA;

  /* v2: hairline between sections and around outlined elements */
  --hairline: #EEE6DF;
  --hairline-strong: #E2D6CB;

  /* derived, used for states only */
  --brown-deep: #6A2914;
  --orange-deep: #BF3C16;   /* AA-safe shade of the brand orange for button fills and link text (5.4:1 on white) */
  --orange-hover: #A83412;
  --focus: #F15A31;

  --font-head: "Raleway", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Roboto", "Helvetica Neue", Arial, sans-serif;

  /* type scale */
  --fs-h1: clamp(34px, 2.2vw + 20px, 52px);
  --fs-h2: clamp(26px, 1.2vw + 18px, 34px);
  --fs-h3: clamp(19px, 0.4vw + 16px, 21px);
  --fs-h4: 18px;
  --fs-body: 17px;
  --fs-small: 15px;
  --fs-caption: 14px;
  --lh-body: 1.6;
  --ls-h1: -1.2px;
  --ls-h2: -0.5px;
  --ls-h3: -0.2px;

  /* spacing scale */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 40px;
  --s-8: 56px;

  --container: 1200px;
  --gutter: 32px;
  --radius: 14px;
  --radius-sm: 8px;
  --measure: 64ch;
  --header-h: 72px;

  /* depth: one soft shadow for resting cards, one for hover */
  --shadow-sm: 0 0 0 1px rgba(130, 51, 26, .05), 0 1px 2px rgba(46, 42, 39, .05), 0 6px 18px rgba(46, 42, 39, .05);
  --shadow-md: 0 0 0 1px rgba(130, 51, 26, .06), 0 2px 4px rgba(46, 42, 39, .06), 0 14px 32px rgba(46, 42, 39, .09);
  --shadow-lg: 0 20px 48px rgba(46, 42, 39, .16), 0 2px 6px rgba(46, 42, 39, .06);
  --ease-out: cubic-bezier(.22, 1, .36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
html.nav-open, html.nav-open body { overflow: hidden; }
img, svg { display: block; max-width: 100%; height: auto; }
p, ul, ol, table, figure { margin: 0 0 var(--s-4); }
ul, ol { padding-left: 22px; }
:where(ul:not([class]), ol:not([class])) > li + li { margin-top: var(--s-2); }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { padding: 0; }
a { color: var(--orange-deep); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--orange-hover); }
strong { font-weight: 500; color: var(--ink); }
hr { border: 0; border-top: 1px solid var(--hairline); margin: var(--s-6) 0; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 3px; }
.skip-link { position: absolute; left: 12px; top: -60px; background: var(--brown); color: #fff; padding: 10px 14px; border-radius: 999px; z-index: 200; text-decoration: none; }
.skip-link:focus { top: 12px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Type ---------- */
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--brown); font-weight: 700; line-height: 1.15; margin: 0 0 var(--s-3); text-wrap: balance; }
h1 { font-size: var(--fs-h1); line-height: 1.1; letter-spacing: var(--ls-h1); }
h2 { font-size: var(--fs-h2); letter-spacing: var(--ls-h2); }
h3 { font-size: var(--fs-h3); font-weight: 600; line-height: 1.3; letter-spacing: var(--ls-h3); }
h4 { font-size: var(--fs-h4); font-weight: 600; line-height: 1.3; }
p { text-wrap: pretty; }
.lead { font-size: 19px; line-height: 1.55; color: var(--body); }
.small { font-size: var(--fs-small); }
.caption { font-size: var(--fs-caption); color: var(--muted); }
.text-body { color: var(--body); }
.measure { max-width: var(--measure); }
.kicker { display: flex; align-items: center; gap: 10px; font-size: var(--fs-small); color: var(--body); margin: 0 0 var(--s-3); font-weight: 500; }
.kicker::before { content: ""; width: 22px; height: 6px; flex: 0 0 22px; background: radial-gradient(circle at 3px 3px, var(--orange) 2.6px, transparent 3px), radial-gradient(circle at 11px 3px, var(--amber) 2.6px, transparent 3px), radial-gradient(circle at 19px 3px, var(--yellow) 2.6px, transparent 3px); }
.center { text-align: center; }
.nowrap { white-space: nowrap; }
.center .dots { justify-content: center; }
.center .measure { margin-left: auto; margin-right: auto; }
@media (max-width: 600px) {
  :root { --fs-h1: 34px; --fs-h2: 27px; --ls-h1: -0.8px; --ls-h2: -0.4px; }
  h1 { line-height: 1.12; }
}

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.container-narrow { max-width: var(--container); }
.container-narrow > * { max-width: 760px; }
.section { padding: var(--s-8) 0; }
.section-tight { padding: var(--s-7) 0; }
/* v2: the warm and peach bands are retired. The classes stay for the other pages; they now mean
   "white, separated from the section above by a hairline". */
.band-warm, .band-peach { background: var(--paper); border-top: 1px solid var(--hairline); }
.band-line { border-top: 1px solid var(--hairline); }
.section-head { margin-bottom: var(--s-6); }
.section-head p { max-width: var(--measure); color: var(--body); }
.section-head p:last-child { margin-bottom: 0; }
.grid { display: grid; gap: var(--s-5); }
.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)); }
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: var(--s-8); align-items: center; }
.split > * { min-width: 0; }
.stack > * + * { margin-top: var(--s-4); }
.cluster { display: flex; flex-wrap: wrap; gap: var(--s-3); align-items: center; }
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split { grid-template-columns: minmax(0, 1fr); gap: var(--s-6); }
  .grid { gap: var(--s-4); }
}
@media (max-width: 600px) {
  :root { --gutter: 16px; --header-h: 64px; --s-8: 40px; --s-7: 32px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .section-head { margin-bottom: var(--s-5); }
  .lead { font-size: 18px; }
}

/* ---------- Three-dot motif ---------- */
.dots { display: inline-flex; gap: 6px; margin: 0 0 var(--s-3); line-height: 0; }
.dots i { display: block; width: 8px; height: 8px; border-radius: 50%; }
.dots i:nth-child(1) { background: var(--orange); }
.dots i:nth-child(2) { background: var(--amber); }
.dots i:nth-child(3) { background: var(--yellow); }
.dots-lg i { width: 12px; height: 12px; }
.dots-inline { vertical-align: middle; margin: 0 8px 0 0; }
.dots-labelled { display: flex; gap: var(--s-5); flex-wrap: wrap; margin: 0; padding: 0; list-style: none; }
.dots-labelled li { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 600; color: var(--brown); font-size: 18px; }
.dots-labelled li::before { content: ""; width: 12px; height: 12px; border-radius: 50%; flex: 0 0 12px; }
.dots-labelled li:nth-child(1)::before { background: var(--orange); }
.dots-labelled li:nth-child(2)::before { background: var(--amber); }
.dots-labelled li:nth-child(3)::before { background: var(--yellow); }

/* ---------- Buttons (pill, lift on hover, as the current NPV sites) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 11px 24px;
  font-family: var(--font-body); font-size: 16px; font-weight: 500; line-height: 1.2;
  border-radius: 999px; border: 1.5px solid transparent;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .2s var(--ease-out), box-shadow .2s var(--ease-out);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(46, 42, 39, .12); }
.btn:active { transform: translateY(0); box-shadow: none; }
.btn-primary { background: var(--orange-deep); color: #fff; border-color: var(--orange-deep); }
.btn-primary:hover { background: var(--orange-hover); border-color: var(--orange-hover); color: #fff; box-shadow: 0 8px 20px rgba(191, 60, 22, .28); }
.btn-secondary { background: var(--paper); color: var(--brown); border-color: var(--brown); }
.btn-secondary:hover { background: var(--brown); color: #fff; }
.btn-quiet { background: transparent; color: var(--brown); border-color: transparent; text-decoration: underline; text-underline-offset: 4px; padding-left: 8px; padding-right: 8px; }
.btn-quiet:hover { color: var(--orange-deep); transform: none; box-shadow: none; }
.btn-sm { min-height: 44px; padding: 9px 18px; font-size: 15px; }
.btn-block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }
.btn .arrow { width: 16px; height: 16px; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s-3); }
@media (max-width: 480px) { .btn-row .btn { width: 100%; } }
.link-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; color: var(--brown); text-decoration: none; min-height: 44px; }
.link-more::after { content: ""; width: 8px; height: 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(-45deg); transition: transform .18s ease; }
.link-more:hover { color: var(--orange-deep); }
.link-more:hover::after { transform: translateX(3px) rotate(-45deg); }

/* ---------- Cards: white, soft shadow, 2px lift ---------- */
.card {
  position: relative; display: flex; flex-direction: column;
  background: var(--paper); border: 0; border-radius: var(--radius);
  padding: 22px 24px; color: var(--body);
  box-shadow: var(--shadow-sm);
  transition: transform .22s var(--ease-out), box-shadow .22s var(--ease-out);
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.card h3, .card h4 { margin-bottom: var(--s-2); }
.card p { margin-bottom: var(--s-3); }
.card p:last-child { margin-bottom: 0; }
.card-link { text-decoration: none; color: inherit; }
.card-link:hover { color: inherit; }
.card-link:hover h3 { color: var(--orange-deep); }
.card-link h3 { text-decoration: none; transition: color .18s ease; }
.card-foot { margin-top: auto; padding-top: var(--s-3); display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-4); align-items: center; }
/* v2: tinted card variants map to the plain white card */
.card-peach, .card-warm { background: var(--paper); }
.card-num { font-family: var(--font-head); font-size: 17px; font-weight: 700; color: var(--ink); background: var(--amber); width: 34px; height: 34px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; margin-bottom: var(--s-3); }
.meta { display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-caption); color: var(--muted); }
.meta::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--amber); }
.card > .tag { align-self: flex-start; margin-bottom: var(--s-3); }
.tag { display: inline-block; font-size: var(--fs-caption); line-height: 1.3; color: var(--brown); background: var(--paper); border: 1px solid var(--hairline-strong); border-radius: 999px; padding: 4px 11px; }

/* ---------- Process steps / lifecycle ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--s-4); counter-reset: step; position: relative; }
.steps::before { content: ""; position: absolute; left: 17px; right: 17px; top: 17px; height: 1px; background: var(--hairline-strong); }
.steps li { position: relative; counter-increment: step; padding-top: 48px; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 34px; height: 34px; border-radius: 50%; background: var(--amber); color: var(--ink); font-family: var(--font-head); font-weight: 700; font-size: 16px; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 4px var(--paper); }
.steps li.is-now::before { background: var(--orange); color: #fff; }
.steps h3, .steps h4 { font-size: 18px; margin-bottom: 4px; }
.steps p { font-size: var(--fs-small); color: var(--body); margin: 0; }
.steps-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.steps-from-7 { counter-reset: step 6; }
@media (max-width: 900px) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .steps::before { display: none; }
}
@media (max-width: 600px) {
  .steps, .steps-3 { grid-template-columns: 1fr; gap: 0; }
  .steps::before { display: block; left: 17px; right: auto; top: 17px; bottom: 17px; width: 1px; height: auto; }
  .steps li { padding: 0 0 var(--s-5) 50px; min-height: 50px; }
  .steps li:last-child { padding-bottom: 0; }
}

/* ---------- Tables ---------- */
table { width: 100%; border-collapse: collapse; font-size: var(--fs-small); }
th, td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--hairline); }
th { font-weight: 500; color: var(--brown); background: var(--paper); border-bottom: 2px solid var(--hairline-strong); }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow-sm); margin-bottom: var(--s-4); }
.table-wrap table { margin: 0; min-width: 520px; }
.table-wrap th:first-child, .table-wrap td:first-child { padding-left: 20px; }
.table-wrap tbody tr:last-child td { border-bottom: 0; }
.table-plain { box-shadow: none; }
.table-plain table { min-width: 0; }
@media (max-width: 600px) {
  .table-stack { overflow: visible; }
  .table-stack table { min-width: 0; }
  .table-stack table, .table-stack thead, .table-stack tbody, .table-stack tr, .table-stack td { display: block; width: 100%; }
  .table-stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .table-stack tr { padding: 14px 16px; border-bottom: 1px solid var(--hairline); }
  .table-stack tr:last-child { border-bottom: 0; }
  .table-stack td, .table-stack th:first-child, .table-stack td:first-child { padding: 0; border: 0; }
  .table-stack td + td { margin-top: 10px; }
  .table-stack td::before { content: attr(data-label); display: block; font-weight: 500; color: var(--brown); margin-bottom: 2px; }
  .table-stack td:first-child { font-family: var(--font-head); font-weight: 600; font-size: 17px; color: var(--brown); }
  .table-stack td:first-child::before { font-family: var(--font-body); font-size: var(--fs-caption); color: var(--muted); font-weight: 400; }
}
dl.defs { margin: 0; }

/* Personal data groups (tools hub): a compact two-column definition list. */
.data-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--s-6); margin: 0 0 var(--s-4); }
.data-groups > div { padding: 12px 0; border-bottom: 1px solid var(--hairline); }
.data-groups dt { font-family: var(--font-head); font-weight: 600; color: var(--brown); font-size: 17px; line-height: 1.3; }
.data-groups dd { margin: 4px 0 0; color: var(--body); font-size: var(--fs-small); }
.data-groups-note { margin-top: var(--s-4); }
@media (max-width: 700px) { .data-groups { grid-template-columns: 1fr; } }

/* Open point in a draft document, awaiting the owner's decision. */
.tbc-chip { display: inline-block; font-size: var(--fs-small); line-height: 1.3; color: var(--brown); background: var(--paper); border: 1px dashed var(--brown); border-radius: 999px; padding: 3px 12px; white-space: nowrap; }
dl.defs dt { font-family: var(--font-head); font-weight: 600; color: var(--brown); font-size: 18px; margin-top: var(--s-4); }
dl.defs dd { margin: 4px 0 0; color: var(--body); }

/* ---------- Callouts and disclaimers ---------- */
.callout { position: relative; background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 22px 24px 22px 28px; color: var(--ink); overflow: hidden; }
.callout::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--amber); }
.callout h3, .callout h4 { margin-bottom: var(--s-2); }
.callout p:last-child { margin-bottom: 0; }
.callout-brown::before { background: var(--brown); }
.callout-orange::before { background: var(--orange); }
.disclaimer { font-size: var(--fs-small); color: var(--body); background: var(--paper); border: 1px solid var(--hairline-strong); border-radius: var(--radius); padding: var(--s-4) var(--s-5); }
.disclaimer strong { color: var(--brown); }
.disclaimer p:last-child { margin-bottom: 0; }
.legal-boundary { border-top: 1px solid var(--hairline); padding-top: var(--s-5); color: var(--body); font-size: var(--fs-small); }

/* ---------- Breadcrumb ---------- */
.breadcrumb { list-style: none; margin: -10px 0 var(--s-3); padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 0 6px; font-size: var(--fs-caption); color: var(--muted); }
.breadcrumb li { display: inline-flex; align-items: center; min-height: 44px; }
/* Tap target at least 44 x 44 (VERIFY-v2 V4): 6px of padding each side, cancelled by a negative margin so the
   words sit exactly where they did; min-width covers very short labels. */
.breadcrumb a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; padding: 0 6px; margin: 0 -6px; color: var(--body); text-decoration: none; }
.breadcrumb a:hover { color: var(--orange-deep); text-decoration: underline; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: #C9B8AA; }

/* ---------- Page hero (inner pages): white, hairline below ---------- */
.page-hero { padding: var(--s-7) 0 var(--s-8); border-bottom: 1px solid var(--hairline); background: var(--paper); }
.page-hero h1 { max-width: 22ch; }
.page-hero .lead { max-width: var(--measure); }
.page-hero .text-body { max-width: var(--measure); }
.page-hero .btn-row { margin-top: var(--s-5); }
@media (max-width: 600px) { .page-hero { padding: var(--s-5) 0 var(--s-7); } }

/* ---------- Forms ---------- */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: var(--s-4); }
.field label, .field .label { font-size: var(--fs-small); font-weight: 500; color: var(--ink); }
.field .hint { font-size: var(--fs-caption); color: var(--muted); }
.field .req { color: var(--orange-deep); }
.field input:not([type="checkbox"]):not([type="radio"]), .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 11px 16px;
  font: inherit; font-size: 16px; color: var(--ink);
  background: var(--paper); border: 1.5px solid var(--hairline-strong); border-radius: 10px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--orange); outline: 3px solid rgba(241, 90, 49, .22); outline-offset: 0; }
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%2382331A' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 42px; }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: #B3261E; }
.field .error { font-size: var(--fs-caption); color: #B3261E; }
.check { display: flex; align-items: flex-start; gap: 12px; margin-bottom: var(--s-3); font-size: var(--fs-small); color: var(--ink); cursor: pointer; min-height: 44px; padding: 6px 0; }
.check input { width: 22px; height: 22px; flex: 0 0 22px; margin: 2px 0 0; accent-color: var(--orange); cursor: pointer; }
.choice-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.choice { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 10px 16px; border: 1.5px solid var(--hairline-strong); border-radius: 10px; background: var(--paper); cursor: pointer; font-size: 16px; transition: border-color .15s ease, box-shadow .15s ease; }
.choice:hover { border-color: var(--brown); }
.choice input { width: 20px; height: 20px; accent-color: var(--orange); margin: 0; }
.choice:has(input:checked) { border-color: var(--orange); box-shadow: 0 0 0 1px var(--orange); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 var(--s-5); }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.form-note { font-size: var(--fs-caption); color: var(--muted); }
.form-block { margin-bottom: var(--s-6); }
.form-block-consent { margin: var(--s-5) 0; }
.field-legend { font-family: var(--font-head); font-weight: 600; color: var(--brown); font-size: 20px; line-height: 1.3; margin-bottom: var(--s-3); }
.field-legend-sm { font-size: 18px; margin-bottom: var(--s-2); }
.choice-stacked { align-items: flex-start; padding: 14px 16px; }
.choice-stacked input { margin-top: 3px; }
.choice-note { display: block; margin-top: 2px; font-size: var(--fs-small); color: var(--body); }
.form-actions { margin-top: var(--s-5); }
.form-alt { margin-top: var(--s-6); }
.hp-field { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form-status { padding: var(--s-4); border-radius: 10px; font-size: var(--fs-small); }
.form-status.ok { background: #EFF7EE; color: #1F5A2A; border: 1px solid #CFE6CF; }
.form-status.err { background: #FBEDEC; color: #8A1C15; border: 1px solid #F1CFCB; }

/* ---------- Accordion ---------- */
details.acc { border-top: 1px solid var(--hairline); }
details.acc:last-of-type { border-bottom: 1px solid var(--hairline); }
details.acc summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); padding: 16px 0; min-height: 56px; font-family: var(--font-head); font-weight: 600; font-size: 18px; color: var(--brown); }
details.acc summary::-webkit-details-marker { display: none; }
details.acc summary::after { content: ""; flex: 0 0 10px; width: 10px; height: 10px; border-right: 1.5px solid var(--brown); border-bottom: 1.5px solid var(--brown); transform: rotate(45deg); transition: transform .2s ease; margin-right: 4px; }
details.acc[open] summary::after { transform: rotate(-135deg); }
details.acc .acc-body { padding: 0 0 var(--s-5); color: var(--body); }
details.acc .acc-body p:last-child { margin-bottom: 0; }

/* ---------- Glossary tooltips ---------- */
abbr.term, .term { text-decoration: underline dotted var(--amber); text-decoration-thickness: 2px; text-underline-offset: 3px; cursor: help; position: relative; border: 0; color: inherit; }
.term:focus-visible { outline-offset: 2px; }
.tip { position: absolute; z-index: 150; max-width: 300px; width: max-content; background: var(--brown); color: #fff; font-size: 14px; line-height: 1.45; padding: 10px 12px; border-radius: 10px; box-shadow: 0 8px 24px rgba(46, 42, 39, .18); pointer-events: none; opacity: 0; transform: translateY(4px); transition: opacity .15s ease, transform .15s ease; }
.tip.is-open { opacity: 1; transform: none; pointer-events: auto; }
.tip::before { content: ""; position: absolute; left: var(--tip-arrow, 16px); top: -6px; width: 12px; height: 12px; background: var(--brown); transform: rotate(45deg); }
.tip.is-above::before { top: auto; bottom: -6px; }
@media (max-width: 600px) { .tip { max-width: calc(100vw - 32px); } }

/* ---------- Header: sticky, white, 72px, five links + one button ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--paper); border-bottom: 1px solid var(--hairline); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; text-decoration: none; color: var(--brown); flex: 0 0 auto; }
.brand img { height: 42px; width: auto; }
.brand-text { font-family: var(--font-head); font-weight: 600; font-size: 14px; line-height: 1.2; color: var(--brown); border-left: 1px solid var(--hairline-strong); padding-left: 12px; white-space: nowrap; letter-spacing: -0.1px; }
@media (max-width: 1240px) { .brand-text { display: none; } }
.nav { display: flex; align-items: center; gap: var(--s-4); }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.nav-list > li { position: relative; margin: 0; }
.nav-list > li > a, .nav-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 8px 14px; font: inherit; font-size: 16px; font-weight: 500; color: var(--ink); text-decoration: none; background: none; border: 0; border-radius: 999px; cursor: pointer; position: relative; transition: color .15s ease; }
.nav-list > li > a:hover, .nav-btn:hover, .nav-list > li.is-open > .nav-btn { color: var(--brown); }
.nav-btn .caret { width: 10px; height: 10px; transition: transform .2s ease; }
.nav-list > li.is-open > .nav-btn .caret { transform: rotate(180deg); }
/* Active page: NPV's three dots under the label (npvglobal.net) */
.nav-list > li.is-active > a::after, .nav-list > li.is-active > .nav-btn::after { content: ""; position: absolute; left: 50%; bottom: 1px; width: 22px; height: 6px; margin-left: -11px; background: radial-gradient(circle at 3px 3px, var(--orange) 2.6px, transparent 3px), radial-gradient(circle at 11px 3px, var(--amber) 2.6px, transparent 3px), radial-gradient(circle at 19px 3px, var(--yellow) 2.6px, transparent 3px); }
.nav-list > li.is-active.has-sub > .nav-btn::after { margin-left: -19px; }
.nav-cta { flex: 0 0 auto; }
.nav-foot { display: contents; }

/* Mega panels (Services, Tools) */
.mega { position: absolute; left: 0; top: calc(100% + 6px); z-index: 120; width: max-content; max-width: min(860px, calc(100vw - 2 * var(--gutter))); background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 8px; display: none; }
.nav-list > li.is-open > .mega { display: block; animation: mega-in .22s var(--ease-out); }
@keyframes mega-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.mega-label { display: none; }
.mega-inner { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 12px; }
.mega-1 .mega-inner { grid-template-columns: minmax(0, 1fr); }
.mega-col { min-width: 0; }
.mega-head { font-size: 13px; font-weight: 500; color: var(--muted); margin: 8px 12px 4px; }
.mega-item { display: block; padding: 10px 12px; border-radius: 10px; text-decoration: none; color: var(--ink); transition: background-color .15s ease; }
.mega-item:hover, .mega-item:focus-visible { background: #FFF6F1; color: var(--ink); }
.mega-title { display: block; font-family: var(--font-head); font-weight: 600; font-size: 15px; line-height: 1.3; color: var(--brown); letter-spacing: -0.1px; }
.mega-desc { display: block; margin-top: 2px; font-size: 14px; line-height: 1.45; color: var(--body); max-width: 36ch; }
.mega-1 .mega-desc { max-width: 48ch; }
.mega-foot { margin: 6px 4px 4px; padding: 8px 8px 4px; border-top: 1px solid var(--hairline); }
.mega-all { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; font-weight: 500; font-size: 15px; color: var(--brown); text-decoration: none; }
.mega-all::after { content: ""; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(-45deg); }
.mega-all:hover { color: var(--orange-deep); }
.nav-list > li.is-active .mega-item[aria-current="page"] .mega-title { color: var(--orange-deep); }

/* Menu button (phone and tablet) */
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--hairline-strong); background: var(--paper); border-radius: 50%; cursor: pointer; align-items: center; justify-content: center; flex: 0 0 auto; }
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--brown); position: relative; transition: transform .2s ease, background .2s ease; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--brown); transition: transform .2s ease, top .2s ease; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

/* Full-screen phone menu: groups expanded, booking button fixed at the bottom */
@media (max-width: 1040px) {
  .brand-text { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav { display: none; position: fixed; left: 0; right: 0; top: var(--header-h); bottom: 0; z-index: 110; background: var(--paper); flex-direction: column; align-items: stretch; gap: 0; }
  .nav.is-open { display: flex; }
  .nav-list { flex: 1 1 auto; overflow-y: auto; -webkit-overflow-scrolling: touch; flex-direction: column; align-items: stretch; gap: 0; padding: 4px var(--gutter) var(--s-5); }
  .nav-list > li { border-bottom: 1px solid var(--hairline); }
  .nav-list > li > a { width: 100%; min-height: 52px; padding: 12px 0; border-radius: 0; font-size: 17px; }
  .nav-list > li.is-active > a::after { left: auto; right: 0; margin-left: 0; bottom: auto; top: 50%; margin-top: -3px; }
  .nav-btn { display: none; }
  .mega { position: static; display: block; width: auto; max-width: none; box-shadow: none; border-radius: 0; padding: 12px 0 8px; animation: none; }
  .nav-list > li.is-open > .mega { animation: none; }
  .mega-label { display: block; font-family: var(--font-head); font-weight: 700; font-size: 17px; color: var(--brown); margin: 0 0 4px; letter-spacing: -0.2px; }
  .mega-inner { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .mega-head { margin: 8px 0 2px; }
  .mega-item { min-height: 44px; padding: 10px 0; border-radius: 0; }
  .mega-item:hover, .mega-item:focus-visible { background: transparent; }
  .mega-title { font-family: var(--font-body); font-weight: 400; font-size: 16px; color: var(--ink); letter-spacing: 0; }
  .mega-item:hover .mega-title { color: var(--brown); }
  .mega-desc { display: none; }
  .mega-foot { margin: 4px 0 0; padding: 4px 0 0; border-top: 0; }
  .mega-all { min-height: 44px; }
  .nav-foot { display: block; flex: 0 0 auto; padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--hairline); background: var(--paper); box-shadow: 0 -8px 24px rgba(46, 42, 39, .06); }
  .nav-cta { width: 100%; min-height: 48px; font-size: 16px; }
}

/* ---------- Home hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--paper); border-bottom: 1px solid var(--hairline); }
.hero .container { position: relative; padding-top: var(--s-8); padding-bottom: var(--s-8); }
.hero .split { align-items: center; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: var(--s-8); }
.hero h1 { max-width: 16ch; margin-bottom: var(--s-4); }
.hero .lead { max-width: 54ch; }
.hero .text-body { max-width: 58ch; }
.hero .btn-row { margin-top: var(--s-5); }
.hero-visual { position: relative; margin: 0; }
.hero-visual svg { width: 100%; height: auto; }
@media (max-width: 1180px) and (min-width: 901px) {
  .hero .split { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: var(--s-6); }
}
@media (max-width: 900px) {
  .hero .container { padding-top: var(--s-7); padding-bottom: var(--s-7); }
  .hero .split { grid-template-columns: minmax(0, 1fr); }
  .hero-visual { max-width: 600px; }
}
@media (max-width: 600px) {
  .hero .container { padding-top: var(--s-6); padding-bottom: var(--s-7); }
  /* the map scrolls sideways on a phone; the right edge fades to show there is more */
  .hero-visual .diagram-scroll { overflow-x: auto; min-width: 0; max-width: 100vw; -webkit-overflow-scrolling: touch; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter); scrollbar-width: thin; -webkit-mask-image: linear-gradient(to right, #000 88%, transparent 100%); mask-image: linear-gradient(to right, #000 88%, transparent 100%); }
  .hero-visual svg { min-width: 560px; }
}

/* ---------- Question list (problem section) ---------- */
.q-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-3) var(--s-4); }
.q-list li { display: grid; grid-template-columns: 10px 1fr; gap: 12px; align-items: start; padding: 14px 18px; background: var(--paper); border-radius: 12px; box-shadow: var(--shadow-sm); font-size: 16px; color: var(--ink); margin: 0; }
.q-list li::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--amber); margin-top: 8px; }
.q-list li:nth-child(3n+1)::before { background: var(--orange); }
.q-list li:nth-child(3n)::before { background: var(--yellow); }
@media (max-width: 700px) { .q-list { grid-template-columns: 1fr; } }

/* ---------- Data chips ---------- */
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { margin: 0; font-size: 15px; line-height: 1.35; color: var(--ink); background: var(--paper); border: 1px solid var(--hairline-strong); border-radius: 999px; padding: 6px 14px; }

/* ---------- Method list: cards at desktop, a numbered vertical list on phones ---------- */
@media (max-width: 600px) {
  .method-list { gap: 0; position: relative; }
  .method-list::before { content: ""; position: absolute; left: 17px; top: 17px; bottom: 17px; width: 1px; background: var(--hairline-strong); }
  .method-list > .card { background: transparent; box-shadow: none; border-radius: 0; padding: 0 0 var(--s-5) 50px; min-height: 50px; transform: none; }
  .method-list > .card:last-child { padding-bottom: 0; }
  .method-list .card-num { position: absolute; left: 0; top: 0; margin: 0; box-shadow: 0 0 0 4px var(--paper); }
  .method-list > .card { position: relative; }
  .method-list h3 { font-size: 18px; margin-bottom: 4px; }
  .method-list p { font-size: var(--fs-small); }
}
/* Home: the six method steps as a numbered list in three columns (titles only where the source gives only titles) */
@media (min-width: 601px) {
  .method-compact { gap: 0 var(--s-6); }
  .method-compact > .card { display: grid; grid-template-columns: 34px minmax(0, 1fr); column-gap: 14px; align-items: start; align-content: start; padding: 16px 0; box-shadow: none; border-radius: 0; border-top: 1px solid var(--hairline); transform: none; }
  .method-compact > .card:hover { transform: none; box-shadow: none; }
  .method-compact .card-num { grid-column: 1; grid-row: 1 / span 2; margin: 0; }
  .method-compact h3, .method-compact p { grid-column: 2; }
  .method-compact h3 { margin: 6px 0 4px; }
  .method-compact p { font-size: var(--fs-small); }
}
.jump-links { margin-top: var(--s-5); }

/* ---------- Leadership line ---------- */
.leadership { display: grid; grid-template-columns: auto 1fr; gap: var(--s-5); align-items: start; }
.leadership .dots-lg { margin-top: 10px; flex-direction: column; }
@media (max-width: 600px) { .leadership { grid-template-columns: 1fr; } .leadership .dots-lg { flex-direction: row; margin-top: 0; } }

/* ---------- Footer (white, tightened) ---------- */
.site-footer { background: var(--paper); border-top: 1px solid var(--hairline); color: var(--body); font-size: var(--fs-small); }
.site-footer .container { padding-top: var(--s-7); padding-bottom: var(--s-5); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr .8fr; gap: var(--s-6); }
.footer-brand img { height: 44px; width: auto; margin-bottom: var(--s-3); }
.footer-brand .name { font-family: var(--font-head); font-weight: 600; color: var(--brown); font-size: 16px; margin-bottom: var(--s-2); letter-spacing: -0.1px; }
.footer-brand p { max-width: 40ch; margin-bottom: var(--s-2); }
.footer-brand a { color: var(--brown); }
.footer-brand .footer-mail { display: inline-flex; align-items: center; min-height: 44px; }
.site-footer h4 { font-family: var(--font-body); font-weight: 500; font-size: 15px; color: var(--brown); margin-bottom: var(--s-2); letter-spacing: 0; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0; }
.site-footer li a, .site-footer li button { display: inline-flex; align-items: center; min-height: 40px; min-width: 44px; padding: 4px 0 !important; line-height: 1.4; color: var(--body); text-decoration: none; font: inherit; font-size: 15px; background: none; border: 0; cursor: pointer; }
.site-footer li a:hover, .site-footer li button:hover { color: var(--orange-deep); text-decoration: underline; }
.footer-disclaimer { margin-top: var(--s-5); padding-top: var(--s-4); border-top: 1px solid var(--hairline); color: var(--body); font-size: var(--fs-caption); max-width: 96ch; }
.footer-bottom { margin-top: var(--s-3); display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); justify-content: space-between; color: var(--muted); font-size: var(--fs-caption); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--s-5) var(--s-6); } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 600px) { .site-footer li a, .site-footer li button { min-height: 44px; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; gap: var(--s-5); } }

/* ---------- Cookie banner ---------- */
.cookie-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 180; margin: 0 auto; max-width: 620px; background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: var(--s-5); display: none; }
.cookie-banner.is-open { display: block; }
.cookie-banner p { font-size: var(--fs-small); color: var(--body); margin-bottom: var(--s-4); }
.cookie-banner .btn-row { gap: var(--s-3); }
.cookie-banner .btn { flex: 1 1 auto; }
@media (max-width: 480px) { .cookie-banner { left: 10px; right: 10px; bottom: 10px; padding: var(--s-4); } }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 190; display: none; align-items: center; justify-content: center; padding: 16px; background: rgba(46, 42, 39, .5); }
.modal.is-open { display: flex; }
.modal-box { background: var(--paper); border-radius: var(--radius); max-width: 560px; width: 100%; max-height: calc(100vh - 32px); overflow-y: auto; padding: var(--s-6); box-shadow: 0 24px 60px rgba(46, 42, 39, .3); }
.modal-box h2 { font-size: 24px; }
.modal-box p { color: var(--body); font-size: var(--fs-small); }
.modal-actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-5); }
@media (max-width: 480px) { .modal-box { padding: var(--s-5); } }

/* ---------- Reveal on scroll: 0.6s, soft ease-out ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal-stagger > * { opacity: 0; transform: translateY(20px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); }
.reveal-stagger.is-in > * { opacity: 1; transform: none; }
.reveal-stagger.is-in > *:nth-child(2) { transition-delay: .07s; }
.reveal-stagger.is-in > *:nth-child(3) { transition-delay: .14s; }
.reveal-stagger.is-in > *:nth-child(4) { transition-delay: .21s; }
.reveal-stagger.is-in > *:nth-child(5) { transition-delay: .28s; }
.reveal-stagger.is-in > *:nth-child(6) { transition-delay: .35s; }
/* once the reveal has finished (site.js adds is-settled), cards get their quick hover lift back */
.reveal-stagger.is-settled > .card, .reveal.is-settled.card { transition: transform .22s var(--ease-out), box-shadow .22s var(--ease-out); }
.no-js .reveal, .no-js .reveal-stagger > * { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-stagger > * { opacity: 1; transform: none; transition: none; }
  .btn:hover, .card:hover { transform: none; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ---------- 404 ---------- */
.notfound { padding: var(--s-8) 0; text-align: center; }
.notfound h1 { max-width: none; }

/* ---------- Print ---------- */
@media print {
  .site-header, .site-footer, .cookie-banner, .modal, .nav-toggle { display: none !important; }
  .reveal, .reveal-stagger > * { opacity: 1 !important; transform: none !important; }
  .card, .callout, .table-wrap { box-shadow: none; border: 1px solid var(--hairline-strong); }
}

/* ---------- Tool cards: clearly clickable (Rajesh 25 Sep: "does not look clickable") ---------- */
.tool-card { position: relative; overflow: hidden; border: 1px solid var(--hairline-strong); cursor: pointer; }
.tool-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--tc-accent, var(--orange)); }
.tool-card[data-accent="orange"] { --tc-accent: #F15A31; }
.tool-card[data-accent="amber"]  { --tc-accent: #FAA61A; }
.tool-card[data-accent="brown"]  { --tc-accent: #82331A; }
.tool-card[data-accent="yellow"] { --tc-accent: #FFD41C; }
.tool-card[data-accent="vendor"] { --tc-accent: linear-gradient(90deg, #82331A, #F15A31); }
.tool-card[data-accent="vendor"]::before { background: linear-gradient(90deg, #82331A, #F15A31); }
.tool-card-cta { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; margin-top: var(--s-4); min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--orange-deep); color: var(--orange-deep); font-weight: 500; transition: background-color .18s ease, color .18s ease; }
.tool-card-cta svg { transition: transform .18s ease; }
.tool-card:hover .tool-card-cta, .tool-card:focus-visible .tool-card-cta { background: var(--orange-deep); color: #fff; }
.tool-card:hover .tool-card-cta svg { transform: translateX(3px); }
.tool-card:hover { border-color: var(--orange-deep); }
@media (prefers-reduced-motion: reduce) { .tool-card-cta, .tool-card-cta svg { transition: none; } .tool-card:hover .tool-card-cta svg { transform: none; } }
