 :root{
      --bg:#0b0f16;
      --panel:#0f1422;
      --card:#0c1220;
      --txt:#e9eef6;
      --muted:#9fb2c4;
      --stroke:rgba(255,255,255,.14);
      --stroke2:rgba(255,255,255,.08);
      --glass:linear-gradient(180deg,rgba(255,255,255,.10),rgba(255,255,255,.04));
      --vio:#8b5cf6;
      --cyn:#06b6d4;
      --gold:#c7b37b;
      --ok:#22c55e;
      --warn:#f59e0b;
      --bad:#ef4444;
      --r:22px;
      --shadow:0 24px 60px rgba(0,0,0,.45);
    }
    *{box-sizing:border-box}
    html,body{height:100%}
body{
  margin:0;
  color:var(--txt);
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Inter, Arial, sans-serif;
  background:#0b0f16;          /* solid base */
  overflow-x:hidden;
  position:relative;
}

/* GRADIENT LAYER (blurred so no banding) */
body::before{
  content:"";
  position:fixed;
  inset:-80px;                /* overscan so blur doesn't clip */
  pointer-events:none;
  z-index:-2;

  background:
    radial-gradient(900px 520px at 12% 12%, rgba(139,92,246,.35), transparent 65%),
    radial-gradient(900px 520px at 88% 22%, rgba(6,182,212,.28), transparent 65%),
    radial-gradient(900px 520px at 50% 110%, rgba(199,179,123,.18), transparent 70%);

  filter: blur(38px) saturate(115%);
  transform: translateZ(0);   /* keep it smooth */
  opacity: .95;
}

