/* FillKite Core widgets: pill, title, feature card, badges, screenshots, steps, switch, bar chart, plan cards, FAQ.
   Loaded only on pages that use one of them. Values follow the static design (Fillkite Website/assets/css/style.css). */

/* Pill */
.fkc-pill { display: inline-flex; align-items: center; gap: 10px; margin: 0; padding: 6px 14px 6px 10px; border: 1px solid var(--fkc-border); border-radius: 999px; background: var(--fkc-bg); box-shadow: var(--fkc-shadow-sm); color: var(--fkc-muted); font-size: .875rem; font-weight: 500; line-height: 1.6; }
.fkc-pill__dot { width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--fkc-accent); box-shadow: 0 0 0 4px var(--fkc-accent-soft); }
.fkc-pill__dot--blue { background: var(--fkc-primary); box-shadow: 0 0 0 4px var(--fkc-primary-soft); }
.fkc-pill__dot--green { background: #2FA36B; box-shadow: 0 0 0 4px var(--fkc-success-soft); }

/* Title with coloured words */
.fkc-title { margin: 0; color: var(--fkc-text); font-weight: 800; }
.fkc-title--hero { font-size: clamp(2.5rem, 1.6rem + 3.6vw, 3.75rem); letter-spacing: -.04em; line-height: 1.02; }
.fkc-title--page { font-size: clamp(2.25rem, 1.6rem + 2.6vw, 3.25rem); letter-spacing: -.035em; line-height: 1.1; }
.fkc-title--section { font-size: clamp(2rem, 1.5rem + 1.8vw, 2.75rem); letter-spacing: -.03em; line-height: 1.1; }
.fkc-title__word--blue { color: var(--fkc-primary-strong); }
.fkc-title__word--coral { color: var(--fkc-accent-strong); }

/* Feature card */
.fkc-card { display: flex; flex-direction: column; gap: 12px; height: 100%; padding: 32px 28px; border: 1px solid var(--fkc-border); border-radius: var(--fkc-radius-lg); background: var(--fkc-bg); transition: transform .3s var(--fkc-ease-out), box-shadow .3s, border-color .3s; }
.fkc-card--lift:hover { transform: translateY(-4px); border-color: #CFDDF2; box-shadow: var(--fkc-shadow-md); }
.fkc-card__icon { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 8px; border-radius: var(--fkc-radius-md); background: var(--fkc-primary-soft); color: var(--fkc-primary-ink); }
.fkc-card__icon svg { width: 22px; height: 22px; }
.fkc-card__icon--coral { background: var(--fkc-accent-soft); color: var(--fkc-accent-ink); }
.fkc-card__title { margin: 0; color: var(--fkc-text); font-size: 1.25rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.1; }
.fkc-card__text { margin: 0; color: var(--fkc-muted); }
.fkc-card__quote { color: var(--fkc-text); font-weight: 700; }

/* Badges row */
.fkc-badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 0; padding: 0; list-style: none; }
.fkc-badges__item { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border: 1px solid var(--fkc-border); border-radius: 999px; background: var(--fkc-bg-soft); color: var(--fkc-text); font-weight: 700; }
.fkc-badges__item svg { width: 18px; height: 18px; color: var(--fkc-primary-strong); }

/* Screenshots */
.fkc-shots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; }
.fkc-shots__item { display: flex; flex-direction: column; gap: 12px; margin: 0; }
.fkc-shots__frame { display: block; overflow: hidden; border: 1px solid var(--fkc-border); border-radius: var(--fkc-radius-md); background: var(--fkc-bg); box-shadow: var(--fkc-shadow-md); transition: transform .3s var(--fkc-ease-out), box-shadow .3s; }
a.fkc-shots__frame:hover { transform: translateY(-4px); box-shadow: var(--fkc-shadow-lg); }
.fkc-shots__frame img { display: block; width: 100%; height: auto; }
.fkc-shots__caption { color: var(--fkc-muted); font-size: .875rem; font-weight: 500; text-align: center; }

