/* Layout: the page is the view from the ridge. Pale sky on top, the picture where the sky meets
   the mountains, then cobalt and night further down, each band dissolving into the next through
   the same ordered dither as the picture. One deliberate theme taken from the picture; it does not
   follow the system's light or dark setting. Colours were sampled from the frames. */
:root {
  --sky: #ece6e2;        /* haze above the horizon */
  --sky-low: #ddd5d5;    /* where the sky meets the picture */
  --ink: #141a5c;        /* deep ultramarine: text on light */
  --dusk: #56517b;       /* quiet text on light */
  --cobalt: #2c41ba;     /* the slopes in front */
  --night: #11174f;      /* the darkest blue, below the slopes */
  --peri: #cdd3f7;       /* periwinkle: second text on blue */
  --cream: #f6efe3;      /* text on blue */
  --light: #f0e3b5;      /* the light on the horizon */
  --cyan: rgb(64 186 222 / .7);      /* the picture's chromatic fringe, left */
  --magenta: rgb(214 96 212 / .65); /* and right */

  --display: "WCS Literata Display", "WCS Literata", Georgia, "Times New Roman", serif;
  --text: "WCS Literata", Georgia, "Times New Roman", serif;
  --label: "WCS Martian Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --msg: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", sans-serif;
  --label-text: var(--label); /* labels that are sentences: mono only in Latin and Cyrillic */
  --h3: var(--text);
  --track: .1em;
  --h1-track: -.025em;
  --lh: 1.6;
  --lh-display: 1.05;
  --time-col: 5.25rem;

  --gutter: clamp(1rem, 4.5vw, 3.5rem);
  --measure: 36rem;
  --seam: 48px;
  color-scheme: light;
}

/* Scripts other than Latin and Cyrillic: their own faces, no tracking or capitals, more leading. */
:root:lang(zh-Hans) {
  --display: "WCS Literata Display", "WCS Noto Serif SC", "Songti SC", "Noto Serif CJK SC", "Source Han Serif SC", "SimSun", serif;
  --text: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", "Source Han Sans SC", system-ui, sans-serif;
  --label: "WCS Martian Mono", "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
}
:root:lang(ja) {
  --display: "WCS Literata Display", "WCS Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif CJK JP", serif;
  --text: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", "Noto Sans CJK JP", system-ui, sans-serif;
  --label: "WCS Martian Mono", "Hiragino Sans", "Yu Gothic", "Meiryo", "Noto Sans CJK JP", sans-serif;
}
:root:lang(zh-Hans), :root:lang(ja) { --h3: var(--display); }
:root:lang(hi) {
  --display: "WCS Literata Display", "WCS Noto Serif Devanagari", "Kohinoor Devanagari", "Nirmala UI", serif;
  --text: "WCS Literata", "WCS Noto Serif Devanagari", "Kohinoor Devanagari", "Nirmala UI", serif;
  --label: "WCS Martian Mono", "WCS Noto Serif Devanagari", "Nirmala UI", sans-serif;
  --time-col: 6.75rem;
}
:root:lang(ar) {
  --display: "WCS Noto Naskh Arabic", "WCS Literata", "Geeza Pro", "Segoe UI", serif;
  --text: "WCS Noto Naskh Arabic", "WCS Literata", "Geeza Pro", "Segoe UI", serif;
  --label: "WCS Martian Mono", "WCS Noto Naskh Arabic", "Geeza Pro", sans-serif;
  --time-col: 6.5rem;
  font-size: 106.25%;
}
:root:lang(zh-Hans), :root:lang(ja), :root:lang(hi), :root:lang(ar) {
  --label-text: var(--text);
  --track: 0;
  --h1-track: 0;
  --lh: 1.8;
  --lh-display: 1.3;
}

