:root{
  --bg:#070912;
  --panel:#0c1022;
  --panel2:#0a0d1a;
  --muted:#97a2c2;
  --text:#e8ecff;

  --neon:#7c5cff;
  --neon2:#22f0c7;
  --neon3:#ff4fd8;

  --border:rgba(255,255,255,.08);
  --shadow: 0 18px 50px rgba(0,0,0,.55);

  --radius:18px;
  --radius2:24px;

  --font: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono","Courier New", monospace;

  --container: 1120px;
}

/* Base */
*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family:var(--font);
  color:var(--text);
  background: var(--bg);
  line-height:1.5;
  overflow-x:hidden;
}

a{ color:inherit; text-decoration:none; }
a:hover{ opacity:.92; }
button,input,textarea{ font:inherit; }

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

.skip{
  position:absolute;
  left:-999px;
  top:12px;
  padding:10px 12px;
  background:rgba(0,0,0,.7);
  border:1px solid var(--border);
  border-radius:12px;
  z-index:9999;
}
.skip:focus{ left:12px; outline:none; }

/* Background */
.bg{
  position:fixed;
  inset:0;
  pointer-events:none;
  z-index:-1;
}
.bg__grid{
  position:absolute;
  inset:-2px;
  background:
    linear-gradient(to right, rgba(255,255,255,.05) 1px, transparent 1px) 0 0/80px 80px,
    linear-gradient(to bottom, rgba(255,255,255,.05) 1px, transparent 1px) 0 0/80px 80px;
  mask-image: radial-gradient(ellipse at 20% 10%, rgba(0,0,0,1), rgba(0,0,0,0) 65%);
  opacity:.35;
}
.bg__noise{
  position:absolute;
  inset:0;
  opacity:.06;
  background-image:
    repeating-linear-gradient(0deg, rgba(255,255,255,.07) 0 1px, rgba(0,0,0,0) 1px 2px);
  mix-blend-mode: overlay;
}
.bg__orbs{ position:absolute; inset:0; }
.orb{
  position:absolute;
  width:520px;
  height:520px;
  border-radius:50%;
  filter: blur(55px);
  opacity:.35;
  transform: translate3d(0,0,0);
  animation: float 12s ease-in-out infinite;
}
.orb--a{
  left:-140px; top:-140px;
  background: radial-gradient(circle at 30% 30%, var(--neon), transparent 60%);
  animation-duration: 14s;
}
.orb--b{
  right:-160px; top:10%;
  background: radial-gradient(circle at 30% 30%, var(--neon2), transparent 60%);
  animation-duration: 16s;
  animation-delay: -3s;
}
.orb--c{
  left:18%; bottom:-220px;
  width:680px; height:680px;
  background: radial-gradient(circle at 30% 30%, var(--neon3), transparent 60%);
  opacity:.22;
  animation-duration: 18s;
  animation-delay: -6s;
}
@keyframes float{
  0%,100%{ transform: translate3d(0,0,0) scale(1); }
  50%{ transform: translate3d(40px,-25px,0) scale(1.03); }
}

/* Navbar */
.nav-wrap{
  position:sticky;
  top:0;
  z-index:50;
  backdrop-filter: blur(14px);
  background: linear-gradient(180deg, rgba(7,9,18,.82), rgba(7,9,18,.55));
  border-bottom:1px solid var(--border);
}
.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 0;
  gap:18px;
}
.logo{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:800;
  letter-spacing:.2px;
}
.logo__mark{
  width:34px; height:34px;
  border-radius:12px;
  display:grid;
  place-items:center;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,.18), rgba(255,255,255,.06) 40%, rgba(255,255,255,.02) 70%),
    linear-gradient(135deg, rgba(124,92,255,.9), rgba(34,240,199,.6));
  border:1px solid rgba(255,255,255,.12);
  box-shadow: 0 10px 30px rgba(124,92,255,.18);
}
.logo--small .logo__mark{ width:30px; height:30px; }
.nav__links{
  display:flex;
  align-items:center;
  gap:18px;
  color:rgba(232,236,255,.9);
  font-weight:600;
}
.nav__links a{
  padding:8px 10px;
  border-radius:12px;
  border:1px solid transparent;
}
.nav__links a:hover{
  border-color:rgba(255,255,255,.08);
  background:rgba(255,255,255,.03);
}

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

