:root{
  color-scheme:dark;
  --bg:#050b14;
  --panel:#0b1525;
  --panel2:#0f1b2d;
  --text:#eef6ff;
  --muted:rgba(238,246,255,.66);
  --faint:rgba(238,246,255,.44);
  --line:rgba(255,255,255,.12);
  --line2:rgba(255,255,255,.18);
  --cyan:#7dd3fc;
  --violet:#a5b4fc;
  --mint:#5eead4;
  --green:#86efac;
  --amber:#fde68a;
  --shadow:0 32px 100px rgba(0,0,0,.42);
}

*{box-sizing:border-box}
html{min-height:100%;background:var(--bg)}
body{
  min-height:100%;
  margin:0;
  color:var(--text);
  font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
  -webkit-font-smoothing:antialiased;
  text-rendering:geometricPrecision;
  background:
    radial-gradient(circle at 18% 10%,rgba(125,211,252,.20),transparent 30%),
    radial-gradient(circle at 86% 14%,rgba(165,180,252,.18),transparent 32%),
    radial-gradient(circle at 50% 100%,rgba(94,234,212,.10),transparent 36%),
    linear-gradient(180deg,#071427 0%,#050b14 48%,#02050b 100%);
  overflow-x:hidden;
}
body:before{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  background-image:
    linear-gradient(rgba(255,255,255,.032) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.032) 1px,transparent 1px);
  background-size:56px 56px;
  mask-image:radial-gradient(ellipse 76% 48% at 50% 15%,#000 0 34%,transparent 74%);
}
body:after{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  opacity:.10;
  background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 260 260' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.76' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='260' height='260' filter='url(%23n)' opacity='.42'/%3E%3C/svg%3E");
  mix-blend-mode:soft-light;
}
a{color:inherit;text-decoration:none}
button,input{font:inherit}

.shell{
  width:min(1120px,calc(100% - 36px));
  margin:0 auto;
  position:relative;
  z-index:1;
}
.header{
  height:82px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
}
.brand{
  display:inline-flex;
  align-items:center;
  gap:12px;
  font-weight:720;
  letter-spacing:-.035em;
  font-size:18px;
}
.logo{
  width:36px;
  height:36px;
  border-radius:14px;
  display:grid;
  place-items:center;
  background:linear-gradient(135deg,rgba(125,211,252,.22),rgba(165,180,252,.18));
  border:1px solid var(--line);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.16),0 18px 42px rgba(125,211,252,.10);
}
.logo svg{width:22px;height:22px}
.nav{
  display:flex;
  align-items:center;
  gap:4px;
  padding:5px;
  border:1px solid rgba(255,255,255,.10);
  border-radius:999px;
  background:rgba(255,255,255,.045);
  backdrop-filter:blur(20px);
}
.nav a{
  color:rgba(238,246,255,.68);
  font-size:14px;
  line-height:1;
  padding:10px 13px;
  border-radius:999px;
}
.nav a[aria-current="page"],.nav a:hover{
  color:var(--text);
  background:rgba(255,255,255,.08);
}
.region{
  display:inline-flex;
  align-items:center;
  gap:8px;
  min-height:38px;
  padding:0 13px;
  color:rgba(238,246,255,.74);
  font-size:13px;
  border:1px solid rgba(255,255,255,.10);
  border-radius:999px;
  background:rgba(255,255,255,.045);
}
.region strong{color:var(--text);font-weight:650}

