/* PDFKOR ASK download and install guide page. Requires styles/tokens.css and styles/landing.css. */

/* ---------- Download card ---------- */
.ask-download { padding-top: 88px; }
.flow-card { background: var(--card); border-radius: 4px; padding: clamp(28px, 4vw, 48px); }
.flow-badge {
  display: inline-block; font-size: 13px; padding: 4px 10px; border-radius: 999px;
  background: var(--accent-tint); color: var(--accent-ink);
}
.flow-card h1 { margin-top: 18px; font-size: clamp(24px, 3vw, 30px); font-weight: 400; line-height: 1.38; letter-spacing: -0.02em; }
.flow-description { margin-top: 10px; max-width: 640px; font-size: 17px; line-height: 1.6; color: var(--ink-soft); }
.flow-detail { margin-top: 8px; max-width: 640px; font-size: 15px; line-height: 1.6; color: var(--ink-soft); }
.flow-detail:empty, .flow-meta:empty, .flow-note:empty { display: none; }
.flow-chips { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 8px; }
.flow-chips span { font-size: 12.5px; padding: 4px 10px; border-radius: 999px; background: var(--bg); color: var(--ink-soft); box-shadow: inset 0 0 0 1px var(--line); }
.flow-actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px; }
.flow-actions button[hidden] { display: none; }
.flow-meta { margin-top: 16px; font-size: 13.5px; line-height: 1.6; color: var(--ink-faint); }
.flow-switch {
  padding: 0; border: 0; background: none; font: inherit; color: var(--ink-soft); cursor: pointer;
  text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line);
}
.flow-switch:hover { color: var(--ink); text-decoration-color: currentColor; }
.flow-switch:disabled { cursor: default; opacity: 0.5; }
.flow-note { margin-top: 8px; font-size: 13.5px; line-height: 1.6; color: var(--ink-soft); }
.flow-note strong { font-weight: 500; color: var(--ink); margin-right: 6px; }

/* ---------- Install guide ---------- */
.ask-guide { padding-top: 120px; padding-bottom: 120px; }
.guide-steps { list-style: none; display: grid; gap: 24px; }
.guide-step {
  display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(280px, 1fr); gap: 32px; align-items: center;
  background: var(--card); border-radius: 4px; padding: 18px;
}
.guide-step[hidden] { display: none; }
.guide-media { border-radius: 4px; overflow: hidden; background: var(--surface); box-shadow: 0 0 0 1px var(--line); }
.guide-media img { width: 100%; height: auto; }
.guide-copy { padding: 8px 14px 8px 0; }
.guide-num { font-size: 13.5px; color: var(--accent-text); }
.guide-copy h3 { margin-top: 8px; font-size: 19px; font-weight: 400; line-height: 1.45; letter-spacing: -0.01em; }
.guide-copy p { margin-top: 10px; font-size: 15px; line-height: 1.7; color: var(--ink-soft); }
.guide-copy code {
  font-family: inherit; font-size: 0.95em; padding: 1px 6px; border-radius: 4px;
  background: var(--accent-tint); color: var(--accent-ink);
}

@media (max-width: 960px) {
  .guide-step { grid-template-columns: 1fr; gap: 16px; }
  .guide-copy { padding: 0 6px 6px; }
}
@media (max-width: 600px) {
  .ask-download { padding-top: 48px; }
  .ask-guide { padding-top: 88px; padding-bottom: 88px; }
}
