/* CryptoFrame — components: sections, cards, hero layouts, ticker, term
   buttons, FAQ, glossary, events, ads, market slots, pagination. */

/* ---------- Sections ---------- */

.cfx-section { position: relative; }
.cfx-section--space-none { padding-block: 0; }
.cfx-section--space-sm   { padding-block: calc(var(--cfx-section-gap) * .45); }
.cfx-section--space-md   { padding-block: calc(var(--cfx-section-gap) * .8); }
.cfx-section--space-lg   { padding-block: var(--cfx-section-gap); }

.cfx-section--bg-surface { background: var(--cfx-surface); }
.cfx-section--bg-accent  { background: rgba(var(--cfx-primary-rgb), .08); }
.cfx-section--bg-dark    { background: var(--cfx-secondary); color: var(--cfx-background); }
.cfx-section--bg-dark h2, .cfx-section--bg-dark h3, .cfx-section--bg-dark .cfx-card__title a { color: #fff; }
.cfx-section--bg-custom  { background: var(--cfx-section-bg, transparent); }

.cfx-section__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.1rem;
  padding-bottom: .55rem;
  border-bottom: 2px solid var(--cfx-heading);
}
.cfx-section__title { margin: 0; font-size: var(--cfx-fs-2); }
.cfx-section__more {
  flex: 0 0 auto;
  font-family: var(--cfx-font-label);
  font-size: var(--cfx-fs-sm);
  font-weight: 600;
  text-decoration: none;
}

/* ---------- Card grid ---------- */

.cfx-cards {
  display: grid;
  gap: calc(var(--cfx-gutter) * .9);
  grid-template-columns: repeat(var(--cfx-cols-m, 1), minmax(0, 1fr));
}
@media (min-width: 783px) {
  .cfx-cards { grid-template-columns: repeat(var(--cfx-cols-t, 2), minmax(0, 1fr)); }
}
@media (min-width: 1025px) {
  .cfx-cards { grid-template-columns: repeat(var(--cfx-cols-d, 3), minmax(0, 1fr)); }
  .cfx-cards--cols-1 { --cfx-cols-d: 1; }
  .cfx-cards--cols-2 { --cfx-cols-d: 2; }
  .cfx-cards--cols-3 { --cfx-cols-d: 3; }
  .cfx-cards--cols-4 { --cfx-cols-d: 4; }
  .cfx-cards--cols-5 { --cfx-cols-d: 5; }
  .cfx-cards--cols-6 { --cfx-cols-d: 6; }
}

.cfx-cards--list { grid-template-columns: 1fr !important; gap: 0; }
.cfx-cards--scroll {
  display: flex;
  gap: calc(var(--cfx-gutter) * .8);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: .6rem;
}
.cfx-cards--scroll > * { flex: 0 0 min(20rem, 78vw); scroll-snap-align: start; }

/* ---------- Card ---------- */

.cfx-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: var(--cfx-card);
  border-radius: var(--cfx-radius-card);
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.cfx-cards-elevated .cfx-card { box-shadow: var(--cfx-shadow-1); }
.cfx-cards-elevated .cfx-card:hover { box-shadow: var(--cfx-shadow-2); }
.cfx-cards-bordered .cfx-card { border: var(--cfx-border-width) solid var(--cfx-border); }
.cfx-cards-bordered .cfx-card:hover { border-color: var(--cfx-primary); }
.cfx-cards-flat .cfx-card { background: transparent; border-radius: 0; }
.cfx-cards-glass .cfx-card {
  background: var(--cfx-glass-bg);
  border: 1px solid var(--cfx-hairline);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.cfx-card__media { display: block; overflow: hidden; background: var(--cfx-surface); }
.cfx-card__img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .4s ease; }
.cfx-card:hover .cfx-card__img { transform: scale(1.035); }

.cfx-card__body { display: flex; flex-direction: column; gap: .3rem; padding: .95rem 1rem 1.05rem; }
.cfx-cards-flat .cfx-card__body { padding-inline: 0; }