.nav__toggle{
  display:none;
  width:46px; height:42px;
  border-radius:14px;
  border:1px solid var(--border);
  background:rgba(255,255,255,.03);
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
  cursor:pointer;
}
.nav__toggle span{
  display:block;
  width:20px;
  height:2px;
  background:rgba(232,236,255,.9);
  margin:4px auto;
  border-radius:6px;
}

/* Buttons */
.btn{
  position:relative;
  border:1px solid var(--border);
  background:rgba(255,255,255,.03);
  color:var(--text);
  border-radius:14px;
  padding:10px 14px;
  font-weight:700;
  cursor:pointer;
  transition: transform .15s ease, border-color .15s ease, background .15s ease, box-shadow .15s ease;
}
.btn:hover{ transform: translateY(-1px); border-color:rgba(255,255,255,.14); }
.btn:active{ transform: translateY(0); }
.btn:focus-visible{ outline:2px solid rgba(124,92,255,.8); outline-offset:2px; }

.btn--primary{
  border-color: rgba(124,92,255,.35);
  background:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,.12), rgba(255,255,255,0) 40%),
    linear-gradient(135deg, rgba(124,92,255,.95), rgba(34,240,199,.55));
  box-shadow: 0 20px 60px rgba(124,92,255,.22);
}
.btn--primary:hover{ box-shadow: 0 24px 70px rgba(124,92,255,.28); }
.btn--ghost{
  background:rgba(255,255,255,.02);
}
.btn__glow{
  position:absolute;
  inset:-2px;
  border-radius:16px;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.18), rgba(255,255,255,0) 55%);
  opacity:.65;
  mix-blend-mode: overlay;
  pointer-events:none;
}
.w100{ width:100%; }

/* Sections */
.section{
  padding:72px 0;
}
.section__head{
  max-width: 820px;
  margin:0 0 22px;
}
.section__head h2{
  margin:0 0 10px;
  font-size: clamp(26px, 3.4vw, 40px);
  letter-spacing: -0.02em;
}
.section__sub{
  margin:0;
  color:var(--muted);
  font-size: 16px;
}

/* Hero */
.hero{
  padding: 48px 0 40px;
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap:22px;
  align-items:start;
}
.chip{
  display:inline-flex;
  gap:10px;
  align-items:center;
  padding:8px 12px;
  border-radius: 999px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.03);
  color: rgba(232,236,255,.92);
  box-shadow: 0 20px 60px rgba(0,0,0,.3);
  margin-bottom: 14px;
}
.chip__dot{
  width:10px; height:10px;
  border-radius:50%;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.85), rgba(255,255,255,.1));
  box-shadow: 0 0 0 4px rgba(124,92,255,.18);
}
.hero h1{
  margin:0 0 12px;
  font-size: clamp(34px, 4.8vw, 56px);
  line-height:1.05;
  letter-spacing:-0.03em;
}
.lead{
  margin:0 0 18px;
  color: rgba(232,236,255,.9);
  font-size: 16.5px;
}
.hero__actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-bottom: 18px;
}
.hero__stats{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap:10px;
}
.stat{
  border:1px solid var(--border);
  background: rgba(255,255,255,.02);
  border-radius: 16px;
  padding:12px;
}
.stat__k{ color: var(--muted); font-size:12px; text-transform:uppercase; letter-spacing:.12em; }
.stat__v{ font-weight:800; margin-top:4px; }

.panel{
  border:1px solid rgba(255,255,255,.10);
  background:
    radial-gradient(circle at 20% 0%, rgba(124,92,255,.15), transparent 45%),
    radial-gradient(circle at 90% 10%, rgba(34,240,199,.10), transparent 45%),
    rgba(255,255,255,.02);
  border-radius: var(--radius2);
  box-shadow: var(--shadow);
  overflow:hidden;
}
.panel__head{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:10px;
  padding:14px 16px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.panel__title{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:800;
}
.panel__meta{ display:flex; gap:8px; flex-wrap:wrap; justify-content:flex-end; }

.pill{
  display:inline-flex;
  align-items:center;
  padding:6px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.10);
  font-weight:800;
}
.pill--soft{
  background: rgba(124,92,255,.08);
  border-color: rgba(124,92,255,.16);
}

