/* ==========================================================================
   KuduDoc v6 — Privacy & POPIA notice (pages/privacy.css)
   Loaded after theme.css; the v5 page CSS sits in the lower layer, so plain rules win.
   1. the opening: landing blue, the mark as a flat poster, the proof as a white card on the blue
   2. "In short": three labelled rows in one white card
   3. the reading layout: the index as a white card, sections on the ground, panels as cards
   4. the closing band: full-bleed blue into the footer
   5. phone
   ========================================================================== */

/* ---------------------------------------------------------------- 1. the opening */
/* The hero box stays exactly the blue part (site.js reads it for the nav's tone); the blue and
   the poster are painted by ::before, which runs 96px past the hero and fades out into the pale
   ground with one mask — the poster fades with the blue, so no stroke is cut at an edge. */
html body #hero.pv-hero {
  position: relative; z-index: 0; isolation: isolate;
  padding: 168px 0 88px !important;
  /* the colour is what site.js measures; it is painted only behind the content box, so the
     fade in ::before (which starts inside the bottom padding) is never covered */
  background: #2a64a0 content-box; color: #fff;
}
html body #hero.pv-hero::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; bottom: -96px; z-index: -1; pointer-events: none;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 72'%3E%3Cg transform='translate(40 36) rotate(-8) skewX(-14) translate(-31 -32)' stroke-linecap='round' stroke-width='6.5'%3E%3Cpath d='M13 14V50' stroke='%23004e99' stroke-opacity='.16'/%3E%3Cpath d='M25 9V55' stroke='%23004e99' stroke-opacity='.22'/%3E%3Cpath d='M37 13V51' stroke='%23004e99' stroke-opacity='.13'/%3E%3Cpath d='M49 18V46' stroke='%23004e99' stroke-opacity='.18'/%3E%3C/g%3E%3C/svg%3E") right -6vw center / auto 150% no-repeat,
    #2a64a0;
  -webkit-mask-image: linear-gradient(180deg, #000 0, #000 calc(100% - 170px), transparent 100%);
          mask-image: linear-gradient(180deg, #000 0, #000 calc(100% - 170px), transparent 100%);
}
/* the next section paints above the fade that runs into it */
.pv-inshort { position: relative; }

.pv-hero-grid { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 32px 72px; }
.pv-hero .kd-eyebrow {
  display: flex; align-items: center; color: #d6eeff;
  font: 600 12.5px/1 var(--font-sans); letter-spacing: .15em; text-transform: uppercase;
}
.pv-hero-copy > .kd-eyebrow::before {
  content: ""; flex: none; width: 3px; height: 13px; margin-right: 10px; border-radius: 2px;
  background: #ff762b; transform: skewX(-14deg) translateY(1px);
}
.pv-hero h1 {
  margin: 24px 0 0; color: #fff;
  font: 650 clamp(46px, 6vw, 86px)/.98 var(--font-display); letter-spacing: -.038em;
}
.pv-hero h1 > .text-slate { color: #a9dcff; }
.pv-hero .kd-rule { width: 120px; height: 5px; margin: 22px 0 0 2px; background: #ff762b; }
.pv-lead {
  margin-top: 24px; max-width: 34ch; color: rgba(236, 244, 252, .86);
  font: 400 clamp(20px, 2vw, 24px)/1.4 var(--font-sans); letter-spacing: -.012em;
}
.pv-hero-actions .btn-row { gap: 12px; }
.pv-hero-actions .btn-secondary {
  background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(191, 227, 255, .45);
}
.pv-hero-actions .btn-secondary:hover { background: rgba(191, 227, 255, .1); box-shadow: inset 0 0 0 1.5px rgba(191, 227, 255, .7); }
.pv-hero-meta { margin-top: 20px; color: rgba(226, 238, 250, .74); font: 400 13px/1.7 var(--font-sans); }
.pv-hero-meta time { color: #fff; font-weight: 500; }
.pv-page .pv-hero-meta a { color: #d6eeff; text-decoration: underline; text-underline-offset: 3px; }
.pv-page .pv-hero-meta a:hover { color: #fff; }

/* the public-timestamp fact: a white card resting on the blue, like the landing's records */
.pv-proof.kd-stat {
  align-self: center; padding: 30px 30px 26px; border: 0; border-radius: 24px; background: #fff;
  box-shadow: 0 2px 4px rgba(6, 22, 42, .08), 0 24px 60px -18px rgba(6, 22, 42, .38);
}
.pv-proof .kd-eyebrow { color: #006bcb; }
.pv-proof-fact b { color: #102d49; font: 650 clamp(26px, 2.5vw, 34px)/1.05 var(--font-display); letter-spacing: -.03em; }
.pv-proof .bars > i { width: 7px; background: #006bcb; transform: skewX(-14deg) rotate(-8deg); }
.pv-proof .bars > i.hot { background: #ff762b; }          /* the fingerprint belongs to the seal */
.pv-proof p { color: #3f5470; font-size: 15px; }
.pv-proof p strong { color: #102d49; }
.pv-proof > a { color: #006bcb; }

/* ---------------------------------------------------------------- 2. "In short" */
.pv-inshort { padding: 128px 0 40px; }
.pv-inshort-head { display: block; margin-bottom: 32px; }
.pv-inshort-head h2 { margin: 12px 0 10px; }
.pv-inshort-head h2 { font-size: clamp(32px, 3.4vw, 46px); line-height: 1.04; letter-spacing: -.032em; color: #102d49; }
.pv-inshort-head p { color: #56697f; font-size: 16px; }
/* three labelled rows in one white card, split by hairlines — no numerals */
.pv-short {
  margin: 0; padding: 6px 30px; border-radius: 22px; background: #fff;
  box-shadow: inset 0 0 0 1px rgba(16, 45, 73, .07), 0 1px 2px rgba(16, 45, 73, .05), 0 16px 40px -24px rgba(16, 45, 73, .32);
}
.pv-short-row { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 8px 32px; padding: 22px 0; }
.pv-short-row + .pv-short-row { border-top: 1px solid rgba(16, 45, 73, .08); }
.pv-short dt { color: #102d49; font: 650 18px/1.4 var(--font-display); letter-spacing: -.02em; }
.pv-short dd { margin: 0; max-width: 64ch; color: #3f5470; font: 400 16px/1.6 var(--font-sans); }
.pv-page .pv-short dd a { color: #006bcb; }
.pv-page .pv-short dd > a:last-child { margin-left: 4px; font-weight: 600; white-space: nowrap; text-decoration: none; }
.pv-page .pv-short dd > a:last-child::after { content: " →"; }
.pv-page .pv-short dd > a:last-child:hover { text-decoration: underline; }

/* ---------------------------------------------------------------- panels: cards on light, flat blue for the officer */
.pv-page .legal-panel {
  margin-top: 28px; padding: 28px; border: 0; border-radius: 22px; background: #fff;
  box-shadow: inset 0 0 0 1px rgba(16, 45, 73, .07), 0 1px 2px rgba(16, 45, 73, .05), 0 16px 40px -24px rgba(16, 45, 73, .32);
}
.pv-page .legal-panel .kd-h3 { color: #102d49; font: 650 20px/1.3 var(--font-display); letter-spacing: -.02em; }
.pv-page .legal-panel .kd-h3::before,
.pv-page .legal-sec .kd-h3::before {
  top: .2em; width: 3.5px; height: 15px; border-radius: 2px; background: #006bcb; transform: skewX(-14deg) rotate(-8deg);
}
/* the slanted stroke as the list marker, in blue (orange stays for the chapter slashes) */
.pv-page ul.kd-marks > li::before { top: 5px; width: 3px; height: 14px; background: #006bcb; transform: skewX(-14deg) rotate(-8deg); }

/* ---------------------------------------------------------------- 3. the reading layout */
.pv-sections { padding: 88px 0 104px; }
.pv-page .legal-nav { top: 104px; max-height: calc(100vh - 128px); }
.pv-nav-contents {
  padding: 18px 10px 16px; border-radius: 20px; background: #fff;
  box-shadow: inset 0 0 0 1px rgba(16, 45, 73, .07), 0 1px 2px rgba(16, 45, 73, .05), 0 16px 40px -24px rgba(16, 45, 73, .32);
}
.pv-nav-label { color: #006bcb; font: 600 11.5px/1.4 var(--font-sans); letter-spacing: .15em; }
.pv-page .legal-nav [data-pv-link] { color: #3f5470; border-radius: 12px; }
.pv-page .legal-nav [data-pv-link]:hover { background: #f1f6fc; color: #102d49; }
.pv-page .legal-nav [data-pv-link] span { color: #006bcb; }
.pv-page .legal-nav a.is-active { background: #eaf3fc; color: #102d49; font-weight: 600; border-radius: 12px; }
.pv-page .legal-nav a.is-active::before { left: 3px; width: 3px; height: 15px; background: #006bcb; transform: skewX(-14deg) rotate(-8deg); }
.pv-nav-foot { border-top-color: rgba(16, 45, 73, .08); color: #56697f; }
.pv-page .legal-nav .pv-nav-foot a { color: #006bcb; }

.pv-page .legal-body { gap: 56px; }
.pv-page .legal-sec h2 {
  color: #102d49; font: 650 clamp(24px, 2.2vw, 30px)/1.2 var(--font-display); letter-spacing: -.03em;
  border-bottom-color: rgba(16, 45, 73, .1);
}
.pv-page .legal-sec h2::before { top: .12em; }
.pv-section-num { color: #006bcb; font-weight: 650; }
.pv-page .legal-sec p, .pv-page .legal-sec li { color: #3f5470; }
.pv-page .legal-sec strong { color: #102d49; }
.pv-page .legal-sec .fence { color: #3f5470; }
.pv-page .legal-sec .fence::before { background: #006bcb; }
.pv-page p a, .pv-page .legal-sec a { color: #006bcb; }

.legal-def { border-bottom-color: rgba(16, 45, 73, .1); }
/* the paragraph after the rights list stands apart from its last hairline */
.pv-page .legal-defs + p { margin-top: 24px; }
.legal-def > strong { color: #102d49; font: 650 14.5px/1.5 var(--font-display); letter-spacing: -.01em; }


/* the Information Officer: a flat blue panel, white type */
.pv-page .legal-sec .legal-panel.pv-officer { background: #2a64a0; box-shadow: none; color: rgba(236, 244, 252, .86); }
.pv-page .legal-sec .pv-officer .kd-h3 { color: #fff; }
.pv-page .legal-sec .pv-officer .kd-h3::before { background: #fff; }
.pv-page .legal-sec .pv-officer p, .pv-page .legal-sec .pv-officer li { color: rgba(236, 244, 252, .86); }
.pv-page .legal-sec .pv-officer strong { color: #fff; }
.pv-page .legal-sec .pv-officer a { color: #fff; }
.pv-page .legal-sec .pv-officer ul.kd-marks > li::before { background: #a9dcff; }


/* ---------------------------------------------------------------- 4. the closing band */
/* #closing gets the global full-bleed band; here it is the wrapper, so it paints the blue and
   the v5 dark card inside it lays flat into it */
html body #closing.pv-close { background: #2a64a0; color: rgba(236, 244, 252, .86); }
/* the band already carries the gutter; the wrapper's own v5 gutter would inset the copy from the footer */
html body #closing.pv-close > .pv-wrap { padding-inline: 0; }
.pv-close .cta-dark {
  display: block; max-width: none; padding: 0; border-radius: 0; background: transparent; box-shadow: none; overflow: visible;
}
.pv-close .cta-dark::before, .pv-close .cta-dark::after { content: none; }
.pv-close .cta-copy { gap: 22px; }
.pv-close .kd-eyebrow {
  display: flex; align-items: center; color: #d6eeff;
  font: 600 12.5px/1 var(--font-sans); letter-spacing: .15em; text-transform: uppercase;
}
.pv-close .kd-eyebrow::before {
  content: ""; flex: none; width: 3px; height: 13px; margin-right: 10px; border-radius: 2px;
  background: #ff762b; transform: skewX(-14deg) translateY(1px);
}
.pv-close .kd-h2 { padding-left: 0; max-width: 22ch; }
.pv-close .kd-h2::before { content: none; }
.pv-close .cta-copy > p { max-width: 56ch; color: rgba(236, 244, 252, .86); }

/* ---------------------------------------------------------------- 5. tablet and phone */
@media (max-width: 1100px) {
  .pv-hero-grid { gap: 28px 40px; }
}
@media (max-width: 900px) {
  .pv-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); }
  .pv-hero h1 { font-size: clamp(46px, 7vw, 64px); }
  .pv-nav-contents { padding: 16px; }
  .pv-page .legal-nav.pv-nav-enhanced {
    top: 84px; border: 0; border-radius: 18px; background: #fff;
    box-shadow: inset 0 0 0 1px rgba(16, 45, 73, .07), 0 16px 40px -24px rgba(16, 45, 73, .4);
  }
  .pv-nav-enhanced .pv-nav-contents { box-shadow: none; border-top: 1px solid rgba(16, 45, 73, .08); border-radius: 0 0 18px 18px; background: #fff; }
  .pv-nav-toggle { color: #102d49; }
  .pv-current { color: #006bcb; }
  .pv-page .legal-sec { scroll-margin-top: 168px; }
}
@media (max-width: 700px) {
  html body #hero.pv-hero { padding: 128px 0 72px !important; }
  /* 72px padding + 104px overrun = 176px ≥ the 170px fade, so the fade begins below the content-box blue (no seam) */
  html body #hero.pv-hero::before { bottom: -104px; background-size: auto 110%, auto; background-position: right -34vw top 40px, 0 0; }
  /* the eyebrow wraps to two lines here: give them air and keep the stroke beside the first */
  .pv-hero .kd-eyebrow { line-height: 1.45; align-items: flex-start; }
  .pv-hero-copy > .kd-eyebrow::before { margin-top: 2px; }
  /* one column; the opening reads title → actions → the proof card, as on the landing */
  .pv-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .pv-hero-copy { grid-column: 1; grid-row: 1; }
  .pv-hero-actions { grid-column: 1; grid-row: 2; }
  .pv-proof.kd-stat { grid-column: 1; grid-row: 3; padding: 22px 22px 20px; border-radius: 20px; }
  .pv-hero h1 { font-size: 46px; margin-top: 20px; }
  .pv-hero .kd-rule { width: 96px; margin: 12px 0 10px 2px; }
  .pv-lead { font-size: 19px; margin-top: 18px; }
  .pv-hero-actions .btn-row { flex-direction: column; align-items: stretch; }
  .pv-proof-fact b { font-size: 28px; }
  .pv-inshort { padding: 104px 0 28px; }
  .pv-inshort-head h2 { font-size: 34px; }
  .pv-short { padding: 2px 20px; border-radius: 20px; }
  .pv-short-row { grid-template-columns: minmax(0, 1fr); gap: 6px; padding: 18px 0; }
  .pv-short dd { font-size: 15px; }
  .pv-page .legal-panel { padding: 22px 20px; border-radius: 20px; }
  .pv-sections { padding-top: 56px; }
  .pv-page .legal-body { gap: 44px; }
  html body #closing.pv-close { padding: 88px 20px 72px !important; }
  .pv-close .cta-dark { padding: 0; }
  .pv-close .btn-row { align-items: stretch; }
}

/* review (27 Sep 2026): the closing's primary action is the landing's orange, as on every other page */
html body #closing .btn-onblue {
  color: #fff; border: 0; background: linear-gradient(180deg, #ff8f45 0%, #ff6a30 55%, #ff5528 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), inset 0 -1px 0 rgba(160,40,10,.25), 0 1px 2px rgba(120,30,0,.25), 0 8px 22px -6px rgba(255,90,40,.55);
}
html body #closing .btn-onblue:hover { background: linear-gradient(180deg, #ff9a55 0%, #ff7036 55%, #ff5a2c 100%); color: #fff; }
