/* ======================================================================
   The legal documents (/privacy, /terms, /accessibility, /delete-account,
   each in Polish and English) — one shared sheet.

   Drawn in Figma as EXP-112 (2026-11-26): the homepage's look
   (homepage/v14-beta), not the old waiting list's dark one. The tokens are
   COPIED from homepage/v14-beta/css/base.css, not the app's palette; keep
   them in step with it. What a page holds:
    - the homepage's bar, whose chapters are the four documents, the one
      being read in the white pill; on a narrow screen a menu disc;
    - a title in the homepage's greeting pair (the name, then a quieter
      line), the version and date as the eyebrow above it;
    - the document in one column at a reading measure, and beside it a
      contents rail pinned under the bar (legal.js marks the section in
      view; without it the rail is plain links); on a phone the contents
      fold into one row instead. In a short window the rail ends inside
      it, its rows tighten, and a list longer than it scrolls, fading
      where it goes on and following the section in view (obs-642);
    - lists of things (who we are, tables, steps) as white groups split by
      hairlines; on a phone a table stacks into entries;
    - the homepage's footer.

   Firebase serves *.css with `max-age=31536000, immutable` (firebase.json),
   so BUMP THE ?v= QUERY in every document in legal/ when editing this file, or
   returning visitors keep the old sheet for a year. Same for legal.js.
   ====================================================================== */

/* The app's files, already cut to Latin + Polish (scripts/convert-text-fonts.py).
   The ?v= stamps are each file's sha256[:8]: re-stamp them if a font changes.
   NOT the homepage's home-*.woff2, which are cut to the homepage's own words. */
@font-face {
  font-family: "Gilroy";
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/gilroy-regular-latin.woff2?v=1bdb88fc) format("woff2");
}
@font-face {
  font-family: "Gilroy";
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/gilroy-medium-latin.woff2?v=ae7ff15a) format("woff2");
}
@font-face {
  font-family: "Onest";
  font-weight: 200;
  font-display: swap;
  src: url(/assets/fonts/onest-extralight.woff2?v=4e43fb7c) format("woff2");
}
@font-face {
  font-family: "Onest";
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/onest-medium.woff2?v=e235bd8a) format("woff2");
}
@font-face {
  font-family: "Figtree";
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/figtree-medium.woff2?v=089bbebf) format("woff2");
}

:root {
  color-scheme: light;
  --bg: #faf9f7;
  --bg-2: #f3f0ee; /* a warm tile: the language note, the current place */
  --surface: #ffffff;
  --ink: #0a0a0a;
  --ink-2: #464a5e; /* body copy */
  --ink-3: #676977; /* captions, meta */
  --ink-4: #b0b1ba; /* decoration only: bullets, separators, link underlines */
  --ask: #727482; /* the title's second line, large type only */
  --line: #efecea; /* a hairline between rows */
  --line-firm: #dcdcdc; /* an edge that has to read */
  --due: #eeecea; /* a count pill */
  --due-ink: #2c2c2e;
  --danger: #c4262c;

  --font: "Gilroy", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Onest", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --caption: "Figtree", "Gilroy", ui-sans-serif, system-ui, sans-serif;

  --sh-1: 0 1px 14px rgba(0, 0, 0, 0.04); /* a white chip on the ground */
  --sh-2: 0 4px 12px rgba(0, 0, 0, 0.04); /* a group */
  --sh-3: 0 2px 6px rgba(0, 0, 0, 0.04), 0 24px 60px -18px rgba(0, 0, 0, 0.16); /* something lifted */
  --sh-pill: 0 1px 6px rgba(0, 0, 0, 0.06); /* the current chapter */

  --page: 1224px;
  --gutter: clamp(16px, 4vw, 40px);
  --bar-h: 80px;
  --tap: 44px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--bar-h) + 24px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink-2);
  font: 400 17px/28px var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
}

a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--ink-4);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
  border-radius: 6px;
}

::selection {
  background: var(--due);
  color: var(--ink);
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 0.32s var(--ease);
}
.skip-link:focus-visible {
  transform: none;
}

