/* =====================================================================
   security.html: Privacy & security
   Page-only styles. Mobile first; breakpoints match foundation.md
   (640 · 1024 · 1140 · 1440 · 1920). Prefix: .sec- / .dp-
   ===================================================================== */

/* ---------------------------------------------------------------------
   1. Hero
--------------------------------------------------------------------- */
.sec-hero { --under-nav-pad: clamp(2.75rem, 1.6rem + 5vw, 6.5rem); padding-bottom: clamp(3.5rem, 2.4rem + 4vw, 6.5rem); }
.sec-hero__inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.sec-hero__title {
  margin-top: var(--s-5); max-width: 13ch;
  font-size: clamp(2.625rem, 1.2rem + 6.4vw, 6rem); line-height: 1; letter-spacing: -.052em;
}
.sec-hero__lead { margin-top: clamp(1.25rem, 1rem + 1vw, 1.75rem); max-width: 38rem; }
.sec-hero__inner .section-actions { margin-top: clamp(1.75rem, 1.4rem + 1.4vw, 2.5rem); }
.sec-hero__stamp {
  display: inline-flex; align-items: flex-start; gap: 8px; margin-top: var(--s-5); max-width: 30rem;
  font-size: var(--fs-caption); line-height: 1.5; color: var(--muted); text-align: left;
}
.sec-hero__stamp .ic { width: 16px; height: 16px; margin-top: 1px; color: var(--ok); }

/* At a glance: four facts inside one glass panel */
.sec-glance-wrap { margin-top: clamp(2.75rem, 1.8rem + 4vw, 5rem); }
.sec-glance {
  --panel-pad: 0; display: grid; grid-template-columns: minmax(0, 1fr); margin: 0 auto; max-width: 1180px;
}
.sec-glance__item {
  display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 14px; row-gap: 4px; align-items: start;
  padding: 20px 20px; text-align: left;
}
.sec-glance__item + .sec-glance__item { border-top: 1px solid rgba(34, 37, 34, .08); }
.sec-glance__icon {
  grid-row: span 2; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  color: var(--amber-ink); background: var(--amber-soft); box-shadow: inset 0 0 0 1px var(--amber-line);
}
.sec-glance__icon .ic { width: 20px; height: 20px; }
.sec-glance__value { font: 600 1.1875rem/1.25 var(--display); letter-spacing: -.025em; color: var(--ink); }
.sec-glance__text { font-size: var(--fs-small); line-height: 1.55; color: var(--body); }

