/* =========================================================
   THEMIS — Law, Order, Governance
   readme.html companion stylesheet
   (Gold-on-Obsidian, disciplined, audit-grade)
   ========================================================= */

/* ---------------------------
   Theme Tokens
--------------------------- */
:root{
  --bg: #07090d;
  --panel: #0f131a;

  --gold: #ffb347;
  --gold-soft: rgba(255,179,71,0.35);

  --text: #eaeaea;
  --muted: #a0a6b0;

  --border: rgba(255,255,255,0.08);
  --border-2: rgba(255,255,255,0.12);

  --shadow: 0 18px 60px rgba(0,0,0,0.55);
  --shadow-soft: 0 10px 35px rgba(0,0,0,0.38);

  --r-lg: 14px;
  --r-md: 10px;

  --max: 960px;
}

/* ---------------------------
   Reset / Base
--------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html, body { height: 100%; }

body{
  margin: 0;
  background:
    radial-gradient(circle at top, rgba(255,179,71,0.06), transparent 40%),
    radial-gradient(900px 600px at 20% 0%, rgba(255,179,71,0.05), transparent 55%),
    var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.75;
  overflow-x: hidden;
}

/* Links (if you add them later) */
a{
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,179,71,0.25);
}
a:hover{ border-bottom-color: rgba(255,179,71,0.55); }

/* Nice selection */
::selection{
  background: rgba(255,179,71,0.18);
}

/* ---------------------------
   Container
--------------------------- */
.container{
  max-width: var(--max);
  margin: 0 auto;
  padding: 4.5rem 1.5rem 6rem;
}

/* ---------------------------
   Header
--------------------------- */
.title{
  font-family: "Cinzel", serif;
  font-size: clamp(2.25rem, 5vw, 3.4rem);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 0 0 0.4rem 0;
}

.subtitle{
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.92;
}

/* Divider sigil line */
.sigil{
  margin: 2.5rem 0;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
  box-shadow: 0 0 12px var(--gold-soft);
  border-radius: 999px;
}

/* Body copy */
p{
  font-size: 1.02rem;
  color: var(--text);
  margin: 0 0 1.1rem 0;
}

strong{ color: var(--text); font-weight: 700; }
em{ color: rgba(255,255,255,0.90); }

/* ---------------------------
   Sections / Panels
--------------------------- */
section{
  margin-top: 3.5rem;
  padding: 2.2rem 2.4rem;
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.00));
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(2px);
}

h2{
  font-family: "Cinzel", serif;
  font-size: 1.25rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 1rem 0;
  color: var(--gold);
}

/* Lists */
ul{
  padding-left: 1.2rem;
  margin: 1rem 0 0 0;
}
li{
  margin-bottom: 0.55rem;
  color: var(--muted);
}

/* ---------------------------
   Notice callout
--------------------------- */
.notice{
  margin-top: 2rem;
  padding: 1.35rem 1.6rem;
  background: rgba(255,179,71,0.08);
  border: 1px solid var(--gold-soft);
  border-radius: var(--r-md);
  font-size: 0.95rem;
}

.notice strong{
  color: var(--gold);
}

/* ---------------------------
   Oath / Footer
--------------------------- */
.oath{
  margin-top: 4rem;
  text-align: center;
  font-family: "Cinzel", serif;
  font-size: 1.05rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.88;
  padding: 1.2rem 1rem;
}

/* subtle glow around oath block */
.oath::before{
  content: "";
  display: block;
  width: min(520px, 90%);
  height: 1px;
  margin: 0 auto 1.2rem auto;
  background: linear-gradient(to right, transparent, rgba(255,179,71,0.6), transparent);
  box-shadow: 0 0 18px rgba(255,179,71,0.18);
}

footer{
  margin-top: 3.5rem;
  text-align: center;
  font-size: 0.82rem;
  color: var(--muted);
  opacity: 0.65;
}

/* ---------------------------
   Responsive polish
--------------------------- */
@media (max-width: 720px){
  section{ padding: 1.6rem 1.4rem; }
  .sigil{ margin: 2rem 0; }
}

/* =========================================================
   THEMIS VISUAL STATE — ARMED (Subtle Authority Glow)
   ========================================================= */

.themis-active .title {
  text-shadow:
    0 0 10px rgba(255,179,71,0.35),
    0 0 28px rgba(255,179,71,0.18);
}

.themis-active .sigil {
  box-shadow:
    0 0 16px rgba(255,179,71,0.35),
    0 0 42px rgba(255,179,71,0.15);
}

.themis-active {
  background:
    radial-gradient(900px 600px at 50% 0%,
      rgba(255,179,71,0.06),
      transparent 60%);
}

/* ALSO glow common headers used in the Search Console page */
.themis-active h1,
.themis-active h2,
.themis-active .hero-title,
.themis-active .headline {
  text-shadow:
    0 0 10px rgba(255,179,71,0.35),
    0 0 28px rgba(255,179,71,0.18);
}