/* ---------- the bar: the homepage's, with the four documents as chapters ---------- */

.bar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--bg);
  transition: box-shadow 0.32s var(--ease);
}
/* legal.js, once scrolled: the hairline the homepage's bar gets */
.bar.is-scrolled {
  box-shadow: 0 1px 0 var(--line);
}
.bar-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  height: var(--bar-h);
  max-width: calc(var(--page) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.bar a {
  text-decoration: none;
}
.bar-logo {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  min-height: var(--tap);
  border-radius: 12px;
}
.bar-logo img {
  width: auto;
  height: 25.6px;
}

.bar-docs {
  display: flex;
  align-items: center;
}
.bar-docs a {
  display: inline-flex;
  align-items: center;
  height: var(--tap);
  padding: 0 23.5px;
  border-radius: 999px;
  color: #26282f;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}
/* the document being read: the sidebar's current place, a white pill */
.bar-docs a[aria-current] {
  background: var(--surface);
  box-shadow: var(--sh-pill);
  color: var(--ink);
}

.bar-right {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 8px;
}
/* PL / EN. The current language is a <span>, not a link to itself: a link
   that goes nowhere is one more stop for anyone tabbing through. */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1;
}
.lang-switch > * {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 10px;
  border-radius: 999px;
}
.lang-switch a {
  color: var(--ink-3);
  text-decoration: none;
}
.lang-switch [aria-current] {
  background: var(--bg-2);
  color: var(--ink);
}

.bar-signin,
.bar-join {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}
.bar-signin {
  box-shadow: inset 0 0 0 1px #e7e5e2;
  color: #5d606b;
}
.bar-join {
  background: var(--ink);
  color: #fff;
}

/* the menu: Home's white disc; a <details>, so it opens with no script */
.bar-menu {
  display: none;
  position: relative;
}
.bar-menu > summary {
  position: relative;
  display: block;
  width: var(--tap);
  height: var(--tap);
  border-radius: 50%;
  background: var(--surface);
  box-shadow: var(--sh-1);
  cursor: pointer;
  list-style: none;
}
.bar-menu > summary::-webkit-details-marker {
  display: none;
}
.bar-menu > summary i {
  position: absolute;
  left: 13px;
  width: 18px;
  height: 1.75px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.32s var(--ease);
}
.bar-menu > summary i:first-child {
  top: 18.5px;
}
.bar-menu > summary i:last-child {
  top: 23.75px;
}
.bar-menu[open] > summary i:first-child {
  transform: translateY(2.6px) rotate(45deg);
}
.bar-menu[open] > summary i:last-child {
  transform: translateY(-2.6px) rotate(-45deg);
}
.bar-sheet {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: min(320px, calc(100vw - 2 * var(--gutter)));
  padding: 8px;
  border-radius: 20px;
  background: var(--surface);
  box-shadow: var(--sh-3);
}
.bar-sheet nav a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 14px;
  border-radius: 12px;
  color: var(--ink-2);
  font-size: 16px;
  font-weight: 500;
}
.bar-sheet nav a[aria-current] {
  background: var(--bg-2);
  color: var(--ink);
}
.bar-sheet-acts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 8px 6px 6px;
}
.bar-sheet-acts a {
  height: var(--tap);
}

@media (max-width: 1023px) {
  .bar-inner {
    grid-template-columns: 1fr auto;
  }
  .bar-docs,
  .bar-right > .bar-signin,
  .bar-right > .bar-join {
    display: none;
  }
  .bar-menu {
    display: block;
  }
}
@media (max-width: 639px) {
  :root {
    --bar-h: 72px;
  }
  .bar-logo img {
    height: 20px;
  }
}

/* ---------- the page: the document, and the rail beside it ---------- */

