:root{
  --bg: #0b0f17;
  --bg2:#070a10;
  --surface:#0f1522;
  --surface2:#0c1220;
  --text:#e8eefc;
  --muted:#a8b3cf;
  --line: rgba(255,255,255,.08);
  --shadow: 0 18px 50px rgba(0,0,0,.45);
  --accent:#97f5d1;
  --accent2:#7aa7ff;
  --danger:#ff6b6b;

  --radius: 18px;
  --radius2: 26px;
  --container: 1120px;

  --font: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
}

[data-theme="light"]{
  --bg:#f7f9ff;
  --bg2:#eef2ff;
  --surface:#ffffff;
  --surface2:#f4f7ff;
  --text:#0b1020;
  --muted:#3a4664;
  --line: rgba(11,16,32,.12);
  --shadow: 0 16px 40px rgba(11,16,32,.10);
  --accent:#0aa37f;
  --accent2:#2b6cff;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: var(--font);
  background: radial-gradient(1200px 700px at 15% 10%, rgba(151,245,209,.14), transparent 55%),
              radial-gradient(900px 600px at 80% 20%, rgba(122,167,255,.14), transparent 60%),
              linear-gradient(180deg, var(--bg), var(--bg2));
  color: var(--text);
  line-height: 1.5;
  overflow-x:hidden;
}

a{ color:inherit; text-decoration:none; }
a:focus, button:focus{ outline: 2px solid rgba(151,245,209,.55); outline-offset: 2px; border-radius: 10px; }

.container{
  width:min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

.skip{
  position:absolute; left:-999px; top:auto; width:1px; height:1px; overflow:hidden;
}
.skip:focus{
  left: 16px; top: 16px; width:auto; height:auto;
  padding: 10px 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  z-index: 9999;
}

.topbar{
  position: sticky;
  top:0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: color-mix(in srgb, var(--bg) 70%, transparent);
  border-bottom: 1px solid var(--line);
}
.topbar__inner{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 0;
}

.brand{
  display:flex;
  align-items:center;
  gap:10px;
  user-select:none;
}
.brand__mark{
  width: 18px; height: 18px;
  border-radius: 6px;
  background:
    radial-gradient(circle at 30% 30%, var(--accent), transparent 58%),
    radial-gradient(circle at 70% 70%, var(--accent2), transparent 62%),
    linear-gradient(135deg, rgba(255,255,255,.18), rgba(255,255,255,.02));
  border: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
}
.brand__name{ font-weight: 750; letter-spacing: .2px; }
.brand__tag{
  font-size: 12px;
  color: var(--muted);
  border: 1px solid var(--line);
  padding: 4px 8px;
  border-radius: 999px;
}

.nav{
  display:flex;
  gap: 18px;
  align-items:center;
}
.nav a{
  font-size: 14px;
  color: var(--muted);
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid transparent;
}
.nav a:hover{
  color: var(--text);
  border-color: var(--line);
  background: color-mix(in srgb, var(--surface) 65%, transparent);
}

.actions{
  display:flex;
  gap: 10px;
  align-items:center;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 72%, transparent);
  color: var(--text);
  box-shadow: none;
  cursor:pointer;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
  font-weight: 650;
  font-size: 14px;
}
.btn:hover{ transform: translateY(-1px); border-color: color-mix(in srgb, var(--accent) 35%, var(--line)); }
.btn:active{ transform: translateY(0px); }
.btn--primary{
  border-color: color-mix(in srgb, var(--accent) 55%, var(--line));
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 85%, #fff 0%), color-mix(in srgb, var(--accent2) 55%, var(--accent)));
  color: #061015;
  box-shadow: 0 16px 40px rgba(0,0,0,.25);
}
.btn--ghost{
  background: transparent;
}
.btn--full{ width: 100%; }

.btn__icon{ opacity: .8; }

.burger{
  display:none;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: transparent;
  cursor:pointer;
}
.burger span{
  display:block;
  height: 2px;
  width: 18px;
  margin: 4px auto;
  background: color-mix(in srgb, var(--text) 85%, transparent);
  border-radius: 2px;
}

.mobile{
  border-top: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 80%, transparent);
}
.mobile__inner{
  padding: 14px 0 18px;
  display:grid;
  gap: 10px;
}
.mobile__inner a{
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 70%, transparent);
  color: var(--text);
}
.mobile__row{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 6px;
}

.hero{
  position: relative;
  padding: 72px 0 34px;
}
.hero__grid{
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 28px;
  align-items: start;
}