.cfx-card__title { margin: 0; font-size: var(--cfx-fs-1); line-height: 1.25; }
.cfx-card__title a { color: var(--cfx-heading); text-decoration: none; }
.cfx-card__title a:hover { color: var(--cfx-primary); }

.cfx-card__excerpt { margin: .25rem 0 0; font-size: var(--cfx-fs-sm); color: var(--cfx-muted); }

.cfx-card__rank {
  position: absolute;
  top: .5rem; right: .7rem;
  font-size: var(--cfx-fs-3);
  font-weight: 700;
  color: rgba(var(--cfx-primary-rgb), .28);
  line-height: 1;
}

/* Card variants */
.cfx-card--lead .cfx-card__title { font-size: var(--cfx-fs-4); }
.cfx-card--lead .cfx-card__img { aspect-ratio: 16 / 9; }

.cfx-card--feature .cfx-card__title { font-size: var(--cfx-fs-2); }

.cfx-card--banner { border-radius: var(--cfx-radius-card); }
.cfx-card--banner .cfx-card__img { aspect-ratio: 21 / 9; }
.cfx-card--banner .cfx-card__title { font-size: var(--cfx-fs-5); }

.cfx-card--list {
  flex-direction: row;
  gap: .9rem;
  align-items: flex-start;
  padding-block: .85rem;
  border-bottom: 1px solid var(--cfx-border);
  border-radius: 0;
  background: transparent;
  box-shadow: none !important;
}
.cfx-card--list .cfx-card__media { flex: 0 0 6.5rem; border-radius: calc(var(--cfx-radius-card) * .6); }
.cfx-card--list .cfx-card__img { aspect-ratio: 3 / 2; }
.cfx-card--list .cfx-card__body { padding: 0; }
.cfx-card--list .cfx-card__title { font-size: var(--cfx-fs-base); }

.cfx-card--compact .cfx-card__title { font-size: var(--cfx-fs-base); }

.cfx-card--immersive { border-radius: calc(var(--cfx-radius-card) * 1.2); }
.cfx-card--immersive .cfx-card__img { aspect-ratio: 16 / 9; }
.cfx-card--immersive .cfx-card__title { font-size: var(--cfx-fs-5); }

.cfx-card--glass {
  background: var(--cfx-glass-bg);
  border: 1px solid var(--cfx-hairline);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.cfx-card--nomedia .cfx-card__body { padding-top: 1.05rem; }

.cfx-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .55rem;
  margin-top: .4rem;
  font-size: var(--cfx-fs-xs);
  color: var(--cfx-muted);
}
.cfx-meta__item + .cfx-meta__item::before { content: "·"; margin-right: .55rem; opacity: .6; }
.cfx-meta a { color: inherit; text-decoration: none; }
.cfx-meta a:hover { color: var(--cfx-primary); }
.cfx-meta__avatar img { border-radius: 50%; }

/* ---------- Hero ---------- */

.cfx-hero { display: grid; gap: calc(var(--cfx-gutter) * .9); }

.cfx-hero__split { display: grid; gap: calc(var(--cfx-gutter) * .9); }
@media (min-width: 1025px) {
  .cfx-hero__split { grid-template-columns: 1.65fr 1fr; }
  .cfx-hero__side { display: grid; gap: calc(var(--cfx-gutter) * .9); align-content: start; }
}

.cfx-hero__cols { display: grid; gap: calc(var(--cfx-gutter) * .9); }
@media (min-width: 783px) { .cfx-hero__cols { grid-template-columns: repeat(3, 1fr); } }

.cfx-hero__row { display: grid; gap: calc(var(--cfx-gutter) * .9); }
@media (min-width: 783px) { .cfx-hero__row { grid-template-columns: repeat(3, 1fr); } }

.cfx-hero__mag { display: grid; gap: calc(var(--cfx-gutter) * .9); }
@media (min-width: 1025px) { .cfx-hero__mag { grid-template-columns: 1.8fr 1fr; } }

.cfx-hero__immersive { position: relative; display: grid; gap: calc(var(--cfx-gutter) * .9); }
.cfx-hero__deck { display: grid; gap: calc(var(--cfx-gutter) * .8); }
@media (min-width: 783px) { .cfx-hero__deck { grid-template-columns: repeat(3, 1fr); } }