.page {
  display: grid;
  grid-template-columns: minmax(0, 780px) 340px;
  column-gap: 104px;
  align-items: start;
  max-width: calc(var(--page) + 2 * var(--gutter));
  margin-inline: auto;
  padding: 64px var(--gutter) 120px;
}
@media (max-width: 1179px) {
  .page {
    grid-template-columns: minmax(0, 1fr) 280px;
    column-gap: 56px;
  }
}
@media (max-width: 959px) {
  .page {
    display: block;
    max-width: 820px;
    padding-top: 28px;
    padding-bottom: 64px;
  }
}

/* ---------- the title ---------- */

.doc-head {
  display: grid;
  gap: 16px;
  margin-bottom: 28px;
}
.doc .eyebrow {
  margin: 0;
  color: var(--ink-3);
  font: 500 14px/20px var(--caption);
}
.eyebrow strong {
  color: var(--ink);
  font-weight: 500;
}
.eyebrow .sep {
  margin: 0 0.5em;
  color: var(--ink-4);
}
.doc h1 {
  margin: 0;
  color: var(--ink);
  font: 500 56px/1.06 var(--display);
  letter-spacing: -0.03em;
  text-wrap: balance;
}
/* the greeting's second sentence: the same face, ExtraLight, quieter */
.doc h1 .accent {
  display: block;
  color: var(--ask);
  font-weight: 200;
}
.doc .lede {
  margin: 0 0 28px;
  color: var(--ink-2);
  font-size: 20px;
  line-height: 31px;
  text-wrap: pretty;
}

/* ---------- the document ---------- */

.doc h2 {
  margin: 56px 0 18px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font: 500 30px/36px var(--display);
  letter-spacing: -0.02em;
}
.doc h2 .num {
  margin-right: 0.3em;
  color: var(--ask);
  font-weight: 200;
}
.doc h3 {
  margin: 28px 0 14px;
  color: var(--ink);
  font: 500 19px/26px var(--font);
  letter-spacing: -0.01em;
}
.doc p,
.doc ul,
.doc ol,
.doc dl {
  margin: 0 0 18px;
}
.doc ul,
.doc ol {
  padding-left: 22px;
}
.doc li {
  margin-bottom: 10px;
}
.doc ul > li::marker {
  color: var(--ink-4);
}
.doc ol > li::marker {
  color: var(--ink-3);
  font-family: var(--caption);
  font-weight: 500;
}
.doc strong {
  color: var(--ink);
  font-weight: 500;
}

/* notes: a white group; the language note is a warm tile instead, with the
   language mark; the one that cannot be undone has an edge and a warning
   mark — never a colour (the homepage keeps colour for content) */
.doc .note {
  position: relative;
  margin: 0 0 18px;
  padding: 20px 24px;
  border-radius: 20px;
  background: var(--surface);
  box-shadow: var(--sh-2);
  font-size: 16px;
  line-height: 26px;
}
.doc .note p {
  margin: 0 0 10px;
}
.doc .note p:last-child {
  margin-bottom: 0;
}
.doc .note::before {
  content: none;
  position: absolute;
  background: center / contain no-repeat;
}
.doc .lang-note {
  margin: 0;
  padding: 16px 20px 16px 52px;
  border-radius: 16px;
  background: var(--bg-2);
  box-shadow: none;
  font-size: 15px;
  line-height: 24px;
}
.doc .lang-note::before {
  content: "";
  left: 20px;
  top: 18px;
  width: 20px;
  height: 20px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23676977' stroke-width='1.6'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18M12 3c2.4 2.6 3.7 5.6 3.7 9s-1.3 6.4-3.7 9c-2.4-2.6-3.7-5.6-3.7-9S9.6 5.6 12 3z'/%3E%3C/svg%3E");
}
.doc .note.warn {
  padding-left: 62px;
  box-shadow: var(--sh-2), inset 0 0 0 1px var(--line-firm);
}
.doc .note.warn::before {
  content: "";
  left: 24px;
  top: 21px;
  width: 24px;
  height: 24px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a0a0a' stroke-width='1.75' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7.5v6'/%3E%3Ccircle cx='12' cy='16.6' r='1.15' fill='%230a0a0a' stroke='none'/%3E%3C/svg%3E");
}