.badge{
  padding:6px 10px;
  border-radius: 999px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.18);
  color: rgba(232,236,255,.9);
  font-size:12px;
  font-weight:800;
}
.badge--ok{
  border-color: rgba(34,240,199,.25);
  background: rgba(34,240,199,.10);
}
.muted{ color:var(--muted); }
.tiny{ font-size:12px; }

.panel--timeline{ padding-bottom:8px; }
.timeline{
  list-style:none;
  margin:0;
  padding: 12px 16px 16px;
  display:flex;
  flex-direction:column;
  gap:12px;
}
.timeline__item{
  display:grid;
  grid-template-columns: 40px 1fr;
  gap:12px;
  align-items:start;
  padding:10px;
  border-radius: 18px;
  border:1px solid rgba(255,255,255,.08);
  background: rgba(0,0,0,.16);
}
.timeline__icon{
  width:40px; height:40px;
  display:grid;
  place-items:center;
  border-radius: 14px;
  border:1px solid rgba(255,255,255,.10);
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.12), rgba(255,255,255,.02));
}
.timeline__top{
  display:flex;
  justify-content:space-between;
  gap:10px;
  align-items:center;
}
.timeline__label{ font-weight:900; }
.timeline__tag{
  font-family: var(--mono);
  font-size: 12px;
  color: rgba(232,236,255,.85);
  padding:4px 8px;
  border-radius:999px;
  background: rgba(124,92,255,.12);
  border:1px solid rgba(124,92,255,.20);
}
.timeline__text{ margin:6px 0 0; color: rgba(232,236,255,.85); font-size: 13.5px; }

.panel--mini{
  margin-top:12px;
  padding: 14px 16px;
  background: rgba(255,255,255,.02);
}
.mini__row{
  display:flex;
  justify-content:space-between;
  gap:10px;
  padding:6px 0;
  border-bottom:1px solid rgba(255,255,255,.06);
}
.mini__row:last-child{ border-bottom:none; }
.mini__k{
  color: var(--muted);
  text-transform:uppercase;
  letter-spacing:.14em;
  font-size: 11px;
  font-weight:800;
}
.mini__v{ font-weight:800; }

/* Cards & grids */
.grid3{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap:14px;
  margin-top:18px;
}
.grid2{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:14px;
  margin-top:18px;
}
.card{
  border:1px solid rgba(255,255,255,.10);
  background:
    radial-gradient(circle at 10% 0%, rgba(255,79,216,.10), transparent 45%),
    rgba(255,255,255,.02);
  border-radius: var(--radius2);
  padding:18px;
  box-shadow: 0 18px 50px rgba(0,0,0,.35);
}
.card__icon{
  width:44px; height:44px;
  border-radius:16px;
  display:grid;
  place-items:center;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  margin-bottom: 10px;
}
.card h3{ margin:0 0 8px; font-size: 18px; }
.card p{ margin:0 0 12px; color: rgba(232,236,255,.88); }
.list{
  margin:0;
  padding-left: 18px;
  color: rgba(232,236,255,.82);
}
.list li{ margin:6px 0; }

/* How timeline */
.how{
  margin-top:18px;
  display:grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap:12px;
  position:relative;
}
.how::before{
  content:"";
  position:absolute;
  left:12px; right:12px;
  top: 24px;
  height:2px;
  background: linear-gradient(90deg, rgba(124,92,255,.0), rgba(124,92,255,.5), rgba(34,240,199,.5), rgba(255,79,216,.0));
  opacity:.6;
}
.how__step{
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.02);
  border-radius: var(--radius2);
  padding:16px;
  position:relative;
  min-height: 140px;
}
.how__icon{
  width:36px; height:36px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.10);
  background: linear-gradient(135deg, rgba(124,92,255,.55), rgba(34,240,199,.25));
  display:grid;
  place-items:center;
  font-weight:900;
  margin-bottom: 10px;
  box-shadow: 0 18px 40px rgba(124,92,255,.18);
}
.how__body h3{ margin:0 0 6px; font-size: 16px; }
.how__body p{ margin:0; color: var(--muted); }