/* =========================================================
   THEMIS VISUAL STATE — ARMED (Console + README compatible)
   Put this at the VERY BOTTOM of style.css
   ========================================================= */

/* Glow headline (works for README .title and Console h1/h2) */
body.themis-active .title,
body.themis-active h1,
body.themis-active h2 {
  text-shadow:
    0 0 10px rgba(255,179,71,0.35),
    0 0 28px rgba(255,179,71,0.18);
}

/* Glow the divider line if present */
body.themis-active .sigil {
  box-shadow:
    0 0 16px rgba(255,179,71,0.35),
    0 0 42px rgba(255,179,71,0.15);
}

/* Soft crown glow behind the top area */
body.themis-active{
  background:
    radial-gradient(900px 600px at 50% 0%,
      rgba(255,179,71,0.07),
      transparent 60%),
    radial-gradient(circle at top,
      rgba(255,179,71,0.06),
      transparent 40%),
    var(--bg);
}

/* =========================================================
   THEMIS — Black & Gold Command Theme (match readme.html)
   Append to themis/style.css
========================================================= */

:root{
  --bg:#05060a;
  --bg2:#070913;
  --panel:#0e1018;
  --panel2:#101324;
  --text:#e8ebf2;
  --muted:#a9b0c2;

  --gold:#f6c24a;
  --gold2:#ffdf8a;
  --ember:#ff6a00;

  --border:#20263a;
  --shadow: 0 10px 30px rgba(0,0,0,.45);
  --glow: 0 0 0 1px rgba(246,194,74,.18), 0 0 28px rgba(255,106,0,.12);
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Apple Color Emoji","Segoe UI Emoji";
  background:
    radial-gradient(1200px 600px at 20% 0%, rgba(255,106,0,.10), transparent 60%),
    radial-gradient(900px 500px at 85% 10%, rgba(246,194,74,.10), transparent 55%),
    linear-gradient(180deg, var(--bg), var(--bg2));
  color:var(--text);
}

a{color:var(--gold); text-decoration:none}
a:hover{color:var(--gold2); text-decoration:underline}

.themis-wrap{
  max-width: 980px;
  margin: 0 auto;
  padding: 2.2rem 1.15rem 3.25rem;
}

.themis-top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:1rem;
  margin-bottom:1.25rem;
}

.brand{
  letter-spacing:.22em;
  font-weight:800;
  color:var(--gold);
  text-transform:uppercase;
  font-size:.9rem;
}

.h1{
  margin:.35rem 0 0;
  font-size: clamp(2rem, 3.8vw, 3.1rem);
  line-height:1.05;
}

.sub{
  margin:.75rem 0 0;
  color:var(--muted);
  max-width: 58ch;
  line-height:1.6;
}

.panel{
  margin-top:1.6rem;
  background: linear-gradient(180deg, rgba(16,19,36,.92), rgba(14,16,24,.92));
  border:1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 1.15rem;
}

.panel.glow{ box-shadow: var(--shadow), var(--glow); }

.row{
  display:flex;
  gap:.9rem;
  flex-wrap:wrap;
  align-items:center;
}

.kv{
  color:var(--muted);
  font-size:.95rem;
}

.input{
  flex: 1 1 420px;
  display:flex;
  gap:.6rem;
  align-items:center;
}

.input input{
  width:100%;
  padding:.85rem .9rem;
  border-radius: 12px;
  border:1px solid var(--border);
  background: rgba(0,0,0,.35);
  color:var(--text);
  outline:none;
}
.input input:focus{
  border-color: rgba(246,194,74,.45);
  box-shadow: 0 0 0 4px rgba(246,194,74,.12);
}

.btn{
  padding:.85rem 1rem;
  border-radius:12px;
  border:1px solid rgba(246,194,74,.35);
  background: linear-gradient(180deg, rgba(246,194,74,.20), rgba(255,106,0,.12));
  color:var(--gold2);
  font-weight:800;
  letter-spacing:.02em;
  cursor:pointer;
}
.btn:hover{
  border-color: rgba(246,194,74,.6);
  box-shadow: 0 0 24px rgba(255,106,0,.12);
}

.hr{
  height:1px;
  background: linear-gradient(90deg, transparent, rgba(246,194,74,.25), transparent);
  margin: 1rem 0;
}

.h2{
  margin: 0 0 .75rem;
  font-size: 1.3rem;
  color: var(--gold2);
  letter-spacing:.06em;
  text-transform:uppercase;
}

.results{
  color:var(--muted);
  line-height:1.7;
  font-size:1rem;
}

.pill{
  display:inline-flex;
  align-items:center;
  gap:.5rem;
  padding:.35rem .6rem;
  border-radius:999px;
  border:1px solid var(--border);
  background: rgba(0,0,0,.25);
  color: var(--muted);
  font-size:.85rem;
}

.small{
  font-size:.9rem;
  color:var(--muted);
}

.footer{
  margin-top:1.25rem;
  color: rgba(233,235,242,.55);
  font-size:.85rem;
  text-align:center;
}