/* Design refinement follows unslop by Damir Sokolovsky (@heydamir), CC BY 4.0.
   https://heydamir.design/unslop — 黑白灰客户交付页，仅调整展示层。 */
:root {
  color-scheme: light;
  font-family: "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  font-synthesis: none;
  --page: #f7f7f7;
  --surface: #ffffff;
  --ink: #202020;
  --secondary: #595959;
  --muted: #737373;
  --line: #e2e2e2;
  --accent: #202020;
  --accent-hover: #101010;
  --error: #a23b35;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color: var(--ink);
  background: var(--page);
}
* { box-sizing: border-box; }
body { margin: 0; }
[hidden] { display: none !important; }
button, input { font: inherit; }
a { color: inherit; }
.page { min-height: 100svh; display: flex; flex-direction: column; }
.header, .footer { width: min(1120px, calc(100% - 64px)); margin-inline: auto; }
.header { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.wordmark { display: inline-flex; align-items: center; gap: 20px; font-size: 24px; font-weight: 500; text-decoration: none; letter-spacing: -.02em; }
.brand-divider { height: 20px; width: 1px; background: #d2d2d2; }
.header-label { color: var(--secondary); font-size: 13px; font-weight: 400; letter-spacing: 0; }
.header-help { color: var(--secondary); font-size: 13px; line-height: 32px; text-decoration: none; }
.header-help:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.content { width: min(1000px, calc(100% - 64px)); margin: auto; padding-block: 64px; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); column-gap: clamp(24px, 5vw, 64px); row-gap: 24px; align-items: start; }
.content > * { min-width: 0; }
.intro { grid-column: 1; grid-row: 1 / span 2; align-self: center; }
.context { font-size: 13px; line-height: 20px; color: var(--secondary); margin: 0 0 20px; }
h1 { margin: 0; font-size: 40px; line-height: 1.3; font-weight: 500; letter-spacing: -.02em; }
.description { max-width: 320px; margin: 20px 0 0; color: var(--secondary); font-size: 16px; line-height: 28px; }
.steps { display: flex; flex-direction: column; padding: 0; margin: 40px 0 0; list-style: none; gap: 20px; }
.steps li { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 14px; line-height: 24px; }
.steps li[aria-current="step"] { color: var(--ink); }
.step-number { display: inline-grid; place-items: center; flex: 0 0 32px; width: 32px; height: 32px; border: 1px solid #d6d6d6; border-radius: 8px; background: transparent; font-size: 12px; font-variant-numeric: tabular-nums; }
.steps li[aria-current="step"] .step-number { background: var(--accent); border-color: var(--accent); color: #ffffff; }
.download-panel { grid-column: 2; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 32px; box-shadow: 0 4px 20px rgba(0, 0, 0, .025); }
.panel-heading { padding-bottom: 24px; margin-bottom: 24px; border-bottom: 1px solid var(--line); }
.panel-heading h2 { font-size: 20px; line-height: 28px; font-weight: 500; margin: 0 0 8px; }
.panel-heading p { margin: 0; font-size: 13px; line-height: 20px; color: var(--secondary); }
#claim-form { min-width: 0; margin: 0; }
#claim-form label { display: block; margin: 0 0 12px; padding: 0; font-size: 14px; line-height: 20px; font-weight: 500; }
.form-row { display: flex; flex-direction: column; align-items: stretch; gap: 12px; min-width: 0; }
input { display: block; appearance: none; min-width: 0; max-width: 100%; width: 100%; height: 52px; margin: 0; padding: 0 16px; border: 1px solid #bcbcbc; border-radius: 8px; color: var(--ink); background: #ffffff; font-size: 16px; line-height: normal; letter-spacing: normal; text-align: start; transition: border-color 140ms var(--ease); }
input::placeholder { color: var(--muted); font: inherit; opacity: 1; }
button { min-width: 0; width: 100%; min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 16px; color: #ffffff; border: 1px solid var(--accent); border-radius: 8px; background: var(--accent); font-size: 14px; font-weight: 500; cursor: pointer; transition: background-color 140ms var(--ease), border-color 140ms var(--ease); }
button:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
button:disabled { background: #777777; border-color: #777777; cursor: wait; }
button svg { flex: 0 0 18px; }
input:focus-visible, button:focus-visible, a:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.input-help { margin: 12px 0 0; color: var(--muted); font-size: 12px; line-height: 20px; }
.result { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; line-height: 24px; overflow-wrap: anywhere; }
.result p { margin: 0; }
.result[data-state="error"] #message { color: var(--error); }
.download-link { display: inline-flex; align-items: center; min-height: 44px; margin-top: 12px; font-weight: 500; text-underline-offset: 4px; }
.download-note { color: var(--secondary); font-size: 13px; font-variant-numeric: tabular-nums; }
.download-timer { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px; margin-top: 16px; }
.download-timer-label { color: var(--secondary); font-size: 13px; }
.countdown { color: var(--ink); font-size: 28px; line-height: 36px; font-weight: 500; font-variant-numeric: tabular-nums; letter-spacing: 0; }
.help { grid-column: 2; padding-inline: 8px; }
.help h2 { display: inline; font-size: 13px; font-weight: 500; line-height: 24px; margin: 0; }
.help p { margin: 4px 0 0; color: var(--secondary); font-size: 13px; line-height: 24px; }
.footer { display: flex; gap: 16px; justify-content: space-between; padding-block: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; line-height: 20px; }
@media (max-width: 780px) {
  .header, .footer, .content { width: calc(100% - 40px); }
  .header { min-height: 72px; }
  .wordmark { gap: 12px; font-size: 22px; }
  .brand-divider { height: 16px; }
  .content { grid-template-columns: minmax(0, 1fr); row-gap: 24px; padding-block: 40px; }
  .intro, .download-panel, .help { grid-column: 1; grid-row: auto; }
  .context { margin-bottom: 12px; }
  h1 { font-size: 28px; }
  .description { max-width: none; margin-top: 12px; font-size: 15px; line-height: 24px; }
  .steps { flex-direction: row; gap: 24px; margin-top: 24px; }
  .steps li { gap: 8px; font-size: 12px; }
  .step-number { flex-basis: 24px; width: 24px; height: 24px; border-radius: 4px; }
  .download-panel { padding: 24px; border-radius: 16px; }
  .panel-heading { padding-bottom: 20px; margin-bottom: 20px; }
  .panel-heading h2 { font-size: 18px; line-height: 24px; }
  .help { padding-inline: 0; }
  .footer { flex-direction: column; gap: 4px; padding-block: 20px; }
}
@media (max-width: 380px) {
  .header-label, .brand-divider { display: none; }
  .steps { gap: 16px; }
  .download-panel { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) { input, button { transition: none; } }