/* Code block */
.codeblock{
  margin-top:14px;
  border-radius: var(--radius2);
  border:1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.22);
  overflow:hidden;
}
.codeblock__bar{
  display:flex;
  align-items:center;
  gap:8px;
  padding:12px 14px;
  border-bottom:1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.02);
}
.dot{ width:10px; height:10px; border-radius:50%; }
.dot--r{ background:#ff5a7a; }
.dot--y{ background:#ffce57; }
.dot--g{ background:#40f3b8; }
.codeblock__title{
  margin-left:6px;
  color: rgba(232,236,255,.85);
  font-weight:800;
  font-size: 12px;
  font-family: var(--mono);
}
.codeblock pre{
  margin:0;
  padding:16px 14px;
  overflow:auto;
}
.codeblock code{
  font-family: var(--mono);
  font-size: 12.8px;
  color: rgba(232,236,255,.9);
}

/* Templates */
.templates{
  margin-top:18px;
  display:grid;
  grid-template-columns: 1fr 1.1fr;
  gap:14px;
  align-items:start;
}
.templates__grid{
  display:grid;
  gap:10px;
}
.tcard{
  text-align:left;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.02);
  border-radius: var(--radius2);
  padding:14px;
  cursor:pointer;
  transition: transform .15s ease, border-color .15s ease, background .15s ease;
}
.tcard:hover{ transform: translateY(-1px); border-color: rgba(255,255,255,.16); }
.tcard:focus-visible{ outline:2px solid rgba(34,240,199,.65); outline-offset:2px; }
.tcard.is-active{
  border-color: rgba(34,240,199,.30);
  background:
    radial-gradient(circle at 20% 0%, rgba(34,240,199,.12), transparent 45%),
    rgba(255,255,255,.02);
}
.tcard__top{
  display:flex;
  justify-content:space-between;
  gap:10px;
  align-items:center;
  margin-bottom:6px;
}
.tcard__name{ font-weight:900; }
.tcard__tag{
  font-family: var(--mono);
  font-size: 12px;
  color: rgba(232,236,255,.9);
  padding:4px 8px;
  border-radius:999px;
  background: rgba(255,79,216,.12);
  border:1px solid rgba(255,79,216,.20);
}
.tcard__desc{ margin:0; color: var(--muted); }

.preview{ padding-bottom:12px; }
.preview__head{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:10px;
  padding:14px 16px;
  border-bottom:1px solid rgba(255,255,255,.08);
}
.preview__pill{
  font-weight:900;
  padding:8px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.16);
}
.preview__body{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:14px;
  padding: 14px 16px 16px;
}
.preview h4{
  margin:0 0 10px;
  font-size: 13px;
  text-transform:uppercase;
  letter-spacing:.12em;
  color: rgba(232,236,255,.88);
}
.mt{ margin-top:16px; }
.codebox{
  margin:0;
  padding:12px 12px;
  border-radius: 16px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.22);
  font-family: var(--mono);
  font-size: 12.5px;
  color: rgba(232,236,255,.9);
  white-space: pre;
  overflow:auto;
  min-height: 180px;
}
.tools{
  margin:0;
  padding-left: 18px;
  color: rgba(232,236,255,.86);
}
.chatmini{
  display:flex;
  flex-direction:column;
  gap:10px;
}
.bubble{
  border:1px solid rgba(255,255,255,.10);
  border-radius: 18px;
  padding:10px 12px;
  background: rgba(255,255,255,.02);
}
.bubble--user{
  align-self:flex-end;
  max-width: 92%;
  background: rgba(124,92,255,.10);
  border-color: rgba(124,92,255,.18);
}
.bubble--agent{
  align-self:flex-start;
  max-width: 92%;
  background: rgba(34,240,199,.08);
  border-color: rgba(34,240,199,.16);
}
.bubble__role{
  font-size: 11px;
  text-transform:uppercase;
  letter-spacing:.12em;
  color: rgba(232,236,255,.8);
  font-weight:900;
  margin-bottom: 4px;
}
.bubble p{ margin:0; color: rgba(232,236,255,.92); }

/* Safety */
.pill-row{ display:flex; gap:8px; flex-wrap:wrap; margin-top:6px; }
.divider{ height:1px; background: rgba(255,255,255,.08); margin:14px 0; }

