:root {
  --ink: #17201e;
  --muted: #66706d;
  --paper: #f3f0e8;
  --card: #fffdf8;
  --line: #d9d5ca;
  --acid: #d8ff45;
  --green: #1e6f54;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(23,32,30,.035) 1px, transparent 1px),
    linear-gradient(rgba(23,32,30,.035) 1px, transparent 1px),
    var(--paper);
  background-size: 42px 42px;
  font-family: "Segoe UI", "Microsoft JhengHei", sans-serif;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 18% 16%, rgba(216,255,69,.28), transparent 24%);
}
main {
  width: min(1120px, calc(100% - 40px));
  min-height: calc(100vh - 62px);
  margin: auto;
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: 72px;
  align-items: center;
  position: relative;
}
.eyebrow {
  font: 700 12px/1.2 Consolas, monospace;
  letter-spacing: .18em;
  margin-bottom: 26px;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 34px;
  height: 8px;
  margin-right: 12px;
  background: var(--acid);
  border: 1px solid var(--ink);
}
h1 {
  margin: 0;
  font-size: clamp(48px, 6vw, 78px);
  line-height: .98;
  letter-spacing: -.065em;
  font-weight: 800;
}
h1 span { color: var(--green); }
.intro > p {
  max-width: 470px;
  margin: 28px 0 34px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}
.trust {
  display: flex;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  width: fit-content;
}
.trust div { padding: 14px 24px 14px 0; margin-right: 24px; }
.trust strong { display: block; font: 700 17px Consolas, monospace; }
.trust span { color: var(--muted); font-size: 11px; letter-spacing: .08em; }
.tool-card {
  background: var(--card);
  border: 1px solid var(--ink);
  box-shadow: 12px 12px 0 var(--ink);
  padding: 30px;
}
.card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 24px;
}
.step {
  font: 700 12px Consolas, monospace;
  color: var(--green);
}
h2 { margin: 5px 0 0; font-size: 24px; }
.status-dot {
  color: var(--green);
  font-size: 12px;
  border: 1px solid #9db9ae;
  border-radius: 999px;
  padding: 7px 10px;
}
.status-dot::before { content: "●"; margin-right: 6px; font-size: 9px; }
.drop-zone {
  min-height: 240px;
  border: 1.5px dashed #88908d;
  background: #f8f7f2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: .2s ease;
  position: relative;
}
.drop-zone:hover, .drop-zone.dragging { background: #f1f6df; border-color: var(--green); }
.drop-zone input { position: absolute; opacity: 0; pointer-events: none; }
.file-mark {
  width: 52px;
  height: 60px;
  display: grid;
  place-items: center;
  background: var(--green);
  color: white;
  font: 800 16px Consolas, monospace;
  clip-path: polygon(0 0, 74% 0, 100% 22%, 100% 100%, 0 100%);
  margin-bottom: 15px;
}
.drop-title { font-weight: 700; font-size: 17px; }
.drop-subtitle { color: var(--muted); font-size: 12px; margin-top: 7px; }
.selected-file {
  min-height: 18px;
  margin-top: 12px;
  color: var(--green);
  font: 700 12px Consolas, monospace;
  max-width: 90%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.process {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 22px 0;
  font-size: 11px;
  color: var(--muted);
}
.process div { display: flex; align-items: center; gap: 5px; white-space: nowrap; }
.process span {
  display: grid; place-items: center;
  width: 19px; height: 19px;
  border: 1px solid var(--line); border-radius: 50%;
  font: 700 10px Consolas, monospace;
}
.process i { width: 26px; height: 1px; background: var(--line); }
button {
  width: 100%;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: white;
  padding: 16px 18px;
  display: flex;
  justify-content: space-between;
  font: 700 15px "Segoe UI", sans-serif;
  cursor: pointer;
}
button b { color: var(--acid); font-size: 20px; }
button:disabled { opacity: .38; cursor: not-allowed; }
.message { min-height: 20px; margin: 12px 0 0; font-size: 12px; color: var(--green); }
.message.error { color: #a2372d; }
.privacy-note {
  display: flex;
  gap: 12px;
  align-items: center;
  border-top: 1px solid var(--line);
  margin-top: 12px;
  padding-top: 18px;
}
.privacy-note > span { color: var(--green); }
.privacy-note p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.privacy-note strong { display: block; color: var(--ink); font-size: 12px; }
footer {
  height: 62px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  font: 700 10px Consolas, monospace;
  letter-spacing: .16em;
  color: #747d79;
}
footer span { width: 3px; height: 3px; border-radius: 50%; background: var(--green); }
@media (max-width: 850px) {
  main { grid-template-columns: 1fr; gap: 44px; padding: 60px 0; }
  .intro { text-align: center; }
  .intro > p, .trust { margin-left: auto; margin-right: auto; }
}
@media (max-width: 520px) {
  main { width: min(100% - 26px, 1120px); }
  h1 { font-size: 46px; }
  .tool-card { padding: 20px; box-shadow: 7px 7px 0 var(--ink); }
  .trust div { padding-right: 12px; margin-right: 12px; }
  .process i { width: 8px; }
}
