/* Products, Pricing, Release notes, About, 404 (v4): the catalogue cards (riddleui.com/templatestore), the
   timeline (riddleui.com/changelog), the reading column (riddleui.com/license). */

/* ---------------------------------------------------------------- catalogue cards */
.pcards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; max-width: 1024px; margin: 64px auto 0; }
.pcard { display: flex; flex-direction: column; padding: 24px; border-radius: var(--r); border: 1px solid var(--sep); background: var(--layer-1); }
.pcard__shot { display: block; border-radius: 6px; overflow: hidden; border: 1px solid var(--sep); background: #050910; }
.pcard__shot img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .6s var(--ease); }
.pcard__shot:hover img { transform: scale(1.015); }
.pcard__body { display: flex; flex-direction: column; gap: 12px; flex: 1; padding-top: 24px; }
.pcard__by { display: flex; align-items: center; gap: 8px; color: var(--acc-ink); font-size: 14px; font-weight: 500; }
.pcard__by .pmark, .pcard__by .mark { width: 20px; height: 20px; }
.pcard .h3 a:hover { color: var(--link); }
.pcard__kind { color: var(--label); font-size: 16px; margin-top: -6px; }
.pcard .checks { margin: 6px 0; }
.pcard .actions { margin-top: auto; padding-top: 12px; gap: 12px; }
@media (max-width: 899px) { .pcards { grid-template-columns: minmax(0, 1fr); margin-top: 48px; } .pcard { padding: 16px; } .pcard__body { padding: 20px 8px 8px; } }

/* ---------------------------------------------------------------- release notes: links, filter, timeline */
.rn-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; margin-top: 8px; }
.rn-links a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--label); font-size: 14px; transition: color .2s var(--ease); }
.rn-links a:hover { color: var(--ink); }
.rn-links .ico, .rn-links .pmark, .rn-links .mark { width: 18px; height: 18px; color: var(--body); }
.rn-body { max-width: 1024px; margin-inline: auto; padding-top: 64px; }
.rn-filter { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-bottom: 56px; }
.rn-filter__label { color: var(--body); font-size: 14px; }
.rn-filter__row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--sep); background: var(--layer-1); color: var(--label); font-size: 14px; transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease); }
.chip:hover { background: var(--hover); }
.chip[aria-pressed="true"] { border-color: var(--acc-line); background: var(--acc-badge); color: var(--acc-ink); }
.chip .pmark, .chip .mark { width: 18px; height: 18px; }
.rn-filter__n { min-width: 22px; padding: 1px 7px; border-radius: 999px; background: var(--hover); color: var(--body); font-size: 12px; text-align: center; }

.tl { position: relative; }
.tl::before { content: ''; position: absolute; left: 232px; top: 10px; bottom: 0; width: 1px; background: var(--sep); }
.tl__entry { position: relative; display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 0 64px; padding-bottom: 96px; }
.tl__entry::before { content: ''; position: absolute; left: 226px; top: 6px; width: 13px; height: 13px; border-radius: 50%; border: 1.5px solid var(--helper); background: var(--bg); }
.tl__side { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; text-align: right; }
.tl__date { color: var(--ink); font-size: 17px; line-height: 24px; font-weight: 500; }
.tl__ver { margin-top: 4px; color: var(--body); font-size: 14px; }
.tl__body { display: grid; gap: 16px; min-width: 0; }
.tl__shot { display: block; border-radius: var(--r); overflow: hidden; border: 1px solid var(--sep); background: #050910; }
.tl__shot img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.tl__title { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-top: 8px; color: var(--ink); font-size: 20px; line-height: 28px; font-weight: 500; }
.tl__title a:hover { color: var(--link); }
.tl__product { display: flex; align-items: center; gap: 8px; color: var(--acc-ink); font-size: 14px; font-weight: 500; margin-top: -6px; }
.tl__product .pmark, .tl__product .mark { width: 18px; height: 18px; }
.tl__h { color: var(--ink); font-size: 16px; font-weight: 600; margin-top: 8px; }
.tl__items { display: grid; gap: 12px; }
.tl__items li { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 12px; align-items: start; color: var(--label); font-size: 15px; line-height: 23px; }
.tl__items .pill { justify-self: start; margin-top: 1px; }
.tl__perma { font-size: 14px; }
.rn-empty .card__in { padding: 32px; gap: 10px; }
@media (max-width: 767px) {
  .tl::before { left: 6px; }
  .tl__entry { grid-template-columns: minmax(0, 1fr); gap: 16px; padding-left: 32px; padding-bottom: 72px; }
  .tl__entry::before { left: 0; }
  .tl__side { position: static; text-align: left; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; }
  .tl__ver { margin: 0; }
  .tl__items li { grid-template-columns: minmax(0, 1fr); gap: 6px; }
}

/* ---------------------------------------------------------------- the reading column (About) */
.prose { max-width: 680px; margin: 64px auto 0; color: var(--body); font-size: 15px; line-height: 24px; }
.prose h2 { margin: 56px 0 14px; color: var(--ink); font-size: 20px; line-height: 28px; font-weight: 500; }
.prose h2:first-child { margin-top: 0; }
.prose p + p { margin-top: 14px; }
.prose b, .prose strong { color: var(--label); font-weight: 600; }
.prose .checks { margin-top: 16px; }
.prose .checks li { font-size: 15px; }
.prose .checks b { color: var(--ink); }
.about-products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 18px; }
.about-products a { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 2px 12px; padding: 18px; border-radius: var(--r); border: 1px solid var(--sep); background: var(--layer-1); transition: background-color .2s var(--ease); }
.about-products a:hover { background: var(--hover); }
.about-products .pmark, .about-products .mark { width: 28px; height: 28px; grid-row: span 2; }
.about-products b { color: var(--ink); font-weight: 500; font-size: 16px; }
.about-products span.small { grid-column: 2; }
@media (max-width: 599px) { .about-products { grid-template-columns: minmax(0, 1fr); } }