.hero{
  min-height:calc(100svh - 82px);
  display:flex;
  align-items:center;
  padding:38px 0 72px;
}
.hero-card{
  width:100%;
  position:relative;
  overflow:hidden;
  border-radius:38px;
  border:1px solid rgba(255,255,255,.14);
  background:
    linear-gradient(135deg,rgba(255,255,255,.115),rgba(255,255,255,.04)),
    rgba(8,17,31,.72);
  backdrop-filter:blur(28px) saturate(140%);
  box-shadow:var(--shadow),inset 0 1px 0 rgba(255,255,255,.14);
  padding:clamp(28px,5vw,58px);
}
.hero-card:before{
  content:"";
  position:absolute;
  inset:-42%;
  background:
    radial-gradient(circle at 26% 24%,rgba(125,211,252,.20),transparent 25%),
    radial-gradient(circle at 76% 32%,rgba(165,180,252,.18),transparent 26%),
    radial-gradient(circle at 62% 76%,rgba(94,234,212,.13),transparent 28%);
  filter:blur(24px);
  animation:glow 18s ease-in-out infinite alternate;
}
.hero-layout{
  position:relative;
  display:grid;
  grid-template-columns:minmax(0,1fr) 390px;
  gap:clamp(30px,5vw,62px);
  align-items:center;
}
.kicker{
  width:max-content;
  max-width:100%;
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:22px;
  color:rgba(238,246,255,.62);
  font-size:12px;
  letter-spacing:.18em;
  text-transform:uppercase;
}
.kicker:before{
  content:"";
  width:8px;
  height:8px;
  border-radius:99px;
  background:var(--mint);
  box-shadow:0 0 0 8px rgba(94,234,212,.09),0 0 26px rgba(94,234,212,.45);
}
h1,.page-title{
  margin:0;
  max-width:760px;
  color:#f4f9ff;
  font-size:clamp(46px,6vw,76px);
  line-height:.98;
  letter-spacing:-.06em;
  font-weight:690;
}
h1 span,.page-title span{
  background:linear-gradient(105deg,#f7fbff 0%,#bdefff 42%,#d7ddff 72%,#d5fff4 100%);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}
.lead{
  margin:24px 0 0;
  max-width:560px;
  color:var(--muted);
  font-size:clamp(16px,1.8vw,19px);
  line-height:1.75;
  letter-spacing:-.012em;
}
.actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:32px;
}
.btn{
  min-height:48px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0 18px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.14);
  color:var(--text);
  background:rgba(255,255,255,.07);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.10);
}
.btn.primary{
  color:#06101f;
  border:0;
  font-weight:720;
  background:linear-gradient(135deg,var(--cyan),#d7ddff 56%,var(--mint));
  box-shadow:0 18px 54px rgba(125,211,252,.18);
}
.btn:hover{transform:translateY(-1px)}

.preview{
  border-radius:28px;
  border:1px solid rgba(255,255,255,.13);
  background:rgba(2,6,15,.44);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.10);
  overflow:hidden;
}
.preview-top{
  height:48px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 16px;
  border-bottom:1px solid rgba(255,255,255,.10);
}
.dots{display:flex;gap:7px}
.dots i{
  width:8px;height:8px;border-radius:99px;background:rgba(238,246,255,.22);
}
.preview-label{
  color:rgba(238,246,255,.48);
  font-size:12px;
}
.preview-body{padding:18px}
.meter{
  border-radius:22px;
  padding:18px;
  background:
    radial-gradient(circle at 20% 10%,rgba(125,211,252,.12),transparent 38%),
    rgba(255,255,255,.055);
  border:1px solid rgba(255,255,255,.08);
}
.meter-head{
  display:flex;
  justify-content:space-between;
  gap:12px;
  color:var(--muted);
  font-size:13px;
  margin-bottom:14px;
}
.meter-value{
  color:var(--text);
  font-weight:750;
}
.bar{
  height:10px;
  border-radius:99px;
  background:rgba(255,255,255,.08);
  overflow:hidden;
}
.bar span{
  display:block;
  width:72%;
  height:100%;
  border-radius:inherit;
  background:linear-gradient(90deg,var(--cyan),var(--violet),var(--mint));
}
.files{
  margin-top:14px;
  display:grid;
  gap:10px;
}
.file{
  display:grid;
  grid-template-columns:36px minmax(0,1fr) auto;
  align-items:center;
  gap:12px;
  min-height:58px;
  padding:0 12px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.045);
}
.file-ico{
  width:34px;height:34px;border-radius:13px;
  background:linear-gradient(135deg,rgba(125,211,252,.22),rgba(165,180,252,.14));
  border:1px solid rgba(255,255,255,.09);
}
.file strong{
  display:block;
  font-size:14px;
  letter-spacing:-.01em;
}
.file small{
  display:block;
  color:var(--faint);
  margin-top:3px;
  font-size:12px;
}
.file em{
  color:rgba(238,246,255,.54);
  font-style:normal;
  font-size:12px;
}

