:root {
  color-scheme: light;
  --canvas: #f5f5f7;
  --surface: #ffffff;
  --text: #1d1d1f;
  --muted: #6e6e73;
  --blue: #0071e3;
  --blue-press: #0077ed;
  --line: rgba(0, 0, 0, 0.08);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--canvas);
  color: var(--text);
  font-family: "SF Pro Text", "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 28px;
  background: rgba(245, 245, 247, 0.78);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line);
}

.brand {
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.nav-note {
  color: var(--muted);
  font-size: 13px;
}

.page {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 20px 80px;
}

.hero h1 {
  margin: 8px 0 12px;
  font-size: 44px;
  line-height: 1.08;
  letter-spacing: -0.045em;
  font-weight: 600;
}

.hero h1 span {
  color: var(--blue);
}

.eyebrow {
  margin: 0;
  color: var(--blue);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.lede {
  margin: 0;
  max-width: 34em;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.47;
}

.card {
  margin-top: 32px;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.04);
}

.drop {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 220px;
  padding: 28px 20px;
  border: 1.5px dashed #d2d2d7;
  border-radius: 18px;
  background: #fbfbfd;
  cursor: pointer;
  text-align: center;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.drop.dragover {
  border-color: var(--blue);
  background: #f2f7fd;
}

.drop input {
  display: none;
}

.drop-title {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.drop-sub,
.file-name {
  color: var(--muted);
  font-size: 14px;
}

.file-name:not(:empty) {
  margin-top: 6px;
  color: var(--text);
  font-weight: 500;
}

.actions {
  display: flex;
  justify-content: center;
  margin-top: 18px;
}

.btn {
  appearance: none;
  border: 0;
  border-radius: 980px;
  background: var(--blue);
  color: #fff;
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  padding: 12px 22px;
  min-width: 220px;
  cursor: pointer;
}

.btn:hover:not(:disabled) {
  background: var(--blue-press);
}

.btn:disabled {
  opacity: 0.45;
  cursor: default;
}

.status {
  margin: 16px 0 0;
  text-align: center;
  font-size: 14px;
}

.status.error {
  color: #b42318;
}

.status.ok {
  color: #1d1d1f;
}
