/* Endelir legal pages ---------------------------------------------------
   Shared by every document under /legal/.

   RESKINNED 10 Sep 2026 from the retired "Bone" kit to Iris. These six pages
   were missed by the 28 Aug rebrand because they carry their OWN stylesheet --
   a check of the site's main CSS came back clean and nobody opened this file.
   They were still on Barlow with a lead/wash/paper palette while every other
   page on the domain ran Bricolage Grotesque and the teal-violet tokens.

   That mattered more than a website inconsistency: the phone app links
   straight here for Privacy, Terms and Delete-your-account, so a customer --
   or an App Store reviewer following the deletion flow -- left the app and
   landed on a different brand.

   THE VARIABLE NAMES ARE DELIBERATELY UNCHANGED. Only the values moved. The
   140 lines of layout below reference --lead, --ink, --paper and the rest, and
   renaming them would have turned a palette swap into a rewrite of a file that
   renders the privacy policy. The names now read as roles rather than colours,
   which is what they should always have been.

   FONTS STAY SELF-HOSTED, and the original reason still stands even though the
   homepage does not honour it: these pages carry the privacy policy, and they
   should not hand every reader to a third-party font host in order to read it.
   The two Iris faces are in /fonts/iris/ alongside their licence, exactly as
   Barlow was. The blocks below are Google's own @font-face output with the src
   URLs rewritten to local copies, so the unicode-range subsetting is preserved
   rather than guessed at.
------------------------------------------------------------------------ */

