/* Font catalog. Built from theme tokens and service-landing blocks; see docs/DESIGN.md. */
.pkf-font { padding-bottom: 10px }
.pkf-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap }

.pkf-hero { padding: 36px 0 26px }
.pkf-hero .sl-eyebrow a { border-bottom: 1px solid #ccc }
.pkf-hero .sl-eyebrow a:hover { border-color: var(--accent); box-shadow: inset 0 -2px 0 var(--accent) }
.pkf-hero h1 { font-size: clamp(36px, 3.9vw, 58px); line-height: 1.05; margin: 18px 0 14px }
.pkf-byline { font-size: 17px; line-height: 1.6; color: #666; margin: 0 }

.pkf-preview { overflow: hidden }
.pkf-controls { display: flex; flex-wrap: wrap; align-items: end; gap: 18px 32px; padding: 22px 25px; border-bottom: 1px solid #eee }
.pkf-controls[hidden] { display: none }
.pkf-text { flex: 1 1 100% }
.pkf-text textarea { display: block; width: 100%; margin-top: 8px; border: 1px solid #bbb; border-radius: 6px; padding: 12px 14px; font: inherit; font-size: 16px; line-height: 1.5; color: #222; background: #fff; resize: vertical }
.pkf-text textarea:focus { outline: 1px solid #333 }
.pkf-range { flex: 1 1 200px; max-width: 320px }
.pkf-range output { color: #202020 }
.pkf-range input { display: block; width: 100%; height: 28px; margin: 6px 0 0; accent-color: #181818 }
.pkf-toggles { margin: 0 }
.pkf-toggles button { min-height: 44px }
.pkf-toggles button[disabled] { opacity: .4; cursor: not-allowed }
.pkf-sample { padding: 24px 25px 28px; font-size: 44px; line-height: 1.15; color: #202020; overflow-wrap: anywhere; min-height: 150px }
.pkf-sample p { margin: 0 }
.pkf-sample p + p { margin-top: .25em }

.pkf-download { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; padding: 28px 0 60px }
.pkf-download p { margin: 0; font-size: 15px; line-height: 1.6; color: #666; max-width: 470px }
.pkf-download strong { color: #202020; font-weight: 500 }

.pkf-section { border-top: 1px solid var(--line); padding: 70px 0 }
.pkf-columns { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 60px }
.pkf-list { margin: 0 0 22px; padding: 0; list-style: none }
.pkf-list li { font-size: 17px; line-height: 1.65; color: #555; padding: 12px 0; border-top: 1px solid #eee }
.pkf-note { font-size: 15px; line-height: 1.7; color: #666; max-width: 650px; margin: 0 0 18px }
.pkf-cta { align-self: start; background: #f3f3f1; border-radius: 12px; padding: 25px }
.pkf-cta p { margin: 0 0 10px; font-size: 17px; line-height: 1.55; color: #202020 }
.pkf-cta .underlink { display: table; margin-top: 4px; font-size: 14px }

.pkf-styles .sl-sheet-row strong { font-weight: 500; color: #a33 }

.pkf-glyph-group + .pkf-glyph-group { margin-top: 35px }
.pkf-glyph-group h3 { margin: 0 0 12px; font-family: InterTight, Arial, sans-serif; letter-spacing: 0 }
.pkf-glyph-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); border-left: 1px solid var(--line) }
.pkf-glyph-grid li { position: relative; display: grid; place-items: center; aspect-ratio: 1; font-size: 32px; line-height: 1; color: #202020; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line) }
.pkf-glyph-grid li.is-missing { background: #f7f7f7; color: #bbb; font-family: InterTight, Arial, sans-serif }
.pkf-glyph-grid li.is-missing s { font-size: 22px }
.pkf-glyph-grid small { position: absolute; left: 0; right: 0; bottom: 5px; text-align: center; font: 9px/1.2 InterTight, Arial, sans-serif; color: #6b6b6b }

.pkf-code-box { background: #f7f7f7; border-radius: 12px; padding: 22px 25px }
.pkf-code-box pre { margin: 0 0 18px; max-height: 420px; overflow: auto }
.pkf-code-box code { font: 13px/1.65 ui-monospace, SFMono-Regular, Menlo, monospace; color: #202020; white-space: pre }
.pkf-copy-status { margin: 10px 0 0; min-height: 1.5em; font-size: 14px; color: #666 }
.pkf-files { margin: 18px 0 0; font-size: 14px; line-height: 1.8; color: #666; overflow-wrap: anywhere }
.pkf-files a, .pkf-facts a { border-bottom: 1px solid #aaa }

.pkf-facts { display: grid; grid-template-columns: 180px minmax(0, 1fr); max-width: 900px; margin: 0 }
.pkf-facts dt, .pkf-facts dd { margin: 0; padding: 16px 0; border-top: 1px solid #eee; font-size: 16px; line-height: 1.6 }
.pkf-facts dt { color: #6b6b6b }
.pkf-facts dd { color: #202020; overflow-wrap: anywhere }

.pkf-similar-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px }
.pkf-similar-card { display: flex; flex-direction: column; gap: 10px; padding-top: 22px; border-top: 1px solid #ddd }
.pkf-similar-card img { display: block; width: auto; height: 30px; max-width: 100%; object-fit: contain; object-position: left center }
.pkf-similar-card strong { font-size: 25px; font-weight: 400; line-height: 1.2; letter-spacing: -.03em }
.pkf-similar-card:hover { border-color: #222 }
.pkf-similar-card:hover strong { color: #6b6b6b }

.pkf-article { max-width: 760px }
.service-landing .pkf-article h2 { font-size: clamp(30px, 3vw, 44px); margin: 45px 0 18px }
.service-landing .pkf-article h2:first-child { margin-top: 0 }
.pkf-article p { font-size: 17px; line-height: 1.65; color: #555; margin: 0 0 16px }

.pkf-faq { border-top: 1px solid var(--line); padding-top: 70px }

/* Hub and collections */
.pkf-intro { font-size: 18px; line-height: 1.6; color: #555; max-width: 760px; margin: 0 0 12px }
.pkf-toolbar { padding: 22px 25px; margin-bottom: 35px }
.pkf-toolbar-row { display: flex; flex-wrap: wrap; align-items: end; gap: 18px 32px; margin-bottom: 18px }
.pkf-toolbar-row[hidden] { display: none }
.pkf-toolbar .pkf-text { flex: 1 1 360px }
.pkf-toolbar input[type=text], .pkf-toolbar input[type=search] { display: block; width: 100%; margin-top: 8px; border: 1px solid #bbb; border-radius: 6px; padding: 12px 14px; font: inherit; font-size: 16px; color: #222; background: #fff }
.pkf-toolbar input:focus { outline: 1px solid #333 }
.pkf-filters { display: flex; flex-wrap: wrap; gap: 10px }
.pkf-filters a, .pkf-pill { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border: 1px solid #ddd; border-radius: 25px; background: #fff; font-size: 14px; color: #202020; cursor: pointer }
.pkf-filters a:hover, .pkf-pill:hover { border-color: #222 }
.pkf-filters a[aria-current=true] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink) }
.pkf-pill-size { color: #6b6b6b }
.pkf-submit[hidden] { display: none }
.pkf-count { margin: 16px 0 0; font-size: 14px; color: #666 }

.pkf-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 35px }
.pkf-card { display: flex; flex-direction: column; gap: 12px; padding: 26px 0 30px; border-top: 1px solid var(--line); content-visibility: auto; contain-intrinsic-size: auto 220px }
.pkf-card[hidden] { display: none }
.pkf-card-sample { display: block; min-height: 44px }
.pkf-card-sample img { display: block; width: auto; height: 34px; max-width: 100%; object-fit: contain; object-position: left center }
.pkf-card.is-live .pkf-card-sample { display: none }
.pkf-card-live { margin: 0; min-height: 44px; font-size: var(--pkf-live-size, 32px); line-height: 1.15; color: #202020; overflow-wrap: anywhere }
.service-landing .pkf-card-name { margin: 6px 0 0; font-size: 25px; line-height: 1.2; letter-spacing: -.03em }
.pkf-card-name a:hover { color: #6b6b6b }
.pkf-card-meta { margin: 0; font-size: 14px; line-height: 1.55; color: #6b6b6b }
.pkf-tag { display: inline-block; margin-left: 4px; padding: 0 8px; border-radius: 25px; background: #f3f3f1; font-size: 12px; line-height: 22px; color: #202020 }
.pkf-tag.is-own { background: var(--accent); color: var(--accent-ink) }
.pkf-card-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: auto }
.pkf-card-actions .underlink { font-size: 14px }
.pkf-price { font-size: 18px; color: #202020 }
.pkf-empty { padding: 40px 0; border-top: 1px solid var(--line) }
.pkf-empty p { margin: 0 0 10px; font-size: 18px }
.pkf-more { margin: 30px 0 0 }
.pkf-more[hidden] { display: none }

.pkf-collection-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 30px }
.pkf-collection-links a { display: flex; align-items: baseline; gap: 14px; padding: 22px 0; border-top: 1px solid #ddd; font-size: 25px; line-height: 1.2; letter-spacing: -.03em }
.pkf-collection-links small { font-size: 14px; letter-spacing: 0; color: #6b6b6b }
.pkf-collection-links i { margin-left: auto; font-style: normal }
.pkf-collection-links a:hover { border-color: #222 }
.pkf-collection-links a:hover i { color: #877000 }
.pkf-own-empty { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding: 28px 25px; margin-bottom: 40px }
.pkf-own-empty p { margin: 0; font-size: 20px; line-height: 1.45; max-width: 620px }
.pkf-own-placeholder { display: grid; place-items: center; min-height: 44px; border: 1px dashed #ccc; border-radius: 6px; font-size: 13px; color: #6b6b6b }
.pkf-buy { display: grid; gap: 12px; margin-top: auto }
.pkf-buy fieldset { margin: 0; padding: 0; border: 0; display: grid; gap: 8px }
.pkf-buy label { display: flex; align-items: center; gap: 10px; min-height: 44px; font-size: 15px }
.pkf-buy label span { margin-left: auto; color: #6b6b6b }
.pkf-buy input { accent-color: #181818; width: 18px; height: 18px }
.pkf-buy .pkf-price { margin: 0; font-size: 22px }
.pkf-buy-status { margin: 0; min-height: 1.5em; font-size: 14px; color: #666 }
.pkf-download .pkf-buy { max-width: 460px }
.pkf-bottom { display: grid; gap: 18px }
.pkf-bottom .pkf-cta { max-width: 760px }
.pkf-bottom .pkf-cta strong { font-weight: 500 }

@media (max-width: 700px) {
  .pkf-hero { padding: 28px 0 22px }
  .pkf-byline { font-size: 15px }
  .pkf-controls { padding: 18px }
  .pkf-range { flex-basis: 100%; max-width: none }
  .pkf-range input { height: 44px }
  .pkf-sample { padding: 20px 18px 26px; font-size: 34px; min-height: 140px }
  .pkf-download { padding-bottom: 40px }
  .pkf-download .button { width: 100% }
  .pkf-section { padding: 50px 0 }
  .pkf-columns { grid-template-columns: 1fr; gap: 30px }
  .pkf-list li { font-size: 16px }
  .pkf-glyph-grid { grid-template-columns: repeat(auto-fill, minmax(52px, 1fr)) }
  .pkf-glyph-grid li { font-size: 26px }
  .pkf-facts { grid-template-columns: 1fr }
  .pkf-facts dd { border-top: 0; padding-top: 0 }
  .pkf-similar-grid { grid-template-columns: 1fr; gap: 0 }
  .pkf-similar-card { padding: 20px 0 }
  .pkf-faq { padding-top: 50px }
  .pkf-intro { font-size: 16px }
  .pkf-toolbar { padding: 18px }
  .pkf-toolbar .pkf-text { flex-basis: 100% }
  .pkf-grid, .pkf-collection-links { grid-template-columns: 1fr }
  .pkf-card-sample img { height: 26px }
  .pkf-collection-links a { font-size: 21px }
  .pkf-more { width: 100% }
}

@media (min-width: 701px) and (max-width: 1100px) {
  .pkf-grid, .pkf-collection-links { grid-template-columns: repeat(2, minmax(0, 1fr)) }
}

/* Every font of the section as a plain list: the cards above load in pages, these links are always in the HTML. */
.pkf-index{margin:48px 0 0;padding-top:24px;border-top:1px solid var(--line)}
.pkf-index ul{list-style:none;margin:12px 0 0;padding:0;columns:4 180px;column-gap:24px;font-size:14px;line-height:1.9}
.pkf-index a{color:#555;text-decoration:none}
.pkf-index a:hover,.pkf-index a:focus-visible{color:var(--ink);text-decoration:underline}
.pkf-similar-links{display:flex;flex-wrap:wrap;gap:10px 24px;margin:28px 0 0}
.pkf-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0 }
