:root {
  color-scheme: dark;
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: #e9f0fa;
  background: #0d141e;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-width: 320px;
  background: radial-gradient(ellipse at 65% -10%, #18304455, transparent 65%);
}
button,
input {
  font: inherit;
}
button,
.choose,
a {
  -webkit-tap-highlight-color: transparent;
}
button,
.choose {
  cursor: pointer;
}
button:disabled {
  cursor: default;
}
a {
  color: inherit;
  text-decoration: none;
}
.page {
  max-width: 1060px;
  margin: auto;
  padding: 0 40px;
}
.header {
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #ffffff0e;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  letter-spacing: 2px;
  font-weight: 800;
}
.brand-icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 32px;
  border-radius: 9px;
  background: #7ae0bf;
  color: #10231c;
  font-size: 26px;
  font-weight: 500;
}
.connection {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 12px;
  color: #98a8ba;
}
.connection > span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #7ae0bf;
  box-shadow: 0 0 10px #7ae0bf33;
}
.intro {
  text-align: center;
  margin: 60px 0 35px;
}
.eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2.6px;
  color: #7ae0bf;
  margin: 0 0 20px;
}
h1 {
  font-size: 49px;
  line-height: 1.12;
  letter-spacing: -2px;
  margin: 0;
  font-weight: 750;
}
h1 span {
  color: #91a2b7;
}
.description {
  font-size: 14px;
  line-height: 1.8;
  color: #91a2b7;
  margin: 22px 0 0;
}
.upload-card {
  background: #121d2a;
  border: 1px solid #253242;
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 25px 80px #0002;
}
.dropzone {
  border: 1px dashed #395066;
  border-radius: 16px;
  background: #14212e;
  text-align: center;
  padding: 30px 20px 24px;
  transition:
    background 0.15s,
    border-color 0.15s;
}
.dropzone.dragging {
  background: #1b3b3a;
  border-color: #7ae0bf;
}
.upload-symbol {
  display: grid;
  place-items: center;
  margin: 0 auto 14px;
  background: #7ae0bf13;
  border: 1px solid #7ae0bf25;
  color: #7ae0bf;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  font-size: 36px;
}
.dropzone h2 {
  font-size: 17px;
  margin: 0 0 8px;
}
.dropzone p {
  font-size: 12px;
  color: #8b9db3;
  margin: 0 0 20px;
}
.choose {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  justify-content: center;
  background: #24394b;
  color: #eaf5ff;
  border: 1px solid #3c5267;
  border-radius: 9px;
  padding: 11px 18px;
  font-weight: 650;
  font-size: 12px;
}
.choose:hover {
  background: #2e485f;
}
.choose span {
  font-size: 17px;
  color: #a9bfd1;
}
#file-input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  overflow: hidden;
}
#file-input:focus-visible + .file-info {
  outline: 2px solid #7ae0bf;
}
.file-info {
  margin-top: 17px;
  font-size: 10px;
  color: #71859a;
  letter-spacing: 0.2px;
}
.file-info span {
  padding: 0 8px;
}
.queue-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 27px 0 12px;
}
.queue-header h2 {
  font-size: 13px;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.queue-header h2 span {
  display: inline-grid;
  place-items: center;
  font-size: 10px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 6px;
  background: #283648;
  color: #a5b7c9;
}
.queue-header p {
  font-size: 11px;
  color: #8194a9;
  margin: 7px 0 0;
}
#upload-button {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: center;
  border: 0;
  border-radius: 10px;
  background: #7ae0bf;
  color: #123129;
  padding: 12px 18px;
  font-size: 12px;
  font-weight: 750;
}
#upload-button:hover {
  background: #91ebce;
}
#upload-button:disabled {
  background: #263849;
  color: #71869a;
}
.empty-state {
  text-align: center;
  border-top: 1px solid #263241;
  padding: 26px 0 10px;
  color: #657b91;
  font-size: 12px;
}
.file-row {
  border: 1px solid #2b3a4c;
  border-radius: 12px;
  margin-top: 10px;
  padding: 14px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 32px;
  gap: 10px;
}
.file-icon {
  background: #25374a;
  width: 32px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  color: #98aec4;
  font-size: 15px;
}
.file-name {
  margin: 0;
  overflow-wrap: anywhere;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
}
.file-meta {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 10px;
  color: #849bb1;
  margin: 5px 0 8px;
}
.progress {
  height: 4px;
  background: #29384a;
  overflow: hidden;
  border-radius: 9px;
}
.progress-fill {
  height: 100%;
  width: 0;
  background: #7ae0bf;
  transition: width 0.2s;
  border-radius: 9px;
}
.file-row[data-state="error"] .progress-fill {
  background: #f28b95;
}
.file-row[data-state="error"] .file-meta {
  color: #f5a4ac;
}
.file-row[data-state="success"] .file-meta {
  color: #7ae0bf;
}
.file-row[data-state="saving"] .progress-fill {
  animation: pulse 1s infinite;
}
.file-remove {
  background: none;
  border: 0;
  color: #869ab0;
  font-size: 22px;
  align-self: start;
  padding: 0;
  width: 28px;
  height: 28px;
  border-radius: 5px;
}
.file-remove:hover {
  background: #ffffff0c;
  color: white;
}
.notice {
  margin: 13px 0 0;
  color: #f5a4ac;
  line-height: 1.5;
  font-size: 12px;
}
.notice:empty {
  display: none;
}
.details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 28px 16px;
}
.details > div {
  display: flex;
  gap: 12px;
  align-items: center;
}
.detail-icon {
  color: #7ae0bf;
  font-size: 20px;
  background: #7ae0bf09;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 11px;
}
.details strong {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: #b8c8d9;
}
.details small {
  display: block;
  margin-top: 5px;
  font-size: 10px;
  color: #74899e;
}
.footnote {
  text-align: center;
  font-size: 10px;
  color: #6f849a;
  line-height: 1.7;
  margin: 25px 0 44px;
}
footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #ffffff0d;
  padding: 22px 0 28px;
  color: #5f7389;
  font-size: 10px;
  letter-spacing: 1px;
}
button:focus-visible,
a:focus-visible,
.choose:focus-within {
  outline: 2px solid #7ae0bf;
  outline-offset: 4px;
}
@keyframes pulse {
  50% {
    opacity: 0.45;
  }
}
@media (max-width: 640px) {
  .page {
    padding: 0 18px;
  }
  .header {
    height: 76px;
  }
  .brand {
    font-size: 12px;
    letter-spacing: 1px;
  }
  .connection {
    font-size: 10px;
  }
  .intro {
    margin: 38px 0 26px;
  }
  h1 {
    font-size: 37px;
    letter-spacing: -1.4px;
  }
  .description {
    font-size: 12px;
  }
  .upload-card {
    padding: 14px;
    border-radius: 20px;
  }
  .dropzone {
    padding: 25px 10px;
  }
  .queue-header {
    align-items: flex-start;
    margin-top: 23px;
  }
  #upload-button {
    padding: 11px;
    font-size: 10px;
    gap: 8px;
  }
  .details {
    gap: 15px;
    margin: 24px 4px;
    grid-template-columns: 1fr;
  }
  .details > div {
    gap: 12px;
  }
  .footnote {
    margin-bottom: 28px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}