/* Steps */
.fkc-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; }
.fkc-steps__item { display: flex; gap: 14px; }
.fkc-steps__num { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--fkc-primary-soft); color: var(--fkc-primary-ink); font-weight: 800; }
.fkc-steps__title { margin: 0; color: var(--fkc-text); font-size: 1.125rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.1; }
.fkc-steps__text { margin: 4px 0 0; color: var(--fkc-muted); }

/* Switch (importer) */
.fkc-switch { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 24px; align-items: center; }
.fkc-switch__sources { display: grid; gap: 12px; }
.fkc-switch__source { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border: 1px solid var(--fkc-border); border-radius: var(--fkc-radius-md); background: var(--fkc-bg); box-shadow: var(--fkc-shadow-sm); }
.fkc-switch__mark { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 10px; background: var(--fkc-fill); font-size: 13px; font-weight: 800; }
.fkc-switch__name { margin: 0; font-weight: 700; }
.fkc-switch__note { margin: 0; color: var(--fkc-muted); font-size: .875rem; }
.fkc-switch__arrow { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--fkc-primary-strong); color: #fff; box-shadow: 0 8px 20px -6px rgba(31, 111, 214, .6); }
.fkc-switch__arrow svg { width: 24px; height: 24px; }
.fkc-switch__target { padding: 24px; border: 2px solid var(--fkc-primary); border-radius: var(--fkc-radius-lg); background: var(--fkc-bg); box-shadow: var(--fkc-shadow-lg); }
.fkc-switch__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--fkc-border); }
.fkc-switch__logo { font-size: 1.1rem; }
.fkc-switch__logo .fkc-logo__mark { width: 25px; height: 26px; }
.fkc-switch__target .fkc-checks { margin-top: 16px; font-size: 15px; }
[dir="rtl"] .fkc-switch__arrow svg { transform: scaleX(-1); }
@media (max-width: 767px) {
	.fkc-switch { grid-template-columns: minmax(0, 1fr); }
	.fkc-switch__arrow { justify-self: center; transform: rotate(90deg); }
}

