:root {
  color-scheme: light;
  --ink: #18201c;
  --muted: #68716c;
  --line: #dce2de;
  --paper: #fff;
  --bg: #f2f5f3;
  --green: #205c45;
  --green-soft: #e7f0eb;
  --red: #c84b3d;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--bg); }
button, input, textarea { font: inherit; }
button { color: inherit; }
.skip-link { position: fixed; left: 10px; top: -60px; z-index: 20; padding: 10px; background: #fff; }
.skip-link:focus { top: 10px; }
.topbar { display: flex; align-items: center; justify-content: space-between; max-width: 1180px; height: 72px; margin: auto; padding: 0 24px; }
.brand { display: flex; align-items: center; gap: 11px; color: inherit; text-decoration: none; }
.brand__mark { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; color: #fff; background: var(--ink); font-weight: 800; }
.brand > span:last-child { display: grid; }
.brand strong { font-size: 15px; }
.brand small { color: var(--muted); font-size: 11px; }
.privacy { display: flex; align-items: center; gap: 7px; color: var(--green); font-size: 12px; }
.privacy i { width: 7px; height: 7px; border-radius: 50%; background: #43a875; box-shadow: 0 0 0 4px rgba(67,168,117,.12); }
main { max-width: 1180px; margin: auto; padding: 48px 24px 70px; }
.hero { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; min-height: 430px; }
.eyebrow, .result-eyebrow { margin: 0 0 12px; color: var(--green); font-size: 12px; font-weight: 800; letter-spacing: .15em; }
.hero h1 { margin: 0; font-size: clamp(42px, 6vw, 70px); line-height: 1.08; letter-spacing: -.055em; }
.lead { max-width: 650px; margin: 24px 0 0; color: var(--muted); font-size: 17px; line-height: 1.75; }
.paper-visual { display: grid; place-items: center; min-height: 360px; }
.paper-sheet { position: relative; width: 245px; height: 320px; padding: 76px 38px; border: 1px solid #d9dedb; border-radius: 4px; background: #fff; box-shadow: 0 27px 60px rgba(28,48,38,.15); transform: rotate(3deg); }
.paper-sheet > span { display: block; height: 5px; margin: 13px 0; border-radius: 3px; background: #d9dedb; }
.paper-sheet .paper-title { width: 60%; height: 8px; margin: 0 auto 28px; background: #66716c; }
.paper-sheet .short { width: 68%; }
.comment-pin { position: absolute; width: 160px; padding: 10px 12px; border-left: 3px solid var(--red); border-radius: 3px; color: #7f3028; background: #fff0ed; box-shadow: 0 8px 22px rgba(90,45,38,.12); font-size: 10px; font-weight: 650; transform: rotate(-3deg); }
.comment-pin::before { content: ""; position: absolute; left: -42px; top: 50%; width: 38px; height: 1px; background: var(--red); }
.pin-one { right: -129px; top: 118px; }
.pin-two { right: -112px; top: 211px; }
.checker, .progress-card, .result-card { border: 1px solid var(--line); border-radius: 22px; background: var(--paper); box-shadow: 0 24px 65px rgba(27,43,34,.07); }
.stepper { display: flex; align-items: center; justify-content: center; padding: 22px 30px; border-bottom: 1px solid var(--line); color: #929a95; font-size: 12px; font-weight: 650; }
.stepper span { display: flex; align-items: center; gap: 8px; }
.stepper b { display: grid; place-items: center; width: 23px; height: 23px; border: 1px solid #c9d0cc; border-radius: 50%; font-size: 10px; }
.stepper .is-current { color: var(--green); }
.stepper .is-current b { color: #fff; border-color: var(--green); background: var(--green); }
.stepper i { width: 90px; height: 1px; margin: 0 18px; background: var(--line); }
#check-form { padding: 10px 48px 36px; }
.form-section { padding: 32px 0; }
.form-section + .form-section { border-top: 1px solid var(--line); }
.section-heading { display: flex; gap: 14px; margin-bottom: 20px; }
.section-heading > span { padding-top: 3px; color: var(--green); font-size: 11px; font-weight: 850; letter-spacing: .1em; }
.section-heading h2 { margin: 0 0 5px; font-size: 18px; }
.section-heading p { margin: 0; color: var(--muted); font-size: 12px; }
.dropzone { display: flex; align-items: center; gap: 18px; min-height: 112px; padding: 20px 24px; border: 1.5px dashed #bdc9c2; border-radius: 14px; background: #f8faf9; cursor: pointer; }
.dropzone.is-dragging { border-color: var(--green); background: var(--green-soft); }
.dropzone input, .compact-upload input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.file-icon { display: grid; place-items: center; flex: 0 0 52px; height: 58px; border-radius: 8px; color: #fff; background: #2d6db5; font-weight: 900; font-family: Georgia, serif; }
.drop-copy { display: grid; flex: 1; gap: 5px; }
.drop-copy strong { font-size: 14px; }
.drop-copy small, .compact-upload small { color: var(--muted); font-size: 11px; }
.choose-button { padding: 9px 14px; border: 1px solid #c8d0cb; border-radius: 9px; background: #fff; font-size: 12px; font-weight: 700; }
.basis-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 5px; border-radius: 12px; background: #eef1ef; }
.basis-tabs button { padding: 10px; border: 0; border-radius: 8px; background: transparent; cursor: pointer; font-size: 12px; font-weight: 700; }
.basis-tabs button.is-active { color: var(--green); background: #fff; box-shadow: 0 2px 8px rgba(31,55,42,.08); }
.basis-panel { margin-top: 14px; }
.compact-upload { display: flex; align-items: center; gap: 12px; padding: 16px; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; }
.compact-upload > span:first-of-type { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; color: var(--green); background: var(--green-soft); font-size: 21px; }
.compact-upload > span:last-child { display: grid; gap: 3px; }
.compact-upload strong { font-size: 12px; }
.or { display: flex; align-items: center; gap: 10px; margin: 14px 0; color: #8a928d; font-size: 10px; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.text-area-label { display: block; margin-bottom: 7px; color: var(--muted); font-size: 11px; }
textarea { width: 100%; resize: vertical; padding: 13px; border: 1px solid var(--line); border-radius: 10px; outline: 0; line-height: 1.6; }
textarea:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(32,92,69,.08); }
.common-rules { padding: 17px 19px; border: 1px solid #ceded5; border-radius: 12px; color: #365245; background: #f1f7f4; font-size: 12px; }
.common-rules p { margin: 0 0 8px; }
.common-rules ul { margin: 0; padding-left: 20px; line-height: 1.9; }
.form-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 24px; border-top: 1px solid var(--line); }
.consent { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 11px; }
.consent input { accent-color: var(--green); }
.submit-button { display: flex; align-items: center; gap: 28px; padding: 14px 18px; border: 0; border-radius: 10px; color: #fff; background: var(--green); cursor: pointer; font-size: 13px; font-weight: 800; }
.submit-button:hover { background: #174c38; }
.submit-button:disabled { cursor: wait; opacity: .55; }
.form-message { min-height: 18px; margin: 10px 0 0; color: var(--red); font-size: 11px; text-align: right; }
.progress-card { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 20px; margin-top: 22px; padding: 28px 34px; }
.spinner { width: 44px; height: 44px; border: 4px solid #dce7e1; border-top-color: var(--green); border-radius: 50%; animation: spin .8s linear infinite; }
.progress-card h2 { margin: 0 0 5px; font-size: 17px; }
.progress-card p { margin: 0; color: var(--muted); font-size: 12px; }
.progress-track { grid-column: 1 / -1; height: 5px; overflow: hidden; border-radius: 5px; background: #e5eae7; }
.progress-track span { display: block; width: 8%; height: 100%; border-radius: inherit; background: var(--green); transition: width .3s ease; }
.result-card { display: grid; grid-template-columns: 190px 1fr; gap: 34px; margin-top: 22px; padding: 34px; }
.score-box { display: grid; place-content: center; justify-items: center; min-height: 190px; border-radius: 16px; color: #fff; background: var(--green); }
.score-box span { font-size: 11px; opacity: .8; }
.score-box strong { font-size: 68px; line-height: 1.05; letter-spacing: -.06em; }
.score-box small { font-size: 10px; opacity: .65; }
.result-main { align-self: center; }
.result-main h2 { margin: 0; font-size: 25px; }
.result-main h2 span { color: var(--red); }
.result-main > p:not(.result-eyebrow) { color: var(--muted); font-size: 12px; }
.category-list { display: flex; flex-wrap: wrap; gap: 7px; margin: 15px 0 20px; }
.category-list span { padding: 6px 9px; border-radius: 999px; color: #66453f; background: #f8ece9; font-size: 10px; }
.result-actions { display: flex; gap: 9px; }
.download-result, .result-actions button { padding: 11px 15px; border-radius: 9px; font-size: 12px; font-weight: 750; text-decoration: none; }
.download-result { color: #fff; background: var(--green); }
.result-actions button { border: 1px solid var(--line); background: #fff; cursor: pointer; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 25px; }
.features article { padding: 25px; border: 1px solid var(--line); border-radius: 15px; background: rgba(255,255,255,.63); }
.features article > span { color: var(--green); font-size: 10px; font-weight: 850; }
.features h3 { margin: 10px 0 8px; font-size: 15px; }
.features p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.7; }
footer { display: flex; justify-content: space-between; gap: 20px; max-width: 1180px; margin: auto; padding: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; }
footer a { color: inherit; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; }
  .paper-visual { display: none; }
  #check-form { padding: 8px 22px 28px; }
  .features { grid-template-columns: 1fr; }
}
@media (max-width: 580px) {
  .topbar { height: 62px; padding: 0 15px; }
  .privacy { max-width: 150px; text-align: right; font-size: 9px; }
  main { padding: 34px 13px 50px; }
  .hero { min-height: 380px; }
  .hero h1 { font-size: 43px; }
  .lead { font-size: 14px; }
  .stepper { padding: 18px 12px; }
  .stepper i { width: 18px; margin: 0 7px; }
  .stepper span { font-size: 10px; }
  .dropzone { align-items: flex-start; flex-wrap: wrap; }
  .drop-copy { min-width: calc(100% - 72px); }
  .choose-button { margin-left: 70px; }
  .basis-tabs { grid-template-columns: 1fr; }
  .form-footer { align-items: stretch; flex-direction: column; }
  .submit-button { justify-content: space-between; }
  .result-card { grid-template-columns: 1fr; padding: 22px; }
  .score-box { min-height: 150px; }
  footer { flex-direction: column; padding: 20px 15px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
