:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f5f2ea;
  color: #1b1d1f;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(120deg, rgba(66, 122, 161, 0.14), transparent 34%),
    linear-gradient(300deg, rgba(204, 74, 60, 0.12), transparent 36%),
    #f5f2ea;
}

.shell {
  width: min(920px, calc(100% - 32px));
  min-height: 100vh;
  margin: 0 auto;
  display: grid;
  place-items: center;
  padding: 40px 0;
}

.panel {
  width: min(620px, 100%);
  background: #fffdf8;
  border: 1px solid #ddd5c6;
  border-radius: 8px;
  box-shadow: 0 18px 60px rgba(56, 50, 42, 0.12);
  padding: clamp(24px, 4vw, 42px);
}

.header {
  margin-bottom: 28px;
}

.eyebrow {
  margin: 0 0 10px;
  color: #3d6f84;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(32px, 6vw, 52px);
  line-height: 1;
  letter-spacing: 0;
}

.summary {
  max-width: 520px;
  margin: 16px 0 0;
  color: #596069;
  font-size: 16px;
  line-height: 1.65;
}

.converter {
  display: grid;
  gap: 18px;
}

.dropzone {
  display: grid;
  place-items: center;
  gap: 10px;
  min-height: 190px;
  border: 2px dashed #9fb0b8;
  border-radius: 8px;
  background: #f7faf9;
  cursor: pointer;
  text-align: center;
  padding: 24px;
}

.dropzone input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.drop-icon {
  display: grid;
  place-items: center;
  width: 62px;
  height: 78px;
  border: 2px solid #1f2528;
  border-radius: 4px;
  color: #cc4a3c;
  font-size: 15px;
  font-weight: 800;
}

.drop-title {
  font-size: 18px;
  font-weight: 750;
}

.file-name {
  max-width: 100%;
  color: #596069;
  font-size: 14px;
  overflow-wrap: anywhere;
}

.field {
  display: grid;
  gap: 10px;
}

.label {
  color: #30363c;
  font-size: 14px;
  font-weight: 700;
}

.segmented {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.segmented label {
  min-width: 0;
}

.segmented input {
  position: absolute;
  opacity: 0;
}

.segmented span,
select {
  display: grid;
  place-items: center;
  min-height: 48px;
  width: 100%;
  border: 1px solid #c9d1d5;
  border-radius: 8px;
  background: #ffffff;
  color: #252a2e;
  font: inherit;
  font-size: 15px;
}

.segmented input:checked + span {
  border-color: #28586d;
  background: #e4f0f3;
  color: #183744;
  font-weight: 750;
}

select {
  justify-content: start;
  padding: 0 14px;
  appearance: auto;
}

.check {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #30363c;
  font-size: 15px;
}

.check input {
  width: 18px;
  height: 18px;
  accent-color: #28586d;
}

.submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  border: 0;
  border-radius: 8px;
  background: #1f2528;
  color: #ffffff;
  font: inherit;
  font-size: 16px;
  font-weight: 760;
  cursor: pointer;
}

.submit:hover {
  background: #2f3f45;
}

.file-list {
  margin: 0;
  padding: 0 0 0 18px;
  color: #596069;
  font-size: 14px;
  line-height: 1.8;
  list-style: disc;
}

.dropzone.drag-over {
  border-color: #28586d;
  background: #e4f0f3;
}


  .shell {
    width: min(100% - 20px, 920px);
    padding: 20px 0;
  }

  .segmented {
    grid-template-columns: 1fr;
  }
}