/* Bar chart */
.fkc-chart { display: grid; gap: 18px; margin: 0; padding: 28px; border: 1px solid var(--fkc-border); border-radius: var(--fkc-radius-lg); background: var(--fkc-bg); box-shadow: var(--fkc-shadow-md); }
.fkc-chart__title { margin: 0; color: var(--fkc-text); font-size: 1.125rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.1; }
.fkc-chart__sub { margin: 8px 0 0; color: var(--fkc-muted); font-size: .875rem; }
.fkc-chart__row { display: grid; grid-template-columns: 140px minmax(0, 1fr) 64px; gap: 14px; align-items: center; }
.fkc-chart__label { font-weight: 500; }
.fkc-chart__track { height: 14px; overflow: hidden; border-radius: 999px; background: var(--fkc-fill); }
.fkc-chart__bar { display: block; width: var(--w, 50%); height: 100%; border-radius: inherit; background: #AEB9C8; transform-origin: left; transition: transform 1.1s var(--fkc-ease-out); }
.fkc-chart__row.is-brand .fkc-chart__label { font-weight: 800; }
.fkc-chart__row.is-brand .fkc-chart__bar { background: linear-gradient(90deg, var(--fkc-primary), var(--fkc-primary-strong)); }
.fkc-chart__value { font-weight: 700; font-variant-numeric: tabular-nums; text-align: right; }
.fkc-chart.is-waiting .fkc-chart__bar { transform: scaleX(0); }
.fkc-chart__note { margin: 0; padding-top: 16px; border-top: 1px solid var(--fkc-border); color: var(--fkc-muted); font-size: .875rem; }
[dir="rtl"] .fkc-chart__bar { transform-origin: right; }
@media (max-width: 559px) {
	.fkc-chart__row { grid-template-columns: minmax(0, 1fr) auto; row-gap: 6px; }
	.fkc-chart__track { grid-column: 1 / -1; grid-row: 2; }
}

/* Plan cards */
.fkc-plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.fkc-plans__card { display: flex; flex-direction: column; gap: 24px; padding: 32px; border: 1px solid var(--fkc-border); border-radius: var(--fkc-radius-lg); background: var(--fkc-bg); }
.fkc-plans__card.is-featured { border: 2px solid var(--fkc-primary); background: linear-gradient(180deg, #F5F9FF, var(--fkc-bg) 45%); box-shadow: var(--fkc-shadow-lg); }
.fkc-plans__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.fkc-plans__name { margin: 0; color: var(--fkc-text); font-size: 1.5rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.fkc-plans__desc { margin: 8px 0 0; color: var(--fkc-muted); }
.fkc-plans__price { margin: 0; font-size: 2.5rem; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.fkc-plans__period { color: var(--fkc-muted); font-size: 1rem; font-weight: 500; letter-spacing: 0; }
.fkc-plans__card .fkc-btn { margin-top: auto; }

/* FAQ */
.fkc-faq { display: grid; gap: 12px; }
.fkc-faq__item { border: 1px solid var(--fkc-border); border-radius: var(--fkc-radius-md); background: var(--fkc-bg); transition: border-color .2s, box-shadow .2s; }
.fkc-faq__item[open] { border-color: #CFDDF2; box-shadow: var(--fkc-shadow-sm); }
.fkc-faq__q { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; border-radius: var(--fkc-radius-md); color: var(--fkc-text); font-size: 1.125rem; font-weight: 700; list-style: none; cursor: pointer; }
.fkc-faq__q::-webkit-details-marker { display: none; }
.fkc-faq__q:focus-visible { outline: 3px solid var(--fkc-primary-strong); outline-offset: 3px; }
.fkc-faq__icon { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--fkc-bg-soft); transition: transform .3s var(--fkc-ease-out), background-color .2s; }
.fkc-faq__icon svg { width: 16px; height: 16px; }
.fkc-faq__item[open] .fkc-faq__icon { transform: rotate(45deg); background: var(--fkc-primary-soft); color: var(--fkc-primary-ink); }
.fkc-faq__a { display: grid; gap: 12px; padding: 0 24px 22px; color: var(--fkc-muted); }
.fkc-faq__a p { margin: 0; }

@media (prefers-reduced-motion: reduce) {
	.fkc-card, .fkc-shots__frame, .fkc-chart__bar, .fkc-faq__icon { transition: none; }
	.fkc-card--lift:hover, a.fkc-shots__frame:hover { transform: none; }
	.fkc-chart.is-waiting .fkc-chart__bar { transform: none; }
}

/* Plan cards: sites line + compact (pricing page, four in a row) */
.fkc-plans__sites { margin: 8px 0 0; font-weight: 700; }
.fkc-plans--compact { gap: 16px; }
.fkc-plans--compact .fkc-plans__card { padding: 28px 24px; }
.fkc-plans--compact .fkc-plans__price { font-size: 2rem; }
.fkc-card__link { margin-top: auto; padding-top: 4px; }

/* Feature group */
.fkc-fg { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 48px; align-items: start; }
.fkc-fg__title { margin: 0; color: var(--fkc-text); font-size: 2rem; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.fkc-fg__text { margin: 12px 0 0; color: var(--fkc-muted); }
.fkc-fg__art { max-width: 320px; margin-top: 24px; }
.fkc-fg__art svg { display: block; width: 100%; height: auto; }
.fkc-fg__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.fkc-fg__item { display: flex; flex-direction: column; gap: 6px; padding: 20px 22px; border: 1px solid var(--fkc-border); border-radius: var(--fkc-radius-md); background: var(--fkc-bg); transition: border-color .2s, box-shadow .2s; }
.fkc-fg__item:hover { border-color: #CFDDF2; box-shadow: var(--fkc-shadow-sm); }
.fkc-fg__head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.fkc-fg__item-title { margin: 0; color: var(--fkc-text); font-size: 1.125rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.1; }
.fkc-fg__item-text { margin: 0; color: var(--fkc-muted); }
@media (max-width: 959px) { .fkc-fg { grid-template-columns: minmax(0, 1fr); gap: 24px; } }

/* Info band */
.fkc-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; padding: 28px 32px; border: 1px dashed var(--fkc-border-strong); border-radius: var(--fkc-radius-lg); background: var(--fkc-bg); }
.fkc-band--solid { border: 0; background: var(--fkc-primary-soft); }
.fkc-band--lock { border: 2px solid var(--fkc-primary); }
.fkc-band__body { display: flex; flex: 1 1 420px; align-items: center; gap: 16px; }
.fkc-band__icon { display: grid; place-items: center; flex: none; width: 52px; height: 52px; border-radius: var(--fkc-radius-md); background: var(--fkc-bg); color: var(--fkc-primary-ink); }
.fkc-band--lock .fkc-band__icon { background: var(--fkc-primary-soft); }
.fkc-band__icon svg { width: 26px; height: 26px; }
.fkc-band__title { margin: 0; color: var(--fkc-text); font-size: 1.5rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.fkc-band__text { margin: 4px 0 0; color: var(--fkc-muted); }
.fkc-band--solid .fkc-band__text { color: var(--fkc-text); }
.fkc-band--solid a { color: var(--fkc-primary-ink); }
@media (max-width: 559px) { .fkc-band { padding: 22px; } .fkc-band__body { align-items: flex-start; } }

/* Jump-link chips */
.fkc-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0; padding: 0; list-style: none; }
.fkc-chips a { display: inline-block; padding: 8px 16px; border: 1px solid var(--fkc-border); border-radius: 999px; background: var(--fkc-bg); color: var(--fkc-text); font-size: .875rem; font-weight: 500; text-decoration: none; transition: border-color .2s, color .2s; }
.fkc-chips a:hover { border-color: var(--fkc-primary); color: var(--fkc-primary-ink); }

/* Legend / meta line */
.fkc-legend { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 16px; margin: 0; color: var(--fkc-muted); font-size: .875rem; }
.fkc-legend__item { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px; }

/* Ticks and dashes */
.fkc-mark { display: inline-block; width: 24px; height: 24px; border-radius: 50%; vertical-align: middle; background: no-repeat center / 14px; }
.fkc-mark--yes { background-color: var(--fkc-success-soft); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2317683F' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E"); }
.fkc-mark--no { background-color: var(--fkc-fill); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235B6B82' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M7 12h10'/%3E%3C/svg%3E"); }
.fkc-badge--free { background: var(--fkc-success-soft); color: var(--fkc-success-ink); }

/* Comparison table: the wrapper scrolls sideways, never the page */
.fkc-table-wrap { position: relative; overflow-x: auto; border: 1px solid var(--fkc-border); border-radius: var(--fkc-radius-lg); background: var(--fkc-bg); box-shadow: var(--fkc-shadow-sm); }
.fkc-table-wrap:focus-visible { outline: 3px solid var(--fkc-primary-strong); outline-offset: 3px; }
.fkc-table { width: 100%; min-width: 760px; margin: 0; border: 0; border-collapse: collapse; color: var(--fkc-text); font-size: 15px; }
.fkc-table caption { padding: 20px 24px; border-bottom: 1px solid var(--fkc-border); font-size: 1.125rem; font-weight: 700; text-align: left; }
.fkc-table th, .fkc-table td { padding: 14px 18px; border: 0; border-bottom: 1px solid var(--fkc-border); background: none; text-align: center; vertical-align: middle; }
.fkc-table thead th { background: var(--fkc-bg-soft); font-weight: 700; vertical-align: bottom; }
.fkc-table thead th:first-child, .fkc-table tbody th { text-align: left; }
.fkc-table tbody th { font-weight: 500; }
.fkc-table tbody tr:last-child > * { border-bottom: 0; }
.fkc-table .is-brand { background: rgba(234, 242, 254, .55); }
.fkc-table thead .is-brand { background: var(--fkc-primary-soft); color: var(--fkc-primary-ink); }
.fkc-table .fkc-table__group th { background: var(--fkc-bg-soft); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.fkc-table__sub { display: block; margin-top: 2px; color: var(--fkc-muted); font-size: 12px; font-weight: 500; }
.fkc-table__text { font-size: 14px; }
.fkc-table__note { display: block; margin-top: 4px; color: var(--fkc-muted); font-size: 12.5px; line-height: 1.35; }
.fkc-table__badges { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 4px; }
[dir="rtl"] .fkc-table caption, [dir="rtl"] .fkc-table thead th:first-child, [dir="rtl"] .fkc-table tbody th { text-align: right; }

/* Integration grid */
.fkc-int__head { display: flex; align-items: center; gap: 16px; margin-bottom: 32px; }
.fkc-int__head .fkc-card__icon { flex: none; margin: 0; }
.fkc-int__head .fkc-fg__text { margin-top: 4px; }
.fkc-int { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.fkc-int__tile { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid var(--fkc-border); border-radius: var(--fkc-radius-md); background: var(--fkc-bg); transition: border-color .2s, box-shadow .2s; }
.fkc-int__tile:hover { border-color: #CFDDF2; box-shadow: var(--fkc-shadow-sm); }
.fkc-int__mark { display: grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 10px; background: var(--fkc-primary-soft); color: var(--fkc-primary-ink); font-size: 13px; font-weight: 800; }
.fkc-int__body { display: flex; flex: 1; flex-direction: column; min-width: 0; }
.fkc-int__name { font-weight: 700; }
.fkc-int__text { color: var(--fkc-muted); font-size: 13px; line-height: 1.35; }

/* Template gallery */
.fkc-tpl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.fkc-tpl__card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--fkc-border); border-radius: var(--fkc-radius-lg); background: var(--fkc-bg); transition: transform .3s var(--fkc-ease-out), box-shadow .3s; }
.fkc-tpl__card:hover { transform: translateY(-4px); box-shadow: var(--fkc-shadow-md); }
.fkc-tpl__card.is-blank { justify-content: center; border-style: dashed; background: var(--fkc-bg-soft); }
.fkc-tpl__preview { display: flex; flex-direction: column; gap: 8px; padding: 20px; border-bottom: 1px solid var(--fkc-border); background-color: var(--fkc-bg-soft); background-image: radial-gradient(#D9E0EA 1px, transparent 1px); background-size: 14px 14px; font-size: 12px; }
.fkc-tpl__form-title { margin: 0; font-size: 14px; font-weight: 800; }
.fkc-tpl__field { display: flex; flex-direction: column; gap: 3px; }
.fkc-tpl__label { font-weight: 700; }
.fkc-tpl__input { height: 24px; border: 1px solid var(--fkc-border-strong); border-radius: 6px; background: var(--fkc-bg); }
.fkc-tpl__button { align-self: flex-start; margin-top: 4px; padding: 5px 14px; border-radius: 6px; background: var(--fkc-primary-strong); color: #fff; font-weight: 700; }
.fkc-tpl__body { display: flex; flex-direction: column; gap: 8px; padding: 24px; }
.fkc-tpl__title { margin: 0; color: var(--fkc-text); font-size: 1.25rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.1; }
.fkc-tpl__text { margin: 0; color: var(--fkc-muted); }
.fkc-tpl__fields { margin: 0; color: var(--fkc-muted); font-size: .875rem; }
@media (prefers-reduced-motion: reduce) { .fkc-tpl__card { transition: none; } .fkc-tpl__card:hover { transform: none; } }

/* Feature card, icon beside (contact help cards) */
.fkc-card--row { flex-direction: row; gap: 16px; padding: 22px; border-radius: var(--fkc-radius-md); }
.fkc-card--row .fkc-card__icon { flex: none; margin: 0; }
.fkc-card--row .fkc-card__title { font-size: 1.125rem; }
.fkc-card__body { display: flex; flex-direction: column; gap: 4px; }
.fkc-card--row .fkc-card__link { margin-top: 4px; padding: 0; }

/* Contents ("On this page") */
.fkc-toc { padding: 20px; border: 1px solid var(--fkc-border); border-radius: var(--fkc-radius-md); background: var(--fkc-bg-soft); }
.fkc-toc.is-sticky { position: sticky; top: calc(96px + var(--wp-admin--admin-bar--height, 0px)); }
.fkc-toc__title { margin: 0 0 12px; font-size: .875rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.fkc-toc ol { display: grid; gap: 6px; margin: 0; padding-left: 20px; font-size: .875rem; }
.fkc-toc a { color: var(--fkc-muted); text-decoration: none; }
.fkc-toc a:hover { color: var(--fkc-primary-strong); text-decoration: underline; }
@media (max-width: 1024px) { .fkc-toc.is-sticky { position: static; } }

/* Changelog */
.fkc-log { display: grid; gap: 24px; margin: 0; padding: 0; list-style: none; }
.fkc-log__entry { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 24px; padding-bottom: 24px; border-bottom: 1px solid var(--fkc-border); }
.fkc-log__meta { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.fkc-log__version { font-size: 1.5rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.fkc-log__title { margin: 0; color: var(--fkc-text); font-size: 1.125rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.1; }
.fkc-log__entry ul { display: grid; gap: 6px; margin: 8px 0 0; padding-left: 20px; color: var(--fkc-muted); }
@media (max-width: 559px) { .fkc-log__entry { grid-template-columns: minmax(0, 1fr); gap: 8px; } }

/* Roadmap board */
.fkc-roadmap { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: start; }
.fkc-roadmap__col { padding: 24px; border: 1px solid var(--fkc-border); border-radius: var(--fkc-radius-lg); background: var(--fkc-bg-soft); }
.fkc-roadmap__title { display: flex; align-items: baseline; justify-content: space-between; margin: 0; color: var(--fkc-text); font-size: 1.5rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.fkc-roadmap__sub { color: var(--fkc-muted); font-size: .875rem; font-weight: 500; letter-spacing: 0; }
.fkc-roadmap__list { display: grid; gap: 12px; margin: 16px 0 0; padding: 0; list-style: none; }
.fkc-roadmap__item { padding: 14px 16px; border: 1px solid var(--fkc-border); border-radius: var(--fkc-radius-md); background: var(--fkc-bg); }
.fkc-roadmap__item-title { margin: 0; color: var(--fkc-text); font-size: 1rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.1; }
.fkc-roadmap__item p { margin: 4px 0 0; color: var(--fkc-muted); font-size: .875rem; }
@media (max-width: 959px) { .fkc-roadmap { grid-template-columns: minmax(0, 1fr); } }

/* Fact list */
.fkc-facts { display: grid; margin: 0; overflow: hidden; border: 1px solid var(--fkc-border); border-radius: var(--fkc-radius-lg); background: var(--fkc-bg); }
.fkc-facts > div { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 16px; padding: 14px 20px; border-bottom: 1px solid var(--fkc-border); }
.fkc-facts > div:last-child { border-bottom: 0; }
.fkc-facts dt { color: var(--fkc-muted); font-weight: 500; }
.fkc-facts dd { margin: 0; font-weight: 700; }

/* Downloads (press kit) */
.fkc-downloads { display: grid; grid-template-columns: 1fr 1fr 2fr; gap: 24px; }
.fkc-downloads__item { display: flex; flex-direction: column; gap: 12px; margin: 0; }
.fkc-downloads__preview { display: grid; place-items: center; min-height: 180px; padding: 24px; border: 1px solid var(--fkc-border); border-radius: var(--fkc-radius-md); background: var(--fkc-bg); }
.fkc-downloads__preview img { width: auto; max-height: 110px; }
.fkc-downloads__item.is-wide .fkc-downloads__preview img { width: 100%; height: auto; max-height: none; border-radius: 6px; }
.fkc-downloads figcaption { font-weight: 700; text-align: center; }
@media (max-width: 767px) { .fkc-downloads { grid-template-columns: 1fr 1fr; } .fkc-downloads__item.is-wide { grid-column: 1 / -1; } }

/* Swatches */
.fkc-swatches { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.fkc-swatches__item { display: flex; flex-direction: column; gap: 6px; }
.fkc-swatches__chip { height: 64px; border-radius: var(--fkc-radius-md); box-shadow: inset 0 0 0 1px rgba(27, 42, 65, .08); }
.fkc-swatches__name { font-weight: 700; }
.fkc-swatches code { font-size: .88em; }
@media (max-width: 767px) { .fkc-swatches { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Profile card */
.fkc-profile { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 32px; border: 1px solid var(--fkc-border); border-radius: var(--fkc-radius-lg); background: var(--fkc-bg); box-shadow: var(--fkc-shadow-md); text-align: center; }
.fkc-profile p { margin: 0; }
.fkc-profile__photo { display: grid; place-items: center; width: 96px; height: 96px; margin-bottom: 8px; overflow: hidden; border-radius: 50%; background: var(--fkc-primary-soft); color: var(--fkc-primary-ink); }
.fkc-profile__photo svg { width: 40px; height: 40px; }
.fkc-profile__photo img { width: 100%; height: 100%; object-fit: cover; }
.fkc-profile__name { font-size: 1.25rem; font-weight: 700; }
.fkc-profile__role { color: var(--fkc-muted); font-size: .875rem; }
.fkc-profile__text { margin-top: 8px !important; color: var(--fkc-muted); }

/* Symbol (thank-you tick, 404 kite) */
.fkc-symbol--check { display: inline-grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--fkc-success-soft); color: var(--fkc-success-ink); }
.fkc-symbol--check svg { width: 34px; height: 34px; }
.fkc-symbol--kite { display: inline-block; width: 106px; height: 140px; animation: fkc-kite-drift 5s ease-in-out infinite; }
@keyframes fkc-kite-drift {
	0%, 100% { transform: rotate(-6deg) translateY(0); }
	50% { transform: rotate(4deg) translateY(-10px); }
}
@media (prefers-reduced-motion: reduce) { .fkc-symbol--kite { animation: none; } }

/* Docs topics (docs home) */
.fkc-topics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.fkc-topics__card { display: flex; flex-direction: column; gap: 16px; padding: 24px; border: 1px solid var(--fkc-border); border-radius: var(--fkc-radius-lg); background: var(--fkc-bg); }
.fkc-topics__art svg { display: block; width: 100%; height: auto; border-radius: var(--fkc-radius-md); }
.fkc-topics__title { margin: 0; color: var(--fkc-text); font-size: 1.5rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.fkc-topics__list { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }
.fkc-topics__list li { display: flex; flex-direction: column; }
.fkc-topics__list a { padding: 6px 0; font-weight: 700; text-decoration: none; }
.fkc-topics__list a:hover { text-decoration: underline; }
.fkc-topics__list span { margin-bottom: 6px; color: var(--fkc-muted); font-size: .875rem; }
/* The illustration already shows the topic name; the heading stays for screen readers. */
.fkc-topics__card.has-art .fkc-topics__title { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
