:root{
  --bg:#0B0F14;
  --surface:#121925;
  --surface2:#182235;
  --border:#223148;
  --text:#EAF1FF;
  --muted:#A9B6CC;
  --accent:#20E0C8;
  --warn:#FFB020;
  --bad:#FF5C7A;

  --r:16px;
  --shadow: 0 12px 30px rgba(0,0,0,.45);
  --shadowSoft: 0 10px 22px rgba(0,0,0,.35);
  --ring: 0 0 0 3px rgba(32,224,200,.35);
  --ring2: 0 0 0 2px rgba(32,224,200,.2), 0 0 0 5px rgba(32,224,200,.18);

  --font: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:var(--font);
  background: radial-gradient(1200px 600px at 15% 10%, rgba(32,224,200,.08), transparent 55%),
              radial-gradient(1000px 500px at 80% 30%, rgba(255,176,32,.06), transparent 60%),
              var(--bg);
  color:var(--text);
  line-height:1.6;
  font-size:18px;
  overflow-x:hidden;
}

a{color:inherit}
a:hover{text-decoration:none}
a:focus-visible, button:focus-visible, input:focus-visible{
  outline:none;
  box-shadow: var(--ring2);
  border-color: rgba(32,224,200,.75);
}

.skip-link{
  position:absolute;
  left:-999px; top:10px;
  background:var(--surface);
  color:var(--text);
  padding:10px 14px;
  border-radius:12px;
  border:1px solid var(--border);
  z-index:9999;
}
.skip-link:focus{left:10px}

.wrap{
  width:min(1160px, calc(100% - 32px));
  margin:0 auto;
}

.fx{
  position:fixed; inset:0;
  pointer-events:none;
  z-index:0;
}
.fx--scanlines{
  opacity:.18;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255,255,255,.02) 0px,
    rgba(255,255,255,.02) 1px,
    transparent 2px,
    transparent 6px
  );
  mix-blend-mode: overlay;
}
.fx--noise{
  opacity:.06;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='260' height='260' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

.header{
  position:sticky; top:0;
  z-index:5;
  backdrop-filter: blur(10px);
  background: rgba(11,15,20,.65);
  border-bottom:1px solid rgba(34,49,72,.7);
}
.header__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 0;
  gap:16px;
}

.brand{
  display:flex; align-items:center; gap:10px;
  text-decoration:none;
}
.brand__mark{
  width:34px; height:34px;
  display:grid; place-items:center;
  border-radius:12px;
  background: linear-gradient(180deg, rgba(32,224,200,.18), rgba(32,224,200,.04));
  border:1px solid rgba(32,224,200,.25);
  box-shadow: var(--shadowSoft);
}
.brand__name{
  font-weight:800;
  letter-spacing:.2px;
}
.brand__status{
  margin-left:10px;
  font-size:13px;
  color:var(--muted);
  display:flex; align-items:center; gap:8px;
  border:1px solid rgba(34,49,72,.7);
  padding:5px 10px;
  border-radius:999px;
}
.brand__dot{
  width:8px;height:8px;border-radius:50%;
  background:var(--accent);
  box-shadow:0 0 0 4px rgba(32,224,200,.12);
}

.nav{display:flex; align-items:center; gap:10px}
.nav__toggle{
  display:none;
  background:transparent;
  border:1px solid var(--border);
  color:var(--text);
  padding:10px 12px;
  border-radius:12px;
  cursor:pointer;
}
.nav__toggleLines{
  display:inline-block;
  width:14px; height:10px;
  margin-right:8px;
  background:
    linear-gradient(var(--text),var(--text)) 0 0/100% 2px,
    linear-gradient(var(--text),var(--text)) 0 4px/100% 2px,
    linear-gradient(var(--text),var(--text)) 0 8px/100% 2px;
  background-repeat:no-repeat;
  opacity:.85;
}

