:root {
  color-scheme: light;
  --bg: #fbfaf7;
  --panel: #f0f6ff;
  --panel-strong: #e8f2ff;
  --paper: #ffffff;
  --text: #1e2d42;
  --muted: #718198;
  --blue: #2375df;
  --blue-dark: #0d56b8;
  --cyan: #21c7dc;
  --mint: #9debd9;
  --line: #dbe9fa;
  --shadow: 0 14px 36px rgba(48, 104, 178, .13);
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
}

button,
input {
  font: inherit;
}

.page {
  min-height: 100vh;
}

.hero {
  position: relative;
  min-height: 310px;
  overflow: hidden;
  background: #dff1ff;
}

.hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(245, 251, 255, .92) 0%, rgba(245, 251, 255, .72) 34%, rgba(245, 251, 255, .1) 72%);
}

.hero__content {
  position: relative;
  width: min(1120px, calc(100% - 48px));
  min-height: 310px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 34px 0 44px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 16px;
  font-weight: 800;
}

h1 {
  margin: 0;
  color: var(--blue-dark);
  font-size: 46px;
  line-height: 1.08;
  letter-spacing: 0;
}

.hero__summary {
  width: min(520px, 100%);
  margin: 18px 0 0;
  color: #506277;
  font-size: 18px;
  line-height: 1.7;
}

.workspace {
  width: min(1120px, calc(100% - 48px));
  margin: -28px auto 0;
  padding-bottom: 54px;
  position: relative;
}

.analysis-form {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 22px;
  align-items: start;
}

.field,
.upload-panel {
  display: block;
  background: var(--panel);
  box-shadow: var(--shadow);
  padding: 28px;
}

.field__label {
  display: block;
  margin-bottom: 14px;
  color: var(--text);
  font-size: 24px;
  line-height: 1.2;
  font-weight: 900;
}

.field input {
  width: 100%;
  height: 64px;
  border: 0;
  outline: 2px solid transparent;
  background: var(--paper);
  color: var(--text);
  padding: 0 20px;
  font-size: 19px;
}

.field input:focus {
  outline-color: rgba(35, 117, 223, .28);
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 18px;
}

.section-head h2 {
  margin: 0;
  color: var(--text);
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: 0;
}

.section-head p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.file-limit {
  flex: 0 0 auto;
  min-width: 54px;
  padding: 9px 12px;
  background: var(--panel-strong);
  color: var(--blue);
  font-weight: 900;
  text-align: center;
}

.upload-drop {
  min-height: 190px;
  border: 2px dashed #9fdaf0;
  background: linear-gradient(180deg, #ffffff 0%, #f7fdff 100%);
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  cursor: pointer;
  transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.upload-drop:hover,
.upload-drop:focus-within {
  border-color: var(--cyan);
  box-shadow: inset 0 0 0 4px rgba(33, 199, 220, .08);
}

.upload-drop.is-dragover {
  transform: translateY(-2px);
  border-color: var(--blue);
  box-shadow: inset 0 0 0 5px rgba(35, 117, 223, .1);
}

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

.upload-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(180deg, #7eefff 0%, #0fa9df 100%);
  color: #fff;
  font-size: 42px;
  line-height: 1;
  font-weight: 800;
  box-shadow: 0 9px 18px rgba(14, 155, 210, .25);
}

.upload-text {
  color: var(--blue);
  font-size: 18px;
  font-weight: 900;
}

.upload-hint {
  color: var(--muted);
  font-size: 14px;
}

.file-card {
  min-height: 96px;
  background: #fff;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) 44px;
  align-items: center;
  gap: 16px;
  padding: 18px;
}

.file-mark {
  width: 54px;
  height: 62px;
  position: relative;
  background: linear-gradient(180deg, #f9fdff 0%, #dceeff 100%);
  border: 2px solid #7fc7ff;
  border-radius: 12px;
}

.file-mark::before {
  content: "";
  position: absolute;
  right: -2px;
  top: -2px;
  width: 18px;
  height: 18px;
  background: #c5ecff;
  border-left: 2px solid #7fc7ff;
  border-bottom: 2px solid #7fc7ff;
  border-bottom-left-radius: 8px;
}

.file-mark span,
.file-mark span::before,
.file-mark span::after {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 4px;
  border-radius: 999px;
  background: #80baf4;
  content: "";
}

.file-mark span {
  top: 26px;
}

.file-mark span::before {
  left: 0;
  right: 8px;
  top: 11px;
}

.file-mark span::after {
  left: 0;
  right: 15px;
  top: 22px;
}

.file-info {
  min-width: 0;
}

.file-info strong,
.file-info small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.file-info strong {
  font-size: 18px;
  color: var(--text);
}

.file-info small {
  margin-top: 7px;
  color: var(--muted);
  font-size: 14px;
}

.icon-button {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(180deg, #ff8d8d 0%, #f04444 100%);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  box-shadow: 0 8px 16px rgba(226, 55, 55, .22);
  cursor: pointer;
}

.icon-button:active {
  transform: translateY(1px);
}

@media (max-width: 760px) {
  .hero {
    min-height: 270px;
  }

  .hero__image {
    object-position: 58% center;
  }

  .hero__shade {
    background: linear-gradient(180deg, rgba(245, 251, 255, .86) 0%, rgba(245, 251, 255, .55) 52%, rgba(245, 251, 255, .06) 100%);
  }

  .hero__content {
    width: calc(100% - 32px);
    min-height: 270px;
    justify-content: flex-start;
    padding-top: 42px;
  }

  h1 {
    font-size: 38px;
  }

  .hero__summary {
    font-size: 16px;
    line-height: 1.65;
  }

  .workspace {
    width: calc(100% - 28px);
    margin-top: -18px;
    padding-bottom: 34px;
  }

  .analysis-form {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .field,
  .upload-panel {
    padding: 22px;
  }

  .field__label,
  .section-head h2 {
    font-size: 22px;
  }

  .field input {
    height: 58px;
    font-size: 18px;
  }

  .upload-drop {
    min-height: 166px;
  }
}

@media (min-width: 1280px) {
  .hero {
    min-height: 360px;
  }

  .hero__content {
    min-height: 360px;
  }

  .workspace {
    margin-top: -36px;
  }
}
