:root {
  --ink: #16283f;
  --paper: #fffdf8;
  --ivory: #f3eee4;
  --amber: #d9982f;
  --teal: #417b78;
  --line: rgba(22, 40, 63, 0.14);
  --muted: #697384;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 0 6vw;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 14px;
  font-weight: 850;
}

.brand span {
  display: grid;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--ink);
  color: white;
  place-items: center;
}

.service-link {
  padding: 10px 15px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 750;
}

main {
  padding-bottom: 70px;
}

.hero {
  padding: 88px 7vw 74px;
  background:
    radial-gradient(circle at 78% 15%, rgba(217, 152, 47, 0.22), transparent 30%),
    linear-gradient(135deg, var(--paper), var(--ivory));
}

.eyebrow {
  margin: 0 0 20px;
  color: #9c6412;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.1em;
}

h1,
h2 {
  margin: 0;
  font-family: "STSong", "Songti SC", Georgia, serif;
  letter-spacing: -0.045em;
}

h1 {
  max-width: 900px;
  font-size: clamp(48px, 6vw, 82px);
  line-height: 1.08;
}

.hero > p:last-child {
  max-width: 760px;
  margin: 25px 0 0;
  color: #33445a;
  font-size: 17px;
  line-height: 1.8;
}

.checker {
  max-width: 1160px;
  margin: 72px auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: white;
  box-shadow: 0 22px 70px rgba(22, 40, 63, 0.12);
}

.checker-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: var(--ink);
  color: white;
}

.checker-head strong {
  color: #f2bc62;
  font-size: 12px;
}

.checker-head p {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 10px;
}

.checker-head button {
  padding: 9px 13px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: white;
  cursor: pointer;
  font-size: 11px;
  font-weight: 750;
}

form {
  padding: 24px;
}

.inputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

fieldset {
  display: grid;
  margin: 0;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fbfaf6;
  gap: 16px;
}

label {
  display: grid;
  color: #33445a;
  font-size: 11px;
  font-weight: 800;
  gap: 8px;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 7px;
  outline: none;
  background: white;
  color: var(--ink);
}

input {
  min-height: 40px;
  padding: 0 11px;
}

textarea {
  min-height: 120px;
  padding: 11px;
  line-height: 1.6;
  resize: vertical;
}

input:focus,
textarea:focus {
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(217, 152, 47, 0.1);
}

.run {
  display: block;
  min-width: 240px;
  min-height: 48px;
  margin: 18px 0 0 auto;
  border: 0;
  border-radius: 7px;
  background: var(--amber);
  color: var(--ink);
  cursor: pointer;
  font-size: 13px;
  font-weight: 850;
}

#result {
  border-top: 1px solid var(--line);
}

.empty {
  margin: 0;
  padding: 26px;
  color: #9c6412;
  font-size: 12px;
}

.verdict {
  padding: 32px;
  background: var(--ink);
  color: white;
}

.verdict > span {
  display: inline-flex;
  padding: 5px 8px;
  border-radius: 999px;
  background: #f2bc62;
  color: var(--ink);
  font-size: 9px;
  font-weight: 900;
}

.verdict.fill > span {
  background: #d9e6a2;
}

.verdict.map > span {
  background: #ffb7a8;
}

.verdict h2 {
  margin-top: 16px;
  font-size: clamp(26px, 3vw, 40px);
}

.verdict p {
  max-width: 760px;
  margin: 13px 0 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 12px;
  line-height: 1.75;
}

.numbers {
  display: grid;
  padding: 22px 28px;
  border-bottom: 1px solid var(--line);
  grid-template-columns: repeat(3, 1fr);
}

.numbers div {
  padding: 0 22px;
  border-right: 1px solid var(--line);
}

.numbers div:first-child {
  padding-left: 0;
}

.numbers div:last-child {
  border: 0;
}

.numbers strong,
.numbers span {
  display: block;
}

.numbers strong {
  font-size: 22px;
}

.numbers span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 10px;
}

.file-results {
  display: grid;
  padding: 22px;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.file-results article {
  padding: 19px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fbfaf6;
}

.file-results h3 {
  margin: 0;
  font-size: 14px;
}

.file-results article > p,
.file-results article div p {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.6;
}

.file-results article div {
  padding-top: 13px;
  border-top: 1px solid var(--line);
}

.file-results article div strong {
  color: #a14934;
  font-size: 10px;
}

.file-results article div.complete strong {
  color: var(--teal);
}

.limit {
  margin: 0;
  padding: 0 22px 24px;
  color: var(--muted);
  font-size: 10px;
}

.paid {
  display: grid;
  margin: 0 6vw;
  padding: 62px 5vw;
  border-radius: 15px;
  background: var(--teal);
  color: white;
  grid-template-columns: 1fr auto;
  gap: 7vw;
  align-items: center;
}

.paid h2 {
  max-width: 760px;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.12;
}

.paid div > p:last-child {
  max-width: 690px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  line-height: 1.8;
}

.paid > a {
  min-width: 180px;
  padding: 14px 17px;
  border-radius: 7px;
  background: #f2bc62;
  color: var(--ink);
  font-size: 12px;
  font-weight: 850;
  text-align: center;
}

footer {
  display: flex;
  justify-content: space-between;
  padding: 30px 6vw;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 10px;
}

@media (max-width: 760px) {
  header {
    padding: 0 20px;
  }

  .service-link {
    display: none;
  }

  .hero {
    padding: 66px 22px 58px;
  }

  .hero > p:last-child {
    font-size: 15px;
  }

  .checker {
    margin: 42px 14px 62px;
  }

  .checker-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 15px;
  }

  form {
    padding: 16px;
  }

  .inputs,
  .file-results {
    grid-template-columns: 1fr;
  }

  .run {
    width: 100%;
    min-width: 0;
  }

  .numbers {
    padding: 19px 14px;
  }

  .numbers div {
    padding: 0 10px;
  }

  .paid {
    margin: 0 14px;
    padding: 48px 22px;
    grid-template-columns: 1fr;
    gap: 28px;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
}