.nav__menu{display:flex; align-items:center; gap:14px}
.nav__link{
  text-decoration:none;
  color:var(--muted);
  padding:10px 10px;
  border-radius:12px;
}
.nav__link:hover{
  color:var(--text);
  background: rgba(24,34,53,.55);
  border:1px solid rgba(34,49,72,.55);
}

.main{position:relative; z-index:1}

.hero{
  padding:38px 0 22px;
}
.hero__inner{
  display:grid;
  grid-template-columns: 1.35fr .85fr;
  gap:22px;
  align-items:start;
}

.kicker{
  margin:0 0 10px;
  color:var(--muted);
  font-size:14px;
  letter-spacing:.25px;
}

h1{
  font-size: clamp(34px, 3.5vw, 54px);
  line-height:1.05;
  margin:0 0 14px;
}

.hero__support p{
  margin:0 0 10px;
  color:var(--muted);
  max-width:60ch;
}

.hero__actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:18px;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  text-decoration:none;
  border-radius:999px;
  padding:12px 16px;
  border:1px solid var(--border);
  background: rgba(18,25,37,.55);
  color:var(--text);
  cursor:pointer;
  min-height:44px;
}
.btn--primary{
  background: linear-gradient(180deg, rgba(32,224,200,.22), rgba(32,224,200,.06));
  border-color: rgba(32,224,200,.35);
  box-shadow: var(--shadowSoft);
}
.btn--secondary:hover,
.btn--primary:hover{
  transform: translateY(-1px);
}
.btn--mini{
  padding:10px 12px;
  border-radius:14px;
}
.btn--ghost{
  background: transparent;
}
.btn--card{
  width:100%;
  border-radius:14px;
  justify-content:space-between;
}
.btn__arrow{opacity:.9}
.btn__spark{
  width:10px; height:10px;
  border-radius:50%;
  background:var(--accent);
  box-shadow:0 0 0 6px rgba(32,224,200,.12);
}

.hero__meta{
  margin-top:18px;
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:12px;
}
.metaCard{
  border:1px solid rgba(34,49,72,.7);
  background: rgba(18,25,37,.45);
  border-radius: var(--r);
  padding:12px 14px;
  box-shadow: var(--shadowSoft);
}
.metaCard__title{
  color:var(--muted);
  font-size:13px;
  margin-bottom:4px;
}
.metaCard__body{
  font-size:14px;
}

.panel{
  border:1px solid rgba(34,49,72,.75);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(18,25,37,.65), rgba(18,25,37,.35));
  box-shadow: var(--shadow);
  overflow:hidden;
  position:relative;
}
.panel::before{
  content:"";
  position:absolute; inset:-2px;
  background: radial-gradient(800px 240px at 30% 10%, rgba(32,224,200,.10), transparent 60%);
  pointer-events:none;
}
.panel__header{padding:16px 16px 10px}
.panel__title{font-weight:800}
.panel__sub{color:var(--muted); font-size:14px}
.panel__body{padding:8px 16px 14px}
.panel__footer{
  padding:12px 16px;
  border-top:1px solid rgba(34,49,72,.6);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}
.panel__link{color:var(--muted); font-size:14px; text-decoration:none}
.panel__link:hover{color:var(--text)}

.rig__label{display:block; font-size:13px; color:var(--muted); margin-bottom:6px}
.rig__row{display:flex; gap:10px; align-items:center}
.input{
  width:100%;
  padding:12px 12px;
  border-radius:14px;
  border:1px solid rgba(34,49,72,.8);
  background: rgba(11,15,20,.55);
  color:var(--text);
  min-height:44px;
}
.input::placeholder{color:rgba(169,182,204,.7)}
.rig__fieldset{border:0; padding:0; margin:14px 0 0}
.rig__legend{font-size:13px; color:var(--muted); margin-bottom:8px}
.rig__hint{color:var(--muted); font-size:13px; margin:10px 0 0}

