:root {
  --ink: #070a09;
  --panel: #101513;
  --panel-soft: #151c19;
  --paper: #edf3ed;
  --muted: #8e9992;
  --line: rgba(228, 241, 231, 0.13);
  --signal: #a9ec57;
  --signal-bright: #cbff83;
  --danger: #ff806f;
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
  background: var(--ink);
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--paper);
  background: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

button,
input {
  font: inherit;
}

button {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
input:focus-visible,
.drop-zone:focus-visible {
  outline: 2px solid var(--signal-bright);
  outline-offset: 3px;
}

.shell {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    radial-gradient(circle at 72% 28%, rgba(169, 236, 87, 0.08), transparent 28%),
    #070a09;
  background-size: 44px 44px, 44px 44px, auto, auto;
}

.shell::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  opacity: 0.22;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.92' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.22'/%3E%3C/svg%3E");
}

.glow {
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  filter: blur(150px);
  pointer-events: none;
}

.glow-one {
  top: 10%;
  right: -190px;
  background: rgba(169, 236, 87, 0.08);
}

.glow-two {
  bottom: -250px;
  left: -220px;
  background: rgba(73, 155, 255, 0.06);
}

.topbar,
.hero,
footer {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.top-actions,
.row-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.admin-link {
  padding: 9px 12px;
  border: 1px solid var(--line);
  color: var(--signal);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-decoration: none;
}

.topbar {
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  color: inherit;
  text-decoration: none;
}

.brand-mark {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  color: #11180b;
  background: var(--signal);
  font-weight: 950;
  clip-path: polygon(0 0, 82% 0, 100% 18%, 100% 100%, 0 100%);
}

.brand strong,
.brand small {
  display: block;
  line-height: 1;
}

.brand strong {
  font-size: 15px;
  letter-spacing: 0.14em;
}

.brand small {
  margin-top: 7px;
  color: var(--muted);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.26em;
}

.status {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #a5afa8;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.13em;
}

.status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #55e286;
  box-shadow: 0 0 13px #55e286;
}

.hero {
  min-height: calc(100vh - 172px);
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(450px, 0.76fr);
  gap: clamp(56px, 7vw, 108px);
  align-items: center;
  padding: 66px 0 76px;
}

.eyebrow,
.section-label,
.key-field > span {
  color: var(--signal);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.22em;
}

.eyebrow {
  margin: 0 0 26px;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 28px;
  font-size: clamp(66px, 8vw, 112px);
  font-weight: 950;
  letter-spacing: -0.07em;
  line-height: 0.8;
}

h1 span {
  color: transparent;
  -webkit-text-stroke: 1px rgba(237, 243, 237, 0.56);
}

.lede {
  max-width: 530px;
  margin-bottom: 34px;
  color: #9aa49d;
  font-size: 15px;
  line-height: 1.75;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.trust-row span {
  padding: 9px 11px;
  border: 1px solid var(--line);
  color: #aab4ad;
  background: rgba(255, 255, 255, 0.018);
  font-size: 8px;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.upload-card {
  position: relative;
  padding: 30px;
  border: 1px solid rgba(169, 236, 87, 0.28);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.035), transparent 42%),
    var(--panel);
  box-shadow: 0 36px 90px rgba(0, 0, 0, 0.48);
}

.upload-card::before,
.upload-card::after {
  position: absolute;
  width: 32px;
  height: 32px;
  content: "";
  pointer-events: none;
}

.upload-card::before {
  top: -1px;
  left: -1px;
  border-top: 2px solid var(--signal);
  border-left: 2px solid var(--signal);
}

.upload-card::after {
  right: -1px;
  bottom: -1px;
  border-right: 2px solid var(--signal);
  border-bottom: 2px solid var(--signal);
}

.card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 25px;
}

.section-label {
  margin-bottom: 8px;
}

h2 {
  margin-bottom: 0;
  font-size: 31px;
  letter-spacing: -0.04em;
}