@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url(/fonts/iris/bricolage-grotesque-1.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url(/fonts/iris/bricolage-grotesque-2.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url(/fonts/iris/bricolage-grotesque-3.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 700;
  font-stretch: 100%;
  font-display: swap;
  src: url(/fonts/iris/bricolage-grotesque-1.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 700;
  font-stretch: 100%;
  font-display: swap;
  src: url(/fonts/iris/bricolage-grotesque-2.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 700;
  font-stretch: 100%;
  font-display: swap;
  src: url(/fonts/iris/bricolage-grotesque-3.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 800;
  font-stretch: 100%;
  font-display: swap;
  src: url(/fonts/iris/bricolage-grotesque-1.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 800;
  font-stretch: 100%;
  font-display: swap;
  src: url(/fonts/iris/bricolage-grotesque-2.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 800;
  font-stretch: 100%;
  font-display: swap;
  src: url(/fonts/iris/bricolage-grotesque-3.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/iris/plus-jakarta-sans-1.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/iris/plus-jakarta-sans-2.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/iris/plus-jakarta-sans-3.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/iris/plus-jakarta-sans-4.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/iris/plus-jakarta-sans-1.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/iris/plus-jakarta-sans-2.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/iris/plus-jakarta-sans-3.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/iris/plus-jakarta-sans-4.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/iris/plus-jakarta-sans-1.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/iris/plus-jakarta-sans-2.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/iris/plus-jakarta-sans-3.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/iris/plus-jakarta-sans-4.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/iris/plus-jakarta-sans-1.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/iris/plus-jakarta-sans-2.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/iris/plus-jakarta-sans-3.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/iris/plus-jakarta-sans-4.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/fonts/iris/plus-jakarta-sans-1.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/fonts/iris/plus-jakarta-sans-2.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/fonts/iris/plus-jakarta-sans-3.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/fonts/iris/plus-jakarta-sans-4.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* Iris, light. Values mirror site/css/site.css so the legal pages and the
     marketing site cannot drift apart again. */
  --lead:      #0a6b61;   /* links, eyebrows, section accents. Was accent-700 #0f9e90,
                             2.87-3.13:1 on this paper; this is 5.28:1 or better (25 Sep 2026) */
  --lead-deep: #0b7d72;   /* accent-800 */
  --lead-soft: #586074;   /* neutral-700 — focus rings, section numbers */
  --wash:      #e7e9f3;   /* neutral-200 — note + fill backgrounds */
  --ink:       #1a2130;   /* color-text  — body copy, footer ground */
  --ink-soft:  #3f4658;   /* neutral-800 — prose */
  --ink-faint: #5a6174;   /* dates, list markers. Was neutral-600, 3.35:1; now >=5.11:1 */
  --paper:     #eceef6;   /* color-bg */
  --mist:      #f8f9fe;   /* color-surface — lighter than the page, where Bone
                             was darker. Deliberate: Iris lifts panels rather
                             than sinking them. */
  --rule:      #d7dbe9;   /* neutral-300 */
  --rule-soft: #e7e9f3;   /* neutral-200 */
  --shadow-sm: 0 1px 2px rgba(60,50,120,.10);
  --sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI",
          Roboto, "Helvetica Neue", Arial, sans-serif;
  --display: "Bricolage Grotesque", "Plus Jakarta Sans", system-ui, sans-serif;
  --radius: 18px;

  /* TWO GROUNDS THAT MUST NOT INVERT. footer.site used `background: var(--ink)`
     and header.site a hardcoded near-white. --ink flips to #e9ecf6 in dark, so the
     footer would have become a WHITE bar carrying 72%-white text -- invisible. A
     surface that is dark in BOTH themes needs its own token rather than borrowing
     the text colour, which only ever worked by coincidence. */
  --header-bg: rgba(248,249,254,.9);
  --foot-bg:   #1a2130;
}


/* Dark ------------------------------------------------------------------
   ADDED 10 Sep 2026. These six pages had NO dark support at all while the other
   42 on the domain followed the OS and offered a toggle -- so a reader in dark
   mode got a dark site and then a page the colour of paper. That is precisely
   the App Store reviewer's path: the phone app deep-links here for Privacy,
   Terms and Delete-your-account.

   Two selectors on purpose, matching site.css. The media query is guarded with
   :not([data-theme="light"]) so an explicit LIGHT choice beats a dark OS, and
   the attribute block repeats the tokens so an explicit DARK choice beats a
   light OS. Either alone loses one of those directions.

   The values mirror site/css/site.css line for line rather than being picked by
   eye, so the two stylesheets cannot drift into two different darks.
------------------------------------------------------------------------ */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
  --lead:      #2ad3b3;
  --lead-deep: #0e7d6f;
  --lead-soft: #a3abbe;
  --wash:      #1e2636;
  --ink:       #e9ecf6;
  --ink-soft:  #c2c9d8;
  --ink-faint: #8b93a7;
  --paper:     #0b0f17;
  --mist:      #151c29;
  --rule:      #2b3448;
  --rule-soft: #1e2636;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.4);
  --header-bg: rgba(21,28,41,.9);
  --foot-bg:   #0e131d;
  }
}
:root[data-theme="dark"] {
  --lead:      #2ad3b3;
  --lead-deep: #0e7d6f;
  --lead-soft: #a3abbe;
  --wash:      #1e2636;
  --ink:       #e9ecf6;
  --ink-soft:  #c2c9d8;
  --ink-faint: #8b93a7;
  --paper:     #0b0f17;
  --mist:      #151c29;
  --rule:      #2b3448;
  --rule-soft: #1e2636;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.4);
  --header-bg: rgba(21,28,41,.9);
  --foot-bg:   #0e131d;
}

* { box-sizing: border-box; }

body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-size: 17px; line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 26px; }

h1, h2, h3 { font-family: var(--display); letter-spacing:-.01em; margin: 0; font-weight: 800; text-wrap: balance; letter-spacing: -.03em; }
h1 { font-family: var(--display); letter-spacing:-.01em; font-size: clamp(2rem, 4.4vw, 2.9rem); line-height: 1.08; }
h2 { font-family: var(--display); letter-spacing:-.01em; font-size: 1.34rem; line-height: 1.25; letter-spacing: -.022em; }
h3 { font-family: var(--display); letter-spacing:-.01em; font-size: 1.02rem; font-weight: 700; letter-spacing: -.012em; }
p  { margin: 0; }

a { color: var(--lead); text-underline-offset: 3px; }
a:focus-visible, summary:focus-visible {
  outline: 3px solid var(--lead-soft); outline-offset: 3px; border-radius: 8px;
}

.eyebrow {
  font-size: .72rem; font-weight: 700; letter-spacing: .15em;
  text-transform: uppercase; color: var(--lead);
}

/* Header / footer, cut down from the marketing page --------------------- */
header.site {
  position: sticky; top: 0; z-index: 40;
  background: var(--header-bg); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rule-soft);
}
/* padding-BLOCK, not the shorthand. Both .nav and .doc sit on the same element as
   .wrap, and `padding: 15px 0` came later in the file, so it zeroed the 26px side
   gutter: on a phone every legal page ran to the glass on both edges (found on an
   iPhone, 25 Sep 2026). Say only the sides you mean. */
.nav { display: flex; align-items: center; justify-content: space-between; padding-block: 15px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; color: var(--ink); }
.brand__word { font-weight: 800; font-size: 1.24rem; letter-spacing: -.03em; }
.nav__links { display: flex; align-items: center; gap: 26px; }
.nav__links a { color: var(--ink-soft); text-decoration: none; font-weight: 500; font-size: .96rem; }
.nav__links a:hover { color: var(--ink); }

footer.site { background: var(--foot-bg); color: rgba(255,255,255,.72); padding: 46px 0 38px; margin-top: 80px; }
.foot__grid { display: flex; flex-wrap: wrap; gap: 26px; justify-content: space-between; align-items: flex-start; }
.foot__brand { display: flex; align-items: center; gap: 11px; color: #f8f9fe; }
.foot__brand .brand__word { color: #f8f9fe; }
.foot__links { display: flex; flex-wrap: wrap; gap: 10px 24px; max-width: 460px; }
.foot__links a { color: rgba(255,255,255,.72); text-decoration: none; font-size: .94rem; }
.foot__links a:hover { color: #f8f9fe; }
.foot__legal {
  margin-top: 30px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.14);
  font-size: .86rem; color: rgba(255,255,255,.56);
  display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between;
}

/* Document shell -------------------------------------------------------- */
.doc { padding-top: 54px; }
.doc__head { display: flex; flex-direction: column; gap: 14px; max-width: 62ch; }
.doc__dates {
  display: flex; flex-wrap: wrap; gap: 6px 22px;
  font-size: .88rem; color: var(--ink-faint);
}
.doc__body { display: grid; grid-template-columns: 218px minmax(0, 1fr); gap: 56px; margin-top: 46px; }
.doc__body--plain { display: block; margin-top: 40px; }

.toc { position: sticky; top: 92px; align-self: start; font-size: .9rem; }
.toc h2 { font-family: var(--display); letter-spacing:-.01em; font-size: .72rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 12px; }
.toc ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 7px; counter-reset: toc; }
.toc a { color: var(--ink-soft); text-decoration: none; display: block; }
.toc a::before { counter-increment: toc; content: counter(toc) ". "; color: var(--ink-faint); }
.toc a:hover { color: var(--lead); }

.prose { max-width: 72ch; display: flex; flex-direction: column; gap: 34px; }
.prose section { display: flex; flex-direction: column; gap: 13px; scroll-margin-top: 92px; }
.prose section > h2 { font-family: var(--display); letter-spacing:-.01em; display: flex; gap: 12px; align-items: baseline; }
.prose section > h2 .n { color: var(--lead-soft); font-size: .92rem; font-weight: 700; flex: none; font-variant-numeric: tabular-nums; }
.prose p, .prose li { color: var(--ink-soft); }
.prose strong { color: var(--ink); font-weight: 700; }
.prose ul, .prose ol { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.prose li::marker { color: var(--ink-faint); }
.prose h3 { font-family: var(--display); letter-spacing:-.01em; margin-top: 6px; }

/* Plain-English summary ------------------------------------------------- */
.short {
  background: var(--mist); border: 1px solid var(--rule-soft);
  border-left: 3px solid var(--lead); border-radius: 0 14px 14px 0;
  padding: 20px 24px; display: flex; flex-direction: column; gap: 9px;
  margin-top: 32px; max-width: 72ch;
}
.short h2 { font-family: var(--display); letter-spacing:-.01em; font-size: .72rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: var(--lead); }
.short p, .short li { font-size: .96rem; color: var(--ink-soft); }
.short ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }

.note {
  background: var(--wash); border: 1px solid #f3d9a6;   /* --e-amber-edge */
  border-left: 3px solid var(--rule); border-radius: 0 14px 14px 0;
  padding: 18px 22px; display: flex; flex-direction: column; gap: 8px;
}
.note p, .note li { font-size: .95rem; }

/* Tables ---------------------------------------------------------------- */
.tablewrap { overflow-x: auto; border: 1px solid var(--rule); border-radius: 14px; }
table { border-collapse: collapse; width: 100%; font-size: .94rem; }
th, td { text-align: left; padding: 13px 18px; border-bottom: 1px solid var(--rule-soft); vertical-align: top; }
th { font-weight: 700; color: var(--ink); background: var(--mist); font-size: .84rem; letter-spacing: .02em; }
tr:last-child td { border-bottom: none; }
td { color: var(--ink-soft); }
td strong { color: var(--ink); }

/* A value we do not know yet. Greppable: grep -rn 'class="fill"' site/ */
.fill {
  background: var(--wash); border: 1px dashed var(--rule); border-radius: 6px;
  padding: 1px 7px; color: var(--ink-soft); font-size: .88em; font-weight: 700;
  white-space: nowrap;
}

/* Legal index cards ----------------------------------------------------- */
.docs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 38px; }
.doccard {
  background: var(--mist); border: 1px solid var(--rule); border-radius: var(--radius);
  padding: 24px 24px; display: flex; flex-direction: column; gap: 8px;
  text-decoration: none; box-shadow: var(--shadow-sm);
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.doccard:hover { transform: translateY(-2px); border-color: var(--lead-soft); box-shadow: 0 2px 4px rgba(10,23,51,.04), 0 12px 32px rgba(10,23,51,.07); }
.doccard h2 { font-family: var(--display); letter-spacing:-.01em; font-size: 1.08rem; color: var(--ink); }
.doccard p { font-size: .94rem; color: var(--ink-soft); }

.backlink { display: inline-flex; align-items: center; gap: 7px; font-size: .92rem; text-decoration: none; font-weight: 500; }
.backlink::before { content: "←"; }

@media (max-width: 900px) {
  /* minmax(0,1fr), not 1fr: a 1fr track will not shrink below its widest child,
     and the privacy tables pushed the whole column to 415px on a 375px phone */
  .doc__body { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .toc { position: static; border-bottom: 1px solid var(--rule-soft); padding-bottom: 22px; }
  .docs { grid-template-columns: 1fr; }
  .nav__links { display: none; }
}
@media (max-width: 620px) {
  .wrap { padding-inline: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
  .doccard:hover { transform: none; }
}
@media print {
  header.site, footer.site, .toc, .backlink { display: none; }
  body { font-size: 11pt; }
  .doc__body { display: block; }
}

/* Skip link (29 Sep 2026): the first thing a keyboard reaches, jumping past the nav to
   <main id="content">. Off-screen until focused. Fixed colours on purpose: it sits on
   whatever is under it, so it carries its own surface and ink and never inverts. */
.skip-link { position:absolute; left:12px; top:-60px; z-index:1000; padding:10px 16px; border-radius:8px;
  background:#0a5c54; color:#fff; font-weight:600; text-decoration:none; }
.skip-link:focus, .skip-link:focus-visible { top:12px; outline:2px solid #fff; outline-offset:2px; }