.chips{display:flex; flex-wrap:wrap; gap:8px}
.chip{
  border-radius:999px;
  padding:10px 12px;
  border:1px solid rgba(34,49,72,.75);
  background: rgba(18,25,37,.35);
  color:var(--muted);
  cursor:pointer;
  min-height:44px;
}
.chip:hover{color:var(--text); border-color: rgba(32,224,200,.28)}
.chip[aria-pressed="true"],
.chip.is-on{
  color:var(--text);
  border-color: rgba(32,224,200,.55);
  box-shadow: 0 0 0 3px rgba(32,224,200,.14);
}
.chip--ghost{background:transparent}

.section{padding:34px 0}
.section--alt{
  background: linear-gradient(180deg, transparent, rgba(18,25,37,.25), transparent);
  border-top:1px solid rgba(34,49,72,.35);
  border-bottom:1px solid rgba(34,49,72,.35);
}
.section__head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:18px;
  margin-bottom:14px;
}
.section__title{
  margin:0;
  font-size:24px;
}
.section__desc{
  margin:0;
  color:var(--muted);
  max-width:52ch;
  font-size:14px;
}

.grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:14px;
}
.grid--3{grid-template-columns: repeat(3, 1fr);}

.card{
  border-radius: 18px;
  border:1px solid rgba(34,49,72,.75);
  background: linear-gradient(180deg, rgba(18,25,37,.62), rgba(18,25,37,.32));
  box-shadow: var(--shadowSoft);
  padding:14px;
  position:relative;
  overflow:hidden;
  transition: transform .12s ease, border-color .12s ease;
}
.card:hover{
  transform: translateY(-2px);
  border-color: rgba(32,224,200,.35);
}
.card::after{
  content:"";
  position:absolute; inset:0;
  background: radial-gradient(600px 220px at 20% 0%, rgba(32,224,200,.08), transparent 55%);
  pointer-events:none;
  opacity:0;
  transition: opacity .15s ease;
}
.card:hover::after{opacity:1}

.card__top{display:flex; align-items:center; justify-content:space-between; gap:10px}
.card__kind{font-size:12px; color:var(--muted); letter-spacing:.2px}
.card__title{margin:10px 0 6px; font-size:18px}
.card__desc{margin:0 0 12px; color:var(--muted); font-size:14px; min-height:44px}

.card__meta{display:flex; align-items:flex-start; justify-content:space-between; gap:10px; margin-bottom:12px}
.metaPill{
  font-size:12px;
  color:var(--muted);
  border:1px solid rgba(34,49,72,.7);
  padding:6px 10px;
  border-radius:999px;
  white-space:nowrap;
}
.tagRow{display:flex; flex-wrap:wrap; gap:6px; justify-content:flex-end}
.tag{
  font-size:12px;
  color:rgba(169,182,204,.9);
  border:1px solid rgba(34,49,72,.6);
  background: rgba(11,15,20,.25);
  padding:4px 8px;
  border-radius:999px;
}

.card__actions{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:10px;
}
.card__peek{
  margin-top:12px;
  border-top:1px dashed rgba(34,49,72,.65);
  padding-top:10px;
}
.peek__title{margin:0 0 4px; font-size:12px; color:var(--muted)}
.peek__body{margin:0; font-size:13px; color:rgba(169,182,204,.9)}

.mini{
  border:1px solid rgba(34,49,72,.75);
  border-radius:18px;
  padding:14px;
  background: rgba(18,25,37,.35);
  box-shadow: var(--shadowSoft);
}
.mini__top{display:flex; justify-content:space-between; gap:12px; align-items:baseline}
.mini__title{margin:0; font-size:16px}
.mini__status{font-size:12px; color:var(--muted)}
.mini__body p{margin:8px 0 0; color:var(--muted); font-size:14px}
.mini__link{display:inline-block; margin-top:10px; color:var(--muted); text-decoration:none}
.mini__link:hover{color:var(--text)}

