/* security.html only: the opening rings, the ten cards, monitoring, the standard, data and AI, the close.
   Moved out of site.css on 2 Dec 2026 so no other page carries it. Colours and type come from site.css. */
:root{--sx-bad:#ff8a7a; --sx-ok-bg:rgba(95,211,166,.08); --sx-ok-bd:rgba(95,211,166,.32); --sx-halo:#070f24}
:root[data-theme="light"]{--sx-bad:#b4382c; --sx-ok-bg:rgba(19,117,82,.07); --sx-ok-bd:rgba(19,117,82,.3); --sx-halo:#f1eee8}

/* opening: the rings */
@media (min-width:1000px){ .sx-hero .wrap{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr)} }
@media (min-width:1440px){ .sx-hero .wrap{grid-template-columns:minmax(0,1fr) minmax(0,1.12fr); column-gap:2.4rem} }
.sx-hero h1{max-width:13ch}
.sx-stage{margin:0; position:relative}
.sx-rings{position:relative; display:block; width:100%; max-width:30rem; margin-inline:auto; background:radial-gradient(closest-side, rgba(233,188,104,.15), transparent)}
.sx-rings .ring{fill:none; stroke:var(--gold); stroke-width:1.3; stroke-opacity:.55; transform-origin:260px 260px}
.sx-rings .ring.dsh{stroke-dasharray:3 6; stroke-opacity:.7}
.sx-rings .rg circle:first-child{stroke-opacity:.32} .sx-rings .rg circle:last-child{stroke-opacity:.9; stroke-width:1.6}
.sx-rings .lane{fill:none; stroke:var(--cool); stroke-width:1.4; stroke-dasharray:2 5; stroke-opacity:.55}
.sx-rings .nb text, .sx-rings .core-t{font:700 11px var(--sans); text-anchor:middle}
.sx-rings .core{fill:var(--gold); fill-opacity:.2; stroke:var(--gold); stroke-width:1.8}
.sx-rings .core-t{font-size:12.5px; fill:var(--gold-t); letter-spacing:.02em}
@media (max-width:559px){ .sx-rings .core-t{font-size:15px} .sx-rings .nb text{font-size:13px} .sx-rings .bell text{font-size:15px} }
.sx-rings .nb circle{fill:var(--card1); stroke:var(--bd-g); stroke-width:1.3} .sx-rings .nb text{fill:var(--mute)}
.sx-rings .tk circle{fill:var(--card1); stroke:var(--ok); stroke-width:1.7}
.sx-rings .tk path{fill:none; stroke:var(--ok); stroke-width:2; stroke-linecap:round; stroke-linejoin:round}
.sx-rings .bx circle{fill:var(--card1); stroke:var(--sx-bad); stroke-width:1.7}
.sx-rings .bx path{fill:none; stroke:var(--sx-bad); stroke-width:2; stroke-linecap:round}
.sx-rings .tag, .sx-rings .rs{font:650 15px var(--sans); fill:var(--sx-bad); stroke:var(--sx-halo); stroke-width:6px; stroke-linejoin:round; paint-order:stroke}
.sx-rings .rs{font-size:13.5px; fill:var(--ok); opacity:0}
.sx-rings .late{opacity:0}
.sx-rings .pt{fill:none; stroke:var(--gold); stroke-width:3.4; stroke-linecap:round}
.sx-rings .bit{fill:var(--sx-bad); opacity:0}
.sx-rings .bell-c{fill:var(--card1); stroke:var(--bd-g); stroke-width:1.4} .sx-rings .bell-r{fill:none; stroke:var(--sx-bad); stroke-width:1.4; opacity:0}
.sx-rings .bell-i{fill:none; stroke:var(--gold-t); stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round}
.sx-rings .bell text{font:650 13px var(--sans); letter-spacing:.06em; fill:var(--mute); text-anchor:middle}
.sx-rings .bell-i, .sx-rings .bell-r{transform-box:fill-box; transform-origin:center}
.sx-rings .atk{fill:var(--sx-bad); opacity:0}
.sx-rings .req{transform:translate(-26.9px,-26.9px)}
.sx-rings .req-d{fill:var(--cool)} .sx-rings .req-h{fill:var(--cool); opacity:.22}
.sx-rings .tk, .sx-rings .bx{transform-box:fill-box; transform-origin:center}
.sx-tick{display:none}
.sx-kh{margin:1.5rem 0 0; font:650 .75rem/1.2 var(--sans); letter-spacing:.16em; text-transform:uppercase; color:var(--gold-t)}
.sx-legend{position:relative; text-align:center}
.sx-keys{list-style:none; margin:.9rem auto 0; padding:0; max-width:38rem; display:grid; grid-template-rows:repeat(4,auto); grid-auto-flow:column; gap:.6rem 1rem; text-align:left}
.sx-keys li{display:flex; align-items:center; gap:.55rem; font:600 .88rem/1.25 var(--sans); color:var(--ink)}
.sx-keys i{flex:none; display:grid; place-items:center; width:1.5rem; height:1.5rem; border-radius:50%; font:700 .74rem/1 var(--sans); font-style:normal; color:var(--ok); background:var(--sx-ok-bg); border:1px solid var(--sx-ok-bd)}
@media (min-width:1000px) and (max-width:1439px){ .sx-rings{max-width:26rem} .sx-keys{max-width:27rem; column-gap:1.6rem} }
@media (min-width:560px) and (max-width:999px){ .sx-keys{grid-template-rows:none; grid-auto-flow:row; grid-template-columns:repeat(4,minmax(0,1fr))} }
@media (min-width:1440px){
  .sx-stage{display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; column-gap:1.1rem}
  .sx-stage figcaption{grid-column:1/-1}
  .sx-legend{text-align:left} .sx-legend .sx-kh{margin-top:0}
  .sx-keys{grid-template-rows:none; grid-auto-flow:row; gap:.62rem; margin-top:1rem} .sx-keys li{font-size:.84rem; gap:.5rem} .sx-keys i{width:1.4rem; height:1.4rem}
}
@media (max-width:559px){ .sx-rings .tag, .sx-rings .rs{display:none} }
.sx-stage figcaption{position:relative; margin:1.2rem auto 0; max-width:44ch; text-wrap:balance; text-align:center; font-size:.9rem; color:var(--mute)}
/* the opening plays in a loop of twenty seconds: a request is ticked at each ring; attempts are each stopped where they are
   caught, then answered (the address blocked, an alert sent) and the ring is strengthened where it was hit.
   The figure and the bell's keyframes are written by scripts/build-security-figure.mjs */
@media (prefers-reduced-motion:no-preference){
  .js .sx-rings .rg circle{animation:sxfade 1s var(--ease) both}
  .js .sx-rings .rg .dsh{animation:sxfade 1s var(--ease) both, sxspin 160s linear infinite}
  .js .sx-rings .rg .dsh:nth-child(4){animation-direction:normal, reverse}
  .js .sx-rings .req{animation:sxreq 20s linear infinite both}
  .js .sx-rings .core{animation:sxcore 20s var(--ease) infinite both}
  .js .sx-rings .tk{animation:sxtk 20s var(--ease) var(--d) infinite both}
  .js .sx-keys i{animation:sxkey 20s var(--ease) var(--d) infinite both}
  .js .sx-rings .atk{animation:sxatk 20s var(--d) infinite both}
  .js .sx-rings .bit{animation:sxbit 20s var(--d) infinite both}
  .js .sx-rings .late{opacity:1}
  .js .sx-rings .bx{animation:sxstop 20s var(--ease) var(--d) infinite both}
  .js .sx-rings .tag{animation:sxtag 20s var(--d) infinite both}
  .js .sx-rings .rs{animation:sxrs 20s var(--d) infinite both}
  .js .sx-rings .pt{animation:sxpt 20s var(--d) infinite both}
  .js .sx-tick span{animation:sxtkr 20s var(--d) infinite both}
  .js .sx-rings .bell-i{animation:sxbell 20s linear infinite both}
  .js .sx-rings .bell-r{animation:sxbellr 20s linear infinite both}
  .js .sx-rings .bell-c{animation:sxbellc 20s linear infinite both}
}
@media (prefers-reduced-motion:no-preference) and (max-width:559px){
  .js .sx-tick{display:block; position:relative; height:1.5rem; margin:.6rem 0 0; text-align:center; font:600 .9rem/1.5rem var(--sans); color:var(--sx-bad)}
  .sx-tick span{position:absolute; inset:0} .sx-tick b{font-weight:600; color:var(--ok)}
}
@keyframes sxfade{from{opacity:0}}
@keyframes sxspin{to{transform:rotate(360deg)}}
@keyframes sxreq{0%{opacity:0; transform:translate(-185.3px,-185.3px)} 3%{opacity:1} 29.15%,36%{opacity:1; transform:translate(-26.9px,-26.9px)} 39%,100%{opacity:0; transform:translate(-26.9px,-26.9px)}}
@keyframes sxcore{0%,28%,38%,100%{fill-opacity:.2; stroke-width:1.8} 32%{fill-opacity:.45; stroke-width:4}}
@keyframes sxtk{0%{opacity:0; transform:scale(.3)} 1.8%,45%{opacity:1; transform:none} 48%,100%{opacity:0; transform:none}}
@keyframes sxkey{0%,48%,100%{color:var(--mute); background:transparent; border-color:var(--bd-g)} 1.8%,45%{color:var(--ok); background:var(--sx-ok-bg); border-color:var(--sx-ok-bd)}}
@keyframes sxatk{0%{opacity:0; transform:translate(var(--x),var(--y))} 1.5%{opacity:1} 6%,24%{opacity:1; transform:none} 26%,100%{opacity:0; transform:none}}
@keyframes sxbit{0%{opacity:0; transform:translate(var(--x),var(--y))} 1.5%{opacity:.85} 5%{opacity:.85; transform:none} 8%,100%{opacity:0; transform:none}}
@keyframes sxstop{0%,5.8%{opacity:0; transform:scale(.3)} 7%,24%{opacity:1; transform:none} 26%,100%{opacity:0; transform:none}}
@keyframes sxtag{0%,6.5%{opacity:0} 8%,24%{opacity:1} 26%,100%{opacity:0}}
@keyframes sxrs{0%,10.5%{opacity:0} 12.5%,24%{opacity:1} 26%,100%{opacity:0}}
@keyframes sxpt{0%,6.5%{opacity:0; stroke-width:3.4} 8%{opacity:1; stroke-width:8} 12%{stroke-width:3.4} 72%{opacity:1; stroke-width:3.4} 76%,100%{opacity:0; stroke-width:3.4}}
@keyframes sxtkr{0%,6.5%{opacity:0} 8%,16%{opacity:1} 17.5%,100%{opacity:0}}
@keyframes sxbell{0%{transform:rotate(0)} 19.5%{transform:rotate(0)} 20.1%{transform:rotate(16deg)} 20.8%{transform:rotate(-13deg)} 21.5%{transform:rotate(8deg)} 22.25%{transform:rotate(0)} 63.5%{transform:rotate(0)} 64.1%{transform:rotate(16deg)} 64.8%{transform:rotate(-13deg)} 65.5%{transform:rotate(8deg)} 66.25%{transform:rotate(0)} 74.5%{transform:rotate(0)} 75.1%{transform:rotate(16deg)} 75.8%{transform:rotate(-13deg)} 76.5%{transform:rotate(8deg)} 77.25%{transform:rotate(0)} 100%{transform:rotate(0)}}
@keyframes sxbellr{0%{opacity:0; transform:scale(1)} 19.45%{opacity:0; transform:scale(1)} 19.5%{opacity:.7; transform:scale(1)} 24%{opacity:0; transform:scale(2)} 63.45%{opacity:0; transform:scale(1)} 63.5%{opacity:.7; transform:scale(1)} 68%{opacity:0; transform:scale(2)} 74.45%{opacity:0; transform:scale(1)} 74.5%{opacity:.7; transform:scale(1)} 79%{opacity:0; transform:scale(2)} 100%{opacity:0; transform:scale(2)}}
@keyframes sxbellc{0%{stroke:var(--bd-g)} 19.45%{stroke:var(--bd-g)} 20%,27.5%{stroke:var(--sx-bad)} 29.5%{stroke:var(--bd-g)} 63.45%{stroke:var(--bd-g)} 64%,71.5%{stroke:var(--sx-bad)} 73.5%{stroke:var(--bd-g)} 74.45%{stroke:var(--bd-g)} 75%,82.5%{stroke:var(--sx-bad)} 84.5%{stroke:var(--bd-g)} 100%{stroke:var(--bd-g)}}

/* why it matters */
.sx-why{display:grid; gap:1.6rem; margin-top:2.6rem}
@media (min-width:900px){ .sx-why{grid-template-columns:repeat(3,1fr); gap:2.2rem} }
.sx-w{padding-top:1.3rem; border-top:1px solid var(--bd-g)}
.sx-w .ic{margin-bottom:1.1rem}
.sx-w p{margin:0; color:var(--soft); font-size:1.08rem; line-height:1.55; max-width:36ch}
.sx-w b{display:block; margin-bottom:.45rem; font:650 clamp(1.25rem, 1.1rem + .5vw, 1.55rem)/1.25 var(--sans); letter-spacing:-.015em; color:var(--ink)}

/* the ten worries */
.sx-ten{display:grid; gap:1.1rem; margin-top:2.8rem}
@media (min-width:860px){ .sx-ten{grid-template-columns:repeat(2,minmax(0,1fr)); gap:1.3rem} }
.sx-card{display:flex; flex-direction:column; padding:1.6rem 1.6rem 1.5rem; scroll-margin-top:5rem}
.sx-top{display:flex; align-items:center; justify-content:space-between; margin-bottom:1.2rem}
.sx-no{font:680 clamp(2rem, 1.6rem + 1.2vw, 2.8rem)/1 var(--sans); letter-spacing:-.04em; font-variant-numeric:tabular-nums; background:linear-gradient(100deg,var(--em1),var(--em2) 45%,var(--em3)); -webkit-background-clip:text; background-clip:text; color:transparent; opacity:.85}
.sx-card h3{font-size:clamp(1.25rem, 1.1rem + .5vw, 1.5rem); line-height:1.22; text-wrap:balance}
.sx-card .sx-what{margin:.55rem 0 0; color:var(--soft); font-size:1.02rem; line-height:1.5}
.sx-build{flex:1; margin-top:1.2rem; padding-top:1rem; border-top:1px solid var(--bd)}
.sx-build small{display:block; font:650 .75rem/1.2 var(--sans); letter-spacing:.15em; text-transform:uppercase; color:var(--gold-t)}
.sx-build ul{list-style:none; margin:.75rem 0 0; padding:0; display:grid; gap:.55rem}
.sx-build li{position:relative; padding-left:1.6rem; color:var(--ink); line-height:1.45}
.sx-build li::before{content:""; position:absolute; left:.15rem; top:.38em; width:.62rem; height:.32rem; border-left:2px solid var(--gold); border-bottom:2px solid var(--gold); transform:rotate(-48deg)}
.sx-card .sx-live{align-self:flex-start; display:inline-flex; align-items:flex-start; gap:.6rem; margin:1.3rem 0 0; padding:.5rem .85rem .5rem .75rem; border-radius:.8rem; font:600 .84rem/1.35 var(--sans); color:var(--ok); background:var(--sx-ok-bg); border:1px solid var(--sx-ok-bd)}
.sx-live i{flex:none; width:.5rem; height:.5rem; margin-top:.3rem; border-radius:50%; background:var(--ok); box-shadow:0 0 0 3px var(--sx-ok-bg)}

/* watching */
.sx-figs .fig .sx-pre{display:block; margin-bottom:.55rem; font:650 .76rem/1 var(--sans); letter-spacing:.16em; text-transform:uppercase; color:var(--gold-t)}
.sx-figs .fig .n{font-size:clamp(2rem, 1.5rem + 1.4vw, 2.9rem); letter-spacing:-.035em; line-height:1.05; white-space:nowrap}
.sx-figs .fig .d{max-width:24ch}
.sx-wh{margin-top:2.8rem}
.sx-watch{list-style:none; margin:1.2rem 0 0; padding:0; display:grid; gap:1.4rem 1.6rem; grid-template-columns:repeat(auto-fit,minmax(13rem,1fr))}
.sx-watch li{padding-top:1rem; border-top:1px solid var(--bd)}
.sx-watch svg{display:block; width:1.5rem; height:1.5rem; margin-bottom:.7rem; fill:none; stroke:var(--gold-t); stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round}
.sx-watch b{display:block; font:650 1.05rem/1.25 var(--sans); letter-spacing:-.01em}
.sx-watch span{display:block; margin-top:.35rem; color:var(--soft); font-size:.98rem; line-height:1.45; max-width:30ch}
.sx-told{margin-top:2.6rem; max-width:52rem; border-style:solid}
.sx-told p{font:600 1.08rem/1.45 var(--sans); color:var(--ink)}

/* the standard */
.sx-std{display:grid; gap:2.4rem; align-items:center}
@media (min-width:960px){ .sx-std{grid-template-columns:minmax(0,1.35fr) minmax(0,1fr); gap:4.5rem} }
.sx-std .lead{max-width:54ch}
.sx-reg{padding:1.9rem 1.9rem 1.4rem; border-color:var(--bd-g)}
.sx-reg-top{display:flex; align-items:flex-end; gap:1rem; padding-bottom:1.2rem}
.sx-reg-n{font:680 clamp(3.6rem, 2.8rem + 2.4vw, 5.4rem)/.85 var(--sans); letter-spacing:-.05em; background:linear-gradient(100deg,var(--em1),var(--em2) 45%,var(--em3)); -webkit-background-clip:text; background-clip:text; color:transparent}
.sx-reg-l{font:600 1.15rem/1.25 var(--sans); color:var(--ink)}
.sx-reg-l small{display:block; margin-bottom:.3rem; font:650 .75rem/1.2 var(--sans); letter-spacing:.15em; text-transform:uppercase; color:var(--gold-t)}
.sx-reg-list{list-style:none; margin:0; padding:0}
.sx-reg-list li{display:flex; align-items:center; gap:.8rem; padding:.8rem 0; border-top:1px solid var(--bd); font:560 1.05rem/1.3 var(--sans)}
.sx-reg-list svg{flex:none; width:1.5rem; height:1.5rem; padding:.28rem; border-radius:50%; background:rgba(233,188,104,.16); fill:none; stroke:var(--gold-t); stroke-width:2.4; stroke-linecap:round; stroke-linejoin:round}

/* your data and AI */
.sx-ai{list-style:none; margin:2.4rem 0 0; padding:0; display:grid; gap:1rem}
@media (min-width:900px){ .sx-ai{grid-template-columns:repeat(3,1fr); gap:1.3rem} }
.sx-ai li{display:flex; flex-direction:column; gap:1rem; padding:1.4rem 1.4rem 1.5rem; border-radius:1.2rem; background:linear-gradient(170deg,var(--card1),var(--card2)); border:1px solid var(--bd)}
.sx-ai li.top{border-color:var(--bd-g); background:radial-gradient(120% 90% at 100% 0%, rgba(233,188,104,.14), transparent 60%), linear-gradient(170deg,var(--card1),var(--card2))}
.sx-ai-k{display:flex; align-items:center; justify-content:space-between; gap:1rem; font:650 .76rem/1 var(--sans); letter-spacing:.15em; text-transform:uppercase; color:var(--gold-t)}
.sx-ai b{margin-top:auto; font:600 1.15rem/1.38 var(--sans); letter-spacing:-.01em; text-wrap:pretty}
.sx-locks{display:flex; gap:.32rem; padding-top:.45rem}
.sx-locks i{position:relative; width:.85rem; height:1.05rem; border-radius:.2rem; background:rgba(233,188,104,.22)}
.sx-locks i.on{background:var(--gold)}
.sx-locks i::before{content:""; position:absolute; left:50%; top:-.42rem; width:.55rem; height:.55rem; transform:translateX(-50%); border:2px solid rgba(233,188,104,.4); border-bottom:0; border-radius:.4rem .4rem 0 0}
.sx-locks i.on::before{border-color:var(--gold)}
.sx-own{display:flex; gap:.8rem; align-items:flex-start; margin:2rem 0 0; font:600 1.1rem/1.45 var(--sans); color:var(--ink); max-width:60ch}
.sx-own svg{flex:none; width:1.5rem; height:1.5rem; fill:none; stroke:var(--gold-t); stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round}

/* offer and close */
.sx-close-rings{position:absolute; left:0; right:0; bottom:0; height:60%; pointer-events:none; opacity:.55; -webkit-mask-image:linear-gradient(transparent, #000 75%); mask-image:linear-gradient(transparent, #000 75%)}
.sx-close-rings svg{display:block; width:100%; height:100%; fill:none; stroke:var(--bd-g); stroke-width:1}
.sx-close-rings circle:nth-child(even){stroke-dasharray:3 7}
.sx-close-lead{margin-inline:auto; max-width:52ch}
.sx-acts{display:flex; flex-wrap:wrap; justify-content:center; align-items:center; gap:.9rem; margin-top:2.2rem}

/* security page: each description follows its title; evidence sits at the foot */
@media (min-width:860px){
  .sx-ten{grid-auto-rows:auto}
  .sx-card{display:flex; flex-direction:column}
  .sx-card .sx-build{align-self:stretch} /* the rule above each list runs the card's full width, so the cards line up */
  .sx-card .sx-live{margin-top:auto}
  .sx-card .sx-build{margin-bottom:1.3rem}
}
.sx-own span{text-wrap:balance}
