:root {
  color-scheme: dark;
  --page: #10111b;
  --panel: #191a28;
  --inset: #151622;
  --text: #f5f3fb;
  --dim: #b6b3c6;
  --line: #343346;
  --accent: #bca4ff;
  --bright: #d3c3ff;
  --error: #ffbdc8;
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  line-height: 1.5;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background:
    radial-gradient(ellipse at 77% 16%, #221b38 0%, transparent 35%),
    var(--page);
  color: var(--text);
}
a {
  color: var(--bright);
  text-underline-offset: 0.2em;
}
button,
input {
  font: inherit;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
.drop:focus-within,
.file-picker:focus-within {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
button:focus:not(:focus-visible) {
  outline: none;
}
[hidden] {
  display: none !important;
}
.wrap {
  width: min(1120px, calc(100% - 64px));
  margin-inline: auto;
}
.topbar {
  border-bottom: 1px solid #ffffff13;
  background: #10111bc4;
}
.nav {
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.045em;
  color: var(--text);
}
.brand > span:last-child {
  color: var(--accent);
  margin-left: 0.24em;
}
.brand-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-right: 11px;
  background: var(--accent);
  border-radius: 11px;
  color: #201336;
  font-size: 1.08rem;
}
.nav nav {
  display: flex;
  gap: 27px;
}
.nav nav a {
  color: var(--dim);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
}
.nav nav a:hover {
  color: var(--bright);
}
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  align-items: center;
  min-height: 333px;
  padding: 34px 0 38px;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--accent);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  font-weight: 750;
  margin: 0 0 16px;
}
.eyebrow span {
  width: 16px;
  height: 1px;
  background: var(--accent);
}
h1,
h2,
p {
  margin: 0;
}
h1 {
  font-size: clamp(2.45rem, 5vw, 4.15rem);
  line-height: 1.04;
  letter-spacing: -0.065em;
  font-weight: 780;
}
h1 em {
  color: var(--bright);
  font-style: normal;
}
.intro {
  max-width: 475px;
  color: var(--dim);
  margin-top: 20px;
  font-size: 1.04rem;
}
.art {
  position: relative;
  margin-inline: auto;
  width: 290px;
  height: 240px;
  display: grid;
  place-items: center;
  isolation: isolate;
}
.orbit {
  position: absolute;
  width: 278px;
  height: 178px;
  border: 1px solid #a582fb55;
  border-radius: 50%;
  transform: rotate(-29deg);
}
.orbit.inner {
  transform: rotate(28deg);
  width: 250px;
  height: 156px;
  border-style: dashed;
  border-color: #ab89ff40;
}
.chip {
  width: 135px;
  height: 151px;
  border: 1px solid #9e7adb9c;
  border-radius: 30px;
  background: linear-gradient(145deg, #443365, #241b39);
  transform: rotate(-12deg);
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 4px;
  box-shadow:
    0 20px 55px #08061285,
    inset 0 1px 0 #fff3;
}
.chip-check {
  width: 49px;
  height: 49px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  color: #251741;
  background: var(--accent);
  font-size: 1.7rem;
  font-weight: 800;
}
.chip-ext {
  color: var(--bright);
  font:
    700 1.1rem ui-monospace,
    monospace;
}
.orb {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 20px var(--accent);
}
.orb.one {
  top: 62px;
  right: 30px;
}
.orb.two {
  bottom: 57px;
  left: 31px;
  width: 5px;
  height: 5px;
}
.workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 22px;
  align-items: start;
  scroll-margin-top: 18px;
}
.panel,
.guide,
.privacy {
  border: 1px solid var(--line);
  border-radius: 19px;
  background: var(--panel);
}
.panel {
  padding: 26px;
}
.panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 22px;
}
.panel h2 {
  font-size: 1.48rem;
  line-height: 1.2;
  letter-spacing: -0.035em;
}
.panel-head p,
.privacy p,
.guide dd {
  color: var(--dim);
  margin-top: 6px;
}
.text-button {
  border: 0;
  background: none;
  color: var(--bright);
  padding: 3px 0;
  font-size: 0.88rem;
  white-space: nowrap;
}
fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.drop {
  min-height: 145px;
  padding: 17px;
  display: flex;
  position: relative;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  text-align: center;
  border: 1px dashed #78639d;
  border-radius: 13px;
  background: #211c31;
  cursor: pointer;
}
.drop:hover,
.drop.active {
  background: #302442;
  border-color: var(--accent);
}
.drop > span:not(.upload-icon),
.drop small {
  color: var(--dim);
}
.drop b {
  color: var(--bright);
  font-weight: 650;
}
.drop small {
  font:
    0.78rem ui-monospace,
    monospace;
  margin-top: 5px;
}
.upload-icon {
  color: var(--bright);
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: #3c2e54;
  font-size: 1.35rem;
  line-height: 1;
  margin-bottom: 4px;
}
.file-list {
  display: grid;
  gap: 8px;
  margin-top: 13px;
}
.file-row {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 10px;
  padding: 9px 11px;
  background: var(--inset);
  border: 1px solid var(--line);
  border-radius: 10px;
}
.file-type {
  display: grid;
  place-items: center;
  width: 34px;
  height: 35px;
  border-radius: 8px;
  background: #2c2440;
  color: var(--bright);
  font:
    700 0.75rem ui-monospace,
    monospace;
}
.file-info {
  display: grid;
  min-width: 0;
}
.file-info strong {
  font-size: 0.9rem;
}
.file-info small {
  color: var(--dim);
  font-size: 0.8rem;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}