/* Background treatments */
.cfx-bg-grid .cfx-main {
  background-image:
    linear-gradient(to right, var(--cfx-hairline) 1px, transparent 1px),
    linear-gradient(to bottom, var(--cfx-hairline) 1px, transparent 1px);
  background-size: 48px 48px;
}
.cfx-bg-mesh .cfx-main {
  background-image:
    radial-gradient(45rem 22rem at 12% -8%, rgba(var(--cfx-primary-rgb), .18), transparent 60%),
    radial-gradient(38rem 20rem at 88% 4%, rgba(var(--cfx-accent-rgb), .16), transparent 62%);
  background-repeat: no-repeat;
}
.cfx-bg-aurora .cfx-main {
  background-image:
    radial-gradient(60rem 26rem at 20% -10%, rgba(var(--cfx-primary-rgb), .26), transparent 62%),
    radial-gradient(48rem 24rem at 80% 6%, rgba(var(--cfx-accent-rgb), .22), transparent 60%),
    radial-gradient(40rem 20rem at 50% 30%, rgba(var(--cfx-secondary-rgb), .16), transparent 65%);
  background-repeat: no-repeat;
}
.cfx-bg-noise .cfx-main::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .035;
  z-index: 1;
  background-image: repeating-conic-gradient(var(--cfx-heading) 0% 25%, transparent 0% 50%);
  background-size: 3px 3px;
}

/* ---------- Ticker ---------- */

.cfx-ticker {
  background: var(--cfx-ticker-bg, var(--cfx-surface));
  color: var(--cfx-ticker-fg, var(--cfx-heading));
  border-bottom: var(--cfx-border-width) solid var(--cfx-border);
  overflow: hidden;
}
.cfx-ticker__inner { display: flex; align-items: center; gap: .9rem; min-height: 2.5rem; }
.cfx-ticker__label {
  flex: 0 0 auto;
  padding: .2rem .55rem;
  background: var(--cfx-primary);
  color: var(--cfx-background);
  border-radius: 3px;
  font-family: var(--cfx-font-label);
  font-size: var(--cfx-fs-xs);
  font-weight: 700;
  letter-spacing: var(--cfx-ls-label);
  text-transform: uppercase;
}
.cfx-ticker__viewport { flex: 1 1 auto; overflow: hidden; min-width: 0; }
.cfx-ticker__track {
  display: flex;
  gap: 2.2rem;
  margin: 0; padding: 0;
  list-style: none;
  white-space: nowrap;
  will-change: transform;
  animation: cfx-marquee var(--cfx-ticker-speed, 40s) linear infinite;
}
.cfx-ticker--reverse .cfx-ticker__track { animation-direction: reverse; }
.cfx-ticker--pausable:hover .cfx-ticker__track,
.cfx-ticker__track:focus-within { animation-play-state: paused; }
.cfx-ticker__item { font-size: var(--cfx-fs-sm); }
.cfx-ticker__item a { color: inherit; text-decoration: none; }
.cfx-ticker__item a:hover { text-decoration: underline; }
.cfx-ticker__slot { flex: 0 0 auto; }

@keyframes cfx-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .cfx-ticker__track { animation: none; overflow-x: auto; }
}
.cfx-motion-reduced .cfx-ticker__track { animation: none; }

/* ---------- Term buttons ---------- */

.cfx-termbuttons { margin-block: 1.2rem; }
.cfx-termbuttons__label {
  display: block;
  margin-bottom: .5rem;
  font-family: var(--cfx-font-label);
  font-size: var(--cfx-fs-xs);
  letter-spacing: var(--cfx-ls-label);
  text-transform: var(--cfx-case-label);
  color: var(--cfx-muted);
}
.cfx-termbuttons ul { display: flex; flex-wrap: wrap; gap: .45rem; margin: 0; padding: 0; list-style: none; }
.cfx-termbuttons a {
  display: inline-block;
  padding: .38rem .8rem;
  font-family: var(--cfx-font-button);
  font-size: var(--cfx-fs-sm);
  text-decoration: none;
  color: var(--cfx-heading);
  background: var(--cfx-surface);
  border: var(--cfx-border-width) solid transparent;
  border-radius: var(--cfx-radius-pill);
  transition: background-color .16s ease, color .16s ease, border-color .16s ease;
}
.cfx-termbuttons a:hover { background: var(--cfx-primary); color: var(--cfx-background); }

