/* Computer Doctor: Lab: themed to match hattiesburgcomputerdoctor.com
   ("dark ops": navy, cyan/green glow, red call-to-action, Outfit + JetBrains
   Mono). Tokens copied from the site's assets/css/main.css. Dark only, like
   the site. */
:root {
  --bg: #0b1220;
  --bg-2: #0e1729;
  --panel: #101c33;
  --card: #12203a;
  --line: #21375c;
  --text: #dce7f5;
  --muted: #90a6c4;
  --white: #ffffff;
  --cyan: #38d5ee;
  --cyan-dim: #1d9db3;
  --green: #3fe083;
  --red: #f0524c;
  --red-hover: #d43c37;
  --amber: #f5b944;
  --cyan-soft: rgba(56, 213, 238, 0.09);
  --green-soft: rgba(63, 224, 131, 0.09);
  --red-soft: rgba(240, 82, 76, 0.11);
  --amber-soft: rgba(245, 185, 68, 0.11);
  --font-head: "Outfit", "Segoe UI", system-ui, sans-serif;
  --font-body: "Outfit", "Segoe UI", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", Consolas, "Courier New", monospace;
  --radius: 12px;
  --glow-cyan: 0 0 18px rgba(56, 213, 238, 0.18);
  --glow-red: 0 0 22px rgba(240, 82, 76, 0.35);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text);
  background:
    radial-gradient(1100px 500px at 80% -10%, rgba(56, 213, 238, 0.07), transparent 60%),
    radial-gradient(900px 500px at -10% 30%, rgba(63, 224, 131, 0.05), transparent 60%),
    var(--bg);
  min-height: 100vh;
}
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.01em; color: var(--white); }
h1 { font-size: clamp(1.8rem, 4.5vw, 2.4rem); font-weight: 800; }
h2 { font-size: 1.4rem; font-weight: 700; }
h3 { font-size: 1.12rem; font-weight: 700; margin-top: 1.4em; }
h4 { font-size: 1rem; margin: 1.3em 0 .4em; color: var(--cyan); }
p { margin: 0 0 .9em; }
strong, b { color: var(--white); }
a { color: var(--cyan); }
a:hover { color: #7fe6f6; }
code, .mono { font-family: var(--font-mono); }
code { font-size: .88em; overflow-wrap: anywhere; color: #bfefff; }
button { font: inherit; color: inherit; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.muted { color: var(--muted); }
.fine { color: var(--muted); font-size: .88rem; }
.lede { font-size: 1.12rem; color: var(--muted); max-width: 44em; }
.accent { color: var(--cyan); text-shadow: 0 0 24px rgba(56, 213, 238, 0.45); }
.kicker, .eyebrow { font-family: var(--font-mono); font-size: .8rem; letter-spacing: .12em; color: var(--cyan); margin: 0 0 .5rem; text-transform: uppercase; }
.eyebrow::before { content: "// "; }
.err { background: var(--red-soft); color: #ffb3af; border: 1px solid rgba(240, 82, 76, .45); padding: .8em 1em; border-radius: 10px; font-weight: 600; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; }

/* ===== Header (same build as the site's) ===== */
.site-header { background: rgba(11, 18, 32, 0.85); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 1.25rem; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding-top: .6rem; padding-bottom: .6rem; }
.brand { display: flex; align-items: center; gap: .65rem; background: none; border: 0; padding: 0; cursor: pointer; color: var(--text); text-align: left; }
.brand-mark { width: 42px; height: 42px; flex: none; filter: drop-shadow(0 0 6px rgba(56, 213, 238, 0.45)); }
.brand-text { font-family: var(--font-head); font-weight: 700; font-size: 1rem; line-height: 1.15; letter-spacing: .01em; white-space: nowrap; }
.site-nav { display: flex; align-items: center; gap: 1.1rem; }
.navlink { background: none; border: 0; padding: .3rem 0; cursor: pointer; color: var(--muted); font-weight: 600; font-size: .96rem; border-bottom: 2px solid transparent; white-space: nowrap; text-decoration: none; font-family: inherit; }
.navlink:hover { color: var(--text); }
.btn-cta { background: var(--red); color: #fff; border: 0; border-radius: 8px; font-family: var(--font-head); font-weight: 700; padding: .45rem 1.05rem; box-shadow: 0 0 16px rgba(240, 82, 76, 0.35); cursor: pointer; white-space: nowrap; }
.btn-cta:hover { background: var(--red-hover); }
.linkbtn { background: none; border: 0; padding: 4px 2px; color: var(--cyan); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

/* ===== Step rail ===== */
.rail-wrap { border-bottom: 1px solid var(--line); background: var(--bg-2); }
.rail { display: flex; gap: 6px; overflow-x: auto; max-width: 1080px; margin: 0 auto; padding: 10px 1.25rem; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.rail-step { flex: 0 0 auto; display: flex; align-items: center; gap: 7px; background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px 4px 4px; cursor: pointer; font-size: .85rem; color: var(--muted); }
.rail-step:hover:not(:disabled) { border-color: var(--cyan-dim); color: var(--text); }
.rail-step:disabled { opacity: .4; cursor: default; }
.rail-n { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--panel); font-family: var(--font-mono); font-weight: 600; font-size: .76rem; color: var(--muted); }
.rail-step.past .rail-n { background: var(--green-soft); color: var(--green); }
.rail-step.on { border-color: var(--cyan); color: var(--white); font-weight: 600; box-shadow: var(--glow-cyan); }
.rail-step.on .rail-n { background: var(--cyan); color: var(--bg); }
.rail:empty { display: none; }

main { max-width: 1080px; margin: 0 auto; padding: 1.5rem 1.25rem 2rem; outline: none; }
main > section { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(18px, 4vw, 34px); margin-bottom: 18px; box-shadow: 0 18px 50px rgba(0, 0, 0, .25); }
main > section.hero { background-color: transparent; background-image: linear-gradient(rgba(56, 213, 238, 0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(56, 213, 238, 0.045) 1px, transparent 1px); background-size: 44px 44px; box-shadow: none; }

/* ===== Buttons ===== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; background: var(--red); color: #fff; border: 2px solid transparent; border-radius: 8px; padding: .7rem 1.5rem; font-family: var(--font-head); font-weight: 700; cursor: pointer; text-decoration: none; min-height: 46px; box-shadow: var(--glow-red); }
.btn:hover { background: var(--red-hover); color: #fff; }
.btn:disabled { opacity: .45; cursor: default; box-shadow: none; }
.btn-big { font-size: 1.12rem; padding: .85rem 2.1rem; min-height: 54px; }
.btn-ghost { background: transparent; border-color: var(--cyan-dim); color: var(--cyan); box-shadow: none; }
.btn-ghost:hover { background: rgba(56, 213, 238, 0.08); border-color: var(--cyan); color: var(--cyan); }
.btn-small { padding: .45rem 1rem; min-height: 38px; font-size: .92rem; }
.iconbtn { background: var(--card); border: 1px solid var(--line); border-radius: 10px; width: 44px; cursor: pointer; }
.iconbtn:hover { border-color: var(--cyan-dim); }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.btnrow { display: flex; flex-wrap: wrap; gap: 8px; margin: .7em 0; }

/* ===== Home hero ===== */
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 2.5rem; align-items: center; }
.hero h1 { font-size: clamp(2.1rem, 4.8vw, 3.2rem); line-height: 1.1; margin-bottom: .6rem; }
.ekg { width: min(320px, 80%); height: 36px; margin: .2rem 0 .7rem; overflow: visible; display: block; }
.ekg polyline { filter: drop-shadow(0 0 5px rgba(63, 224, 131, 0.7)); stroke-dasharray: 600; stroke-dashoffset: 600; animation: ekg-draw 3.2s linear infinite; }
@keyframes ekg-draw { 0% { stroke-dashoffset: 600; } 70% { stroke-dashoffset: 0; opacity: 1; } 90% { opacity: .25; } 100% { stroke-dashoffset: 0; opacity: 0; } }
.hero-sub { font-size: 1.14rem; color: var(--muted); max-width: 34rem; }
.hero-note { font-family: var(--font-mono); font-size: .9rem; color: var(--green); margin: 0 0 1.4rem; }
.rule0 { font-family: var(--font-mono); font-size: .9rem; background: var(--red-soft); border: 1px solid rgba(240, 82, 76, .35); border-left: 3px solid var(--red); color: #ffd2cf; padding: .65em 1em; border-radius: 0 10px 10px 0; margin: 1em 0 1.3em; }
.rule0 b { color: var(--red); }

/* terminal, as on the site */
.terminal { background: #0a101d; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 18px 50px rgba(0, 0, 0, 0.5), var(--glow-cyan); overflow: hidden; font-size: .88rem; }
.terminal-bar { display: flex; align-items: center; gap: 7px; background: #131e33; border-bottom: 1px solid var(--line); padding: .55rem .9rem; }
.terminal-bar span { width: 11px; height: 11px; border-radius: 50%; background: #2a3c5e; }
.terminal-bar span:nth-child(1) { background: var(--red); }
.terminal-bar span:nth-child(2) { background: var(--amber); }
.terminal-bar span:nth-child(3) { background: var(--green); }
.terminal-bar em { font-style: normal; color: var(--muted); font-size: .78rem; margin-left: .5rem; font-family: var(--font-mono); }
.terminal-body { padding: 1rem 1.2rem 1.2rem; font-family: var(--font-mono); }
.terminal-body p { margin: .35rem 0; white-space: nowrap; opacity: 0; animation: t-line .01s forwards; }
.terminal-body p:nth-child(1) { animation-delay: .3s; }
.terminal-body p:nth-child(2) { animation-delay: .9s; }
.terminal-body p:nth-child(3) { animation-delay: 1.5s; }
.terminal-body p:nth-child(4) { animation-delay: 1.9s; }
.terminal-body p:nth-child(5) { animation-delay: 2.3s; }
.terminal-body p:nth-child(6) { animation-delay: 2.7s; }
.terminal-body p:nth-child(7) { animation-delay: 3.3s; }
.terminal-body p:nth-child(8) { animation-delay: 3.7s; }
.terminal-body p:nth-child(9) { animation-delay: 4.3s; }
@keyframes t-line { to { opacity: 1; } }
.t-prompt { color: var(--cyan); }
.t-ok { color: var(--green); }
.t-dim { color: var(--muted); }
.t-you { color: var(--red); font-weight: 600; }
.cursor { color: var(--cyan); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* ===== Privacy promise ===== */
main > section.privacy { background: var(--bg-2); border-color: rgba(63, 224, 131, .35); }
.privacy h2 { margin-bottom: .9rem; }
.privacy-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 12px; }
.privacy-grid li { display: flex; gap: 12px; background: var(--card); border: 1px solid var(--line); border-left: 3px solid var(--green); border-radius: 0 var(--radius) var(--radius) 0; padding: 12px 14px; }
.privacy-grid p { margin: .2em 0 0; color: var(--muted); font-size: .94rem; line-height: 1.5; }
.privacy-i { font-size: 1.35rem; flex: 0 0 auto; }
.privacy-line { font-size: .95rem; color: var(--green); background: var(--green-soft); border: 1px solid rgba(63, 224, 131, .3); border-radius: 10px; padding: .55em .9em; }

/* ===== Tiles (site "card" style) ===== */
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 12px; margin: 1em 0; }
.tiles-list { grid-template-columns: 1fr; }
.tile { position: relative; overflow: hidden; display: flex; align-items: center; gap: 12px; text-align: left; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; cursor: pointer; min-height: 56px; color: var(--text); transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease; }
.tile::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 2px; background: linear-gradient(90deg, var(--cyan), var(--green)); opacity: 0; transition: opacity .15s ease; }
.tile:hover { border-color: var(--cyan-dim); box-shadow: var(--glow-cyan); }
.tile:hover::before, .tile.on::before { opacity: 1; }
.tile.on { border-color: var(--cyan); background: var(--cyan-soft); font-weight: 600; color: var(--white); }
.tile-i { font-size: 1.5rem; flex: 0 0 auto; }
.tile-big { flex-direction: column; align-items: flex-start; gap: 4px; min-height: 124px; }
.tile-big:hover { transform: translateY(-4px); }
.tile-big b { font-size: 1.12rem; }
.tile-big .tile-i { font-size: 2rem; }
.tile-sub { color: var(--muted); font-size: .92rem; }

.urgent { background: var(--red-soft); border: 1px solid rgba(240, 82, 76, .5); border-left: 3px solid var(--red); border-radius: 0 var(--radius) var(--radius) 0; padding: 16px 20px; margin-top: 1.2em; }
.urgent h2 { color: var(--red); }
.urgent-block h3 { margin-top: .8em; }
.urgent ol { margin: 0; padding-left: 1.3em; }
.urgent li { margin: .3em 0; }

/* ===== Bring it in ===== */
.tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: .5em 0 0; }
.tab { background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; cursor: pointer; font-size: .9rem; color: var(--muted); }
.tab:hover { color: var(--text); border-color: var(--cyan-dim); }
.tab.on { background: var(--cyan); color: var(--bg); border-color: var(--cyan); font-weight: 700; }
.howto { background: var(--card); border: 1px solid var(--line); border-left: 3px solid var(--green); border-radius: 0 var(--radius) var(--radius) 0; padding: 12px 18px; margin: 10px 0 16px; }
.howto ol { margin: .3em 0; padding-left: 1.3em; }
.drop { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; border: 2px dashed var(--cyan-dim); border-radius: 16px; padding: 32px 16px; cursor: pointer; background: rgba(10, 16, 29, .6); transition: border-color .15s, box-shadow .15s, background .15s; }
.drop:hover, .drop.over { border-color: var(--cyan); background: var(--cyan-soft); box-shadow: var(--glow-cyan); }
.drop-i { font-size: 2.4rem; }
.paste { margin-top: 14px; }
.paste summary { cursor: pointer; color: var(--cyan); }
textarea, input[type=text], input[type=email] { width: 100%; font: inherit; color: var(--text); background: #0a101d; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
textarea:focus, input:focus { border-color: var(--cyan-dim); outline: none; box-shadow: var(--glow-cyan); }
textarea { font-family: var(--font-mono); font-size: .85rem; resize: vertical; }
::placeholder { color: #5f7392; }
.field { display: block; margin: 0 0 14px; border: 0; padding: 0; }
.field > span, .field > legend { display: block; font-weight: 600; margin-bottom: 6px; color: var(--white); }
.radio { display: flex; gap: 8px; align-items: center; padding: 6px 0; cursor: pointer; }
input[type=radio], input[type=checkbox] { accent-color: var(--green); }
.busy { display: flex; align-items: center; gap: 12px; padding: 14px; background: var(--cyan-soft); border: 1px solid var(--line); border-radius: 10px; margin: 10px 0; font-family: var(--font-mono); font-size: .9rem; }
.spin { width: 20px; height: 20px; border: 3px solid var(--cyan); border-right-color: transparent; border-radius: 50%; animation: spin .8s linear infinite; flex: 0 0 auto; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ===== Verdict ===== */
.verdict { display: flex; gap: 16px; align-items: flex-start; border-radius: var(--radius); padding: 20px; margin: 12px 0 8px; border: 1px solid var(--line); background: var(--card); }
.verdict-i { font-size: 2.6rem; line-height: 1; }
.verdict h2 { font-size: 1.55rem; margin: .25em 0 .3em; }
.verdict p { margin: 0 0 .4em; }
.verdict .headline { font-weight: 700; color: var(--white); }
.verdict-serious { border-color: rgba(240, 82, 76, .6); background: linear-gradient(180deg, var(--red-soft), transparent 140%), var(--card); box-shadow: 0 0 26px rgba(240, 82, 76, .18); }
.verdict-redflag, .verdict-fix { border-color: rgba(245, 185, 68, .55); background: linear-gradient(180deg, var(--amber-soft), transparent 140%), var(--card); }
.verdict-need, .verdict-unclear { border-color: var(--cyan-dim); background: linear-gradient(180deg, var(--cyan-soft), transparent 140%), var(--card); }
.todo { padding-left: 1.3em; }
.todo li { margin: .3em 0; font-weight: 500; }
.todo li::marker { color: var(--green); }

.pill { display: inline-block; font-family: var(--font-mono); font-size: .72rem; font-weight: 600; letter-spacing: .04em; padding: 2px 9px; border-radius: 999px; background: var(--card); color: var(--muted); border: 1px solid var(--line); vertical-align: middle; white-space: nowrap; text-transform: uppercase; }
.pill-danger { background: var(--red-soft); color: #ff8f8a; border-color: rgba(240, 82, 76, .45); }
.pill-warn { background: var(--amber-soft); color: var(--amber); border-color: rgba(245, 185, 68, .45); }
.pill-good { background: var(--green-soft); color: var(--green); border-color: rgba(63, 224, 131, .45); }
.pill-info { background: var(--cyan-soft); color: var(--cyan); border-color: rgba(56, 213, 238, .4); }
.pill-key { background: var(--red); color: #fff; border-color: var(--red); }
.pill-role { color: var(--text); }

.sigs { list-style: none; padding: 0; margin: 0 0 .6em; }
.sig { display: flex; gap: 10px; padding: 10px 14px; border-radius: 0 10px 10px 0; margin-bottom: 6px; background: var(--card); border-left: 3px solid var(--line); }
.sig p { margin: .2em 0 0; color: var(--muted); font-size: .95rem; }
.sig-i { flex: 0 0 auto; }
.sig-danger { border-left-color: var(--red); background: linear-gradient(90deg, var(--red-soft), var(--card) 60%); }
.sig-warn { border-left-color: var(--amber); background: linear-gradient(90deg, var(--amber-soft), var(--card) 60%); }
.sig-good { border-left-color: var(--green); background: linear-gradient(90deg, var(--green-soft), var(--card) 60%); }
.sig-info { border-left-color: var(--cyan-dim); }
.sigs-small .sig { padding: 7px 12px; font-size: .95rem; }

details.nerd { margin-top: 20px; border-top: 1px dashed var(--line); padding-top: 14px; }
details.nerd > summary { cursor: pointer; font-weight: 600; color: var(--cyan); }
.kv { display: grid; grid-template-columns: minmax(130px, max-content) 1fr; gap: 4px 16px; margin: .4em 0; font-size: .93rem; }
.kv dt { color: var(--muted); font-family: var(--font-mono); font-size: .82rem; padding-top: .15em; }
.kv dd { margin: 0; overflow-wrap: anywhere; }
.file { padding: 10px 0; border-bottom: 1px solid var(--line); }
.links { padding-left: 1.1em; font-size: .92rem; }
.links > li { margin: .5em 0; }
.links ul { padding-left: 1.1em; margin: .2em 0; color: var(--muted); }
.lf-danger { color: #ff8f8a; }
.lf-warn { color: var(--amber); }
pre.body { white-space: pre-wrap; overflow-wrap: anywhere; background: #0a101d; border: 1px solid var(--line); padding: 12px; border-radius: 10px; font-family: var(--font-mono); font-size: .82rem; max-height: 340px; overflow: auto; color: var(--muted); }

/* ===== Suspects ===== */
.suspects { display: grid; gap: 12px; margin-top: 12px; }
.suspect { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 18px; }
.suspect header { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 6px; }
.host { font-size: 1.05rem; font-weight: 600; color: var(--cyan); }
.state-note { font-weight: 600; margin: .2em 0 .6em; }
.state-good { color: var(--green); }
.state-warn { color: var(--amber); }
.state-info { color: var(--text); }

/* ===== Report pile ===== */
.callout { background: var(--cyan-soft); border: 1px solid rgba(56, 213, 238, .35); border-radius: 10px; padding: 12px 14px; margin: 10px 0; }
.progress { position: relative; height: 34px; background: #0a101d; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; margin: 14px 0 8px; }
.progress .bar { position: absolute; inset: 0 auto 0 0; background: linear-gradient(90deg, rgba(63, 224, 131, .35), rgba(63, 224, 131, .6)); box-shadow: 0 0 16px rgba(63, 224, 131, .4); transition: width .3s; }
.progress span { position: relative; display: block; text-align: center; line-height: 32px; font-family: var(--font-mono); font-weight: 600; font-size: .86rem; color: var(--white); }
.group { margin-top: 26px; }
.group > h2 { border-bottom: 1px solid var(--line); padding-bottom: 8px; color: var(--white); }
.group > h2::before { content: "> "; color: var(--green); font-family: var(--font-mono); }
.rcard { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; margin: 12px 0; }
.rcard.is-key { border-color: rgba(240, 82, 76, .55); }
.rcard.is-key::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 3px; border-radius: var(--radius) 0 0 var(--radius); background: var(--red); }
.rcard.is-done { opacity: .6; }
.rcard.is-done::before { background: var(--green); }
.rcard.is-done h3 { text-decoration: line-through; text-decoration-color: var(--green); text-decoration-thickness: 2px; }
.rcard.is-info { background: rgba(63, 224, 131, .05); border-color: rgba(63, 224, 131, .3); opacity: 1; }
.rcard.is-info h3 { text-decoration: none; }
.rcard header { display: flex; gap: 12px; align-items: flex-start; }
.rcard h3 { margin: 0 0 2px; }
.rcard .who { color: var(--muted); font-size: .9rem; margin: 0 0 .4em; }
.check input { width: 26px; height: 26px; cursor: pointer; margin: 2px 0 0; }
.check-static { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 6px; background: var(--green-soft); color: var(--green); font-weight: 800; flex: 0 0 auto; }
.steps { padding-left: 1.3em; margin: .4em 0; }
.steps li { margin: .25em 0; }
.steps li::marker { color: var(--cyan); font-family: var(--font-mono); }
.copy { margin: 10px 0; }
.copy-h { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.copy textarea { font-size: .82rem; color: #c9d8ec; }

/* ===== Cases ===== */
.cases h2 { margin-top: 0; }
.case-list { list-style: none; padding: 0; margin: 0; }
.case { display: flex; gap: 8px; margin: 8px 0; }
.case-open { flex: 1; display: flex; align-items: center; gap: 12px; text-align: left; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 16px; cursor: pointer; min-width: 0; color: var(--text); transition: border-color .15s, box-shadow .15s; }
.case-open:hover { border-color: var(--cyan-dim); box-shadow: var(--glow-cyan); }
.case-icon { font-size: 1.6rem; }
.case-main { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.case-main b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.case-sub { color: var(--muted); font-size: .88rem; }
.case-stats { display: flex; flex-direction: column; gap: 4px; align-items: flex-end; }
.status { width: 100%; border-collapse: collapse; margin: 10px 0; font-size: .95rem; }
.status th { font-family: var(--font-mono); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.status th, .status td { text-align: left; padding: 9px 6px; border-bottom: 1px solid var(--line); vertical-align: top; }
.hist { padding-left: 1.1em; font-size: .9rem; font-family: var(--font-mono); }

/* ===== Footer (as on the site) ===== */
.site-footer { background: #080e1a; margin-top: 2rem; padding: 0 0 2.5rem; font-size: .95rem; color: var(--muted); }
.footer-ekg { display: block; width: 100%; height: 40px; margin-bottom: 1.5rem; }
.footer-ekg polyline { filter: drop-shadow(0 0 4px rgba(63, 224, 131, 0.5)); }
.footer-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.site-footer a { color: var(--cyan); }
.site-footer strong { color: var(--text); }
.footer-fine { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 1.25rem; font-size: .87rem; }
.footer-fine .mono { font-size: .78rem; letter-spacing: .1em; }

@media (prefers-reduced-motion: reduce) {
  .spin, .ekg polyline, .cursor { animation: none; }
  .ekg polyline { stroke-dashoffset: 0; }
  .terminal-body p { animation: none; opacity: 1; }
  .tile-big:hover { transform: none; }
}

@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2rem; }
  .terminal { font-size: .8rem; max-width: 480px; }
  .footer-inner { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 1rem; }
  .wrap { padding: 0 .9rem; }
  main { padding: 1rem .9rem 1.5rem; }
  .brand-mark { width: 34px; height: 34px; }
  .brand-text { font-size: .9rem; }
  .site-nav { gap: .7rem; }
  .navlink-hide { display: none; }
  .btn-cta { padding: .4rem .8rem; font-size: .9rem; }
  .rail { padding: 8px .9rem; }
  .rail-l { display: none; }
  .rail-step.on .rail-l { display: inline; }
  .case-stats { display: none; }
  .verdict { flex-direction: column; gap: 6px; }
  .kv { grid-template-columns: 1fr; }
  .kv dt { margin-top: 6px; }
  .terminal-body p { white-space: normal; }
}