.hero__bg{
  position:absolute;
  inset: -200px -100px auto -100px;
  height: 540px;
  background:
    radial-gradient(600px 320px at 20% 40%, rgba(151,245,209,.22), transparent 70%),
    radial-gradient(500px 260px at 75% 30%, rgba(122,167,255,.22), transparent 70%),
    radial-gradient(700px 420px at 50% 60%, rgba(255,255,255,.06), transparent 70%);
  filter: blur(0px);
  pointer-events:none;
  z-index: -1;
  opacity: .95;
}

.pill{
  display:inline-flex;
  align-items:center;
  gap: 10px;
  font-size: 13px;
  color: var(--muted);
  border: 1px solid var(--line);
  padding: 8px 12px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 70%, transparent);
}
.dot{
  width: 8px; height: 8px;
  border-radius: 99px;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(151,245,209,.12);
}

h1{
  font-size: clamp(34px, 4.6vw, 56px);
  line-height: 1.05;
  margin: 16px 0 14px;
  letter-spacing: -.8px;
}
.accent{
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  background-clip:text;
  color: transparent;
}
.lead{
  font-size: 16px;
  color: color-mix(in srgb, var(--muted) 92%, var(--text));
  max-width: 58ch;
}
.hero__cta{
  display:flex;
  gap: 10px;
  margin: 18px 0 20px;
  flex-wrap: wrap;
}

.hero__stats{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 10px;
}
.stat{
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 70%, transparent);
  border-radius: var(--radius);
  padding: 12px;
}
.stat__num{
  font-weight: 800;
  font-size: 18px;
}
.stat__label{
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}

.hero__panel .panel{
  border: 1px solid var(--line);
  border-radius: var(--radius2);
  background: linear-gradient(180deg, color-mix(in srgb, var(--surface) 85%, transparent), color-mix(in srgb, var(--surface2) 60%, transparent));
  box-shadow: var(--shadow);
  overflow:hidden;
}
.panel__top{
  display:flex;
  gap: 8px;
  padding: 14px;
  border-bottom: 1px solid var(--line);
}
.chip{
  font-size: 12px;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 20%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 35%, var(--line));
  color: color-mix(in srgb, var(--text) 82%, var(--accent));
}
.chip--soft{
  background: color-mix(in srgb, var(--surface) 70%, transparent);
  border-color: var(--line);
  color: var(--muted);
}
.panel__body{
  padding: 16px;
  display:grid;
  gap: 14px;
}

.kpi__label{ font-size: 12px; color: var(--muted); }
.kpi__bar{
  height: 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface2) 70%, transparent);
  overflow:hidden;
  margin: 8px 0 6px;
}
.kpi__bar span{
  display:block;
  height:100%;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  border-radius: 999px;
}
.kpi__meta{ font-size: 12px; color: var(--muted); }