.cfx-termbuttons--rounded a { border-radius: var(--cfx-radius-button); }
.cfx-termbuttons--outlined a { background: transparent; border-color: var(--cfx-border); border-radius: var(--cfx-radius-button); }
.cfx-termbuttons--outlined a:hover { border-color: var(--cfx-primary); background: transparent; color: var(--cfx-primary); }
.cfx-termbuttons--links a { background: transparent; padding: .1rem 0; color: var(--cfx-link); text-decoration: underline; }
.cfx-termbuttons--links ul { gap: .3rem 1.1rem; }
.cfx-termbuttons--links a:hover { background: transparent; color: var(--cfx-hover); }

/* ---------- Breadcrumbs & pagination ---------- */

.cfx-breadcrumbs { margin-bottom: 1rem; font-size: var(--cfx-fs-xs); color: var(--cfx-muted); }
.cfx-breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; padding: 0; list-style: none; }
.cfx-breadcrumbs li + li::before { content: "/"; margin-right: .4rem; opacity: .55; }
.cfx-breadcrumbs a { color: inherit; text-decoration: none; }
.cfx-breadcrumbs a:hover { color: var(--cfx-primary); text-decoration: underline; }

.cfx-pagination { margin-top: 2rem; }
.cfx-pagination ul { display: flex; flex-wrap: wrap; gap: .35rem; margin: 0; padding: 0; list-style: none; }
.cfx-pagination a, .cfx-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.35rem;
  height: 2.35rem;
  padding-inline: .6rem;
  border: var(--cfx-border-width) solid var(--cfx-border);
  border-radius: var(--cfx-radius-button);
  text-decoration: none;
  color: var(--cfx-heading);
  font-size: var(--cfx-fs-sm);
}
.cfx-pagination .current { background: var(--cfx-primary); border-color: var(--cfx-primary); color: var(--cfx-background); }
.cfx-pagination a:hover { border-color: var(--cfx-primary); color: var(--cfx-primary); }

/* ---------- Archive heads ---------- */

.cfx-archive__head { margin-bottom: 1.6rem; }
.cfx-archive__title { margin: 0 0 .35rem; font-size: var(--cfx-fs-5); }
.cfx-archive__desc { color: var(--cfx-muted); max-width: 68ch; }
.cfx-archive__count { color: var(--cfx-muted); font-size: var(--cfx-fs-sm); }

.cfx-authorhead { display: flex; gap: 1.2rem; align-items: flex-start; margin-bottom: 1.8rem; }
.cfx-authorhead__avatar { border-radius: 50%; flex: 0 0 auto; }
.cfx-authorhead__bio { color: var(--cfx-muted); max-width: 62ch; }

.cfx-catintro { margin-top: 2.6rem; padding-top: 1.6rem; border-top: 1px solid var(--cfx-border); }
.cfx-catintro__title { font-size: var(--cfx-fs-2); }
.cfx-catfeatured, .cfx-catlatest, .cfx-catanalysis, .cfx-related { margin-block: 2.2rem; }

/* ---------- FAQ ---------- */

.cfx-faq { margin-block: 2.4rem; }
.cfx-faq__title { font-size: var(--cfx-fs-3); }
.cfx-faq__list { display: grid; gap: .55rem; }
.cfx-faq__item {
  background: var(--cfx-card);
  border: var(--cfx-border-width) solid var(--cfx-border);
  border-radius: var(--cfx-radius-card);
  overflow: hidden;
}
.cfx-faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .9rem 1rem;
  cursor: pointer;
  font-family: var(--cfx-font-heading);
  font-weight: 600;
  color: var(--cfx-heading);
  list-style: none;
}
.cfx-faq__q::-webkit-details-marker { display: none; }
.cfx-faq__q::after { content: "+"; flex: 0 0 auto; font-size: 1.25em; color: var(--cfx-primary); }
.cfx-faq__item[open] .cfx-faq__q::after { content: "−"; }
.cfx-faq__a { padding: 0 1rem 1rem; color: var(--cfx-text); }