.section{padding:70px 0}
.section-head{
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:28px;
  margin-bottom:22px;
}
.section h2{
  margin:0;
  max-width:600px;
  font-size:clamp(34px,4.6vw,54px);
  line-height:1;
  letter-spacing:-.05em;
  font-weight:680;
}
.section-note{
  margin:0;
  max-width:410px;
  color:var(--muted);
  line-height:1.7;
}
.grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:14px;
}
.card{
  min-height:178px;
  padding:22px;
  border-radius:26px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.045);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08);
}
.icon{
  width:38px;height:38px;border-radius:15px;
  display:grid;place-items:center;
  color:var(--cyan);
  background:rgba(125,211,252,.09);
  border:1px solid rgba(125,211,252,.14);
  font-size:13px;
}
.card h3{
  margin:18px 0 9px;
  font-size:18px;
  letter-spacing:-.03em;
}
.card p{
  margin:0;
  color:var(--muted);
  line-height:1.62;
  font-size:14px;
}
.footer{
  display:flex;
  justify-content:space-between;
  gap:18px;
  padding:34px 0 44px;
  border-top:1px solid rgba(255,255,255,.08);
  color:rgba(238,246,255,.42);
  font-size:13px;
}

.subpage{
  min-height:calc(100svh - 82px);
  padding:62px 0 86px;
}
.subgrid{
  display:grid;
  grid-template-columns:minmax(0,1fr) 390px;
  gap:28px;
  align-items:start;
}
.panel{
  border-radius:30px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.055);
  padding:26px;
}
.notice{
  border-radius:22px;
  border:1px solid rgba(253,230,138,.22);
  background:rgba(253,230,138,.075);
  color:rgba(255,251,235,.78);
  line-height:1.62;
  padding:18px;
}
.form{
  margin-top:18px;
  display:grid;
  gap:12px;
}
.input{
  min-height:50px;
  width:100%;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.045);
  color:rgba(238,246,255,.55);
  padding:0 15px;
}
.input:disabled,.btn:disabled{opacity:.55;cursor:not-allowed}
.status-list{display:grid;gap:12px}
.status-row{
  display:flex;
  justify-content:space-between;
  gap:16px;
  padding:15px 0;
  border-bottom:1px solid rgba(255,255,255,.08);
  color:var(--muted);
}
.ok{color:var(--green)}
.muted{color:var(--muted)}
.notfound{
  min-height:calc(100svh - 82px);
  display:grid;
  place-items:center;
  text-align:center;
  padding:70px 0;
}
.notfound h1{
  margin:0;
  font-size:clamp(82px,15vw,156px);
  line-height:.82;
  letter-spacing:-.08em;
}
.notfound p{
  max-width:420px;
  margin:22px auto 0;
  color:var(--muted);
  line-height:1.7;
}

@keyframes glow{
  from{transform:translate3d(-2%,-1%,0) scale(1)}
  to{transform:translate3d(2%,1.5%,0) scale(1.04)}
}
@media (prefers-reduced-motion:reduce){
  *,*:before,*:after{animation:none!important;transition:none!important}
}
@media (max-width:980px){
  .hero{min-height:auto}
  .hero-layout,.subgrid{grid-template-columns:1fr}
  .preview{max-width:520px}
  .grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .section-head{display:grid}
}
@media (max-width:700px){
  .shell{width:min(100% - 28px,1120px)}
  .header{height:auto;min-height:82px;padding:18px 0;flex-wrap:wrap}
  .brand{font-size:17px}
  .region{display:none}
  .nav{order:3;width:100%;justify-content:space-between;border-radius:20px}
  .nav a{flex:1;text-align:center;padding-left:8px;padding-right:8px;font-size:13px}
  .hero-card{border-radius:30px}
  h1,.page-title{font-size:clamp(42px,12vw,62px);letter-spacing:-.052em}
  .lead{font-size:16px}
  .grid{grid-template-columns:1fr}
  .footer{display:grid}
  .file{grid-template-columns:34px minmax(0,1fr)}
  .file em{display:none}
}