@media (min-width: 640px) {
  .sec-glance { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sec-glance__item { grid-template-columns: minmax(0, 1fr); padding: 26px 26px 28px; }
  .sec-glance__icon { grid-row: auto; margin-bottom: 12px; }
  .sec-glance__item + .sec-glance__item { border-top: 0; }
  .sec-glance__item:nth-child(even) { border-left: 1px solid rgba(34, 37, 34, .08); }
  .sec-glance__item:nth-child(n+3) { border-top: 1px solid rgba(34, 37, 34, .08); }
}
@media (min-width: 1024px) {
  .sec-glance { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .sec-glance__item { padding: 30px 28px 32px; }
  .sec-glance__item:nth-child(n+3) { border-top: 0; }
  .sec-glance__item + .sec-glance__item { border-left: 1px solid rgba(34, 37, 34, .08); }
}
@media (min-width: 1920px) {
  .sec-glance { max-width: 1320px; }
  .sec-glance__value { font-size: 1.375rem; }
}

/* ---------------------------------------------------------------------
   2. Clauses (Concept C ledger, light)
--------------------------------------------------------------------- */
.sec-index { margin: calc(var(--head-gap) * -.45) auto clamp(2rem, 1.4rem + 2vw, 3rem); }
.sec-index ul {
  display: flex; gap: 8px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity;
  padding: 4px 16px 8px; margin-inline: calc(-1 * var(--gutter)); scrollbar-width: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 16px, #000 calc(100% - 24px), transparent);
          mask-image: linear-gradient(90deg, transparent, #000 16px, #000 calc(100% - 24px), transparent);
}
.sec-index ul::-webkit-scrollbar { display: none; }
.sec-index li { flex: none; scroll-snap-align: start; }
.sec-index a {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px 0 12px; border-radius: var(--r-pill);
  font: 500 .875rem/1 var(--sans); color: var(--body); white-space: nowrap;
  background: rgba(255, 255, 255, .72); border: 1px solid var(--line);
  transition: color var(--dur-hover) ease, border-color var(--dur-hover) ease, background-color var(--dur-hover) ease;
}
.sec-index a b { font: 600 .8125rem/1 var(--display); color: var(--amber-ink); font-variant-numeric: tabular-nums; }
@media (hover: hover) and (pointer: fine) {
  .sec-index a:hover { color: var(--ink); border-color: var(--amber-line); background: var(--paper); }
}
@media (min-width: 640px) {
  .sec-index ul { flex-wrap: wrap; justify-content: center; overflow: visible; margin-inline: 0; padding: 0; -webkit-mask-image: none; mask-image: none; }
  .sec-index { max-width: 54rem; }
}
@media (min-width: 1140px) { .sec-index a { min-height: 38px; } }

.sec-clauses { display: grid; grid-template-columns: minmax(0, 1fr); max-width: 1120px; margin: 0 auto; border-top: 1px solid var(--line2); }
.sec-clause {
  display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 0 12px;
  padding: 22px 0 24px; border-bottom: 1px solid var(--line);
}
.sec-clause__n { font: 600 1.25rem/1.25 var(--display); letter-spacing: -.02em; color: var(--amber-ink); font-variant-numeric: tabular-nums; }
.sec-clause h3 { font-size: clamp(1.1875rem, 1.1rem + .4vw, 1.4375rem); letter-spacing: -.025em; line-height: 1.25; }
.sec-clause p { margin-top: 8px; font-size: var(--fs-small); line-height: 1.65; color: var(--body); }
.sec-clause__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.sec-clause__tags li {
  display: inline-flex; align-items: center; min-height: 26px; padding: 2px 10px; border-radius: var(--r-pill);
  font: 500 .8125rem/1.3 var(--sans); color: var(--muted); background: rgba(255, 255, 255, .7); border: 1px solid var(--line-soft);
}
.sec-clause__tags li:has(a) { padding: 0; border: 0; background: none; }
.sec-clause__tags .inline-link { display: inline-flex; align-items: center; min-height: 26px; padding: 2px 4px; font-size: .8125rem; color: var(--amber-ink); }
@media (pointer: coarse) { .sec-clause__tags .inline-link { min-height: 44px; margin-block: -9px; } }

@media (min-width: 640px) {
  .sec-clause { grid-template-columns: 56px minmax(0, 1fr); padding: 28px 0 30px; }
  .sec-clause__n { font-size: 1.5rem; }
}
@media (min-width: 1024px) {
  .sec-clauses { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(3rem, 1rem + 4vw, 5rem); }
  .sec-clause { padding: 32px 0 34px; }
}
@media (min-width: 1920px) {
  .sec-clauses { max-width: 1240px; }
  .sec-clause p { font-size: 1.0313rem; }
}

.sec-fiduciary {
  display: flex; align-items: flex-start; gap: 12px; max-width: 46rem; margin: clamp(2rem, 1.5rem + 2vw, 3rem) auto 0;
  padding: 16px 20px; border-radius: var(--r-md); background: var(--paper); border: 1px solid var(--line);
  font-size: var(--fs-small); line-height: 1.6; color: var(--body); text-align: left;
}
.sec-fiduciary .ic { width: 20px; height: 20px; margin-top: 1px; color: var(--ok); }
@media (min-width: 640px) { .sec-fiduciary { align-items: center; padding: 18px 24px; } }

/* ---------------------------------------------------------------------
   3. What a client sees (real capture + lettered callouts)
--------------------------------------------------------------------- */
.sec-client__split { --split-max: 1160px; align-items: center; }
.sec-client__frame { width: 100%; max-width: 440px; margin-inline: auto; }
@media (min-width: 640px) { .sec-client__frame { max-width: none; } }
.sec-callouts { display: grid; gap: 0; border-top: 1px solid var(--line); }
.sec-callouts li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 0 14px; padding: 18px 0; border-bottom: 1px solid var(--line); text-align: left; }
.sec-callouts__n {
  width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; margin-top: 1px;
  font: 600 .875rem/1 var(--display); color: var(--amber-ink); background: var(--amber-soft); box-shadow: inset 0 0 0 1px var(--amber-line);
}
.sec-callouts b { font: 600 1.0938rem/1.35 var(--display); letter-spacing: -.018em; color: var(--ink); }
.sec-callouts p { margin-top: 4px; font-size: var(--fs-small); line-height: 1.6; color: var(--body); }
@media (min-width: 640px) and (max-width: 899px) { .sec-client__notes { max-width: 34rem; margin-inline: auto; } }
@media (min-width: 1920px) { .sec-client__split { --split-max: 1300px; } }

/* ---------------------------------------------------------------------
   4. Data path (inside the one forest band)
--------------------------------------------------------------------- */
.sec-path .section-head .lead { max-width: 44rem; }
.dp { max-width: 1120px; margin: 0 auto; }
.dp__flow { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: stretch; }

.dp__node, .dp__provider {
  display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 14px; align-items: center;
  padding: 16px 18px; border-radius: var(--r-lg); text-align: left;
  background: #ffffff0d; border: 1px solid var(--line);
}
.dp__node b, .dp__provider b { font: 600 1.0625rem/1.3 var(--display); letter-spacing: -.02em; color: var(--ink); }
.dp__node > span:not(.dp__icon), .dp__provider > span:not(.dp__icon) { grid-column: 2; font-size: .875rem; line-height: 1.5; color: var(--muted); }
.dp__icon { grid-row: span 2; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: var(--ink); background: #ffffff12; box-shadow: inset 0 0 0 1px var(--line); }
.dp__icon .ic { width: 20px; height: 20px; }
.dp__node--out .dp__icon { color: #1A2420; background: var(--amber); box-shadow: none; }

.dp__core {
  position: relative; padding: 18px; border-radius: var(--r-xl); text-align: left;
  background: linear-gradient(165deg, #ffffff17, #ffffff08); border: 1px solid #f2b47a59;
  box-shadow: 0 0 0 4px #e8934a14, 0 30px 60px -36px #000000b0;
}
.dp__core-label { display: flex; align-items: center; gap: 8px; font: 600 .8125rem/1.3 var(--sans); color: var(--amber-ink); }
.dp__core-label .ic { width: 15px; height: 15px; }
.dp__engines { display: grid; gap: 8px; margin-top: 12px; }
.dp__engines li { display: grid; gap: 2px; padding: 12px 14px; border-radius: var(--r-sm); background: #00000026; border: 1px solid var(--line-soft); }
.dp__engines b { font: 600 .9688rem/1.3 var(--display); letter-spacing: -.015em; color: var(--ink); }
.dp__engines span { font-size: .8125rem; line-height: 1.45; color: var(--muted); }
.dp__core-foot { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-size: .8125rem; color: var(--body); }
.dp__core-foot::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px #a6d0b626; flex: none; }

/* wires: the scoring path (solid amber) and the narration branch (dashed, dim until switched on) */
.dp__wire, .dp__branch { position: relative; justify-self: center; width: 2px; height: 32px; }
.dp__wire { background: linear-gradient(var(--amber), color-mix(in srgb, var(--amber) 70%, transparent)); border-radius: 2px; }
.dp__branch {
  height: 40px; margin-top: 4px;
  background: repeating-linear-gradient(to bottom, var(--line2) 0 5px, transparent 5px 10px);
  transition: opacity .3s ease;
}
.dp__pulse { position: absolute; left: 50%; top: 0; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 3px #e8934a38, 0 0 12px 2px #e8934a73; opacity: 0; }
.dp__pulse--v { background: #F2B47A; }

.dp__provider { margin-top: 4px; border-style: dashed; border-color: var(--line2); background: transparent; transition: border-color .3s ease, background-color .3s ease; }
.dp__icon--out { background: transparent; color: var(--muted); }
.dp__provider-text { transition: color .2s ease; }

/* switched on */
.dp[data-narration="on"] .dp__branch { background: repeating-linear-gradient(to bottom, #F2B47A 0 5px, transparent 5px 10px); }
.dp[data-narration="on"] .dp__provider { border-color: #f2b47a80; background: #e8934a12; }
.dp[data-narration="on"] .dp__icon--out { color: var(--amber-ink); }
.dp[data-narration="on"] .dp__provider-text { color: var(--body); }

@media (prefers-reduced-motion: no-preference) {
  .dp.is-in .dp__wire .dp__pulse { animation: dp-down 2.6s var(--ease-in-out) infinite; }
  .dp.is-in .dp__wire--b .dp__pulse { animation-delay: 1.3s; }
  .dp.is-in[data-narration="on"] .dp__branch .dp__pulse { animation: dp-down 2.2s var(--ease-in-out) infinite; }
}
@keyframes dp-down { 0% { transform: translateY(0); opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { transform: translateY(var(--run, 32px)); opacity: 0; } }
@keyframes dp-right { 0% { transform: translateX(0); opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { transform: translateX(var(--run, 56px)); opacity: 0; } }
.dp__branch .dp__pulse { --run: 40px; }

/* switch */
.dp__control { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem); text-align: center; }
.dp-switch {
  display: inline-flex; align-items: center; gap: 12px; min-height: 52px; padding: 6px 18px 6px 8px; border-radius: var(--r-pill);
  background: #ffffff10; border: 1px solid var(--line2); color: var(--ink);
  font: 600 .9375rem/1.2 var(--sans);
  transition: background-color var(--dur-hover) ease, border-color var(--dur-hover) ease, transform var(--dur-press) var(--ease-out);
}
.dp-switch:active { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) { .dp-switch:hover { background: #ffffff17; border-color: #ffffff4d; } }
.dp-switch__track { position: relative; width: 50px; height: 30px; border-radius: 15px; background: #ffffff1f; box-shadow: inset 0 0 0 1px #ffffff26; flex: none; transition: background-color .22s ease; }
.dp-switch__thumb { position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #E9ECE4; box-shadow: 0 2px 6px #00000059; transition: transform .26s var(--ease-out); }
.dp-switch[aria-checked="true"] .dp-switch__track { background: var(--amber); box-shadow: none; }
.dp-switch[aria-checked="true"] .dp-switch__thumb { transform: translateX(20px); background: #fff; }
.dp-switch__state { min-width: 2.2em; padding: 3px 9px; border-radius: var(--r-pill); font: 600 .8125rem/1.2 var(--sans); color: var(--muted); background: #ffffff12; }
.dp-switch[aria-checked="true"] .dp-switch__state { color: #1A2420; background: #F2B47A; }
.dp__hint { max-width: 30rem; font-size: .875rem; line-height: 1.55; color: var(--muted); }

/* readout (live-readout look) */
.dp-readout { --panel-pad: 0; margin-top: clamp(1.75rem, 1.3rem + 1.6vw, 2.75rem); text-align: left; overflow: hidden; }
.dp-readout__head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; padding: 14px 18px; border-bottom: 1px solid var(--line); font: 600 .875rem/1.3 var(--sans); color: var(--ink); }
.dp-readout__live { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px #a6d0b626; }
.dp-readout__tag { margin-left: auto; padding: 3px 9px; border-radius: var(--r-pill); font: 500 .75rem/1.3 var(--sans); color: var(--muted); background: #ffffff12; }
.dp-readout__rows > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 14px; padding: 14px 18px; border-bottom: 1px solid var(--line-soft); }
.dp-readout__rows dt { grid-column: 1; font: 600 .8125rem/1.3 var(--sans); color: var(--amber-ink); }
.dp-readout__rows dd { margin: 0; }
.dp-readout__rows dd:not(.dp-badge) { grid-column: 1 / -1; font-size: .9375rem; line-height: 1.55; color: var(--body); }
.dp-readout__sample { color: var(--muted); }
.dp-badge { grid-column: 2; grid-row: 1; justify-self: end; align-self: start; display: inline-flex; align-items: center; gap: 6px; min-height: 24px; padding: 2px 10px; border-radius: var(--r-pill); font: 600 .75rem/1.3 var(--sans); white-space: nowrap; color: var(--muted); background: #ffffff12; }
.dp-badge--local { color: var(--ok); background: var(--ok-bg); }
.dp-badge--local::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.dp-badge--cloud { color: #F2B47A; background: #e8934a24; }
.dp-badge--cloud::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.dp-readout__foot { display: flex; align-items: flex-start; gap: 10px; padding: 14px 18px; font: 500 .8125rem/1.55 var(--mono); color: var(--muted); background: #0000001f; }
.dp-readout__foot::before { content: "›"; color: var(--amber-ink); font-weight: 600; }
.dp__note { max-width: 44rem; margin: 18px auto 0; font-size: .875rem; line-height: 1.6; color: var(--muted); text-align: center; }

/* tablet+: flow runs left to right, the narration branch drops from Sonder */
@media (min-width: 820px) {
  .dp__flow {
    grid-template-columns: minmax(0, 1fr) 56px minmax(0, 1.45fr) 56px minmax(0, 1fr);
    grid-template-rows: auto auto auto; align-items: center;
  }
  .dp__node--in { grid-column: 1; grid-row: 1; }
  .dp__wire--a { grid-column: 2; grid-row: 1; }
  .dp__core { grid-column: 3; grid-row: 1; }
  .dp__wire--b { grid-column: 4; grid-row: 1; }
  .dp__node--out { grid-column: 5; grid-row: 1; }
  .dp__branch { grid-column: 3; grid-row: 2; margin-top: 0; height: 48px; }
  .dp__branch .dp__pulse { --run: 48px; }
  .dp__provider { grid-column: 3; grid-row: 3; margin-top: 0; }
  .dp__node, .dp__provider { grid-template-columns: minmax(0, 1fr); row-gap: 4px; padding: 18px; }
  .dp__node .dp__icon, .dp__provider .dp__icon { grid-row: auto; margin-bottom: 8px; }
  .dp__node > span:not(.dp__icon), .dp__provider > span:not(.dp__icon) { grid-column: 1; }
  .dp__provider { grid-template-columns: 40px minmax(0, 1fr); column-gap: 14px; }
  .dp__provider .dp__icon { grid-row: span 2; margin-bottom: 0; }
  .dp__provider > span:not(.dp__icon) { grid-column: 2; }
  .dp__wire { justify-self: stretch; width: auto; height: 2px; background: linear-gradient(90deg, color-mix(in srgb, var(--amber) 70%, transparent), var(--amber)); }
  .dp__wire .dp__pulse { left: 0; top: 50%; margin: -4px 0 0 -4px; --run: 56px; }
  .dp__core { padding: 20px; }
  .dp-readout__head { padding: 16px 24px; }
  .dp-readout__rows > div { grid-template-columns: 190px minmax(0, 1fr) auto; align-items: baseline; padding: 16px 24px; }
  .dp-readout__rows dd:not(.dp-badge) { grid-column: 2; }
  .dp-badge { grid-column: 3; grid-row: auto; }
  .dp-readout__foot { padding: 14px 24px; }
}
@media (min-width: 820px) and (prefers-reduced-motion: no-preference) {
  .dp.is-in .dp__wire .dp__pulse { animation-name: dp-right; }
}
@media (min-width: 1024px) {
  .dp__flow { grid-template-columns: minmax(0, 1fr) 72px minmax(0, 1.35fr) 72px minmax(0, 1fr); }
  .dp__wire .dp__pulse { --run: 72px; }
  .dp__core { padding: 22px; }
}
@media (min-width: 1920px) { .dp { max-width: 1240px; } }

/* ---------------------------------------------------------------------
   5. Boundaries
--------------------------------------------------------------------- */
.sec-bounds__grid { max-width: 1160px; margin-inline: auto; }
.sec-bound { text-align: left; }
.sec-bound__x { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: var(--bad); background: var(--bad-bg); box-shadow: inset 0 0 0 1px var(--bad-line); }
.sec-bound__x .ic { width: 18px; height: 18px; stroke-width: 2; }
.sec-bound h3 { margin-top: 18px; font-size: var(--fs-h4); line-height: 1.3; }
.sec-bound p { margin-top: 10px; font-size: var(--fs-small); line-height: 1.65; color: var(--body); }
@media (min-width: 720px) and (max-width: 1023px) {
  .sec-bounds__grid { grid-template-columns: minmax(0, 1fr); max-width: 40rem; }
  .sec-bounds__grid > :last-child:nth-child(odd) { width: auto; }
  .sec-bound { display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 18px; }
  .sec-bound__x { grid-row: span 2; }
  .sec-bound h3 { margin-top: 6px; }
}

/* ---------------------------------------------------------------------
   6. Sub-processors ledger
--------------------------------------------------------------------- */
.sec-ledger { --card-pad: 0; max-width: 1000px; margin-inline: auto; overflow: hidden; }
.sec-table { width: 100%; text-align: left; }
.sec-table thead { display: none; }
.sec-table tr { display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px; padding: 16px 18px; border-top: 1px solid var(--line-soft); }
.sec-table tbody tr:first-child { border-top: 0; }
.sec-table th[scope="row"] { font: 600 1.0313rem/1.3 var(--display); letter-spacing: -.015em; color: var(--ink); }
.sec-table td { font-size: var(--fs-small); line-height: 1.55; color: var(--body); }
.sec-table td .status { margin-top: 4px; white-space: normal; text-align: left; }
.sec-table tbody tr:last-child { background: color-mix(in srgb, var(--amber-soft) 55%, transparent); }
@media (min-width: 720px) {
  .sec-table thead { display: table-header-group; }
  .sec-table tr { display: table-row; padding: 0; }
  .sec-table th, .sec-table td { padding: 16px 24px; border-top: 1px solid var(--line-soft); vertical-align: middle; }
  .sec-table thead th { border-top: 0; padding-block: 14px; font: 600 .8125rem/1.3 var(--sans); color: var(--muted); background: var(--panel-2); border-bottom: 1px solid var(--line); }
  .sec-table tbody tr:first-child > * { border-top: 0; }
  .sec-table td .status { margin-top: 0; white-space: nowrap; }
  .sec-table th[scope="row"] { width: 32%; }
}
.sec-subs__notes { display: grid; gap: 10px; max-width: 1000px; margin: 20px auto 0; }
.sec-subs__notes p { display: flex; align-items: flex-start; gap: 10px; font-size: var(--fs-small); line-height: 1.55; color: var(--body); text-align: left; }
.sec-subs__notes .ic { width: 18px; height: 18px; margin-top: 2px; color: var(--muted); }
@media (min-width: 720px) { .sec-subs__notes { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; } }

/* ---------------------------------------------------------------------
   7. FAQ + contact
--------------------------------------------------------------------- */
.sec-contact { max-width: var(--container-prose); margin: clamp(2.5rem, 2rem + 2vw, 4rem) auto 0; text-align: left; }
.sec-contact__lead { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; align-items: start; }
.sec-contact__icon { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; color: var(--amber-ink); background: var(--amber-soft); box-shadow: inset 0 0 0 1px var(--amber-line); }
.sec-contact__icon .ic { width: 20px; height: 20px; }
.sec-contact h3 { font-size: var(--fs-h4); line-height: 1.3; }
.sec-contact p { margin-top: 6px; font-size: var(--fs-small); line-height: 1.6; color: var(--body); }
.sec-legal { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; padding-top: 18px; border-top: 1px solid rgba(34, 37, 34, .08); }
.sec-legal a {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px; border-radius: var(--r-pill);
  font: 500 .875rem/1 var(--sans); color: var(--body); background: rgba(255, 255, 255, .7); border: 1px solid var(--line);
  transition: color var(--dur-hover) ease, border-color var(--dur-hover) ease;
}
.sec-legal a .ic { width: 14px; height: 14px; color: var(--muted); transition: transform .2s var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .sec-legal a:hover { color: var(--amber-ink); border-color: var(--amber-line); }
  .sec-legal a:hover .ic { transform: translate(1px, -1px); color: var(--amber-ink); }
}
@media (min-width: 1140px) { .sec-legal a { min-height: 38px; } }

/* ---------------------------------------------------------------------
   8. Closing CTA
--------------------------------------------------------------------- */
.sec-final { display: flex; flex-direction: column; align-items: center; text-align: center; overflow: hidden; --panel-pad: clamp(2.5rem, 1.6rem + 4vw, 5rem) clamp(1.25rem, .6rem + 3vw, 4rem); }
.sec-final__mark { --mark: clamp(56px, 3rem + 2vw, 84px); margin-bottom: clamp(1.25rem, 1rem + 1vw, 2rem); }
.sec-final h2 { max-width: 14ch; }
.sec-final .lead { margin-top: var(--s-4); max-width: 34rem; }
.sec-final__note { margin-top: var(--s-4); font-size: var(--fs-caption); color: var(--muted); }

/* ---------------------------------------------------------------------
   9. Accessibility modes (mirror site.css)
--------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .dp__pulse { display: none; }
  .dp-switch:active { transform: none; }
}
@media (prefers-reduced-transparency: reduce), (prefers-contrast: more) {
  .sec-index a, .sec-clause__tags li, .sec-legal a { background: var(--paper); border-color: var(--line2); }
  .sec-index ul { -webkit-mask-image: none; mask-image: none; }
  .dp__core, .dp__node { background: var(--panel); }
}
@media (forced-colors: active) {
  .dp__pulse { display: none; }
  .dp__wire { background: CanvasText; }
  .dp__branch { background: none; border-left: 2px dashed CanvasText; width: 0; }
  .dp-switch { border: 1px solid ButtonText; }
  .dp-switch__track { forced-color-adjust: none; background: Canvas; box-shadow: inset 0 0 0 1px CanvasText; }
  .dp-switch__thumb { background: CanvasText; }
  .dp-switch[aria-checked="true"] .dp-switch__track { background: Highlight; }
  .sec-glance__icon, .sec-bound__x, .sec-callouts__n, .sec-contact__icon { border: 1px solid CanvasText; }
}
@media print {
  .sec-index, .dp__control, .dp__pulse { display: none !important; }
}

/* ---------------------------------------------------------------------
   10. Refinements (b2)
--------------------------------------------------------------------- */
.sec-hero__stamp { display: block; text-align: center; }
.sec-hero__stamp .ic { display: inline-block; vertical-align: -3px; margin: 0 6px 0 0; }
.sec-index ul { scroll-padding-inline: 16px; }
.sec-final .lead { margin-top: var(--s-5); }

/* provider: a kicker says where it lives */
.dp__provider { grid-template-columns: 40px minmax(0, 1fr); }
.dp__provider .dp__icon { grid-row: span 3; }
.dp__provider-where { grid-column: 2; font: 600 .75rem/1.4 var(--sans); color: var(--muted); }
.dp__provider > span.dp__provider-where { font-size: .75rem; }
/* phones: the provider is not on the scoring line, so it is not drawn as one */
@media (max-width: 819px) {
  .dp__branch { display: none; }
  .dp__provider { margin-top: 20px; }
}
@media (min-width: 820px) {
  .dp__provider .dp__icon { grid-row: span 3; margin-bottom: 0; }
}
.sec-glance__item { align-content: start; }
@media (min-width: 820px) {
  .dp__provider { grid-column: 2 / 5; }
}
.sec-hero { z-index: 1; }
.sec-bound h3 { text-wrap: pretty; }
@media (max-width: 559px) {
  .dp-switch { width: min(100%, 24rem); padding-right: 12px; font-size: .875rem; }
  .dp-switch__label { flex: 1; text-align: left; }
}
/* V2: concise controls with the complete implementation notes one step away. */
body[data-page="security"] .section { --section-y: clamp(3.5rem, 3rem + 2vw, 6rem); }
.sec-hero { --under-nav-pad: clamp(2.25rem,1.5rem + 3vw,4.5rem); padding-bottom: 40px; }
.sec-hero__title { font-size: clamp(2.5rem,1.4rem + 4.7vw,5.25rem); }
.sec-glance { --card-pad: 0; border-radius: 22px; box-shadow: 0 12px 32px -26px #203c353d; overflow: hidden; }
.sec-glance-wrap { margin-top: 42px; }
.sec-v2-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 28px; }
.sec-v2-nav a { display: inline-flex; min-height: 44px; align-items: center; padding: 8px 16px; border: 1px solid var(--line); border-radius: var(--r-pill); font-size: var(--fs-small); color: var(--body); background: var(--paper); }
.sec-records { max-width: 960px; margin-inline: auto; border: 1px solid var(--line); border-radius: 20px; background: var(--paper); overflow: clip; }
.sec-record + .sec-record { border-top: 1px solid var(--line); }
.sec-record > summary { display: grid; grid-template-columns: 36px minmax(0,1fr) 20px; align-items: center; gap: 16px; padding: 22px 26px; min-height: 78px; cursor: pointer; list-style: none; font: 600 clamp(1.063rem,1rem + .2vw,1.25rem)/1.4 var(--display); letter-spacing: -.02em; }
.sec-record > summary::-webkit-details-marker, .sec-provider-details > summary::-webkit-details-marker { display: none; }
.sec-record > summary::after, .sec-provider-details > summary::after { content: '+'; color: var(--amber-ink); font: 400 1.5rem/1 var(--sans); }
.sec-record[open] > summary::after, .sec-provider-details[open] > summary::after { content: '−'; }
.sec-record[open] > summary { padding-bottom: 12px; }
.sec-record__n { color: var(--amber-ink); font-variant-numeric: tabular-nums; font-size: 1rem; }
.sec-record__body { padding: 0 62px 25px 78px; color: var(--body); font-size: var(--fs-body); line-height: 1.65; max-width: 850px; }
.sec-record__body p + p { margin-top: 12px; }
.sec-clause__tags .inline-link { min-height: 44px; margin-block: -9px; }
.sec-fiduciary { max-width: 60rem; }
.sec-provider-details { max-width: 1000px; margin-inline: auto; border: 1px solid var(--line); border-radius: 20px; background: var(--paper); overflow: clip; }
.sec-provider-details > summary { display: grid; grid-template-columns: minmax(0,1fr) 20px; column-gap: 24px; align-items: center; min-height: 80px; padding: 22px 26px; list-style: none; cursor: pointer; font: 600 1.125rem/1.3 var(--display); }
.sec-provider-details > summary span { grid-column: 1; margin-top: 5px; color: var(--muted); font: 400 var(--fs-small)/1.5 var(--sans); }
.sec-provider-details > summary::after { grid-column: 2; grid-row: 1/3; }
.sec-provider-details .sec-ledger { border: 0; border-radius: 0; box-shadow: none; }
.sec-bound, .sec-contact { box-shadow: none; }
.sec-final .t-display { font-size: clamp(2rem,1.25rem + 3vw,3.75rem); }
@media (max-width: 639px) {
 .sec-record > summary { grid-template-columns: 25px minmax(0,1fr) 18px; gap: 10px; padding: 20px 17px; }
 .sec-record__body { padding: 0 20px 24px; font-size: 1rem; }
 .sec-provider-details > summary { padding: 20px; }
 .sec-v2-nav { gap: 6px; }
 .sec-v2-nav a { padding-inline: 13px; }
}
@media (forced-colors: active) { .sec-records, .sec-record, .sec-provider-details, .sec-v2-nav a { border-color: CanvasText; } }
.sec-v2-readout { margin-top: 26px; border: 1px solid var(--line); border-radius: 18px; background: #263b33; overflow: clip; }
.sec-v2-readout > summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 80px; padding: 20px 24px; list-style: none; cursor: pointer; color: var(--ink); font: 600 1.0625rem/1.4 var(--display); }
.sec-v2-readout > summary::-webkit-details-marker { display: none; }
.sec-v2-readout > summary::after { content: '+'; color: var(--amber-ink); font: 400 1.5rem/1 var(--sans); }
.sec-v2-readout[open] > summary::after { content: '−'; }
.sec-v2-readout > summary small { display: block; margin-top: 4px; font: 400 var(--fs-caption)/1.5 var(--sans); color: var(--muted); }
.sec-v2-readout .dp-readout { margin: 0; border-top: 1px solid var(--line); background: #20332c; border-radius: 0; }
@media (max-width: 639px) { .sec-v2-readout > summary { padding: 18px; } }
@media (forced-colors: active) { .sec-v2-readout, .sec-v2-readout .dp-readout { background: Canvas; border-color: CanvasText; } }
.sec-record > summary:focus-visible, .sec-provider-details > summary:focus-visible, .sec-v2-readout > summary:focus-visible { outline: 2px solid var(--focus); outline-offset: -5px; border-radius: 14px; }
@media (hover: hover) and (pointer: fine) { .sec-record > summary:hover, .sec-provider-details > summary:hover { background: var(--band); } .sec-v2-readout > summary:hover { background: #ffffff09; } }

/* Final: only expose the switch after its behaviour is available. */
.dp:not(.is-interactive) .dp__control { display: none; }
.dp.is-instant .dp-switch__track,
.dp.is-instant .dp-switch__thumb,
.dp.is-instant .dp__provider,
.dp.is-instant .dp__provider-text,
.dp.is-instant .dp__branch { transition: none; }
