/*
  Privacy (privacy.php): a quiet reading page. Builds on examples-invite.css (the page, the breadcrumb, the reveals).
  A pale morning wash with the lake's blues drifting through it, the title above the policy, and the policy in one
  column; on a wide screen a small list of its parts down the left. The page deepens into the footer's slate.
*/
body.pv-page { background: #eef0f1; }
.pv { color: var(--ink); background:
  radial-gradient(50% 18% at 12% 0%, rgb(176 202 226 / .55), transparent 72%),    /* soft sky blue */
  radial-gradient(44% 16% at 88% 6%, rgb(242 220 180 / .45), transparent 70%),    /* a little morning gold */
  radial-gradient(56% 14% at 20% 30%, rgb(196 220 212 / .38), transparent 70%),   /* sea-glass */
  radial-gradient(56% 14% at 84% 52%, rgb(214 206 232 / .34), transparent 70%),   /* lilac mist */
  radial-gradient(60% 14% at 24% 76%, rgb(200 212 232 / .4), transparent 70%),    /* periwinkle */
  linear-gradient(180deg, #e9eef3 0%, #f2efe8 18%, #eef0ec 40%, #f0ece9 62%, #e9ebef 84%, #e3e7ec 100%); }

/* ---- the opening ---- */
.pv-top { width: min(100% - 2 * var(--gutter), 46rem); margin: 0 auto; padding: clamp(8rem, 20vh, 12rem) 0 clamp(3rem, 8vh, 5rem); text-align: center; }
.pv-top .ab-crumb { justify-content: center; }
.pv-title { margin: 0; font-family: var(--font-display); font-weight: var(--weight-display); font-size: clamp(2.8rem, 1.7rem + 4vw, 5.2rem); line-height: 1.04; letter-spacing: -.01em; }
.pv-date { margin: 1.1rem 0 0 !important; font-family: var(--font-body); font-size: .82rem; letter-spacing: .18em; text-transform: uppercase; opacity: .68; }
.pv-lede { max-width: 36rem; margin: clamp(1.8rem, 4vh, 2.6rem) auto 0 !important; font-family: var(--font-display); font-style: italic; font-size: clamp(1.2rem, 1.02rem + .6vw, 1.5rem); line-height: 1.55; text-wrap: pretty; }

/* ---- the policy ---- */
.pv-body { width: min(100% - 2 * var(--gutter), 40rem); margin: 0 auto; padding-bottom: clamp(5rem, 14vh, 9rem); }
.pv-text { font-size: clamp(1.06rem, 1rem + .25vw, 1.2rem); line-height: 1.72; }
.pv-text p { margin: 0 0 1.1rem; text-wrap: pretty; }
.pv-sec { padding-top: clamp(2.4rem, 6vh, 3.6rem); scroll-margin-top: 14vh; }
.pv-sec:first-child { padding-top: 0; border-top: 0; }
.pv-sec + .pv-sec { border-top: 1px solid rgb(31 36 42 / .1); }
.pv-h { margin: 0 0 1.1rem; font-family: var(--font-display); font-weight: 400; font-size: clamp(1.7rem, 1.25rem + 1.5vw, 2.4rem); line-height: 1.15; letter-spacing: -.005em; text-wrap: balance; }
.pv-sub { margin: 2rem 0 .7rem; font-family: var(--font-body); font-weight: 400; font-size: .86rem; letter-spacing: .18em; text-transform: uppercase; opacity: .78; }
.pv-h + .pv-sub { margin-top: 0; }
.pv-list { margin: 0 0 1.2rem; padding: 0; list-style: none; }
.pv-list li { position: relative; padding: 0 0 .7rem 1.4rem; }
.pv-list li::before { content: ""; position: absolute; left: .2rem; top: .78em; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .45; }
.pv-list strong { font-weight: 600; }
.pv-plain { font-family: var(--font-display); font-style: italic; font-size: 1.08em; }   /* the promise, set a little apart */
.pv-sec--care { margin: clamp(1.4rem, 3vh, 2rem) 0 0; padding: clamp(1.6rem, 4vh, 2.2rem) clamp(1.2rem, 3vw, 1.8rem) .6rem; border-top: 0 !important; border-left: 2px solid rgb(31 36 42 / .5); background: rgb(255 255 255 / .38); }
.pv-sec--care + .pv-sec { border-top: 0; }

/* links: the site's own, a hairline beneath that darkens on hover */
.pv-a { color: inherit; text-decoration: none; background: linear-gradient(rgb(31 36 42 / .35), rgb(31 36 42 / .35)) 0 100% / 100% 1px no-repeat; padding-bottom: .08em; transition: background-size 500ms var(--ease-soft); }
.pv-a:hover, .pv-a:focus-visible { background-image: linear-gradient(currentColor, currentColor); }

/* ---- the list of its parts, down the left on a wide screen ---- */
.pv-nav { display: none; }
@media (min-width: 1180px) {
  .pv-body { display: grid; grid-template-columns: 13rem minmax(0, 40rem); gap: clamp(3rem, 5vw, 5rem); width: min(100% - 2 * var(--gutter), 58rem); transform: translateX(-9rem); }   /* the policy stays where it would be alone, centred under the title; the list sits out to its left */
  .pv-nav { position: sticky; top: 22vh; align-self: start; display: block; border-left: 1px solid rgb(31 36 42 / .14); transition: opacity 600ms var(--ease-soft), visibility 0s; }
  .pv-nav.is-gone { opacity: 0; visibility: hidden; transition: opacity 500ms var(--ease-soft), visibility 0s linear 500ms; }
  .pv-nav a { display: block; margin-left: -1px; padding: .38rem 0 .38rem 1rem; border-left: 1px solid transparent; color: var(--ink); font-family: var(--font-display); font-size: 1rem; line-height: 1.3; text-decoration: none; opacity: .55; transition: opacity 400ms var(--ease-soft), border-color 500ms var(--ease-soft); }
  .pv-nav a:hover { opacity: .9; }
  .pv-nav a[aria-current="true"] { opacity: 1; border-left-color: var(--ink); }
  .pv-nav a:focus-visible { outline: 1px solid var(--ink); outline-offset: 3px; }
}

/* ---- the footer stays light: the morning wash easing into a pale dusk blue, with dark words (as Writing's light page) ---- */
body.pv-page .site-footer { position: relative; z-index: 2; min-height: 0; margin-top: 0; padding-top: clamp(3rem, 8vh, 5rem); color: #1f242a; -webkit-mask-image: none; mask-image: none;
  background: linear-gradient(180deg, #e3e7ec 0%, #e4e3ea 20%, #e2dde3 40%, #dcd8e0 60%, #d2d4de 80%, #c8cdd9 100%); }
body.pv-page .site-footer::before { display: none; }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  :root:not([data-theme="dark"]) body.pv-page .site-footer__role {   /* the line under the signature: dark, its glow a deeper ink passing through */
    background-image: linear-gradient(90deg, rgb(31 36 42 / .72) 0%, rgb(31 36 42 / .72) 38%, #07090c 50%, rgb(31 36 42 / .72) 62%, rgb(31 36 42 / .72) 100%);
    filter: none;
  }
}
:root:not([data-theme="dark"]) body.pv-page .site-footer__role.is-chars { color: rgb(31 36 42 / .72); background: none; }
:root:not([data-theme="dark"]) body.pv-page .site-footer__role.is-chars .bt-char { animation-name: pv-role-char-ink; }
@keyframes pv-role-char-ink {
  0%, 22%, 100% { color: rgb(31 36 42 / .72); text-shadow: none; }
  9% { color: #07090c; text-shadow: 0 0 12px rgb(255 255 255 / .55); }
}
@media (hover: hover) { :root:not([data-theme="dark"]) body.pv-page .site-footer__role-a:hover, :root:not([data-theme="dark"]) body.pv-page .site-footer__role-a:focus-visible { box-shadow: inset 0 -1px 0 rgb(31 36 42 / .32); } }

/* ---------------------------------------------------------------- dark: the sun / moon top right (iv_theme) sets
   html[data-theme="dark"]. The same calm reading page at night: a deep lake blue easing through teal and slate, the words
   in the paper's light, the footer in the evening slate */
:root[data-theme="dark"] body.pv-page { background: #16222d; }
:root[data-theme="dark"] .pv { color: var(--paper); background:
  radial-gradient(50% 18% at 12% 0%, rgb(40 110 170 / .4), transparent 72%),      /* the sky's clear blue */
  radial-gradient(44% 16% at 88% 6%, rgb(206 160 90 / .16), transparent 70%),     /* a little dawn gold */
  radial-gradient(56% 14% at 20% 30%, rgb(46 120 116 / .26), transparent 70%),    /* the water's green */
  radial-gradient(56% 14% at 84% 52%, rgb(70 120 150 / .22), transparent 70%),    /* lake blue */
  radial-gradient(60% 14% at 24% 76%, rgb(128 146 170 / .2), transparent 70%),    /* the cloud's steel light */
  linear-gradient(180deg, #143c5e 0%, #17385a 10%, #1a3248 24%, #183236 40%, #16303b 54%, #1d3046 68%, #2a3a4c 84%, #2f3d4c 100%); }
:root[data-theme="dark"] .pv-sec + .pv-sec { border-top-color: rgb(243 237 227 / .12); }
:root[data-theme="dark"] .pv-sec--care { border-left-color: rgb(243 237 227 / .55); background: rgb(255 255 255 / .06); }
:root[data-theme="dark"] .pv-a { background-image: linear-gradient(rgb(243 237 227 / .4), rgb(243 237 227 / .4)); }
:root[data-theme="dark"] .pv-a:hover, :root[data-theme="dark"] .pv-a:focus-visible { background-image: linear-gradient(currentColor, currentColor); }
@media (min-width: 1180px) {
  :root[data-theme="dark"] .pv-nav { border-left-color: rgb(243 237 227 / .2); }
  :root[data-theme="dark"] .pv-nav a { color: var(--paper); }
  :root[data-theme="dark"] .pv-nav a[aria-current="true"] { border-left-color: var(--paper); }
}
.pv, body.pv-page { transition: background-color 900ms var(--ease-soft), color 900ms var(--ease-soft); }
/* the footer at night: the page's slate deepening, light words */
:root[data-theme="dark"] body.pv-page .site-footer { color: #f6efe4; background: linear-gradient(180deg, #2f3d4c 0%, #2b3a49 30%, #243342 60%, #1e2b38 100%); }
/* the sun / moon: dark ink on the light page, light on the dark */
.pv-page .wx-theme { --wx-chrome: var(--ink); }
:root[data-theme="dark"] .pv-page .wx-theme { --wx-chrome: var(--paper); }
.pv-sec--care:first-child { margin-top: 0; padding-top: clamp(1.6rem, 4vh, 2.2rem); }   /* a panel that opens the page (Terms) keeps its room above the heading */
