  /* ═══ Reset + base ═══ */
  *,*::before,*::after{box-sizing:border-box}
  body{margin:0;padding:0}
  button{font:inherit;color:inherit;background:none;border:0;cursor:pointer}
  a{color:inherit}
  /* ═══ Minimal utility classes (Tailwind replacement) ═══ */
  .min-h-screen{min-height:100vh}
  .h-2{height:.5rem}.h-3{height:.75rem}.h-32{height:8rem}.h-48{height:12rem}
  .w-full{width:100%}.w-4{width:1rem}.w-6{width:1.5rem}.w-16{width:4rem}
  .max-w-sm{max-width:24rem}.max-w-md{max-width:28rem}.max-w-lg{max-width:32rem}.max-w-xl{max-width:36rem}.max-w-2xl{max-width:42rem}.max-w-32{max-width:8rem}
  .mx-auto{margin-left:auto;margin-right:auto}
  .flex{display:flex}.flex-col{flex-direction:column}.flex-1{flex:1 1 0%}
  .items-start{align-items:flex-start}.items-center{align-items:center}
  .justify-center{justify-content:center}.justify-between{justify-content:space-between}
  .gap-1{gap:.25rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}
  .space-y-2>*+*{margin-top:.5rem}.space-y-3>*+*{margin-top:.75rem}
  .block{display:block}.inline-block{display:inline-block}.hidden{display:none}
  .relative{position:relative}.absolute{position:absolute}.fixed{position:fixed}
  .top-0{top:0}.top-2{top:.5rem}.top-3{top:.75rem}
  .right-0{right:0}.right-2{right:.5rem}.right-3{right:.75rem}
  .bottom-0{bottom:0}.left-0{left:0}
  .z-10{z-index:10}.z-50{z-index:50}
  .shrink-0{flex-shrink:0}
  .text-left{text-align:left}.text-center{text-align:center}.text-right{text-align:right}
  .text-xs{font-size:.75rem;line-height:1rem}
  .text-sm{font-size:.875rem;line-height:1.25rem}
  .text-base{font-size:1rem;line-height:1.5rem}
  .text-lg{font-size:1.125rem;line-height:1.75rem}
  .text-xl{font-size:1.25rem;line-height:1.75rem}
  .text-2xl{font-size:1.5rem;line-height:2rem}
  .text-3xl{font-size:1.875rem;line-height:2.25rem}
  .text-4xl{font-size:2.25rem;line-height:2.5rem}
  .text-5xl{font-size:3rem;line-height:1}
  .text-6xl{font-size:3.75rem;line-height:1}
  .font-bold{font-weight:700}.font-black{font-weight:900}
  .font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace}
  .italic{font-style:italic}
  .leading-relaxed{line-height:1.625}
  .whitespace-pre-wrap{white-space:pre-wrap}
  .cursor-pointer{cursor:pointer}
  .p-3{padding:.75rem}.p-4{padding:1rem}.p-6{padding:1.5rem}.p-8{padding:2rem}
  .py-1{padding-top:.25rem;padding-bottom:.25rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-4{padding-top:1rem;padding-bottom:1rem}.py-8{padding-top:2rem;padding-bottom:2rem}
  .px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.px-8{padding-left:2rem;padding-right:2rem}.px-10{padding-left:2.5rem;padding-right:2.5rem}
  .mt-1{margin-top:.25rem}.mt-2{margin-top:.5rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.mt-6{margin-top:1.5rem}.mt-8{margin-top:2rem}.mt-10{margin-top:2.5rem}
  .mb-1{margin-bottom:.25rem}.mb-2{margin-bottom:.5rem}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.mb-6{margin-bottom:1.5rem}.mb-8{margin-bottom:2rem}.mb-10{margin-bottom:2.5rem}.mb-20{margin-bottom:5rem}
  .rounded{border-radius:.25rem}
  .border-t{border-top:1px solid #1a3a1a}.border-gray-700{border-color:#374151}
  @media (min-width:640px){
    .sm\:flex-row{flex-direction:row}
    .sm\:p-8{padding:2rem}
    .sm\:text-xl{font-size:1.25rem;line-height:1.75rem}
    .sm\:text-2xl{font-size:1.5rem;line-height:2rem}
    .sm\:text-4xl{font-size:2.25rem;line-height:2.5rem}
    .sm\:text-5xl{font-size:3rem;line-height:1}
    .sm\:text-6xl{font-size:3.75rem;line-height:1}
  }
  /* ═══ Theme styles ═══ */
  :root { --green: #00ff41; --green-dim: #0a3d0a; --dark: #0a0a0a; --card: #0d1117; --border: #1a3a1a; --cyan: #00ff41; --purple: #00ff41; }
  body { background: var(--dark); color: #b0ffb0; font-family: 'VT323', monospace; font-size: 18px; position: relative; }
  /* Matrix rain canvas */
  #matrix-bg { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 0; opacity: 0.12; pointer-events: none; }
  /* Scanline overlay */
  body::after { content: ''; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0,0,0,0.15) 2px, rgba(0,0,0,0.15) 4px); pointer-events: none; z-index: 9999; }
  /* All content above canvas */
  body > div:not(#matrix-bg-wrap) { position: relative; z-index: 1; }
  /* Pixel title */
  .pixel-title { font-family: 'Press Start 2P', monospace; text-shadow: 0 0 10px var(--green), 0 0 40px var(--green), 0 0 80px rgba(0,255,65,0.3); color: var(--green); }
  /* Glitch effect */
  .glitch { animation: glitch 3s infinite; }
  @keyframes glitch {
    0%, 90%, 100% { text-shadow: 0 0 10px var(--green), 0 0 40px var(--green); transform: translate(0); }
    91% { text-shadow: -2px 0 #ff0040, 2px 0 #0ff; transform: translate(2px, -1px); }
    93% { text-shadow: 2px 0 #ff0040, -2px 0 #0ff; transform: translate(-2px, 1px); }
    95% { text-shadow: 0 0 10px var(--green), 0 0 40px var(--green); transform: translate(0); }
  }
  .glow { text-shadow: 0 0 10px var(--green), 0 0 40px var(--green); }
  .card { background: rgba(0,17,0,0.85); border: 1px solid var(--border); border-radius: 4px; backdrop-filter: blur(4px); }
  .btn-primary { background: transparent; border: 2px solid var(--green); color: var(--green); transition: all 0.2s; text-transform: uppercase; letter-spacing: 2px; font-family: 'VT323', monospace; font-size: 18px; }
  .btn-primary:hover { background: rgba(0,255,65,0.15); box-shadow: 0 0 20px rgba(0,255,65,0.3), inset 0 0 20px rgba(0,255,65,0.1); transform: translateY(-2px); }
  .btn-outline { border: 1px solid #1a3a1a; color: #6fbb6f; transition: all 0.2s; font-family: 'VT323', monospace; font-size: 18px; }
  .btn-outline:hover { border-color: var(--green); color: var(--green); background: rgba(0,255,65,0.05); }
  .option-btn { background: rgba(0,17,0,0.7); border: 1px solid #1a3a1a; border-radius: 4px; transition: all 0.15s; cursor: pointer; text-align: left; font-family: 'VT323', monospace; font-size: 18px; }
  .option-btn:hover { border-color: var(--green); background: rgba(0,255,65,0.08); transform: translateX(4px); box-shadow: 0 0 10px rgba(0,255,65,0.1); }
  .progress-bar { background: #0d1a0d; border-radius: 0; border: 1px solid #1a3a1a; overflow: hidden; }
  .progress-fill { background: var(--green); height: 100%; border-radius: 0; transition: width 0.3s ease; box-shadow: 0 0 10px var(--green); }
  .bar-fill { background: var(--green); border-radius: 0; transition: width 0.5s ease; box-shadow: 0 0 6px rgba(0,255,65,0.4); }
  .bar-bg { background: #0d1a0d; border-radius: 0; border: 1px solid #1a3a1a; }
  .fade-in { animation: fadeIn 0.3s ease; }
  @keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
  .tag-low { color: #4a9; } .tag-mid { color: #0f0; } .tag-high { color: #ff3333; }
  textarea { background: rgba(0,10,0,0.9); border: 1px solid #1a3a1a; color: #b0ffb0; font-family: 'VT323', monospace; font-size: 18px; }
  textarea:focus { border-color: var(--green); outline: none; box-shadow: 0 0 10px rgba(0,255,65,0.2); }
  .copy-btn { background: #0a1a0a; border: 1px solid #1a3a1a; transition: all 0.2s; font-family: 'VT323', monospace; color: #80c080 !important; }
  .copy-btn:hover { background: #0d2a0d; border-color: var(--green); color: #00ff41 !important; }
  .prompt-box { background: #050f05; border: 1px solid #1a3a1a; max-height: 400px; overflow-y: auto; overflow-x: hidden; font-family: 'VT323', monospace; word-break: break-word; overflow-wrap: anywhere; white-space: pre-wrap; text-align: left !important; }
  .result-card { background: rgba(0,12,0,0.9); border: 1px solid var(--green); box-shadow: 0 0 20px rgba(0,255,65,0.1); }
  /* Override Tailwind text colors — brightened for WCAG AA contrast on #0a0a0a */
  .text-gray-400 { color: #80c080 !important; }   /* was #5a8a5a — now 6.7:1 */
  .text-gray-500 { color: #6caa6c !important; }   /* was #3a6a3a — now 5.0:1 */
  .text-gray-600 { color: #5a995a !important; }   /* was #2a4a2a — now 4.5:1 */
  .text-gray-300 { color: #a0d4a0 !important; }   /* was #80c080 — now 9.2:1 */
  .text-cyan-400 { color: var(--green) !important; }
  .text-purple-400 { color: #88ff88 !important; }
  .text-yellow-400 { color: var(--green) !important; }
  .text-red-400 { color: #ff5555 !important; }
  @media (max-width: 640px) { .result-card { margin: 0 -1rem; border-radius: 4px; } }
  /* Typing cursor blink for subtitle */
  .cursor-blink::after { content: '_'; animation: blink 1s step-end infinite; }
  @keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
  /* CSS containment to prevent layout shift on landing re-render */
  #landing-content { contain: layout style; }
  /* Language selector (inline, not fixed) */
  .lang-sel { display: flex; gap: 4px; justify-content: center; }
  .lang-btn { background: transparent; border: 1px solid #1a3a1a; color: #80c080; padding: 4px 10px; font-family: 'VT323', monospace; font-size: 16px; cursor: pointer; transition: all 0.2s; }
  .lang-btn:hover, .lang-btn.active { border-color: var(--green); color: var(--green); background: rgba(0,255,65,0.08); }
  /* Human/Agent toggle */
  .mode-toggle { display: flex; gap: 0; border: 1px solid #1a3a1a; border-radius: 4px; overflow: hidden; }
  .mode-toggle button { padding: 12px 24px; background: transparent; color: #80c080; border: none; font-family: 'VT323', monospace; font-size: 20px; cursor: pointer; transition: all 0.2s; }
  .mode-toggle button.active { background: rgba(0,255,65,0.12); color: var(--green); border-bottom: 2px solid var(--green); }
  .mode-toggle button:hover:not(.active) { color: #a0d4a0; background: rgba(0,255,65,0.04); }
  .api-box { background: rgba(0,5,0,0.9); border: 1px solid #1a3a1a; border-radius: 4px; font-family: 'VT323', monospace; text-align: left; }
  .api-box code { color: var(--green); }
  .api-box .step { color: #80c080; }
  /* Report blur/unlock */
  .report-preview { position: relative; }
  .report-blur { filter: blur(6px); pointer-events: none; user-select: none; }
  .report-overlay { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 10; text-align: center; width: 90%; }
  .unlock-btn { background: linear-gradient(135deg, #00ff41, #00cc33); color: #000; font-weight: bold; padding: 16px 32px; border: none; border-radius: 4px; font-family: 'VT323', monospace; font-size: 22px; cursor: pointer; transition: all 0.2s; display: inline-block; text-decoration: none; }
  .unlock-btn:hover { box-shadow: 0 0 30px rgba(0,255,65,0.4); transform: translateY(-2px); }
