/* /security/ai-key-thief/ (the story page): the video, the live-view card, the figures (each
   with a title, a subtitle, a source line and its annotations), the key cards, the check card,
   the progress bar, the Security showcase with its hotspots and lightbox, and the end band.
   The hero and the two-birds scene are thief-art.css. Uses style.css's tokens. */

/* The video under the hero (thief.HAS_VIDEO) and last week's story, lower down */
.ak-video-sec { padding: 0 0 8px; }
.ak-video { margin: 0; }
.ak-video video, .ak-watch video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 18px; background: #0b1016; border: 1px solid var(--rule); }
.ak-video figcaption { color: var(--ink-2); font-size: 14px; margin-top: 10px; }
.ak-watch { margin: 28px 0 0; }
.ak-watch summary {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer; list-style: none; font-weight: 650; color: var(--accent);
  padding: 9px 14px; border-radius: 999px; border: 1px solid var(--rule); background: var(--surface);
}
.ak-watch summary::-webkit-details-marker { display: none; }
.ak-watch summary::before { content: ""; width: 0; height: 0; border-left: 9px solid currentColor; border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.ak-watch[open] summary { margin-bottom: 14px; }

/* The article's blocks */
.ak-article { padding-bottom: 56px; }
.ak-article > .ak-wide + .narrow { margin-top: 56px; }
.ak-article > .narrow + .ak-wide { margin-top: 22px; }
.ak-wide { max-width: 1080px; }
.ak-fine { font-size: 14px; color: var(--ink-2); margin: 10px 0 0; }
.ak-article .prose + .ak-live, .ak-article .prose + .ak-got, .ak-article .prose + .ak-scale,
.ak-article .prose + .ak-birds, .ak-article .prose + .ak-hunt { margin-top: 4px; }
.ak-article .ak-got + .prose, .ak-article .ak-scale + .prose, .ak-article .ak-birds + .prose,
.ak-article .ak-live + .prose, .ak-article .ak-fine + .prose { margin-top: 48px; }

/* The live view, recreated */
.ak-live { margin: 22px 0 0; }
.ak-live-card { max-width: 620px; background: var(--surface); border: 1px solid var(--rule); border-radius: 18px; box-shadow: var(--tile-shadow); padding: 14px 16px 16px; }
.ak-live-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 14.5px; padding-bottom: 10px; margin-bottom: 10px; border-bottom: 1px solid var(--rule); }
.ak-live-tag { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; color: var(--good); }
.ak-pdot { flex: none; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--good); box-shadow: 0 0 0 3px color-mix(in srgb, var(--good) 22%, transparent); }
.ak-live-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; padding: 10px 12px; border-radius: 12px; font-size: 15px; background: color-mix(in srgb, var(--sunk) 50%, var(--surface)); }
.ak-live-row > span:not(:first-child)::before { content: "·"; margin-right: 10px; color: var(--ink-2); }
.ak-live-row .ak-live-steps::before { display: none; }
.ak-live-who b { font-weight: 700; }
.ak-flag { margin-right: 6px; }
.ak-live-src { color: var(--ink-2); }
.ak-live-src b { color: var(--ink); font-weight: 650; }
.ak-st { font: 650 12.5px/1.5 var(--mono); padding: 1px 8px; border-radius: 5px; color: var(--ink); background: color-mix(in srgb, var(--good) 16%, var(--surface)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--good) 45%, transparent); }
.ak-live-now { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-2); }
.ak-live-now b { font-family: var(--mono); color: var(--ink); }
.ak-live figcaption { color: var(--ink-2); font-size: 14px; margin-top: 10px; }

