:root {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #14213d;
  background: #f4f7fb;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 15% 15%, rgba(45, 108, 223, 0.13), transparent 30%),
    radial-gradient(circle at 85% 80%, rgba(20, 135, 90, 0.12), transparent 32%),
    #f4f7fb;
}

.shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px 18px;
}

.card {
  width: min(680px, 100%);
  padding: clamp(28px, 6vw, 52px);
  border: 1px solid rgba(20, 33, 61, 0.08);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 24px 80px rgba(31, 52, 84, 0.13);
}

.eyebrow {
  margin-bottom: 10px;
  color: #3564a8;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(2rem, 6vw, 3.4rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.intro {
  max-width: 560px;
  margin: 20px 0 24px;
  color: #54627a;
  font-size: 1.06rem;
  line-height: 1.6;
}

.colors {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 30px;
}

.colors span {
  padding: 7px 12px;
  border-radius: 999px;
  color: white;
  font-size: 0.86rem;
  font-weight: 750;
}

.colors .blue { background: #2563eb; }
.colors .green { background: #16845b; }
.colors .yellow { background: #f2c94c; color: #3f3300; }
.colors .orange { background: #e87817; }
.colors .red { background: #d93c52; }
.colors .black { background: #222936; }

form { display: grid; gap: 16px; }

.dropzone {
  display: grid;
  place-items: center;
  min-height: 180px;
  padding: 24px;
  border: 2px dashed #a9b8cc;
  border-radius: 20px;
  background: #f9fbfe;
  cursor: pointer;
  text-align: center;
  transition: border-color 150ms ease, background 150ms ease, transform 150ms ease;
}

.dropzone:hover, .dropzone.dragging {
  border-color: #3564a8;
  background: #f1f6fd;
  transform: translateY(-1px);
}

.dropzone input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.drop-title { display: block; font-size: 1.16rem; font-weight: 800; }
.drop-help { display: block; max-width: 100%; margin-top: 6px; color: #6e7a8f; overflow-wrap: anywhere; }

button {
  min-height: 54px;
  border: 0;
  border-radius: 15px;
  background: #14213d;
  color: white;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: transform 150ms ease, background 150ms ease;
}

button:hover { background: #24375c; transform: translateY(-1px); }
button:disabled { cursor: wait; opacity: 0.65; transform: none; }

.status { min-height: 24px; margin-top: 18px; color: #29446f; font-weight: 650; }
.status.error { color: #b42335; }
.status.success { color: #147047; }
.privacy { margin: 16px 0 0; color: #8a94a5; font-size: 0.86rem; }

@media (max-width: 520px) {
  .card { border-radius: 22px; }
  .dropzone { min-height: 150px; }
}