.file-picker,
.remove {
  padding: 5px 9px;
  border-radius: 7px;
  color: var(--bright);
  background: transparent;
  border: 1px solid var(--line);
  cursor: pointer;
  font-size: 0.82rem;
}
.file-picker:hover,
.remove:hover {
  background: #34294a;
}
.options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 18px;
}
.options label {
  display: block;
  margin-bottom: 6px;
  font-weight: 650;
  font-size: 0.9rem;
}
.options label span {
  color: var(--dim);
  font-weight: 400;
}
.options input {
  min-width: 0;
  width: 100%;
  height: 44px;
  border-radius: 9px;
  background: var(--inset);
  border: 1px solid var(--line);
  color: var(--text);
  padding: 0 11px;
}
.options input::placeholder {
  color: #a7a3ba;
}
.customize {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.customize h3 {
  margin: 0;
  font-size: 1rem;
}
.customize h3 span {
  color: var(--dim);
  font-size: 0.875rem;
  font-weight: 400;
}
.customize-fields {
  grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 1fr));
  margin-top: 12px;
}
.icon-row {
  margin-top: 13px;
}
.icon-row:has(#icon-preview[hidden]) .file-info small {
  white-space: normal;
}
.icon-preview {
  position: relative;
  overflow: hidden;
}
.icon-preview img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.password-wrap {
  display: flex;
  align-items: center;
  position: relative;
}
.password-wrap input {
  padding-right: 91px;
}
.password-wrap button {
  position: absolute;
  right: 6px;
  padding: 5px;
  background: none;
  border: 0;
  color: var(--bright);
  font-size: 0.8rem;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 19px;
}
.primary,
.secondary {
  border: 0;
  min-height: 45px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 8px 17px;
  border-radius: 9px;
  font-weight: 750;
  text-decoration: none;
}
.primary {
  color: #201437;
  background: var(--accent);
}
.primary:hover {
  background: #d1bcff;
}
.primary:disabled {
  opacity: 0.65;
}
.secondary {
  border: 1px solid var(--line);
  color: var(--bright);
  background: var(--inset);
}
#feedback {
  font-size: 0.9rem;
  color: var(--dim);
  margin-top: 14px;
  overflow-wrap: anywhere;
}
#feedback[data-kind="error"] {
  color: var(--error);
}
#feedback[data-kind="success"] {
  color: #bcebc7;
}
aside {
  display: grid;
  gap: 16px;
  scroll-margin-top: 18px;
}
.privacy,
.guide {
  padding: 20px;
}
.privacy {
  background: #231c33;
  border-color: #45355f;
}
.privacy h2,
.guide h2 {
  font-size: 1.04rem;
  letter-spacing: -0.016em;
}
.privacy p,
.guide dd {
  font-size: 0.92rem;
}
.lock {
  display: block;
  width: 16px;
  height: 12px;
  border: 2px solid var(--accent);
  border-radius: 3px;
  position: relative;
  margin: 10px 0 11px;
}
.lock::before {
  content: "";
  position: absolute;
  bottom: 9px;
  left: 2px;
  width: 8px;
  height: 9px;
  border: 2px solid var(--accent);
  border-radius: 6px 6px 0 0;
  box-sizing: border-box;
}
.guide dl {
  margin: 12px 0 15px;
}
.guide dt {
  margin-top: 12px;
}
.guide dd {
  margin-left: 0;
  margin-top: 3px;
}
code {
  color: var(--bright);
  background: #2d2440;
  padding: 2px 5px;
  border-radius: 4px;
}
.guide a,
.footer a {
  font-size: 0.85rem;
}
.footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 34px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  color: var(--dim);
  font-size: 0.85rem;
}
.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;
}
@media (max-width: 850px) {
  .hero {
    grid-template-columns: minmax(0, 1fr) 230px;
  }
  .art {
    width: 225px;
    transform: scale(0.79);
  }
  .workspace {
    grid-template-columns: minmax(0, 1fr) 240px;
  }
  .panel {
    padding: 20px;
  }
  .privacy,
  .guide {
    padding: 16px;
  }
}
@media (max-width: 680px) {
  .customize-fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .name-field {
    grid-column: 1 / -1;
  }
  .wrap {
    width: calc(100% - 32px);
  }
  .nav {
    height: 60px;
  }
  .nav nav {
    gap: 16px;
  }
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 35px 0 30px;
  }
  .art {
    display: none;
  }
  .workspace {
    grid-template-columns: 1fr;
  }
  .panel {
    padding: 16px;
  }
  .panel-head {
    margin-bottom: 16px;
  }
  .file-row {
    gap: 6px;
  }
  .file-picker,
  .remove {
    padding-inline: 6px;
  }
  .actions > .primary {
    width: 100%;
  }
  .footer {
    margin-top: 24px;
  }
}
@media (max-width: 390px) {
  .options:not(.customize-fields) {
    grid-template-columns: 1fr;
  }
  .nav nav {
    gap: 11px;
  }
  .brand-icon {
    margin-right: 6px;
  }
}
