/*
 * fk-screens.css
 * FisherKing product screen mockups for oronokolabs.com
 * Version 1.4 - 17Sep2026
 * 1.4: fisherking.html intro block (no image hero)
 * 1.3: "Why now" CISA block and closing band
 * 1.2: styles for the interactive demo link and caption links
 * 1.1: adds .fk-product section styles (capabilities, how it works, trust, CTA)
 * Scoped under .fks so nothing leaks into the Day template.
 * CSS-only tabs (radio inputs), no JavaScript, no external assets,
 * so it passes the CloudFront CSP unchanged.
 */

.fks {
  --fk-navy: #1f2463;
  --fk-navy-deep: #16183f;
  --fk-indigo: #2e3585;
  --fk-panel: #e8eaf6;
  --fk-field: #f4f5fc;
  --fk-ink: #1b1d3a;
  --fk-ink-2: #5a5d7a;
  --fk-line: #d9dcef;
  --fk-good: #1e9e55;
  --fk-warn: #c98a00;
  --fk-high: #d9622b;
  --fk-crit: #c93434;
  --fk-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-family: var(--fk-mono);
  color: var(--fk-ink);
  max-width: 1140px;
  margin: 0 auto;
  padding: 8px 12px 24px;
}
.fks *, .fks *::before, .fks *::after { box-sizing: border-box; }

.fks-intro { max-width: 68ch; margin: 0 0 22px; font-family: var(--fks-host-font, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif); }
.fks-intro h3 { font-size: 1.5rem; margin: 0 0 8px; color: var(--fk-navy); }
.fks-intro p { margin: 0; line-height: 1.6; color: var(--fk-ink-2); font-size: .95rem; }

/* tabs */
.fks > input[type="radio"] { position: absolute; opacity: 0; pointer-events: none; }
.fks-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.fks-tabs label {
  cursor: pointer; font-size: .85rem; padding: 8px 14px; border-radius: 4px;
  background: var(--fk-field); color: var(--fk-navy); border: 1px solid var(--fk-line);
}
.fks-tabs label:hover { background: var(--fk-panel); }
#fks-t1:checked ~ .fks-tabs label[for="fks-t1"],
#fks-t2:checked ~ .fks-tabs label[for="fks-t2"],
#fks-t3:checked ~ .fks-tabs label[for="fks-t3"] {
  background: var(--fk-indigo); color: #fff; border-color: var(--fk-indigo);
}
#fks-t1:focus-visible ~ .fks-tabs label[for="fks-t1"],
#fks-t2:focus-visible ~ .fks-tabs label[for="fks-t2"],
#fks-t3:focus-visible ~ .fks-tabs label[for="fks-t3"] {
  outline: 2px solid var(--fk-high); outline-offset: 2px;
}
.fks-screen { display: none; }
#fks-t1:checked ~ .fks-stage .fks-s1,
#fks-t2:checked ~ .fks-stage .fks-s2,
#fks-t3:checked ~ .fks-stage .fks-s3 { display: block; }

.fks-caption { font-family: var(--fks-host-font, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif); font-size: .85rem; color: var(--fk-ink-2); margin: 12px 2px 0; line-height: 1.5; max-width: 72ch; }

