/* =========================
   AURUM_CONTROL v3 — Matte Institutional Theme
   ========================= */

/* === tokens === */
:root{
  --bg-0: #0b0f14;      /* deep matte base */
  --bg-1: #0f1620;      /* steel-blue graphite */
  --panel: rgba(255,255,255,0.06);
  --panel-border: rgba(255,255,255,0.10);

  --text: rgba(255,255,255,0.92);
  --muted: rgba(255,255,255,0.70);

  --teal: #2aa9b3;      /* integrity/focus */
}

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

body{
  margin: 0;
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: geometricPrecision;

  /* Layer 1: matte base */
  background:
    radial-gradient(1100px 700px at 50% 18%, rgba(42,169,179,0.10), transparent 60%),
    radial-gradient(900px 600px at 18% 82%, rgba(255,255,255,0.05), transparent 65%),
    linear-gradient(180deg, var(--bg-1), var(--bg-0));
  background-attachment: fixed;
}

/* Layer 2: subtle vignette + faint grid */
body::before{
  content:"";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;

  background:
    radial-gradient(circle at 50% 35%, transparent 35%, rgba(0,0,0,0.55) 80%),
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.028) 1px, transparent 1px);
  background-size:
    auto,
    64px 64px,
    64px 64px;

  mix-blend-mode: overlay;
  opacity: 0.22;
}

/* Layer 3: tiny noise */
body::after{
  content:"";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;

  background:
    repeating-linear-gradient(0deg,
      rgba(255,255,255,0.010),
      rgba(255,255,255,0.010) 1px,
      rgba(0,0,0,0.010) 2px,
      rgba(0,0,0,0.010) 3px);
  opacity: 0.08;
  mix-blend-mode: soft-light;
}

/* content above background layers */
.shell{
  position: relative;
  z-index: 1;
  max-width: 980px;
  margin: 0 auto;
  padding: 56px 22px 56px;
}

/* --- hero --- */
.hero{
  text-align: center;
  padding: 8px 0 22px;
}

.brandRow{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.09);
  backdrop-filter: blur(10px);
}

.brandMark{
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  border: 1px solid rgba(42,169,179,0.35);
  background: rgba(42,169,179,0.10);
  color: rgba(42,169,179,0.95);
  font-size: 14px;
  line-height: 1;
}

.brandName{
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.80);
  white-space: nowrap;
}

.title{
  margin: 20px auto 10px;
  max-width: 920px;
  font-weight: 750;
  letter-spacing: -0.02em;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.12;
}

.subtitle{
  margin: 0 auto 18px;
  max-width: 900px;
  color: rgba(255,255,255,0.78);
  font-size: clamp(14px, 1.6vw, 16px);
  line-height: 1.6;
}

/* --- status block --- */
.statusBlock{
  margin: 18px auto 0;
  max-width: 760px;
  padding: 14px 14px;
  border-radius: 14px;
  background: var(--panel);
  border: 1px solid var(--panel-border);
  backdrop-filter: blur(10px);
}

.statusLine{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.statusPill{
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(42,169,179,0.35);
  color: rgba(42,169,179,0.95);
  background: rgba(42,169,179,0.10);
  font-size: 12px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}

.statusValue{
  font-weight: 650;
  color: rgba(255,255,255,0.88);
  font-size: 14px;
}

.statusMeta{
  margin-top: 10px;
  color: rgba(255,255,255,0.65);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.mono{
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  letter-spacing: 0.02em;
}

/* --- cards --- */
.sections{
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  align-items: stretch;
}

.sectionCard{
  padding: 16px 16px;
  border-radius: 16px;
  background: var(--panel);
  border: 1px solid var(--panel-border);
  backdrop-filter: blur(10px);
}

.sectionTitle{
  font-weight: 720;
  margin-bottom: 8px;
  font-size: 14px;
  color: rgba(255,255,255,0.92);
}

.sectionDesc{
  margin: 0;
  color: rgba(255,255,255,0.72);
  font-size: 13px;
  line-height: 1.5;
}

.sectionCard.muted{
  background: rgba(255,255,255,0.05);
}

/* Make the last card sit nicely when there are 4 cards */
.sections .sectionCard:nth-child(4){
  grid-column: 1 / span 1;
}

/* --- responsive --- */
@media (max-width: 860px){
  .sections{
    grid-template-columns: 1fr 1fr;
  }
  .sections .sectionCard:nth-child(4){
    grid-column: auto;
  }
}

@media (max-width: 520px){
  .shell{
    padding: 34px 16px 44px;
  }
  .brandName{
    white-space: normal;
    text-align: center;
    line-height: 1.35;
  }
  .sections{
    grid-template-columns: 1fr;
  }
  .statusBlock{
    padding: 14px 12px;
  }
}