.risk__top{
  display:flex;
  justify-content:space-between;
  gap:10px;
  align-items:flex-start;
}
.risk__badge{
  font-weight:900;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.16);
}
.risk input[type="range"]{
  width:100%;
  margin:12px 0 10px;
  accent-color: var(--neon2);
}
.risk__grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:10px;
}
.risk__box{
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.02);
  border-radius: 18px;
  padding:10px 12px;
}
.risk__k{
  color: var(--muted);
  text-transform:uppercase;
  letter-spacing:.12em;
  font-size: 11px;
  font-weight:900;
}
.risk__v{ margin-top:6px; font-weight:800; color: rgba(232,236,255,.9); }

.sample{ padding: 10px 16px 16px; }
.sample__prompt, .sample__answer{
  border:1px solid rgba(255,255,255,.10);
  border-radius: 20px;
  padding:12px 12px;
  background: rgba(0,0,0,.16);
}
.sample__answer{
  margin-top:10px;
  background:
    radial-gradient(circle at 10% 0%, rgba(124,92,255,.14), transparent 45%),
    rgba(0,0,0,.16);
}
.sample__role{
  font-weight:900;
  font-size: 11px;
  text-transform:uppercase;
  letter-spacing:.12em;
  color: rgba(232,236,255,.82);
  margin-bottom: 6px;
}
.sample p{ margin:0; color: rgba(232,236,255,.92); }
.sample__meta{
  margin-top:8px;
  color: var(--muted);
  font-size: 12px;
}

/* Pricing */
.pricing{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap:12px;
  margin-top:18px;
}
.price{
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.02);
  border-radius: var(--radius2);
  padding:18px;
  box-shadow: 0 18px 50px rgba(0,0,0,.3);
}
.price__top{
  display:flex;
  justify-content:space-between;
  gap:10px;
  align-items:flex-start;
}
.price__tag{
  font-family: var(--mono);
  font-size: 12px;
  padding:4px 8px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.16);
  color: rgba(232,236,255,.85);
}
.price__amount{
  margin:12px 0 12px;
  display:flex;
  align-items:baseline;
  gap:6px;
}
.price__num{ font-size: 34px; font-weight: 950; letter-spacing: -0.02em; }
.price__per{ color: var(--muted); font-weight:800; }
.price--featured{
  border-color: rgba(34,240,199,.28);
  background:
    radial-gradient(circle at 20% 0%, rgba(34,240,199,.16), transparent 45%),
    rgba(255,255,255,.02);
  box-shadow: 0 26px 80px rgba(34,240,199,.12);
  transform: translateY(-4px);
}

.table-wrap{
  margin-top:14px;
  border:1px solid rgba(255,255,255,.10);
  border-radius: var(--radius2);
  overflow:hidden;
  background: rgba(0,0,0,.18);
}
.table{
  width:100%;
  border-collapse: collapse;
}
.table th, .table td{
  padding:14px 12px;
  border-bottom:1px solid rgba(255,255,255,.08);
  text-align:left;
}
.table th{
  background: rgba(255,255,255,.03);
  font-size: 12px;
  text-transform:uppercase;
  letter-spacing:.12em;
  color: rgba(232,236,255,.85);
}
.table td{ color: rgba(232,236,255,.88); }
.table tr:last-child td{ border-bottom:none; }

/* Accordion */
.accordion{ margin-top: 18px; display:grid; gap:10px; }
.acc{
  border:1px solid rgba(255,255,255,.10);
  border-radius: var(--radius2);
  background: rgba(255,255,255,.02);
  overflow:hidden;
}
.acc__btn{
  width:100%;
  text-align:left;
  display:flex;
  justify-content:space-between;
  gap:10px;
  align-items:center;
  padding:14px 16px;
  background:transparent;
  border:none;
  color: rgba(232,236,255,.95);
  font-weight:900;
  cursor:pointer;
}
.acc__btn:focus-visible{ outline:2px solid rgba(124,92,255,.75); outline-offset:2px; }
.acc__icon{
  width:32px; height:32px;
  border-radius: 12px;
  display:grid;
  place-items:center;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.18);
  font-weight:900;
}
.acc__panel{
  max-height:0;
  overflow:hidden;
  transition: max-height .25s ease;
  padding:0 16px;
}
.acc__panel p{
  margin:0;
  padding: 0 0 14px;
  color: rgba(232,236,255,.86);
}
.acc.is-open .acc__panel{ padding-top: 0; }
.acc.is-open .acc__icon{ background: rgba(34,240,199,.10); border-color: rgba(34,240,199,.25); }