/* Every figure explains itself: a title, a one-line subtitle, the figure, a source line */
:root { --lk-ai: #a8431a; --lk-cloud: #1c5fae; --lk-env: #7f5a00; --lk-page: #10704f; --lk-other: #4f5d6b; --ak-drop: #6b5bd2; }
@media (prefers-color-scheme: dark) { :root { --lk-ai: #ffa77a; --lk-cloud: #8cbcff; --lk-env: #ffd36b; --lk-page: #74e0b4; --lk-other: #c3ccd5; --ak-drop: #a99bff; } }
html { scroll-padding-top: 132px; }
.ak-figure { margin: 34px 0 0; min-width: 0; }
.ak-fig-head { margin-bottom: 14px; }
.ak-fig-head b { display: block; font: 750 clamp(20px, 2.6vw, 26px)/1.2 var(--round); letter-spacing: -.02em; color: var(--ink); }
.ak-fig-head span { display: block; margin-top: 5px; color: var(--ink-2); font-size: 15px; line-height: 1.5; }
.ak-fig-src { margin: 12px 0 0; font-size: 13.5px; line-height: 1.55; color: var(--ink-2); }
.ak-fig-src > span:first-child { margin-right: 6px; font-size: 11.5px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); }
.ak-pill { display: inline-block; padding: 1px 8px; border-radius: 999px; font: 750 12.5px/1.6 var(--mono); }
.ak-pill-404 { color: var(--bad); background: color-mix(in srgb, var(--bad) 13%, transparent); }
.ak-pill-308 { color: var(--warn); background: color-mix(in srgb, var(--warn) 15%, transparent); }
.ak-pill-499 { color: var(--ak-drop); background: color-mix(in srgb, var(--ak-drop) 14%, transparent); }
.ak-pill-200 { color: var(--good); background: color-mix(in srgb, var(--good) 14%, transparent); }
.lgk-ai { color: var(--lk-ai); } .lgk-cloud { color: var(--lk-cloud); } .lgk-env { color: var(--lk-env); }
.lgk-page { color: var(--lk-page); } .lgk-other { color: var(--lk-other); }

/* The story's progress bar, under the sticky header */
.ak-progress {
  position: sticky; top: 68px; z-index: 40; margin: -18px 0 26px; background: var(--glass);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
}
.ak-progress-in { padding-top: 9px; }
.ak-progress ol { display: flex; gap: 4px 12px; margin: 0; padding: 0 0 8px; list-style: none; overflow-x: auto; scrollbar-width: none; }
.ak-progress ol::-webkit-scrollbar { display: none; }
.ak-progress li { display: flex; align-items: center; flex: none; }
.ak-progress li + li::before { content: "→"; margin-right: 12px; color: var(--rule-2); }
.ak-progress a { display: inline-flex; align-items: center; gap: 7px; padding: 3px 0; font: 600 13.5px/1.3 var(--sans); color: var(--ink-2); text-decoration: none; white-space: nowrap; }
.ak-progress a:hover { color: var(--ink); }
.ak-progress a i { width: 9px; height: 9px; border-radius: 50%; border: 2px solid var(--rule-2); transition: background-color .25s, border-color .25s, box-shadow .25s; }
.ak-progress a.is-done i { background: var(--ink-2); border-color: var(--ink-2); }
.ak-progress a.is-on { color: var(--ink); }
.ak-progress a.is-on i { background: var(--bad); border-color: var(--bad); box-shadow: 0 0 0 4px color-mix(in srgb, var(--bad) 22%, transparent); }
.ak-progress-bar { display: block; height: 3px; background: var(--rule); border-radius: 2px; overflow: hidden; }
.ak-progress-bar i { display: block; height: 100%; background: var(--bad); transform: scaleX(0); transform-origin: left; }
@media (max-width: 719px) {
  .ak-progress li + li::before { margin-right: 8px; }
  .ak-progress.is-on a:not(.is-on) span { display: none; }
}

/* The log */
.ak-lgcols { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 0 0 8px; padding: 0; list-style: none; font-size: 13.5px; color: var(--ink-2); }
.ak-lgcols li { display: inline-flex; align-items: center; gap: 6px; }
.ak-lgcols li > :first-child { padding: 1px 7px; border-radius: 6px; font: 650 12px/1.6 var(--mono); background: var(--term); }
.ak-lgcols .lg-ip, .ak-lgcols .lg-t, .ak-lgcols .lg-ua { color: var(--term-dim); }
.ak-lgcols .lg-p { color: #fff; }
.ak-lgkinds { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 0 0 12px; padding: 0; list-style: none; font-size: 13.5px; color: var(--ink-2); }
.ak-lgkinds li { display: inline-flex; align-items: center; gap: 6px; }
.ak-lgkinds i { width: 12px; height: 12px; border-radius: 3px; background: currentColor; }
.ak-lgkinds i.lgk-ai { background: var(--g-ai); } .ak-lgkinds i.lgk-cloud { background: var(--g-people); }
.ak-lgkinds i.lgk-env { background: var(--g-bots); } .ak-lgkinds i.lgk-page { background: var(--g-search); }
.ak-lgkinds i.lgk-other { background: var(--rule-2); }
.ak-term { margin: 4px 0 0; }
.ak-log { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 12.5px; line-height: 1.55; padding: 12px 12px 14px; }
.ak-log .lg { display: block; padding: 5px 6px 5px calc(6px + 1.6em); text-indent: -1.6em; border-radius: 8px; cursor: pointer; transition: background-color .15s; }
.ak-log .lg:hover, .ak-log .lg.is-sel { background: rgba(255, 255, 255, .07); }
.ak-log .lg.is-sel { box-shadow: inset 3px 0 0 #ffd36b; }
.ak-log .lg:focus-visible { outline: 2px solid #ffd36b; outline-offset: -2px; }
.lg-ip, .lg-t, .lg-ua { color: var(--term-dim); }
.lg-p { font-weight: 700; color: #fff; }
.ak-log .lgk-ai { color: #ffab7a; } .ak-log .lgk-cloud { color: #8cbcff; } .ak-log .lgk-env { color: #ffd36b; }
.ak-log .lgk-page { color: #74e0b4; } .ak-log .lgk-other { color: #c3ccd5; }
.lg-r { color: #9cc8ff; }
.lg-s { padding: 0 6px; border-radius: 5px; font-weight: 800; }
.lg-404 { color: #ff9a92; background: rgba(255, 154, 146, .16); }
.lg-308 { color: #e6b34a; background: rgba(230, 179, 74, .16); }
.lg-499 { color: #c3b6ff; background: rgba(195, 182, 255, .16); }
.lg-200 { color: #7fd3a8; background: rgba(127, 211, 168, .16); }
.lg-note { display: flex; gap: 8px; align-items: baseline; margin: 0 0 6px calc(6px + 1.6em); padding: 4px 10px; border-radius: 8px; white-space: normal; font: 650 13px/1.45 var(--sans); color: #ffd36b; background: rgba(255, 211, 107, .08); }
.lg-note b { flex: none; display: inline-grid; place-items: center; width: 19px; height: 19px; border-radius: 50%; font-size: 11.5px; color: var(--term); background: #ffd36b; }
.ak-log.is-typing .lg, .ak-log.is-typing .lg-note { clip-path: inset(0 100% 0 0); }
.ak-log.is-typing .is-typed { clip-path: inset(0 0 0 0); transition: clip-path .5s steps(26, end); }
.ak-zoom { margin-top: 12px; min-height: 172px; padding: 14px 16px; border-radius: 16px; background: var(--surface); border: 1px solid var(--rule); box-shadow: var(--tile-shadow); }
@media (max-width: 599px) { .ak-zoom { min-height: 236px; } }
.ak-zoom p { margin: 0; }
.ak-zoom-k { font-size: 12.5px; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.ak-zoom-line { margin-top: 6px !important; font: 700 clamp(17px, 2.4vw, 23px)/1.35 var(--mono); overflow-wrap: anywhere; }
.ak-zoom-t, .ak-zoom-m { color: var(--ink-2); font-weight: 600; }
.ak-zoom-line .ak-pill { font-size: .72em; vertical-align: .14em; }
.ak-zoom-why { margin-top: 8px !important; font-size: 17px; font-weight: 650; color: var(--ink); }
.ak-zoom-r { margin-top: 6px !important; font-size: 14px; color: var(--ink-2); }
.ak-zoom-r code { overflow-wrap: anywhere; font-size: 13px; }

/* The chart: requests a second, stacked by what was hunted, annotated */
.ak-chart { --plot-top: 34px; padding: 22px 18px 16px; background: var(--surface); border: 1px solid var(--rule); border-radius: 20px; box-shadow: var(--tile-shadow); --plot-h: 210px; }
@media (min-width: 720px) { .ak-chart { padding: 28px 30px 20px; --plot-h: 260px; } }
.ak-chart-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 20px; margin-bottom: 14px; }
.ak-legend { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; color: var(--ink-2); }
.ak-legend li { display: inline-flex; align-items: center; }
.ak-legend b { color: var(--ink); margin-left: 5px; font-variant-numeric: tabular-nums; }
.ak-run { margin: 0; font-size: 14px; color: var(--ink-2); }
.ak-run b { font: 800 22px/1 var(--mono); color: var(--ink); font-variant-numeric: tabular-nums; display: inline-block; min-width: 3ch; text-align: right; }
.sw { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 7px; }
.k-ai { background: var(--g-ai); }
.k-cloud { background: var(--g-people); }
.k-env { background: var(--g-bots); }
.k-page { background: var(--g-search); }
.k-other { background: var(--rule-2); }
.ak-plotwrap { position: relative; display: flow-root; padding-left: 20px; }
.ak-ylab { position: absolute; left: -6px; top: var(--plot-top); height: var(--plot-h); writing-mode: vertical-rl; transform: rotate(180deg); text-align: center; font-size: 12px; color: var(--ink-2); }
.ak-xlab { display: block; margin: 0 0 4px 30px; text-align: center; font-size: 12px; color: var(--ink-2); }
.ak-plot { position: relative; height: var(--plot-h); margin: var(--plot-top) 0 30px 30px; }
@media (min-width: 900px) { .ak-chart { --plot-top: 214px; } }
.ak-grid span { position: absolute; left: 0; right: 0; border-top: 1px solid var(--rule); }
.ak-grid em { position: absolute; left: -30px; top: -9px; width: 22px; text-align: right; font: 12px/1.4 var(--sans); font-style: normal; color: var(--ink-2); }
.ak-cols { position: absolute; inset: 0; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); gap: 6px; }
@media (max-width: 599px) { .ak-cols { gap: 3px; } }
.ak-col { position: relative; height: 100%; }
.ak-hit { position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: center; padding: 0; margin: 0; border: 0; background: none; cursor: pointer; border-radius: 6px; }
.ak-hit:hover { background: color-mix(in srgb, var(--ink) 5%, transparent); }
.ak-hit:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.ak-bar { position: relative; display: flex; flex-direction: column-reverse; gap: 2px; width: 100%; max-width: 40px; }
.ak-bar i { display: block; flex: 1 1 0; min-height: 3px; border-radius: 2px; }
.ak-bar i:last-child { border-radius: 4px 4px 2px 2px; }
.ak-col.is-sel .ak-bar { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 4px; }
.ak-x { position: absolute; top: calc(100% + 6px); left: 50%; transform: translateX(-50%); font-size: 12px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
@media (max-width: 599px) { .ak-col:nth-child(even) .ak-x { visibility: hidden; } }
.ak-mk {
  position: absolute; z-index: 2; left: calc((var(--at) + .5) / var(--cols) * 100%); bottom: calc(var(--h) * 100% + 6px);
  transform: translateX(-50%); display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%;
  font: 800 12px/1 var(--sans); color: var(--surface); background: var(--ink); pointer-events: none;
}
.ak-notes { list-style: none; margin: 0; padding: 0; }
.ak-note { display: flex; gap: 8px; align-items: baseline; font-size: 13.5px; line-height: 1.4; color: var(--ink-2); }
.ak-note b { flex: none; display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; font-size: 11.5px; color: var(--surface); background: var(--ink); }
.ak-note time { font-weight: 750; color: var(--ink); font-variant-numeric: tabular-nums; }
@media (max-width: 899px) {
  .ak-notes { display: grid; gap: 8px; margin: 14px 0 14px -20px; }
}
@media (min-width: 900px) {
  .ak-notes { position: absolute; left: 50px; right: 0; top: var(--plot-top); height: var(--plot-h); pointer-events: none; }
  .ak-note {
    position: absolute; left: calc((var(--at) + .5) / var(--cols) * 100%); bottom: calc(100% + 14px + (1 - var(--row)) * 92px);
    width: 250px; transform: translateX(-50%); padding: 7px 10px; border-radius: 10px; background: var(--surface);
    border: 1px solid var(--rule-2); box-shadow: var(--tile-shadow);
  }
  .ak-note-start { transform: translateX(-15px); }
  .ak-note-end { transform: translateX(calc(-100% + 15px)); }
  .ak-note::after {
    content: ""; position: absolute; top: 100%; left: 50%; border-left: 1.5px dashed var(--ink-2);
    height: calc(14px + (1 - var(--row)) * 92px + (1 - var(--h)) * var(--plot-h) - 28px);
  }
  .ak-note-start::after { left: 15px; }
  .ak-note-end::after { left: auto; right: 15px; }
}
.ak-playhead { position: absolute; left: 0; top: -8px; bottom: 0; width: 100%; opacity: 0; pointer-events: none; }
.ak-playhead::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; border-left: 2px solid var(--bad); }
.ak-chart.is-playing .ak-playhead { opacity: 1; }
.ak-chart.is-growing .ak-bar { transform: scaleY(0); transform-origin: bottom; transition: transform .45s var(--ease); }
.ak-chart.is-growing .ak-col.is-grown .ak-bar { transform: none; }
.ak-chart.is-growing .ak-note, .ak-chart.is-growing .ak-mk { opacity: 0; transition: opacity .4s; }
.ak-chart.is-growing .ak-note.is-on, .ak-chart.is-growing .ak-mk.is-on { opacity: 1; }
.ak-sec { margin-top: 6px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--rule); background: color-mix(in srgb, var(--sunk) 45%, var(--surface)); }
.ak-sec-k { margin: 0 0 8px; font-size: 14px; color: var(--ink-2); }
.ak-sec-k b { color: var(--ink); }
.ak-sec-list { height: 184px; overflow: auto; overscroll-behavior: contain; }
.ak-sec-list ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 3px; }
.ak-sec-list li { display: flex; gap: 10px; align-items: baseline; font-size: 13px; }
.ak-sec-list code { overflow-wrap: anywhere; font-size: 13px; background: none; padding: 0; }
.ak-numbers { margin-top: 12px; }
.ak-numbers summary { cursor: pointer; color: var(--accent); font-weight: 600; font-size: 14.5px; }
.ak-numbers .table-wrap { margin-top: 12px; box-shadow: none; }
.ak-table { min-width: 560px; }
.ak-table td { text-align: right; font-variant-numeric: tabular-nums; font-size: 14px; min-width: 0 !important; }

/* What it wanted: the key cards */
.ak-keys { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.ak-kc {
  position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 8px 12px; align-items: center;
  padding: 16px; border-radius: 18px; background: var(--surface); border: 1px solid var(--rule); box-shadow: var(--tile-shadow);
  transition: transform .25s var(--ease), box-shadow .25s, border-color .25s;
}
.ak-kc:hover, .ak-kc:focus-visible { transform: translateY(-3px); box-shadow: var(--tile-shadow-hi); border-color: color-mix(in srgb, var(--bad) 45%, var(--rule)); }
.ak-kc:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.ak-kc-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: #fff; border: 1px solid #e3e8ee; }
.ak-kc-name { grid-column: 2 / -1; min-width: 0; }
.ak-kc-name b { display: block; font: 750 17px/1.25 var(--round); }
.ak-kc-name small { display: block; color: var(--ink-2); font-size: 13px; line-height: 1.35; }
.ak-kc-n { grid-column: 1 / 3; color: var(--ink-2); font-size: 14px; }
.ak-kc-n b { font: 800 30px/1 var(--round); color: var(--ink); font-variant-numeric: tabular-nums; margin-right: 4px; }
.ak-kc-stamp {
  grid-column: 1 / -1; justify-self: end; margin-top: 2px; padding: 3px 8px; border: 2px solid var(--bad); border-radius: 7px; transform: rotate(-7deg);
  font: 800 11.5px/1.3 var(--mono); letter-spacing: .03em; text-transform: uppercase; color: var(--bad); white-space: nowrap;
  background: color-mix(in srgb, var(--bad) 7%, var(--surface)); transition: transform .35s var(--ease), opacity .35s;
}
.ak-kc:hover .ak-kc-stamp, .ak-kc:focus-visible .ak-kc-stamp { transform: rotate(-3deg) scale(1.08); }
.ak-kc-ex { grid-column: 1 / -1; display: block; padding: 6px 9px; border-radius: 8px; font-size: 13px; overflow-wrap: anywhere; background: var(--sunk); }
.ak-kc-ans { grid-column: 1 / -1; font-size: 12.5px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.ak-keys.is-pending .ak-kc-stamp { opacity: 0; transform: rotate(-16deg) scale(1.9); }
.ak-keys .ak-kc:nth-child(2) .ak-kc-stamp { transition-delay: .08s; } .ak-keys .ak-kc:nth-child(3) .ak-kc-stamp { transition-delay: .16s; }
.ak-keys .ak-kc:nth-child(4) .ak-kc-stamp { transition-delay: .24s; } .ak-keys .ak-kc:nth-child(5) .ak-kc-stamp { transition-delay: .32s; }
.ak-keys .ak-kc:nth-child(6) .ak-kc-stamp { transition-delay: .4s; } .ak-keys .ak-kc:nth-child(7) .ak-kc-stamp { transition-delay: .48s; }
.ak-keys .ak-kc:nth-child(8) .ak-kc-stamp { transition-delay: .56s; }
.ak-keysfig .ak-fig-src code { font-size: 12.5px; }

/* What it got: one stacked bar, a callout per answer */
.ak-stackbar { display: flex; gap: 3px; height: 46px; margin: 0 0 14px; border-radius: 12px; overflow: hidden; }
.ak-st { display: flex; align-items: center; justify-content: center; min-width: 30px; color: #fff; font: 800 16px var(--round); }
.ak-st-no { background: var(--bad); } .ak-st-hop { background: var(--warn); } .ak-st-drop { background: var(--ak-drop); } .ak-st-ok { background: var(--good); }
.ak-got, .ak-scale { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 760px) { .ak-got { grid-template-columns: repeat(4, minmax(0, 1fr)); } .ak-scale { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 459px) { .ak-scale { grid-template-columns: minmax(0, 1fr); } }
.ak-got li, .ak-scale li {
  display: flex; flex-direction: column; gap: 4px; padding: 16px; border-radius: 16px; background: var(--surface);
  border: 1px solid var(--rule); box-shadow: var(--tile-shadow); transition: transform .25s var(--ease), box-shadow .25s;
}
.ak-got li:hover, .ak-scale li:hover { transform: translateY(-3px); box-shadow: var(--tile-shadow-hi); }
.ak-got li { border-top: 5px solid var(--bad); }
.ak-got .ak-got-hop { border-top-color: var(--warn); } .ak-got .ak-got-drop { border-top-color: var(--ak-drop); }
.ak-got .ak-got-ok { border-top-color: var(--good); }
.ak-got b, .ak-scale b { font: 800 clamp(26px, 3.4vw, 34px)/1.05 var(--round); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.ak-scale b { font-size: clamp(24px, 2.6vw, 30px); white-space: nowrap; }
.ak-code { font-weight: 700; font-size: 14px; color: var(--ink); }
.ak-got small { color: var(--ink-2); font-size: 13.5px; line-height: 1.45; }
.ak-got-ok .ak-code { color: var(--good); }
.ak-scale span { color: var(--ink-2); font-size: 15px; }

/* Is your site leaking AI keys? */
.ak-checkcard {
  display: grid; gap: 14px 18px; align-items: center; margin: 40px 0 0; padding: 22px; border-radius: 22px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--bad) 11%, var(--surface)), var(--surface) 62%);
  border: 1px solid color-mix(in srgb, var(--bad) 32%, var(--rule)); box-shadow: var(--tile-shadow);
  transition: box-shadow .25s, transform .25s var(--ease);
}
.ak-checkcard:hover { box-shadow: var(--tile-shadow-hi); transform: translateY(-2px); }
@media (min-width: 640px) { .ak-checkcard { grid-template-columns: auto minmax(0, 1fr); padding: 26px 28px; } .ak-cc-form { grid-column: 1 / -1; } }
.ak-cc-icon { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 18px; color: var(--bad); background: color-mix(in srgb, var(--bad) 13%, var(--surface)); }
.ak-cc-icon svg { width: 30px; height: 30px; }
.ak-checkcard h2 { margin: 0 0 4px; font: 750 clamp(22px, 3vw, 28px)/1.2 var(--round); letter-spacing: -.02em; }
.ak-checkcard p { margin: 0; color: var(--ink-2); font-size: 16px; }
.ak-cc-form { display: flex; flex-wrap: wrap; gap: 10px; }
.ak-cc-form input {
  flex: 1 1 220px; min-width: 0; min-height: 48px; padding: 0 16px; border-radius: 999px; font: 500 16px var(--sans);
  color: var(--ink); background: var(--surface); border: 1px solid var(--rule-2);
}
.ak-cc-form input:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
.ak-cc-form .btn { min-height: 48px; }
@media (prefers-reduced-motion: no-preference) {
  .ak-checkcard:hover .ak-cc-icon svg { animation: ak-wiggle .7s ease-in-out; }
}
@keyframes ak-wiggle { 25% { transform: rotate(-14deg); } 50% { transform: rotate(10deg); } 75% { transform: rotate(-5deg); } }
.ak-share { margin-top: 26px; }

/* Two birds, one stone */
.ak-birds { margin: 18px 0 0; padding: 18px; border-radius: 22px; background: var(--surface); border: 1px solid var(--rule); box-shadow: var(--tile-shadow); }
@media (min-width: 720px) { .ak-birds { padding: 24px; } }
.ak-birds-line { display: grid; gap: 6px; margin: 0 0 16px; }
.ak-birds-line span { font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.ak-birds-line code { display: block; font-size: 12.5px; line-height: 1.55; padding: 10px 12px; border-radius: 10px; overflow-wrap: anywhere; color: var(--term-ink); background: var(--term); }
.ak-birds-cols { display: grid; gap: 12px; }
@media (min-width: 700px) { .ak-birds-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ak-bird-col { padding: 18px; border-radius: 16px; border: 1px solid var(--rule); }
.ak-bird-visit { background: color-mix(in srgb, var(--g-people) 9%, var(--surface)); }
.ak-bird-break { background: color-mix(in srgb, var(--bad) 8%, var(--surface)); }
.ak-bird-col h3 { font: 750 19px/1.25 var(--round); margin-bottom: 10px; }
.ak-bird-col ul { margin: 0; padding-left: 1.15em; }
.ak-bird-col li { color: var(--ink-2); font-size: 15.5px; margin-bottom: 6px; }

/* Skald's Security section: one tab per report */
.ak-tabs-title { font: 750 clamp(22px, 3vw, 30px)/1.15 var(--round); letter-spacing: -.02em; margin: 6px 0 18px; }
.ak-tabs { display: grid; gap: 16px; margin-bottom: 22px; }
@media (min-width: 900px) { .ak-tabs.is-on { grid-template-columns: 240px minmax(0, 1fr); gap: 22px; align-items: start; } }
.ak-tablist { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 2px; margin: -2px; }
.ak-tablist::-webkit-scrollbar { display: none; }
@media (min-width: 900px) { .ak-tablist { flex-direction: column; overflow: visible; position: sticky; top: 92px; } }
.ak-tab {
  flex: none; text-align: left; cursor: pointer; font: 600 14.5px/1.3 var(--sans); color: var(--ink-2);
  padding: 9px 14px; border-radius: 999px; border: 1px solid var(--rule); background: var(--surface);
  transition: color .2s, border-color .2s, background-color .2s;
}
@media (min-width: 900px) { .ak-tab { border-radius: 12px; padding: 12px 14px; } }
.ak-tab:hover { color: var(--ink); border-color: var(--rule-2); }
.ak-tab[aria-selected="true"] { color: var(--ink); border-color: color-mix(in srgb, var(--accent) 60%, var(--rule)); background: var(--accent-soft); }
.ak-tab b { font-weight: inherit; }
.ak-panels { display: grid; gap: 16px; min-width: 0; }
.ak-panel { min-width: 0; padding: 16px; border-radius: 20px; background: var(--surface); border: 1px solid var(--rule); box-shadow: var(--tile-shadow); }
@media (min-width: 720px) { .ak-panel { padding: 22px; } }
.ak-panel:focus-visible { outline-offset: 2px; }
.ak-panel h3 { font: 750 20px/1.25 var(--round); }
.ak-panel p { color: var(--ink-2); font-size: 16px; }
@media (min-width: 900px) { .ak-tabs.is-on .ak-panel p { min-height: 3.2em; } }
.ak-demo { display: inline-flex; align-items: center; gap: 6px; font-weight: 650; }
.ak-shot { margin: 0 0 14px; }
.ak-lb-open { display: block; border-radius: 12px; cursor: zoom-in; }
.ak-lb-open:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.ak-shot-in { position: relative; display: block; }
.ak-shot img { display: block; width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--rule); background: var(--sunk); transition: filter .2s; }
.ak-lb-open:hover img { filter: brightness(.97); }
.ak-hs {
  position: absolute; z-index: 1; display: grid; place-items: center; width: 28px; height: 28px; transform: translate(-50%, -50%);
  border-radius: 50%; font: 800 14px/1 var(--sans); color: #fff; background: var(--bad);
  box-shadow: 0 0 0 3px #fff, 0 0 0 7px color-mix(in srgb, var(--bad) 30%, transparent), 0 4px 10px rgba(0, 0, 0, .25);
}
@media (max-width: 599px) { .ak-shot .ak-hs { width: 22px; height: 22px; font-size: 12px; } }
@media (prefers-reduced-motion: no-preference) {
  .ak-hs { animation: ak-ping 2.4s ease-out infinite; }
}
@keyframes ak-ping { 0%, 70%, 100% { box-shadow: 0 0 0 3px #fff, 0 0 0 7px color-mix(in srgb, var(--bad) 30%, transparent), 0 4px 10px rgba(0, 0, 0, .25); }
  35% { box-shadow: 0 0 0 3px #fff, 0 0 0 13px color-mix(in srgb, var(--bad) 0%, transparent), 0 4px 10px rgba(0, 0, 0, .25); } }
.ak-lb-hint {
  position: absolute; right: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px;
  border-radius: 999px; font: 650 13px/1 var(--sans); color: var(--ink); background: var(--glass); border: 1px solid var(--rule);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.ak-hs-notes { list-style: none; margin: 10px 0 8px; padding: 0; display: grid; gap: 6px; }
.ak-hs-notes li { display: flex; gap: 9px; align-items: baseline; font-size: 14.5px; line-height: 1.45; color: var(--ink-2); }
.ak-hs-notes b { flex: none; display: inline-grid; place-items: center; width: 21px; height: 21px; border-radius: 50%; font-size: 12px; color: #fff; background: var(--bad); }
.ak-shot figcaption { font-size: 13.5px; color: var(--ink-2); }

/* The lightbox */
.ak-lb { width: min(1240px, 96vw); max-width: none; max-height: 94vh; padding: 0; border: 0; border-radius: 18px; color: var(--ink); background: var(--surface); box-shadow: 0 30px 90px rgba(0, 0, 0, .5); }
.ak-lb::backdrop { background: rgba(5, 8, 12, .78); }
.ak-lb-bar { display: flex; align-items: center; gap: 10px; padding: 10px 12px 10px 16px; border-bottom: 1px solid var(--rule); }
.ak-lb-cap { flex: 1; min-width: 0; margin: 0; font-size: 14px; color: var(--ink-2); }
.ak-lb-btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 999px; font: 650 14px/1 var(--sans); color: var(--ink); background: var(--sunk); border: 1px solid var(--rule); cursor: pointer; }
.ak-lb-btn[aria-pressed="true"] { background: var(--accent-soft); border-color: var(--accent); }
.ak-lb-view { max-height: calc(94vh - 150px); overflow: auto; overscroll-behavior: contain; }
.ak-lb-in { position: relative; display: block; cursor: zoom-in; }
.ak-lb-in img { display: block; width: 100%; height: auto; }
.ak-lb-view.is-zoomed .ak-lb-in { width: 220%; cursor: zoom-out; }
.ak-lb-notes { margin: 0; padding: 10px 16px 14px; border-top: 1px solid var(--rule); }

/* This week's threats */
.ak-adv { margin: 4px 0 26px; }
.ak-verdicts { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; }
.ak-verdicts li { display: grid; gap: 6px 16px; align-items: start; padding: 14px 16px; border-radius: 14px; background: var(--surface); border: 1px solid var(--rule); color: var(--ink-2); font-size: 16px; }
@media (min-width: 640px) { .ak-verdicts li { grid-template-columns: 11.5em minmax(0, 1fr); } }
.ak-v { justify-self: start; padding: 3px 10px; border-radius: 999px; font-size: 13px; font-weight: 750; white-space: nowrap; }
.ak-v-bad { color: var(--bad); background: color-mix(in srgb, var(--bad) 12%, transparent); }
.ak-v-warn { color: color-mix(in srgb, var(--warn) 75%, var(--ink)); background: color-mix(in srgb, var(--warn) 14%, transparent); }

/* The end band */
.ak-cta-sec { padding-top: 16px; }
.ak-cta { position: relative; isolation: isolate; overflow: hidden; padding: 40px 20px; border-radius: 28px; background: var(--surface); border: 1px solid var(--rule); box-shadow: var(--tile-shadow); }
@media (min-width: 720px) { .ak-cta { padding: 56px 48px; } }
.ak-cta h2 { max-width: 820px; font-size: clamp(28px, 4vw, 44px); }
.ak-cta-grid { display: grid; gap: 14px; margin-top: 26px; }
@media (min-width: 880px) { .ak-cta-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ak-cta-item { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 20px; border-radius: 18px; border: 1px solid var(--rule); background: color-mix(in srgb, var(--surface) 86%, transparent); }
.ak-cta-item h3 { margin: 0; font: 750 20px/1.2 var(--round); }
.ak-cta-item p { margin: 0; color: var(--ink-2); font-size: 15.5px; }
.ak-cta-item .btn { min-height: 46px; }
.ak-url { display: flex; width: 100%; }
.ak-url code { flex: 0 1 auto; min-width: 0; font-size: 12.5px; }
.ak-gh { margin: 24px 0 0; color: var(--ink-2); font-size: 15px; }

@media (prefers-reduced-motion: reduce) {
  .ak-tab, .ak-kc, .ak-got li, .ak-scale li, .ak-checkcard, .ak-kc-stamp { transition: none; }
}