/* who we are: label | value rows in a white group; the hairline starts at
   the text column and runs to the edge, as Home's rows do */
.doc dl.identity {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  padding-left: 24px;
  border-radius: 20px;
  background: var(--surface);
  box-shadow: var(--sh-2);
  font-size: 16px;
  line-height: 22px;
}
.doc dl.identity--wide {
  grid-template-columns: 200px minmax(0, 1fr);
}
.identity dt,
.identity dd {
  margin: 0;
  padding: 17px 0;
  border-top: 1px solid var(--line);
}
.identity dt:first-of-type,
.identity dt:first-of-type + dd {
  border-top: 0;
}
.identity dt {
  padding-right: 16px;
  color: var(--ink-3);
  font: 500 13px/22px var(--caption);
}
.identity dd {
  padding-right: 24px;
  color: var(--ink);
  font-weight: 500;
}

/* steps (delete your account, in the app): numbered rows with Home's discs */
.doc ol.steps {
  padding: 0;
  border-radius: 20px;
  background: var(--surface);
  box-shadow: var(--sh-2);
  list-style: none;
  counter-reset: step;
}
/* block, not flex: flex would make the text and its <strong> separate items
   and eat the space between them ("OpenSettings") */
.doc ol.steps > li {
  position: relative;
  margin: 0;
  padding: 17px 20px 17px 66px;
  line-height: 26px;
  counter-increment: step;
}
.doc ol.steps > li::before {
  content: counter(step);
  position: absolute;
  left: 20px;
  top: 50%;
  width: 32px;
  height: 32px;
  margin-top: -16px;
  border-radius: 50%;
  background: var(--bg-2);
  color: var(--ink);
  font: 500 14px/32px var(--font);
  text-align: center;
}
.doc ol.steps > li + li::after {
  content: "";
  position: absolute;
  top: 0;
  left: 66px;
  right: 0;
  height: 1px;
  background: var(--line);
}

/* tables: a white group; columns split only by their gap, rows by hairlines */
.table-wrap {
  margin: 0 0 18px;
  overflow-x: auto;
  border-radius: 20px;
  background: var(--surface);
  box-shadow: var(--sh-2);
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 23px;
}
th,
td {
  padding: 16px 20px 16px 0;
  border-top: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
th:first-child,
td:first-child {
  padding-left: 20px;
}
thead th {
  padding-top: 14px;
  padding-bottom: 14px;
  border-top: 0;
  color: var(--ink-3);
  font: 500 13px/18px var(--caption);
}
td:first-child {
  color: var(--ink);
  font-weight: 500;
}

/* a placeholder the operator still has to fill in: deliberately loud, an
   unfilled one is a legal defect, not a cosmetic one */
.todo {
  color: var(--danger);
  font-weight: 500;
}

/* ---------- contents: the rail (desktop) and the fold (phone) ---------- */

.rail {
  position: sticky;
  top: calc(var(--bar-h) + 24px);
  /* room for the group's shadow inside the scroller */
  margin: -4px -12px 0;
  padding: 4px 12px 16px;
  /* Ends 8 px inside the window where it STARTS, at the top of the page: under
     the bar, the page's 64 px padding, less the 4 px margin above (obs-642).
     Sized from where it sits once pinned, 36 px higher, it ran 28 px off the
     bottom of a short window until the page moved. Pinned, a long list now
     stops about 44 px above the bottom. svh: the window with the phone's
     browser bars showing, so the panel never ends under them. */
  max-height: calc(100vh - var(--bar-h) - 68px);
  max-height: calc(100svh - var(--bar-h) - 68px);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  /* the row legal.js scrolls to, or the keyboard reaches, stays clear of the fades */
  scroll-padding-block: 40px;
}
/* legal.js, where the list goes on past the panel: its edge fades out rather
   than slicing a row through — at the bottom, and at the top once scrolled.
   With no script the panel still scrolls, unfaded. */
.rail.is-cut-top,
.rail.is-cut-bottom {
  --fade-top: 0px;
  --fade-bottom: 0px;
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent,
    #000 var(--fade-top),
    #000 calc(100% - var(--fade-bottom)),
    transparent
  );
  mask-image: linear-gradient(
    to bottom,
    transparent,
    #000 var(--fade-top),
    #000 calc(100% - var(--fade-bottom)),
    transparent
  );
}
.rail.is-cut-top {
  --fade-top: 32px;
}
.rail.is-cut-bottom {
  --fade-bottom: 32px;
}
.rail-cap {
  margin: 0 0 10px;
  color: var(--ink-3);
  font: 500 14px/20px var(--caption);
}
/* `.doc` in the selector: the phone's copy sits inside the document, where
   `.doc ol` would otherwise indent it and push a margin under it */