.grid2{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.tile{
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
  background: color-mix(in srgb, var(--surface) 70%, transparent);
}
.tile__title{ font-size: 12px; color: var(--muted); }
.tile__value{ font-size: 20px; font-weight: 850; margin: 4px 0 2px; }
.tile__hint{ font-size: 12px; color: var(--muted); }

.code{
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow:hidden;
  background: color-mix(in srgb, var(--bg2) 70%, transparent);
}
.code__head{
  display:flex;
  align-items:center;
  gap: 8px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
}
.code__dot{
  width: 10px; height: 10px;
  border-radius: 99px;
  background: color-mix(in srgb, var(--muted) 50%, transparent);
}
.code__title{ margin-left: 6px; font-size: 12px; color: var(--muted); }
.code__pre{
  margin:0;
  padding: 12px;
  font-size: 13px;
  color: color-mix(in srgb, var(--text) 88%, var(--muted));
  white-space: pre-wrap;
}

.section{
  padding: 56px 0;
}
.section--alt{
  background: linear-gradient(180deg,
    color-mix(in srgb, var(--surface2) 35%, transparent),
    transparent
  );
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section__head{
  display:flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}
.section__head h2{
  margin:0;
  font-size: 26px;
  letter-spacing: -.2px;
}
.muted{ color: var(--muted); }
.small{ font-size: 12.5px; }

.cards{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 12px;
}
.card{
  border: 1px solid var(--line);
  border-radius: var(--radius2);
  padding: 18px;
  background: color-mix(in srgb, var(--surface) 72%, transparent);
  box-shadow: 0 12px 30px rgba(0,0,0,.12);
}
.card h3{ margin: 0 0 8px; }
.list{
  margin: 12px 0 0;
  padding-left: 18px;
  color: color-mix(in srgb, var(--muted) 92%, var(--text));
}
.list li{ margin: 6px 0; }

.split{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.panel2{
  border: 1px solid var(--line);
  border-radius: var(--radius2);
  padding: 18px;
  background: color-mix(in srgb, var(--surface) 75%, transparent);
  box-shadow: var(--shadow);
}
.tabs{
  display:flex;
  gap: 8px;
  margin-top: 10px;
  flex-wrap: wrap;
}
.tab{
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  padding: 8px 10px;
  border-radius: 12px;
  cursor:pointer;
  font-weight: 700;
  font-size: 13px;
}
.tab.is-active{
  color: #061015;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  border-color: transparent;
}
.pre{
  border: 1px solid var(--line);
  border-radius: 14px;
  background: color-mix(in srgb, var(--bg2) 70%, transparent);
  padding: 12px;
  margin: 12px 0 6px;
  overflow:auto;
}
.pre code{
  font-size: 13px;
  color: color-mix(in srgb, var(--text) 90%, var(--muted));
}

.bullets{
  display:grid;
  gap: 10px;
  margin-top: 12px;
}
.bullet{
  display:flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px;
  background: color-mix(in srgb, var(--surface2) 60%, transparent);
}
.bullet__k{ font-weight: 800; }
.bullet__v{ color: var(--muted); }

.callout{
  margin-top: 14px;
  border: 1px solid color-mix(in srgb, var(--accent) 30%, var(--line));
  background: color-mix(in srgb, var(--accent) 10%, transparent);
  border-radius: 16px;
  padding: 12px;
  color: color-mix(in srgb, var(--text) 90%, var(--muted));
}

.docs{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 12px;
}
.doc{
  border: 1px solid var(--line);
  border-radius: var(--radius2);
  padding: 18px;
  background: color-mix(in srgb, var(--surface) 72%, transparent);
}
.doc h3{ margin: 0 0 6px; }
.link{
  display:inline-block;
  margin-top: 10px;
  color: color-mix(in srgb, var(--accent) 70%, var(--text));
  font-weight: 800;
}

.tableWrap{
  border: 1px solid var(--line);
  border-radius: var(--radius2);
  overflow:auto;
  background: color-mix(in srgb, var(--surface) 70%, transparent);
}
.table{
  width:100%;
  border-collapse: collapse;
  min-width: 720px;
}
.table th,.table td{
  padding: 14px 14px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.table th{
  text-align:left;
  color: var(--muted);
  font-weight: 800;
}
.table tr:hover td{
  background: color-mix(in srgb, var(--surface2) 55%, transparent);
}

.status{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 12px;
}
.status__card{
  display:flex;
  gap: 12px;
  align-items:flex-start;
  border: 1px solid var(--line);
  border-radius: var(--radius2);
  padding: 18px;
  background: color-mix(in srgb, var(--surface) 72%, transparent);
}
.status__badge{
  width: 12px; height: 12px;
  border-radius: 99px;
  margin-top: 5px;
  box-shadow: 0 0 0 6px rgba(151,245,209,.10);
}
.status__badge.ok{ background: var(--accent); }
.status__badge.soft{ background: color-mix(in srgb, var(--accent2) 70%, #fff 0%); box-shadow: 0 0 0 6px rgba(122,167,255,.10); }
.status__title{ font-weight: 900; }

.footerCta{
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius2);
  padding: 18px;
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 14px;
  background: color-mix(in srgb, var(--surface2) 55%, transparent);
}

.footer{
  padding: 36px 0 46px;
  border-top: 1px solid var(--line);
}
.footer__grid{
  display:grid;
  grid-template-columns: 1.2fr .6fr 1fr;
  gap: 18px;
  align-items:start;
}
.brand--footer .brand__tag{ display:none; }
.footer__links{
  display:grid;
  gap: 10px;
}
.footer__links a{
  color: var(--muted);
  padding: 6px 0;
}
.footer__links a:hover{ color: var(--text); }
.footer__meta{
  display:grid;
  gap: 6px;
  text-align:right;
}

/* Responsive */
@media (max-width: 980px){
  .hero__grid{ grid-template-columns: 1fr; }
  .cards, .docs, .status{ grid-template-columns: 1fr; }
  .split{ grid-template-columns: 1fr; }
  .hero__stats{ grid-template-columns: 1fr; }
  .section__head{ flex-direction: column; align-items: flex-start; }
  .footer__grid{ grid-template-columns: 1fr; }
  .footer__meta{ text-align:left; }
  .nav{ display:none; }
  .burger{ display:inline-block; }
}

@media (prefers-reduced-motion: reduce){
  *{ transition:none !important; scroll-behavior:auto !important; }
}