/* GRAIN/DITHER LAYER (kills the last banding) */
body::after{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  z-index:-1;
  opacity:.12;                /* 0.08–0.18 */
  mix-blend-mode: overlay;

  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='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='260' height='260' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E");
}


    .wrap{max-width:1100px;margin:0 auto;padding:24px 18px 56px}

    header{
      display:flex; align-items:center; justify-content:space-between;
      gap:16px; padding:12px 6px 18px;
    }
    .brand{display:flex;align-items:center;gap:12px;min-width:240px}
    .mark{
      width:42px;height:42px;border-radius:14px;
      box-shadow: 0 14px 30px rgba(139,92,246,.20), 0 14px 30px rgba(6,182,212,.12);
      border:1px solid rgba(255,255,255,.22);
    }
    .brand .t{line-height:1.05}
    .brand .t strong{display:block;font-size:14px;letter-spacing:.3px}
    .brand .t span{display:block;font-size:12px;color:var(--muted)}

    .toplinks{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}
    .chip{
      display:inline-flex;align-items:center;gap:8px;
      padding:8px 10px;border-radius:999px;
      border:1px solid var(--stroke);
      background:rgba(255,255,255,.03);
      color:var(--muted);
      text-decoration:none;
      font-size:12px;
    }
    .chip b{color:var(--txt);font-weight:600}

    .grid{
      display:grid;
      grid-template-columns: 1.15fr .85fr;
      gap:18px;
      align-items:start;
      margin-top:10px;
    }
    @media (max-width: 980px){
      .grid{grid-template-columns:1fr}
      .brand{min-width:auto}
    }

    .panel{
      border-radius:var(--r);
      border:1px solid var(--stroke);
      background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
      box-shadow: var(--shadow);
      overflow:hidden;
      position:relative;
    }
    .panel:before{
      content:"";
      position:absolute; inset:-2px;
      background: radial-gradient(600px 260px at 12% 0%, rgba(139,92,246,.22), transparent 55%),
                  radial-gradient(520px 240px at 88% 12%, rgba(6,182,212,.18), transparent 52%);
      filter: blur(2px);
      opacity:.55;
      pointer-events:none;
    }

    .panel > *{position:relative}

    .hero{
      padding:22px 22px 16px;
      border-bottom:1px solid var(--stroke2);
      display:flex; gap:14px; justify-content:space-between; align-items:flex-start;
    }
    .hero h1{
      margin:0;
      font-size:20px;
      letter-spacing:.2px;
    }
    .hero p{
      margin:8px 0 0;
      color:var(--muted);
      font-size:13px;
      max-width:60ch;
      line-height:1.4;
    }
    .badge{
      display:inline-flex;
      align-items:center;
      gap:8px;
      padding:8px 10px;
      border-radius:999px;
      border:1px solid rgba(199,179,123,.35);
      background: rgba(199,179,123,.08);
      color: var(--gold);
      font-size:12px;
      white-space:nowrap;
    }

    .content{padding:18px 22px 22px}

    form{display:grid;gap:14px}

    .row{display:grid;grid-template-columns:1fr 1fr;gap:12px}
    @media (max-width: 640px){.row{grid-template-columns:1fr}}

    label{display:block;font-size:12px;color:var(--muted);margin-bottom:7px}

    .field{position:relative}

    input, select, textarea{
      width:100%;
      color:var(--txt);
      background: rgba(0,0,0,.22);
      border:1px solid var(--stroke);
      border-radius:14px;
      padding:12px 12px;
      outline:none;
      font-size:14px;
      transition: border-color .15s ease, box-shadow .15s ease, transform .12s ease;
    }
    textarea{min-height:92px;resize:vertical}

    input:focus, select:focus, textarea:focus{
      border-color: rgba(6,182,212,.55);
      box-shadow: 0 0 0 4px rgba(6,182,212,.12);
    }

    .help{margin-top:6px;font-size:12px;color:rgba(159,178,196,.85);line-height:1.35}

    .hint{
      display:flex; gap:10px; flex-wrap:wrap; align-items:center;
      padding:12px 12px;
      border-radius:16px;
      border:1px dashed rgba(255,255,255,.18);
      background: rgba(255,255,255,.03);
      color: var(--muted);
      font-size:12px;
      line-height:1.35;
    }
    .hint code{
      background: rgba(0,0,0,.25);
      border:1px solid rgba(255,255,255,.12);
      padding:3px 7px;
      border-radius:10px;
      color: rgba(233,238,246,.92);
    }

    .actions{
      display:flex; gap:12px; flex-wrap:wrap;
      align-items:center; justify-content:space-between;
      padding-top:6px;
    }

    .btn{
      appearance:none;
      border:0;
      cursor:pointer;
      padding:12px 14px;
      border-radius:16px;
      font-weight:700;
      letter-spacing:.2px;
      color:#061018;
      background: linear-gradient(135deg, rgba(139,92,246,.95), rgba(6,182,212,.9));
      box-shadow: 0 14px 30px rgba(139,92,246,.18), 0 14px 30px rgba(6,182,212,.10);
      transition: transform .12s ease, filter .12s ease;
      min-width: 200px;
      text-align:center;
    }
    .btn:hover{transform: translateY(-1px); filter:saturate(1.05)}
    .btn:active{transform: translateY(0px); filter:saturate(1)}

    .btn2{
      display:inline-flex;align-items:center;gap:8px;
      padding:11px 12px;
      border-radius:16px;
      border:1px solid rgba(255,255,255,.16);
      background: rgba(255,255,255,.04);
      color: var(--txt);
      text-decoration:none;
      font-weight:600;
      font-size:13px;
    }

    .fineprint{font-size:12px;color:rgba(159,178,196,.9);line-height:1.4}
    .fineprint a{color:rgba(233,238,246,.95);text-decoration:none;border-bottom:1px solid rgba(255,255,255,.20)}

    /* Sidebar */
    .side{
      padding:20px;
    }
    .side h2{margin:0 0 10px;font-size:14px;letter-spacing:.2px}
    .side p{margin:0 0 14px;color:var(--muted);font-size:12.5px;line-height:1.45}

    .steps{display:grid;gap:10px;margin-top:12px}
    .step{
      display:flex;gap:10px;
      padding:12px;
      border-radius:18px;
      border:1px solid rgba(255,255,255,.12);
      background: rgba(0,0,0,.16);
    }
    .num{
      width:28px;height:28px;border-radius:10px;
      display:grid;place-items:center;
      background: rgba(139,92,246,.18);
      border:1px solid rgba(139,92,246,.35);
      color: rgba(233,238,246,.95);
      font-weight:800;
      font-size:12px;
      flex:0 0 auto;
      margin-top:1px;
    }
    .step b{display:block;font-size:12.5px;margin-bottom:4px}
    .step span{display:block;font-size:12px;color:rgba(159,178,196,.92);line-height:1.35}

    .kpi{
      margin-top:14px;
      display:grid;
      grid-template-columns:1fr 1fr;
      gap:10px;
    }
    .tile{
      padding:12px;
      border-radius:18px;
      border:1px solid rgba(255,255,255,.12);
      background: rgba(255,255,255,.03);
    }
    .tile small{display:block;color:var(--muted);font-size:11px;margin-bottom:6px}
    .tile strong{display:block;font-size:14px}

    footer{
      margin-top:18px;
      color:rgba(159,178,196,.9);
      font-size:12px;
      display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;
      padding:10px 6px 0;
    }

    /* Pure CSS validation hints (optional) */
    input:required:invalid, textarea:required:invalid{
      border-color: rgba(239,68,68,.45);
    }
    input:required:valid, textarea:required:valid{
      border-color: rgba(34,197,94,.35);
    }

    .brand-logo{width:38px;height:38px;border-radius:14px}


    /* Accessibility */
    .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}
  

    .notice{
  margin:14px 0;
  padding:12px 14px;
  border-radius:12px;
  font-size:14px;
  font-weight:600;
  line-height:1.4;
  border:1px solid transparent;
}

.notice-error{
  background:linear-gradient(180deg, rgba(239,68,68,.18), rgba(239,68,68,.08));
  border-color:rgba(239,68,68,.45);
  color:#fecaca;
  box-shadow:0 0 0 3px rgba(239,68,68,.12);
}
    