/* Footer */
.footer{
  border-top:1px solid rgba(255,255,255,.08);
  background: rgba(0,0,0,.12);
  padding-top: 34px;
}
.footer__grid{
  display:grid;
  grid-template-columns: 1.2fr .6fr 1fr;
  gap:18px;
  padding-bottom: 28px;
}
.footer__links h4,
.footer__cta h4{
  margin:0 0 10px;
  font-size: 13px;
  text-transform:uppercase;
  letter-spacing:.12em;
  color: rgba(232,236,255,.88);
}
.footer__links a{
  display:block;
  padding:8px 0;
  color: rgba(232,236,255,.9);
  border-bottom:1px dashed rgba(255,255,255,.08);
}
.footer__links a:last-child{ border-bottom:none; }
.footer__meta{ display:flex; gap:8px; flex-wrap:wrap; margin-top:10px; }

.subscribe{
  display:flex;
  gap:10px;
  margin-top:10px;
}
.subscribe input{
  flex:1;
  padding:10px 12px;
  border-radius: 14px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.18);
  color: rgba(232,236,255,.92);
}
.subscribe input:focus{
  outline:none;
  border-color: rgba(124,92,255,.35);
  box-shadow: 0 0 0 4px rgba(124,92,255,.18);
}
.footer__bottom{
  border-top:1px solid rgba(255,255,255,.06);
  padding: 14px 0;
}
.footer__bottomInner{
  display:flex;
  justify-content:space-between;
  gap:12px;
  align-items:center;
}

/* Modal */
.modal{
  position:fixed;
  inset:0;
  display:none;
  align-items:center;
  justify-content:center;
  z-index:100;
}
.modal.is-open{ display:flex; }
.modal__backdrop{
  position:absolute;
  inset:0;
  background: rgba(0,0,0,.62);
  backdrop-filter: blur(10px);
}
.modal__panel{
  position:relative;
  width: min(1100px, calc(100% - 26px));
  border-radius: 24px;
  border:1px solid rgba(255,255,255,.12);
  background:
    radial-gradient(circle at 15% 0%, rgba(124,92,255,.18), transparent 45%),
    radial-gradient(circle at 90% 10%, rgba(34,240,199,.12), transparent 45%),
    rgba(10,13,26,.94);
  box-shadow: 0 30px 90px rgba(0,0,0,.65);
  overflow:hidden;
}
.modal__head{
  display:flex;
  justify-content:space-between;
  gap:12px;
  align-items:flex-start;
  padding:14px 16px;
  border-bottom:1px solid rgba(255,255,255,.08);
}
.modal__title{ font-weight:950; font-size: 16px; }
.modal__sub{ font-size: 13px; }
.iconbtn{
  width:42px; height:42px;
  border-radius: 14px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.18);
  color: rgba(232,236,255,.92);
  cursor:pointer;
}
.iconbtn:focus-visible{ outline:2px solid rgba(34,240,199,.7); outline-offset:2px; }
.modal__body{ padding: 14px; }

.play{
  display:grid;
  grid-template-columns: .92fr 1.08fr;
  gap:12px;
}
.play__card{
  border:1px solid rgba(255,255,255,.10);
  border-radius: 22px;
  background: rgba(0,0,0,.18);
  padding:14px;
}
.play__label{
  font-size: 12px;
  text-transform:uppercase;
  letter-spacing:.12em;
  color: rgba(232,236,255,.82);
  font-weight:900;
  margin-bottom: 8px;
}
.play textarea{
  width:100%;
  resize: vertical;
  min-height: 110px;
  padding:10px 12px;
  border-radius: 16px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.18);
  color: rgba(232,236,255,.92);
}
.play textarea:focus{
  outline:none;
  border-color: rgba(124,92,255,.35);
  box-shadow: 0 0 0 4px rgba(124,92,255,.18);
}
.play__controls{
  display:flex;
  gap:10px;
  margin-top:10px;
  flex-wrap:wrap;
}
.play__card--meta .kv__row{ border-bottom:1px solid rgba(255,255,255,.06); }
.kv__row{
  display:flex;
  justify-content:space-between;
  gap:10px;
  padding:8px 0;
}
.kv__row:last-child{ border-bottom:none; }
.kv__k{
  color: var(--muted);
  text-transform:uppercase;
  letter-spacing:.12em;
  font-size: 11px;
  font-weight:900;
}
.kv__v{ font-weight:800; color: rgba(232,236,255,.9); }
.play__hint{ margin-top:10px; }

