:root {
  --ink: #181815;
  --paper: #f3f0e8;
  --paper-deep: #e5e0d4;
  --acid: #d8ff45;
  --orange: #ff5d35;
  --blue: #6eb7ff;
  --muted: #6d6b64;
  --line: rgba(24, 24, 21, .2);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
button, input { font: inherit; }
button, label { -webkit-tap-highlight-color: transparent; }
.hidden { display: none !important; }
.noise {
  position: fixed; inset: 0; pointer-events: none; opacity: .13; z-index: 20;
  background-image: repeating-linear-gradient(0deg, transparent 0 3px, rgba(24,24,21,.08) 3px 4px);
  mix-blend-mode: multiply;
}

.site-header {
  height: 86px; padding: 0 clamp(22px, 5vw, 76px); display: flex; align-items: center;
  justify-content: space-between; border-bottom: 1px solid var(--ink); position: relative; z-index: 2;
}
.brand { color: inherit; text-decoration: none; display: flex; gap: 14px; align-items: center; }
.brand strong { display: block; letter-spacing: -.06em; font-size: 23px; line-height: 1; }
.brand strong span { color: var(--orange); }
.brand small { display: block; font: 9px/1.5 ui-monospace, monospace; letter-spacing: .14em; margin-top: 5px; }
.brand-beat { width: 42px; height: 36px; display: flex; align-items: center; gap: 4px; }
.brand-beat i { display: block; width: 6px; background: var(--ink); }
.brand-beat i:nth-child(1) { height: 13px; }
.brand-beat i:nth-child(2) { height: 30px; background: var(--orange); }
.brand-beat i:nth-child(3) { height: 20px; }
.brand-beat i:nth-child(4) { height: 8px; }
.system-status { display: flex; align-items: center; gap: 9px; font: 11px ui-monospace, monospace; text-transform: uppercase; letter-spacing: .08em; }
.system-status i { width: 9px; height: 9px; border-radius: 50%; background: #d39a00; box-shadow: 0 0 0 4px rgba(211,154,0,.13); }
.system-status.ready i { background: #3e9b51; box-shadow: 0 0 0 4px rgba(62,155,81,.14); }
.system-status.error i { background: var(--orange); }

main { overflow: hidden; }
.hero { min-height: 650px; display: grid; grid-template-columns: 1.08fr .92fr; border-bottom: 1px solid var(--ink); }
.hero-copy { padding: clamp(72px, 10vw, 145px) clamp(24px, 7vw, 108px); }
.kicker { margin: 0 0 22px; font: 700 11px ui-monospace, monospace; letter-spacing: .18em; }
h1, h2 { margin: 0; font-family: Georgia, "Noto Serif SC", serif; font-weight: 400; letter-spacing: -.055em; }
h1 { font-size: clamp(52px, 6.4vw, 98px); line-height: .93; }
h1 em { font-style: italic; color: var(--orange); white-space: nowrap; }
.hero-text { max-width: 610px; font-size: clamp(16px, 1.5vw, 21px); line-height: 1.8; margin: 38px 0 36px; color: #44423d; }
.hero-link { display: inline-flex; align-items: center; gap: 44px; color: var(--ink); font-weight: 800; text-decoration: none; border-bottom: 2px solid var(--ink); padding: 10px 0; }
.hero-link span { color: var(--orange); font-size: 24px; }
.hero-art { background: var(--ink); position: relative; overflow: hidden; min-height: 520px; }
.record { width: min(31vw, 430px); aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(255,255,255,.26); position: absolute; top: 13%; left: 18%; background: repeating-radial-gradient(circle, #20201c 0 7px, #30302b 8px 9px); box-shadow: 0 30px 80px #000; }
.record::after { content: ""; position: absolute; inset: 30%; background: var(--orange); border-radius: 50%; border: 16px solid var(--paper); box-shadow: 0 0 0 2px var(--ink); }
.record span { position: absolute; width: 5%; aspect-ratio: 1; background: var(--ink); border-radius: 50%; inset: 47.5%; z-index: 2; }
.signal { height: 2px; position: absolute; left: -5%; right: -5%; background: var(--acid); box-shadow: 0 0 12px var(--acid); transform: rotate(-13deg); }
.signal::before, .signal::after { content: ""; position: absolute; height: 2px; background: inherit; box-shadow: inherit; left: 0; right: 0; }
.signal::before { transform: translateY(-28px); }
.signal::after { transform: translateY(34px); }
.signal-a { top: 34%; }
.signal-b { top: 69%; transform: rotate(8deg); background: var(--orange); box-shadow: 0 0 12px var(--orange); }
.art-label { position: absolute; left: 30px; bottom: 26px; color: white; font: 11px ui-monospace, monospace; letter-spacing: .15em; }
.art-label span { color: var(--acid); margin-right: 14px; }

.feature-strip { min-height: 112px; display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--ink); }
.feature-strip > div { padding: 26px clamp(22px, 4vw, 60px); display: flex; align-items: center; gap: 24px; border-right: 1px solid var(--ink); }
.feature-strip > div:last-child { border-right: 0; }
.feature-strip b { font: 11px ui-monospace, monospace; color: var(--orange); }
.feature-strip span { font-size: 13px; color: var(--muted); }
.feature-strip strong { display: block; color: var(--ink); font-size: 16px; margin-bottom: 3px; }

.workbench, .process-section, .results-section, .explain-section { padding: clamp(70px, 9vw, 132px) clamp(22px, 7vw, 108px); }
.section-intro { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 20px; margin-bottom: 50px; }
.section-intro .kicker { grid-column: 1 / -1; margin-bottom: -2px; }
.section-intro h2 { font-size: clamp(42px, 5vw, 72px); line-height: 1; }
.section-intro > p:last-child { margin: 0; color: var(--muted); max-width: 330px; line-height: 1.6; }
.work-grid { display: grid; grid-template-columns: 1.35fr .65fr; border: 1px solid var(--ink); }
.upload-column { padding: clamp(22px, 4vw, 58px); border-right: 1px solid var(--ink); }
.dropzone { min-height: 330px; border: 1px dashed #75726b; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; cursor: pointer; position: relative; transition: .2s ease; background: rgba(255,255,255,.18); }
.dropzone:hover, .dropzone.dragging { background: var(--acid); border-style: solid; transform: translateY(-3px); box-shadow: 8px 8px 0 var(--ink); }
.drop-index { position: absolute; left: 18px; top: 16px; font: 10px ui-monospace, monospace; letter-spacing: .13em; }
.drop-symbol { width: 76px; height: 76px; display: grid; place-items: center; border-radius: 50%; color: var(--paper); background: var(--ink); font-size: 40px; font-weight: 200; margin-bottom: 22px; }
.dropzone strong { font: 400 clamp(26px, 3vw, 38px) Georgia, serif; }
.dropzone > span:not(.drop-index):not(.drop-symbol) { margin-top: 8px; color: var(--muted); }
.dropzone small { margin-top: 28px; font: 9px ui-monospace, monospace; letter-spacing: .1em; color: var(--muted); }
.file-card { min-height: 220px; border: 1px solid var(--ink); padding: 30px; display: grid; grid-template-columns: auto 1fr auto; align-items: start; gap: 22px; background: var(--paper-deep); }
.file-type { width: 72px; height: 72px; display: grid; place-items: center; background: var(--ink); color: var(--acid); font: 10px ui-monospace, monospace; letter-spacing: .08em; }
.file-copy { min-width: 0; padding-top: 7px; }
.file-copy strong { display: block; font-size: 18px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-copy span { display: block; font: 11px ui-monospace, monospace; color: var(--muted); margin-top: 9px; }
.file-card audio { grid-column: 1 / -1; width: 100%; height: 45px; margin-top: 15px; }
.remove-button { border: 0; border-bottom: 1px solid var(--ink); background: none; cursor: pointer; font-size: 12px; padding: 7px 0; }
.process-button { width: 100%; height: 76px; border: 1px solid var(--ink); border-top: 0; background: var(--orange); color: var(--ink); display: flex; align-items: center; justify-content: space-between; padding: 0 30px; font-weight: 900; font-size: 17px; cursor: pointer; transition: .18s; }
.process-button i { font-style: normal; font-size: 27px; }
.process-button:not(:disabled):hover { background: var(--acid); }
.process-button:disabled { background: #c8c4b9; color: #77746c; cursor: not-allowed; }
.privacy-note { font-size: 11px; line-height: 1.6; color: var(--muted); margin: 16px 0 0; }
.flow-card { background: var(--ink); color: var(--paper); padding: clamp(28px, 4vw, 55px); }
.flow-label { font: 10px ui-monospace, monospace; letter-spacing: .15em; color: var(--acid); }
.flow-card ol { list-style: none; margin: 38px 0; padding: 0; }
.flow-card li { display: flex; gap: 18px; padding: 22px 0; border-top: 1px solid rgba(255,255,255,.18); opacity: .55; }
.flow-card li.active { opacity: 1; }
.flow-card li b { font: 10px ui-monospace, monospace; color: var(--orange); padding-top: 3px; }
.flow-card li strong, .flow-card li span { display: block; }
.flow-card li strong { font-size: 15px; }
.flow-card li span { color: #a9a79f; font-size: 12px; margin-top: 6px; }
.video-callout { background: var(--acid); color: var(--ink); padding: 20px; font-size: 12px; line-height: 1.6; }
.video-callout b, .video-callout span { display: block; }

.process-section { background: var(--ink); color: var(--paper); border-top: 1px solid var(--ink); }
.section-intro.compact { display: block; margin-bottom: 42px; }
.section-intro.compact h2 { color: var(--acid); }
.progress-shell { border-top: 1px solid rgba(255,255,255,.3); padding-top: 28px; }
.progress-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; }
.progress-meta span { color: #bcb9af; }
.progress-meta strong { font: 400 clamp(36px, 6vw, 80px) Georgia, serif; color: var(--orange); }
.progress-track { height: 9px; background: #393934; margin: 25px 0 32px; overflow: hidden; }
.progress-track i { display: block; height: 100%; width: 0; background: var(--acid); transition: width .45s ease; }
.stage-list { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; }
.stage-list span { border-top: 2px solid #44443e; color: #686860; padding-top: 9px; font: 9px ui-monospace, monospace; text-transform: uppercase; }
.stage-list span.active { color: var(--paper); border-color: var(--orange); }

.results-section { background: var(--acid); border-bottom: 1px solid var(--ink); }
.result-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--ink); }
.result-card { min-width: 0; padding: 32px; background: var(--paper); border-right: 1px solid var(--ink); }
.result-card:last-child { border-right: 0; }
.result-card:nth-child(2) { background: var(--orange); }
.result-card .result-number { display: block; font: 10px ui-monospace, monospace; margin-bottom: 50px; }
.result-card h3 { font: 400 30px Georgia, serif; margin: 0 0 8px; }
.result-card p { color: #57554f; min-height: 42px; font-size: 12px; line-height: 1.6; }
.result-card audio { width: 100%; margin: 22px 0; height: 42px; }
.download-link { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--ink); padding-top: 16px; color: var(--ink); text-decoration: none; font-weight: 800; }
.download-link span:last-child { font-size: 20px; }
.new-job-button { display: block; margin: 36px auto 0; background: var(--ink); color: var(--paper); border: 0; padding: 15px 26px; cursor: pointer; font-weight: 800; }

.explain-section { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(50px, 10vw, 160px); }
.explain-section h2 { font-size: clamp(42px, 5vw, 72px); line-height: 1.02; }
.explain-copy > p { font-size: 18px; line-height: 1.8; margin: 0 0 42px; }
.explain-copy dl { margin: 0; }
.explain-copy dl > div { display: flex; justify-content: space-between; padding: 17px 0; border-top: 1px solid var(--ink); }
.explain-copy dt { color: var(--muted); }
.explain-copy dd { margin: 0; font-weight: 800; }

.toast { position: fixed; z-index: 30; left: 50%; bottom: 24px; transform: translate(-50%, 130px); background: var(--ink); color: var(--paper); padding: 14px 22px; box-shadow: 5px 5px 0 var(--orange); transition: transform .25s; max-width: calc(100vw - 32px); }
.toast.show { transform: translate(-50%, 0); }
.toast.error { background: #a32818; box-shadow: 5px 5px 0 var(--ink); }
footer { min-height: 86px; border-top: 1px solid var(--ink); display: flex; justify-content: space-between; align-items: center; padding: 0 clamp(22px, 5vw, 76px); font: 10px ui-monospace, monospace; letter-spacing: .1em; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero-art { min-height: 450px; }
  .record { width: 330px; max-width: 68vw; }
  .feature-strip, .work-grid, .explain-section { grid-template-columns: 1fr; }
  .feature-strip > div { border-right: 0; border-bottom: 1px solid var(--ink); }
  .feature-strip > div:last-child { border-bottom: 0; }
  .upload-column { border-right: 0; border-bottom: 1px solid var(--ink); }
  .result-grid { grid-template-columns: 1fr; }
  .result-card { border-right: 0; border-bottom: 1px solid var(--ink); }
  .result-card:last-child { border-bottom: 0; }
}

@media (max-width: 600px) {
  .site-header { height: 72px; }
  .system-status span { display: none; }
  .brand small { display: none; }
  .hero { min-height: auto; }
  .hero-copy { padding-top: 68px; padding-bottom: 70px; }
  h1 em { white-space: normal; }
  .hero-art { min-height: 330px; }
  .record { top: 12%; left: 14%; width: 265px; }
  .section-intro { display: block; }
  .section-intro h2 { margin-bottom: 18px; }
  .workbench, .process-section, .results-section, .explain-section { padding-left: 18px; padding-right: 18px; }
  .upload-column, .flow-card { padding: 20px; }
  .dropzone { min-height: 285px; }
  .file-card { grid-template-columns: auto 1fr; padding: 20px; }
  .remove-button { grid-column: 2; justify-self: start; }
  .stage-list { grid-template-columns: repeat(4, 1fr); }
  .explain-copy > p { font-size: 16px; }
  footer { align-items: flex-start; flex-direction: column; justify-content: center; gap: 7px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

