/* Clean Reporting – minimal modern styling (no framework, no JS) */

:root{
  --bg: #0b1020;
  --surface: rgba(255,255,255,0.06);
  --surface-2: rgba(255,255,255,0.04);
  --border: rgba(255,255,255,0.10);
  --text: rgba(255,255,255,0.92);
  --muted: rgba(255,255,255,0.70);
  --muted-2: rgba(255,255,255,0.55);

  --accent: #8C70FF;
  --accent-soft: rgba(140,112,255,0.18);
  --accent-border: rgba(140,112,255,0.45);

  --shadow: 0 22px 70px rgba(0,0,0,0.55);
  --radius: 18px;
  --radius-sm: 14px;
}

*{ box-sizing: border-box; }
html, body { height: 100%; }

body{
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  color: var(--text);
  background: radial-gradient(1200px 600px at 20% 0%, rgba(255,255,255,0.08), transparent 55%),
              radial-gradient(1200px 600px at 80% 0%, rgba(255,255,255,0.06), transparent 55%),
              var(--bg);
  line-height: 1.55;
}

main{
  max-width: 880px;
  margin: 0 auto;
  padding: 56px 18px;
}

.card{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
  backdrop-filter: blur(10px);
}

/* === TOP HEADER BAR (logo + descriptor + actions) === */
.topbar{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;

  padding: 20px 24px;
  margin: -28px -28px 22px; /* edge-to-edge within card padding */

  border-bottom: 1px solid rgba(255,255,255,0.10);
  background: rgba(0,0,0,0.12);

  border-top-left-radius: var(--radius);
  border-top-right-radius: var(--radius);
}

.topbar-left{
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}

.site-logo{
  height: 160px;
  width: auto;
  opacity: 0.95;
  flex: 0 0 auto;
}

.descriptor{
  max-width: 320px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.4;
}

.topbar-actions{
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
}

/* Mobile */
@media (max-width: 720px){
  .topbar{
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .topbar-actions{
    width: 100%;
    flex-direction: row;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .site-logo{
    height: 120px;
  }

  .descriptor{
    max-width: none;
  }
}

/* === Rest of the page === */
.brand{
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* If you no longer use <h1> in the body, you can delete this later.
   Leaving it in is harmless. */
h1{
  margin: 0;
  font-size: clamp(28px, 3.2vw, 40px);
  letter-spacing: -0.02em;
  color: var(--accent);
}

.tagline{
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.actions{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  text-decoration: none;
  background: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
  transition: transform 0.08s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:hover{
  background: #7a5cff;
  border-color: #7a5cff;
  transform: translateY(-1px);
}

section{
  margin-top: 18px;
}

h2{
  margin: 22px 0 10px;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--accent);
}

p{
  margin: 0 0 12px;
  color: rgba(255,255,255,0.88);
}

ul, ol{
  margin: 0 0 14px;
  padding-left: 18px;
  color: rgba(255,255,255,0.86);
}

li{ margin: 6px 0; }

.grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.panel{
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 14px 14px;
  background: rgba(0,0,0,0.15);
  border-left: 3px solid var(--accent-soft);
}

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

footer{
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.10);
  color: var(--muted);
  font-size: 0.95rem;
}

a{ color: var(--accent); }
a:hover{ text-decoration: underline; }
