/* The CASCO note (scripts/build-casco-page.py): a document on the dark site, in the
   language of the European accident report: vehicle A blue, vehicle B yellow, tick boxes,
   a squared sketch, rubber stamps, a ballpoint. Self-contained: no light-pages.css. */

/* PT Serif, PT Sans Narrow; Caveat cut to the handwritten words of the page */
@font-face { font-family: "PT Sans Narrow"; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/gf/ptsn-400-cyrillic.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "PT Sans Narrow"; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/gf/ptsn-400-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "PT Sans Narrow"; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/gf/ptsn-400-latin.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: "PT Sans Narrow"; font-style: normal; font-weight: 700; font-display: swap; src: url(/fonts/gf/ptsn-700-cyrillic.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "PT Sans Narrow"; font-style: normal; font-weight: 700; font-display: swap; src: url(/fonts/gf/ptsn-700-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "PT Sans Narrow"; font-style: normal; font-weight: 700; font-display: swap; src: url(/fonts/gf/ptsn-700-latin.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: "PT Serif"; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/gf/ptserif-400-cyrillic.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "PT Serif"; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/gf/ptserif-400-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "PT Serif"; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/gf/ptserif-400-latin.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: "PT Serif"; font-style: normal; font-weight: 700; font-display: swap; src: url(/fonts/gf/ptserif-700-cyrillic.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "PT Serif"; font-style: normal; font-weight: 700; font-display: swap; src: url(/fonts/gf/ptserif-700-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "PT Serif"; font-style: normal; font-weight: 700; font-display: swap; src: url(/fonts/gf/ptserif-700-latin.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: "Caveat"; font-style: normal; font-weight: 600; font-display: swap; src: url(/fonts/gf/caveat-600-cs-cyrillic.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Caveat"; font-style: normal; font-weight: 600; font-display: swap; src: url(/fonts/gf/caveat-600-cs-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Caveat"; font-style: normal; font-weight: 600; font-display: swap; src: url(/fonts/gf/caveat-600-cs-latin.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; }

/* ── the sheet ───────────────────────────────────────────── */
:root {
  --cs-desk: #1c1917;
  --cs-paper: #f6f8fb;
  --cs-paper-2: #e9eff7;
  --cs-print: #13294b;
  --cs-soft: #3f4f68;
  --cs-mute: #56657c;
  --cs-rule: #bccada;
  --cs-grid: #dbe4ef;
  --cs-a: #2b63c6;
  --cs-a-tint: #e1ebfa;
  --cs-b: #d9a800;
  --cs-b-tint: #fbf0c2;
  --cs-pen: #1f3fae;
  --cs-red: #c3272d;
  --cs-green: #1b7a3e;
  --cs-serif: "PT Serif", Georgia, "Times New Roman", serif;
  --cs-narrow: "PT Sans Narrow", "Arial Narrow", "Roboto Condensed", Arial, sans-serif;
  --cs-hand: "Caveat", "Segoe Print", "Bradley Hand", cursive;
}
/* full page: the paper runs edge to edge, the text keeps a reading column */
body:has(main.cs), body:has(main.cs) #wrapper { background: var(--cs-paper); }
main#content.cs { display: block; width: 100%; float: none; padding: 65px 0 0; background: var(--cs-paper); }
@media (min-width: 992px) { main#content.cs { padding: 107px 0 0; } }

.cs-doc { position: relative; margin: 0; padding: 22px 20px 0; background: var(--cs-paper); color: var(--cs-print);
  font: 400 17.5px/1.62 var(--cs-serif); border-top: 7px solid var(--cs-a); }
.cs-doc::before { content: ""; position: absolute; top: -7px; right: 0; width: 50%; height: 7px; background: var(--cs-b); }
@media (min-width: 768px) { .cs-doc { padding: 34px 40px 0; font-size: 18.5px; } }
.cs-doc > * { max-width: 1080px; margin-left: auto; margin-right: auto; }
.cs-doc p, .cs-doc li, .cs-doc dd { color: inherit; }
.cs-doc p { margin: 0 0 16px; max-width: 36em; }
main#content.cs .cs-doc a { color: var(--cs-pen); text-decoration: underline; text-underline-offset: 3px; }
main#content.cs .cs-doc a:hover { color: var(--cs-print); }
.cs-doc :focus-visible { outline: 3px solid var(--cs-a); outline-offset: 3px; }
.cs-doc b, .cs-doc strong { font-weight: 700; color: var(--cs-print); }

main#content.cs .cs-doc .cs-crumbs a { color: var(--cs-mute); text-decoration: none; }
.cs-doc .cs-crumbs a:hover { text-decoration: underline; }
.cs-doc .cs-doc-head .cs-crumbs { margin: 0; }
.cs-doc .cs-doc-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 16px; font: 400 15px/1.4 var(--cs-narrow); color: var(--cs-soft); padding: 0 0 10px; margin: 0 auto 26px; border-bottom: 1px solid var(--cs-rule); }

/* headings: the form's narrow print */
.cs-doc h1, .cs-doc h2, .cs-doc h3 { font-family: var(--cs-narrow); font-weight: 700; color: var(--cs-print); letter-spacing: 0; margin: 0; }
.cs-doc h1 { font-size: clamp(38px, 10.4vw, 70px); line-height: .98; max-width: 13em; margin: 0 0 30px; }
.cs-doc h2 { font-size: clamp(29px, 6.6vw, 42px); line-height: 1.06; margin: 0 0 12px; max-width: 18em; }
.cs-doc h3 { font-size: 23px; line-height: 1.15; }
.cs-no { display: inline-grid; place-items: center; width: 1.05em; height: 1.05em; margin: 0 .32em 0 0; border: 2px solid currentColor; font-size: .62em; line-height: 1; vertical-align: .14em; }

main#content.cs .cs-doc > section { scroll-margin-top: 90px; margin-left: auto; margin-right: auto; padding: 40px 0 0; background: none; }
main#content.cs .cs-doc > section + section { margin-top: 44px; border-top: 4px double var(--cs-rule); }
@media (min-width: 768px) { main#content.cs .cs-doc > section + section { margin-top: 60px; padding-top: 52px; } }
main#content.cs .cs-doc > section.cs-first { padding-top: 0; }
.cs-doc .cs-lead { color: var(--cs-soft); margin-bottom: 24px; }

/* ── first screen: the question, answered on a form ── */
.cs-form { border: 1.5px solid var(--cs-print); background: #fff; margin: 0 0 28px; max-width: 680px; }
.cs-frow { display: grid; gap: 8px 18px; padding: 12px 14px; align-items: center; }
.cs-frow + .cs-frow { border-top: 1px solid var(--cs-rule); }
@media (min-width: 560px) { .cs-frow { grid-template-columns: 1fr auto; padding: 14px 18px; } }
.cs-flab { font: 400 18px/1.3 var(--cs-narrow); }
.cs-fopts { display: flex; gap: 22px; }
.cs-opt { display: inline-flex; align-items: center; gap: 9px; font: 700 19px/1 var(--cs-narrow); color: var(--cs-mute); }
.cs-opt.is-on { color: var(--cs-print); }
.cs-box { position: relative; display: inline-block; flex: 0 0 auto; width: 28px; height: 28px; border: 2px solid var(--cs-print); background: #fff; }
.cs-x { position: absolute; inset: -5px; width: calc(100% + 10px); height: calc(100% + 10px); overflow: visible; }
.cs-x path { fill: none; stroke: var(--cs-pen); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.cs-first .cs-x path { animation: cs-draw .32s .55s cubic-bezier(.4, 0, .6, 1) both; }
.cs-first .cs-x path + path { animation-delay: .82s; }
.cs-first .cs-frow + .cs-frow .cs-x path { animation-delay: 1.15s; }
.cs-first .cs-frow + .cs-frow .cs-x path + path { animation-delay: 1.4s; }
@keyframes cs-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }

.cs-doc .cs-answer { font: 700 clamp(22px, 5.4vw, 29px)/1.32 var(--cs-serif); max-width: 24em; margin: 0 0 18px; }
.cs-doc .cs-capsule { color: var(--cs-soft); padding-left: 18px; border-left: 3px solid var(--cs-a); margin-bottom: 28px; }

.cs-acts { display: flex; flex-wrap: wrap; gap: 10px; }
main#content.cs .cs-doc .cs-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 10px 22px; border: 2px solid var(--cs-print); border-radius: 3px; background: transparent; color: var(--cs-print); font: 700 19px/1.15 var(--cs-narrow); text-decoration: none; cursor: pointer; }
main#content.cs .cs-doc .cs-btn:hover { background: var(--cs-paper-2); color: var(--cs-print); }
main#content.cs .cs-doc .cs-btn.is-ink { background: var(--cs-print); color: var(--cs-paper); }
main#content.cs .cs-doc .cs-btn.is-ink:hover { background: #0b1d38; color: #fff; }
.cs-btn svg { width: 22px; height: 22px; flex: 0 0 auto; }
.cs-btn.is-wa svg { color: #1a9e4b; }
@media (max-width: 479px) { .cs-acts .cs-btn { flex: 1 1 100%; } }

/* ── rubber stamps ── */
.cs-doc .cs-stamp { position: absolute; margin: 0; max-width: none; pointer-events: none; transform: rotate(-8deg); mix-blend-mode: multiply; }
.cs-stamp span { display: block; padding: 7px 13px 6px; border: 3px solid currentColor; outline: 1.5px solid currentColor; outline-offset: 3px; font: 700 23px/1.05 var(--cs-narrow); letter-spacing: .05em; white-space: nowrap;
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' seed='7'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 -2.6 2.05'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
          mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' seed='7'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 -2.6 2.05'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }
.cs-stamp.is-ok { color: var(--cs-green); }
.cs-stamp.is-pay { color: var(--cs-red); }

/* ── two policies ── */
.cs-pols { display: grid; gap: 22px; }
@media (min-width: 760px) { .cs-pols { grid-template-columns: 1fr 1fr; } }
.cs-pol { position: relative; background: #fff; border: 1.5px solid var(--cs-print); padding-bottom: 76px; }
.cs-pol h3 { padding: 12px 16px; border-bottom: 1.5px solid var(--cs-print); background: var(--cs-a-tint); }
.cs-pol dl { margin: 0; }
.cs-pol dl > div { display: grid; grid-template-columns: 40% 1fr; gap: 12px; padding: 10px 16px; border-bottom: 1px dotted var(--cs-rule); }
.cs-pol dt { font: 400 16px/1.35 var(--cs-narrow); color: var(--cs-mute); }
.cs-pol dd { margin: 0; font-size: 17px; line-height: 1.4; }
.cs-pol.is-casco { border-style: dashed; background: repeating-linear-gradient(-45deg, transparent 0 11px, rgba(19, 41, 75, .035) 11px 12px), #fff; }
.cs-pol.is-casco h3 { background: transparent; border-bottom-style: dashed; color: var(--cs-soft); }
.cs-pol.is-casco dd { color: var(--cs-soft); }
.cs-pol .cs-stamp { right: 16px; bottom: 18px; }
.cs-pol.is-casco .cs-stamp { right: auto; left: 50%; bottom: 20px; transform: translateX(-50%) rotate(-7deg); }
.cs-pol.is-casco .cs-stamp span { font-size: 26px; }

/* ── who pays: the circumstances and the sketch ── */
.cs-sim-grid { display: grid; gap: 22px; }
.cs-sc { margin: 0 0 22px; padding: 0; border: 1.5px solid var(--cs-print); background: #fff; min-width: 0; }
.cs-sc[hidden] { display: none; }
.cs-sc legend { float: left; width: 100%; margin: 0; padding: 9px 14px; font: 400 15px/1.3 var(--cs-narrow); color: var(--cs-mute); border-bottom: 1px solid var(--cs-rule); }
.cs-sc-opt { clear: both; display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 10px 14px; cursor: pointer; }
.cs-sc-opt + .cs-sc-opt { border-top: 1px solid var(--cs-rule); }
.cs-sc-opt:hover { background: var(--cs-paper); }
.cs-sc-opt input, .cs-check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.cs-sc-opt input:focus-visible + .cs-box, .cs-check input:focus-visible + .cs-box { outline: 3px solid var(--cs-a); outline-offset: 3px; }
.cs-sc-opt .cs-x, .cs-check .cs-x { visibility: hidden; }
.cs-sc-opt input:checked + .cs-box .cs-x, .cs-check input:checked + .cs-box .cs-x { visibility: visible; }
.cs-sc-opt input:checked + .cs-box .cs-x path, .cs-check input:checked + .cs-box .cs-x path { animation: cs-draw .22s cubic-bezier(.4, 0, .6, 1) both; }
.cs-sc-opt input:checked + .cs-box .cs-x path + path, .cs-check input:checked + .cs-box .cs-x path + path { animation-delay: .2s; }
.cs-sc-opt input:checked ~ .cs-sc-t b { color: var(--cs-pen); }
.cs-sc-t b { display: block; font: 700 19px/1.25 var(--cs-narrow); }
.cs-sc-t small { display: block; font: 400 15px/1.3 var(--cs-narrow); color: var(--cs-mute); }
@media (min-width: 900px) {
  .cs-sim.is-js .cs-sim-body { display: grid; grid-template-columns: 34% 1fr; gap: 26px; align-items: start; }
  .cs-sim.is-js .cs-sc { margin: 0; }
}

.cs-panel + .cs-panel { margin-top: 40px; }
.is-js .cs-panel + .cs-panel { margin-top: 0; }
.is-js .cs-panel:not(.is-active) { display: none; }
.cs-panel-h { margin: 0 0 12px; }
.is-js .cs-panel-h { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.cs-sheet-box { position: relative; border: 1.5px solid var(--cs-print); background: #fff; }
.cs-doc .cs-box-lab { margin: 0; padding: 7px 12px; font: 400 15px/1.3 var(--cs-narrow); color: var(--cs-mute); border-bottom: 1px solid var(--cs-rule); }
.cs-grid { padding: 6px 0 54px; background-color: #fff; background-image: linear-gradient(var(--cs-grid) 1px, transparent 1px), linear-gradient(90deg, var(--cs-grid) 1px, transparent 1px); background-size: 15px 15px; background-position: -1px -1px; }
.cs-sk { display: block; width: 100%; max-width: 560px; height: auto; margin: 0 auto; overflow: visible; }
.cs-curb { stroke: var(--cs-print); stroke-width: 2; fill: none; }
.cs-mid { stroke: var(--cs-mute); stroke-width: 1.4; stroke-dasharray: 10 8; fill: none; }
.cs-veh rect { stroke: var(--cs-pen); stroke-width: 2.2; stroke-linejoin: round; }
.cs-veh.is-a rect { fill: var(--cs-a-tint); }
.cs-veh.is-b rect { fill: var(--cs-b-tint); }
.cs-glass { stroke: var(--cs-pen); stroke-width: 1.6; opacity: .55; fill: none; }
.cs-letter { font: 700 22px var(--cs-narrow); fill: var(--cs-print); }
.cs-hand-s { font: 600 21px var(--cs-hand); fill: var(--cs-pen); }
.cs-arrow, .cs-arrow-h { fill: none; stroke: var(--cs-pen); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.cs-arrow { stroke-dasharray: 1; }
.cs-bang path { fill: rgba(195, 39, 45, .08); stroke: var(--cs-red); stroke-width: 2.4; stroke-linejoin: round; stroke-dasharray: 1; }
.cs-pole { fill: #fff; stroke: var(--cs-pen); stroke-width: 2.2; }
.cs-pole-h { stroke: var(--cs-pen); stroke-width: 1.4; opacity: .7; }
.cs-veh, .cs-bang { transform-box: fill-box; transform-origin: center; }
.cs-panel .cs-stamp { right: 14px; bottom: 14px; }
@media (max-width: 479px) { .cs-panel .cs-stamp span { font-size: 19px; } }

.cs-pays { margin: 14px 0 12px; display: grid; gap: 8px; }
.cs-pay-row { display: grid; gap: 0 14px; padding: 9px 14px 8px; border-left: 6px solid var(--cs-a); background: var(--cs-a-tint); }
.cs-pay-row.is-b { border-left-color: var(--cs-b); background: var(--cs-b-tint); }
@media (min-width: 560px) { .cs-pay-row { grid-template-columns: 46% 1fr; align-items: baseline; } }
.cs-pay-row dt { font: 400 16px/1.3 var(--cs-narrow); color: var(--cs-soft); }
.cs-pay-row dd { margin: 0; font: 600 27px/1.1 var(--cs-hand); color: var(--cs-pen); }
.cs-doc .cs-note { color: var(--cs-soft); font-size: .95em; }

/* the play: a script marks the section ready, a panel plays when it shows.
   Without the script, or with reduced motion, every sketch is drawn at its end. */
.is-ready .cs-panel:not(.is-play) .cs-mover { transform: translateX(-74px); }
.is-ready .cs-panel:not(.is-play) .cs-arrow,
.is-ready .cs-panel:not(.is-play) .cs-bang path { stroke-dashoffset: 1; }
.is-ready .cs-panel:not(.is-play) .cs-bang path { fill-opacity: 0; }
.is-ready .cs-panel:not(.is-play) .cs-stamp { opacity: 0; transform: rotate(-8deg) scale(1.9); }
.is-ready .is-play .cs-mover { transition: transform .85s cubic-bezier(.55, 0, .9, .4); }
.is-ready .is-play .cs-arrow { transition: stroke-dashoffset .5s .1s ease-out; }
.is-ready .is-play .cs-bang path { transition: stroke-dashoffset .3s .84s linear, fill-opacity .2s 1s; }
.is-ready .is-play .cs-stamp { transition: opacity .08s 1.25s, transform .22s 1.25s cubic-bezier(.3, 1.5, .55, 1); }
.is-ready .is-play .cs-veh:not(.cs-mover) { animation: cs-nudge .4s .86s ease-out; }
@keyframes cs-nudge { 30% { transform: translateX(5px) rotate(2deg); } 100% { transform: none; } }

/* ── "full insurance" elsewhere ── */
.cs-strike { position: relative; display: inline-block; }
.cs-strike svg { position: absolute; left: -3%; top: 34%; width: 106%; height: .4em; overflow: visible; }
.cs-strike path { fill: none; stroke: var(--cs-red); stroke-width: 3.2; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.cs-trap, .cs-acc { list-style: none; padding: 0; margin: 0; counter-reset: cs; }
.cs-trap li, .cs-acc li { counter-increment: cs; position: relative; padding: 0 0 18px 58px; margin: 0 0 18px; border-bottom: 1px dotted var(--cs-rule); max-width: 38em; }
.cs-trap li::before, .cs-acc li::before { content: counter(cs); position: absolute; left: 0; top: -6px; font: 700 42px/1 var(--cs-narrow); color: var(--cs-rule); }
.cs-trap li b, .cs-acc li b { display: block; font: 700 21px/1.25 var(--cs-narrow); margin-bottom: 2px; }
.cs-trap li:last-child { border-bottom: 0; }
.cs-trap li:last-child::before { color: var(--cs-red); }
.cs-trap li:last-child b { color: var(--cs-red); }

/* ── the checklist ── */
.cs-check { list-style: none; padding: 0; margin: 0 0 22px; background: #fff; border: 1.5px solid var(--cs-print); max-width: 720px; }
.cs-check li { margin: 0; }
.cs-check li + li { border-top: 1px solid var(--cs-rule); }
.cs-check label { display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; cursor: pointer; }
.cs-check label:hover { background: var(--cs-paper); }
.cs-check .cs-box { margin-top: 1px; }
.cs-doc .cs-why { font-weight: 700; margin-bottom: 16px; }

/* ── signed ── */
.cs-us { list-style: none; padding: 0; margin: 0 0 8px; }
.cs-us li { margin: 0 0 12px; padding-left: 22px; position: relative; max-width: 38em; }
.cs-us li::before { content: ""; position: absolute; left: 2px; top: .68em; width: 9px; height: 2px; background: var(--cs-print); }
.cs-signed { display: flex; align-items: center; gap: 18px; margin-top: 18px; }
.cs-doc .cs-signed p { margin: 0; font: 400 16px/1.45 var(--cs-narrow); color: var(--cs-soft); }
.cs-seal { width: 104px; height: 104px; flex: 0 0 auto; color: #2a46a0; opacity: .82; transform: rotate(-14deg); mix-blend-mode: multiply; }
.cs-seal-t { font: 700 11.6px var(--cs-narrow); letter-spacing: 1.6px; fill: currentColor; }
.cs-seal-c { font: 700 15px var(--cs-narrow); letter-spacing: 1px; fill: currentColor; }

/* ── questions ── */
.cs-faq details { border-top: 1px solid var(--cs-rule); }
.cs-faq details:last-child { border-bottom: 1px solid var(--cs-rule); }
.cs-faq summary { list-style: none; position: relative; cursor: pointer; padding: 16px 44px 16px 0; font: 700 20px/1.3 var(--cs-narrow); }
.cs-faq summary::-webkit-details-marker { display: none; }
.cs-faq summary::after { content: "+"; position: absolute; right: 6px; top: 11px; font: 400 30px/1 var(--cs-narrow); color: var(--cs-pen); }
.cs-faq details[open] summary::after { content: "\2212"; }
.cs-faq details p { margin: 0 0 18px; color: var(--cs-soft); }

/* ── send it on, ask us ── */
main#content.cs .cs-doc > section.cs-send { max-width: none; margin: 60px -20px 0; padding: 40px 20px 44px; background: var(--cs-paper-2); border-top: 4px double var(--cs-rule); }
@media (min-width: 768px) { main#content.cs .cs-doc > section.cs-send { margin: 72px -40px 0; padding: 56px max(40px, calc(50% - 500px)) 64px; } }
.cs-send > * { max-width: 1080px; }
.cs-doc .cs-langs { font: 400 16px/1.5 var(--cs-narrow); color: var(--cs-soft); margin: 18px 0 0; }
.cs-langs a { margin-left: 8px; }
.cs-doc .cs-cta-h { margin-top: 44px; }
.cs-doc .cs-updated { margin: 28px 0 0; font: 400 14px/1.4 var(--cs-narrow); color: var(--cs-mute); }

@media (prefers-reduced-motion: reduce) {
  .cs-doc *, .cs-doc *::before { animation: none !important; transition: none !important; }
  .is-ready .cs-panel .cs-mover, .is-ready .cs-panel .cs-stamp { transform: none !important; opacity: 1 !important; }
  .is-ready .cs-panel .cs-stamp { transform: rotate(-8deg) !important; }
  .is-ready .cs-panel .cs-arrow, .is-ready .cs-panel .cs-bang path { stroke-dashoffset: 0 !important; fill-opacity: 1 !important; }
}

/* wide screens: the question and its answer beside the filled-in form */
@media (min-width: 992px) {
  .cs-first { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); column-gap: 56px; align-items: start; }
  .cs-first > * { grid-column: 1; }
  .cs-doc .cs-first > h1 { grid-column: 1 / -1; max-width: 15em; margin-bottom: 36px; }
  .cs-first > .cs-form { grid-column: 2; grid-row: 2 / span 3; margin: 6px 0 0; }
  .cs-doc h1 { font-size: clamp(56px, 5.6vw, 80px); }
}

/* the frame's header is see-through over its dark pages; over the paper it turned grey */
body:has(main.cs) header, body:has(main.cs) header.transparent, body:has(main.cs) header.smaller { background: #14171c !important; }

/* calm, not scary (owner, 15 Oct): a reassuring line under the answer; the "at your cost"
   stamps in the pen's blue ink, red stays for what does not exist */
.cs-doc .cs-calm { max-width: 34em; margin: 0 0 22px; padding: 12px 16px; background: var(--cs-a-tint); border-left: 4px solid var(--cs-green); color: var(--cs-print); }
.cs-panel .cs-stamp.is-pay { color: #2a46a0; }
