﻿:root{
  --hue: 222;
  --accent2-hue: 295;

  --bg0: hsl(var(--hue) 45% 6%);
  --bg1: hsl(var(--hue) 55% 10%);
  --text: hsl(0 0% 98%);
  --muted: hsl(var(--hue) 20% 76%);
  --edge: hsl(var(--hue) 45% 25% / .55);

  --glass: hsl(var(--hue) 45% 12% / .55);
  --glow:  hsl(var(--hue) 90% 70% / .25);
  --glow2: hsl(var(--accent2-hue) 90% 70% / .22);

  --r-lg: 20px;
  --shadow: 0 20px 60px rgba(0,0,0,.55);
  --shadow2: 0 10px 30px rgba(0,0,0,.35);
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font: 16px/1.5 system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(900px 500px at 15% 12%, var(--glow), transparent 60%),
    radial-gradient(900px 500px at 85% 18%, var(--glow2), transparent 60%),
    radial-gradient(900px 700px at 50% 100%, hsl(168 90% 70% / .16), transparent 62%),
    linear-gradient(180deg, var(--bg0), var(--bg1));
  overflow-x:hidden;
}

a{ color:inherit; text-decoration:none; }

.wrap{
  max-width: 1080px;
  margin: 0 auto;
  padding: 56px 18px 40px;
}

.top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  flex-wrap:wrap;
}

.brand{
  display:flex;
  align-items:center;
  gap:14px;
}
.brand img{ width:44px; height:44px; }
.brand .name{
  display:flex;
  flex-direction:column;
}
.brand .name b{
  font-size: 18px;
  letter-spacing: .2px;
}
.brand .name span{
  font-size: 13px;
  color: var(--muted);
}

.badge{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding: 10px 12px;
  border: 1px solid var(--edge);
  border-radius: 999px;
  background: hsl(var(--hue) 40% 10% / .45);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow2);
}

.hero{
  margin-top: 26px;
  padding: 22px 22px;
  border-radius: var(--r-lg);
  border: 1px solid var(--edge);
  background: linear-gradient(180deg, var(--glass), hsl(var(--hue) 45% 10% / .35));
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
  position:relative;
  overflow:hidden;
}

.hero:before{
  content:"";
  position:absolute; inset:-2px;
  background:
    radial-gradient(650px 180px at 18% 0%, hsl(var(--hue) 90% 70% / .22), transparent 60%),
    radial-gradient(650px 180px at 82% 0%, hsl(var(--accent2-hue) 90% 70% / .18), transparent 60%);
  pointer-events:none;
}

.hero-inner{
  position:relative;
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:18px;
  align-items:center;
}
@media (max-width:860px){ .hero-inner{ grid-template-columns:1fr; } }

h1{
  margin:0 0 10px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.02em;
}
.lede{
  margin:0 0 14px;
  color: var(--muted);
  max-width: 62ch;
}

.actions{
  display:flex; flex-wrap:wrap;
  gap:10px;
  margin-top: 6px;
}
.btn{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid var(--edge);
  background: hsl(var(--hue) 45% 12% / .55);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow2);
  transition: transform .15s ease, border-color .15s ease;
  user-select:none;
}
.btn:hover{ transform: translateY(-1px); border-color: hsl(var(--hue) 70% 65% / .55); }

.panel{
  border-radius: var(--r-lg);
  border: 1px solid var(--edge);
  background: hsl(var(--hue) 45% 11% / .35);
  padding: 14px 14px;
  box-shadow: var(--shadow2);
}
.panel h3{
  margin:0 0 8px;
  font-size: 14px;
  color: hsl(var(--hue) 25% 88%);
  letter-spacing: .2px;
}
.panel p{ margin:0; color: var(--muted); font-size: 13px; }

.grid{
  margin-top: 18px;
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
}

.card{
  grid-column: span 6;
  border-radius: var(--r-lg);
  border: 1px solid var(--edge);
  background: linear-gradient(180deg, var(--glass), hsl(var(--hue) 45% 10% / .35));
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow2);
  padding: 14px 14px;
  transition: transform .15s ease, border-color .15s ease;
}
.card:hover{ transform: translateY(-2px); border-color: hsl(var(--hue) 75% 70% / .55); }

.card h2{ margin:0; font-size: 16px; letter-spacing: .2px; }
.card small{ display:block; margin-top: 4px; color: var(--muted); font-size: 13px; }

.tag{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid var(--edge);
  background: hsl(var(--hue) 45% 12% / .45);
  font-size: 12px;
}

.dot{ width:8px; height:8px; border-radius:50%; background: hsl(0 0% 70% / .6); }
.dot.ok{ background: hsl(146 65% 60%); }
.dot.warn{ background: hsl(45 85% 60%); }
.dot.lock{ background: hsl(210 15% 70%); }

.go{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin-top: 12px;
  padding-bottom: 2px;
  border-bottom: 1px solid hsl(0 0% 100% / .18);
  width: fit-content;
  color: hsl(0 0% 98% / .92);
}

.footer{
  margin-top: 18px;
  color: var(--muted);
  font-size: 13px;
  display:flex;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
}

.noise{
  pointer-events:none;
  position:fixed; inset:0;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.28'/%3E%3C/svg%3E");
  opacity:.06;


.toggle{
  display:inline-flex; gap:.6rem; align-items:center;
  padding:.55rem .8rem; border-radius:999px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.04);
  color:rgba(255,255,255,.85);
  font-size:.9rem;
}
.toggle input{ accent-color: hsl(var(--accent2-hue) 90% 65%); }

  mix-blend-mode: overlay;
}

@media (prefers-reduced-motion: reduce){
  *{ transition:none !important; }
}
@media (max-width:860px){ .card{ grid-column: span 12; } }