.toc-list,
.doc .toc-list {
  margin: 0;
  padding: 8px;
  border-radius: 20px;
  background: var(--surface);
  box-shadow: var(--sh-2);
  list-style: none;
}
.toc-list li,
.doc .toc-list li {
  margin: 0;
}
.toc-list li + li,
.doc .toc-list li + li {
  margin-top: 2px;
}
.toc-list a {
  display: flex;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 12px;
  color: var(--ink-2);
  font-size: 15px;
  font-weight: 500;
  line-height: 21px;
  text-decoration: none;
}
/* the section in view (legal.js): Home's warm chip */
.toc-list a.is-current {
  background: var(--bg-2);
  color: var(--ink);
}
.toc-list .n {
  flex: none;
  width: 22px;
  color: var(--ink-3);
  font: 500 13px/21px var(--caption);
  font-variant-numeric: tabular-nums;
}
.toc-list a.is-current .n {
  color: var(--ink);
}
/* a window under 720 px tall: tighter rows, 27 px instead of 35, so Privacy's
   12 and Accessibility's 13 fit whole in a 600 px window (obs-642). The rail's
   rows only; the phone's fold keeps the rows it has. */
@media (max-height: 719px) {
  .rail .toc-list a {
    padding-block: 3px;
  }
}
.rail-ask {
  margin-top: 32px;
  padding: 0 12px;
}
.rail-ask .rail-cap {
  margin-bottom: 8px;
}
.rail-mail {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ink);
  font-size: 17px;
  font-weight: 500;
  line-height: 24px;
  text-decoration: none;
}
.rail-mail .arrow {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.32s var(--ease);
}
.rail-sub {
  margin: 8px 0 0;
  color: var(--ink-3);
  font-size: 14px;
  line-height: 21px;
}

.toc-fold {
  display: none;
  margin: 28px 0 0;
  border-radius: 20px;
  background: var(--surface);
  box-shadow: var(--sh-2);
}
.toc-fold > summary {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 60px;
  padding: 0 16px 0 20px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
}
.toc-fold > summary::-webkit-details-marker {
  display: none;
}
.toc-fold-label {
  flex: 1;
}
.toc-fold .count {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 10px;
  border-radius: 13px;
  background: var(--due);
  color: var(--due-ink);
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}
.toc-fold > summary::after {
  content: "";
  width: 24px;
  height: 24px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23676977' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform 0.32s var(--ease);
}
.toc-fold[open] > summary::after {
  transform: rotate(180deg);
}
.doc .toc-fold .toc-list {
  padding-top: 0;
  box-shadow: none;
}

@media (max-width: 959px) {
  .rail {
    display: none;
  }
  .toc-fold {
    display: block;
  }
}

/* ---------- phone ---------- */