/* ---------- Table of contents ---------- */

.cfx-toc {
  margin-block: 1.6rem;
  padding: 1rem 1.1rem;
  background: var(--cfx-surface);
  border-left: 3px solid var(--cfx-primary);
  border-radius: var(--cfx-radius-card);
}
.cfx-toc__title { margin: 0 0 .55rem; font-size: var(--cfx-fs-base); }
.cfx-toc__list { margin: 0; padding-left: 1.15rem; display: grid; gap: .3rem; }
.cfx-toc__item--h3 { margin-left: .9rem; font-size: var(--cfx-fs-sm); }
.cfx-toc a { color: var(--cfx-text); text-decoration: none; }
.cfx-toc a:hover, .cfx-toc a.is-active { color: var(--cfx-primary); text-decoration: underline; }

/* ---------- Glossary ---------- */

.cfx-glossary__az ul { display: flex; flex-wrap: wrap; gap: .3rem; margin: 0 0 1.6rem; padding: 0; list-style: none; }
.cfx-glossary__az a, .cfx-glossary__az span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem; height: 2rem;
  border: var(--cfx-border-width) solid var(--cfx-border);
  border-radius: var(--cfx-radius-button);
  font-family: var(--cfx-font-data);
  font-size: var(--cfx-fs-sm);
  text-decoration: none;
  color: var(--cfx-heading);
}
.cfx-glossary__az span { opacity: .35; }
.cfx-glossary__az a:hover { background: var(--cfx-primary); border-color: var(--cfx-primary); color: var(--cfx-background); }

.cfx-glossary__group { margin-bottom: 2rem; scroll-margin-top: calc(var(--cfx-sticky-offset) + 1rem); }
.cfx-glossary__letter {
  font-size: var(--cfx-fs-3);
  padding-bottom: .3rem;
  border-bottom: 2px solid var(--cfx-heading);
}
.cfx-glossary__list { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: .7rem; }
@media (min-width: 783px) {
  .cfx-glossary__list--cols-2 { grid-template-columns: repeat(2, 1fr); }
  .cfx-glossary__list--cols-3 { grid-template-columns: repeat(3, 1fr); }
  .cfx-glossary__list--cols-4 { grid-template-columns: repeat(4, 1fr); }
}
.cfx-glossary__item a { font-weight: 600; color: var(--cfx-heading); text-decoration: none; }
.cfx-glossary__item a:hover { color: var(--cfx-primary); }
.cfx-glossary__short { display: block; font-size: var(--cfx-fs-xs); color: var(--cfx-muted); }

/* ---------- Events ---------- */

.cfx-eventgrid { display: grid; gap: calc(var(--cfx-gutter) * .8); grid-template-columns: 1fr; }
@media (min-width: 783px) {
  .cfx-eventgrid--cols-2 { grid-template-columns: repeat(2, 1fr); }
  .cfx-eventgrid--cols-3 { grid-template-columns: repeat(3, 1fr); }
  .cfx-eventgrid--cols-4 { grid-template-columns: repeat(4, 1fr); }
}
.cfx-eventcard {
  padding: 1.1rem;
  background: var(--cfx-card);
  border: var(--cfx-border-width) solid var(--cfx-border);
  border-radius: var(--cfx-radius-card);
  border-top: 3px solid var(--cfx-accent);
}
.cfx-eventcard__date { margin: 0 0 .35rem; font-size: var(--cfx-fs-xs); color: var(--cfx-accent); }
.cfx-eventcard__title { margin: 0 0 .35rem; font-size: var(--cfx-fs-1); }
.cfx-eventcard__title a { color: var(--cfx-heading); text-decoration: none; }
.cfx-eventcard__where { margin: 0; font-size: var(--cfx-fs-sm); color: var(--cfx-muted); }

/* ---------- CTA ---------- */

