/*
  v18-std.css · the standard pages (build_v18_std.py), on top of v18.css, which holds the canon:
  tokens (--blue, --navy, --grey, --g, --mono, --sans), header, menu, footer, buttons.
  Manner: a short blue band with the title, then white pages; a centred narrow column for reading;
  grey meta in mono; underlined links with grey counts; ruled lists, no icon chips, no filled cards.
  Sections: band · list of posts · article and digest · glossary · closing strip.
*/

/* ---- band ---- */
.st-top{position:relative;color:#fff;padding:clamp(130px,12vw,180px) var(--g) clamp(44px,5vw,76px);text-align:center;
  background:radial-gradient(80% 90% at 50% 0%,#3d82f2 0,transparent 62%),linear-gradient(180deg,var(--blue) 0,var(--blue) 30%,var(--navy) 100%)}
.st-crumbs{margin:0 0 22px;font:500 13px/1.4 var(--mono);letter-spacing:.06em;text-transform:uppercase;color:#e9f0ff}
.st-crumbs a{color:#fff;text-decoration:underline;text-underline-offset:4px;text-decoration-color:rgba(255,255,255,.5)}
.st-top h1{margin:0 auto;max-width:17ch;font-size:clamp(44px,7.2vw,112px);line-height:.98;letter-spacing:-.045em;font-weight:600;text-wrap:balance}
.st-top h1 sup{font:500 clamp(15px,1.5vw,22px)/1 var(--mono);letter-spacing:0;color:#e9f0ff;vertical-align:top;position:relative;top:.5em;margin-left:.35em}
.st-top.art h1{max-width:24ch;font-size:clamp(34px,4.4vw,68px);line-height:1.04;letter-spacing:-.035em}
.st-top.tool h1{max-width:20ch;font-size:clamp(36px,5vw,78px);line-height:1.02}
.st-lede{margin:26px auto 0;max-width:56ch;font-size:clamp(19px,1.5vw,23px);line-height:1.5;color:#e6efff;text-wrap:pretty}
.st-meta{margin:22px 0 0;font:500 14px/1.4 var(--mono);letter-spacing:.04em;color:#e9f0ff}

/* ---- section frame and shared bits ---- */
.st-sec{max-width:var(--w);margin:0 auto;padding:clamp(36px,4.5vw,72px) var(--g)}
.st-btn{display:inline-flex;align-items:center;gap:10px;height:56px;padding:0 30px;border-radius:999px;border:1.5px solid var(--navy);color:var(--navy);font-size:18px;font-weight:600;text-decoration:none;transition:background-color .2s,color .2s}
.st-btn:after{content:"→"}
@media (hover:hover){.st-btn:hover{background:var(--navy);color:#fff}}
.st-more{margin:clamp(32px,4vw,56px) 0 0;text-align:center}
.st-none{margin:40px 0;text-align:center;font-size:19px;color:#566683}
.st-end{color:#fff;text-align:center;padding:clamp(64px,8vw,120px) var(--g);background:linear-gradient(180deg,var(--blue),var(--navy))}
.st-end h2{margin:0 auto;max-width:18ch;font-size:clamp(34px,4.6vw,68px);line-height:1.03;letter-spacing:-.04em;font-weight:600;text-wrap:balance}
.st-end p{margin:20px auto 30px;max-width:46ch;font-size:19px;line-height:1.5;color:#dbe6fb}

/* ---- list of posts ---- */
.st-tabs{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin-bottom:clamp(28px,3.4vw,52px)}
.st-tabs button{all:unset;cursor:pointer;font-size:17px;padding:10px 16px;border-radius:999px;background:var(--grey);color:#0b1430;transition:background-color .2s}
.st-tabs button sup{font:500 11px/1 var(--mono);color:#5d6673;margin-left:5px;vertical-align:top;position:relative;top:2px}
.st-tabs button[aria-selected=true]{background:var(--navy);color:#fff}.st-tabs button[aria-selected=true] sup{color:#cfe0ff}
.st-tabs button:focus-visible{outline:2px solid var(--blue);outline-offset:2px}
.st-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(36px,4vw,60px) clamp(20px,2.4vw,36px)}
.st-card{display:flex;flex-direction:column;gap:16px;text-decoration:none;color:#0b1430}
.st-card[hidden]{display:none}
.st-card .cv{display:block;overflow:hidden;border-radius:14px;background:var(--grey);aspect-ratio:1200/630}
.st-card .cv img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .6s cubic-bezier(.23,1,.32,1)}
@media (hover:hover){.st-card:hover .cv img{transform:scale(1.035)}.st-card:hover b{text-decoration-color:currentColor}}
.st-card .tx{display:flex;flex-direction:column;gap:10px}
.st-card small{font:500 12.5px/1.3 var(--mono);letter-spacing:.06em;text-transform:uppercase;color:#566683}
.st-card b{font-size:clamp(22px,1.75vw,27px);line-height:1.18;letter-spacing:-.02em;font-weight:600;text-decoration:underline;text-decoration-color:transparent;text-decoration-thickness:1.5px;text-underline-offset:5px;transition:text-decoration-color .2s;text-wrap:balance}
.st-card em{font-style:normal;font-size:17px;line-height:1.5;color:#3b4a68;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.st-card i{font-style:normal;font:500 13px/1.3 var(--mono);color:#5d6673}
.st-list:not(.flt) .st-card.big{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:clamp(24px,3.4vw,56px);align-items:center;padding-bottom:clamp(36px,4vw,60px);border-bottom:1px solid #dfe4ee}
.st-list:not(.flt) .st-card.big b{font-size:clamp(30px,3.3vw,52px);line-height:1.05;letter-spacing:-.035em}
.st-list:not(.flt) .st-card.big em{font-size:19px;-webkit-line-clamp:5}
.st-list.three{grid-template-columns:repeat(3,minmax(0,1fr))}
.st-next h2{margin:0 0 clamp(24px,3vw,40px);text-align:center;font-size:clamp(32px,3.6vw,56px);letter-spacing:-.04em;font-weight:600}
.st-next{border-top:1px solid #dfe4ee}

/* ---- article and digest ---- */
.st-cover{max-width:1180px;margin:clamp(-44px,-3.4vw,-28px) auto 0;padding:0 var(--g);position:relative}
.st-cover img{display:block;width:100%;border-radius:18px;box-shadow:0 40px 90px -50px rgba(6,20,63,.7)}
.st-art{max-width:1180px;margin:0 auto;padding:clamp(40px,5vw,80px) var(--g) clamp(48px,6vw,96px);display:grid;grid-template-columns:minmax(180px,250px) minmax(0,720px);gap:clamp(28px,5vw,88px);justify-content:center;align-items:start}
.st-toc{position:sticky;top:28px;display:flex;flex-direction:column;max-height:calc(100vh - 56px);overflow-y:auto}
.st-toc small{font:500 12px/1 var(--mono);letter-spacing:.12em;text-transform:uppercase;color:#5d6673;margin-bottom:12px}
.st-toc a{display:flex;gap:10px;padding:8px 0 8px 14px;border-left:2px solid #dfe4ee;font-size:15.5px;line-height:1.35;color:#566683;text-decoration:none;transition:color .2s,border-color .2s}
.st-toc a span{font:500 12px/1.5 var(--mono);color:#5d6673;flex:none}
.st-toc a.on{color:var(--navy);border-color:var(--blue);font-weight:600}
@media (hover:hover){.st-toc a:hover{color:var(--blue)}}
.st-prose{font-size:20px;line-height:1.62;color:#16203a}
.st-prose>p:first-child{font-size:clamp(22px,1.9vw,26px);line-height:1.45;color:#0b1430}
.st-prose p{margin:0 0 1.15em;text-wrap:pretty}
.st-prose h2{margin:2.1em 0 .6em;font-size:clamp(28px,2.7vw,40px);line-height:1.1;letter-spacing:-.03em;font-weight:600;scroll-margin-top:24px;text-wrap:balance}
.st-prose h2:first-child{margin-top:0}
.st-prose h2 .n{display:block;font:500 15px/1 var(--mono);letter-spacing:.06em;color:var(--blue);margin-bottom:14px}
.st-art.dg .st-prose h2:has(.n){border-top:2px solid var(--navy);padding-top:22px;margin-top:2.6em}
.st-prose h3{margin:1.8em 0 .5em;font-size:24px;letter-spacing:-.02em;font-weight:600}
.st-prose ul{margin:0 0 1.2em;padding-left:1.1em}.st-prose li{margin-bottom:.5em}
.st-prose ol.st-key{list-style:none;margin:0 0 1.6em;padding:0;counter-reset:k;border-bottom:1px solid #dfe4ee}
.st-prose ol.st-key li{counter-increment:k;display:grid;grid-template-columns:44px 1fr;gap:0 8px;padding:16px 0;margin:0;border-top:1px solid #dfe4ee;font-size:19px;line-height:1.5}
.st-prose ol.st-key li:before{content:counter(k,decimal-leading-zero);font:500 14px/1.9 var(--mono);color:var(--blue)}
.st-tbl{overflow-x:auto;margin:0 0 1.6em}
.st-prose table{border-collapse:collapse;width:100%;font-size:17px;line-height:1.45}
.st-prose th{text-align:left;font:500 12px/1.3 var(--mono);letter-spacing:.08em;text-transform:uppercase;color:#566683;padding:0 16px 12px 0;border-bottom:2px solid var(--navy)}
.st-prose td{padding:14px 16px 14px 0;border-bottom:1px solid #dfe4ee;vertical-align:top}.st-prose td:first-child{font-weight:600;white-space:nowrap}
.st-prose details{border-top:1px solid #dfe4ee}.st-prose details:last-of-type{border-bottom:1px solid #dfe4ee;margin-bottom:1.4em}
.st-prose summary{cursor:pointer;list-style:none;display:flex;justify-content:space-between;gap:20px;padding:18px 0;font-size:21px;font-weight:600;line-height:1.3}
.st-prose summary::-webkit-details-marker{display:none}
.st-prose summary:after{content:"+";font:400 26px/1 var(--sans);color:var(--blue);flex:none;transition:transform .25s}
.st-prose details[open] summary:after{transform:rotate(45deg)}
.st-prose details p{margin:0 0 20px;font-size:18.5px;color:#3b4a68}
.st-src,.st-prose p.st-fine{font:400 14.5px/1.5 var(--sans);color:#5d6673}

/* ---- glossary ---- */
.st-find{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:16px 24px;align-items:end;padding-bottom:22px;border-bottom:2px solid var(--navy)}
.st-find label{display:flex;flex-direction:column;gap:8px}.st-find label span{font:500 12px/1 var(--mono);letter-spacing:.12em;text-transform:uppercase;color:#566683}
.st-find input{font:500 clamp(22px,2.4vw,34px)/1.2 var(--sans);letter-spacing:-.02em;color:#0b1430;border:0;outline:0;background:none;padding:4px 0;width:100%}
.st-find input::placeholder{color:#a9b2c6}
.st-find label:focus-within span{color:var(--blue)}
.st-view{display:flex;gap:4px;padding:4px;border-radius:999px;background:var(--grey)}
.st-view button{all:unset;cursor:pointer;font-size:16px;padding:9px 16px;border-radius:999px}
.st-view button[aria-pressed=true]{background:var(--navy);color:#fff}.st-view button:focus-visible{outline:2px solid var(--blue);outline-offset:2px}
.st-count{margin:0;font:500 14px/2.6 var(--mono);color:#566683;min-width:9ch;text-align:right}
.st-jump{display:flex;flex-wrap:wrap;gap:8px 22px;padding:22px 0 0}.st-jump[hidden]{display:none}
.st-jump a{font-size:18px;color:var(--navy);text-decoration:underline;text-underline-offset:5px;text-decoration-color:rgba(10,43,109,.3)}
.st-jump sup,.st-gset h2 sup{font:500 12px/1 var(--mono);color:#5d6673;margin-left:5px;vertical-align:top;position:relative;top:3px;letter-spacing:0}
.st-gset{padding-top:clamp(40px,5vw,76px);scroll-margin-top:10px}.st-gset[hidden]{display:none}
.st-gset h2{margin:0 0 8px;font-size:clamp(30px,3.4vw,52px);letter-spacing:-.04em;font-weight:600;line-height:1.05}
.st-gset h2 .n{display:block;font:500 14px/1 var(--mono);letter-spacing:.06em;color:var(--blue);margin-bottom:12px}
.st-terms{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 clamp(28px,4vw,72px)}.st-terms[hidden]{display:none}
.st-terms.az{padding-top:24px}
.st-term{padding:24px 0;border-bottom:1px solid #dfe4ee}.st-term[hidden]{display:none}
.st-term h3{margin:0 0 8px;font-size:24px;letter-spacing:-.02em;font-weight:600}
.st-term p{margin:0 0 10px;font-size:18px;line-height:1.5;color:#2c3a58;max-width:58ch}
.st-term a{font-size:16px;color:var(--blue);text-decoration:underline;text-underline-offset:4px}.st-term a:after{content:"\00a0→"}

/* ---- narrow screens ---- */
@media (max-width:1000px){
.st-list,.st-list.three{grid-template-columns:repeat(2,minmax(0,1fr))}
.st-list:not(.flt) .st-card.big{grid-template-columns:minmax(0,1fr)}
.st-art{grid-template-columns:minmax(0,1fr)}
.st-toc{position:static;max-height:none;padding-bottom:24px;border-bottom:1px solid #dfe4ee}
.st-find{grid-template-columns:minmax(0,1fr) auto}.st-count{grid-column:1/-1;text-align:left;line-height:1.2}
}
@media (max-width:640px){
.st-list,.st-list.three,.st-terms{grid-template-columns:minmax(0,1fr)}
.st-tabs{justify-content:flex-start;flex-wrap:nowrap;overflow-x:auto;margin-inline:calc(-1*var(--g));padding-inline:var(--g);scrollbar-width:none}.st-tabs button{white-space:nowrap}
.st-prose{font-size:18.5px}.st-prose td:first-child{white-space:normal}
.st-find{grid-template-columns:minmax(0,1fr)}
}
@media (prefers-reduced-motion:reduce){.st-card .cv img,.st-prose summary:after{transition:none}}

/* ===== four different heads (Gene 20.11: "я бы не делал все одинаково синим… чтобы они чем-то отличались") =====
   Blog: light ground, a very large word on the left, the filters in the head.
   Article: the blue of the canon, text on the left and the cover on the right.
   Digest: pale blue, no picture; the dates are the title and the numbered stories are the cover.
   Glossary: dark navy, the count as a numeral, the tool itself in the head. */
.st-pills{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 clamp(22px,2.6vw,36px)}
.st-pills span,.st-pills a{display:inline-flex;align-items:center;height:34px;padding:0 15px;border-radius:999px;border:1.5px solid currentColor;font-size:15px;font-weight:600;text-decoration:none;color:inherit}
.st-pills a{background:currentColor}
.st-pills span:not(:first-child){border-color:color-mix(in srgb,currentColor 35%,transparent)}
.st-top[class*=h-]{text-align:left;padding-inline:max(var(--g),calc((100vw - var(--w))/2 + var(--g)))}
.st-top[class*=h-] h1,.st-top[class*=h-] .st-lede{margin-inline:0}

/* header on a light head */
.on-light .lb-nav button{color:var(--navy)}.on-light .lb-icons svg{stroke:var(--navy)}
.on-light .lb-reg{border-color:var(--navy);color:var(--navy)!important}
.on-light .lb-logo img{filter:brightness(0) saturate(100%) invert(13%) sepia(60%) saturate(3000%) hue-rotate(212deg)}
.on-light .lb-nav button:focus-visible{outline-color:var(--navy)}

/* blog */
.h-blog{background:var(--grey);color:var(--navy)}
.h-blog .st-pills a{color:var(--navy)}
.st-top.h-blog h1{max-width:none;font-size:clamp(96px,17vw,280px);line-height:.82;letter-spacing:-.065em;margin-left:-.04em}
.st-top.h-blog h1 sup{color:var(--blue);font-size:clamp(18px,2vw,30px);top:.35em}
.h-blog .st-lede{color:#2c3a58;max-width:44ch;margin-top:clamp(20px,2.4vw,36px)}
.h-blog .st-tabs{justify-content:flex-start;margin:clamp(28px,3.2vw,48px) 0 0}
.h-blog .st-tabs button{background:#fff}.h-blog .st-tabs button[aria-selected=true]{background:var(--navy)}

/* article */
.st-top.h-art{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:clamp(28px,4vw,72px);align-items:center;padding-bottom:clamp(48px,5.5vw,88px)}
.st-top.h-art h1{max-width:none;font-size:clamp(32px,3.5vw,56px);line-height:1.05;letter-spacing:-.035em}
.h-art .st-pills a{color:#fff}.h-art .st-pills a{color:var(--navy);background:#fff;border-color:#fff}
.h-art .st-lede{max-width:48ch}
.h-art .cv img{display:block;width:100%;border-radius:18px;box-shadow:0 50px 100px -50px rgba(2,10,34,.9);transform:rotate(1.2deg)}

/* digest */
.h-dig{background:#e6eefb;color:var(--navy)}
.h-dig .st-pills a{color:#e6eefb;background:var(--navy);border-color:var(--navy)}
.st-kicker{margin:0 0 14px;font:500 clamp(14px,1.2vw,17px)/1.3 var(--mono);letter-spacing:.1em;text-transform:uppercase;color:var(--blue)}
.st-top.h-dig h1{max-width:none;font-size:clamp(52px,9.4vw,156px);line-height:.92;letter-spacing:-.055em;white-space:nowrap}
.h-dig .st-lede{color:#22335a;max-width:60ch}
.st-issue{list-style:none;margin:clamp(32px,4vw,60px) 0 0;padding:0;columns:2;column-gap:clamp(28px,4vw,72px);border-top:2px solid var(--navy)}
.st-issue li{break-inside:avoid;border-bottom:1px solid rgba(10,43,109,.22)}
.st-issue a{display:grid;grid-template-columns:44px 1fr;align-items:baseline;padding:15px 0;font-size:clamp(18px,1.45vw,21px);font-weight:600;line-height:1.3;color:var(--navy);text-decoration:none}
.st-issue a span{font:500 13px/1 var(--mono);color:var(--blue)}
@media (hover:hover){.st-issue a:hover{color:var(--blue)}}

/* glossary */
.h-gl{background:#06143f;color:#fff}
.h-gl .st-pills a{color:#06143f}
.st-top.h-gl h1{max-width:none;display:flex;align-items:flex-end;gap:clamp(16px,2.4vw,40px);font-size:clamp(30px,3.6vw,58px);line-height:1.02}
.st-top.h-gl h1 b{font-size:clamp(120px,19vw,300px);line-height:.76;letter-spacing:-.07em;font-weight:600;color:#6ea0ff;margin-left:-.05em}
.st-top.h-gl h1 span{max-width:11ch;padding-bottom:.12em}
.h-gl .st-lede{color:#c7d6f0}
.h-gl .st-find{margin-top:clamp(32px,4vw,56px);border-bottom-color:#fff}
.h-gl .st-find label span{color:#9fc6ff}.h-gl .st-find label:focus-within span{color:#fff}
.h-gl .st-find input{color:#fff}.h-gl .st-find input::placeholder{color:#6f86b8}
.h-gl .st-view{background:rgba(255,255,255,.12)}.h-gl .st-view button{color:#fff}.h-gl .st-view button[aria-pressed=true]{background:#fff;color:#06143f}
.h-gl .st-count{color:#9fc6ff}
.h-gl .st-jump a{color:#fff;text-decoration-color:rgba(255,255,255,.4)}.h-gl .st-jump sup{color:#9fc6ff}
.st-gl .st-gset:first-child{padding-top:0}

/* contents on the left: larger (Gene 20.11) */
.st-art{grid-template-columns:minmax(200px,290px) minmax(0,720px)}
.st-toc a{font-size:17.5px;padding:10px 0 10px 16px}.st-toc a span{font-size:13px;line-height:1.7}.st-toc small{font-size:13px;margin-bottom:14px}

@media (max-width:1000px){.st-top.h-art{grid-template-columns:minmax(0,1fr)}.st-issue{columns:1}.st-top.h-dig h1{white-space:normal}.st-art{grid-template-columns:minmax(0,1fr)}}
@media (max-width:640px){.st-top.h-gl h1{flex-direction:column;align-items:flex-start}.h-blog .st-tabs{margin-inline:calc(-1*var(--g))}}
/* the descender of "g" needs room above the paragraph */
.h-blog .st-lede{margin-top:clamp(44px,5.2vw,84px)}

/* ===== blog head, second take (Gene 20.11): no giant word. Title left, categories right as a ruled
   index with counts; the index is the filter. ===== */
.st-top.h-blog{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:clamp(28px,5vw,96px);align-items:end}
.st-top.h-blog h1{font-size:clamp(56px,7.4vw,120px);line-height:.95;letter-spacing:-.05em;margin-left:-.03em}
.st-top.h-blog h1 sup{font-size:clamp(15px,1.4vw,20px);top:.5em}
.h-blog .st-lede{margin-top:clamp(18px,2vw,28px);max-width:36ch}
.h-blog .st-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 clamp(20px,2.6vw,40px);margin:0;border-top:2px solid var(--navy)}
.h-blog .st-tabs button{display:flex;justify-content:space-between;align-items:baseline;gap:12px;padding:13px 2px;border-radius:0;background:none;border-bottom:1px solid rgba(10,43,109,.2);font-size:clamp(17px,1.35vw,20px);font-weight:600;color:var(--navy);transition:color .2s,padding .25s cubic-bezier(.23,1,.32,1)}
.h-blog .st-tabs button sup{position:static;font-size:13px;color:#5d6673;margin:0}
.h-blog .st-tabs button[aria-selected=true]{background:none;color:var(--blue);padding-left:14px;box-shadow:inset 3px 0 0 var(--blue)}
.h-blog .st-tabs button[aria-selected=true] sup{color:var(--blue)}
@media (hover:hover){.h-blog .st-tabs button:hover{color:var(--blue)}}
.h-blog .st-tabs button:first-child{grid-column:1/-1}
@media (max-width:1000px){.st-top.h-blog{grid-template-columns:minmax(0,1fr)}}
@media (max-width:640px){.h-blog .st-tabs{grid-template-columns:minmax(0,1fr);overflow:visible;margin-inline:0;padding-inline:0}.h-blog .st-tabs button{white-space:normal}}

/* ===== closing strip, second take (Gene 20.11): not an empty blue field. Text and the three facts on the
   left, the Terminal's real first screen rising from the bottom edge on the right; the ground runs into
   the footer's own colour so there is no seam. ===== */
.st-end{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);gap:clamp(28px,4vw,72px);align-items:end;text-align:left;overflow:hidden;
  padding:clamp(56px,6.5vw,104px) max(var(--g),calc((100vw - var(--w))/2 + var(--g))) 0;
  background:radial-gradient(70% 90% at 78% 0%,#3d82f2 0,transparent 60%),linear-gradient(180deg,var(--blue) 0,var(--navy) 62%,#020a22 100%)}
.st-end .tx{padding-bottom:clamp(48px,6vw,96px)}
.st-end h2{margin:0;max-width:15ch;font-size:clamp(34px,4.2vw,64px)}
.st-end ul{list-style:none;margin:clamp(22px,2.6vw,36px) 0;padding:0;border-top:1px solid rgba(255,255,255,.3);max-width:30em}
.st-end li{padding:13px 0 13px 30px;border-bottom:1px solid rgba(255,255,255,.3);font-size:19px;position:relative;color:#fff}
.st-end li:before{content:"";position:absolute;left:2px;top:20px;width:13px;height:7px;border-left:2px solid #9fc6ff;border-bottom:2px solid #9fc6ff;transform:rotate(-45deg)}
.st-end .go{display:flex;flex-wrap:wrap;align-items:center;gap:14px 26px;margin:0;max-width:none}
.st-end .more{color:#fff;font-size:18px;text-decoration:underline;text-underline-offset:5px;text-decoration-color:rgba(255,255,255,.5)}
.st-end .more:after{content:"\00a0→"}
.st-end .st-pills{color:#fff;margin-bottom:22px}
.st-end .scr{align-self:end;border-radius:16px 16px 0 0;overflow:hidden;background:#fff;box-shadow:0 -30px 90px -30px rgba(2,10,34,.8);transform:translateY(8px);transition:transform .6s cubic-bezier(.23,1,.32,1)}
.st-end .scr span{display:flex;align-items:center;gap:6px;padding:10px 14px;background:#f2f4f8;border-bottom:1px solid #dfe4ee}
.st-end .scr span i{width:10px;height:10px;border-radius:50%;background:#cdd5e3}.st-end .scr span b{margin-left:10px;font:500 12px/1 var(--mono);color:#566683}
.st-end .scr img{display:block;width:100%;max-height:clamp(260px,30vw,460px);object-fit:cover;object-position:left top}
@media (hover:hover){.st-end:hover .scr{transform:none}}
@media (max-width:900px){.st-end{grid-template-columns:minmax(0,1fr)}.st-end .tx{padding-bottom:8px}}
@media (prefers-reduced-motion:reduce){.st-end .scr{transition:none;transform:none}}

/* ===== closing strip, third take (Gene 20.11): say what the Terminal is, label the screen as the home
   page does, and move: the screen rises and the labels arrive when the strip comes into view ===== */
.st-end .what{margin:clamp(16px,1.8vw,24px) 0 0;max-width:36em;font-size:19px;line-height:1.5;color:#dbe6fb}
.st-end .scr{position:relative;overflow:visible;background:none;box-shadow:none;border-radius:0;transform:none}
.st-end .win{border-radius:16px 16px 0 0;overflow:hidden;background:#fff;box-shadow:0 -30px 90px -30px rgba(2,10,34,.8)}
.st-end .fl{position:absolute;display:inline-flex;align-items:center;gap:8px;padding:11px 16px;border-radius:999px;background:#fff;color:#2c3a58;font-size:15px;white-space:nowrap;box-shadow:0 16px 40px -14px rgba(2,10,34,.75)}
.st-end .fl b{color:var(--navy);font-weight:600}
.st-end .fl:before{content:"";width:8px;height:8px;border-radius:50%;background:var(--blue);flex:none}
.st-end .fl1{left:-7%;top:44%}.st-end .fl2{right:-2%;top:60%}.st-end .fl3{left:24%;bottom:7%}
/* entry: only when motion is allowed, and only after the inline script has armed the strip (.arm).
   Without .arm everything is simply visible, so a page that loads no script can never show a blank strip. */
@media (prefers-reduced-motion:no-preference){
.st-end.arm .win{transform:translateY(70px);opacity:0;transition:transform 1s cubic-bezier(.23,1,.32,1),opacity .6s ease}
.st-end.arm .fl{opacity:0;scale:.9;transition:opacity .45s ease,scale .6s cubic-bezier(.34,1.56,.64,1)}
.st-end.arm.in .win{transform:none;opacity:1}
.st-end.arm.in .fl{opacity:1;scale:1;animation:st-drift 7s ease-in-out 1.6s infinite alternate}
.st-end.arm.in .fl1{transition-delay:.55s}.st-end.arm.in .fl2{transition-delay:.75s;animation-duration:8s}.st-end.arm.in .fl3{transition-delay:.95s;animation-duration:9s}
.st-end.arm .tx>*{opacity:0;transform:translateY(14px);transition:opacity .6s ease,transform .7s cubic-bezier(.23,1,.32,1)}
.st-end.arm.in .tx>*{opacity:1;transform:none}
.st-end.arm.in .tx>:nth-child(2){transition-delay:.08s}.st-end.arm.in .tx>:nth-child(3){transition-delay:.16s}.st-end.arm.in .tx>:nth-child(4){transition-delay:.24s}.st-end.arm.in .tx>:nth-child(5){transition-delay:.32s}
}
@keyframes st-drift{from{translate:0 0}to{translate:0 -9px}}
@media (max-width:900px){.st-end .fl1{left:4%;top:-18px}.st-end .fl2{right:4%;top:46%}.st-end .fl3{display:none}.st-end .fl{font-size:14px;padding:9px 13px}.st-end .scr{margin-top:28px}}

/* Rule (Gene 20.11): text is never set in a narrow column when the page beside it is empty. Where a head
   runs the full width and nothing stands to the right of the paragraph, the paragraph takes the width and
   is set larger so the line stays readable. */
.st-top.h-dig .st-lede{max-width:none;font-size:clamp(21px,2vw,30px);line-height:1.38}
.st-end .fl1{left:-7%;top:31%}.st-end .fl2{right:-2%;top:52%}.st-end .fl3{left:22%;bottom:5%}

/* ===== the stamp of a free tool (Gene 20.11) ===== */
.st-stamp{position:absolute;right:0;top:-18px;width:clamp(104px,10vw,148px);aspect-ratio:1;rotate:-11deg;color:var(--blue);transition:rotate .6s cubic-bezier(.34,1.56,.64,1)}
.st-stamp svg{display:block;width:100%;height:100%;overflow:visible}
.st-stamp circle{fill:none;stroke:currentColor;stroke-width:2}
.st-stamp .r{font:500 12.5px/1 var(--mono);letter-spacing:.17em;fill:currentColor}
.st-stamp .c{font:700 30px/1 var(--sans);letter-spacing:-.02em;fill:currentColor;text-transform:uppercase}
@media (hover:hover){.st-top:hover .st-stamp{rotate:6deg}}
@media (max-width:640px){.st-stamp{width:92px;top:-10px}}
@media (prefers-reduced-motion:reduce){.st-stamp{transition:none}}

/* ===== closing strip, fourth take (Gene 20.11): no empty blue above the screen and no labels over its
   content. The screen is a whole window centred against the text, and the three labels sit ON its edges
   (top, right, bottom), as the labels of the first screen of the home page do. ===== */
.st-end{align-items:center;padding-bottom:clamp(56px,6.5vw,104px)}
.st-end .tx{padding-bottom:0}
.st-end .scr{align-self:center;margin:26px 22px 26px 0}
.st-end .win{border-radius:16px;box-shadow:0 50px 110px -40px rgba(2,10,34,.9)}
.st-end .scr img{max-height:none;aspect-ratio:16/10.4}
.st-end .fl1{left:7%;top:-21px;right:auto;bottom:auto}
.st-end .fl2{right:-22px;left:auto;top:41%;bottom:auto}
.st-end .fl3{left:34%;bottom:-21px;top:auto;right:auto}
@media (max-width:900px){.st-end .scr{margin:36px 0 22px}.st-end .fl1{left:4%;top:-18px}.st-end .fl2{right:-6px;top:auto;bottom:34%}.st-end .fl3{display:inline-flex;left:6%;bottom:-17px}}

/* ===== closing block, fifth take (Gene 20.11): the home page's own stage, and three endings to choose from.
   Everything above about .scr/.win/.fl is superseded; the stage now uses lb-hero-st / lb-hero-scr / lb-fl
   from v18.css, so the frame, the labelled small screens and their drift are the canon's. ===== */
.st-esw{bottom:112px}
.st-end .steps{display:none;list-style:none;margin:clamp(24px,3vw,44px) 0;padding:0;counter-reset:s;border-top:1px solid rgba(255,255,255,.35)}
.st-end .steps li{counter-increment:s;display:grid;grid-template-columns:56px 1fr;gap:4px 0;padding:20px 0;border-bottom:1px solid rgba(255,255,255,.35);color:#fff}
.st-end .steps li:before{content:"0" counter(s);grid-row:span 2;font:500 15px/1.9 var(--mono);color:#9fc6ff}
.st-end .steps b{font-size:clamp(22px,2vw,28px);font-weight:600;letter-spacing:-.02em}.st-end .steps span{font-size:18px;color:#dbe6fb}
.st-end .stage{margin:0;max-width:none;align-self:center;padding:5% 0 7%}
.st-end .stage .lb-hero-scr{width:76%;animation:none}
.st-end .stage .lb-hero-scr:after{display:none}
.st-end .stage .lb-fl{width:30%}.st-end .stage .lb-fl.l{left:0;top:26%}.st-end .stage .lb-fl.r{right:0;top:4%}.st-end .stage .lb-fl.r2{right:3%;top:58%;width:26%}
.st-end .stage .lb-fl figcaption{font-size:14px}
/* entry motion of the stage, armed by the inline script */
@media (prefers-reduced-motion:no-preference){
.st-end.arm .stage .lb-hero-scr{opacity:0;transform:translateY(60px);transition:transform 1s cubic-bezier(.23,1,.32,1),opacity .6s ease,translate .5s cubic-bezier(.23,1,.32,1)}
.st-end.arm .stage .lb-fl{opacity:0;scale:.9;animation:none;transition:opacity .5s ease,scale .7s cubic-bezier(.34,1.56,.64,1),translate .5s cubic-bezier(.23,1,.32,1)}
.st-end.arm.in .stage .lb-hero-scr{opacity:1;transform:none}
.st-end.arm.in .stage .lb-fl{opacity:1;scale:1;animation:lb-bob 7s ease-in-out 1.6s infinite alternate}
.st-end.arm.in .stage .lb-fl.l{transition-delay:.45s}.st-end.arm.in .stage .lb-fl.r{transition-delay:.65s}.st-end.arm.in .stage .lb-fl.r2{transition-delay:.85s}
}
/* b · Centre: the home page's ending */
.st-end.end-b{grid-template-columns:minmax(0,1fr);text-align:center;padding-bottom:0}
.st-end.end-b .tx{display:flex;flex-direction:column;align-items:center}
.st-end.end-b h2{max-width:20ch;font-size:clamp(38px,5.2vw,84px)}
.st-end.end-b .what{max-width:44em}.st-end.end-b ul{display:none}.st-end.end-b .go{justify-content:center;margin-top:clamp(24px,2.6vw,36px)}
.st-end.end-b .stage{width:min(100%,1180px);margin:0 auto;padding:4% 0 0;margin-bottom:-9%}
.st-end.end-b .stage .lb-fl{width:24%}.st-end.end-b .stage .lb-fl.r2{width:20%}
/* c · Steps: no screen */
.st-end.end-c{grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);align-items:start}
.st-end.end-c .stage,.st-end.end-c ul,.st-end.end-c .what{display:none}
.st-end.end-c .tx{display:contents}
.st-end.end-c .st-pills{grid-column:1/-1;margin-bottom:0}
.st-end.end-c h2{grid-column:1;max-width:13ch;font-size:clamp(38px,5vw,80px)}
.st-end.end-c .steps{display:block;grid-column:2;grid-row:2/4;margin:0}
.st-end.end-c .go{grid-column:1;align-self:end}
@media (max-width:900px){.st-end .stage{padding:8% 0 4%}.st-end .stage .lb-hero-scr{width:100%;margin-bottom:0}.st-end.end-c{grid-template-columns:minmax(0,1fr)}.st-end.end-c .steps,.st-end.end-c h2,.st-end.end-c .go{grid-column:1;grid-row:auto}.st-end.end-c .steps{margin:24px 0}.st-end.end-b .stage{margin-bottom:-4%}}
@media (max-width:560px){.st-esw{bottom:176px}}

/* Steps ending: the numbered steps must not inherit the check-mark list's rules of the strip */
.st-end .steps li{padding:20px 0;position:static}
.st-end .steps li:before{position:static;width:auto;height:auto;border:0;transform:none;left:auto;top:auto}
.st-end .steps b{grid-column:2}.st-end .steps span{grid-column:2}
.st-end.end-a{grid-template-columns:minmax(0,.82fr) minmax(0,1.25fr)}

/* The screen is never cut by the edge of the block or the footer (Gene 20.11: "обрезается бэкграунд").
   The block does not clip its content, the Centre ending no longer sinks into the footer, and the block
   keeps enough room under the stage for the whole window and its floating screens. */
.st-end{overflow:visible;padding-bottom:clamp(64px,7vw,112px)}
.st-end.end-b{padding-bottom:clamp(64px,7vw,112px)}
.st-end.end-b .stage{margin-bottom:0;padding-bottom:6%}
.st-end .stage{padding-bottom:9%}

/* ===== closing block with a photograph from the live site (Gene 20.11), as the home page's closing:
   the photo is a background only; a navy veil keeps the text side readable and fades into the footer's
   colour at the bottom, so there is no seam. The photo shows most on the side of the screens. ===== */
.st-end.photo{isolation:isolate;background:#061a47}
.st-end.photo .bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2;opacity:.95}
.st-end.photo:after{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;
  background:linear-gradient(90deg,rgba(10,43,109,.94) 0%,rgba(10,43,109,.84) 38%,rgba(31,99,214,.42) 72%,rgba(31,99,214,.3) 100%),
             linear-gradient(180deg,rgba(31,99,214,.25) 0%,transparent 40%,rgba(2,10,34,.7) 88%,#020a22 100%)}
.st-end.photo.end-b:after{background:linear-gradient(180deg,rgba(31,99,214,.88) 0%,rgba(10,43,109,.8) 45%,rgba(2,10,34,.75) 85%,#020a22 100%)}
.st-end.photo.end-c:after{background:linear-gradient(90deg,rgba(10,43,109,.93) 0%,rgba(10,43,109,.78) 50%,rgba(10,43,109,.6) 100%),linear-gradient(180deg,transparent 60%,#020a22 100%)}
@media (max-width:900px){.st-end.photo:after{background:linear-gradient(180deg,rgba(10,43,109,.9) 0%,rgba(10,43,109,.82) 55%,rgba(2,10,34,.8) 88%,#020a22 100%)}}
/* lighter veil: the photograph must actually be seen on the side of the screens */
.st-end.photo .bg{opacity:1}
.st-end.photo:after{background:linear-gradient(90deg,rgba(10,43,109,.9) 0%,rgba(10,43,109,.72) 36%,rgba(10,43,109,.18) 70%,rgba(10,43,109,.05) 100%),
             linear-gradient(180deg,transparent 0%,transparent 55%,rgba(2,10,34,.65) 88%,#020a22 100%)}
/* the photo and the veil are positioned against the block itself (without this they hung from the page) */
.st-end.photo{position:relative}

/* Steps ending chosen (Gene 20.11): four steps, the photo stays visible on the right behind them */
.st-end.end-c .steps li{grid-template-columns:64px 1fr}
.st-end.end-c h2{max-width:14ch}

/* Touch: the glossary's group links get a 44px tap area (QA 21.11). */
@media (pointer:coarse){.st-jump a{display:inline-block;padding-block:10px}}
/* The free-tool stamp stays inside the page on phones: its rotation pushed it 8px past the edge (QA 21.11). */
@media (max-width:640px){.st-stamp{width:82px;right:4px;top:-6px}}
/* Phone: the stamp floats to the right of the headline instead of sitting over the header (QA 21.11). */
@media (max-width:640px){.st-stamp{position:relative;float:right;top:0;right:0;width:78px;margin:-2px 0 8px 12px}}

/* ---- Learn final pass (21.11.2026) ---- */
/* The closing block's pills sit at the left edge of its grid, above the headline. As a grid item the
   generic ".st-end p{margin:20px auto}" centred them (art director, 21.11.2026). */
.st-end .st-pills{margin-left:0;margin-right:0;justify-self:start}
/* The optional "Or read next" row above Register (closing(nxt=...); fix list item 2): one or two pages,
   each with a short reason. Column 1 of the Steps ending, between the headline and the buttons. */
.st-nx{grid-column:1;display:grid;gap:10px;margin:clamp(22px,2.6vw,34px) 0;max-width:30em}
.st-nx small{font:500 12px/1 var(--mono);letter-spacing:.12em;text-transform:uppercase;color:#9fc6ff}
.st-nx a{display:grid;gap:2px;padding:12px 0;border-bottom:1px solid rgba(255,255,255,.3);color:#fff;text-decoration:none;min-height:44px}
.st-nx a b{font-size:19px;font-weight:600}.st-nx a b:after{content:"\00a0→";color:#9fc6ff}
.st-nx a span{font-size:16px;line-height:1.45;color:#dbe6fb}
@media (hover:hover){.st-nx a:hover b{text-decoration:underline;text-underline-offset:5px}}
.st-nx a:focus-visible{outline:2px solid #fff;outline-offset:3px}
.st-end.end-c:has(.st-nx) .steps{grid-row:2/5}
@media (max-width:900px){.st-end.end-c:has(.st-nx) .steps{grid-row:auto}}
/* Touch: the "See the Terminal" link of the closing block gets a 44px tap area (mobile review 21.11). */
@media (pointer:coarse){.st-end .go a.more{display:inline-flex;align-items:center;min-height:44px}}
/* Glossary: a term reached from another page by its anchor clears the fixed header and is marked. */
.st-term{scroll-margin-top:110px}
.st-term:target{outline:2px solid var(--blue);outline-offset:8px;border-radius:4px}
/* A glossary link in running text: the same underline as other text links, a dotted one, so a reader
   can tell "this word is defined" from "this goes to another page". */
a.gl-t{color:inherit;text-decoration:underline dotted;text-underline-offset:4px;text-decoration-color:color-mix(in srgb,currentColor 55%,transparent)}
@media (hover:hover){a.gl-t:hover{text-decoration-style:solid}}
/* A pill that is a link (the "Learn" pill, fix list item 3) is filled, with text in the opposite colour, on
   every head: navy with white text on the light heads, white with navy text on the dark ones. The earlier
   head rules set only its colour, which with background:currentColor left the text the colour of its fill.
   ".st-top" raises the specificity over the page stylesheets, which load after this one. */
.st-top.h-blog .st-pills a,.st-top.h-kb .st-pills a,.st-top.h-cmp .st-pills a,.st-top.h-fw .st-pills a{background:var(--navy);border-color:var(--navy);color:#fff}
.st-top.h-tk .st-pills a,.st-top.h-gl .st-pills a,.st-top.h-gd .st-pills a{background:#fff;border-color:#fff;color:var(--navy)}
/* The stamp is rotated, so its corners reach past right:0 and widened the Raise planner by 9 px at 768.
   Pulled in a little on tablet widths. */
@media (min-width:641px) and (max-width:1100px){.st-stamp{right:16px}}

/* ===== V18 final QA, shared pieces (F1, 22.11.2026; FINAL-QA-FIX-LIST.md items 16, 19 to 21, 26, 28) =====
   Gene Deyev, 22.11.2026: "check everything a thousand times, perfect". Fixes inside the approved design. */

/* Pills (item 19): one rule on every page. The first pill names the section and is filled; the rest are
   facts about the page and are outlined, whether they are links or plain text. A light head (body.on-light)
   fills with navy, a blue or dark head and the closing band fill with white. Specificity is raised with
   body.lb so the older per-head colours above cannot win. */
body.lb .st-pills > :is(a,span){background:transparent;color:inherit;border:1.5px solid color-mix(in srgb,currentColor 35%,transparent)}
body.lb .st-pills > :is(a,span):first-child{background:#fff;border-color:#fff;color:var(--navy)}
body.lb.on-light .st-top .st-pills > :is(a,span):first-child{background:var(--navy);border-color:var(--navy);color:#fff}
body.lb .st-end .st-pills > :is(a,span):first-child{background:#fff;border-color:#fff;color:var(--navy)}
body.lb .st-pills > a:not(:first-child){text-decoration:underline;text-underline-offset:4px;text-decoration-color:color-mix(in srgb,currentColor 40%,transparent)}
@media (hover:hover){body.lb .st-pills > a:not(:first-child):hover{border-color:currentColor}}
/* A link pill keeps its drawn 34px height; an invisible margin around it makes the tap area 44px (item 16). */
.st-pills > a{position:relative}.st-pills > a:after{content:"";position:absolute;inset:-5px -2px}

/* Article head (item 20): the lighter radial at the top sat under the header and the pills (white on
   #3d82f2 was 3.9:1); it is toned down to the canon blue so white text there reads at 5:1 and more. */
.st-top.h-art{background:radial-gradient(80% 90% at 50% 0%,#2a6ee0 0,transparent 62%),linear-gradient(180deg,var(--blue) 0,var(--blue) 30%,var(--navy) 100%)}

/* Tap areas (item 16) and a visible focus (item 21). The glossary search field had outline:0 and no
   other focus sign on the dark head; it now draws a white ring there and a blue one on light grounds. */
.st-find input{min-height:44px}
.st-find input:focus-visible{outline:2px solid var(--blue);outline-offset:4px;border-radius:4px}
.h-gl .st-find input:focus-visible{outline-color:#fff}
.st-view button{min-height:44px;box-sizing:border-box;display:inline-flex;align-items:center}
.st-btn{color:var(--navy)}

/* Blog (items 7 and 26): the filters are toggle buttons in a group (aria-pressed), and every post past the
   first twelve is a plain row of text, revealed by "Show all" or by a filter. */
.st-tabs button[aria-pressed=true]{background:var(--navy);color:#fff}.st-tabs button[aria-pressed=true] sup{color:#e9f0ff}
.st-rest{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 clamp(24px,3vw,48px);margin-top:clamp(32px,4vw,56px)}
.st-rest[hidden]{display:none}
.st-row{display:grid;grid-template-columns:auto minmax(0,1fr);gap:4px 16px;padding:16px 0;border-top:1px solid #dfe4ee;color:inherit;text-decoration:none;min-height:44px}
.st-row small{grid-column:1/-1;font:500 12px/1.3 var(--mono);letter-spacing:.06em;text-transform:uppercase;color:#5d6673}
.st-row b{grid-column:1/-1;font-size:18px;font-weight:600;line-height:1.3;letter-spacing:-.01em}
@media (hover:hover){.st-row:hover b{color:var(--blue)}}
.st-row:focus-visible{outline:2px solid var(--blue);outline-offset:2px}
@media (max-width:760px){.st-rest{grid-template-columns:minmax(0,1fr)}}

/* Digest (item 28): "On this page" is a closed fold on phones, so the stories start on the first screen. */
.st-toc-f > summary{display:none}
@media (max-width:1000px){
  .st-toc-f > summary{display:flex;align-items:center;justify-content:space-between;min-height:44px;cursor:pointer;list-style:none;font:500 12px/1 var(--mono);letter-spacing:.12em;text-transform:uppercase;color:#5d6673}
  .st-toc-f > summary::-webkit-details-marker{display:none}
  .st-toc-f > summary:after{content:"+";font-size:20px;color:var(--blue)}.st-toc-f[open] > summary:after{content:"–"}
  .st-toc-f > summary + small{display:none}
}

/* Glossary 'Where it matters' links: 44px tap height on touch screens only, desktop rhythm unchanged
   (final QA 22.11.2026). */
@media (pointer:coarse){.st-term > a{display:inline-flex;align-items:center;min-height:44px}}

/* ===== Free-tool stamp placement (final QA 22.11.2026, round 3, items 3 and 4) =====
   The stamp (stamp() in build_v18_std.py) used to sit absolutely at the top right of the text column.
   On the MCP page the h1 runs the full column width, so at 641-700 and 1280-1920 the stamp covered its
   first line; on the Raise planner it overlapped the h1 at 1920. From 641px up it now floats at the right
   of the column, as it already does on phones: the pills and the first h1 lines wrap beside it, so it can
   never cover the headline at any width. The margin is the room the -11deg rotation needs (the rotated
   square reaches ~10px past its box, and the h1 glyph box is taller than its 1.04 line). Rejected: lifting the stamp into the gap above the h1, which is
   shorter than the stamp at 1440 and 1920. */
@media (min-width:641px){
  .h-mcp .st-stamp,.h-rp .st-stamp{position:relative;float:right;top:auto;right:auto;margin:-18px 0 24px 22px}
}
/* Raise planner, 641-1000px: the text column is display:contents inside a flex column (v18-raise.css,
   narrow screens), so a float has nothing to float in and the absolute stamp was measured against the
   whole head, top -18px, i.e. hidden under the fixed header. Here it stands absolute again, its top at the
   pills row (the head's 130px top padding, less the rotation), at the right edge where the h1 (max 16ch)
   never reaches. */
@media (min-width:641px) and (max-width:1000px){
  .st-top.h-rp .st-stamp{position:absolute;float:none;top:118px;right:16px;margin:0}
}

/* Arrows after link text are written content:"\00a0→" (a no-break space), not " →": inside a flex or
   inline-flex link (the 44px touch boxes) a leading plain space in ::after is dropped, so "See the
   Terminal→" lost its gap; the no-break space also keeps the arrow from wrapping alone onto a new line.
   Final QA 22.11.2026, round 3, item 8. */

/* The article's table wrapper is focusable (tabindex="0", prose() in build_v18_std.py) so it can be scrolled
   from the keyboard; it shows the same focus ring as the site's links. Final QA 22.11.2026, round 3, item 9. */
.st-tbl:focus-visible{outline:2px solid var(--blue);outline-offset:3px}

/* Touch tap targets (Final QA 22.11.2026, round 3, item 6: on a touch screen (pointer:coarse) a control is at least 44px tall; desktop with a mouse is unchanged. An inline link keeps display:inline and gets vertical padding, which grows its hit area without moving the line.)
   Head pills: the link pill is 44px tall, and its sibling pills with it so the row stays one height.
   Fine print under a section (p.st-fine): its links are inline in the sentence. */
@media (pointer:coarse){
  .st-pills > :is(a,span){height:44px}
  p.st-fine a{padding-block:12px}
}

/* Touch: the article contents links. Final QA 22.11.2026, round 3, item 6 (touch only): the padded box measured 43.5-43.9px, a fraction under 44. */
@media (pointer:coarse){.st-toc a{min-height:44px}}

/* Blog, round of 24.11.2026 (Gene: "the list with pictures"; "set the cell padding of the blue row properly").
   Thumbnail mark (cover_mark() in build_v18_std.py): a small white wordmark on the list's pictures. */
.st-card .cv,.h-art .cv,.st-row .th{position:relative;container-type:inline-size}
.cv-mk{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:space-between;padding:4.2cqi 4.6cqi;pointer-events:none;
  background:linear-gradient(180deg,rgba(6,16,46,.42) 0,rgba(6,16,46,0) 34%,rgba(6,16,46,0) 52%,rgba(6,16,46,.72) 100%)}
.cv-mk .wm{width:max(56px,15cqi);height:auto;display:block}
.cv-mk .mk-ft{margin-top:auto;display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:4px 16px;color:#fff;font:500 max(10px,2.1cqi)/1.3 var(--mono);letter-spacing:.08em;text-transform:uppercase}
.cv-mk .mk-ft .c{font-weight:600}.cv-mk .mk-ft .d{color:#dbe6fa}
.cv-mk.s{padding:7cqi;background:linear-gradient(180deg,rgba(6,16,46,.45) 0,rgba(6,16,46,0) 50%)}
.cv-mk.s .wm{width:max(40px,34cqi)}
/* The article's cover turns as one piece with its mark (the turn moves from the image to the frame). */
.h-art .cv{border-radius:18px;overflow:hidden;box-shadow:0 50px 100px -50px rgba(2,10,34,.9);transform:rotate(1.2deg)}
.h-art .cv img{border-radius:0;box-shadow:none;transform:none}

/* The list of all posts: each row has its picture on the left, title and category beside it. */
.st-row{grid-template-columns:clamp(104px,12vw,168px) minmax(0,1fr);align-items:center;column-gap:clamp(14px,2vw,24px);padding:14px 0}
.st-row .th{grid-row:1/3;display:block;aspect-ratio:16/9;border-radius:10px;overflow:hidden;background:var(--grey)}
.st-row .th img{display:block;width:100%;height:100%;object-fit:cover}
.st-row small,.st-row b{grid-column:2}
.st-row small{align-self:end}.st-row b{align-self:start}

/* The ruled category index: every row has an inner padding, so the filled row of the chosen category keeps
   its words off its edges; chosen = navy fill with white words (was blue words on navy). */
.h-blog .st-tabs button{padding:13px 14px}
.h-blog .st-tabs button[aria-pressed=true]{background:var(--navy);color:#fff;box-shadow:none;padding:13px 14px}
.h-blog .st-tabs button[aria-pressed=true] sup{color:#dbe6fa}
@media (hover:hover){.h-blog .st-tabs button[aria-pressed=true]:hover{color:#fff}}
/* The wordmark wins over the card's and row's rule for img (.st-card .cv img sizes every picture in a cover
   to fill it). The foot uses spans, not b and i, which the card styles as its title and byline. */
.cv .cv-mk img.wm,.th .cv-mk img.wm{position:static;width:max(56px,15cqi);height:auto;object-fit:contain;transform:none;border-radius:0;box-shadow:none}
.th .cv-mk.s img.wm{width:max(40px,34cqi)}
@media (hover:hover){.st-card:hover .cv .cv-mk img.wm{transform:none}}

/* Inset of text in filled boxes, round of 24.11.2026 (Gene: "I don't like it when text sticks to these filled
   boxes"; house rule: at least 10 px of inset, bands take about 20 px a side). The chosen row of the Blog's
   category index is a band: 20 px a side. Pills grow from 34 to 40 px so the words clear the fill by 10 px. */
.h-blog .st-tabs button,.h-blog .st-tabs button[aria-pressed=true]{padding:14px 20px}
.st-pills span,.st-pills a{height:40px;padding:0 18px}


/* Cover with its own line (cover_art() in build_v18_std.py; Gene 24.11.2026: "the picture itself shows nothing;
   show what should be on it; there can be text on it"). The line is set large in the site's sans, left-aligned
   at the top of the scene, white on a soft dark wash and shade; a small Stobox mark sits bottom left. A product
   drawing ("dr") is light, so its line is navy on a white plate; a product update ("rel") keeps the right half
   for the release stack. Sizes follow the cover's width (container units). */
.cv .cv-tx{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:space-between;align-items:flex-start;padding:6cqi 6.4cqi;pointer-events:none;
  background:linear-gradient(180deg,rgba(6,16,46,.62) 0,rgba(6,16,46,.28) 46%,rgba(6,16,46,0) 70%,rgba(6,16,46,.32) 100%)}
.cv .cv-tx .ln{max-width:82%;color:#fff;font-weight:600;letter-spacing:-.03em;line-height:1.04;text-wrap:balance;text-shadow:0 2px 24px rgba(3,10,30,.55)}
.cv .cv-tx.z-l .ln{font-size:max(20px,7.4cqi)}.cv .cv-tx.z-m .ln{font-size:max(18px,6cqi)}.cv .cv-tx.z-s .ln{font-size:max(16px,5cqi)}
.cv .cv-tx img.wm{position:static;width:max(48px,10cqi);height:auto;object-fit:contain;transform:none;border-radius:0;box-shadow:none;opacity:.95}
.cv .cv-tx.k-dr{background:none}
.cv .cv-tx.k-dr .ln{color:var(--navy);text-shadow:none;background:#fff;padding:max(15px,2.8cqi) max(16px,3.4cqi);border-radius:max(6px,1.2cqi);line-height:1.1;box-shadow:0 10px 30px -14px rgba(10,43,109,.45)}
.cv .cv-tx.k-rel{background:linear-gradient(90deg,rgba(6,16,46,.7) 0,rgba(6,16,46,.25) 55%,rgba(6,16,46,0) 70%)}
.cv .cv-tx.k-rel .ln{max-width:52%}
.cv .bc-st{position:absolute;right:0;top:0;height:100%;width:auto}
.cv .bc-st .lb1,.cv .bc-st .lb2{font:500 11.5px var(--mono);letter-spacing:.14em;fill:#dfe8f7}.cv .bc-st .lb2{fill:#8ec6f2}
@media (hover:hover){.st-card:hover .cv .cv-tx img.wm,.st-card:hover .cv .bc-st{transform:none}}
.cv .cv-tx.k-dr img.wm{background:#fff;padding:max(8px,1.4cqi) max(10px,1.8cqi);border-radius:max(6px,1cqi);box-sizing:content-box;width:max(44px,8cqi)}
