:root{
  --bg:#0b1220;
  --bg2:#0f1b2f;
  --card:rgba(255,255,255,.06);
  --card2:rgba(255,255,255,.09);
  --border:rgba(255,255,255,.12);
  --text:rgba(255,255,255,.92);
  --muted:rgba(255,255,255,.72);
  --muted2:rgba(255,255,255,.6);
  --accent:#ff5a4e;
  --accent2:#ff7a6f;
  --focus:rgba(255,90,78,.35);
  --shadow: 0 18px 60px rgba(0,0,0,.35);
  --radius:18px;
  --radius2:26px;
  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  --sans: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family:var(--sans);
  color:var(--text);
  background:
    radial-gradient(1200px 800px at 15% 10%, rgba(255,90,78,.10), transparent 60%),
    radial-gradient(900px 650px at 85% 15%, rgba(120,180,255,.10), transparent 55%),
    linear-gradient(180deg, var(--bg), var(--bg2));
}

a{ color:inherit; text-decoration:none; }
a:hover{ text-decoration:underline; text-underline-offset: 3px; }

.container{
  max-width:1120px;
  margin:0 auto;
  padding:26px 16px 56px;
}

.topbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  flex-wrap:wrap;
  padding:14px 14px;
  border:1px solid var(--border);
  background:rgba(255,255,255,.04);
  border-radius:var(--radius2);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
  min-width: 240px;
}
.brand img{
  width:40px;
  height:40px;
  border-radius:10px;
}
.brand .title{
  display:flex;
  flex-direction:column;
  line-height:1.1;
}
.brand .title strong{ font-size: 15px; letter-spacing:.2px; }
.brand .title span{ font-size: 12px; opacity:.75; }

.nav{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  justify-content:flex-end;
}
.nav a{
  padding:10px 12px;
  border-radius: 999px;
  border:1px solid transparent;
  opacity:.92;
}
.nav a:hover{
  background:rgba(255,255,255,.06);
  border-color:rgba(255,255,255,.10);
  text-decoration:none;
}

.hero{
  margin-top:18px;
  padding:22px;
  border-radius: var(--radius2);
  border:1px solid var(--border);
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  box-shadow: var(--shadow);
}
.hero h1{
  margin:0 0 8px 0;
  font-size: 40px;
  letter-spacing:-.6px;
}
.hero p{
  margin:0;
  opacity:.82;
  line-height:1.55;
  max-width: 72ch;
}
.hero .ctaRow{
  margin-top:16px;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:11px 14px;
  border-radius: 14px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  cursor:pointer;
  user-select:none;
}
.btn:hover{ background: rgba(255,255,255,.09); }
.btn.primary{
  border-color: rgba(255,90,78,.45);
  background: linear-gradient(180deg, rgba(255,90,78,.22), rgba(255,90,78,.12));
}
.btn.primary:hover{
  background: linear-gradient(180deg, rgba(255,90,78,.28), rgba(255,90,78,.14));
}
.btn.small{ padding:9px 12px; border-radius: 12px; font-size: 14px; }
.btn:disabled{ opacity:.5; cursor:not-allowed; }

.grid{
  margin-top:16px;
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  gap:14px;
}
.card{
  grid-column: span 6;
  padding:16px;
  border-radius: var(--radius);
  border:1px solid var(--border);
  background: var(--card);
}
.card h3{ margin:0 0 6px 0; }
.card p{ margin:0; opacity:.82; line-height:1.5; }
.card .meta{ margin-top:10px; opacity:.72; font-size: 13px; }
@media (max-width: 840px){
  .card{ grid-column: span 12; }
}

.section{
  margin-top:20px;
  padding:18px;
  border-radius: var(--radius2);
  border:1px solid var(--border);
  background: rgba(255,255,255,.04);
}

.section h2{ margin:0 0 10px 0; font-size: 22px; letter-spacing:-.2px; }
.section p{ margin:0; opacity:.82; line-height:1.55; }

hr.sep{
  margin:22px 0;
  border:0;
  height:1px;
  background: rgba(255,255,255,.12);
}

.playground{
  margin-top:12px;
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  gap:14px;
}
.field{
  grid-column: span 6;
}
.field.wide{ grid-column: span 12; }
label{
  display:block;
  font-size: 13px;
  opacity: .85;
  margin:0 0 7px 0;
}
input, select, textarea{
  width:100%;
  padding:11px 12px;
  border-radius: 14px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.18);
  color: var(--text);
  outline:none;
}
textarea{ resize: vertical; min-height: 120px; }
input:focus, select:focus, textarea:focus{
  border-color: rgba(255,90,78,.55);
  box-shadow: 0 0 0 4px var(--focus);
}
pre.output{
  white-space: pre-wrap;
  background: rgba(0,0,0,.25);
  border:1px solid rgba(255,255,255,.14);
  border-radius: 16px;
  padding: 14px;
  min-height: 220px;
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.5;
  overflow:auto;
}

.badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding: 6px 10px;
  border-radius: 999px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.05);
  font-size: 12px;
  opacity: .9;
}

.footer{
  margin-top:28px;
  opacity:.72;
  font-size: 13px;
  padding: 0 4px;
  display:flex;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:10px;
}
.hidden{ display:none !important; }
.muted{ opacity:.82; }