@font-face { font-family: "WCS Literata Display"; src: url("/assets/fonts/literata-display-latin.344868b6fb.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; unicode-range: U+20-7E, U+A0, U+AB, U+B7, U+BB, U+BF-C0, U+DA, U+DF-E4, U+E7-EA, U+ED-EE, U+F1, U+F3-F6, U+F9-FC, U+2014, U+2019, U+201C-201E; }
@font-face { font-family: "WCS Literata Display"; src: url("/assets/fonts/literata-display-cyrillic.ddfcd6aefd.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; unicode-range: U+401, U+410-44F, U+451; }
@font-face { font-family: "WCS Literata"; src: url("/assets/fonts/literata-text-latin.62378f7446.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+20-7E, U+A0, U+AB, U+B7, U+BB, U+BF-C0, U+DA, U+DF-E4, U+E7-EA, U+ED-EE, U+F1, U+F3-F6, U+F9-FC, U+2014, U+2019, U+201C-201E; }
@font-face { font-family: "WCS Literata"; src: url("/assets/fonts/literata-text-cyrillic.d9182d75d5.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+401, U+410-44F, U+451; }
@font-face { font-family: "WCS Martian Mono"; src: url("/assets/fonts/martian-mono.2d88d02d64.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; unicode-range: U+20-7E, U+A0, U+B7, U+401, U+410-44F, U+451, U+2014, U+2019; }
@font-face { font-family: "WCS Noto Serif SC"; src: url("/assets/fonts/noto-serif-sc.c1bac95eb4.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; unicode-range: U+20, U+43, U+53, U+57, U+3001-3002, U+4E00, U+4E0A-4E0B, U+4E0D, U+4E24, U+4E2A, U+4E3A, U+4E48, U+4E4B, U+4E86, U+4E8B, U+4EA4, U+4EBA, U+4EC0, U+4ECD-4ECE, U+4ED6, U+4EE5, U+4EEC, U+4EF6, U+4EFB, U+4F1A, U+4F4D, U+4F55, U+4F5C, U+4F60, U+4F7F, U+4FDD, U+4FE1, U+505A, U+505C, U+5065, U+5168, U+5199, U+51FA, U+5230, U+52A8-52A9, U+5371, U+53D1, U+53EA, U+53EF, U+540E, U+5426, U+544A, U+5473, U+548C, U+56DB, U+56DE, U+5728, U+5730, U+58EB, U+590D, U+5916, U+594F, U+597D, U+5982, U+5B83, U+5B89, U+5B9A, U+5BA0, U+5BB6, U+5BF9, U+5C0F, U+5C11, U+5C31, U+5C3D, U+5DE5, U+5E38, U+5E76, U+5E94, U+5EB7, U+5F0F, U+5F8B, U+5F92, U+5FC3, U+600E, U+606F, U+610F, U+6216, U+628A, U+62A5, U+62C5, U+6302, U+6309, U+63D0, U+63F4, U+6500, U+6536, U+6587, U+65B9, U+65C5, U+65F6, U+660E, U+662F, U+6682, U+6700, U+6709, U+6797, U+679C, U+6837, U+6B21, U+6B62, U+6B65, U+6C42, U+6CA1, U+6D3B, U+6D4B, U+6D77, U+6D88, U+70B9, U+7136, U+7167, U+7269, U+7275, U+72EC, U+751F, U+7528, U+7559, U+767B, U+7684, U+7740, U+77E5, U+786E, U+793E, U+79CD, U+7B54, U+7CFB, U+7ECF, U+7ED9, U+8005, U+8054, U+80FD, U+81EA, U+822A, U+8282, U+884C, U+8981, U+89C1, U+89C4, U+89E3, U+8A00, U+8B66, U+8BA4, U+8BC9, U+8BD5, U+8BDD, U+8BE2, U+8BF4, U+8F6C, U+8FD9, U+8FDB, U+9001, U+9009, U+901A, U+9053, U+9192, U+95EE, U+95F4, U+963F, U+9664, U+9669, U+9760, U+9762, U+987E, U+9898, U+FF0C, U+FF1A, U+FF1F; }
@font-face { font-family: "WCS Noto Serif JP"; src: url("/assets/fonts/noto-serif-jp.062cb116e6.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; unicode-range: U+20, U+32, U+34, U+43, U+53, U+57, U+3000-3002, U+3042, U+3044, U+3046, U+3048, U+304B-304D, U+304F, U+3051, U+3053-3055, U+3057, U+3059-305B, U+305D, U+305F-3060, U+3063-306B, U+306D-3070, U+3072-3073, U+3078-3079, U+307E, U+3081-3082, U+3088-308C, U+308F, U+3092-3093, U+30A1, U+30A4, U+30AF-30B0, U+30B8-30B9, U+30BB, U+30BF-30C0, U+30C3, U+30C6, U+30C8, U+30D5, U+30D7, U+30DA, U+30DE-30DF, U+30E1, U+30E9-30EB, U+30F3, U+30FC, U+4E00, U+4E0D, U+4E8B, U+4EBA, U+4F55, U+4F7F, U+4FE1, U+505C, U+5065, U+50CD, U+51FA, U+5207, U+523B, U+5247, U+52A9, U+52D5, U+5371, U+53D6-53D7, U+5473, U+547C, U+554F, U+56DE, U+5831, U+5834, U+591A, U+5927, U+5B9B, U+5B9F, U+5BB6, U+5C0F, U+5C4A, U+5C71, U+5F15, U+5F8C, U+5FC3, U+5FDC, U+610F, U+6240, U+624B, U+6301, U+63F4, U+643A, U+652F, U+65C5, U+65CF, U+6642, U+66AE, U+6700, U+6765, U+6B62, U+6B8B, U+6BB5, U+6C17, U+6C7A, U+6D3B, U+6D41, U+7121, U+75C5, U+767B, U+76F8, U+77E5, U+78BA, U+7B54, U+7D61, U+7D76, U+884C, U+898F, U+89E3, U+8A8D, U+8AB0, U+8B66, U+8CEA, U+8FD4, U+9014, U+9023, U+904E, U+9053, U+9078, U+914D, U+9593, U+9650, U+9664, U+967A, U+983C, U+FF1F; }
@font-face { font-family: "WCS Noto Serif Devanagari"; src: url("/assets/fonts/noto-serif-devanagari.03a6c1909d.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+20, U+2C-2D, U+30-34, U+36, U+39-3B, U+3F-40, U+43, U+53-54, U+57, U+5B, U+5D, U+5F, U+61-63, U+65, U+67, U+69, U+6C-70, U+72-74, U+77, U+A0, U+B7, U+901-902, U+905-909, U+90F-911, U+913-918, U+91A-928, U+92A-930, U+932, U+935-939, U+93C, U+93E-943, U+947-949, U+94B-94D, U+964, U+201C-201D; }
@font-face { font-family: "WCS Noto Naskh Arabic"; src: url("/assets/fonts/noto-naskh-arabic.cf7bf2ad8c.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; unicode-range: U+20, U+2E, U+30-34, U+36, U+39-3A, U+40, U+43, U+53, U+57, U+5B, U+5D, U+5F, U+61-63, U+65, U+69, U+6E-6F, U+72-74, U+77, U+A0, U+AB, U+B7, U+BB, U+60C, U+61F, U+621-63A, U+640-64F, U+651; }

*, *::before, *::after { box-sizing: border-box; }
html {
  background: var(--night);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  font-synthesis: none;
}
body {
  margin: 0;
  background: var(--sky);
  color: var(--ink);
  font: 400 1.125rem/var(--lh) var(--text);
  text-rendering: optimizeLegibility;
}
/* Scanlines over everything, as in the picture; faint enough to keep every text above WCAG AA. */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  background: repeating-linear-gradient(to bottom, rgb(20 26 92 / .045) 0 1px, transparent 1px 3px);
}
img { max-width: 100%; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
h1, h2, h3 { text-wrap: balance; }
p, li { text-wrap: pretty; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.wrap { max-width: 76rem; margin-inline: auto; padding-inline: var(--gutter); }

/* --- sky: header and the headline ------------------------------------------------------------ */
.sky { background: linear-gradient(to bottom, var(--sky) 0%, var(--sky-low) 100%); }
.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.25rem;
}
.mark { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: .2rem .9rem; }
.mark b {
  font: 500 1rem/1 var(--label);
  letter-spacing: .3em;
  text-shadow: -1.5px 0 var(--cyan), 1.5px 0 var(--magenta);
}
.mark span { font: 500 .72rem/1.2 var(--label); letter-spacing: .1em; text-transform: uppercase; color: var(--dusk); }

.langs { position: relative; }
.langs summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .55rem .8rem;
  border: 1px solid rgb(20 26 92 / .3);
  font: 500 .8rem/1.2 var(--label);
  letter-spacing: .04em;
  white-space: nowrap;
}
.langs summary::-webkit-details-marker { display: none; }
.langs summary::after {
  content: "";
  width: .4rem;
  height: .4rem;
  border-right: 1.5px solid;
  border-bottom: 1.5px solid;
  transform: translateY(-20%) rotate(45deg);
}
.langs[open] summary::after { transform: translateY(20%) rotate(-135deg); }
.langs summary:hover { background: rgb(20 26 92 / .06); }
.langs ul {
  position: absolute;
  z-index: 10;
  inset-inline-end: 0;
  top: calc(100% + .4rem);
  min-width: 14rem;
  margin: 0;
  padding: .35rem;
  list-style: none;
  background: var(--cream);
  border: 1px solid rgb(20 26 92 / .2);
  box-shadow: 0 1rem 2.5rem rgb(20 26 92 / .2);
}
.langs a, .foot-langs a { font: 400 1rem/1.3 var(--msg); }
.langs a { display: block; padding: .55rem .75rem; text-decoration: none; color: var(--ink); }
.langs a:hover { background: var(--sky); }
.langs a[aria-current="page"] { font-weight: 600; }

.hero { padding-block: clamp(2rem, 7vw, 5.5rem) clamp(2.5rem, 5vw, 4rem); }
h1 {
  margin: 0 0 clamp(1.25rem, 3vw, 2rem);
  font: 300 clamp(2.6rem, 1.35rem + 5.6vw, 6.25rem)/var(--lh-display) var(--display);
  letter-spacing: var(--h1-track);
  text-shadow: -.016em 0 var(--cyan), .016em 0 var(--magenta);
  animation: settle 2.9s steps(11, end) both; /* the picture resolves in 11 frames over 2.9 s */
}
.h1-a, .h1-b { display: block; }
.h1-a { color: var(--dusk); }
/* The headline settles with the picture: a wide colour split that steps down to a faint one. */
@keyframes settle {
  from { text-shadow: -.06em 0 var(--cyan), .06em 0 var(--magenta); }
  to { text-shadow: -.016em 0 var(--cyan), .016em 0 var(--magenta); }
}
.lede { max-width: 34rem; margin: 0 0 2rem; font-size: clamp(1.15rem, 1rem + .55vw, 1.4rem); line-height: 1.5; }
.act { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin: 0; }
.btn {
  display: inline-block;
  padding: .85rem 1.35rem;
  background: var(--ink);
  color: var(--cream);
  font: 400 1.05rem/1.2 var(--text);
  text-decoration: none;
  box-shadow: -3px 0 0 var(--cyan), 3px 0 0 var(--magenta);
  transition: box-shadow .2s, background-color .2s;
}
.btn:hover { background: var(--cobalt); box-shadow: -5px 0 0 var(--cyan), 5px 0 0 var(--magenta); }
.btn:focus-visible { outline-color: var(--ink); }
/* The second way in (the web app): the same shape, outlined. */
.btn-2 { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.btn-2:hover { background: rgb(20 26 92 / .08); box-shadow: inset 0 0 0 2px var(--ink); }
/* Not open yet: the same shape, without the colour fringe, and nothing to press. */
.btn-off, .btn-off:hover { background: transparent; color: var(--dusk); box-shadow: inset 0 0 0 1px var(--dusk); cursor: not-allowed; }
.status { display: inline-flex; align-items: baseline; gap: .6rem; max-width: 26rem; font: 500 .78rem/1.5 var(--label-text); color: var(--dusk); }
.status::before { content: ""; flex: none; width: .5rem; height: .5rem; background: var(--light); box-shadow: -2px 0 var(--cyan), 2px 0 var(--magenta), 0 0 0 1px rgb(20 26 92 / .35); }

/* --- the picture: its top dissolves into the sky, its foot into the cobalt below ---------------- */
.view {
  position: relative;
  margin: 0;
  background: linear-gradient(to bottom, var(--sky-low) 0%, #c9c1be 32%, #a3a4c8 54%, #4d60c8 80%, var(--cobalt) 100%);
}
.view img { display: block; width: 100%; max-width: 80rem; height: auto; margin-inline: auto; }
.view::before, .view::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  height: var(--seam);
  pointer-events: none;
  background-repeat: repeat-x;
}
.view::before { top: 0; background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAwCAYAAAAYX/pXAAAAX0lEQVR42mO4e/Xqf0oww6gBVDAABggpoJ0Bgy8MSPUS5QYM/jAglk++ATRLwkQbMHjCgP4pcPCHAe1tHg0DzDAgFVBs0BBIB/QLFFKjieQwoLpXqQ8odvIQ9PMowAAAORZlfCGKyQQAAAAASUVORK5CYII="); }
.view::after { bottom: -1px; background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAwCAYAAAAYX/pXAAAAYElEQVR42mNgGAUYQMdx138QHjgDBt7PpPIpN2A0DEbDgBKXUM+AoRsG1HMJsQrRMck24zRg6IQBLi9RbsDgCQNyMeUGjIYBphdwKSA6DEg2YODDgJCT6W/AwIcB3Q0AAE/YSl6YLRTtAAAAAElFTkSuQmCC"); background-position: bottom; }
/* On phones the picture is cropped to a square around the hiker, so it stays the centre. */
@media (max-width: 40rem) {
  .view img { aspect-ratio: 1; object-fit: cover; object-position: 24% 50%; }
}
@media (min-width: 80rem) {
  .view img { -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent); }
}

/* --- WCS in four steps: the explainer ------------------------------------------------------- */
/* Four steps joined by the timeline's dotted line: down the page on a phone, across on a wide
   screen. The line runs from each step's pictogram to the next one, in either direction (RTL). */
.explain { background: var(--cobalt); color: var(--cream); padding-block: clamp(3rem, 8vw, 6rem) 0; }
.flow { display: grid; margin: 0; padding: 0; list-style: none; }
.flow-step { position: relative; display: grid; grid-template-columns: 2.75rem minmax(0, 1fr); align-content: start; column-gap: 1.25rem; padding-block-end: 2rem; }
.flow-step .ic { grid-row: span 3; width: 2.75rem; height: 2.75rem; color: var(--light); }
.flow-step::after {
  content: "";
  position: absolute;
  inset-inline-start: calc(1.375rem - 1px);
  top: 3.5rem;
  bottom: .75rem;
  width: 2px;
  background: repeating-linear-gradient(to bottom, rgb(246 239 227 / .5) 0 2px, transparent 2px 6px);
}
.flow-step:last-child::after { display: none; }
.flow-n { margin: 0; font: 500 .8rem/1.6 var(--label); letter-spacing: var(--track); color: var(--light); font-variant-numeric: tabular-nums; }
.flow-step h3 { margin: .1rem 0 .35rem; font: 400 1.3rem/1.3 var(--h3); color: var(--cream); text-wrap: balance; }
.flow-step p:last-child { margin: 0; color: var(--peri); }
.ic-sm { flex: none; width: 1.35rem; height: 1.35rem; margin-top: .15rem; }
.never { margin-top: clamp(.5rem, 2vw, 1.5rem); }
.never::before {
  content: "";
  display: block;
  height: 2px;
  margin-bottom: 2rem;
  background: linear-gradient(to right, rgb(246 239 227 / .45) 50%, transparent 0) 0 0 / 6px 2px repeat-x;
}
.never h3 { margin: 0 0 1rem; font: 400 1.3rem/1.3 var(--h3); color: var(--cream); }
.never ul { display: grid; gap: .75rem 3rem; margin: 0; padding: 0; list-style: none; }
.never li { display: flex; gap: .75rem; color: var(--peri); }
.never .ic-sm { color: var(--light); }

@media (min-width: 40rem) {
  .never ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 60rem) {
  .flow { grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 2rem; }
  .flow-step { grid-template-columns: 1fr; padding-block-end: 0; }
  .flow-step .ic { grid-row: auto; margin-bottom: 1rem; }
  .flow-step::after { top: calc(1.375rem - 1px); bottom: auto; inset-inline-start: 3.75rem; inset-inline-end: -1.25rem; width: auto; height: 2px;
    background: linear-gradient(to right, rgb(246 239 227 / .5) 50%, transparent 0) 0 0 / 6px 2px repeat-x; }
  .never { margin-top: clamp(2.5rem, 5vw, 3.5rem); }
}

.more { margin: clamp(2rem, 4vw, 3rem) 0 0; font: 400 1.1rem/1.5 var(--text); }
.more + .more { margin-top: 1rem; }
/* stylelint-disable-next-line no-descending-specificity -- a section's link is never in the language menu */
.more a { color: var(--light); }

/* --- for the people someone trusts (/trusted/) ----------------------------------------------- */
.trusted { background: var(--cobalt); color: var(--cream); padding-block: clamp(3rem, 8vw, 6rem); }
.trusted-steps { display: grid; gap: 1rem; max-width: 46rem; margin: 0; padding-inline-start: 1.5rem; color: var(--peri); font-size: 1.05rem; }
.trusted-steps li::marker { font: 500 .9rem var(--label); color: var(--light); }

/* --- how a check works --------------------------------------------------------------------- */
.how, .who { background: var(--cobalt); color: var(--cream); }
.how { padding-block: clamp(3rem, 8vw, 6rem) clamp(2rem, 5vw, 3.5rem); }
h2 {
  margin: 0 0 .7em;
  font: 300 clamp(2rem, 1.35rem + 2.4vw, 3.25rem)/1.12 var(--display);
  letter-spacing: calc(var(--h1-track) / 2);
}
.how-grid { display: grid; gap: 2.5rem 4rem; }
/* stylelint-disable-next-line no-descending-specificity -- the four steps' text (.flow-step) is in another section */
.how-intro p { max-width: var(--measure); color: var(--peri); margin: 0 0 1.5rem; }
.eg { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.eg-label { flex-basis: 100%; font: 500 .75rem/1.4 var(--label-text); letter-spacing: var(--track); text-transform: uppercase; color: var(--peri); }
.chip { padding: .5rem .75rem; border: 1px solid rgb(246 239 227 / .5); color: var(--cream); font: 500 .85rem/1.2 var(--label-text); }

.steps { margin: 0; padding: 0; list-style: none; }
.step { position: relative; display: grid; grid-template-columns: 1fr; padding-inline-start: 1.75rem; padding-block-end: 2.25rem; }
.step:last-child { padding-block-end: 0; }
/* A dotted line joins the steps; each step has a square node, the alert step a split-colour one. */
.step::before {
  content: "";
  position: absolute;
  inset-inline-start: .3rem;
  top: 1.1rem;
  bottom: -.3rem;
  width: 2px;
  background: repeating-linear-gradient(to bottom, rgb(246 239 227 / .5) 0 2px, transparent 2px 6px);
}
.step:last-child::before { display: none; }
.step::after {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: .5rem;
  width: .65rem;
  height: .65rem;
  background: var(--cream);
}
.step-alert::after { background: var(--light); box-shadow: -3px 0 var(--cyan), 3px 0 var(--magenta); }
.step time { font: 500 1rem/1.6 var(--label); color: var(--light); font-variant-numeric: tabular-nums; }
.step h3 { margin: .1rem 0 .35rem; font: 400 1.3rem/1.3 var(--h3); color: var(--cream); }
/* stylelint-disable-next-line no-descending-specificity -- the four steps' text (.flow-step) is in another section */
.step p { margin: 0; max-width: 32rem; color: var(--peri); }
.step .bubble {
  max-width: 21rem;
  margin-top: 1rem;
  padding: .6rem .9rem .65rem;
  background: var(--cream);
  color: var(--ink);
  border-radius: 1.1rem;
  border-end-start-radius: .3rem;
  font: 400 1rem/1.45 var(--msg);
  box-shadow: -2px 0 0 var(--cyan), 2px 0 0 var(--magenta);
}
.step .tg-key {
  max-width: 21rem;
  margin-top: .35rem;
  padding: .6rem;
  border-radius: .7rem;
  background: rgb(246 239 227 / .16);
  color: var(--cream);
  text-align: center;
  font: 500 .95rem/1.2 var(--msg);
}
.key {
  padding: .1em .45em;
  border-radius: .4em;
  background: rgb(246 239 227 / .16);
  font: 500 .9em/1 var(--msg);
  white-space: nowrap;
}
.notes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
  gap: 2rem 3rem;
  margin-top: clamp(3rem, 6vw, 4.5rem);
}
.notes::before {
  content: "";
  grid-column: 1 / -1;
  height: 2px;
  background: linear-gradient(to right, rgb(246 239 227 / .45) 50%, transparent 0) 0 0 / 6px 2px repeat-x;
}
.note h3 { margin: 0 0 .4rem; font: 400 1.15rem/1.35 var(--h3); color: var(--cream); }
/* stylelint-disable-next-line no-descending-specificity -- the four steps' text (.flow-step) is in another section */
.note p { margin: 0; color: var(--peri); font-size: 1rem; }

@media (min-width: 60rem) {
  .how-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .how-intro { position: sticky; top: 2rem; align-self: start; }
  .step { grid-template-columns: var(--time-col) minmax(0, 1fr); column-gap: 2rem; padding-inline-start: 0; }
  .step::before { inset-inline-start: calc(var(--time-col) + .3rem + 1px); top: 1.4rem; }
  .step::after { inset-inline-start: calc(var(--time-col) + 0rem + 1px); }
  .step time { padding-inline-end: 1rem; }
  .step-body { padding-inline-start: 1.25rem; }
}

/* --- who it is for ------------------------------------------------------------------------- */
.who { padding-block: clamp(1.5rem, 4vw, 3rem) 0; }
.who h2 { max-width: 48rem; }
.who-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr));
  gap: 0 3rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
/* Each entry: who, in the display face, then what WCS does for them; the mark sits by the title. */
.who-list li {
  display: grid;
  grid-template-columns: .5rem minmax(0, 1fr);
  align-content: start; /* a short entry beside a long one keeps its text under its title */
  column-gap: 1rem;
  padding-block: 1.1rem 1.4rem;
  border-top: 1px solid rgb(246 239 227 / .2);
}
.who-list h3 { grid-column: 2; margin: 0 0 .4rem; font: 300 clamp(1.3rem, 1.1rem + .8vw, 1.75rem)/1.25 var(--display); color: var(--cream); }
/* stylelint-disable-next-line no-descending-specificity -- the four steps' text (.flow-step) is in another section */
.who-list p { grid-column: 2; margin: 0; color: var(--peri); font-size: 1.05rem; }
.who-list li::before { grid-row: 1; grid-column: 1; margin-top: .6em; }
.who-list li::before, .privacy-list li::before {
  content: "";
  flex: none;
  width: .5rem;
  height: .5rem;
  background: var(--light);
  box-shadow: -2px 0 var(--cyan), 2px 0 var(--magenta);
  transform: translateY(-.2em);
}
.who::after {
  content: "";
  display: block;
  height: var(--seam);
  margin-top: clamp(3rem, 7vw, 5rem);
  background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAwCAYAAAAYX/pXAAAAYElEQVR42mNgGAUYQFDc/z8ID5wBA+9nUvmUGzAaBqNhQIlLqGfA0A0D6rmEWIXomGSbcRowdMIAl5coN2DwhAG5mHIDRsMA0wu4FBAdBiQbMPBhQMjJ9Ddg4MOA7gYAACNBPM/VzCp3AAAAAElFTkSuQmCC") repeat-x bottom;
}

/* --- night: the card for someone you worry about, privacy and the footer ------------------- */
.care, .privacy, .foot { background: var(--night); color: var(--cream); }
.privacy { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.privacy .more a { color: var(--cream); }
.privacy-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr));
  gap: 1.5rem 3rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.privacy-list li { display: flex; align-items: baseline; gap: 1rem; color: var(--peri); font-size: 1.05rem; }
.privacy-list li::before { width: .4rem; height: .4rem; }
.privacy-list li:first-child { color: var(--cream); }
/* The same list on the page for trusted people (/trusted/), under its heading, on cobalt. */
.trusted h2 + .privacy-list { margin-bottom: clamp(2.5rem, 6vw, 4rem); }
.trusted .privacy-list li:first-child { color: var(--peri); }

/* Questions (FAQ): the answers open in place, no script. */
.faq { background: var(--night); color: var(--cream); padding-block: 0 clamp(2.5rem, 6vw, 4.5rem); }
.faq-list { display: grid; gap: .25rem; max-width: 52rem; }
.faq details { border-block-end: 1px solid rgb(205 211 247 / .25); }
/* stylelint-disable-next-line no-descending-specificity -- a question is never the language menu */
.faq summary { cursor: pointer; padding-block: .9rem; font-size: 1.15rem; list-style-position: outside; }
/* On a phone the gutter is the page's edge: the marker hangs inside, not off the screen. */
@media (max-width: 40rem) { .faq summary { list-style-position: inside; } }
.faq summary:focus-visible { outline: 2px solid var(--light); outline-offset: 4px; }
/* stylelint-disable-next-line no-descending-specificity -- the four steps' text (.flow-step) is in another section */
.faq details p { margin: 0 0 1.1rem; color: var(--peri); max-width: var(--measure); }

/* For someone you worry about: the light of the horizon, rising out of the night as a card. */
.care { padding-block: calc(var(--seam) + 1.5rem) 0; }
.card { position: relative; max-width: 52rem; padding: clamp(1.5rem, 4vw, 3rem); background: var(--light); color: var(--ink); }
.card::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 100%;
  height: var(--seam);
  background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAwCAYAAAAYX/pXAAAAYElEQVR42mNgGAUY4MPjrf9BeOAMGHg/k8qn3IDRMBgNA0pcQj0Dhm4YUM8lxCpExyTbjNOAoRMGuLxEuQGDJwzIxZQbMBoGmF7ApYDoMCDZgIEPA0JOpr8BAx8GdDcAAPc6ZwQEwX+TAAAAAElFTkSuQmCC") repeat-x bottom;
}
.card h2 { margin-bottom: .4em; }
/* stylelint-disable-next-line no-descending-specificity -- the four steps' text (.flow-step) is in another section */
.card p { max-width: 44rem; margin: 0 0 1.5rem; }
.care-steps { display: grid; gap: .8rem; max-width: 44rem; margin: 0 0 1.5rem; padding-inline-start: 1.5rem; }
.care-steps li::marker { font: 500 .9rem var(--label); color: var(--cobalt); }
.card .care-note { margin-bottom: 0; color: var(--dusk); }
.card .more { margin-top: 1.25rem; }
.card .more a { color: var(--ink); }

.foot { padding-block: 2rem 3rem; color: var(--peri); }
.foot-in { display: grid; gap: 1.25rem; padding-block-start: 1.75rem; border-top: 1px solid rgb(205 211 247 / .2); }
.foot .mark b { color: var(--cream); text-shadow: none; }
.foot .mark span { color: var(--peri); }
.foot-langs { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; margin: 0; padding: 0; list-style: none; }
/* stylelint-disable-next-line no-descending-specificity -- the footer's languages are not the header's menu */
.foot-langs a { text-decoration: none; color: var(--peri); font-size: .95rem; }
.foot-langs a:hover { color: var(--cream); text-decoration: underline; }
.foot-langs a[aria-current="page"] { color: var(--cream); }

@media (prefers-reduced-motion: reduce) {
  h1 { animation: none; }
  .btn { transition: none; }
}
:root:lang(de) p { hyphens: auto; } /* long compounds on narrow screens */
