/* c-link (§6.3): un enlace siempre navega y siempre tiene href real */
@layer components {
  .c-link {
    color: var(--text-link);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
    text-decoration-color: color-mix(in srgb, currentColor 40%, transparent);
    border-radius: var(--r-xs);
    transition: color var(--dur-2) var(--ease-out), text-decoration-color var(--dur-2) var(--ease-out);
  }
  .c-link:hover { color: var(--primary-hover); text-decoration-color: currentColor; }
  .c-link:focus-visible { box-shadow: var(--focus-ring); text-decoration: none; }

  .c-link--quiet { color: var(--text-primary); text-decoration: none; }
  .c-link--quiet:hover { color: var(--text-primary); text-decoration: underline; text-decoration-color: var(--border-strong); }

  .c-link--external .icon { width: 0.9em; height: 0.9em; margin-inline-start: var(--sp-0-5); vertical-align: -0.1em; }
}