.limit-badge {
  padding: 7px 9px;
  color: #10170b;
  background: var(--signal);
  font-size: 8px;
  font-weight: 950;
  letter-spacing: 0.12em;
}

.key-field {
  display: grid;
  gap: 9px;
  margin-bottom: 18px;
}

.key-control {
  display: flex;
  border: 1px solid #343d37;
  background: #090d0b;
}

.key-control:focus-within {
  border-color: rgba(169, 236, 87, 0.62);
}

.key-control input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  padding: 13px 14px;
  color: var(--paper);
  background: transparent;
}

.key-control input::placeholder {
  color: #58625c;
}

.key-control button {
  border: 0;
  padding: 0 13px;
  color: var(--signal);
  background: transparent;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.1em;
  cursor: pointer;
}

.share-panel,
.new-key-panel {
  display: grid;
  gap: 8px;
  margin-top: 18px;
  padding: 14px;
  border: 1px solid rgba(169, 236, 87, 0.28);
  background: rgba(169, 236, 87, 0.055);
}

.share-panel > span,
.new-key-panel > span {
  color: var(--signal);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.share-panel small,
.new-key-panel small,
.admin-note {
  color: var(--muted);
  font-size: 10px;
}

.share-control {
  display: flex;
  min-width: 0;
  border: 1px solid #343d37;
  background: #090d0b;
}

.share-control input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  padding: 11px 12px;
  color: var(--paper);
  background: transparent;
  font-size: 10px;
}

.share-control button,
.text-button {
  border: 0;
  padding: 0 12px;
  color: var(--signal);
  background: transparent;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.1em;
  cursor: pointer;
}

.admin-shell {
  min-height: 100vh;
  padding-bottom: 70px;
}

.admin-login {
  position: relative;
  z-index: 1;
  width: min(620px, calc(100% - 48px));
  margin: 0 auto;
  padding: 80px 0;
}

.admin-login-card,
.admin-card {
  padding: 30px;
  border: 1px solid rgba(169, 236, 87, 0.24);
  background: var(--panel);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.36);
}

.admin-login-card h1 {
  margin: 20px 0 28px;
  font-size: clamp(58px, 9vw, 88px);
}

.admin-login-card .primary-button,
.create-key-card .primary-button {
  width: 100%;
}

.admin-dashboard {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
  padding: 64px 0;
}

.dashboard-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
}

.dashboard-heading h1 {
  margin-bottom: 46px;
  font-size: clamp(62px, 8vw, 102px);
}

.admin-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.8fr) minmax(360px, 1.2fr);
  gap: 24px;
  align-items: start;
}

.files-card {
  margin-top: 24px;
}

.storage-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.metric-card {
  min-width: 0;
  padding: 20px;
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(169, 236, 87, 0.035), transparent 50%),
    var(--panel);
}

.metric-card > span {
  display: block;
  margin-bottom: 13px;
  color: var(--signal);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.15em;
}

.metric-card strong {
  display: block;
  overflow: hidden;
  font-size: clamp(22px, 3vw, 34px);
  letter-spacing: -0.05em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.metric-card small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 9px;
}

.storage-meter {
  height: 5px;
  margin-top: 12px;
  overflow: hidden;
  background: #273029;
}

.storage-meter i {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, #72b83f, var(--signal-bright));
  transition: width 220ms ease;
}

.admin-toolbar {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(180px, 0.35fr);
  gap: 12px;
  margin-bottom: 14px;
}

.search-control,
.sort-control {
  display: grid;
  gap: 7px;
}

.search-control > span,
.sort-control > span {
  color: var(--signal);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.search-control input,
.sort-control select {
  width: 100%;
  min-width: 0;
  border: 1px solid #343d37;
  outline: 0;
  padding: 12px 13px;
  color: var(--paper);
  background: #090d0b;
  font: inherit;
}

.search-control input:focus,
.sort-control select:focus {
  border-color: rgba(169, 236, 87, 0.62);
}

.file-viewbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
  padding: 10px;
  border: 1px solid var(--line);
  background: #0b100d;
}