/* ---------------------------------------------------------------- pricing */
.pricing-body { padding-top: 64px; }

/* ---------------------------------------------------------------- 404 */
.nf { min-height: 60vh; display: grid; align-content: center; }
.nf .actions { margin-top: 16px; }
.nf__orb { width: 96px; margin-bottom: 16px; font-size: 14px; }

/* the three pillars of the name (About) */
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 20px; }
.pillars li { display: grid; align-content: start; gap: 4px; padding: 18px; border-radius: var(--r); border: 1px solid var(--sep); background: var(--layer-1); font-size: 14px; line-height: 21px; }
.pillars .ico { width: 26px; height: 26px; margin-bottom: 8px; color: var(--link); }
.pillars b { color: var(--ink); font-size: 17px; font-weight: 600; }
.pillars__k { color: var(--label); font-size: 13px; }
@media (max-width: 599px) { .pillars { grid-template-columns: minmax(0, 1fr); } }

/* "On this page" (the privacy policy) */
.toc { padding: 20px 24px; border-radius: var(--r); border: 1px solid var(--sep); background: var(--layer-1); margin-bottom: 8px; }
.toc__t { color: var(--ink); font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.toc ol { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; list-style: decimal inside; color: var(--helper); font-size: 14px; }
.toc a { display: inline-flex; align-items: center; min-height: 36px; color: var(--label); }
.toc a:hover { color: var(--link); }
.prose code { padding: 1px 6px; border-radius: 5px; background: var(--layer-2); color: var(--label); }
@media (max-width: 599px) { .toc ol { grid-template-columns: minmax(0, 1fr); } .toc a { min-height: 44px; } }

/* the privacy policy: three at-a-glance cards, and the Google section set apart */
.pp { padding-top: 56px; }
.pp-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; max-width: 1024px; margin: 0 auto; }
.pp-card { padding: 1px; border-radius: var(--r); background: linear-gradient(189deg, var(--acc-card) 0, var(--layer-2) 60%); }
:root[data-theme="light"] .pp-card { background: linear-gradient(189deg, var(--acc-card) 0, #E0E3E6 60%); }
.pp-card > * { background: none; }
.pp-card__t { display: flex; align-items: center; gap: 10px; padding: 22px 22px 0; color: var(--ink); font-size: 18px; font-weight: 600; border-radius: 7px 7px 0 0; }
.pp-card__t .pmark, .pp-card__t .mark, .pp-card__t .ico { width: 22px; height: 22px; color: var(--acc-ink); }
.pp-card ul { display: grid; gap: 10px; padding: 14px 22px 22px; }
.pp-card li { position: relative; padding-left: 18px; color: var(--body); font-size: 14px; line-height: 21px; }
.pp-card li::before { content: ''; position: absolute; left: 0; top: 8px; width: 6px; height: 6px; border-radius: 50%; background: var(--acc); }
.pp-card { position: relative; }
.pp-card::after { content: ''; position: absolute; inset: 1px; z-index: -1; border-radius: 7px; background: linear-gradient(189deg, var(--acc-card-in) -40%, var(--card-in) 35%); }
:root[data-theme="light"] .pp-card::after { background: linear-gradient(189deg, var(--acc-card-in) -40%, #fff 35%); }
.pp-cards { isolation: isolate; }
.pp-card { isolation: isolate; }
.pp-google { margin: 56px 0 8px; padding: 28px; border-radius: var(--r); border: 1px solid var(--acc-line); background: linear-gradient(189deg, var(--acc-badge) -30%, var(--layer-1) 40%); }
.pp-google h2 { margin-top: 0; }
.pp-google h3 { margin: 24px 0 10px; color: var(--ink); font-size: 16px; font-weight: 600; }
.pp-google p + p { margin-top: 12px; }
.pp-google > p:not(:first-of-type) { margin-top: 14px; }
.pp-limited { padding: 14px 16px; border-radius: 8px; background: var(--hover); color: var(--label); }
@media (max-width: 899px) { .pp-cards { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 599px) { .pp-google { padding: 20px; } }
