/* Kopnota marketing site · PDF pages demo */
/* ---------- PDF ---------- */
.pdf-stage { position: relative; height: clamp(320px, 42vw, 440px); display: flex; justify-content: center; align-items: center; }
.pg { position: absolute; width: clamp(170px, 22vw, 230px); aspect-ratio: 210 / 297; background: #fff; color: #10173A; border-radius: 6px; box-shadow: 0 24px 50px -22px rgba(11, 20, 82, .55), 0 0 0 1px rgba(11, 20, 82, .08); padding: 7% 8%; display: flex; flex-direction: column; gap: 3.4%; font-size: 7px; transition: transform .6s cubic-bezier(.2, .8, .2, 1), opacity .4s; transform-origin: 50% 90%; overflow: hidden; }
.pg.enter { opacity: 0; transform: translateY(30px) scale(.9) !important; }
.pg-h { display: flex; justify-content: space-between; align-items: flex-start; }
.pg-h b { font: 800 10px/1 var(--font-display); color: #1C2C8C; letter-spacing: .06em; }
.pg-h i { width: 22px; height: 22px; border-radius: 5px; background: linear-gradient(135deg, #3355E6, #2DD497); }
.pg-h .cont { font: 600 6.5px var(--font-body); color: #7A82A8; text-transform: uppercase; letter-spacing: .1em; }
.pg-ln { display: flex; justify-content: space-between; gap: 6px; padding: 2.4% 0; border-bottom: 1px solid #EEF0F8; }
.pg-ln i { height: 4px; border-radius: 2px; background: #C9D1F0; flex: 1; max-width: 62%; }
.pg-ln em { height: 4px; width: 18%; border-radius: 2px; background: #9AA6DA; }
.pg-tot { margin-left: auto; width: 48%; display: grid; gap: 4px; padding-top: 4px; }
.pg-tot i { height: 4px; border-radius: 2px; background: #D7DCF2; }
.pg-tot b { height: 7px; border-radius: 3px; background: #1C2C8C; }
.pg-notes { display: grid; gap: 4px; }
.pg-notes small { font: 700 6px var(--font-body); color: #6B7398; letter-spacing: .1em; }
.pg-notes i { height: 3px; border-radius: 2px; background: #C6CDEB; }
.pg-sign { margin-top: auto; width: 40%; border-top: 1px solid #C9CEE6; height: 14px; position: relative; }
.pg-sign::before { content: ""; position: absolute; left: 4px; bottom: 6px; width: 70%; height: 10px; border-bottom: 2px solid #1C2C8C; border-radius: 0 0 60% 40%; transform: skewX(-20deg); }
.pg-foot { margin-top: auto; text-align: center; font: 500 6.5px var(--font-mono); color: #8A92B8; }
.pg-sign + .pg-foot { margin-top: 6px; }
.pdf-ctl { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; align-items: center; max-width: 380px; margin: 14px auto 0; font-weight: 600; font-size: .88rem; color: var(--muted); }
.pdf-ctl output { color: var(--ink); font-variant-numeric: tabular-nums; }
.pdf-ctl input { grid-column: 1 / -1; }
.pdf-count { position: absolute; top: 4px; right: 0; padding: 6px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); font-size: .8rem; font-weight: 600; z-index: 20; }