/* browser frame */
.fks-window {
  border-radius: 10px; overflow: hidden; background: #fff;
  border: 1px solid #c9ccdf; box-shadow: 0 18px 40px -18px rgba(22, 24, 63, .45);
}
.fks-bar {
  display: flex; align-items: center; gap: 10px; padding: 8px 12px;
  background: #eceef3; border-bottom: 1px solid #d6d8e2;
}
.fks-dots { display: flex; gap: 6px; }
.fks-dots i { width: 10px; height: 10px; border-radius: 50%; background: #c8cad4; display: block; }
.fks-url {
  flex: 1; font-size: .72rem; color: #6b6e80; background: #fff;
  border-radius: 5px; padding: 4px 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* app shell */
.fks-app { display: grid; grid-template-columns: 196px 1fr; min-height: 470px; }
.fks-side {
  background: linear-gradient(180deg, var(--fk-indigo) 0%, var(--fk-navy-deep) 100%);
  color: #dfe2f7; padding: 16px 12px; font-size: .74rem;
}
.fks-brand { font-weight: 700; color: #fff; font-size: .95rem; }
.fks-brand small { display: block; font-size: .56rem; font-weight: 600; letter-spacing: .04em; color: #bfc4ea; margin-top: 1px; }
.fks-cov { margin: 14px 0; padding: 10px; border: 1px solid rgba(255,255,255,.14); border-radius: 5px; background: rgba(255,255,255,.04); }
.fks-cov b { display: block; color: #fff; font-size: .95rem; }
.fks-cov span { display: block; font-size: .62rem; color: #aab0dd; margin-bottom: 7px; }
.fks-cov span:last-child { margin-bottom: 0; }
.fks-nav { list-style: none; margin: 0; padding: 0; }
.fks-nav li { padding: 6px 2px; }
.fks-nav li.on { color: #fff; font-weight: 700; }
.fks-nav li.sub { padding-left: 12px; font-size: .68rem; color: #aab0dd; }
.fks-nav li.sub.on { color: #fff; }

.fks-main { display: flex; flex-direction: column; min-width: 0; }
.fks-top {
  height: 36px; background: linear-gradient(90deg, var(--fk-indigo), var(--fk-navy-deep));
  display: flex; align-items: center; justify-content: flex-end; padding: 0 14px;
  font-size: .66rem; color: #dfe2f7; gap: 8px;
}
.fks-role { background: #3ecf8e; color: #0c3b25; padding: 1px 5px; border-radius: 3px; font-size: .58rem; font-weight: 700; }
.fks-body { padding: 16px 18px 20px; overflow-x: auto; }
.fks-body h4 { margin: 0; font-size: 1rem; color: var(--fk-navy); }
.fks-sub { font-size: .7rem; color: var(--fk-ink-2); margin: 3px 0 14px; }

/* dashboard */
.fks-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 14px; }
.fks-tile { background: var(--fk-field); border: 1px solid var(--fk-line); border-radius: 5px; padding: 10px 12px; }
.fks-tile span { display: block; font-size: .64rem; color: var(--fk-ink-2); }
.fks-tile b { display: block; font-size: 1.35rem; margin-top: 4px; }
.fks-tile.dj { background: var(--fk-navy); border-color: var(--fk-navy); color: #fff; }
.fks-tile.dj span { color: #c6cbf0; }
.fks-tile.dj b { color: #ffb38a; }

.fks-venn { display: grid; grid-template-columns: 1.1fr 1fr; gap: 12px; }
.fks-card { border: 1px solid var(--fk-line); border-radius: 5px; padding: 12px; min-width: 0; overflow-x: auto; }
.fks-card h5 { margin: 0 0 10px; font-size: .74rem; color: var(--fk-navy); }
.fks-bars { display: grid; gap: 8px; }
.fks-brow { display: grid; grid-template-columns: 92px 1fr 34px; gap: 8px; align-items: center; font-size: .66rem; }
.fks-track { height: 10px; background: var(--fk-field); border-radius: 2px; overflow: hidden; }
.fks-fill { height: 100%; border-radius: 2px; }
.fks-brow em { font-style: normal; text-align: right; font-variant-numeric: tabular-nums; }

/* tables */
.fks table { width: 100%; border-collapse: collapse; font-size: .66rem; }
.fks th { text-align: left; font-weight: 600; color: var(--fk-ink-2); padding: 6px 8px; background: var(--fk-panel); white-space: nowrap; }
.fks td { padding: 6px 8px; border-bottom: 1px solid var(--fk-line); white-space: nowrap; }
.fks tr.member td:first-child { padding-left: 22px; color: var(--fk-ink-2); }
.fks-pill { display: inline-block; padding: 1px 6px; border-radius: 3px; font-size: .6rem; font-weight: 700; }
.p-crit { background: #f7dcdc; color: var(--fk-crit); }
.p-high { background: #fae3d6; color: #a8461a; }
.p-warn { background: #f7ecd0; color: #8a5f00; }
.p-good { background: #d9f1e3; color: #17774a; }
.p-mute { background: #e7e8ef; color: #5a5d7a; }
.fks-btn { display: inline-block; background: var(--fk-indigo); color: #fff; padding: 2px 8px; border-radius: 3px; font-size: .6rem; }
.fks-btn.ghost { background: transparent; color: var(--fk-ink-2); border: 1px solid var(--fk-line); }

/* asset detail */
.fks-detail { display: grid; grid-template-columns: 1fr 1.3fr; gap: 12px; }
.fks-facts { display: grid; grid-template-columns: auto 1fr; gap: 5px 12px; font-size: .66rem; }
.fks-facts dt { color: var(--fk-ink-2); }
.fks-facts dd { margin: 0; }
.fks-life { position: relative; margin: 26px 2px 6px; height: 18px; }
.fks-life .rail { position: absolute; top: 6px; left: 0; right: 0; height: 6px; border-radius: 3px;
  background: linear-gradient(90deg, var(--fk-good) 0 16.7%, var(--fk-warn) 16.7% 50%, var(--fk-crit) 50% 83.3%, #8b8ea6 83.3% 100%); }
.fks-life .tick { position: absolute; top: 1px; width: 2px; height: 16px; background: var(--fk-ink); transform: translateX(-50%); }
.fks-life .now { position: absolute; top: 0; width: 12px; height: 18px; border-radius: 2px; background: var(--fk-navy); border: 2px solid #fff; transform: translateX(-50%); }
.fks-life .today { position: absolute; top: -18px; font-size: .58rem; font-weight: 700; color: var(--fk-navy); transform: translateX(-50%); }
.fks-miles { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; font-size: .6rem; color: var(--fk-ink-2); }
.fks-miles li { text-align: center; }
.fks-miles b { display: block; color: var(--fk-ink); font-size: .62rem; }
.fks-alert { margin-top: 12px; padding: 8px 10px; border-left: 3px solid var(--fk-crit); background: #fbeeee; font-size: .66rem; line-height: 1.5; }

@media (max-width: 860px) {
  .fks-app { grid-template-columns: 1fr; }
  .fks-side { display: none; }
  .fks-tiles { grid-template-columns: repeat(2, 1fr); }
  .fks-venn, .fks-detail { grid-template-columns: 1fr; }
}

/* utility classes (no inline styles, CSP-safe) */
.b-crit { background: var(--fk-crit); } .b-high { background: var(--fk-high); } .b-warn { background: var(--fk-warn); }
.w100 { width: 100%; } .w38 { width: 38%; } .w28 { width: 28%; } .w17 { width: 17%; } .w14 { width: 14%; }
.fks-life .m-eos { left: 16.7%; } .fks-life .m-eosw { left: 50%; } .fks-life .m-ldos { left: 83.3%; } .fks-life .m-now { left: 71%; }
.fks-card h5.fks-gap { margin-top: 16px; }
.fks td.fks-more { color: var(--fk-ink-2); }
.fks-caption.fks-note { font-size: .75rem; }

/* FisherKing product section around the screens (index.html #fisherking) */
.fk-product .section-title p { max-width: 760px; margin-left: auto; margin-right: auto; }
.fk-cap { height: 100%; padding: 22px 20px; background: #fff; border-top: 3px solid #2e3585; }
.fk-cap i { font-size: 28px; color: #2e3585; }
.fk-cap h4 { font-size: 1.05rem; font-weight: 700; margin: 12px 0 8px; }
.fk-cap p { font-size: .92rem; margin: 0; line-height: 1.6; }
.fk-how { max-width: 760px; margin: 48px 0 36px; }
.fk-how h3, .fk-trust h3 { font-size: 1.35rem; font-weight: 700; margin-bottom: 14px; }
.fk-how ol { padding-left: 1.2rem; margin: 0; }
.fk-how li { margin-bottom: 10px; line-height: 1.6; }
.fk-trust { margin-top: 40px; align-items: center; }
.fk-trust p { max-width: 68ch; line-height: 1.65; margin: 0; }
.fk-cta { text-align: right; }
.fk-cta .btn-get-started {
  display: inline-block; padding: 12px 30px; background: #2e3585; color: #fff;
  font-weight: 600; border-radius: 4px; transition: background .2s;
}
.fk-cta .btn-get-started:hover, .fk-cta .btn-get-started:focus-visible { background: #1f2463; color: #fff; }
@media (max-width: 991px) { .fk-cta { text-align: left; } }

/* links into the interactive demo */
.fks-intro .fks-open-wrap { margin-top: 14px; }
.fks-open {
  display: inline-block; padding: 10px 22px; border-radius: 4px; background: #2e3585;
  color: #fff; font-weight: 600; text-decoration: none;
}
.fks-open:hover, .fks-open:focus-visible { background: #1f2463; color: #fff; }
.fks-caption a { color: #2e3585; font-weight: 600; white-space: nowrap; }
.fk-cta .fk-try { background: transparent; color: #2e3585; border: 1px solid #2e3585; margin: 0 6px 8px 0; }
.fk-cta .fk-try:hover, .fk-cta .fk-try:focus-visible { background: #e8eaf6; color: #1f2463; }

/* 1.3: "Why now" (CISA BOD 26-02) block and closing band */
.fk-why {
  background: #1f2463; color: #dfe2f7; border-radius: 8px;
  padding: 32px 32px 26px; margin: 8px 0 44px;
}
.fk-why-head { max-width: 76ch; }
.fk-why h3 { color: #fff; font-size: 1.4rem; font-weight: 700; margin: 0 0 10px; }
.fk-why-head p { line-height: 1.65; margin: 0; }
.fk-why em { font-style: italic; color: #fff; }
.fk-why-steps {
  list-style: none; margin: 26px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  border-top: 2px solid rgba(255,255,255,.2);
}
.fk-why-steps li { padding: 14px 18px 0 0; line-height: 1.5; font-size: .92rem; position: relative; }
.fk-why-steps li::before {
  content: ""; position: absolute; top: -7px; left: 0; width: 12px; height: 12px;
  border-radius: 50%; background: #ffb38a; border: 2px solid #1f2463;
}
.fk-why-steps b { display: block; color: #fff; font-size: 1.05rem; margin-bottom: 4px; }
.fk-why-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 28px; }
.fk-why-stats div { display: flex; gap: 14px; align-items: baseline; }
.fk-why-stats b { color: #ffb38a; font-size: 2.2rem; font-weight: 700; line-height: 1; flex: none; }
.fk-why-stats span { line-height: 1.5; font-size: .92rem; }
.fk-why-note { margin: 24px 0 0; font-size: .8rem; color: #aab0dd; line-height: 1.55; }
.fk-why-note a { color: #dfe2f7; text-decoration: underline; }
.fk-band {
  margin: 36px 0 0; padding: 18px 24px; border-left: 4px solid #2e3585;
  background: #fff; font-size: 1.15rem; line-height: 1.55; max-width: 72ch;
}
@media (max-width: 991px) {
  .fk-why { padding: 24px 20px; }
  .fk-why-steps { grid-template-columns: 1fr 1fr; row-gap: 18px; }
  .fk-why-stats { grid-template-columns: 1fr; }
}
@media (max-width: 575px) {
  .fk-why-steps { grid-template-columns: 1fr; border-top: none; }
  .fk-why-steps li { padding: 0 0 0 22px; }
  .fk-why-steps li::before { top: 5px; }
}

/* 1.4: fisherking.html intro (replaces the image hero) */
.fk-intro {
  background: linear-gradient(135deg, #2e3585 0%, #16183f 100%);
  color: #dfe2f7; padding: 170px 0 70px;
}
.fk-intro h1 { color: #fff; font-size: 3rem; font-weight: 700; margin: 0 0 12px; }
.fk-intro-lead { color: #fff; font-size: 1.45rem; line-height: 1.4; margin: 0 0 18px; max-width: 30ch; }
.fk-intro p { line-height: 1.7; max-width: 62ch; }
.fk-intro-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.fk-btn {
  display: inline-block; padding: 12px 26px; border-radius: 4px; font-weight: 600;
  background: #fff; color: #1f2463; border: 1px solid #fff; text-decoration: none;
}
.fk-btn:hover, .fk-btn:focus-visible { background: #e8eaf6; color: #1f2463; }
.fk-btn.ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.fk-btn.ghost:hover, .fk-btn.ghost:focus-visible { background: rgba(255,255,255,.1); color: #fff; }
.fk-venn {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16);
  border-radius: 8px; padding: 22px 24px;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.fk-venn-row { display: flex; justify-content: space-between; align-items: baseline; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.fk-venn-row span { font-size: .85rem; }
.fk-venn-row b { color: #fff; font-size: 1.6rem; }
.fk-venn-row.dj { border-bottom: none; margin-top: 6px; padding: 14px 16px; border-radius: 6px; background: #1f2463; box-shadow: inset 0 0 0 1px #ffb38a; }
.fk-venn-row.dj span { color: #fff; font-weight: 700; }
.fk-venn-row.dj b { color: #ffb38a; font-size: 2rem; }
.fk-venn p { margin: 12px 0 0; font-size: .72rem; color: #aab0dd; }
#fk-intro + .fk-product { padding-top: 50px; }
@media (max-width: 991px) {
  .fk-intro { padding: 130px 0 50px; }
  .fk-intro h1 { font-size: 2.3rem; }
  .fk-intro-lead { font-size: 1.2rem; }
}