.note{
  margin-top:14px;
  border:1px solid rgba(34,49,72,.6);
  background: rgba(18,25,37,.28);
  border-radius: 18px;
  padding:12px 14px;
  color:var(--muted);
  font-size:14px;
}

.footerCta__panel{
  border-radius: 22px;
  border:1px solid rgba(34,49,72,.75);
  background: radial-gradient(900px 280px at 20% 10%, rgba(32,224,200,.10), transparent 60%),
              rgba(18,25,37,.35);
  box-shadow: var(--shadow);
  padding:18px;
}
.footerCta__title{margin:0 0 6px}
.footerCta__desc{margin:0 0 14px; color:var(--muted)}
.footerCta__actions{display:flex; gap:10px; flex-wrap:wrap}

.footer{
  border-top:1px solid rgba(34,49,72,.55);
  padding:22px 0 26px;
  color:var(--muted);
}
.footer__inner{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
}
.footer__brand{font-weight:800; color:var(--text)}
.footer__right{display:flex; gap:14px; flex-wrap:wrap}
.footer__right a{color:var(--muted); text-decoration:none}
.footer__right a:hover{color:var(--text)}

.badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  border-radius:999px;
  padding:6px 10px;
  border:1px solid rgba(34,49,72,.75);
  font-size:12px;
  color:var(--muted);
  background: rgba(11,15,20,.25);
}
.badge__dot{
  width:8px; height:8px;
  border-radius:50%;
  background: rgba(169,182,204,.6);
}
.badge--warn{border-color: rgba(255,176,32,.35)}
.badge--warn .badge__dot{background: var(--warn)}
.badge--info{border-color: rgba(32,224,200,.35)}
.badge--info .badge__dot{background: var(--accent)}
.badge--ok{border-color: rgba(32,224,200,.35)}
.badge--ok .badge__dot{background: var(--accent)}
.badge--bad{border-color: rgba(255,92,122,.35)}
.badge--bad .badge__dot{background: var(--bad)}
.badge--muted .badge__dot{background: rgba(169,182,204,.55)}

.glitch{
  position:relative;
  text-shadow:
    0 0 18px rgba(32,224,200,.08),
    0 0 2px rgba(32,224,200,.10);
}
.glitch::before,
.glitch::after{
  content: attr(data-glitch);
  position:absolute;
  inset:0;
  pointer-events:none;
  opacity:.22;
  clip-path: inset(0 0 0 0);
}
.glitch::before{
  transform: translate(1px, 0);
  color: rgba(32,224,200,.8);
  mix-blend-mode: screen;
}
.glitch::after{
  transform: translate(-1px, 0);
  color: rgba(255,176,32,.65);
  mix-blend-mode: screen;
}
.glitch--small::before,
.glitch--small::after{opacity:.14}

@media (max-width: 980px){
  .hero__inner{grid-template-columns:1fr}
  .grid{grid-template-columns:1fr 1fr}
  .section__head{flex-direction:column; align-items:flex-start}
}
@media (max-width: 640px){
  .grid{grid-template-columns:1fr}
  .hero__meta{grid-template-columns:1fr}
  .card__actions{grid-template-columns:1fr}
  .nav__toggle{display:inline-flex}
  .nav__menu{
    display:none;
    position:absolute;
    right:16px; top:62px;
    background: rgba(11,15,20,.95);
    border:1px solid rgba(34,49,72,.8);
    border-radius:18px;
    padding:10px;
    box-shadow: var(--shadow);
    flex-direction:column;
    align-items:stretch;
    min-width: 210px;
  }
  .nav__menu.is-open{display:flex}
}

/* Reduced motion: kill effects entirely */
@media (prefers-reduced-motion: reduce){
  *{scroll-behavior:auto !important}
  .card, .btn{transition:none !important}
  .card:hover, .btn--primary:hover, .btn--secondary:hover{transform:none !important}
  .glitch::before, .glitch::after{display:none !important}
  .fx{display:none !important}
}