.view-tabs,
.bulk-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.view-tab {
  border: 0;
  padding: 9px 11px;
  color: var(--muted);
  background: transparent;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.12em;
  cursor: pointer;
}

.view-tab.active {
  color: #11180b;
  background: var(--signal);
}

.view-tab span {
  margin-left: 4px;
}

.select-all-control {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 8px;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.select-all-control input,
.file-checkbox {
  accent-color: var(--signal);
}

.managed-file-row {
  display: grid;
  grid-template-columns: auto 112px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--line);
  background: #0b100d;
}

.managed-file-row:has(.admin-media-placeholder:first-child),
.managed-file-row:has(.admin-media-preview:first-child) {
  grid-template-columns: 112px minmax(0, 1fr);
}

.file-checkbox {
  margin-top: 8px;
}

.admin-media-preview,
.admin-media-placeholder {
  width: 112px;
  height: 78px;
  border: 1px solid var(--line);
  background: #050806;
}

.admin-media-preview {
  display: block;
  object-fit: contain;
}

.admin-media-placeholder {
  display: grid;
  place-items: center;
  color: var(--signal);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.managed-file-body {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.managed-file-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.managed-file-heading strong {
  overflow: hidden;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.managed-file-meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.managed-file-meta span {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.managed-file-meta small {
  color: #637068;
  font-size: 7px;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.managed-file-meta b {
  overflow: hidden;
  color: #aeb8b0;
  font-size: 9px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.managed-file-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.managed-file-actions .text-button {
  min-height: 30px;
  border: 1px solid var(--line);
}

.audit-card {
  margin-top: 24px;
}

.audit-list {
  display: grid;
  max-height: 430px;
  overflow: auto;
}

.audit-row {
  display: grid;
  grid-template-columns: 130px minmax(140px, 1fr) 150px 180px;
  gap: 14px;
  padding: 11px 12px;
  border-bottom: 1px solid var(--line);
  font-size: 9px;
}

.audit-row strong {
  color: var(--signal);
  font-size: 8px;
  letter-spacing: 0.08em;
}

.audit-row span,
.audit-row time {
  overflow: hidden;
  color: var(--muted);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.data-list {
  display: grid;
  gap: 8px;
}

.data-row {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--line);
  background: #0b100d;
}

.data-info {
  display: grid;
  gap: 5px;
  min-width: 0;
  flex: 1;
}

.data-info strong,
.data-info span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.data-info strong {
  font-size: 12px;
}

.data-info span {
  color: var(--muted);
  font-size: 9px;
}

.state-pill {
  padding: 6px 8px;
  border: 1px solid var(--line);
  font-size: 7px;
  font-weight: 900;
  letter-spacing: 0.11em;
}

.state-pill.enabled {
  color: var(--signal);
}

.state-pill.disabled,
.danger-button {
  color: var(--danger);
}

.empty-state {
  margin: 0;
  padding: 28px;
  border: 1px dashed var(--line);
  color: var(--muted);
  font-size: 11px;
  text-align: center;
}

.admin-note {
  margin: -10px 0 20px;
}

@media (max-width: 860px) {
  .admin-grid {
    grid-template-columns: 1fr;
  }

  .file-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .storage-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .file-viewbar {
    align-items: stretch;
    flex-direction: column;
  }

  .managed-file-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .audit-row {
    grid-template-columns: 110px minmax(120px, 1fr) 120px;
  }

  .audit-row time {
    display: none;
  }
}

@media (max-width: 620px) {
  .status {
    display: none;
  }

  .admin-login,
  .admin-dashboard {
    width: min(100% - 28px, 1180px);
  }

  .admin-login-card,
  .admin-card {
    padding: 22px;
  }

  .dashboard-heading {
    display: block;
  }

  .dashboard-heading .cancel-button {
    margin-bottom: 24px;
  }

  .data-row {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .storage-grid,
  .admin-toolbar {
    grid-template-columns: 1fr;
  }

  .managed-file-row,
  .managed-file-row:has(.admin-media-placeholder:first-child),
  .managed-file-row:has(.admin-media-preview:first-child) {
    grid-template-columns: 1fr;
  }

  .file-checkbox {
    margin: 0;
  }

  .admin-media-preview,
  .admin-media-placeholder {
    width: 100%;
    height: 160px;
  }

  .managed-file-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .bulk-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .audit-row {
    grid-template-columns: 100px minmax(0, 1fr);
  }

  .audit-row span:nth-of-type(2) {
    display: none;
  }
}

.drop-zone {
  min-height: 210px;
  display: grid;
  place-items: center;
  align-content: center;
  padding: 28px;
  border: 1px dashed #3d4941;
  background:
    linear-gradient(rgba(255, 255, 255, 0.014) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.014) 1px, transparent 1px),
    #0b100d;
  background-size: 22px 22px;
  text-align: center;
  cursor: pointer;
  transition:
    border-color 160ms ease,
    background 160ms ease,
    transform 160ms ease;
}

.drop-zone:hover,
.drop-zone.dragging {
  border-color: var(--signal);
  background-color: #10160f;
  transform: translateY(-2px);
}

.upload-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  border: 1px solid rgba(169, 236, 87, 0.45);
  color: var(--signal);
  transform: rotate(45deg);
}

.upload-icon span {
  font-size: 23px;
  transform: rotate(-45deg);
}

.drop-zone strong {
  font-size: 16px;
}

.drop-zone p {
  margin: 7px 0 0;
  color: #707c74;
  font-size: 11px;
}

.file-panel {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  background: #0b100d;
}

.file-panel-heading {
  display: flex;
  align-items: center;
  gap: 13px;
}

.file-symbol {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: var(--signal);
  background: rgba(169, 236, 87, 0.09);
  font-size: 7px;
  font-weight: 950;
  letter-spacing: 0.08em;
}

.file-copy {
  min-width: 0;
  display: grid;
  gap: 4px;
  flex: 1;
}

.file-copy strong {
  overflow: hidden;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.file-copy span {
  color: var(--muted);
  font-size: 10px;
}

.file-panel-heading > button {
  border: 0;
  color: #89948c;
  background: transparent;
  font-size: 23px;
  cursor: pointer;
}

.file-queue {
  display: grid;
  gap: 6px;
  max-height: 190px;
  overflow: auto;
  border-top: 1px solid var(--line);
  padding-top: 10px;
}

.queue-row,
.share-result {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 9px 10px;
  background: rgba(255, 255, 255, 0.025);
}

.queue-row > div,
.share-result > div {
  display: grid;
  gap: 3px;
  min-width: 0;
  flex: 1;
}

.queue-row strong,
.share-result strong,
.share-result a {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.queue-row strong,
.share-result strong {
  font-size: 10px;
}

.queue-row span,
.share-result a {
  color: var(--muted);
  font-size: 8px;
}

.queue-row button,
.share-result button {
  border: 0;
  padding: 7px;
  color: var(--signal);
  background: transparent;
  font-size: 7px;
  font-weight: 900;
  letter-spacing: 0.08em;
  cursor: pointer;
}

.share-list {
  display: grid;
  gap: 7px;
  max-height: 260px;
  overflow: auto;
}

.preview-panel {
  margin-top: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #090d0b;
}

.preview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 13px;
  border-bottom: 1px solid var(--line);
  color: var(--signal);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.preview-header small {
  color: #69746c;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.preview-stage {
  min-height: 170px;
  max-height: 340px;
  display: grid;
  place-items: center;
  overflow: auto;
  background:
    linear-gradient(45deg, #0d120f 25%, transparent 25%),
    linear-gradient(-45deg, #0d120f 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #0d120f 75%),
    linear-gradient(-45deg, transparent 75%, #0d120f 75%),
    #0a0e0c;
  background-position: 0 0, 0 8px, 8px -8px, -8px 0;
  background-size: 16px 16px;
}

.preview-stage img,
.preview-stage video {
  display: block;
  max-width: 100%;
  max-height: 340px;
  object-fit: contain;
}

.preview-stage video {
  width: 100%;
  background: #000;
}

.preview-stage pre {
  align-self: stretch;
  justify-self: stretch;
  min-width: 100%;
  min-height: 170px;
  margin: 0;
  padding: 17px;
  overflow: auto;
  color: #cbd6ce;
  background: rgba(5, 8, 6, 0.92);
  font: 11px/1.65 "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  tab-size: 2;
  white-space: pre-wrap;
  word-break: break-word;
}

.preview-unavailable {
  display: grid;
  gap: 8px;
  padding: 30px;
  color: #79847c;
  text-align: center;
}

.preview-unavailable strong {
  color: #aab4ad;
  font-size: 12px;
}

.preview-unavailable span {
  font-size: 10px;
}

.progress-panel {
  margin-top: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  background: #0b100d;
}

.progress-meta,
.progress-detail {
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

.progress-meta {
  color: #cbd3cc;
  font-size: 10px;
}

.progress-meta span {
  color: var(--signal);
  font-variant-numeric: tabular-nums;
  font-weight: 900;
}

.progress-track {
  height: 5px;
  margin: 13px 0 10px;
  overflow: hidden;
  background: #273029;
}

.progress-track span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, #72b83f, var(--signal-bright));
  box-shadow: 0 0 12px rgba(169, 236, 87, 0.45);
  transition: width 120ms linear;
}

.progress-detail {
  color: #77827a;
  font-size: 9px;
}

.message {
  margin-top: 15px;
  padding: 12px 13px;
  border: 1px solid rgba(169, 236, 87, 0.25);
  color: #b7df95;
  background: rgba(169, 236, 87, 0.06);
  font-size: 11px;
  line-height: 1.5;
}

.message.error {
  border-color: rgba(255, 128, 111, 0.3);
  color: #ffab9e;
  background: rgba(255, 128, 111, 0.06);
}

.card-actions {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 18px;
}

.primary-button,
.cancel-button {
  border: 0;
  padding: 14px 18px;
  font-size: 9px;
  font-weight: 950;
  letter-spacing: 0.13em;
  cursor: pointer;
}

.primary-button {
  color: #10170b;
  background: var(--signal);
  clip-path: polygon(0 0, 92% 0, 100% 26%, 100% 100%, 0 100%);
}

.primary-button:hover:not(:disabled) {
  background: var(--signal-bright);
}

.primary-button:disabled {
  color: #687067;
  background: #2b322d;
  cursor: not-allowed;
}

.cancel-button {
  color: #b5beb7;
  background: transparent;
}

footer {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  color: #606a63;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

[hidden] {
  display: none !important;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 58px;
  }

  .intro {
    text-align: center;
  }

  .lede {
    margin-inline: auto;
  }

  .trust-row {
    justify-content: center;
  }
}

@media (max-width: 560px) {
  .topbar,
  .hero,
  footer {
    width: min(100% - 28px, 1180px);
  }

  .topbar {
    min-height: 80px;
  }

  .status {
    display: none;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 44px;
    padding: 48px 0 58px;
  }

  h1 {
    font-size: clamp(58px, 20vw, 84px);
  }

  .upload-card {
    padding: 23px 19px;
  }

  .card-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .drop-zone {
    min-height: 190px;
  }

  .progress-detail,
  footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .preview-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  footer {
    justify-content: center;
    gap: 8px;
  }
}
