/* ============ GetPDF — product styles ============ */

.gp-hero { padding-block: calc(var(--nav-h) + clamp(44px, 7vw, 84px)) clamp(20px, 3vw, 34px); text-align: center; }
.gp-hero h1 { max-width: 15ch; margin-inline: auto; }
.gp-hero p.lede { color: var(--muted); font-size: clamp(1.02rem, 1.5vw, 1.14rem); max-width: 58ch; margin: 20px auto 0; }
.gp-hero__meta { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 26px; }

/* ---- Dropzone ---- */
.drop {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: clamp(34px, 6vw, 58px) 26px; border-radius: var(--r-xl); cursor: pointer;
  background: var(--surface);
  box-shadow: inset 0 0 0 1.5px var(--line-2);
  text-align: center; overflow: hidden;
  transition: box-shadow .4s var(--ease), background .4s var(--ease), transform .4s var(--ease);
}
.drop::before {
  content: ""; position: absolute; inset: 0; z-index: 0; opacity: 0;
  background: radial-gradient(58% 78% at 50% 0%, color-mix(in oklab, var(--accent) 22%, transparent), transparent 72%);
  transition: opacity .45s var(--ease);
}
.drop:hover { box-shadow: inset 0 0 0 1.5px color-mix(in oklab, var(--accent) 45%, transparent); transform: translateY(-2px); }
.drop:hover::before { opacity: .6; }
.drop.over {
  background: color-mix(in oklab, var(--accent) 8%, var(--surface));
  box-shadow: inset 0 0 0 2px var(--accent), 0 0 0 6px color-mix(in oklab, var(--accent) 16%, transparent);
  transform: scale(1.008);
}
.drop.over::before { opacity: 1; }
.drop > * { position: relative; z-index: 1; }
.drop h3 { margin-top: 6px; }
.drop p { color: var(--muted); font-size: .93rem; max-width: 48ch; }
.drop p b { color: var(--text); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.drop__hint { font-family: var(--mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); margin-top: 4px; }

/* Stacked-sheets artwork that fans out on hover */
.drop__art { position: relative; width: 96px; height: 96px; margin-bottom: 6px; }
.drop__sheet {
  position: absolute; inset: 14px 22px; border-radius: 9px;
  background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line-2);
  transition: transform .55s var(--ease), opacity .45s var(--ease);
}
.drop__sheet--3 { transform: translateY(-2px) rotate(-9deg); opacity: .35; }
.drop__sheet--2 { transform: translateY(-1px) rotate(-4deg); opacity: .6; }
.drop__sheet--1 { display: grid; place-items: center; color: var(--accent); }
.drop__sheet--1 svg { width: 30px; height: 30px; }
.drop:hover .drop__sheet--3, .drop.over .drop__sheet--3 { transform: translate(-16px, -7px) rotate(-17deg); }
.drop:hover .drop__sheet--2, .drop.over .drop__sheet--2 { transform: translate(-7px, -4px) rotate(-9deg); }
.drop:hover .drop__sheet--1, .drop.over .drop__sheet--1 { transform: translateY(-3px) scale(1.04); }
.drop.over .drop__sheet--1 svg { animation: unlatch .7s var(--ease); }
@keyframes unlatch {
  40% { transform: translateY(-4px) rotate(-8deg); }
  100% { transform: none; }
}

/* ---- Queue ---- */
.qstats { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 20px; justify-content: center; }
.flist { display: flex; flex-direction: column; gap: 12px; margin-top: 20px; }

.fcard {
  border-radius: var(--r-md); background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
  animation: cardIn .45s var(--ease) both;
  transition: box-shadow .4s var(--ease);
}
@keyframes cardIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.fcard--done   { box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--ok) 42%, transparent); }
.fcard--locked { box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--warn) 40%, transparent); }
.fcard--error  { box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--bad) 42%, transparent); }