.cfx-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem;
  padding: clamp(1.4rem, 3vw, 2.4rem);
  background: var(--cfx-card);
  border: var(--cfx-border-width) solid var(--cfx-border);
  border-radius: var(--cfx-radius-card);
}
.cfx-cta__title { margin: 0 0 .4rem; font-size: var(--cfx-fs-3); }
.cfx-cta__text { margin: 0; color: var(--cfx-muted); max-width: 56ch; }

/* ---------- Ads & market slots ---------- */

.cfx-ad { margin-block: 1.6rem; text-align: center; }
.cfx-ad__label {
  display: block;
  margin-bottom: .35rem;
  font-family: var(--cfx-font-label);
  font-size: var(--cfx-fs-xs);
  letter-spacing: var(--cfx-ls-label);
  text-transform: uppercase;
  color: var(--cfx-muted);
}
.cfx-ad__body img { margin-inline: auto; }

.cfx-slot { margin-block: 1.2rem; }
.cfx-slot--empty {
  display: flex;
  flex-direction: column;
  gap: .2rem;
  padding: 1rem;
  border: 1px dashed var(--cfx-border);
  border-radius: var(--cfx-radius-card);
  color: var(--cfx-muted);
  font-size: var(--cfx-fs-sm);
  text-align: center;
}
.cfx-slot--empty span { font-family: var(--cfx-font-label); color: var(--cfx-heading); }
.cfx-slot--empty small { font-size: var(--cfx-fs-xs); }

/* ---------- Search form ---------- */

.cfx-searchform { display: flex; gap: .5rem; }
.cfx-searchform__input { flex: 1 1 auto; }
.cfx-searchform__submit {
  flex: 0 0 auto;
  padding: .62rem 1.1rem;
  background: var(--cfx-primary);
  color: var(--cfx-background);
  border: 0;
  border-radius: var(--cfx-radius-button);
  font-family: var(--cfx-font-button);
  font-weight: 600;
  cursor: pointer;
}

/* ---------- Widgets ---------- */

.cfx-widget {
  padding: 1.1rem;
  background: var(--cfx-card);
  border: var(--cfx-border-width) solid var(--cfx-border);
  border-radius: var(--cfx-radius-card);
}
.cfx-sidebar-minimal .cfx-widget { background: transparent; border: 0; padding: 0; }
.cfx-sidebar-bordered .cfx-widget { background: transparent; }
.cfx-sidebar-glass .cfx-widget {
  background: var(--cfx-glass-bg);
  border-color: var(--cfx-hairline);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.cfx-widget__title {
  margin: 0 0 .7rem;
  font-size: var(--cfx-fs-base);
  padding-bottom: .4rem;
  border-bottom: 2px solid var(--cfx-heading);
}
.cfx-widget ul { list-style: none; margin: 0; padding: 0; }
.cfx-widget li { padding: .35rem 0; border-bottom: 1px solid var(--cfx-border); font-size: var(--cfx-fs-sm); }
.cfx-widget li:last-child { border-bottom: 0; }
.cfx-widget a { color: var(--cfx-heading); text-decoration: none; }
.cfx-widget a:hover { color: var(--cfx-primary); }

/* ---------- Social ---------- */

.cfx-social { display: flex; gap: .4rem; margin: .8rem 0 0; padding: 0; list-style: none; }
.cfx-social--topbar { margin: 0; }
.cfx-social__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.9rem; height: 1.9rem;
  padding-inline: .35rem;
  border: 1px solid var(--cfx-hairline);
  border-radius: var(--cfx-radius-button);
  font-family: var(--cfx-font-label);
  font-size: var(--cfx-fs-xs);
  text-decoration: none;
  color: inherit;
}
.cfx-social__link:hover { background: var(--cfx-primary); border-color: var(--cfx-primary); color: var(--cfx-background); }

/* ---------- 404 ---------- */

.cfx-404 { max-width: 44rem; padding-block: clamp(2rem, 6vw, 4rem); }
.cfx-404__title { font-size: var(--cfx-fs-6); margin-bottom: .5rem; }
.cfx-404__body { color: var(--cfx-muted); margin-bottom: 1.4rem; }