@media (max-width: 639px) {
  body {
    font-size: 16px;
    line-height: 26px;
  }
  .doc-head {
    gap: 12px;
    margin-bottom: 22px;
  }
  .doc h1 {
    font-size: 36px;
    line-height: 1.08;
  }
  .doc .lede {
    margin-bottom: 22px;
    font-size: 17px;
    line-height: 27px;
  }
  .doc h2 {
    margin-top: 40px;
    margin-bottom: 16px;
    padding-top: 28px;
    font-size: 24px;
    line-height: 29px;
  }
  .doc h3 {
    margin-top: 24px;
    margin-bottom: 12px;
    font-size: 17px;
    line-height: 24px;
  }
  .doc .note {
    padding: 16px 18px;
    font-size: 15px;
    line-height: 24px;
  }
  .doc .note.warn {
    padding-left: 52px;
  }
  .doc .note.warn::before {
    left: 18px;
    top: 17px;
    width: 22px;
    height: 22px;
  }
  .doc .lang-note {
    padding-left: 50px;
  }
  .doc .lang-note::before {
    left: 18px;
  }
  /* who we are: the label over the value */
  .doc dl.identity,
  .doc dl.identity--wide {
    display: block;
    padding-left: 20px;
  }
  .identity dt {
    padding: 13px 20px 0 0;
    font-size: 13px;
    line-height: 18px;
  }
  .identity dd {
    padding: 3px 20px 13px 0;
    border-top: 0;
  }
  .doc ol.steps > li {
    padding: 17px 16px 17px 62px;
    line-height: 24px;
  }
  .doc ol.steps > li::before {
    left: 16px;
  }
  .doc ol.steps > li + li::after {
    left: 62px;
  }
  /* a table stacks: each row an entry, each cell under its column's name */
  .table-wrap {
    overflow: visible;
  }
  table,
  tbody,
  tr,
  td {
    display: block;
  }
  thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
  tr {
    padding: 16px 20px;
    border-top: 1px solid var(--line);
  }
  tbody tr:first-child {
    border-top: 0;
  }
  td,
  td:first-child {
    padding: 0;
    border: 0;
  }
  td:first-child {
    font-size: 16px;
    line-height: 22px;
  }
  td + td {
    margin-top: 10px;
    font-size: 15px;
    line-height: 22px;
  }
  td + td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 2px;
    color: var(--ink-3);
    font: 500 13px/18px var(--caption);
  }
}

/* ---------- the footer: the homepage's ---------- */

.foot {
  border-top: 1px solid var(--line);
  background: var(--bg);
}
.foot-inner {
  max-width: calc(var(--page) + 2 * var(--gutter));
  margin-inline: auto;
  padding: 56px var(--gutter) 44px;
}
.foot-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px 48px;
}
.foot-logo {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap);
  border-radius: 12px;
}
.foot-logo img {
  width: auto;
  height: 20px;
}
.foot-brand p {
  max-width: 320px;
  margin: 2px 0 0;
  color: var(--ink-3);
  font: 500 14px/21px var(--caption);
}
.foot-cols {
  display: flex;
  gap: 24px 56px;
}
.foot-col {
  min-width: 150px;
}
.foot-h {
  margin: 0 0 6px;
  color: var(--ink-3);
  font: 500 14px/20px var(--caption);
}
.foot-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.foot-col a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  color: var(--ink-2);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
}
.foot-col a[aria-current] {
  color: var(--ink);
}
.foot-line {
  margin: 40px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--ink-3);
  font: 500 14px/20px var(--caption);
}
@media (pointer: coarse) {
  .foot-col a {
    min-height: var(--tap);
  }
}
@media (max-width: 760px) {
  .foot-inner {
    padding: 40px 20px 40px;
  }
  .foot-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    gap: 28px 16px;
  }
  .foot-col {
    min-width: 0;
  }
  .foot-col:last-child {
    grid-column: 1 / -1;
  }
  .foot-line {
    margin-top: 28px;
  }
}

/* hover only where there is one: on a touch screen a tapped link keeps its
   hover look until the next tap (scripts/check-touch-hover.py says why) */
@media (hover: hover) and (pointer: fine) {
  a:hover {
    text-decoration-color: currentColor;
  }
  .bar-docs a:hover {
    color: var(--ink);
  }
  .lang-switch a:hover {
    color: var(--ink);
  }
  .bar-signin:hover {
    color: var(--ink);
  }
  .toc-list a:hover {
    color: var(--ink);
  }
  .rail-mail:hover .arrow {
    transform: translateX(3px);
  }
  .foot-col a:hover {
    color: var(--ink);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