.fcard__head { display: flex; align-items: center; gap: 14px; padding: 15px 18px; }
.fcard__meta { min-width: 0; flex: 1; }
.fcard__meta b { display: block; font-size: .95rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fcard__meta span { font-family: var(--mono); font-size: .72rem; color: var(--faint); }
.fcard__actions { display: flex; align-items: center; gap: 8px; flex: none; }
.fcard__body { padding: 0 18px 16px; }
.fcard__note { font-size: .87rem; color: var(--muted); line-height: 1.55; }
.fcard__note--bad { color: var(--bad); margin-top: 10px; }

.fcard__icon { width: 34px; height: 34px; flex: none; display: grid; place-items: center; border-radius: 10px; }
.fcard__icon svg { width: 18px; height: 18px; }
.fcard__icon--ok   { background: color-mix(in oklab, var(--ok) 16%, transparent); color: var(--ok); }
.fcard__icon--warn { background: color-mix(in oklab, var(--warn) 16%, transparent); color: var(--warn); }
.fcard__icon--bad  { background: color-mix(in oklab, var(--bad) 16%, transparent); color: var(--bad); }
.fcard--done .fcard__icon--ok svg { animation: tick .5s var(--ease) both; }
@keyframes tick { from { stroke-dasharray: 26; stroke-dashoffset: 26; } to { stroke-dasharray: 26; stroke-dashoffset: 0; } }

.fcard__spin {
  width: 34px; height: 34px; flex: none; border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0 62%, var(--accent) 100%);
  mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2.5px));
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2.5px));
  animation: spin .9s linear infinite;
}

/* Password entry */
.pwform { display: flex; flex-direction: column; gap: 12px; }
.pwform__row { display: flex; gap: 10px; align-items: stretch; }
.pwfield { position: relative; flex: 1; }
.pwfield .input { padding-right: 44px; }
.pwfield__eye {
  position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  width: 32px; height: 32px; display: grid; place-items: center; border-radius: 8px;
  color: var(--faint); transition: color .25s, background .25s;
}
.pwfield__eye:hover { color: var(--text); background: var(--surface-2); }
.pwfield__eye.on { color: var(--accent); }
.pwfield__eye svg { width: 17px; height: 17px; }
.pwform__all { font-size: .82rem; }

.bulk { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; justify-content: center; }

/* ---- Trust strip ---- */
.trust { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.trust__item { padding: 22px; border-radius: var(--r-md); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.trust__item i { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: color-mix(in oklab, var(--accent) 14%, transparent); color: var(--accent); margin-bottom: 14px; }
.trust__item i svg { width: 19px; height: 19px; }
.trust__item b { display: block; font-family: var(--display); font-size: 1.02rem; letter-spacing: -0.028em; margin-bottom: 6px; }
.trust__item p { font-size: .89rem; color: var(--muted); }

/* ---- Steps ---- */
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.step { position: relative; padding: 24px 22px 22px; border-radius: var(--r-md); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.step::before {
  counter-increment: s; content: counter(s, decimal-leading-zero);
  font-family: var(--mono); font-size: .72rem; letter-spacing: .14em;
  color: var(--accent); display: block; margin-bottom: 12px;
}
.step b { display: block; font-family: var(--display); font-size: 1.05rem; letter-spacing: -0.03em; margin-bottom: 7px; }
.step p { font-size: .89rem; color: var(--muted); }

/* ---- Prose (shared with the guide page) ---- */
.prose { max-width: 72ch; }
.prose h2 { margin-top: 46px; margin-bottom: 16px; }
.prose h3 { margin-top: 30px; margin-bottom: 10px; }
.prose p { color: var(--muted); margin-bottom: 16px; }
.prose ul, .prose ol { margin: 0 0 18px; display: flex; flex-direction: column; gap: 9px; }
.prose li { color: var(--muted); padding-left: 22px; position: relative; }
.prose li::before { content: ""; position: absolute; left: 4px; top: 11px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.prose strong { color: var(--text); font-weight: 600; }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.prose code { font-family: var(--mono); font-size: .86em; padding: 2px 6px; border-radius: 5px; background: var(--surface-2); color: var(--text); }
.callout {
  padding: 18px 20px; border-radius: var(--r-md); margin-bottom: 20px;
  background: color-mix(in oklab, var(--accent) 8%, var(--ink-2));
  box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--accent) 25%, transparent);
  font-size: .92rem; color: var(--muted);
}
.callout b { color: var(--text); }

.linkgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.linkcard { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px; border-radius: var(--r-md); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.linkcard:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px var(--line-2), var(--shadow-1); }
.linkcard b { font-family: var(--display); font-size: 1.02rem; letter-spacing: -0.028em; }
.linkcard span { font-size: .85rem; color: var(--muted); }

@media (max-width: 820px) {
  .trust, .steps { grid-template-columns: 1fr; }
  .pwform__row { flex-direction: column; }
}