.console{
  border:1px solid rgba(255,255,255,.10);
  border-radius: 22px;
  background: rgba(0,0,0,.18);
  overflow:hidden;
  display:flex;
  flex-direction:column;
  min-height: 280px;
}
.console:focus{ outline:none; box-shadow: 0 0 0 4px rgba(34,240,199,.12); }
.console__head{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  align-items:center;
  padding:12px 12px;
  border-bottom:1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.02);
}
.console__body{
  padding:12px;
  overflow:auto;
  font-family: var(--mono);
  font-size: 12.6px;
  color: rgba(232,236,255,.92);
}
.line{
  padding:8px 10px;
  border-radius: 14px;
  border:1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.02);
  margin-bottom: 8px;
}
.line__meta{
  display:flex;
  justify-content:space-between;
  gap:10px;
  color: rgba(232,236,255,.78);
  font-size: 11px;
  margin-bottom: 4px;
}
.line__tag{
  padding:3px 8px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.16);
}
.line--tool{
  border-color: rgba(34,240,199,.22);
  background: rgba(34,240,199,.08);
}
.line--warn{
  border-color: rgba(255,206,87,.22);
  background: rgba(255,206,87,.08);
}
.line--ok{
  border-color: rgba(124,92,255,.26);
  background: rgba(124,92,255,.08);
}
.line code{ font-family: var(--mono); }

.trace{
  margin-top:12px;
  border:1px solid rgba(255,255,255,.10);
  border-radius: 22px;
  background: rgba(0,0,0,.18);
  overflow:hidden;
}
.trace__head{
  display:flex;
  justify-content:space-between;
  gap:10px;
  align-items:center;
  padding:12px 12px;
  border-bottom:1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.02);
}
.trace__body{
  padding: 12px;
  display:grid;
  gap:8px;
}
.traceitem{
  border:1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  padding:10px 10px;
  background: rgba(255,255,255,.02);
  display:flex;
  justify-content:space-between;
  gap:10px;
  align-items:center;
}
.traceitem__k{
  font-family: var(--mono);
  font-size: 12px;
  color: rgba(232,236,255,.9);
}
.traceitem__v{
  color: var(--muted);
  font-size: 12px;
  font-weight:800;
}

/* Reveal */
.reveal{
  opacity:0;
  transform: translateY(14px);
  transition: opacity .5s ease, transform .55s ease;
  will-change: opacity, transform;
}
.reveal.is-visible{
  opacity:1;
  transform: translateY(0);
}

/* SR-only */
.sr-only{
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0;
}

/* Responsive */
@media (max-width: 980px){
  .hero{ grid-template-columns: 1fr; }
  .templates{ grid-template-columns: 1fr; }
  .preview__body{ grid-template-columns: 1fr; }
  .grid3{ grid-template-columns: 1fr; }
  .grid2{ grid-template-columns: 1fr; }
  .pricing{ grid-template-columns: 1fr; }
  .how{ grid-template-columns: 1fr; }
  .how::before{ display:none; }
  .footer__grid{ grid-template-columns: 1fr; }
  .play{ grid-template-columns: 1fr; }
}

@media (max-width: 820px){
  .nav__toggle{ display:block; }
  .nav__links{
    position:absolute;
    left: 20px;
    right: 20px;
    top: 66px;
    display:none;
    flex-direction:column;
    gap:6px;
    padding:12px;
    border:1px solid rgba(255,255,255,.10);
    border-radius: 20px;
    background: rgba(10,13,26,.92);
    box-shadow: 0 20px 60px rgba(0,0,0,.5);
  }
  .nav__links.is-open{ display:flex; }
  .nav__cta{ margin-left:auto; }
}
